inittab entries not Run on Redhat Enterprise 6 but Work on REH 5.5
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
inittab entries not Run on Redhat Enterprise 6 but Work on REH 5.5
Hi ..
My entires (such as jboss) on Inittab (/etc/inittab) of REH5.5 do not work on RHE6.0
here is my inittab file..
Code:
# When our UPS tells us power has failed, assume we have a few minutes
# of power left. Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
# Run xdm in runlevel 5
jb:345:respawn:/usr/local/jboss/bin/run.sh -b 0.0.0.0
x:5:respawn:/etc/X11/prefdm -nodaemo
As asked above, what runlevel are you booting to? Also, I'm sure there is some relevant information in /var/log/messages. Might be helpful to post your log files...
I boot on run level 5 and it does not run what ever I put it myself into inittab while exactly the same configure works on RHE 5.5 (Like jboss that dear jwl17330536 mentioned)
this is result of cat /var/log/messages
Code:
[root@testsrv ~]# cat /var/log/messages
Jan 30 04:03:23 testsrv syslogd 1.4.1: restart.
Jan 30 06:32:53 testsrv kernel: ide-cd: cmd 0x3 timed out
Jan 30 06:32:53 testsrv kernel: hda: irq timeout: status=0xd0 { Busy }
Jan 30 06:32:53 testsrv kernel: ide: failed opcode was: unknown
Jan 30 06:32:53 testsrv kernel: hda: ATAPI reset complete
Jan 30 12:15:33 testsrv kernel: ide-cd: cmd 0x3 timed out
Jan 30 12:15:33 testsrv kernel: hda: irq timeout: status=0xd0 { Busy }
Jan 30 12:15:33 testsrv kernel: ide: failed opcode was: unknown
Jan 30 12:15:33 testsrv kernel: hda: ATAPI reset complete
Jan 31 10:50:06 testsrv kernel: ide-cd: cmd 0x3 timed out
Jan 31 10:50:06 testsrv kernel: hda: irq timeout: status=0xd0 { Busy }
Jan 31 10:50:06 testsrv kernel: ide: failed opcode was: unknown
Jan 31 10:50:06 testsrv kernel: hda: ATAPI reset complete
Jan 31 12:16:57 testsrv kernel: ide-cd: cmd 0x3 timed out
Jan 31 12:16:57 testsrv kernel: hda: irq timeout: status=0xd0 { Busy }
Jan 31 12:16:57 testsrv kernel: ide: failed opcode was: unknown
Jan 31 12:16:57 testsrv kernel: hda: ATAPI reset complete
Feb 1 14:27:44 testsrv kernel: Removing netfilter NETLINK layer.
Feb 1 14:27:44 testsrv kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Feb 1 14:27:44 testsrv kernel: Netfilter messages via NETLINK v0.30.
Feb 1 14:27:44 testsrv kernel: ip_conntrack version 2.4 (8192 buckets, 65536 max ) - 228 bytes per conntrack
Feb 1 21:02:00 testsrv kernel: ide-cd: cmd 0x3 timed out
Feb 1 21:02:00 testsrv kernel: hda: irq timeout: status=0xd0 { Busy }
Feb 1 21:02:00 testsrv kernel: ide: failed opcode was: unknown
Feb 1 21:02:00 testsrv kernel: hda: ATAPI reset complete
Feb 2 01:04:32 testsrv kernel: Removing netfilter NETLINK layer.
Feb 2 01:06:52 testsrv kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Feb 2 01:06:52 testsrv kernel: Netfilter messages via NETLINK v0.30.
Feb 2 01:06:52 testsrv kernel: ip_conntrack version 2.4 (8192 buckets, 65536 max ) - 228 bytes per conntrack
Feb 2 01:11:23 testsrv kernel: Removing netfilter NETLINK layer.
Feb 2 01:11:35 testsrv kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Feb 2 01:11:35 testsrv kernel: Netfilter messages via NETLINK v0.30.
Feb 2 01:11:35 testsrv kernel: ip_conntrack version 2.4 (8192 buckets, 65536 max ) - 228 bytes per conntrack
Feb 2 04:03:58 testsrv kernel: CIFS VFS: server not responding
Feb 2 04:03:58 testsrv kernel: CIFS VFS: No response for cmd 50 mid 750
Feb 2 11:03:02 testsrv kernel: ide-cd: cmd 0x3 timed out
Feb 2 11:03:02 testsrv kernel: hda: irq timeout: status=0xd0 { Busy }
Feb 2 11:03:02 testsrv kernel: ide: failed opcode was: unknown
Feb 2 11:03:02 testsrv kernel: hda: ATAPI reset complete
[root@testsrv ~]#
I don't see anything there that looks troublesome. What happens if you run "/usr/local/jboss/bin/run.sh -b 0.0.0.0" manually? Recommend you trying executing that command while tailing /var/log/messeges.
Post relevant information and hopefully someone can assist better.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.