From: Devrim GÜNDÜZ (devrim@gunduz.org)
Date: Wed 27 Sep 2006 - 10:39:08 GMT
Merhaba,
On Wed, 27 Sep 2006, Erdal YAZICIOGLU wrote:
> Makineme kaynak dosyalarında Apache 2.2.0 kurdum gayet güzel çalışıyor
> herhangi bir sorun yok ancak apachectl dosyasını /etc/rc.d/init.d dizini
> altına kopyaladıktan sonra chkconfig --add apachectl komutunu
> çalıştırıyorum. Ancak bir türlü listeye ekleyemedim. Aldığım hata
>
> service apachectl does not support chkconfig
Bir betiğin chkconfig tarafından tanınabilmesi için belirli bir biçimde
olması gerekiyor.
Diğer başlangıç betiklerinin başlarına bakın; ne demek istediğimi
anlarsınız. Örnek:
#!/bin/bash
#
# httpd Startup script for the Apache HTTP Server
#
# chkconfig: - 85 15
# description: Apache is a World Wide Web server. It is used to serve \
# HTML files and CGI.
# processname: httpd
# config: /etc/httpd/conf/httpd.conf
# config: /etc/sysconfig/httpd
# pidfile: /var/run/httpd.pid
...
Saygılar,
-- Devrim GÜNDÜZ devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.gunduz.org _______________________________________________ Linux mailing list Linux@liste.linux.org.tr http://liste.linux.org.tr/mailman/listinfo/linux