unable to shutdown solaris 10

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Infrastructure Monitoring unable to shutdown solaris 10
# 1  
Old 02-25-2010
unable to shutdown solaris 10

hi folks, i have a snag, when i attempt shutdown of solaris 10 on a sunfire v240 it seems to pause for ages, and goes no further, im busy learning my way around the system so please be patient.

Code:
/etc(R)-bash-3.00$ init 6
/etc(R)-bash-3.00$ svc.startd: The system is coming down.  Please wait.
svc.startd: 99 system services are now being stopped.

it has been like this for 10 minutes and im sure it should be faster, there are no big oracle databases or anything, although i have installed the latest patch cluster dated 12th feb without issues, not sure if its related, would think not since it went on fine.

i have also changed to bge0.conf so all my interfaces are running at 100fdx.

my system is connected via ethernet 0, although at the moment i am connected via 'console -f' as i dont think my ethernets are working correctly, i have
Code:
/(R)-bash-3.00$ ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
bge0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 0.0.0.0 netmask 0 
        ether 0:14:4f:4d:d2:11 
bge1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 3
        inet 192.168.0.34 netmask ffffff00 broadcast 192.168.0.255
        ether 0:14:4f:4d:d2:12 
bge2: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 4
        inet 192.168.0.35 netmask ffffff00 broadcast 192.168.0.255
        ether 0:14:4f:4d:d2:13 
bge3: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
        inet 192.168.0.36 netmask ffffff00 broadcast 192.168.0.255
        ether 0:14:4f:4d:d2:14 
/(R)-bash-3.00$

i can fix bge0 with ' ifconfig bge0 192.168.0.33 netmask 255.255.255.0 broadcast 192.168.0.255' but still does not sut down correctly.

i have recently updated wih OpenBoot 4.22.3 and alom 1.6 also, which also seemed to go smoothly.

can anyone shed any light please, i can provide logs or anyother info if required

---------- Post updated at 05:14 PM ---------- Previous update was at 05:10 PM ----------

Also, note sure if this is relevant but now im getting

Code:
 
Feb 25 21:45:01 midnight-sol inetd[3240]: Failed to bind to the port of service instance svc:/network/netbios-ssn/tcp:default, proto tcp: Address already in use
Feb 25 21:45:01 midnight-sol inetd[3240]: Too many bind failures for instance svc:/network/netbios-ssn/tcp:default, transitioning to maintenance
Feb 25 21:53:19 midnight-sol inetd[3240]: Failed to bind to the port of service instance svc:/network/netbios-ssn/tcp:default, proto tcp: Address already in use
Feb 25 21:53:19 midnight-sol inetd[3240]: Too many bind failures for instance svc:/network/netbios-ssn/tcp:default, transitioning to maintenance
Feb 25 21:54:30 midnight-sol inetd[3240]: The inetd_start method of instance svc:/network/netbios-ns/udp:default isn't a regular file
Feb 25 21:57:34 midnight-sol inetd[3240]: Failed to bind to the port of service instance svc:/network/netbios-ssn/tcp:default, proto tcp: Address already in use
Feb 25 21:57:34 midnight-sol inetd[3240]: Too many bind failures for instance svc:/network/netbios-ssn/tcp:default, transitioning to maintenance
Feb 25 21:58:17 midnight-sol inetd[3240]: Failed to bind to the port of service instance svc:/network/netbios-ssn/tcp:default, proto tcp: Address already in use
Feb 25 21:58:17 midnight-sol inetd[3240]: Too many bind failures for instance svc:/network/netbios-ssn/tcp:default, transitioning to maintenance
Feb 25 21:59:05 midnight-sol inetd[3240]: The inetd_start method of instance svc:/network/netbios-ns/udp:default isn't a regular file
Feb 25 22:02:28 midnight-sol su: 'su root' succeeded for mzqxps on /dev/pts/1
svc.startd: The system is coming down.  Please wait.
svc.startd: 98 system services are now being stopped.


Last edited by alienkidmj12; 02-25-2010 at 06:13 PM.. Reason: Please use code tags
# 2  
Old 02-25-2010
cleanup your network configuration or "unplumb" all interfaces before shutdown and try again. if it works, you know it is a network issue.
# 3  
Old 02-25-2010
can you be more descriptive on what i do here,maybe provide examples ? thanks
# 4  
Old 02-26-2010
Are services commented using "#" in the /etc/services file?
# 5  
Old 02-26-2010
hi, nothing commented out there, ive tidied up my ifconfig now, all that works, as my hostname.bge0 was not matching with the hosts file. i think the error in question started occuring when i ran inetadm -f against the inet.conf file, it seems to have changed other info which i cannot locate, im now getting

Code:
# Feb 26 19:04:23 midnight-sol inetd[348]: The inetd_start method of instance svc:/network/netbios-ns/udp:default isn't a regular file

and
Code:
 
Feb 26 19:00:23 midnight-sol /usr/lib/snmp/snmpdx: unable to get my IP address: gethostbyname(midnight-sol) failed [h_errno: host not found(1)]
Last login: Fri Feb 26 18:43:48 on console
Feb 26 19:00:24 midnight-sol last message repeated 9 times
Feb 26 19:00:24 midnight-sol svc.startd[7]: application/management/snmpdx:default failed repeatedly: transitioned to maintenance (see 'svcs -xv' for details)

my hosts file is as follows
Code:
#
# Internet host table
#
127.0.0.1       localhost loghost midnight-sol
::1     localhost
192.168.0.33    midnight-sol-net1 net1
192.168.0.34    midnight-sol-net2 net2
192.168.0.35    midnight-sol-net3 net3
192.168.0.36    midnight-sol-net4 net4

and my ifconfig now shows
Code:
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.0.33 netmask ffffff00 broadcast 192.168.0.255
        ether 0:14:4f:4d:d2:11 
bge1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 3
        inet 192.168.0.34 netmask ffffff00 broadcast 192.168.0.255
        ether 0:14:4f:4d:d2:12 
bge2: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 4
        inet 192.168.0.35 netmask ffffff00 broadcast 192.168.0.255
        ether 0:14:4f:4d:d2:13 
bge3: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
        inet 192.168.0.36 netmask ffffff00 broadcast 192.168.0.255
        ether 0:14:4f:4d:d2:14

system still takes ages to shutdown, is there anything ican run to provide output which might help the situation ?? thanks

Last edited by Scott; 02-26-2010 at 03:39 PM.. Reason: Code tags please...
# 6  
Old 02-26-2010
Can you check if there are applications active that during shutdown are stopped by "traditional" kill scripts (MQ, e.g.)?
Code:
ps -ef | grep K

Sometimes such a kill script can hang, causing the whole shutdown procedure to last forever.
# 7  
Old 02-26-2010
don't set the hostname to the loopback adapter!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Linux SuSE SLES 8 error..unable to issue shutdown command

the only way we can power off is if we actually press power button on server. Running on HP DL-G4. from root, when we issue command it just returns to root prompt. (1 Reply)
Discussion started by: amexboy
1 Replies

2. Shell Programming and Scripting

Automatic shutdown and startup of Tomcat in Solaris

Dear Experts , I want to stop and Start tomcat at the time of shutdown and startup of our server . I was trying to stop tomcat with following command # su - dm -c "/export/home/Finder/FinderWeb/jakarta-tomcat-3.3.1a/bin/shutdown.sh" but i am getting following error. Please suggest .... (1 Reply)
Discussion started by: Amit.saini333
1 Replies

3. Solaris

Remote shutdown Solaris

Hi I want to shutdown my remote Solaris servers from XP machine. i want their must be a script file which i run all of the server go down. i try telnet but it ask for passwd. help me out. (4 Replies)
Discussion started by: akhaliq22
4 Replies

4. UNIX for Advanced & Expert Users

Solaris shutdown and boot history

Hello. I'm trying to get a Solaris (SunOS 5.10) shutdown and boot history. Unfortunately the /var/adm/wtmpx file does not cover the period I want to trace. It's been reset. Therefore the command, "last" (or "last reboot") does not reach back far enough. Additionally the /var/adm/messages*... (4 Replies)
Discussion started by: etlpkby
4 Replies

5. Solaris

Solaris 10 container graceful shutdown?

Hi, I've got a UPS connected to my Solaris 10 machine and I'm planning to run containers/zones on there. At the moment if the UPS agent sends the signal to the solaris machine to shutdown, all the apps shutdown gracefully and then the host goes down. If I setup containers for the apps, does... (9 Replies)
Discussion started by: fastexit
9 Replies

6. UNIX for Dummies Questions & Answers

Script to force Oracle database shutdown when shutdown immediate does not work

I have Oracle 9i R2 on AIX 5.2. My Database is running in shared server mode (MTS). Sometimes when I shutdown the database it shutsdown cleanly in 4-5 mints and sometimes it takes good 15-20 minutes and then I get some ora-600 errors and only way to shutdown is by opening another session and... (7 Replies)
Discussion started by: aixhp
7 Replies

7. Solaris

Restart/Shutdown the Solaris from SC>

Hi Experts, I am running solris 9. Sun-Fire 880. How do i shutdowon the whole server using ALOM i.e sc> console. If the server is down or somehow hang How do i Restart from sc> //purple (6 Replies)
Discussion started by: thepurple
6 Replies

8. Solaris

Unable to shutdown and start machine

Hello. I have just installed solaris on my PC (standalone). It allows to reboot. But IF I shut down and the restart by pressing the button - It does not show my solaris OS and I am then forced to perform fresh installation. Could you please let me know the fix for it - So that shutdown and... (3 Replies)
Discussion started by: panchpan
3 Replies

9. UNIX for Dummies Questions & Answers

Help unable to shutdown- RPC problems

Help unable to shutdown- RPC problems I seem to have consistent problems shuting down whichever init state I use basically I get the following errors messages followed by a return to the prompt # shutdown -i6 -g0 -y Shutdown started. Tue Oct 1 09:47:03 BST 2002 Broadcast Message from... (1 Reply)
Discussion started by: vviscomi
1 Replies

10. UNIX for Dummies Questions & Answers

Help unable to shutdown- RPC problems

I seem to have consistent problems shuting down whichever init state I use basically I get the following errors messages followed by a return to the prompt # shutdown -i6 -g0 -y Shutdown started. Tue Oct 1 09:47:03 BST 2002 Broadcast Message from root (pts/1) on hermione Tue Oct 1... (3 Replies)
Discussion started by: MBGPS
3 Replies
Login or Register to Ask a Question