A
anjanesh
Guest
Hi
I used domain.sh to create many domains in SSH.
I had a file containing some 500+ of these lines.
Now Apache is not starting for some reason.
I didnt stop Apache but I guess it got stopped after this because Apache was not running anymore and service httpd start was failing.
I dont understand what logs it isnt able to open.
Please help.
I used domain.sh to create many domains in SSH.
Code:
usr/local/psa/bin/domain.sh --create "My-Domain.com" -clogin "clientlogin" -ip "x.x.x.x" -login "username" -passwd "password" -hosting true -webstat true
Now Apache is not starting for some reason.
I didnt stop Apache but I guess it got stopped after this because Apache was not running anymore and service httpd start was failing.
Code:
[root@myserver www]# cat /var/log/httpd/error_log
Unable to open logs
Unable to open logs
Unable to open logs
[root@myserver www]#
Code:
[root@myserver www]# ls -l /var/log/httpd
total 40
-rw-r--r-- 1 root root 0 Nov 20 06:02 access_log
-rw-r--r-- 1 root root 2454 Nov 18 23:16 access_log.1
-rw-r--r-- 1 root root 60 Jan 3 03:39 error_log
-rw-r--r-- 1 root root 160 Dec 30 17:18 error_log.1
-rw-r--r-- 1 root root 20 Dec 30 14:19 error_log.2
-rw-r--r-- 1 root root 0 Dec 30 14:49 error_log.3
-rw-r--r-- 1 root root 2394 Nov 27 06:02 error_log.4
-rw-r--r-- 1 root root 0 Nov 18 15:40 ssl_access_log
-rw-r--r-- 1 root root 0 Dec 31 06:02 ssl_error_log
-rw-r--r-- 1 root root 882 Dec 31 04:53 ssl_error_log.1
-rw-r--r-- 1 root root 378 Nov 26 07:21 ssl_error_log.2
-rw-r--r-- 1 root root 2268 Nov 20 03:50 ssl_error_log.3
-rw-r--r-- 1 root root 0 Nov 18 15:40 ssl_request_log
[root@myserver www]#
Code:
[root@myserver /]# myserver -l /var/www/vhosts/My-Domain.com/statistics/logs
total 100
-rw-r--r-- 1 root root 0 Jan 2 04:07 access_log
-rw-r--r-- 1 root root 93663 Dec 31 06:07 access_log.processed
-rw-r--r-- 1 root root 0 Jan 3 03:28 error_log
-rw-r--r-- 1 root root 0 Jan 2 04:07 xferlog_regular
-rw-r--r-- 1 root root 509 Dec 31 04:07 xferlog_regular.processed
[root@myserver /]#
Please help.