Skip to main content

OnlineSupport4u

fix corrupted named.conf in cPanel

By PrasadNaik
June 12, 2020

We had an issue where in cPanel server where we had our rDNS settings were no working. On editing and saving the file from WHM , Rdns worked Found the issue was due to corrupted named.conf Below are the steps undertaken to rebuild named.conf mv /etc/named.conf /etc/named.conf.bak /usr/local/cpanel/scripts/rebuilddnsconfig /scripts/restartsrv_named Now rdns and other records are […]

Read More

The system received an error from the “MySQL” database “mysql”: ER_PASSWORD_NO_MATCH

By PrasadNaik
June 1, 2020

While resetting the cpanel account password from WHM I saw above error after resetting the passwor. I see the issue was due to the parameter skip-name-resolve in mysql config /etc/my.cnf Removing the command and restarting the mysql fixed the issue

Read More

Exim Error: Failed to create directory “/var/spool/exim/db”: Permission denied

By PrasadNaik
May 20, 2020

We came across an issue where emails were not coming to server on checking logs we saw below error failed to open DB file /var/spool/exim/db/ratelimit: Permission denied (euid=47 egid=12) We executed below steps to fix the error 1003 2020-05-20 11:38:14 rm -fv /var/spool/exim/db/*1004 2020-05-20 11:38:30 service exim restart1005 2020-05-20 11:39:22 chown -R mailnull.mail /var/spool/exim1006 2020-05-20 […]

Read More

Change SSH port on Centos 7

By PrasadNaik
April 9, 2020

Open file using command vi /etc/ssh/sshd_config #Port 22 remove the # symbol and change the default port 22 and change it accordingly to your preference save the file and exit semanage port -a -t ssh_port_t -p tcp 2244 where 1234 is my ssh port firewall-cmd --permanent --zone=public --add-port=1234/tcp firewall-cmd --reload systemctl restart sshd.service Now telnet […]

Read More

named.service failed. Centos Web Panel

By PrasadNaik
March 13, 2020

Named on Centos webpanel was not starting on server On checking logs only below information were displayed named.service – Berkeley Internet Name Domain (DNS) Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2020-03-13 07:30:38 EDT; 5min ago Process: 24466 ExecStartPre=/bin/bash -c if [ ! “$DISABLE_ZONE_CHECKING” == “yes” ]; then /usr/sbin/named-checkconf […]

Read More

Invalid command ‘SetEnv’, perhaps misspelled or defined by a module not included in the server configuration,

By PrasadNaik
March 12, 2020

While working on server We saw one website giving 500 error On checking I see error was coming on .htaccess rules /docs/subdomains/my/public_html/.htaccess: Invalid command ‘SetEnv’, perhaps misspelled or defined by a module not included in the server configuration To resolve this problem, we need to install the module ‘mod_env’ manually. For easyapache4 users, #yum install […]

Read More

“No route to host” fix for Centos 7

By PrasadNaik
February 27, 2020

After changing SSH port, If I try to SSH using new port number I was getting error “no route to host” The issue was due to IPtables I have to flush all firewall rules using IPtables -f serveice iptables restart This fixed the ssh port issue

Read More

ERROR 1118 (42000) at line 661: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.

By PrasadNaik
February 18, 2020

We had this issue while dumping one database We added below parameter in /etc/my.cnf innodb_strict_mode = 0 And restarted Mysql Now mysql dump worked fine

Read More

error: Unable to read from monitor: Connection reset by peer

By PrasadNaik
January 17, 2020

KVM based VPS was giving belolw error “error: Unable to read from monitor: Connection reset by peer” The fix was to disable VNC in VPS settings and start vps which worked fine with me

Read More
1 7 8 9 15