stopping and starting network services


 
Thread Tools Search this Thread
Special Forums IP Networking stopping and starting network services
# 1  
Old 02-23-2004
stopping and starting network services

Solaris v5.6
how do you stop and start the network services?
# 2  
Old 02-24-2004
IMO - The best way is to reboot - Solaris (at that version) does not have some of the more interesting features of say AIX where 'sub systems' can be restarted - so if you try to kill all/each process associated with the network services (and restart them) then you may end up having more problems and have to reboot.

Of course it matters exactly WHICH services you are trying to restart - NIS can be restarted with no problems (usually) on clients and slaves, DNS can be restarted (and possibly just reloaded ), nfs can be restarted but may give problems for clients of any nfs mounts from the server you restarted it on.
# 3  
Old 02-24-2004
ok thanks, i thought there would be a way to stop and start subsystems similar to Aix, with Solaris.

I want to change the default route and then implement it. I've found the file /etc/defaultrouter. Let me ask you another question. What files start up the tcp/ip services in Solaris?
In Aix for example, inittab, rc.net, rc.tcpip, gateways, networks, inetd, inetd.conf, services, named.boot. These fire off in order.

I've found /etc/init.d/inetinit. It mentions /etc/rcS.d/S30rootusr.sh
on the Solaris box? I'm trying to determine what files or scripts fire off in what order when starting up Solaris.
# 4  
Old 02-24-2004
You don't need to restart the service to do what you want.

Just add the correct route to your /etc/defaultrouter like you say so that it comes up right after booting.

Until the next boot, use the route command to add that route on the fly

route add default <IP ADDRESS> 1

You may need to delete the current default route too in order to get it to work.

Check man route if you need more details or want to verify what I wrote above.
# 5  
Old 02-24-2004
ok, thanks for the clarification on the setup of the default route.
i'll give it go.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Monitor some of network services

Hi I want to write a script for netflow service because my service doesnt send any packet to netflow walker (server). Although the service is started but it does not send any packet to server until i restart the service I want to write a script in order to restart the service... (7 Replies)
Discussion started by: mohsen1366
7 Replies

2. Linux

Application services not starting with server reboot

Hi All, My application uses three different sub-services to make complete application up and running to normal. The entry of all the three services are present in /etc/init.d directory with proper softlink created to application home path where it actually exists. In one rare case one of the... (3 Replies)
Discussion started by: hk_kamozalwar
3 Replies

3. SCO

Sco Openserver Starting TCP/IP Services

Hi all, I have a customer whose sco unix server wasnt power off correctly and when booting it up I noticed that the boot up takes a while to finish the " Starting TCP services: snmpd routed lpd". after that the server is ready for login, but you cannot ping anything from the server (apart from... (2 Replies)
Discussion started by: CharlL
2 Replies

4. IP Networking

Oracle network services

i have installd oracle 10 on Solaris 10 now i want to access this database from remote machine. -bash-3.00$ tnsping 192.168.92.49 TNS Ping Utility for Solaris: Version 10.2.0.2.0 - Production on 17-DEC-2010 21:06:51 Copyright (c) 1997, 2005, Oracle. All rights reserved. Used... (0 Replies)
Discussion started by: akhaliq22
0 Replies

5. HP-UX

how can I get network services

Hi Is there a cmd in hpux 11 to get the network services the network services must display "Listen" like command netstat -an |grep Listen and display the process that is running on a port in HP-Unix at the same time my request can not use lsof -i command,not to install any extral... (2 Replies)
Discussion started by: alert0919
2 Replies

6. UNIX for Dummies Questions & Answers

Unix stopping the tcp services

Hi There We currently experiencing a problem on our Unix server Sco 5.07 , whereby the tcp services stops on it own and even if we restart the services manually the services still does not come up,We loose the printer and pc connections to the server we then need to restart the Unix server in... (1 Reply)
Discussion started by: esh
1 Replies

7. UNIX for Dummies Questions & Answers

Search for network services

OK I am a complete newbie to Unix. We have a Sunfire V890 running SUNOS Release 5.9. The Operating Environment is Solaris 9. I have been tasked with determining whether or not specific network and solaris services are enabled or disabled. If the services are enabled I need to disable them. I'm... (12 Replies)
Discussion started by: coachgt1
12 Replies

8. UNIX for Dummies Questions & Answers

Starting & Stop print services in Unix

Hi There Kindly inform me on how to start and stop the print services in Unix from the command line. (2 Replies)
Discussion started by: esh
2 Replies

9. Solaris

Stopping NFS from starting at bootup - Solaris 10

Does anyone know how I stop nfs/lockd and all of the associated services from starting at bootup? There's nothing in the /etc/rc*.d files to rename. That was my first idea. I also tried renaming /etc/init.d/nfs.server to something else, but that did not work either. Any ideas would be greatly... (2 Replies)
Discussion started by: amheck
2 Replies

10. HP-UX

The server is not starting all services

Hi everybody When I Boot/restart my HP-UX server when it reaches the step described below doesn't go through. When I kick a key in the console it show me the login prompt and a can log on but I cannot access the server from the network, I can only do it via LAN console. Please, can you help... (3 Replies)
Discussion started by: cgege
3 Replies
Login or Register to Ask a Question