The MySQL® server is currently offline.

ARUN Posted in MYSQL, WHM BACKEND, WHM FRONTEND
0

Getting error “The MySQL® server is currently offline.”  while trying to add database.

Solution :

WHM >> Reset Local MySQL Root Password

Error ” Permission denied (publickey,gssapi-with-mic). ” while we try to ssh.

ARUN Posted in SSH, WHM BACKEND, WHM FRONTEND
0
[[email protected] ~]# ssh 79.12.58.12
Permission denied (publickey,gssapi-with-mic).
Solution :
Please make sure to enable password authentication if its a WHM server :
Main >> Security Center >> SSH Password Authorization Tweak

Disable directory indexing in cpanel.

ARUN Posted in CPANEL FRONTEND, WHM BACKEND, WHM FRONTEND
0
  • Login to your CPanel
  • Click on Index Manager
  • Directory will be list down. Click on the directory name which you want to disable the directory browsing
  • Select No Index and click Save
  • The directory browsing feature should be disable by now

Once you disable directory browsing, visitor will not able to browse your directory by accessing the directorydirectly (if there is no index.html file). This will protect your files from exposing to the public.

Cpanel shows 0mb size for all databases after migration

ARUN Posted in CPANEL FRONTEND, WHM BACKEND, WHM FRONTEND
0
Solution :
vi /var/cpanel/cpanel.config
Change :
disk_usage_include_sqldbs=1
/scripts/update_db_cache
Wait for few minutes depending upon the databases and the users and this should fix the problem.

Fantastico is not installed at the default location /usr/local/cpanel/3rdparty/fantastico. Either move the Fantastico directory from it’s current location to /usr/local/cpanel/3rdparty/fantastico OR enable ioncube loaders in WHM -> Tweak settings.

ARUN Posted in CPANEL FRONTEND, WHM BACKEND, WHM FRONTEND
0

Fantastico is not installed at the default location /usr/local/cpanel/3rdparty/fantastico. Either move the Fantastico directory from it’s current location to /usr/local/cpanel/3rdparty/fantastico OR enable ioncube loaders in WHM -> Tweak settings.

Solution :

1) Loader to use for internal cPanel PHP (Use oldsourceguardian for version 1.x and 2.x)

Check  ioncubeloader

2) /scripts/makecpphp

Custom xinetd chkservd

ARUN Posted in WHM BACKEND, WHM FRONTEND
0

cd /etc/chkserv.d/

vi xinetd

service[xinetd]=x,x,x,/scripts/restartsrv_xinetd,xinetd,root

Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation prop

ARUN Posted in PHP, WHM BACKEND, WHM FRONTEND
0

php my admin gives the following error

Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation prop

Solution :

vi /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini

session.save_path = /tmp

getting following error while removing the addon domain : Error from park wrapper: Sorry, you do not control the domain usacellphoneplans.com

ARUN Posted in WHM BACKEND, WHM FRONTEND
0

Error from park wrapper: Sorry, you do not control the domain usacellphoneplans.com

Login to WHM and you can forcefully unpark it from >> Account Information >> List Subdomains.

RV admin

ARUN Posted in WHM BACKEND, WHM FRONTEND
0

Update rvkin

perl /root/rvadmin/auto_rvskin.pl

upcp

ARUN Posted in WHM BACKEND
0

vi /etc/cpupdate.conf

CPANEL=stable

/scripts/upcp –force

WHM >> Update Preference >> Stable

cpbackup log file path

ARUN Posted in LOG FILES, WHM BACKEND
0

WHM backup log path

/usr/local/cpanel/logs/cpbackup/

Fatal! Write Failure: /etc/valiases/ + Ignore any messages of success this can only result in failure!

ARUN Posted in CPANEL FRONTEND, ERROR, WHM BACKEND
0

When trying to add the email forwarder in cpanel we get the following error :

Fatal! Write Failure: /etc/valiases/ +  Ignore any messages of success this can only result in failure!

Solution :

cd /etc/valiases/
chown username:mail /etc/valiases/domain.com
Or
/scripts/fixvaliases   which will fix all the permission errors.

Disable custom ssh port in WHM server and enable login through port 22

ARUN Posted in PORT, SSH, WHM BACKEND, WHM FRONTEND
0

How to reset SSH port through WHM

Login to WHM through non secure port 2086

http://IP_address:2086

http://Ip_address:2086/scripts2/doautofixer?autofix=safesshrestart

Emails wont go out from a VPS server

ARUN Posted in MAIL, WHM BACKEND, WHM FRONTEND
0

Please check if the following is setup

SMTP TWEAK should be disabled in WHM >> Security setup

SMTP_BLOCK should be enabled in csf

IP/~username wont work in cpanel server

ARUN Posted in IP ADDRESS, WHM BACKEND, WHM FRONTEND
0

Main >> Security Center >> Apache mod_userdir Tweak

Uncheck :   Enable mod_userdir Protection