The cPanel & WHM update script (/scripts/upcp)
This script handles most of the updates on your cPanel & WHM system. You can run this script in 2 ways:
* On the command line, by entering /scripts/upcp as the root user.
* In WHM, using the Upgrade to Latest Version feature at Main >> cPanel >> Upgrade to Latest Version.
In addition to updating cPanel & WHM, this script also updates most of the software on your system by calling a number of other scripts within the /scripts directory.
Cpanel software update scripts description
In addition to /scripts/upcp
Update System Software Updates your system software. This script is essentially the same as running yum update.
Update Server Software Updates software dependencies required by cPanel that are provided by the operating system.
There are a number of scripts that update applications installed with cPanel.
Latest update of openssl breaks Parallels Panel
Latest update of the openssl package from CentOS breaks Parallels Panel 9.x. Errors are displayed in the /var/log/sw-cp-server/error_log file when Panel is trying to start.
The problem has been fixed since version 9.5.0.
Download the appropriate package using the wget utility. Example for CentOS 5 x86:
#wget -c http://kb.parallels.com/Attachments/12669/Attachments/sw-cp-server-1.0-6.201004011105.centos5.i386.rpm
Install the downloaded package. Example for CentOS 5 x86:
#rpm -Uhv sw-cp-server-1.0-6.201004011105.centos5.i386.rpm
Reference : http://kb.parallels.com/
cPanel/WHM Update and Service Status Logs
/var/cpanel/updatelogs/update-[TIMESTAMP].log
Contains all output from each upcp. Named with the timestamp from which the upcp process was executed.
Service Status Logs
The service monitoring daemon (chkservd) logs all service checks here. Failed services are represented with a [-], and active are represented with [+].
How to update your exim.conf in DirectAdmin
You can update your exim.conf by running the following as root:
wget -O /etc/exim.conf http://files.directadmin.com/services/exim.conf
wget -O /etc/exim.pl http://files.directadmin.com/services/exim.pl
chmod 755 /etc/exim.pl
cd /etc/virtual
touch blacklist_domains whitelist_from use_rbl_domains bad_sender_hosts blacklist_senders whitelist_domains whitelist_hosts whitelist_senders
echo 0 > limit
mkdir usage
chown mail:mail blacklist_domains whitelist_from use_rbl_domains bad_sender_hosts blacklist_senders whitelist_domains whitelist_hosts whitelist_senders limit usage
If you are running dovecot, you will need to re-patch your exim.conf:
patch -p0 < /usr/local/directadmin/customapache/exim.conf.dovecot.patch
patch -p0 < /usr/local/directadmin/custombuild/exim.conf.dovecot.patch
Then restart exim:
RedHat:
/sbin/service exim restart