You are not logged in.

#1 2012-03-03 07:08:36

maput
Member
Registered: 2012-02-29
Posts: 7

(SOLVED)rc.d is not working

sory if i am replying old topics
buat i have searched in this forum, i dont get the answer and i am a bit confuse

[root@PROXY home]# rc.d start lighttpd
-bash: rc.d: command not found
[root@PROXY home]# /etc/rc.d/lighttpd start
/etc/rc.d/lighttpd: line 4: /etc/rc.d/functions: No such file or directory
/etc/rc.d/lighttpd: line 18: stat_busy: command not found
/etc/rc.d/lighttpd: line 40: stat_done: command not found
/etc/rc.d/lighttpd: line 44: stat_busy: command not found
/etc/rc.d/lighttpd: line 57: stat_die: command not found
[root@PROXY home]#

i just confuse /functions file is missing
after i isntalled arch for my proxy server everything is fine
all daemon was working

but suddenly rc.d command is not working anymore:(

sory for my bad english

thx for help

Last edited by maput (2012-03-03 08:08:43)

Offline

#2 2012-03-03 07:38:46

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: (SOLVED)rc.d is not working

both /etc/rc.d/functions and rc.d (which is located at /usr/sbin/rc.d) are part of the initscripts package. You can make sure it's installed and current version is correct (2012.01.1-1) by looking at what is printed with the command pacman -Q initscripts.

And even if it is correct, check to make sure those files actually exist on your system, if not reinstall initscripts.

Offline

#3 2012-03-03 07:45:48

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,683

Re: (SOLVED)rc.d is not working

Also check that your path includes /usr/sbin

Offline

#4 2012-03-03 07:55:36

maput
Member
Registered: 2012-02-29
Posts: 7

Re: (SOLVED)rc.d is not working

mcmillan wrote:

both /etc/rc.d/functions and rc.d (which is located at /usr/sbin/rc.d) are part of the initscripts package. You can make sure it's installed and current version is correct (2012.01.1-1) by looking at what is printed with the command pacman -Q initscripts.

And even if it is correct, check to make sure those files actually exist on your system, if not reinstall initscripts.

thx its working now after i install initscripts big_smile
now i can continue configuring my mrtg:D

(solved)

Offline

Board footer

Powered by FluxBB