You are not logged in.
Pages: 1
I am in the process of installing xfce. One of the steps is to run:
rc.d start dbus
However, when I run this it returns:
bash: rc.d: command not found
Am I missing something?
Last edited by george55 (2011-08-11 04:03:16)
Offline
rc.d is not a command. its a location under /etc. your command should be
sudo /etc/rc.d/dbus start
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Thanks, understood!
Offline
Please post the output of
pacman -Q initscripts
rc.d is not a command. its a location under /etc. your command should be
sudo /etc/rc.d/dbus start
This is just a folder, the binary is in /sbin - see Xabre's post below.
Last edited by karol (2011-08-10 17:10:21)
Offline
rc.d is not a command. its a location under /etc. your command should be
sudo /etc/rc.d/dbus start
$ which rc.d
/sbin/rc.d
$pacman -Qo /sbin/rc.d
/sbin/rc.d is owned by initscripts 2011.07.3-1
$ rc.d --help
usage: rc.d <action> <daemon> [daemon] ...
rc.d list [started|stopped]
rc.d help
<daemon> is the name of a script in /etc/rc.d
<action> can be a start, stop, restart, reload, status, ...
WARNING: initscripts are free to implement or not the above actions.
e.g: rc.d list
rc.d list started
rc.d help
rc.d start sshd gpm
Initscripts update, part 1
Initscripts update, part 2
@george55
If rc.d command doesn't work, check your initscripts version, and check your $PATH.
Offline
you are right. rc.d is a command now. my bad
@george, rc.d should work, but the way I showed in my previous post is also another way to start/restart/stop daemons. Apparently I am still used to the old way.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
In fact the post of Forum Admin solved my problem, but I understand there appears to be an issue with rc.d on my system. Here is the output:
$ which rc.d
which: no rc.d in (/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core)
$ $PATH
bash: /bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core: No such file or directory
$ pacman -Qo /sbin/rc.d
error: failed to read file '/sbin/rc.d': No such file or directory
Offline
Could you please post the output of
pacman -Q initscripts
?
Offline
Returns:
initscripts 2010.07-1
Offline
You have not updated your system. Run 'pacman -Syu' and make sure you're using an up to date mirror. You can generate a fresh mirrorlist here: http://www.archlinux.org/mirrorlist/
You should be using
[karol@black ~]$ pacman -Q initscripts
initscripts 2011.07.3-1
Offline
Done, thanks, this worked!
Offline
I think think this is a rare opportunity: You system hasn't been update for over a year. Would you mind to portray in what kind of problems you ran during the update?
Offline
Interestingly, all went well! I just ran the update, waited for a while, and things went smoothly. The only issue was that mirrors kept failing, so I had to switch around a lot and re-run the update quite some times because not all packages were downloaded at once. But other than that, all good!
Offline
Pages: 1