Re: Centos 5.5 Throws Out Immediately After Login
Posted by pschaff on 2012/3/1 0:06:23
Re: Centos 5.5 Throws Out Immediately After Login
Posted by r_hartman on 2012/2/28 12:53:40
Chances are that your system is no longer true CentOS. The elastix pages have a section about 'Converting from a CentOS system' (in Downloads/Extra), even though it claims to be CentOS-based itself.
So any advice you are given here may not be applicable.
Re: Centos 5.5 Throws Out Immediately After Login
Posted by TrevorH on 2012/2/28 10:07:18
Well that's either indicative of the problem or, you have /var as a separate filesystem and it isn't mounted. Check /etc/fstab for a line that would mount /var and if it exists, mount that on /mnt/sysimage/var (or where ever the correct location is).
Re: Centos 5.5 Throws Out Immediately After Login
Posted by mustafa on 2012/2/28 6:23:44
Quote:
TrevorH wrote:
Look in the log files in /var/log to see if any of them give a clue about what the real cause of the problem is.
i tried the same already but i couldnot find any 'log' file/directory in /var directory!!!
Re: Centos 5.5 Throws Out Immediately After Login
Posted by TrevorH on 2012/2/27 12:16:56
Look in the log files in /var/log to see if any of them give a clue about what the real cause of the problem is.
Re: Centos 5.5 Throws Out Immediately After Login
Posted by mustafa on 2012/2/27 8:58:18
Quote:
TrevorH wrote:
It has to do with getting to single user mode not about resetting the password.
and what am i suppposed to do after i log in to single-user mode?
Re: Centos 5.5 Throws Out Immediately After Login
Posted by pschaff on 2012/2/25 21:30:18
Precisely.
Re: Centos 5.5 Throws Out Immediately After Login
Posted by TrevorH on 2012/2/25 17:28:28
It has to do with getting to single user mode not about resetting the password.
Re: Centos 5.5 Throws Out Immediately After Login
Posted by mustafa on 2012/2/25 16:18:22
Quote:
LOL! what has it got to do with password recovery.... ? as i said earlier, centos accepts login credentials, logs in, then immediately logs out .. no matter whichsoever user you use you get the same result!!! :(
Re: Centos 5.5 Throws Out Immediately After Login
Posted by pschaff on 2012/2/25 11:11:34
Re: Centos 5.5 Throws Out Immediately After Login
Posted by mustafa on 2012/2/25 7:24:51
Quote:
jnojr wrote:
Is this via SSH? Can you log on at the console? As root if not your user?
If nobody has a better idea, I think you'll have to drop to init 1 to get a look at the logs.
Well.. this is for both ssh and local root login on the server as well.. and it happens for all the users :(
How would i be able to drop to init 1????? m a newbie :(
Re: Centos 5.5 Throws Out Immediately After Login
Posted by jnojr on 2012/2/24 18:58:18
Is this via SSH? Can you log on at the console? As root if not your user?
If nobody has a better idea, I think you'll have to drop to init 1 to get a look at the logs.
Centos 5.5 Throws Out Immediately After Login
Posted by mustafa on 2012/2/24 18:23:17
Hi geeks,
i am stuck in a situation and cant login. I am using elastix for my office and i have installed it only a few days back... i updated yum but now when i try to login (on command/shell prompt), it throws me out immediately to login prompt again.
any help please?

This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=37&topic_id=35986