LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 08-30-2007, 03:44 PM   #1
Raidmax
Member
 
Registered: Nov 2005
Distribution: Mandrake 10.0
Posts: 53

Rep: Reputation: 15
Solaris 10 power outage system shutdown incorrectly


Hello, apparently my solaris 10 server had a abnormal shutdown last night. I cannot login as a normal user usernameassword or as rootassword. I can login as root but i do not get prompted for my password. When logged in as root this is not the configuration I had before the power failure. Please I'm a solaris newbie can someone please direct me on how to recover my original configuration?


Thank You,

Raidmax
 
Old 08-30-2007, 04:45 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

You are probably at a maintenance/fsck login after the FSes were found to need some attention during boot.

Reboot the box.

Dave
 
Old 08-30-2007, 05:04 PM   #3
Raidmax
Member
 
Registered: Nov 2005
Distribution: Mandrake 10.0
Posts: 53

Original Poster
Rep: Reputation: 15
thanks for the reply dave, dave that is the first thing i did...still having same issue. Login hangs then goes to Action Required DT message box "The DT messaging system could not be started. To correct the problem, select the Failsafe session and log in. Check that the hostname is correct in these locations:
/etc/src.sh
/etc/hosts
/usr/adm/inetd.sec"
Question, on the solaris 'select a server to log into:
Server Name
sun01 1 user, load: 0.1,0.1,0.1
unknown 0 user, load: 0.1,0.1,0.1

sun01 is what I need to log into but cannot only unknown at the moment. I'm a confused newbie. Suggestions?
 
Old 08-30-2007, 06:34 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Doesn't sound too healthy. I'm not much of an expert with Solaris graphical systems, though.

Is the /etc/hosts file OK? Does it look sane?

Dave
 
Old 08-31-2007, 01:23 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,502

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Quote:
Originally Posted by Raidmax View Post
thanks for the reply dave, dave that is the first thing i did...still having same issue. Login hangs then goes to Action Required DT message box "The DT messaging system could not be started. To correct the problem, select the Failsafe session and log in. Check that the hostname is correct in these locations:
/etc/src.sh
/etc/hosts
/usr/adm/inetd.sec"
??
/etc/src.sh and /usr/adm/inetd.sec are not part of Solaris.

Can you log in failsafe session mode ?
 
Old 08-31-2007, 12:57 PM   #6
Raidmax
Member
 
Registered: Nov 2005
Distribution: Mandrake 10.0
Posts: 53

Original Poster
Rep: Reputation: 15
jilliagre I've tried logging in without success in failsafe mode?
terminal window just locksup black prompt box does not blink
Cannot enter commands. What should I do next?

Thanks for the responses everyone


Raidmax
 
Old 08-31-2007, 01:02 PM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,502

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
It may be a hardware problem.

Try to reinstalling on another hard disk.
 
Old 08-31-2007, 01:05 PM   #8
Raidmax
Member
 
Registered: Nov 2005
Distribution: Mandrake 10.0
Posts: 53

Original Poster
Rep: Reputation: 15
dave checked /etc/hosts its wrong I can change it easly. But here is my confusion as a solaris newbie. Every file I access now is read-only. These files were fine be for the abend two day ago. Can you please explain to me why I cannot login as before? usernameassword and root:root? Only login is root no prompt for password

Raidmax
 
Old 08-31-2007, 01:06 PM   #9
Raidmax
Member
 
Registered: Nov 2005
Distribution: Mandrake 10.0
Posts: 53

Original Poster
Rep: Reputation: 15
ok heres the kicker my customer got this box off of ebay. There is absolutely no support from sun AND there are no media disks. Am i hosed or what? Can I find an iso maybe?
 
Old 08-31-2007, 01:47 PM   #10
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,502

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Quote:
Originally Posted by Raidmax View Post
dave checked /etc/hosts its wrong I can change it easly. But here is my confusion as a solaris newbie. Every file I access now is read-only.
Remount the file-system read write and fix the /etc/hosts file:

Code:
# mount -o remount,rw /
# vi /etc/hosts
 
Old 08-31-2007, 01:48 PM   #11
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,502

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Quote:
Originally Posted by Raidmax View Post
ok heres the kicker my customer got this box off of ebay. There is absolutely no support from sun AND there are no media disks. Am i hosed or what? Can I find an iso maybe?
Sorry, I've no idea about what you are looking for. Can you elaborate ?
 
Old 09-01-2007, 05:51 PM   #12
Raidmax
Member
 
Registered: Nov 2005
Distribution: Mandrake 10.0
Posts: 53

Original Poster
Rep: Reputation: 15
thank you jilliagre i will run those commands tues morning hopefully with success. please discard my post # 9
 
Old 09-04-2007, 11:59 AM   #13
Raidmax
Member
 
Registered: Nov 2005
Distribution: Mandrake 10.0
Posts: 53

Original Poster
Rep: Reputation: 15
jilliagre when i run # mount -o remount,rw / nothing happens
 
Old 09-04-2007, 12:36 PM   #14
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,502

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
You mean / is still read-only after the command ?
 
Old 09-04-2007, 12:51 PM   #15
Raidmax
Member
 
Registered: Nov 2005
Distribution: Mandrake 10.0
Posts: 53

Original Poster
Rep: Reputation: 15
# cd /
# ls -l


drwxr-xr-x 3 root nobody 512 Aug 16 18:30 cdrom
-rw------- 1 root root 4155359 Aug 28 15:01 core
drwxr-xr-x 18 root sys 4096 Sep 4 10:36 dev
drwxr-xr-x 2 root sys 512 Sep 4 10:35 devices
drwxr-xr-x 79 root sys 4096 Sep 4 10:36 etc
drwxr-xr-x 3 root sys 512 Jun 4 17:11 export
drwxr-xr-x 10 root root 512 Aug 11 15:55 genesis
dr-xr-xr-x 1 root root 1 Sep 4 10:36 home
drwxr-xr-x 14 root sys 512 Jun 4 18:40 kernel
drwxr-xr-x 7 root bin 5120 Jun 4 18:31 lib
drwx------ 2 root root 8192 Jun 4 17:10 lost+found
drwxr-xr-x 2 root sys 512 Jun 4 17:11 mnt
dr-xr-xr-x 1 root root 1 Sep 4 10:36 net
drwxr-xr-x 7 root sys 512 Aug 29 11:43 opt
drwxr-xr-x 38 root sys 1536 Jun 4 17:54 platform
dr-xr-xr-x 69 root root 128448 Sep 4 10:39 proc
drwx------ 2 root root 512 Aug 29 13:37 root
drwxr-xr-x 2 root sys 1024 Jun 4 17:55 sbin
drwxr-xr-x 4 root root 512 Jun 4 17:11 system
drwxrwxrwt 6 root sys 864 Sep 4 10:37 tmp
drwxr-xr-x 39 root sys 1024 Jun 4 19:26 usr
drwxr-xr-x 45 root sys 1024 Aug 29 11:44 var
dr-xr-xr-x 6 root root 512 Sep 4 10:36 vol
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Shutdown system during power outage? General Linux - Hardware 1 05-28-2006 11:58 AM
How to setup power outage system shutdown? jimsvoboda Suse/Novell 2 04-27-2006 05:01 PM
system shutdown power outage rhandwor Fedora 3 10-10-2005 02:02 AM
power outage jbzy3000 Linux - General 2 02-24-2005 09:11 PM
Batch Script to shutdown the system in the event of power loss scottpioso Linux - Hardware 5 03-12-2003 03:40 PM


All times are GMT -5. The time now is 10:04 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration