Skip to main content

OnlineSupport4u

Softacalous blank issue cPanel/WHM

By PrasadNaik
September 15, 2016

While working one of the clients server We saw an issue where going from WHM > plugin > Softacalous and opening it resulted in blank page. The issue is due to corrupt files in softacalous. To fix this issue softacalous need to be reinstalled to reinstall to go cd  /usr/local/cpanel/whostmgr/docroot/cgi/ rm -rf softaculous cd /home […]

Read More

Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

By PrasadNaik
September 9, 2016

While working on a server on installing php 5.6 on centos 6 OS I was getting error “Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again” After googleing around I found this issue is due to https mentioned in the .repo file in /etc/yum.repos.d [root@host yum.repos.d]# ls -la total 28 […]

Read More

cPanel – Can’t change hostname

By PrasadNaik
August 27, 2016

While setting hostname from WHM  >>  Change Hostname We were seeing below error “The hostname was already set to server1k.online.net, syncing configuration only. Error setting new hostname: Could not execute hostname binary Could not set property: Connection timed out” After googling found a alternate solution to this via cli The command was   /usr/local/cpanel/bin/set_hostname  <hostname> It […]

Read More

Error: exim logged Undefined subroutine &main::user2uid called. LOG: MAIN

By PrasadNaik
August 23, 2016

Exim error : LOG: MAIN cwd=/root 4 args: /usr/sbin/exim -i -v testemail@gmail.com LOG: MAIN REJECT F=<root@darkmatter.dnsprotect.com> rejected by non-SMTP ACL: failed to expand ACL string "${if eq{$originator_uid}{${perl{user2uid}{nobody}}}{1}{0}}": Undefined subroutine &main::user2uid called. LOG: MAIN cwd=/var/spool/exim 8 args: /usr/sbin/exim -v -t -oem -oi -f <> -E1UY3r2-000 root@server-web [~]# /scripts/buildeximconf Configuration file passes test! New configuration file was […]

Read More

Disable Mails from single cPanel account

By PrasadNaik
August 2, 2016

We were having an issue where spams emails were sent from single cpanel account We could not suspend the account and disable emails So the solution to this was to keep website online and disable only emails we use the below method to disable emails for a single cPanel account. SSH to server and use […]

Read More

softaculous License refresh from command line

By PrasadNaik
July 27, 2016

Softacalous license from GUI interface is just click of mouse work However if you are doing it from cli You need to run below cron to refresh the softacalous license root@vps [~]# /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cron.php root@vps [~]#  

Read More

view external: query (cache) ‘.in-addr.arpa/PTR/IN’ denied

By PrasadNaik
July 27, 2016

While working on some issue on clients server I could see large number of DNS request in /var/log/messages which were flooding DNS server Jul 27 12:48:55 oklahoma named[14354]: client 74.125.72.2#33485: view external: query (cache) ‘192.245.129.104.in-addr.arpa/PTR/IN’ denied Jul 27 12:48:55 oklahoma named[14354]: client 173.194.103.8#53106: view external: query (cache) ‘31.249.129.104.in-addr.arpa/PTR/IN’ denied Jul 27 12:48:55 oklahoma named[14354]: client […]

Read More

Disable Ipv6 on Centos-5

By PrasadNaik
July 26, 2016

On up-to-date RHEL5 or CentOS5 (currently that means 5.10 aka 5U10) Add the following line to /etc/sysctl.conf: net.ipv6.conf.all.disable_ipv6 = 1 1 net.ipv6.conf.all.disable_ipv6 = 1 On a live system you can disable it with: echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6 1 echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6

Read More

Disable Strict Mode mysql mariadb

By PrasadNaik
July 20, 2016

While working on WHMCS I was not able to generate tickets I found out issue was due to mysql being in strict mode I tried disabling mysql strict mode  by adding entries in  /etc/my.cnf sql_mode=”” However it didnt work out. I have found that there is a /usr/my.cnf file that is enabling strict mode on  […]

Read More
1 14 15 16 25