LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-06-2006, 11:15 PM   #1
The00Dustin
Member
 
Registered: Jan 2006
Posts: 70

Rep: Reputation: 15
ttyS0 not working in upper runlevels


I have a CentOS 4.2 i386 server that I built using a keyboard and monitor (in text mode). I configured the server to be accessible via S0 using the following grub.conf:
Code:
default=0
timeout=5
serial --unit=0 --speed=9600
terminal --timeout=10 serial console
title CentOS (2.6.9-22.0.2.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-22.0.2.ELsmp ro root=/dev/md0
I can see and control the boot menu via S0, and I can even boot in to runlevel 1 and use S0, but when I try to boot to runlevel 3, I don't get a login prompt after the final service (mysqld) starts. I copied the grub.conf data directly from the server, so if there is a typo that could cause it, tell me, because I'm obviously not catching it. I know I'm obviously missing something simple, but I don't know what (I have 24 other servers working fine through S0). Any help appreciated.
 
Old 03-10-2006, 01:25 PM   #2
The00Dustin
Member
 
Registered: Jan 2006
Posts: 70

Original Poster
Rep: Reputation: 15
This still isn't working. However, I just noticed that I didn't even give you the full kernel line (end got cut off somehow). It is as follows:
Code:
default=0
timeout=5
serial --unit=0 --speed=9600
terminal --timeout=10 serial console
title CentOS (2.6.9-22.0.2.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-22.0.2.ELsmp ro root=/dev/md0 console=tty0 console=ttyS0,9600n8
        initrd /initrd-2.6.9-22.0.2.ELsmp.img
I really need ttyS0 access to this device... Anyone?
 
Old 03-10-2006, 01:38 PM   #3
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Are gettys listening on serial lines at run level 3? Check /etc/inittab.
 
Old 03-13-2006, 11:31 AM   #4
The00Dustin
Member
 
Registered: Jan 2006
Posts: 70

Original Poster
Rep: Reputation: 15
Added
# Serial console
co:2345:respawn:/sbin/mingetty ttyS0 CON9600 vt102
to /etc/inittab.
Can't reboot right now, but hopefully that solves the problem. Thanks!
 
Old 03-13-2006, 11:51 AM   #5
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
You can also run 'telinit q' without rebooting.
 
Old 03-13-2006, 12:37 PM   #6
The00Dustin
Member
 
Registered: Jan 2006
Posts: 70

Original Poster
Rep: Reputation: 15
I almost looked at the man page to see if I could do that. Thanks again.
 
  


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
FTP account upper directory nobu Red Hat 1 11-10-2005 03:59 PM
Trying to get COM (ttyS0) working!! mattp Linux - Hardware 6 10-25-2005 03:54 PM
upper case letter moonz Linux - General 3 09-18-2005 07:58 AM
winbind and Upper/lowecase issues taggedd Linux - Networking 0 12-16-2003 05:05 PM
Apache and upper or lower case. dsiguy Linux - General 3 02-04-2003 12:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:29 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