The following error was getting generated while starting postfix service. # /etc/init.d/sendmail status sendmail dead but subsys locked sm-client (pid 16432) is running... First check postfix is running on the server. # /etc/init.d/postfix status (pid 2793) is running... Try stopping the postfix service and kill the process. Then restart sendmail service.
Category: Uncategorized
Custom compile CURL on server
To custom compile curl on a server wget http://www.execve.net/curl/curl-7.34.0.tar.gz ./configure --prefix=/usr/local/bin/curl-7.34 make make install If you want to use the custom compiled curl version to any of the domains, make a symlink from curl custom path to /home/user/
Issue with cPanel not listing email accounts
Fix In these cases cd /home/user/.cpanel Remove the following files in it rm -rf email_accounts.cache email_accounts_count email_accounts.yaml email_accounts.yaml.lock Login to cPanel again The cache file will be created automatically
libxml2.so.2: cannot open shared object file: No such file or directory
We are getting "libxml2" error message while performing upcp on the server. Fix The issue can been corrected by creating the following symlink: ln -s /opt/xml2/lib64/libxml2.so.2 /usr/lib64/libxml2.so.2
Unable to start cxs Watch daemon: /proc/sys/fs/inotify/max_user_watches is set too low [currently:8192]. You need to have your VPS provider increase this value.
If you are facing issue with the CXS in VPS server with the mentioned error you can correct this by increasing the value. Fix vzctl exec CTID echo fs.inotify.max_user_watches=xxxxx | tee -a /etc/sysctl.conf && sudo sysctl -p where CTID represent ID of the VE. xxxxx represent a higher value than the error.
CDP agent hcp driver not loaded into kernal
Fix Run the following command in the server and restart cdp-agent. r1soft-setup --get-module /etc/init.d/cdp-agent restart
To delete the mails older than 30 days
/usr/bin/archivemail --quiet --delete --days 30 /home/{USER}/mail/inbox
What is rpm justdb?
If you came across an RPM issue regarding any system or other critical rpms need to remove from server to resolve the upcp, yum update issues, you can use RPM "--justdb" option instead of removing the entire RPM. This "justdb" option only removes that particular RPM entry from RPMDB on server. +++++++ Eg: -bash-4.2# rpm … Continue reading What is rpm justdb?
SSH login getting delayed for minutes even though server is stable
Fix Check whether UseDNS parameter is enabled in ssh config file sshd_config. UseDNS no Restart the ssh service
-bash: host: command not found
Fix This can be fixed by yum install bind-utils jwhois