Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache will not start, error in /sbin/runscript.sh
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
batkiwi
n00b
n00b


Joined: 01 Dec 2002
Posts: 12

PostPosted: Mon Jul 07, 2003 12:12 am    Post subject: apache will not start, error in /sbin/runscript.sh Reply with quote

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
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Mon Jul 07, 2003 12:24 am    Post subject: Reply with quote

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
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Mon Jul 07, 2003 5:16 am    Post subject: Reply with quote

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
View user's profile Send private message
batkiwi
n00b
n00b


Joined: 01 Dec 2002
Posts: 12

PostPosted: Mon Jul 07, 2003 2:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum