LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-28-2004, 07:46 AM   #1
ushradha
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Rep: Reputation: 0
Oracle 10g and Fedora 2.0 "Session lasted lesst than 10 seconds"


Hello,
I was installing Oracle 10g on Fedora 2.0
and was at this point
chown -R oracle.oinstall /home
and then the user account disapppeared and root screen
appeared.when i llogged out and tried login as normal
user
it displays this 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"

View details gives this
/etc/X11/gdm/Pression/Default :Resgistering your
session with wtmp and utmp
/etc/x11/gdm/Presession/Default:running :
/usr/bin/X11/Sessreg -a -w
/var/log/Wtmp/-U/var/run/vtmp -n "/var/gdm/:Cserver"
-h "" -1 ":" "ushradha"
-/bin/bash: home/ushradha/.bash_profile:Permission
denied
(gnome-session:4526) :lilignome vfs-WARNING unable
~/.gnomr directory:Permission denied
could not create Per-User gnome configuration
directory
/home/ushradha/.gnome2':Permission denied


Please advice on this
Thanks
Shradha
 
Old 10-28-2004, 08:22 AM   #2
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
a failure to initialize you xsession. the (user oracle) permissions you set on your complete home-dir won't allow your normal users access there.

sl mritch.
 
Old 10-28-2004, 09:13 AM   #3
ushradha
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks .Please also let me know how to resolve it I am new to linux.
Regards
 
Old 10-28-2004, 11:35 AM   #4
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
depends. why have you set permissions to oracle?

recursively chmod the user-directories in your /home to the user the directory belongs to:
#chown -R username:usergroup /home/username
then also set permissions to allow read/write there:
#chmod -R ug+rw /home/username
if there are scripts the user has to run in his/her homedir use something like "#chmod a+x filename" there.

now if you need something oracled i suggest to use groups to allow and disallow specific features. read the manpages on your sys (man chmod,...) and/or howtos at www.tldp.org

sl mritch.
 
Old 10-28-2004, 12:51 PM   #5
ushradha
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks again.I did as you suggested and I am now able to login as normal user.
But the problem is I dont have write permission on any directory with in the user(i loogeg in) .
How to restore write permission of user.
Please advice
Thanks and Regards
 
Old 10-28-2004, 04:56 PM   #6
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
read the admin/linux guides at the above mentioned link about groups, users and permissions. this is quite a complex issue so i can't give you a quick advise on that.
read the manpages of chmod to get a hint of restoring file and directory permissions so your user will be able to write files (chmod u+w).

sl mritch.
 
Old 11-19-2004, 10:04 PM   #7
fritzonline
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
I'm having this same problem with Fedora Core 3. I've already modified the ownership and permission of the home directories, but still get the permission denied error with any login except root. I've done an ls -la of all home directories, and the permissions all look to be fine, but t still won't let me write to the directories.

Any suggestions?
 
  


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 last session only lasted less than 10 seconds" supwiddiss SUSE / openSUSE 6 08-10-2007 06:19 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
Oracle 10g says "end of file" cyclic redundancy error mmjulian Linux - Software 2 05-22-2004 02:57 AM
"Your session only lasted 10 seconds...." underling Linux - Software 9 09-18-2003 11:58 AM

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

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