Re: [Linux] Apache 2.2.0

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Erdal YAZICIOGLU (erdal.yazicioglu@gmail.com)
Date: Wed 27 Sep 2006 - 14:51:49 GMT


Tekrar merhaba

Örneğin smb servisine baktım... Şöyle birşey yazıyor

!/bin/sh
#
# chkconfig: - 91 35
# description: Starts and stops the Samba smbd and nmbd daemons \
# used to provide SMB network services.
#
# pidfile: /var/run/samba/smbd.pid
# pidfile: /var/run/samba/nmbd.pid
# config: /etc/samba/smb.conf

# Source function library.
if [ -f /etc/init.d/functions ] ; then
  . /etc/init.d/functions
elif [ -f /etc/rc.d/init.d/functions ] ; then
  . /etc/rc.d/init.d/functions
else
  exit 0
fi

Daha sonra ben bu source function dan fi ye kadar olan tarafı kopyaladım
fakat yardımcı olmadı. Ne kaçırıyor olabilirim?

Saygılar
Erdal

----- Original Message -----
From: "Devrim GÜNDÜZ" <devrim@gunduz.org>
To: <linux@liste.linux.org.tr>
Sent: Wednesday, September 27, 2006 1:39 PM
Subject: Re: [Linux] Apache 2.2.0

>
> 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

_______________________________________________
Linux mailing list
Linux@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.