10-20-2001
Network problem after sys-unconfig
I am running Solaris 8 and I have problem with configuration of the network after running sys-unconfig command:
- I ran "sys-unconfig" command then the system reboot to "ok" prompt. I did a "boot disk" command and the system reboot
- I lost all system info including host name and all addresses and dns as a name resolve
- I went back in after reboot and ran the "ifconfig" command for the IP address, mask, and use the "route add default" command for the default router
But all lost again after I reboot the system. My questions are
1) How do I ran the "ifconfig" command so that the system keep all the config after reboot.
2) How do I put back the host name to the system? (I went into /etc and try to change the host name but the "hosts" file is "read only" and I went in as root.)
Manny thanks for help
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have a SPARCstation 10 with SunOS 5.6
This erlier was in a network and now I have it at home to make a webserver.
At fist there was NIS and things left from erlier. So the "Console login:" newer appered only the white window with sun logo topleft and some text info.
I made... (14 Replies)
Discussion started by: roing
14 Replies
2. Solaris
hi expert,
i had do sys-unconfig for my v890 sparc and had config for eri0 network interface and hostname but after the server bring up i got this error messages :
NIS domainname is www.USSDGmdn-4.com
starting rpc services: rpcbind keyserv done.
Setting netmask of eri0 to 255.255.255.0... (5 Replies)
Discussion started by: bucci
5 Replies
3. What is on Your Mind?
Hi, my name is wesly. I an IT tech at the Junior Level. I have a bachelors degree in Computer Information Systems. I would like to fully become a Unix Sys Admin. Can anyone please tell me what I have to do. Do I have to set up a Unix or Linux server. How about Apache. Please give me clues and tips... (1 Reply)
Discussion started by: wes.lat
1 Replies
4. Solaris
Hi,
I performed a sys-unconfig on a solaris 10 server twice and it did not ask for a new hostname. I did a fresh install. most of the time I have experienced that it asks for a new hostname. what happened?
I know I could have edited some files but I prefer not to.
thanks in advance,
~jv (3 Replies)
Discussion started by: jvmagic
3 Replies
5. Solaris
Hi there,
We are trying to move our Sun Solaris 10 servers to new location (different state); the subnets will be changing ofcourse and so will the IP addresses; we plan to change hostname too.
Questions:
1)If we perform sys-unconfig will the current installed application/data be lost? If so,... (4 Replies)
Discussion started by: deedee
4 Replies
6. UNIX for Dummies Questions & Answers
ok,
Newbie here.....
I just installed this solaris 10 for a class I'm taking. We couldn't figure out how to change the IP so we were told to just do it from the sys-uncofig process. Well, after I did that, I lost the GUI witch isn't all that bad cuz I want to learn the cli anyways, but I keep... (1 Reply)
Discussion started by: moesays
1 Replies
7. UNIX for Advanced & Expert Users
Hi All!
I'm running "Solaris 10 10/08 s10s_u6wos_07b SPARC" on M5000.
I ran sys-unconfig and after the machine rebooted the system did not prompt me for configuration info (system name, ip address, etc). I have also modified /etc/.sysIDtool.state changing all "1" to "0" and touch... (1 Reply)
Discussion started by: bluescreen
1 Replies
8. AIX
Dear ALL.
I installed AIX OS on customer sites.
but Only one site is too slow when I connected telnet, ftp..
Ping is too fast. but telnet and FTP is not connected..
of course i check the configuration file on aix but it's normal.
Do any Idea??
thanks in advance.
- Jun - (3 Replies)
Discussion started by: Jeon Jun Seok
3 Replies
9. Solaris
I did a sys-unconfig to change the domainname, Ip, subnet, hostname, and pretty much everything else that sys-unconfig handles. Upon reboot, it is toast. I did this all without the network cable plugged in.
The following shows up on console:
login: pam_unix_cred: cannot load ttyname Error 0
... (3 Replies)
Discussion started by: adelsin
3 Replies
10. Programming
(Apologies for any typos.)
OSX 10.12.3 AND Windows 10.
This is for the serious Python experts on at least 3.5.x and above...
In script format sys.stdout.write() AND sys.stderr.write() seems to work correctly.
Have I found a serious bug in the interactive sys.stdout.write() AND... (2 Replies)
Discussion started by: wisecracker
2 Replies
reboot(1M) reboot(1M)
NAME
reboot - reboot the system
SYNOPSIS
time] message]
time] message]
DESCRIPTION
The command terminates all currently executing processes except those essential to the system, then reboots the system, or halts, or makes
the partition ready for reconfiguration. When invoked without arguments, syncs all disks before rebooting the system.
Options
The command recognizes the following options:
Shut down the system and halt.
Shut down the system and reboot automatically (default).
Shut down the system to a ready-to-reconfigure state and reboot if possible.
If the partition is unable to reboot, it will stop at a ready-to-reconfigure state. However, if the option is also
specified, the system will always stop at ready-to-reconfigure state. This option is available only on systems that
support hardware partitions.
Shut down the system to a ready-to-reconfigure state and do not reboot.
This option can be used only in combination with the option. This option is available only on systems that support
hardware partitions.
Do not sync the file systems before shutdown.
The and options are ignored with this option.
Sync the file systems before shutdown;
for file systems that were cleanly mounted, modify the flag from to (default).
Quick and quiet.
Suppress broadcast of warning messages, terminate processes by brute force (with and immediately call with arguments
as indicated by the other options (see reboot(2)). No logging is performed. The and options are ignored with this
option.
Specify what time
will bring the system down. time can be the word (indicating immediate shutdown) or a future time in one of two for-
mats: and The first form brings the system down in number minutes; the second brings the system down at the time of
day indicated (based on a 24-hour clock).
Display message at the terminals of all users on the system at decreasing intervals as reboot time approaches. The message
must not contain any embedded double quotes.
At shutdown time a message is written in the file
(if it exists), containing the time of shutdown, who ran and the reason.
Only users with appropriate privileges can execute the command.
WARNINGS
does not invoke the shutdown scripts associated with subsystems to bring them down in a cautious manner. See shutdown(1M).
If the option is used in a virtual partition environment on a partitionable system, then the requested reconfiguration will not take place
until all the virtual partitions on that hard partition are shut down and the virtual partition monitor is rebooted.
AUTHOR
was developed by HP and the University of California, Berkeley.
FILES
Shutdown log
SEE ALSO
vpartition(1), reboot(2), partition(5).
reboot(1M)