LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-01-2011, 07:20 AM   #1
smc2
LQ Newbie
 
Registered: Apr 2010
Posts: 29

Rep: Reputation: 0
Question 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

Last edited by smc2; 02-01-2011 at 07:22 AM.
 
Old 02-01-2011, 07:38 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,817

Rep: Reputation: 609Reputation: 609Reputation: 609Reputation: 609Reputation: 609Reputation: 609
ALL inittab entries or just one?

What runlevel are you booting into?
 
Old 02-01-2011, 09:43 AM   #3
jwl17330536
Member
 
Registered: Feb 2010
Location: Raleigh, NC
Posts: 83

Rep: Reputation: 22
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...
 
Old 02-02-2011, 03:56 AM   #4
smc2
LQ Newbie
 
Registered: Apr 2010
Posts: 29

Original Poster
Rep: Reputation: 0
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

Last edited by smc2; 02-02-2011 at 04:00 AM.
 
Old 02-02-2011, 10:19 AM   #5
jwl17330536
Member
 
Registered: Feb 2010
Location: Raleigh, NC
Posts: 83

Rep: Reputation: 22
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.
 
Old 02-06-2011, 09:49 AM   #6
smc2
LQ Newbie
 
Registered: Apr 2010
Posts: 29

Original Poster
Rep: Reputation: 0
it runs normally if if run jboss on terminal
I see nothing new when on /var/log/messages

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
To run Redhat Enterprise 5 in Redhat 4 Enterprise compatibility mode. pvpnguyen Red Hat 4 05-01-2010 10:36 AM
how to run c++ program under Redhat enterprise linux 4 harwansh Programming 2 01-29-2007 10:38 AM
Keyboard doesn't work in RedHat Enterprise AS V4 uther@lit.net Red Hat 3 07-17-2005 08:41 PM
Got wpc54g (no version) with redhat enterprise 3 kernel 2.4.21 to work... sien Linux - Wireless Networking 2 06-30-2005 05:27 PM
need help booting the system - duplicate /etc/inittab entries? ksgill Linux - Newbie 1 05-10-2004 08:47 AM


All times are GMT -5. The time now is 08:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration