problem with not login in text mode but login in text mode

Taking care of your Linux box.
Post Reply
zeeshan1979
Naik
Posts: 66
Joined: Fri Jun 30, 2006 1:47 pm
Location: karachi
Contact:

problem with not login in text mode but login in text mode

Post by zeeshan1979 »

i check the /var/log/messages and this error show
plz help me....


May 24 13:30:05 prodb-live gpm[2829]: *** info [mice.c(1766)]:
May 24 13:30:05 prodb-live gpm[2829]: imps2: Auto-detected intellimouse PS/2
May 24 13:30:10 prodb-live login(pam_unix)[3271]: session opened for user root by LOGIN(uid=0)
May 24 13:30:10 prodb-live login[3271]: Module is unknown
May 24 13:30:10 prodb-live init: open(/dev/pts/0): No such file or directory
May 24 13:30:18 prodb-live login(pam_unix)[3272]: session opened for user oracle by LOGIN(uid=0)
May 24 13:30:19 prodb-live login[3272]: Module is unknown
May 24 13:30:19 prodb-live init: open(/dev/pts/0): No such file or directory


waiting ur replies.
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear zeeshan1979,
Salam,

Try below command it will fix your problem.

# change_console -r

Best Regards.
Farrukh Ahmed
zeeshan1979
Naik
Posts: 66
Joined: Fri Jun 30, 2006 1:47 pm
Location: karachi
Contact:

Re:

Post by zeeshan1979 »

LinuxFreaK wrote:Dear zeeshan1979,
Salam,

Try below command it will fix your problem.

# change_console -r

Best Regards.
Dear salam

i try this command but not login on text mode and then i check the log of this file cat/var/spool/mail/root. this is the result below.


--------------------- Init Begin ------------------------


**Unmatched Entries**
open(/dev/pts/0): No such file or directory
open(/dev/pts/0): No such file or directory

---------------------- Init End -------------------------


--------------------- Kernel Begin ------------------------


WARNING: Kernel Errors Present
vesafb: probe of vesafb0 failed with error -6...: 1 Time(s)

---------------------- Kernel End -------------------------
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear zeeshan1979,
Salam,

Which OS you are using ?

Best Regards.
Farrukh Ahmed
zeeshan1979
Naik
Posts: 66
Joined: Fri Jun 30, 2006 1:47 pm
Location: karachi
Contact:

Re:

Post by zeeshan1979 »

LinuxFreaK wrote:Dear zeeshan1979,
Salam,

Which OS you are using ?

Best Regards.
REDHAT AS SERVER 4.0 version
zeeshan1979
Naik
Posts: 66
Joined: Fri Jun 30, 2006 1:47 pm
Location: karachi
Contact:

Re:

Post by zeeshan1979 »

zeeshan1979 wrote:
LinuxFreaK wrote:Dear zeeshan1979,
Salam,

Which OS you are using ?

Best Regards.
REDHAT AS SERVER 4.0 version

dear waiting ur reply plz solved this issue.
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

if you're running a legal copy of redhat server, simply ask redhat for help. since you're paying for support, you might as well get what you're paying for.
zeeshan1979
Naik
Posts: 66
Joined: Fri Jun 30, 2006 1:47 pm
Location: karachi
Contact:

Post by zeeshan1979 »

lambda wrote:if you're running a legal copy of redhat server, simply ask redhat for help. since you're paying for support, you might as well get what you're paying for.
dear
my licience are expired last month this is the cause.
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

well, why didn't you call up redhat earlier? you posted about this problem about six months ago.
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear zeeshan1979,
Salam,

Same solution which i have told you already.

FYI, http://linux.derkeiler.com/Mailing-List ... /2451.html

Best Regards.
Farrukh Ahmed
zeeshan1979
Naik
Posts: 66
Joined: Fri Jun 30, 2006 1:47 pm
Location: karachi
Contact:

Re:

Post by zeeshan1979 »

LinuxFreaK wrote:Dear zeeshan1979,
Salam,

Same solution which i have told you already.

FYI, http://linux.derkeiler.com/Mailing-List ... /2451.html

Best Regards.
dear All

I find this message in the log:
init: open(/dev/pts/0): No such file or directory
What does it mean and how to correct this?
There is a line:
none /dev/pts devpts gid=5,mode=620 0 0
in /etc/fstab
"cat /proc/mounts" gives:
<snip>
none /dev/pts devpts rw 0 0
</snip>
"cat /etc/mtab" gives:
<snip>
none /dev/pts devpts rw,gid=5,mode=620 0 0
</snip>
"ll /dev/ptmx"
crw-rw-rw- 1 root root 5, 2 Sep 14 12:12 /dev/ptmx



i find my problem was in last line
"ll /dev/ptmx"
crw-rw-rw- 1 root tty 5, 2 Sep 14 12:12 /dev/ptmx

i change it
"ll /dev/ptmx"
crw-rw-rw- 1 root root 5, 2 Sep 14 12:12 /dev/ptmx

but after reboot file auto change
"ll /dev/ptmx"
crw-rw-rw- 1 root tty 5, 2 Sep 14 12:12 /dev/ptmx

plz give me the solution how i change it permently.


Syed.Zeeshan
zeeshan1979
Naik
Posts: 66
Joined: Fri Jun 30, 2006 1:47 pm
Location: karachi
Contact:

Re:

Post by zeeshan1979 »

i which path i run this command and which user

change_console -r

syed.zeeshan
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear zeeshan1979,
Salam,

So it means that given link helped you.

Best Regards.
Farrukh Ahmed
zeeshan1979
Naik
Posts: 66
Joined: Fri Jun 30, 2006 1:47 pm
Location: karachi
Contact:

Re:

Post by zeeshan1979 »

LinuxFreaK wrote:Dear zeeshan1979,
Salam,

So it means that given link helped you.

Best Regards.
ya sure but this is not save it change auto on restart.
dear plz help me for this issue.
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

place the command in a file that's run on boot, like /etc/rc.local.
Post Reply