-3
votes
0answers
12 views

automate a selective site backup [on hold]

I've got a site that has a sub-domain used to test content and script, and I would like to do a single click backup of selected tables on one server to another. Same with the files, while preventing ...
0
votes
2answers
53 views

Cannot resolve host as non-root user

I recently setup a VPS server running Centos 6.5 together with Web Host Manager. My current problem is that I can't resolve hostname either by nslookup or ping on the command line. But when I login ...
0
votes
1answer
176 views

Installing PHP 5.2.17 from WHM/Cpanel server by replacing 5.4.31

Recently we purchased a dedicated server with WHM/Cpanel. The PHP version installed on the server is 5.4.31. But i want to downgrade the pHP version from 5.4.31 to PHP 5.2.17 as to run some old ...
1
vote
2answers
58 views

I need to augment my output to include cat-ing a file in this Bash script

I have a script querying a remote server based on user input and looks for the last modified date of a file. It works, however, contained in the file is a string that I need to have displayed as well ...
-3
votes
1answer
97 views

How to get count of email accounts per user in cPanel? [closed]

This question is similar: Finding out the total number of email accounts in a cPanel server which I would love to comment on, but can't because of reputation. This one-liner works well to get a total ...
0
votes
1answer
98 views

Moving cpanel location from /usr/local to /home

My /usr partition is almost full, and it seems that the most practical option is to move the largest directory /usr/local/cpanel which is almost 4GB, to /home. Something like: Create link to new ...
2
votes
1answer
76 views

SSH Mounted Drive, home directory for websites changed

A week or so ago I had a new hard drive added onto my dedicated server for additional storage because I am placing a video site up on the server and will be storing a lot of videos. So I wanted to ...
0
votes
1answer
787 views

Enable Jailshell Access from Command Line

There is an option in whm/cpanel to enable jailshell access for any hosting account. I want to know if it is possible to enable that option for any or all cpanel hosting accounts through command ...
0
votes
1answer
43 views

Why does SSH client and FileZilla turn unresponsive after a minute

Mine is Centos based VPS with Cpanel. When I connect to this server from my PC using SSH or open FileZilla to transfer files they both turn unresponsive after I leave them idle for a minute or so. ...
0
votes
3answers
284 views

Pointing subdomain (from cpanel, hosting company) to an external public IP

How can I create a subdomain from a public IP and an existing domain name ? I have a website hosted by an external hosting company.: www.example.com I have a public IP (not real): 127.180.150.20 ...
0
votes
1answer
510 views

Worker MPM or Prefork? [closed]

I understand that there is a comparison topic between the two modules here but this is different. I was contacting cPanel support in order to help me freeing up some memory usage on the VPS. They ...
-1
votes
1answer
62 views

Rsync backup - detect new directory and backup only from that directory

New cpanel daily backup is creating separate directories for daily backup. This creates problem when I try to user rsync to do an offsite backup since I would like to rsync only latest data. E.g. On ...
0
votes
1answer
232 views

Cpanel return 404 when I try to use the urls domain.ext/cpanel and domain.ext/webmail

I am running a web server using "CloudLinux Server release 6.4" with installed the CPanel 11.38.2.7. The problem is that suddenly, the server stoped serving the CPanel pages, such as the webmail and ...
0
votes
1answer
758 views

CloudLinux server won't boot [closed]

I have a cPanel server, running Cloud Linux, it's a dedicated server that originally ran CentOS 6.4 and SoftRaid 1. I converted it to CloudLinux after a fresh re-install. I didn't have a need to ...
2
votes
1answer
59 views

Hostname issue on server

Email from WHM/CPANEL Your hostname (HOSTIT) could not be resolved to an IP address. This means that /etc/hosts is not set up correctly, and/or there is no dns entry for HOSTIT. Please be sure that ...
0
votes
1answer
272 views

WHM/CPanel system applying a per-user MySQL resource limit

Through testing of our server, I have come to the conclusion that our server is somehow limiting usage per user to MySQL. When I run mysqltuner.pl, the script pegs one of the processors for several ...
0
votes
1answer
225 views

How to disable login into cpanel from doaminname.com:2082?

i am using WHM and cPanel on website when i goto mywebsite.com:2082 in browser address bar it shows the cpanel window and mywebsite.com:2087 it shows the WHM login window. is there any way to ...
0
votes
1answer
225 views

How can I configure a Ubuntu LAMP web server with permissions like CPanel?

I know how to set up a LAMP stack on Ubuntu pretty well for a single website / single user, but I'd like to allow multiple users to host multiple sites on a single server. This is for different ...
-1
votes
1answer
343 views

how to restore public_html folder in cpanel? [closed]

I have accidentally deleted public_html folder in cpanel. I don't have local backup of public_html folder. How can I recover my files?
1
vote
1answer
1k views

SolusVM + OpenVZ + Second level quotas — how to enable?

I have a lot of CPanel clients and I've seen some host automatically enable secondary level quotas on signup. I was wondering how do I do that? Do I need to run a script on signup? Do I need to edit ...
-2
votes
1answer
292 views

Full-featured web server (cPanel, Softaculous) running under VMware for multiple projects? [closed]

I love working on WordPress installations locally, mainly because of the speed. No lag, no overworked web hosts. Super-snappy, instant response. I found quite a few ready-to-use solutions in the ...
-1
votes
2answers
77 views

Server hacked - help needed [duplicate]

I have noticed that a new folder was added to website and it was used as phishing from our site. I think, it was added few days before. The added code page is showing "Reported Web Forgery!". I have ...
0
votes
1answer
60 views

Getting very large backup files from shared hosting

I have very large project on linux shared hosting, I tried to backup web-site with cPanel, but it is excluding the folders which are very large (about 20 gb and ~300,000 files), I alos tried to ...
-1
votes
1answer
90 views

Hiding/Editing e-mail headers

from 1.2.3.4-rDNS ([1.2.3.4]:57306 helo=[127.0.0.1]) by SERVERHOSTNAME with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from <MYEMAIL>) id 1ZGFeS-0023uH-H1 for MYEMAIL; ...
2
votes
1answer
253 views

Using auditd to watch a directory non-recursively?

I'm working on a Cent 6 Cpanel machine, and some mystery script is changing the permissions of home directories (!) to 777. I've ruled out all the easy fixes, so I just need to set up a watch on the ...
0
votes
1answer
318 views

my server sending mails without me sending it [duplicate]

last night i see many mail undelivery messages but i have not send any messages. I have only one site live on it. is there any way to find out more details about it. i don't know where to start ...
1
vote
1answer
70 views

CPanel Finished install..now what?

My organization currently has an account with www.greengeeks.com where we use cPanel to manage a handful of LAMP apps. We wanted to move our server and apps in house. So I we purchased cPanel, and I ...
-1
votes
1answer
48 views

What are steps to migrate from old to new server using cpanel? [closed]

I've just moved from old to new server but have many problems now. What I did was: Initial set up of cpanel; 2. Change of hostname from default to my domain aaa.aaa.com; 3. Migrate multiple accounts ...
-2
votes
3answers
43 views

Pagespeed still works on a new server even though it shouldnt

I had mod_pagespeed installed on my previous server. I didn't use it and disallowed via .htaccess because after some testing it turned out that it actually slowed down my site. So it remained ...
1
vote
1answer
252 views

DNS Protection in named.conf

cat /etc/named.conf [...] acl "trusted" { IPS HERE }; options { allow-recursion { trusted; }; allow-notify { trusted; }; allow-transfer { trusted; }; allow-query { trusted; }; directory ...
0
votes
1answer
61 views

My Site is not working

I have a problem with my VPS setup. My main site is setup and now I have all the files placed in there but couldn't open the site. One thing I noticed awakrdly is when I do the host ...
0
votes
2answers
778 views

MySQL Tables crashing randomly

This is one of the many random Tables that get corrupted. Any ideas why and what would be causing this? How do I keep MySQL tables from crashing and MySQL from crashing? Repairing USR_wp537 ...
0
votes
1answer
209 views

Empty Access_logs

nging vhost file: nginx works as a reverse proxy cat /etc/vhosts/website.info server { error_log /var/log/nginx/vhost-error_log warn; listen 1.2.3.4:80; server_name ...
0
votes
1answer
87 views

Tracing out going connections

Jan 24 07:00:49 HOST kernel: [875997.380464] Firewall: *TCP_OUT Blocked* IN= OUT=eth0 SRC=108.60.11.15 DST=74.80.225.32 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=18789 DF PROTO=TCP SPT=64823 DPT=81 ...
-1
votes
1answer
114 views

nginx and SSL config [closed]

Can nginx be used with SSL?I am using http://nginxcp.com/ for my CPanel server and here are my config file setups server { error_log /var/log/nginx/vhost-error_log warn; listen ...
2
votes
2answers
98 views

fstab filesystem editing

UUID=f5be9b96-da41-49fd-a8e2-dbbf37f5cd7d / ext4 defaults,usrquota 1 1 UUID=31a1c8d1-18ee-4c97-a0b9-b92599247112 /boot ext4 defaults 1 2 ...
0
votes
1answer
439 views

Importing mail boxes from cPanel host to DIY Postfix + Dovecot

I am migrating sites from a shared host which uses cPanel, moving files and databases are done. The only thing that I am stuck at is moving the mail boxes, cPanel uses Exim while I have installed ...
1
vote
0answers
164 views

Configuring Exim to relay mail from authenticated users

I have multiple CentOS servers with cPanel installed, with Exim as the MTA. The goal is to: Relay mail from authenticated senders via another SMTP server Send mail from mailnull user (sendmail, PHP ...
-1
votes
1answer
560 views

centos install / partitioning

I'm using NOC-PS to remotely install Centos 6.2 via KVM / IPMI. I'm going to install cPanel as well and they recommend this layout /boot (99MB) swap (2x server RAM) / (remainder) In the o/s ...
4
votes
7answers
1k views

Preventing - Large Number of Failed Login Attempts from IP

I'm running a CentOS 6.3 server and currently receive emails entitled "Large Number of Failed Login Attempts from IP" from my server every 15 minutes or so. Surely with the below configured it should ...
-2
votes
3answers
141 views

Setup a automatic server reboot on when a particular service fails [closed]

I am running linux based server (centos 6.0) with cpanle and WHM, I have critical website running with a chat server which uses a openfire as the chat server backend server, I have monitored last ...
-2
votes
1answer
63 views

is it possible dedicate a CPU power to a website domain? [closed]

I need to know is there a way i can dedicate the CPU power (i have 8 quad core AMD processor), i host over 5 accounts in the Cpanel/WHM, but there is a one main website i need to dedicate my 50% of ...
-1
votes
1answer
93 views

Mass changing IP addresses for DNS [closed]

I run CPanel and I need to change ALL the IPs for one of the nameservers. Can this be done via CPanel or am I going to need to run a bash script to change all my nameserver files manually and then ...
-1
votes
1answer
2k views

change ftpd password viassh pure-ftpd

Hi my cpanel license just ended up needed to change an user's ftp password via ssh logged on as root and changed password by passwd username command but still i can login by old password to ftp ...
0
votes
1answer
146 views

Side effects of using owasp mod_sec rules [closed]

I was looking at all the owasp rules for mod_security. How badly does it slow your loading time down if you use them all? What would be the recommended packages to use? I want to mostly block bad UA, ...
-2
votes
2answers
167 views

Any difference between a SSH user, SFTP user, cPanel user, etc? [closed]

I've recently disabled root access on my server and enabled sudo for my user. However I also use this user account for SFTP and logging into cPanel. Is there any security issue with this? By default I ...
0
votes
2answers
919 views

Apache restart does not load new php.ini

Never had this problem till updated CPanel today? Maybe that is part the problem? I only have the one php.ini file # /usr/local/bin/php --info | grep php.ini Configure Command => './configure' ...
0
votes
1answer
174 views

Ideal way to finding errors in Exim's log file

I have a HUGE massive Exim mail log. What is going to be a good way to go through this email log and pull out all the common and other error types so I can go in and look them up and see which ones ...
3
votes
1answer
108 views

Tracing out going attacks

I have noticed ALOT of the following: Firewall: *TCP_OUT Blocked* IN= OUT=eth0 SRC=ME DST=OUT LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=44395 DF PROTO=TCP SPT=55901 DPT=10080 WINDOW=14600 RES=0x00 SYN ...
2
votes
2answers
1k views

Monitor or log directory permission changes?

I'm having an issue with a cPanel shared server running CentOS 5 where a few directories under the public_html folder keep getting changed to 777 from 755. The customer says they are not changing it ...