Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with running anything from /etc/init.d after update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
galandilias
n00b
n00b


Joined: 03 Jul 2011
Posts: 47

PostPosted: Wed Nov 30, 2011 7:52 pm    Post subject: Problem with running anything from /etc/init.d after update Reply with quote

I have updated foolishly my configuration automatically overwriting existing (and working) one :) now I cannot execute anything with parameters start/stop/status in init.d, what did I override? What to do to fix that? Running scripts from init.d without any parameter works fine, but if I add i.e. status parameter it is not working, my tries below (apache is running):

mnet-proliant init.d # ./apache2 -V
apache2 (OpenRC) 0.9.4 (Gentoo Linux)
mnet-proliant init.d # ./apache2 stop
/lib64/rc/sh/runscript.sh: line 13: ./apache2: No such file or directory
* ERROR: apache2 failed to stop
mnet-proliant init.d # ./apache2 start
* WARNING: apache2 has already been started
mnet-proliant init.d # ./apache2 restart
/lib64/rc/sh/runscript.sh: line 13: ./apache2: No such file or directory
* ERROR: apache2 failed to stop
mnet-proliant init.d #
Back to top
View user's profile Send private message
poncho
n00b
n00b


Joined: 06 Mar 2011
Posts: 58

PostPosted: Wed Nov 30, 2011 7:57 pm    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=392457

Quote:
After updating to openrc-0.9.4, I can no longer start and stop services from
the /etc/init.d directory.

Instead, this happens:
dactyl init.d # ./dovecot restart
/lib64/rc/sh/runscript.sh: line 13: ./dovecot: No such file or directory
* ERROR: dovecot failed to stop
dactyl init.d #

However, typing the command as /etc/init.d/dovecot restart works fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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