Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

cobraIIsgi (MIS) (OP)
11 May 04 8:41
I rebooted my machine after putting a new sun keyboard on. Now it will only do a console log in. I get the following at startup:

Hostname: unknown
metainit: unknown: there are no existing databases

/sbin/rc2: test: unknown operator S
/sbin/rc3: test: argument expected

unknown console login:

(I know, the name of the system is unknown, I didnt set that up)
daFranze (TechnicalUser)
11 May 04 9:27
look at 'man sys-unconfig', the manpage tells you all the Files you have to check; or run sys-unconfig and reboot for a quick fix...
There might be a problem with your SVM/SDS installation, but fix the "unknown" problem first...

Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest"
Solaris System Manager; I used to work for Sun Microsystems Support (EMEA) for 5 years

KenCunningham (TechnicalUser)
11 May 04 9:51
Looks to me like a couple of possibles:

1. You can ignore the metainit if you're not using Solaris Disksuite. If you are, you have problems.

2. Have you been playing with /sbin/rc2 and /sbin/rc3? If so, undo your changes and try again. If necessary, post your changes here so that they can be examined and perhaps corrected.
cobraIIsgi (MIS) (OP)
11 May 04 10:11
dont think we were using disksuite

I havent touched either of those files
KenCunningham (TechnicalUser)
11 May 04 10:19
I'd suggest the disksuite 'problem' is a red herring. Can you possibly post the /sbin/rc2 and rc3 scripts so that we can compare with a copy on our systems? What Solaris version are you using?
KenCunningham (TechnicalUser)
11 May 04 10:23
Oh, and unknown console login: is normal, assuming you're at the console and your machine name is unknown! Can you telnet to the box?
daFranze (TechnicalUser)
11 May 04 10:31
assuming, that your machine name was not 'unknown' I suggest to fix this first (run 'sys-unconfig' and boot again)

pls post output of the following commands to check SVM/SDS Problem:
df -l
metadb -i
metastat
metastat -p
format (I just want to see the disk list)

Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest"
Solaris System Manager; I used to work for Sun Microsystems Support (EMEA) for 5 years

KenCunningham (TechnicalUser)
11 May 04 10:34
To clarify the 'unknown' thing - was your machine called unknown before you rebooted after adding the keyboard. Or have I (most likely) misunderstood?
cobraIIsgi (MIS) (OP)
11 May 04 12:01
No you are correct the system name is unknown. I have not been able to access the machine (or even ping it for that matter) to get the files. How do I check the IP from the console login to make sure I still have it correct?

Thanks for all the advice so far,
CHRIS
johngiggs (TechnicalUser)
11 May 04 12:55
cobraIIsgi,

Run ifconfig -a or ifconfig interface_name (Ex. hme0, qfe0, etc).

John
cobraIIsgi (MIS) (OP)
11 May 04 13:20
I think I may have lost my ip settings when I ran sys-unconfig as suggested by Franz, what should I do now to get it set up?
daFranze (TechnicalUser)
12 May 04 3:24
boot the machine, it will ask for everything the machine needs

Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest"
Solaris System Manager; I used to work for Sun Microsystems Support (EMEA) for 5 years

cobraIIsgi (MIS) (OP)
12 May 04 9:19
No it doesnt ask it just goes to the console log in again but now it does not have an IP address
KenCunningham (TechnicalUser)
12 May 04 9:52
Sounds like you need to reset your networking details. See Thread60-615259 for help with that. Good luck.
daFranze (TechnicalUser)
12 May 04 10:26

Quote:

No it doesnt ask it just goes to the console log in again but now it does not have an IP address

completely strange; if you run sys-unconfig the system will clean itself (no hostname, no IP, no domain, no routing, etc.), will shutdown and ask for all info when rebooting again...

I always told my CU if they ran into such problems: you have to decide, do you need this system back to work asap, then run a restore/new install; if you have time I can help you debug the problem...

As Ken says, configure networkinterface by hand or run sys-unconfig again (check manpage what the command moves), if it does not stop run halt/init 0/reboot and reconfigure the host.
Next please post the outputs
df -l
metadb -i
metastat
metastat -p
format (I just want to see the disk list)
who -r
can you post messages? search for "Copyright" if the file is very long, I want to "see" the first boot AFTER you plugged in the new keyboard (you did shut down the machine to plugin?!?)....

Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest"
Solaris System Manager; I used to work for Sun Microsystems Support (EMEA) for 5 years

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close