LinuxQuestions.org
Help answer threads with 0 replies.
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 04-22-2008, 02:06 AM   #1
Atif Khan
LQ Newbie
 
Registered: Apr 2008
Posts: 7

Rep: Reputation: 0
Question Your session only lasted less than 10 seconds.


hi,

this problem is occurring at times when i try to login to server
with root user or another user its giving me the message

"Your session only lasted less than 10 seconds. If you have not logged out yourself, this could mean there is some installation problem or that you may be out of diskspace. Try logging in with one of the failsafe sessions to see if you can fix this problem."

i connected through SSH to the server and checked the space in /tmp its 876m free.

Filesystem Size Used Avail Use% Mounted on
/dev/sda7 2.9G 499M 2.3G 18% /
/dev/sda1 494M 34M 435M 8% /boot
none 2.0G 0 2.0G 0% /dev/shm
/dev/sda3 94G 29G 61G 32% /home
/dev/sda9 981M 18M 914M 2% /opt
/dev/sda10 258G 132G 114G 54% /oraapps
/dev/sda8 2.0G 993M 876M 54% /tmp
/dev/sda2 185G 78G 98G 45% /usr
/dev/sda6 2.9G 300M 2.5G 11% /var

i cant figure out whats the reason for this...!!
will be thankful if any1 can give solution for this.
 
Old 04-22-2008, 07:42 AM   #2
lomix
LQ Newbie
 
Registered: Apr 2008
Distribution: debian
Posts: 19

Rep: Reputation: 0
try failsafe login

hello,

"Try logging in with one of the failsafe sessions to see if you can fix this problem." --> did you already tried that?
(if youre using a graphical login manager there should be an option "failsafe")
if yes, what happened then?

there could be a mistake in the configuration, i had this problem when i tried to login without having any home directory.
check your home direcory on the server ( echo ~ or something like that when being logged in trough ssh)

maybe it could be useful to know what software you're using.
HOW exactly you tried to login on that server?
it's gdm that's printing that message, right?
did you used something like gnome?
 
Old 04-22-2008, 10:33 AM   #3
Atif Khan
LQ Newbie
 
Registered: Apr 2008
Posts: 7

Original Poster
Rep: Reputation: 0
hi,

yes there is a failsafe option.....how can i fix it after logging
into the failsafe session.??

I did
[root@ebs ~]# echo ~
/root -------> the home directory is correct.

Its not the gdm thats printing the error.the only error is

"Your session only lasted less than 10 seconds. If you have not logged out yourself, this could mean there is some installation problem or that you may be out of diskspace. Try logging in with one of the failsafe sessions to see if you can fix this problem."

gnome,kde,system default, every session is giving the same error..!!

plz let me know how can it be fixed by logging in the failsafe session.

thanks.
 
Old 04-22-2008, 11:42 PM   #4
Atif Khan
LQ Newbie
 
Registered: Apr 2008
Posts: 7

Original Poster
Rep: Reputation: 0
i did df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda7 384000 16060 367940 5% /
/dev/sda1 130560 72 130488 1% /boot
none 218164 1 218163 1% /dev/shm
/dev/sda3 12451840 7163 12444677 1% /home
/dev/sda9 127744 11 127733 1% /opt
/dev/sda10 34291712 853649 33438063 3% /oraapps
/dev/sda8 256512 256512 0 100% /tmp
/dev/sda2 24526848 305471 24221377 2% /usr
/dev/sda6 384000 7361 376639 2% /var

the culprit is /tmp partition.
what are the files i can remove from the /tmp partiotn..??
Any thoughts.
 
Old 04-23-2008, 03:35 AM   #5
Atif Khan
LQ Newbie
 
Registered: Apr 2008
Posts: 7

Original Poster
Rep: Reputation: 0
i ran out of inodes even there is plenty of disk space in /tmp.

df -i shows /tmp 100% used
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda7 384000 16060 367940 5% /
/dev/sda1 130560 72 130488 1% /boot
none 218164 1 218163 1% /dev/shm
/dev/sda3 12451840 7163 12444677 1% /home
/dev/sda9 127744 11 127733 1% /opt
/dev/sda10 34291712 853649 33438063 3% /oraapps
/dev/sda8 256512 256512 0 100% /tmp
/dev/sda2 24526848 305471 24221377 2% /usr
/dev/sda6 384000 7361 376639 2% /var

df -h shows /tmp 54% used
[root@ebs ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 2.9G 499M 2.3G 18% /
/dev/sda1 494M 34M 435M 8% /boot
none 2.0G 0 2.0G 0% /dev/shm
/dev/sda3 94G 29G 61G 32% /home
/dev/sda9 981M 18M 914M 2% /opt
/dev/sda10 258G 132G 114G 54% /oraapps
/dev/sda8 2.0G 993M 876M 54% /tmp
/dev/sda2 185G 78G 98G 45% /usr
/dev/sda6 2.9G 302M 2.5G 11% /var

If all these inodes become used, a file system cannot store any more files even though there may be free disk space.
whats the fix..
 
Old 04-23-2008, 06:53 AM   #6
lomix
LQ Newbie
 
Registered: Apr 2008
Distribution: debian
Posts: 19

Rep: Reputation: 0
clean tmp

how a 2GB partition can run out of inodes?
never heard of that. must have done somthing unusual...

watched BIG zips on th fly (extract to /tmp) or something like tat

This could help you:
--> see http://www.linuxquestions.org/questi...003#post459003

delete?
if your have permissions to, delete everything while not running any bif application. I do this every time i log out, that won't hurt your system normally.
 
Old 04-23-2008, 07:20 AM   #7
Atif Khan
LQ Newbie
 
Registered: Apr 2008
Posts: 7

Original Poster
Rep: Reputation: 0
thanks lonix for ur suggetions

i found the /tmp dir is full with files having format list_wxyz.(wxyz is no.)

[oracle@ebs tmp]$ls -al
-rw-rw-rw- 1 root root 83 Apr 21 13:05 list_347331
-rw-rw-rw- 1 root root 233 Apr 21 13:05 list_347332
-rw-rw-rw- 1 root root 4567 Apr 21 13:05 list_347333 so on...

i checked all these files are having paths of Oracle files which it is acessing.
[oracle@ebs tmp]$ cat /tmp/list_347333
/oraapps/proddb/9.2.0/......
/oraapps/prodappl/eam/11.5.0/...

I am having Oracle EBS 11i.
can i proceed with the deletion.!!
 
Old 04-25-2008, 12:46 AM   #8
lomix
LQ Newbie
 
Registered: Apr 2008
Distribution: debian
Posts: 19

Rep: Reputation: 0
hmmm...

hmm...
i dont know oracle.
but a program wouldnt be a good program if it needs files in /tmp more than 1 session. Maybe it expects old files to be deleted. but i dont know.

this coputer is shutting down sometimes? if not, /tmp-clean scripts wont run.... could be the reason.
 
  


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
Your session only lasted less than 10 seconds... rsamurti Slackware - Installation 13 10-13-2011 02:24 AM
Can't log in - "your session only lasted less than 10 seconds Dr. Doerke SUSE / openSUSE 1 03-16-2006 10:26 AM
Your session only lasted for less than 10 seconds Raafi Linux - Newbie 5 04-17-2005 04:56 PM
Your session lasted for < 10 seconds ... rsamurti Slackware 4 06-27-2004 08:24 AM
Session lasted less than 10 seconds. Your HDD maybe full pnh73 Red Hat 6 09-02-2003 07:48 PM

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

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