The postgresql server is currently offline cpanel

ARUN Posted in CPANEL FRONTEND, WHM FRONTEND
0

Reset the postgress sql password from WHM.

Could not edit /home/username/etc/ftpquota

ARUN Posted in CPANEL FRONTEND, FTP, WHM FRONTEND
0

Could not edit /home/username/etc/ftpquota

Check permission for :   /home/username/etc/ftpquota

It should be   username:mail   /home/username/etc/

File  “ftpquota”  should  have  username:username permission.

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

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


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

Error while trying to access phpmyadmin from within cpanel : #1045 Cannot log in to the MySQL server

ARUN Posted in CPANEL FRONTEND, MYSQL
0

Getting the following error while trying to access phpmyadmin from within cpanel :

#1045 Cannot log in to the MySQL server

Solution :

Please change the cpanel username from within cpanel. make sure that “Allow MySQL password change” check box is selected while changing the password.

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

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.

How to add custom FTP account in Cpanel server

ARUN Posted in CPANEL FRONTEND, FTP, WHM BACKEND
0

How to add an FTP account to have access outside the home folder for the user.