Skip to main content

Questions tagged [cpanel]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
77 views

Is there a way to access files and information on an offline Linux server

We have a Linux server that was set up with CentOS and cPanel/WHM. It was taken out of service a few years ago but has some files and site information on it that were lost from our current server, and ...
Johnathan Crowe's user avatar
0 votes
0 answers
42 views

How do I create a windows server vm on existing linux server running cPanel?

I have a web server running Almalinux and cPanel (LAMP Stack). We need to run a new web app created with ASP.net and SQL Server on the same server and according to our research, there is no way to do ...
Ameer Elsherif's user avatar
0 votes
1 answer
274 views

Node JS Installation on CentOS using Root Login

I have installed node js( using sudo yum install nodejs) on centos 7 using root which seems find as root user but not accessible for other users. When I check as root user I am able to see version ...
Harish Kumar's user avatar
0 votes
1 answer
2k views

upgrade to php 8.* version on centos 7.9

I have a Centos 7.9 with PHP 7.4.33 pre installed. followed this command steps for upgrading the php version to 8.1: sudo yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm sudo ...
Pooya Behravesh's user avatar
0 votes
1 answer
6k views

Centos "cannot create temp file for here-document: Read-only file system"

I am getting this error what ever I want to do on my server cannot create temp file for here-document: Read-only file system cpanel, whm and all websites are Down All my system files are read-only. I ...
alirezaashrafi's user avatar
1 vote
1 answer
341 views

Unable to make outbound connections on port 443

I have an old server on CentOS 5, with cPanel installed, hosted on Amazon AWS EC2: uname -a Linux 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux It wasn'...
synweap15's user avatar
  • 121
0 votes
1 answer
414 views

shell access to cPanel user

I have a VPS hosting with WHM/cPanel access and I have root SSH access where I need to run commands from time to time. I have cron jobs there which are currently running as root, but what to switch to ...
Nishu Ali's user avatar
1 vote
1 answer
105 views

Should I worry if 'pkexec' is in a cPanel user's /home/virtfs (CVE-2021-4034)?

The recent security bug CVE-2021-4034 in Linux involves /usr/bin/pkexec. Following media reports (zdnet, etc.) I changed its permission, but also found this file: /home/virtfs/foo/usr/bin/pkexec for ...
kitchin's user avatar
  • 131
0 votes
1 answer
82 views

WHM / Rearrange an Account

I recently bought another block of storage from my provider and following their guide, I rearranged my accounts to it: sudo mkfs.ext4 /dev/vdb sudo mkdir /mnt/vol-us-1 sudo mount -t ext4 /dev/vdb /...
James's user avatar
  • 101
0 votes
2 answers
1k views

$'\r': command not found — file encoding on CentosOS trough cPanel for cloud service

I am writing a silly script trough cPanel on a Centoss remote server, no so much I can do about it, the script need changes from time to time, and upload trough ftp each time get annoying because of ...
LisbetH's user avatar
1 vote
0 answers
100 views

monitor Apache current downloaing files

I'm using Apache to allow users of my application to download required updates. I want to know are there any methods to understand which files are currently downloading and which IP is downloading ...
VSB's user avatar
  • 175
0 votes
0 answers
190 views

How Do I Free Up Disk Space to Install Centos 8?

I just purchased a Linux VPS thinking it came with Centos 8 but to my horror it does not appear to be installed. If I am to make use of this server I need cPanel or I can't use it all because my only ...
PostAlmostAnything's user avatar
0 votes
1 answer
82 views

CentOS 6 Transation Check Error - Updating fails

I am having an issue updating my server OS. Here is the list of errors I get when I run sudo yum update: file /usr/lib/node_modules/npm/node_modules/which/package.json from install of nodejs-2:8.17....
Joshua Trimm's user avatar
0 votes
2 answers
1k views

Cron Error: No such file or directory

Looking for some guidance around setting up a cron job to run every 15 minutes that sets off a script within the WordPress Plugin Amelia. According to their docs, I need to add the following line to ...
Daniel Sissons's user avatar
3 votes
1 answer
2k views

SSH best practice with a privileged port

I am using cPanel on Centos 7.7 and I am a bit confused about this note in the documentation: We recommend that you use a privileged port of 1 - 1023 that another service does not currently use. ...
rolinger's user avatar
  • 165
2 votes
1 answer
2k views

Server is failing SSH connections

Not certain what's happened here, but any SSH connection to my server is failing. Yesterday it was working, today it is not. Server: Centos 6.10 cPanel v86.0.18 Client: Windows systems using ...
rolinger's user avatar
  • 165
0 votes
1 answer
271 views

Cron job creating new file

I'm using a cpanel where I've hosted an application. In my application I have to run some queries on minutes/hourly/daily basis. For that I'm using cron job from cpanel. Here is a cron command that I'...
Alauddin Ahmed's user avatar
0 votes
1 answer
64 views

Server Information

We have just set up a dedicated-server (Linux / Centos7.7 / WHM/Cpanel) As it is managed by the hosting-company we are not given access to SSH. Under Server Information in WHM dashboard the info ...
GrantJ's user avatar
  • 9
1 vote
0 answers
251 views

Can I change root's domain name in emails?

I already changed my root alias to my email so that whenever a email is sent to root, i get a copy of that. Which is perfectly working fine. Now, when i receive an email, the From address is : root @ ...
KSmith08's user avatar
1 vote
1 answer
249 views

Command working in CLI but not in cron

I'm trying to set up a cron job via cPanel on a machine running CloudLinux/CentOS. The command should run a PHP script every minute to update stats; cd /home/account/public_html/phpredmin/public/ &...
Ally's user avatar
  • 111
-1 votes
1 answer
430 views

mysqldump have issue in cPanel cron job

To create auto backup of database, I am using this command in cPanel cron job mysqldump --opt -Q -u {mysql_user_name} --password='{password}' {database} | gzip > /home/[account_name]/db_backup/...
Yogesh Saroya's user avatar
0 votes
2 answers
103 views

Copy folder to multiple (similar) locations simultaneously

I have around 90 websites I need a plugin installed on (wordpress) and I was wondering if there's a way to copy the plugin folder to all of them in a single run (i.e., simultaneously / in parallel).  ...
evul's user avatar
  • 13
3 votes
2 answers
21k views

Network is unreachable in CentOS 7 after disabling Network Manager for cPanel + restart

I have a server from OVH (SoYouStart technically), it's running Proxmox and the VM is running CentOS. I followed the instructions here and then here to disable the network manager, I installed cPanel ...
Jon's user avatar
  • 33
12 votes
2 answers
28k views

A filename has an asterisk for some reason - it won't be changed and content not executed

I use CentOS shared server environment with Bash. ll "$HOME"/public_html/cron_daily/ brings: ./ ../ -rwxr-xr-x 1 user group 181 Jul 11 11:32 wp_cli.sh* I don't know why the filename has an ...
Arcticooling's user avatar
0 votes
0 answers
119 views

Use proxy in linux server. Different result between command line and browser execution

In my web server i am trying to use proxy in all outgoing http(s) request in linux ( centos7 ). example: curl request. After set proxy by export http_proxy and https_proxy, when i run a file (php) ...
Imran Abdur Rahim's user avatar
3 votes
1 answer
3k views

Apache: how to run PHP files via CGI as normal user and without them being executable

Background Config of server I want to mimic I have access to a CentOS 7 server with cPanel/WHM installed, running EasyApache4 with the following configuration: # /usr/local/cpanel/bin/...
user avatar
0 votes
1 answer
805 views

Installing cPanel on a load-balanced environment?

I have a cluster set up on AWS Ubuntu under 2 load balancers. Is there a way to install cPanel on the servers so that it will still work under the load balancer? I know cPanel doesn't currently have ...
Naynay's user avatar
  • 103
2 votes
1 answer
10k views

How to make my system centos 7 use primarily ipv4 if it's available

I have CentOS 7 running on an AWS machine. I recently enabled IPv6, and everything was working fine – except for the fact that PHP connection requests (also curl from command line) always prefer to ...
Grego's user avatar
  • 121
1 vote
2 answers
9k views

sudo: command not found on cPanel [closed]

I have a webserver with cPanel, and I tried to install mod-pagespeed. but when use the commands in every tutorial, I get permissions denied and when I use sudo I get bash: sudo commando not found. ...
MikeGsus's user avatar
2 votes
0 answers
378 views

Postfix stop continuously

I just successfully configured Sendgrid into a Google Cloud Instance which is CPanel installed on CentOS. Here I have done it. When install Postfix I have to remove currently installed exim4. ...
NiroshanJ's user avatar
  • 133
-3 votes
1 answer
37k views

Yum, Rpm and Find Command Not Found [closed]

I am trying to use "yum", "rpm" and "find" commands to install cpanel on my vps, but i am just getting "command not found", please help
A. Monroy's user avatar
1 vote
0 answers
475 views

HTTPS not working for example.com, only for www.example.com

I have installed SSL certificate on my webserver and enabled redirection of all http requests to https using certbot. So far this works when I try to open www.example.com but not with example.com. ...
Georgi Stoyanov's user avatar
2 votes
2 answers
2k views

How to run cronjob every 4 hours minus 1 second

I have data coming from API and I want to call it and dump the data in my db every 4 hours (current day data). I used the following : 0 */4 * * * The data in my report is missing some values, ...
Bilal Halayqa's user avatar
0 votes
1 answer
195 views

Why is my command prompt different

Long story short, I needed to completely reinstall my CentOS/WHM/cPanel stack on a server. I had cPanel account backups available to me (backed up on S3 using the built in WHM backup system), so I ...
somebodysomewhere's user avatar
1 vote
0 answers
458 views

CentOS server freezing daily

Host: CentOS release 6.8 (Final) Server is freezing on a daily basis, usually around 5am. I cannot login to the terminal, and the Apache websites are inaccessible. Terminal shows following screen: ...
Ash's user avatar
  • 125
0 votes
2 answers
4k views

How to access home directories via server IP address

I am trying to set my server up to access accounts such as: 192.169.200.88/~dirname where dirname is the account's home directory. I set the accounts up via WHM, and I can access the Cpanel. But ...
Matthew Woodard's user avatar
1 vote
0 answers
750 views

Access files from one cpanel account to another

I have a server which has CloudLinux installed with cpanel and whm. On this server I have 2 cPanel accounts, ABC1 and ABC2. I want ABC2 to access files in ABC1? I created a link using SSH WinSCP, ...
Zubair1's user avatar
  • 111
0 votes
2 answers
25k views

SSH connect to HOSTNAME port 22: Connection timed out

Using the "SSH Shell Access" in my Cpanel I have added my public and private key in the import key section and I also have authorised them. But I am getting this "Connection timed out" error on port ...
hash71's user avatar
  • 1
0 votes
1 answer
1k views

Cannot access WHM and SSH/root after a configuration in Host Access Control

I added my IP (like 172.32.1.0/255.255.255.0) to allow access for ssh, whm and cpanel in WHM -> Host Access Control. Then, I added all IP to deny access for them. However, after saved changes, I ...
Stewie Griffin's user avatar
0 votes
1 answer
2k views

too many connection to SMTP server in exim_mainlog, How to solve it?

It is a cPanel server and from /var/log/exim_mainlog, I can see that, there are too many connections to the server. Mostly the number of action connection will be less than 25. But even after ...
Mani's user avatar
  • 584
4 votes
4 answers
12k views

Is it a correct way to clear the exim mail queue?

I use the following command to delete the exim mail queues exiqgrep -i | xargs exim -Mrm or # following commands seems to work faster compared to the above. exim -bpru | awk {'print $3'} | xargs ...
Mani's user avatar
  • 584
1 vote
1 answer
67 views

Does 'reloading' a server reset dns/email settings

I have a client with web hosting on a Linux VPS. Unfortunately, I know very little about VPS hosting and am having a hard time finding information on how to set up email and DNS records. So the best ...
Niahc's user avatar
  • 113
0 votes
3 answers
669 views

How to install Nginx while Apache running?

I am trying to install nginx as a backend proxy for Apache and I get this errors: === Install Nginx from official repositories === Loaded plugins: fastestmirror, remove-with-leaves, tsflags, ...
Uhl Hosting's user avatar
0 votes
1 answer
32 views

Only One Resolver ip

so i was trying to setup Cpanel and i got this problem it asked me for a Secondary Resolver which i don't have i tried getting my ip resolver by typing cat /etc/resolv.conf in centos and it gave me ...
Yahya Lutf's user avatar
1 vote
2 answers
7k views

Unable to install yum on cpanel server

I recently signed up on godaddy and have a user account on cpanel I can successfully use ssh to login to my server this is my operating system details when i use uname -a Linux a2plcpnl0360.prod....
repzero's user avatar
  • 514
1 vote
0 answers
224 views

Remove permanent redirect and clean DNS

I am experiencing "Server not found" errors since I did the following, in my server I had this domain structure: example.com -> permanent redirection to app.example.com app.example.com I removed ...
manix's user avatar
  • 185
-1 votes
1 answer
495 views

Number Of email accounts can be hosted on server using cpanel

I need to know how many number of accounts be hosted on a dedicated server with cpanel, with a HDD of 100 GB , and also max number of accounts, And also I would need assistance on "How I use a single ...
stacy's user avatar
  • 49
26 votes
2 answers
27k views

nmap doesn't appear to list all open ports

My rental Linux server doesn't respond to nmap the way I thought it would. When I run nmap it shows three open ports: 80, 443 and 8080. However, I know ports 2083, 22 and 2222 should all be open, as ...
Peter David Carter's user avatar
3 votes
2 answers
549 views

Can i run grep from cPanel without SSH?

I need to search a large amount of files on my hosting that runs cPanel. They don't have SSH, is there a way I can run grep in any other way to search my files for a certain piece of text?
TPLinks's user avatar
  • 133
0 votes
1 answer
202 views

How to check banned ports?

I need to check if I can connect to a cpanel, FTP or SSH. Is there anyway to check if a port is banned? p.s. I'm living in a Dormitory so I have no control over modems or etc.
Valamor's user avatar
  • 11