Discussion:
Quick one, how do you chkconfig --list on debian?
Conor Wynne
2009-04-07 10:00:43 UTC
Permalink
chkconfig --list on debian?

I looked in the man page for rc-update.d but no joy.
It suggested looking in sysv-rc-conf (8), so I did and don't have a manual
page for that!

Anyone?
--
Irish Linux Users' Group mailing list
About this list : http://mail.linux.ie/mailman/listinfo/ilug
Who we are : http://www.linux.ie/
Where we are : http://www.linux.ie/map/
Ciaran Johnston
2009-04-07 10:52:54 UTC
Permalink
Post by Conor Wynne
chkconfig --list on debian?
I looked in the man page for rc-update.d but no joy.
try man update-rc.d
Post by Conor Wynne
It suggested looking in sysv-rc-conf (8), so I did and don't have a manual
page for that!
You probably don't have it installed then.

apt-get install sysv-rc-conf
sysv-rc-conf --list

Cheers,
Ciaran.
--
Irish Linux Users' Group mailing list
About this list : http://mail.linux.ie/mailman/listinfo/ilug
Who we are : http://www.linux.ie/
Where we are : http://www.linux.ie/map/
David Howe
2009-04-07 11:50:00 UTC
Permalink
Post by Ciaran Johnston
Post by Conor Wynne
chkconfig --list on debian?
I looked in the man page for rc-update.d but no joy.
try man update-rc.d
Post by Conor Wynne
It suggested looking in sysv-rc-conf (8), so I did and don't have a manual
page for that!
You probably don't have it installed then.
apt-get install sysv-rc-conf
sysv-rc-conf --list
chkconfig is generally used on Red Hat systems

Debian users tend to use:

$ ps aux | grep httpd <-- will work on all systems

to see if httpd is running for example and,

$ /etc/init.d/apache2 start

to start the httpd service assuming you are running apache2.

The distros are just different so it is better to make the switch
--
David Howe
Managing Director
Howe Systems Limited-"protecting your data"
Tel: +353 402 93030
Mob: +353 86 328 2903
Registered Address: Rock Big, Arklow, County Wicklow
Place of Registration: Dublin, Ireland.
Company Registration Number:399359
--
Irish Linux Users' Group mailing list
About this list : http://mail.linux.ie/mailman/listinfo/ilug
Who we are : http://www.linux.ie/
Where we are : http://www.linux.ie/map/
Gavin McCullagh
2009-04-07 13:02:32 UTC
Permalink
Hi,
Post by David Howe
$ ps aux | grep httpd <-- will work on all systems
Ironically, that wouldn't work on debian-based systems as the web server
process is usually called apache and runs under the user www-data ;-)
Post by David Howe
to see if httpd is running for example and,
$ /etc/init.d/apache2 start
to start the httpd service assuming you are running apache2.
You'll also need to set things to start/stop in certain runlevels. As
someone said, update-rc.d is the debian tool for that though I must admit I
tend to just modify the symlinks which is, I guess, distro-agnostic too.
People seem to recommend using the tools. Perhaps that protects you from
mistakes better.

Gavin
--
Irish Linux Users' Group mailing list
About this list : http://mail.linux.ie/mailman/listinfo/ilug
Who we are : http://www.linux.ie/
Where we are : http://www.linux.ie/map/
Alexander Ufimtsev
2009-04-07 12:46:39 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

if running Debian Lenny or up, the easiest thing to do is

apt-get install chkconfig
chkconfig --list
Message: 8
Date: Tue, 7 Apr 2009 11:00:43 +0100
Subject: [ILUG] Quick one, how do you chkconfig --list on debian?
Content-Type: text/plain; charset="ISO-8859-1"
chkconfig --list on debian?
I looked in the man page for rc-update.d but no joy.
It suggested looking in sysv-rc-conf (8), so I did and don't have a manual
page for that!
Anyone?
- --
Alexander Ufimtsev
Open Source Lab, University College Dublin, Dublin 4, Ireland
W: http://osl.ucd.ie T: +353 1 716 2926 F: +353 1 269 7262



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJ20soANNyqVq3ICERAhvLAJ9MWwJZv4oRMtapoBJFuc1ghquxmgCfcE5i
YBkrINGv6TRfzk/88Vw1azc=
=ysw4
-----END PGP SIGNATURE-----
--
Irish Linux Users' Group mailing list
About this list : http://mail.linux.ie/mailman/listinfo/ilug
Who we are : http://www.linux.ie/
Where we are : http://www.linux.ie/map/
Loading...