The postgresql server is currently offline cpanel

ARUN Posted in CPANEL FRONTEND, WHM FRONTEND
0

Reset the postgress sql password from WHM.

How to configure Litespeed to behave as suphp.

ARUN Posted in Lite Speed, WHM BACKEND, WHM FRONTEND
0

I have enabled suphp on our server with litespeed installed. But I can still access 777 file permission. How to fix this

Solution :

Login to litespeed admin panel   >> conf >> server >> security

Change below values to :

Script Restricted Permission Mask                    022

cript Restricted Directory Permission Mask       022

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.

WHM does not show the nameserverips

ARUN Posted in DNS, WHM BACKEND, WHM FRONTEND
0

Main >> DNS Functions >> Nameserver IPs   does not show the nameserverips

Solution :

cp -ar /var/cpanel/nameserverips.yaml /var/cpanel/nameserverips.yaml.bak

vi /var/cpanel/nameserverips.yaml

Should look like below :

**************************************************

---
ns1.arunp.in:
  226.58.71.189: 1
  count: '2'
zones: giftnfun.com,arunp.in
ns2.nandamurifans.com:
226.58.71.190: 1
  count: '2'
zones: giftnfun.com,arunp.in

**************************************************

Please make sure that “1″ marked in RED should be altered as well. default will be “0″.

Restart cpanel and relogin

How does ip/~username work in server

ARUN Posted in HTTPD, WHM BACKEND, WHM FRONTEND
0

How does ip/~username point to public_html instead of /home/username in server.

Solution : Its done by “UserDir”

httpd.conf might have an entry as below :

=================

root@server [~]# grep UserDir /usr/local/apache/conf/httpd.conf
UserDir public_html
root@server [~]#
=========================
Thats what is specifying the document root.
By default "UserDir" is enabled.
To disable we can use :
UserDir disabled user4 user5 user6
http://httpd.apache.org/docs/2.0/mod/mod_userdir.html

SSL install aborted due to error: The certificate is expired

ARUN Posted in SSL, WHM FRONTEND
0

Getting the below error while trying to install SSL on a DOMAIN :

SSL install aborted due to error: The certificate is expired

Solution :

1) Make sure in WHM while you are trying to install the certificate you are loggedin without ssl ie. IP:2086

2) If your WHM is not using a paid SSL, reset the self signed certificate from WHM again and then try installing SSL for the domain

 

rndc: connect failed: 127.0.0.1#953: connection refused

ARUN Posted in WHM BACKEND, WHM FRONTEND
0

When trying to restart named we are getting the below error

root@server [~]# rndc reload
rndc: connect failed: 127.0.0.1#953: connection refused
root@server [~]#

Solution :

/scripts/rebuildnamedconf

Getting following error while trying to access Fantastico : Warning: php_uname() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1013 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1029 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1030 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1031 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1032 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1033 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1034 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1035

ARUN Posted in ERROR, FANTASTICO, WHM BACKEND, WHM FRONTEND
0

Warning: php_uname() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1013

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1029

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1030

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1031

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1032

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1033

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1034

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1035

 

Solution :  /scripts/makecpphp

Updating FTP Server…Updates for “ftp” are disabled because “/etc/ftpdisable” exists

ARUN Posted in FTP, WHM BACKEND, WHM FRONTEND
0

Getting the error : Updating FTP Server…Updates for “ftp” are disabled because “/etc/ftpdisable” exists    while trying to run upcp

One solution that worked :

http://webhostingdevelopment.com/forum/index.php/2011/05/pure-authd-usrsbinpure-authd-s-varrunftpd-sock-r-usrsbinpureauth-running-as-root-with-pid/

How to increase /tmp size in dedicated server with cpanel

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

cp -ar /scripts/securetmp /scripts/securetmpbak

Edit

In a cpanel server edit  /scripts/securetmp and give

“my $tmpdsksize = 4096000;”

and then run

[      /scripts/securetmp --auto  ]

to create the new tmp.