Reset the postgress sql password from WHM.
The postgresql server is currently offline cpanel
Could not edit /home/username/etc/ftpquota
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
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
When trying to install clamav from within WHM >> Pluggin and accessed through cpanel >> Virus Scan
we are getting the the following :
phpmyadmin upload limitation
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
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.
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.
- 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
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.
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!
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.comOr/scripts/fixvaliases which will fix all the permission errors.
How to add custom FTP account in Cpanel server
How to add an FTP account to have access outside the home folder for the user.