Install failure and Locked out
Posted: Fri Nov 21, 2008 12:45 pm
Will i gave it a shot and i missed something, When i got the option for server or client i selected server.
I can get into the Plesk CP but i can't start httpd i get the following from plesk.
0: /usr/local/psa/admin/plib/common_func.php3:190
psaerror(string 'Unable to make action: Unable to manage service by websrvmng: websrvmng: Service /etc/init.d/httpd failed to restart')
1: /usr/local/psa/admin/htdocs/server/restart_services.php:28
Now i can't putty into the server and all my domains are down.
Below are some errors from /etc/asl/config
Checking Kernel security settings
ASL kernel Critical not detected
Kernel GRsecurity support High not found
GRsecurity administrative password Info not set
GRsecurity ACL database Info not found
General Security Checks
Checking for unnecessary services
Service portmap Ok disabled
Service nfs Ok disabled
Service nfslock Ok disabled
Service rpcidmapd Ok disabled
Service cups Ok disabled
Service gpm Ok disabled
Service xfs Ok disabled
Checking for End of Life (EOL) operating systems
centos/5 Ok Supported
Checking General PSA settings
Plesk SQL Injection vulnerability SA26741 Ok not detected
Horde Turba Vulnerability CVE-2008-0807 Ok not detected
Horde Vulnerability SA28382 Ok not detected
Horde Turba Vulnerability SA28382 Ok not detected
Horde Mnemo Vulnerability SA28382 Ok not detected
Horde Kronolith Vulnerability SA28382 Ok not detected
Horde Vulnerability CVE-2007-6018 Ok not detected
Horde Vulnerability CVE-2008-1284 Ok not detected
Horde Kronolith Vulnerabilty BugtraqID 28898 Ok not detected
Verify SSLv2 disabled Ok verified
Checking psmon settings
Checking for psmon installation Ok installed
psmon set to Ok enabled
Regenerating configuration from template Ok psmon.conf-template
Process monitoring enabled Ok yes
Notifications to Fixed xxxxt@xxxxxxxxxxx.com
From line set to Fixed psmon@xxxxx.xxxxxxxxxxx.com
Checking System services monitored by psmon
clamd Fixed monitored
courier-imap Fixed monitored
crond Fixed monitored
ossec-hids Fixed monitored
psa Fixed monitored
psa-spamassassin Fixed monitored
sshd Fixed monitored
xinetd Fixed monitored
Checking General ossec-hids settings
Checking for ossec-hids installation Ok installed
ossec-hids set to Ok enabled
OSSEC is configured in server mode.
Checking for server installation Ok installed
Enable email notification Ok yes
Notifications to Ok xxxx@xxxxxxx.com
Notifications from Ok ossec@xxx.xxxxxxxxx.com
SMTP server set to Ok localhost
Max emails per hour set to Ok 200
Client connections allowed through firewall Ok yes
Verifying Active Response set to Ok on
Shun period time set to Ok 600
Verifying OSSEC whitelists
checking Ok 127.0.0.1
Monitoring mod_security log Ok audit_log
[ OK ] Shutting down ossec-hids
[ OK ] Starting ossec-hids
Checking General rkhunter settings
Checking for rkhunter installation Ok installed
rkhunter set to Ok enabled
Notifications sent to Ok support@xxxxxx.com
Allow SSH root logins Ok no
Allow SSH protocol version 1 Ok no
Checking for whitelist for Plesk services
ftp_psa Ok enabled
poppassd_psa Ok enabled
smtp_psa Ok enabled
smtps_psa Ok enabled
Checking Denyhosts settings
Checking for denyhosts installation Ok installed
DenyHosts set to Ok enabled
Notifications sent to Ok support@xxxxxxxxxxxxxx.com
Notifications sent from Ok denyhosts@D2540.xxxxxxxxxxx.com
Logging set to Ok syslog
Shun period set to Ok 10m
Verifying DenyHosts whitelists
checking Ok 127.0.0.1
sent DenyHosts SIGTERM
/usr/bin/env python /usr/bin/denyhosts.py --daemon --config=/etc/denyhosts.conf Starting denyhosts
Checking SSHD configuration
Enforce Protocol Version Ok 2
Strict modes enabled Ok yes
Ignore .rhosts Ok yes
Enable Public Key authentication for users Ok yes
FAILED High No administrative users are defined
SSH will not be reconfigured at this time. warning
FAILED High Remote root logins are still permitted
FAILED High Password authentication is enabled
Enable Privilege separation Ok yes
Allow GSSAPIAuthentication Ok no
Allow GSSAPICleanupCredentials Ok no
SSH Banner Ok /etc/asl/banner
Checking General httpd settings
Verify .htacces AllowOverride not set to ALL Ok verified
Verify HTTP TRACE disabled Ok verified
Verify SSLv2 disabled Ok verified
Checking general mod_evasive settings.
Checking for mod_evasive installation Ok installed
mod_evasive set to Ok enabled
DOSHashTableSize set to Ok 4096
DOSPageCount set to Ok 5
DOSSiteCount set to Ok 200
DOSPageInterval set to Ok 2
DOSSiteInterval set to Ok 2
DOSBlockingPeriod set to Ok 20
[FAILED] Stopping httpd
[FAILED] Starting httpd
Checking General mod_security settings
Checking for mod_security installation Ok installed
mod_security set to Ok enabled
Server Signature set to Ok Apache
SecUploadDir set to Ok /var/asl/data/suspicious
SecUploadKeepFiles set to Ok Off
Logfile set to Ok audit_log
Logging set to Ok Concurrent
Audit Logging to Ok /var/asl/data/audit
Logging elements set to Ok ABIFHZ
SecRequestBodyInMemoryLimit set to Ok 131072
SecResponseBodyLimit set to Ok 2621440
Enable debug log Ok yes
SecDataDir set to Ok /var/asl/data/msa
SecTmpDir set to Ok /tmp
Checking rule class settings
RBL Checks Low off
Upload Scanner ruleset Ok on
Anti-Malware ruleset Ok on
Generic Attack ruleset Ok on
Malicious Useragents ruleset Ok on
Anti-Spam ruleset Ok on
Apache2 Generic ruleset Ok on
Rootkit ruleset Ok on
Recon ruleset Ok on
Just In Time Patches Ok on
Whitelist Ok off
There is a problem with the apache config error
Checking General PHP settings
Checking for php installation Ok installed
PHP Safe Mode High enabled
Register Globals Fixed off
Checking for High-Risk functions
Function dl Fixed no
Function exec Fixed no
Function furl_open Fixed no
Function passthru Fixed no
Function pfsockopen Fixed no
Function popen Fixed no
Function posix_kill Fixed no
Function posix_mkfifo Fixed no
Function posix_setuid Fixed no
Function proc_close Fixed no
Function proc_open Fixed no
Function proc_terminate Fixed no
Function shell_exec Fixed no
Function system Fixed no
Checking for Moderate-Risk functions
Function leak Fixed no
Function posix_kill Fixed no
Function posix_setpgid Fixed no
Function posix_setsid Fixed no
Function proc_get_status Fixed no
Function proc_nice Fixed no
Function show_source Fixed no
Checking for Low-Risk functions
Function phpinfo Allowed yes
[Done] Generating report
Looks like i screwed the pooch on this one, is there away to disable ASL from the plesk cp or am i in big trouble now, cause i can't even putty in to uninstall it.
I can get into the Plesk CP but i can't start httpd i get the following from plesk.
0: /usr/local/psa/admin/plib/common_func.php3:190
psaerror(string 'Unable to make action: Unable to manage service by websrvmng: websrvmng: Service /etc/init.d/httpd failed to restart')
1: /usr/local/psa/admin/htdocs/server/restart_services.php:28
Now i can't putty into the server and all my domains are down.
Below are some errors from /etc/asl/config
Checking Kernel security settings
ASL kernel Critical not detected
Kernel GRsecurity support High not found
GRsecurity administrative password Info not set
GRsecurity ACL database Info not found
General Security Checks
Checking for unnecessary services
Service portmap Ok disabled
Service nfs Ok disabled
Service nfslock Ok disabled
Service rpcidmapd Ok disabled
Service cups Ok disabled
Service gpm Ok disabled
Service xfs Ok disabled
Checking for End of Life (EOL) operating systems
centos/5 Ok Supported
Checking General PSA settings
Plesk SQL Injection vulnerability SA26741 Ok not detected
Horde Turba Vulnerability CVE-2008-0807 Ok not detected
Horde Vulnerability SA28382 Ok not detected
Horde Turba Vulnerability SA28382 Ok not detected
Horde Mnemo Vulnerability SA28382 Ok not detected
Horde Kronolith Vulnerability SA28382 Ok not detected
Horde Vulnerability CVE-2007-6018 Ok not detected
Horde Vulnerability CVE-2008-1284 Ok not detected
Horde Kronolith Vulnerabilty BugtraqID 28898 Ok not detected
Verify SSLv2 disabled Ok verified
Checking psmon settings
Checking for psmon installation Ok installed
psmon set to Ok enabled
Regenerating configuration from template Ok psmon.conf-template
Process monitoring enabled Ok yes
Notifications to Fixed xxxxt@xxxxxxxxxxx.com
From line set to Fixed psmon@xxxxx.xxxxxxxxxxx.com
Checking System services monitored by psmon
clamd Fixed monitored
courier-imap Fixed monitored
crond Fixed monitored
ossec-hids Fixed monitored
psa Fixed monitored
psa-spamassassin Fixed monitored
sshd Fixed monitored
xinetd Fixed monitored
Checking General ossec-hids settings
Checking for ossec-hids installation Ok installed
ossec-hids set to Ok enabled
OSSEC is configured in server mode.
Checking for server installation Ok installed
Enable email notification Ok yes
Notifications to Ok xxxx@xxxxxxx.com
Notifications from Ok ossec@xxx.xxxxxxxxx.com
SMTP server set to Ok localhost
Max emails per hour set to Ok 200
Client connections allowed through firewall Ok yes
Verifying Active Response set to Ok on
Shun period time set to Ok 600
Verifying OSSEC whitelists
checking Ok 127.0.0.1
Monitoring mod_security log Ok audit_log
[ OK ] Shutting down ossec-hids
[ OK ] Starting ossec-hids
Checking General rkhunter settings
Checking for rkhunter installation Ok installed
rkhunter set to Ok enabled
Notifications sent to Ok support@xxxxxx.com
Allow SSH root logins Ok no
Allow SSH protocol version 1 Ok no
Checking for whitelist for Plesk services
ftp_psa Ok enabled
poppassd_psa Ok enabled
smtp_psa Ok enabled
smtps_psa Ok enabled
Checking Denyhosts settings
Checking for denyhosts installation Ok installed
DenyHosts set to Ok enabled
Notifications sent to Ok support@xxxxxxxxxxxxxx.com
Notifications sent from Ok denyhosts@D2540.xxxxxxxxxxx.com
Logging set to Ok syslog
Shun period set to Ok 10m
Verifying DenyHosts whitelists
checking Ok 127.0.0.1
sent DenyHosts SIGTERM
/usr/bin/env python /usr/bin/denyhosts.py --daemon --config=/etc/denyhosts.conf Starting denyhosts
Checking SSHD configuration
Enforce Protocol Version Ok 2
Strict modes enabled Ok yes
Ignore .rhosts Ok yes
Enable Public Key authentication for users Ok yes
FAILED High No administrative users are defined
SSH will not be reconfigured at this time. warning
FAILED High Remote root logins are still permitted
FAILED High Password authentication is enabled
Enable Privilege separation Ok yes
Allow GSSAPIAuthentication Ok no
Allow GSSAPICleanupCredentials Ok no
SSH Banner Ok /etc/asl/banner
Checking General httpd settings
Verify .htacces AllowOverride not set to ALL Ok verified
Verify HTTP TRACE disabled Ok verified
Verify SSLv2 disabled Ok verified
Checking general mod_evasive settings.
Checking for mod_evasive installation Ok installed
mod_evasive set to Ok enabled
DOSHashTableSize set to Ok 4096
DOSPageCount set to Ok 5
DOSSiteCount set to Ok 200
DOSPageInterval set to Ok 2
DOSSiteInterval set to Ok 2
DOSBlockingPeriod set to Ok 20
[FAILED] Stopping httpd
[FAILED] Starting httpd
Checking General mod_security settings
Checking for mod_security installation Ok installed
mod_security set to Ok enabled
Server Signature set to Ok Apache
SecUploadDir set to Ok /var/asl/data/suspicious
SecUploadKeepFiles set to Ok Off
Logfile set to Ok audit_log
Logging set to Ok Concurrent
Audit Logging to Ok /var/asl/data/audit
Logging elements set to Ok ABIFHZ
SecRequestBodyInMemoryLimit set to Ok 131072
SecResponseBodyLimit set to Ok 2621440
Enable debug log Ok yes
SecDataDir set to Ok /var/asl/data/msa
SecTmpDir set to Ok /tmp
Checking rule class settings
RBL Checks Low off
Upload Scanner ruleset Ok on
Anti-Malware ruleset Ok on
Generic Attack ruleset Ok on
Malicious Useragents ruleset Ok on
Anti-Spam ruleset Ok on
Apache2 Generic ruleset Ok on
Rootkit ruleset Ok on
Recon ruleset Ok on
Just In Time Patches Ok on
Whitelist Ok off
There is a problem with the apache config error
Checking General PHP settings
Checking for php installation Ok installed
PHP Safe Mode High enabled
Register Globals Fixed off
Checking for High-Risk functions
Function dl Fixed no
Function exec Fixed no
Function furl_open Fixed no
Function passthru Fixed no
Function pfsockopen Fixed no
Function popen Fixed no
Function posix_kill Fixed no
Function posix_mkfifo Fixed no
Function posix_setuid Fixed no
Function proc_close Fixed no
Function proc_open Fixed no
Function proc_terminate Fixed no
Function shell_exec Fixed no
Function system Fixed no
Checking for Moderate-Risk functions
Function leak Fixed no
Function posix_kill Fixed no
Function posix_setpgid Fixed no
Function posix_setsid Fixed no
Function proc_get_status Fixed no
Function proc_nice Fixed no
Function show_source Fixed no
Checking for Low-Risk functions
Function phpinfo Allowed yes
[Done] Generating report
Looks like i screwed the pooch on this one, is there away to disable ASL from the plesk cp or am i in big trouble now, cause i can't even putty in to uninstall it.