Merhaba,
chkconfig --add jboss

KOmutu: "service jboss does not support chkconfig"   sonucunu veriyor...

Dosyanın başı da şöyle;

*********************
#!/bin/sh
#
# $Id: jboss_init_redhat.sh 81068 2008-11-14 15:14:35Z [email protected] $
#
# JBoss Control Script
#
# To use this script run it as root - it will switch to the specified user
#
# Here is a little (and extremely primitive) startup/shutdown script
# for RedHat systems. It assumes that JBoss lives in /usr/local/jboss,
# it's run by user 'jboss' and JDK binaries are in /usr/local/jdk/bin.
# All this can be changed in the script itself.
#
# Either modify this script for your requirements or just ensure that
# the following variables are set correctly before calling the script.

#define where jboss is - this is the directory containing directories log, bin, conf etc
# JBOSS_HOME=${JBOSS_HOME:-"/usr/local/jboss"}
JBOSS_HOME=${JBOSS_HOME:-"/apps/jboss-5.0.0.GA"}

#define the user under which jboss will run, or use 'RUNASIS' to run as the current user
JBOSS_USER=${JBOSS_USER:-"jboss"}

#make sure java is in your path
JAVAPTH=${JAVAPTH:-"/usr/java/jdk1.6.0_12/bin"}

#configuration to use, usually one of 'minimal', 'default', 'all'
JBOSS_CONF=${JBOSS_CONF:-"default"}

#if JBOSS_HOST specified, use -b to bind jboss services to that address
JBOSS_BIND_ADDR=${JBOSS_HOST:+"-b 0.0.0.0"}

#define the classpath for the shutdown class
JBOSSCP=${JBOSSCP:-"$JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jnet.jar"}

#define the script to use to start jboss
JBOSSSH=${JBOSSSH:-"$JBOSS_HOME/bin/run.sh -c $JBOSS_CONF $JBOSS_BIND_ADDR"}

*********************


Kolay gelsin,
Mucip:)



Devrim GÜNDÜZ yazmış:
On Sun, 2009-02-22 at 22:56 +0200, Mucibirahman İLBUĞA wrote:
Bir de Jboss sistem servisi haline gelmiyor!?

chkconfig --add jboss
chkconfig --level 345 jboss on

dediğimizde jboss desteklemiyor diyor?!

Jboss'u kurmayalı bir süre oldu ve siz tam mesajı yazmamışsınız gerçi;
ama aldığınız hata jboss'un başlatma betiğinin chkconfig ile uyumlu
olmaması ile ilgili olabilir mi?

Öyle ise betiğin başında # olan ilk satırlarını e-posta ile
gönderirseniz belki yardımcı olabilirim.
------------------------------------------------------------------------

_______________________________________________
Linux E-Posta Listesi
[email protected]

Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen 
e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1 
dakika içinde üyeliğinizi sonlandırabilirsiniz.
http://liste.linux.org.tr/mailman/listinfo/linux
_______________________________________________
Linux E-Posta Listesi
[email protected]

Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen 
e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1 
dakika içinde üyeliğinizi sonlandırabilirsiniz.
http://liste.linux.org.tr/mailman/listinfo/linux

Cevap