View previous topic :: View next topic |
Author |
Message |
batkiwi n00b

Joined: 01 Dec 2002 Posts: 12
|
Posted: Mon Jul 07, 2003 12:12 am Post subject: apache will not start, error in /sbin/runscript.sh |
|
|
Code: |
knightsofmars apache # /etc/init.d/apache start
/sbin/runscript.sh: line 27: /var/lib/init.d/softlevel: No such file or directory
* Starting apache... [ ok ]
knightsofmars apache #
|
Apache isn't REALLY started, even though it says ok. here's the contents of /var/lib/init.d:
Code: |
knightsofmars apache # ls /var/lib/init.d -la
total 80
drwxr-xr-x 13 root root 4096 Jul 6 18:55 .
drwxr-xr-x 13 root root 4096 Jul 1 17:23 ..
drwxr-xr-x 52 root root 4096 Jun 17 16:57 after
drwxr-xr-x 53 root root 4096 Jun 17 16:57 before
drwxr-xr-x 2 root root 4096 Apr 24 17:56 broken
drwxr-xr-x 2 root root 4096 Apr 24 17:58 cache
-rw-r--r-- 1 root root 10038 Jun 17 16:57 depcache
-rw-r--r-- 1 root root 15727 Jul 1 17:23 deptree
drwxr-xr-x 13 root root 4096 Jun 17 16:57 need
drwxr-xr-x 2 root root 4096 Apr 24 17:56 options
drwxr-xr-x 4 root root 4096 Jun 17 16:57 provide
drwxr-xr-x 2 root root 4096 Jul 1 17:23 snapshot
drwxr-xr-x 2 root root 4096 Apr 24 17:56 softscripts
drwxr-xr-x 2 root root 4096 Jul 6 18:55 started
drwxr-xr-x 6 root root 4096 Jun 17 16:57 use
knightsofmars apache #
|
Any ideas? I think this has been happening since the latest round of portage upgrades, maybe after the baselayout change. Should I just re-emerge baselayout, or just copy softlevel off another box? Or is this indiciative of something gone REALLY wrong? |
|
Back to top |
|
 |
devon l33t

Joined: 23 Jun 2003 Posts: 943
|
Posted: Mon Jul 07, 2003 12:24 am Post subject: |
|
|
I don't know if this will help, but here is my /var/lib/init.d/softlevel
Code: | $ ls -l /var/lib/init.d/softlevel
-rw-r--r-- 1 root root 8 Jul 6 20:12 /var/lib/init.d/softlevel
$ cat /var/lib/init.d/softlevel
default
|
|
|
Back to top |
|
 |
kashani Advocate


Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Mon Jul 07, 2003 5:16 am Post subject: |
|
|
Are you logged in as root. I think that's the very unhelpful error Apache kicks out when you try to start it as a regular user.
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
 |
batkiwi n00b

Joined: 01 Dec 2002 Posts: 12
|
Posted: Mon Jul 07, 2003 2:11 pm Post subject: |
|
|
I'm in as root. Was this maybe a change on the latest baselayout and portage, or something?
I am currently running gentoo in a chroot environment, which hasn't been a problem ever before, but if this softlevel file is "new" I could see why this would cause it not to work, b/c I'm not in any runlevel right now as far as gentoo is concerned... |
|
Back to top |
|
 |
|