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.
Month: August 2018
PHP configure: error: xslt-config not found.
While configuring PHP in the server following error was getting generated. checking whether to enable XMLWriter support… yes, shared checking for xml2-config path… (cached) /usr/bin/xml2-config checking whether libxml build works… (cached) yes checking for XSL support… yes, shared configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution Fix yum install libxslt-devel
Changing wordpress Dashboard login credentials via mysql commandline
You can change wordpress Dashboard login credentials via mysql commandline: Consider following details: Database name : test_data wp_ : As database perfix wp_users : WordPress user table User Id: 1 1. mysql >> to enter in to mysql command line; 2. use test_data; >> to use our database; 3. show tables; >> Show all tables … Continue reading Changing wordpress Dashboard login credentials via mysql commandline
checking for PCRE headers location… configure: error: Could not find pcre.h in /usr
We were getting following PHP compilation error checking for PCRE headers location… configure: error: Could not find pcre.h in /usr Fix yum install pcre-devel
Xencenter connection issue
A VM under Xen node was not up. The client has requested a reboot on the server. First check whether the Xencenter version is same as Xen node. Else it can cause encryption issues. Our windows rdp had a lesser version of the Xen installed, but again is unable to connect. Fix Access the server … Continue reading Xencenter connection issue
Warning: mysql_connect() [function.mysql-connect]: Headers and client library minor version mismatch.
Received the following error after Mariadb installation. Warning: mysql_connect() [function.mysql-connect]: Headers and client library minor version mismatch. Headers:50318 Library:50096 in /home/bunny/public_html/books/includes/functions/database.php on line 19 Fix Added the following line to /var/cpanel/easy/apache/rawopts/all_php5 : --with-mysqli=mysqlnd
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/
Blank page when loading the “delete backup files” in nagiossql
I was getting blank page when clicking "Delete backup files" in nagiossql. Fix This can be fixed by increasing the following values in php.ini and restarting the apache service. max_execution_time memory_limit Revert back the values once you delete the backup files.
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
Enable HTTP/2 support on EasyApache4
EasyApache 4 adds quite a lot of HTTP/2 support from apache version 2.4.25-10". Install "mod_http2" package using below command to enable HTTP/2 support on EA4 server. yum install ea-apache24-mod_http2.x86_64 You can verify the status using below command. /opt/cpanel/libcurl/bin/curl -I --http2 -v http://domain.com