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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
11-07-2004, 01:32 PM
|
#1
|
Member
Registered: Feb 2004
Posts: 37
Rep:
|
commands are not working in kernel 2.6.9
hi all
i hav just upgraded my kernel 2.4.26 to 2.6.9
after it ... i start getting these errors .....
Code:
bash-2.05b# rxvt
rxvt: could not obtain control of tty
bash-2.05b# xterm
xterm: Error 14, errno 21: Is a directory
Reason: spawn: open() failed on /dev/tty
bash-2.05b# man ls
Error executing formatting or display command.
System command /bin/bzip2 -c -d /usr/man/cat1/ls.1.bz2 | /usr/bin/less -is exited with status 256.
bash-2.05b# uname -a
Linux www 2.6.9 #1 SMP Sat Nov 6 14:21:03 UTC 2004 i686 unknown unknown GNU/Linux
bash-2.05b# id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy)
bash-2.05b#
these commands r working fine in my old kernel ....
plz help me ....
|
|
|
11-07-2004, 03:39 PM
|
#2
|
LQ Newbie
Registered: Oct 2003
Distribution: Gentoo
Posts: 13
Rep:
|
In your kernel config, look for these, and if they're different, try setting yours this way:
Code:
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
You could also try recreating /dev/tty:
Code:
mknod -m 666 /dev/tty c 5 0
|
|
|
11-07-2004, 04:46 PM
|
#3
|
Member
Registered: Feb 2004
Posts: 37
Original Poster
Rep:
|
thankx faralen
mknod -m 666 /dev/tty c 5 0
worked .....
|
|
|
11-08-2004, 07:27 AM
|
#4
|
Member
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393
Rep:
|
faralen, it works for me....... temporarily that is
however same problem once i reboot..
also, i have to do a rm -rf /dev/tty before i can execute the mknod command..
any suggestions?
thanx!
|
|
|
11-11-2004, 07:12 PM
|
#5
|
LQ Newbie
Registered: Nov 2004
Distribution: slackware 10.0
Posts: 1
Rep:
|
what I did to fix it was add the following to the end of my /etc/rc.d/rc.local file:
Code:
rm -rf /dev/tty
mknod -m 666 /dev/tty c 5 0
that way it fixes it at the very end of the bootup process each time you reboot.
|
|
|
11-11-2004, 09:01 PM
|
#6
|
Member
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393
Rep:
|
yeah i had done the same...just wanted to know if there was some alternate way of doing it cause that method seemed kinda 'crude'
|
|
|
11-12-2004, 01:12 AM
|
#7
|
Member
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393
Rep:
|
|
|
|
11-21-2004, 10:19 PM
|
#8
|
Member
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393
Rep:
|
I found the answer. I had the exact same problem. You can fix it in the kernel. In Device Drivers / Character Devices / BSD unix PTY (not exact name, like third one down). Make sure this is disabled. Once i disabled it I could run aterm in peace and harmony.
|
|
|
11-27-2004, 01:04 PM
|
#9
|
LQ Newbie
Registered: Nov 2004
Posts: 1
Rep:
|
CONFIG_LEGACY_PTYS
|
|
|
All times are GMT -5. The time now is 03:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|