LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   inittab entries not Run on Redhat Enterprise 6 but Work on REH 5.5 (https://www.linuxquestions.org/questions/linux-newbie-8/inittab-entries-not-run-on-redhat-enterprise-6-but-work-on-reh-5-5-a-859968/)

smc2 02-01-2011 06:20 AM

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

Please guide me.
Thanks

AlucardZero 02-01-2011 06:38 AM

ALL inittab entries or just one?

What runlevel are you booting into?

jwl17330536 02-01-2011 08:43 AM

Assuming you are speaking about...?
Quote:

jb:345:respawn:/usr/local/jboss/bin/run.sh -b 0.0.0.0
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...

smc2 02-02-2011 02:56 AM

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 ~]#

Thanks for your attention

jwl17330536 02-02-2011 09:19 AM

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.

smc2 02-06-2011 08:49 AM

it runs normally if if run jboss on terminal
I see nothing new when on /var/log/messages

:(


All times are GMT -5. The time now is 02:49 PM.