Questions tagged [cpanel]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

how to check running process on cpanel terminal?

I run a python scrapper on cpanel terminal, but after log in again and check the terminal it was not showing the process running. how can i check if it is still active or i need to run again. i just ...
0
votes
0answers
11 views

Nodejs Apache Reverse Proxy HTTPS

I successfully manage to reverse proxy my Node app through a reverse proxy with the below customizations <VirtualHost 190.200.180.50:3333> ServerName messenger.example.com ProxyPass / http://...
1
vote
0answers
14 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 ...
0
votes
0answers
27 views

Change ulimit value for a user on a cPanel/WHM machine

I have a dedicated CentOS machine running WHM/cPanel. I have been noticing an app performing bad being hosted on a cPanel account. Most probably due to restrictions setup by the system admins at ...
0
votes
0answers
32 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 ...
0
votes
1answer
33 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....
0
votes
1answer
312 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 ...
0
votes
0answers
8 views

Default Apache PHP install on cPanel Centos 7.7 vs Centos 6.10

GoDaddy is my hosting provider, I am in the process of upgrading from their Gen3 VPS to a Gen4 VPS. The Gen3 was on Centos 6.8 and the new Gen4 is on Centos 7.7. My original PHP install for apache on ...
3
votes
1answer
196 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. ...
3
votes
0answers
537 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 ...
0
votes
1answer
21 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'...
0
votes
0answers
7 views

is this possible to create CPANEL account without pointing NS and A record to host?

I want to set up a Cpanel account which is not pointing(A Record) to the server as well as nameserver. I don't want to change nameserver and A record. Because the current site is live on another ...
0
votes
1answer
58 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 ...
0
votes
0answers
41 views

call a file in exim filter

Hi I have hundreds of exim filter conditions as below. each condition block has 2 white listed domain as @safedomain1.com and @safedomain2.com. I want to be able to create a file e.g /etc/...
1
vote
0answers
53 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 @ ...
1
vote
1answer
100 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/ &...
-1
votes
1answer
130 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/...
0
votes
2answers
76 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).  ...
2
votes
2answers
8k 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 ...
5
votes
2answers
10k 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 ...
0
votes
0answers
55 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) ...
3
votes
1answer
2k 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/...
0
votes
1answer
549 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 ...
2
votes
1answer
5k 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 ...
1
vote
2answers
3k 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. ...
2
votes
0answers
285 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. ...
-3
votes
1answer
19k 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
1
vote
0answers
374 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. ...
2
votes
2answers
1k 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, ...
0
votes
1answer
104 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 ...
1
vote
0answers
355 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: ...
0
votes
2answers
2k 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 ...
1
vote
0answers
577 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, ...
0
votes
2answers
13k 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 ...
0
votes
1answer
818 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 ...
0
votes
1answer
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 ...
3
votes
3answers
8k 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 ...
1
vote
1answer
48 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 ...
0
votes
3answers
507 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, ...
0
votes
1answer
28 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 ...
0
votes
2answers
3k 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....
1
vote
0answers
174 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 ...
-1
votes
1answer
378 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 ...
22
votes
2answers
15k 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 ...
3
votes
2answers
317 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?
0
votes
1answer
111 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.
1
vote
1answer
3k views

How to change FTP home directory in Centos 6

I have created one Linux CentOS 6 instance in Amazon EC2 and installed cPanel on it and started running my websites there. The issue I face was when I try to FTP to the instance with the following ...
0
votes
1answer
763 views

Installing a different php version for a subdomain

I have a cPanel dedicated server installed with PHP 5.2.17. I need to use php 5.3 version for my subdomain and the directory needed php.5.3 is /home/website30/public_html/blog/. Can anyone provide ...
0
votes
2answers
484 views

Can not connect to my webserver on my own IP

Lately I'm having trouble connecting to my VPS Webserver. Every morning when I try to connect to my webserver via pop ,visit a website that runs on the server or even ping the server, I get no ...
1
vote
2answers
15k views

Run A Cron Job Task Every 30 Seconds [duplicate]

It's possible to set the cron job tool in my website cpanel 'VPS Hosting' to execute php file every 30 second I am using it to execute php file once at a minute *,*,*,*,* but I need to set it to run ...