Quote:
Originally posted by daveo
Edward,
Can you list the contents of /usr/local
Can you list the contents of /usr/local/apache
Can you list the contents of /usr/local/apache/log
Can you list the contents of /usr/local/apache/conf
What distro do you use ? RH 8
Does there exists a scripts dir on your machine?
|
drwxr-xr-x 20 root root 4096 Sep 11 20:38 .
drwxr-xr-x 15 root root 4096 Sep 12 02:04 ..
drwxr-xr-x 12 root root 4096 Sep 11 20:38 apache
drwxr-xr-x 2 root root 4096 Sep 12 13:39 bin
drwxr-xr-x 2 root root 4096 Feb 7 1996 doc
drwxr-xr-x 2 root root 4096 Feb 7 1996 etc
drwxr-xr-x 2 root root 4096 Feb 7 1996 games
drwxr-xr-x 4 root root 4096 Sep 11 20:59 include
drwxr-xr-x 2 root root 4096 Sep 11 19:52 info
drwxr-xr-x 4 root root 4096 Sep 11 20:59 lib
drwxr-xr-x 2 root root 4096 Sep 11 19:52 libexec
drwx------ 2 root root 16384 Sep 12 02:00 lost+found
drwxr-xr-x 3 root root 4096 Sep 11 19:52 man
drwxr-xr-x 7 root root 4096 Sep 12 13:53 mysql-test
drwxr-xr-x 2 root root 4096 Feb 7 1996 sbin
drwxr-xr-x 5 root root 4096 Sep 11 19:52 share
drwxr-xr-x 5 root root 4096 Sep 11 19:53 sql-bench
drwxr-xr-x 8 root root 4096 Sep 11 19:20 src
drwx------ 5 mysql mysql 4096 Sep 12 08:53 var
drwxr-xr-x 89 root bin 4096 Sep 11 19:05 webmin
[root@www local]#
[root@www apache]# ls -la
total 60
drwxr-xr-x 12 root root 4096 Sep 11 20:38 .
drwxr-xr-x 20 root root 4096 Sep 11 20:38 ..
drwxr-xr-x 2 root root 4096 Sep 11 20:38 bin
drwxr-xr-x 2 root root 4096 Sep 11 20:38 cgi-bin
drwxr-xr-x 7 root root 4096 Sep 12 14:51 conf
drwxr-xr-x 2 root root 16384 Sep 12 14:27 htdocs
drwxr-xr-x 3 root root 4096 Sep 11 20:38 icons
drwxr-xr-x 3 root root 4096 Sep 11 20:38 include
drwxr-xr-x 2 root root 4096 Sep 11 20:59 libexec
drwxr-xr-x 2 root root 4096 Sep 12 16:04 logs
drwxr-xr-x 4 root root 4096 Sep 11 20:38 man
drwxr-xr-x 2 nobody nobody 4096 Sep 11 20:38 proxy
[root@www apache]#
[root@www logs]# ls -la
total 20
drwxr-xr-x 2 root root 4096 Sep 12 16:04 .
drwxr-xr-x 12 root root 4096 Sep 11 20:38 ..
-rw-r--r-- 1 root root 3216 Sep 12 15:42 access_log
-rw-r--r-- 1 root root 522 Sep 12 16:04 error_log
-rw-r--r-- 1 root root 1450 Sep 12 15:41 ssl_engine_log
-rw-r--r-- 1 root root 0 Sep 12 15:41 ssl_request_log
[root@www logs]#
[root@www conf]# ls -la
total 336
drwxr-xr-x 7 root root 4096 Sep 12 14:51 .
drwxr-xr-x 12 root root 4096 Sep 11 20:38 ..
-rw-r--r-- 1 root root 348 Sep 11 20:38 access.conf
-rw-r--r-- 1 root root 348 Sep 11 20:38 access.conf.default
-rw-r--r-- 1 root root 47672 Sep 12 14:51 httpd.conf
-rw-r--r-- 1 root root 47672 Sep 12 14:06 httpd.conf~
-rw-r--r-- 1 root root 47672 Sep 12 13:39 httpd.conf.bak
-rw-r--r-- 1 root root 47466 Sep 11 20:38 httpd.conf.default
-rw-r--r-- 1 root root 12965 Sep 11 20:38 magic
-rw-r--r-- 1 root root 12965 Sep 11 20:38 magic.default
-rw-r--r-- 1 root root 12381 Sep 11 20:38 mime.types
-rw-r--r-- 1 root root 12381 Sep 11 20:38 mime.types.default
-rw-r--r-- 1 root root 41 Sep 12 13:45 php.ini
-rw-r--r-- 1 root root 29236 Sep 11 21:11 php.ini~
-rw-r--r-- 1 root root 357 Sep 11 20:38 srm.conf
-rw-r--r-- 1 root root 357 Sep 11 20:38 srm.conf.default
drwxr-xr-x 2 root root 4096 Sep 11 20:38 ssl.crl
drwxr-xr-x 2 root root 4096 Sep 11 20:38 ssl.crt
drwxr-xr-x 2 root root 4096 Sep 11 20:38 ssl.csr
drwx------ 2 root root 4096 Sep 11 20:38 ssl.key
drwxr-xr-x 2 root root 4096 Sep 11 20:38 ssl.prm
[root@www conf]#
I got this disks from the SAMS Teach Yourself RH Linux 8 in 24 Hours book.
Arrgggh! I am thinking of re-installing the entire server with my previous configuration that works and troubleshoot from there.
Regards
Edward Han