LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 06: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 06:22 AM.
 
Old 02-01-2011, 06:38 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

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

What runlevel are you booting into?
 
Old 02-01-2011, 08: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, 02: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 03:00 AM.
 
Old 02-02-2011, 09: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, 08: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



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 09:36 AM
how to run c++ program under Redhat enterprise linux 4 harwansh Programming 2 01-29-2007 09:38 AM
Keyboard doesn't work in RedHat Enterprise AS V4 uther@lit.net Red Hat 3 07-17-2005 07:41 PM
Got wpc54g (no version) with redhat enterprise 3 kernel 2.4.21 to work... sien Linux - Wireless Networking 2 06-30-2005 04:27 PM
need help booting the system - duplicate /etc/inittab entries? ksgill Linux - Newbie 1 05-10-2004 07:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:28 AM.

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
Open Source Consulting | Domain Registration