[Linux-programlama] başlangıç betikleri

---------

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

From: Serbulent UNSAL (serbulentunsal@meds.ktu.edu.tr)
Date: Fri 11 Feb 2005 - 09:48:51 EET


Merhaba

Debian sarge sistemime yeni kurduğum tomcat i başlangıçta çalıştırmaya
uğraşıyorum. İlk olarak aşağıdaki betiği yazıp /etc/init.d klasörüne
tomcatbasla.sh adıyla kaydedip çalıştırılabilie hale getirdim.

usta:/home/usta# cat /etc/init.d/tomcatbasla.sh
#!/bin/sh
# Java environment variables
export JAVA_HOME=/opt/jdk1.5.0_01
export PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin
export CATALINA_HOME=/opt/tomcat
/opt/tomcat/bin/startup.sh
echo "TOMCAT BASLADI"

daha sonra

/etc/rc5.d klasöründe ln -s /etc/init.d/tomcatbasla.sh S92tomcat

komutuyla linkimi oluşturdum. klasör yapısı şöyle

usta:/home/usta# ls -l /etc/rc5.d
toplam 0
lrwxrwxrwx 1 root root 18 2005-02-10 17:04 S10sysklogd
-> ../init.d/sysklogd
lrwxrwxrwx 1 root root 15 2005-02-10 17:04 S11klogd -> ../init.d/klogd
lrwxrwxrwx 1 root root 13 2005-02-10 17:04 S14ppp -> ../init.d/ppp
lrwxrwxrwx 1 root root 17 2005-02-10 17:56 S18portmap
-> ../init.d/portmap
lrwxrwxrwx 1 root root 16 2005-02-10 17:57 S20dbus-1
-> ../init.d/dbus-1
lrwxrwxrwx 1 root root 15 2005-02-10 17:04 S20exim4 -> ../init.d/exim4
lrwxrwxrwx 1 root root 15 2005-02-10 17:04 S20inetd -> ../init.d/inetd
lrwxrwxrwx 1 root root 17 2005-02-10 17:03 S20makedev
-> ../init.d/makedev
lrwxrwxrwx 1 root root 13 2005-02-10 17:57 S20ssh -> ../init.d/ssh
lrwxrwxrwx 1 root root 16 2005-02-10 18:02 S20xprint
-> ../init.d/xprint
lrwxrwxrwx 1 root root 13 2005-02-10 17:57 S21fam -> ../init.d/fam
lrwxrwxrwx 1 root root 13 2005-02-10 17:04 S89atd -> ../init.d/atd
lrwxrwxrwx 1 root root 14 2005-02-10 17:04 S89cron -> ../init.d/cron
lrwxrwxrwx 1 root root 17 2005-02-10 17:57 S91apache2
-> ../init.d/apache2
lrwxrwxrwx 1 root root 26 2005-02-11 09:04 S92tomcat
-> /etc/init.d/tomcatbasla.sh
lrwxrwxrwx 1 root root 13 2005-02-10 18:00 S99gdm -> ../init.d/gdm
lrwxrwxrwx 1 root root 19 2005-02-10 17:04 S99rmnologin
-> ../init.d/rmnologin
lrwxrwxrwx 1 root root 23 2005-02-10 17:04 S99stop-bootlogd
-> ../init.d/stop-bootlogd

Ancak baslangıcta ne yazıkki calısan birsey göremedim. Neree hata
yapıyorum acaba.

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


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

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.