root@vps [~]# httpd -l
-bash: httpd: command not found
root@vps [~]#
Solution :
root@vps1 [/usr/bin]# ln -s /usr/local/apache/bin/httpd
root@vps1 [/usr/bin]# cd
root@vps [~]# httpd -l
-bash: httpd: command not found
root@vps [~]#
Solution :
root@vps1 [/usr/bin]# ln -s /usr/local/apache/bin/httpd
root@vps1 [/usr/bin]# cd
/etc/cron.weekly/chkrootkit.sh:
/etc/cron.weekly/chkrootkit.sh: line 3: mail: command not found
/etc/cron.weekly/rkhunter.sh:
/etc/cron.weekly/rkhunter.sh: line 2: rkhunter: command not found
Solution :
yum install mailx.x86_64
Getting the below error in apache error logs and the website giving a Internal server error 500
Solution :
Check RLimitMEM is enabled. If so disable and restart apache.
vi /usr/local/apache/conf/httpd.conf
Plesk mail directory path :
/var/qmail/mailnames/DOMAIN.com/USERNAME
When we create a folder from within the webmail its created at the backend on
/var/qmail/mailnames/DOMAIN.com/USERNAME/Maildir/.FOLDER_NAME
ITS A HIDDEN FILE
[ date --set="10 Jan 2012 21:08:50" ]
Moodle admin login page gives blank page after logged in.
Solution :
open moodle config file
vi config.php
and insert the below at the end of file
=============================================================
ini_set ('error_reporting', E_ALL);
ini_set ('display_errors', 1);
ini_set ('display_startup_errors', 1);
ini_set ('log_errors', 1);
ini_set ('error_log', 'syslog');
=============================================================
Access site and you can see the error. Comment out the lines giving errors and see
To commnet out you can use
/** PHP CODE */
pecl install uploadprogress
groupadd su_user
useradd -g su_user su_user
passwd su_user
cp -ar /etc/group /etc/group.bak7
vi /etc/group
Search for wheel, then append “,su_user”
EG : “root,su_user”
vi /etc/ssh/sshd_config
PermitRootLogin no
Scroll to the bottom of file
AllowUsers su_user
yum install perl-libwww-perl





