On 6/4/07, Lubax OS <[EMAIL PROTECTED]> wrote:
dear linuxer,
saya pake centos release 4.1(final) untuk webserver dan database postgresql
untuk keperluan aplikasi khusus.
waktu lalu karena human error system melakukan restore system ke configurasi
awal, namun di stop di tengah jalan sehingga sekarang server tersebut kacau.
sempat di perbaiki oleh si pembuat program dan aplikasi tersebut bisa
running dengan baik (httpd, postgresql, crond dan qmail). namun
permasalahannya adalah selain service-sercive tersebut harus saya run secara
manual setiap kali startup. saya sudah check ke chkconfig, semua
service-service tersebut sudah di set on pada 2345, saya juga sudah mencoba
untuk menambahkan baris perintah di /etc/rc.d/rc.local (ex:
/etc/init.d/httpd/restart) tapi tetap saja tidak ada pengaruhnya alias
service-service penting tersebut tidak bisa run secara langsung saat
startup.
saat saya check ke /etc/inittab isi adalah initdefaultnya =7 ??? (terlampir
di bawah)
mohon pencerahan, gimana cara untuk membuat service-service tersebut bisa up
saat boot.
karena saya sudah mencoba menambahkan level 7 on pada httpd tapi system
menolaknya
thanks
regards,
Lubax
-------------------- attachment file /etc/inittab ------------------
#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# SME Server software. Instead, modify the source template in
# an /etc/e-smith/templates-custom directory. For more
# information, see http://www.e-smith.org/custom/
#
# copyright (C) 1999-2003 Mitel Networks Corporation
#------------------------------------------------------------
# Default runlevel.
#
id:7:initdefault:
# Create quota db files if they don't exist
cq::sysinit:/etc/rc.d/rc.quota_create
# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit
2:23457:respawn:/sbin/mingetty tty2
3:23457:respawn:/sbin/mingetty tty3
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
sv:7:respawn:/etc/runit/2
# The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have
networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
# 7 - e-smith server and gateway
#
l0:0:wait:/etc/rc.d/rc.e-smith 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc.e-smith 6
l7:7:wait:/etc/rc.d/rc.e-smith 7
ll:7:wait:/sbin/e-smith/signal-event local
# Run gettys in standard runlevels
1:123457:respawn:/sbin/mingetty tty1
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.472 / Virus Database: 269.8.7/830 - Release Date: 03/06/2007
12:47
--
Kalau memang default boot-nya [ada] ke runlevel 7 [mungkin ini bawaan
e-smith server], untuk aplikasi yang mau distart ketika boot, [selain
diset ke 3 atau 5], ya di-set juga ke 6 dan atau 7. [e.g. chkconfig
--level 3567 httpd on].
Yaya
--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis