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
heart(3erl) Erlang Module Definition heart(3erl)
NAME
heart - Heartbeat Monitoring of an Erlang Runtime System
DESCRIPTION
This modules contains the interface to the heart process. heart sends periodic heartbeats to an external port program, which is also named
heart . The purpose of the heart port program is to check that the Erlang runtime system it is supervising is still running. If the port
program has not received any heartbeats within HEART_BEAT_TIMEOUT seconds (default is 60 seconds), the system can be rebooted. Also, if the
system is equipped with a hardware watchdog timer and is running Solaris, the watchdog can be used to supervise the entire system.
An Erlang runtime system to be monitored by a heart program, should be started with the command line flag -heart (see also erl(1) . The
heart process is then started automatically:
% erl -heart ...
If the system should be rebooted because of missing heart-beats, or a terminated Erlang runtime system, the environment variable HEART_COM-
MAND has to be set before the system is started. If this variable is not set, a warning text will be printed but the system will not
reboot. However, if the hardware watchdog is used, it will trigger a reboot HEART_BEAT_BOOT_DELAY seconds later nevertheless (default is
60).
To reboot on the WINDOWS platform HEART_COMMAND can be set to heart -shutdown (included in the Erlang delivery) or of course to any other
suitable program which can activate a reboot.
The hardware watchdog will not be started under Solaris if the environment variable HW_WD_DISABLE is set.
The HEART_BEAT_TIMEOUT and HEART_BEAT_BOOT_DELAY environment variables can be used to configure the heart timeouts, they can be set in the
operating system shell before Erlang is started or be specified at the command line:
% erl -heart -env HEART_BEAT_TIMEOUT 30 ...
The value (in seconds) must be in the range 10 < X <= 65535.
It should be noted that if the system clock is adjusted with more than HEART_BEAT_TIMEOUT seconds, heart will timeout and try to reboot the
system. This can happen, for example, if the system clock is adjusted automatically by use of NTP (Network Time Protocol).
In the following descriptions, all function fails with reason badarg if heart is not started.
EXPORTS
set_cmd(Cmd) -> ok | {error, {bad_cmd, Cmd}}
Types Cmd = string()
Sets a temporary reboot command. This command is used if a HEART_COMMAND other than the one specified with the environment variable
should be used in order to reboot the system. The new Erlang runtime system will (if it misbehaves) use the environment variable
HEART_COMMAND to reboot.
Limitations: The length of the Cmd command string must be less than 2047 characters.
clear_cmd() -> ok
Clears the temporary boot command. If the system terminates, the normal HEART_COMMAND is used to reboot.
get_cmd() -> {ok, Cmd}
Types Cmd = string()
Get the temporary reboot command. If the command is cleared, the empty string will be returned.
Ericsson AB kernel 2.14.3 heart(3erl)