Enable wild card subdomain

ARUN Posted in WHM BACKEND, WHM FRONTEND
0

ServerAlias *.domain.com www.domain.com

In DNS add

* 14400 IN A  IP_ADDRESS

Internal Server Error 500 more than 400 attempts to create a session failed

ARUN Posted in CPANEL FRONTEND, VPS, WHM FRONTEND
0

Internal Server Error  500  more than 400 attempts to create a session failed   while accessing WHM.

Solution :

Check  inode of your server.

df -i

Connecting to Remote Server Failed: Unable to connect to IP:PORT: Bad file descriptor

ARUN Posted in WHM BACKEND, WHM FRONTEND
0

When i try to transfer domains uisng WHM transfer I am getting the following error :

====

Connecting to Remote Server Failed: Unable to connect to IP:PORT: Bad file descriptor

====

Solution :

Disable firewalls on both servers especially on destination server and try to connect

Clamav doesnot work in cpanel >> virus scan

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

When trying to install clamav from within WHM >> Pluggin and accessed through cpanel >> Virus Scan

we are getting the the following :

===================
Scanning:
… connecting to clamd service …
===================
Solution :
WHM >> Tweak Settings”  change the value of “Max cPanel process memory”  to Unlimited and then reinstalled ClamAV


Enable shell fork bomb

ARUN Posted in WHM BACKEND, WHM FRONTEND
0
Make sure /etc/profile has permission.
lsattr /etc/profile
chattr -i /etc/profile
Shell fork bomb is not compatible with virtuzo VPS.

Mailing list location in cpanel

ARUN Posted in WHM BACKEND, WHM FRONTEND
0

/usr/local/cpname/mailman/archieves

phpmyadmin upload limitation

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

To increase the phpmyadmin upload limitation in cpanel servers you can edit the php.ini file mentioned below :

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

upload_max_filesize = 100M

post_max_size = 100M

Even if you edit the main php.ini file it wont work in this case.

Cpanel >> phpmyadmin may not reflect the change, if so go to

WHM >> tweak settings >> cPanel PHP max POST size >> and increase the limit.

or

Increase WHM >> Tweak Settings >> cPanel PHP max upload size

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
[root@arun ~]# ssh 79.12.58.12
Permission denied (publickey,gssapi-with-mic).
[root@arun ~]#
Solution :
Please make sure to enable password authentication if its a WHM server :
Main >> Security Center >> SSH Password Authorization Tweak

Site error: the file /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/functions.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.

ARUN Posted in CPANEL FRONTEND, WHM FRONTEND
0

Site error: the file /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/functions.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.

Solution :

Install ioncube loader

/scripts/phpextensionmgr install IonCubeLoader

Enable ioncube via tweak settings.

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