LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
LinkBack Search this Thread
Old 10-20-2009, 09:21 PM   #1
L1nuxn00b703
Member
 
Registered: Sep 2009
Posts: 67

Rep: Reputation: 15
solaris 9 restart network


can you run /etc/init.d/network to restart network services on a solaris 9 box? is it the same as ifconfig eth0 down and up? thanks in advance
 
Old 10-21-2009, 05:31 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OEL
Posts: 9,089

Rep: Reputation: 227Reputation: 227Reputation: 227
I'm not sure it's supported. This script is doing more than just ifconfig, depending on what configuration files are found. What exactly do you expect this command to do ? What services do you want to restart ?
 
Old 10-25-2009, 07:32 PM   #3
L1nuxn00b703
Member
 
Registered: Sep 2009
Posts: 67

Original Poster
Rep: Reputation: 15
Well, I know in redhat you can run "service network restart", Im just wondering what the equivalence is in solaris 8-9. Anyone know?
 
Old 10-26-2009, 05:20 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OEL
Posts: 9,089

Rep: Reputation: 227Reputation: 227Reputation: 227
The equivalence is to update to something newer, like Solaris 10 or OpenSolaris, and use:
Code:
svcadm restart network
Solaris 9 was released in 2002 and is lacking the dependency management required to have this working properly.
 
Old 10-27-2009, 06:23 PM   #5
L1nuxn00b703
Member
 
Registered: Sep 2009
Posts: 67

Original Poster
Rep: Reputation: 15
jlliagre, I understand Solaris 9 is a tad old but I would like to know since I work in an environment with solaris 8, 9, and 10. Thanks.
 
Old 10-28-2009, 02:24 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OEL
Posts: 9,089

Rep: Reputation: 227Reputation: 227Reputation: 227
Then, please answer the questions I asked in post #2.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to restart BIND on Solaris 9? noir911 Solaris / OpenSolaris 3 01-02-2008 05:40 PM
Solaris 10 - Allow any user to shutdown or restart Red Barchetta Solaris / OpenSolaris 1 05-12-2007 03:29 AM
How do I set the regulatory daemon to restart when I restart the network service? zahadumy Linux - Networking 0 11-05-2006 12:24 PM
Solaris and restart option zillah Solaris / OpenSolaris 9 04-28-2005 03:02 PM


All times are GMT -5. The time now is 03:07 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration