How to restart network service

Hi all,
Is there a efficient way to restart the netwoork service on Solaris 8 or Solaris 9 ?
(for example on tru64 rcinet restart do the job, similar on linux, but on Solaris can't find something similar)
I've tried with stop/start of inetsvc and inetinit but I'm not satisfied wiith result.
"network restart" cause unkwon hostname to occur (I'm not using DHCP, but static IP).

Hi all,
Is there a efficient way to restart the netwoork
service on Solaris 8 or Solaris 9 ?
(for example on tru64 rcinet restart do the job,
similar on linux, but on Solaris can't find something
similar)
I've tried with stop/start of inetsvc and inetinit
but I'm not satisfied wiith result.
"network restart" cause unkwon hostname to occur (I'm
not using DHCP, but static IP).Hello, try first to check/create /etc/nodename with your hostname, and check if it exists too in /etc/hosts.
That name or your Ip address must be in the /etc/hostname.device(#) being device (hme or pcn or other) the name of your NIC driver, followed (#) by a number, 0 if the first.
In a sparc machine the typical first network interface name file is /etc/hostname.hme0 and usually contains the hostname (`uname -n`) and must exist in /etc/hosts too.
Example
/etc/hosts (should be like this)
127.0.0.1 loghost
10.0.0.1 yourmachine
/etc/nodename (should be like this)]
yourmachine
/etc/hostname.hme0 (should be like this)
yourmachine
Then reboot and thats it. I hope this be your solution

Similar Messages

  • How to restart network services without rebooting the machine

    Hi ,
    i am new to solaris
    pls guide for this

    Hi ,
    i am new to solaris
    pls guide for this

  • Restart Network services

    I hope this isn't a repost but I was wondering if there is a way to restart network services in leopard, similar to this command in linux:
    /etc/init.d/networking restart
    I want to troubleshoot my connection to the router in my home, and my linux install works after giving this command, but leopard is having trouble.
    Thanks
    hah nevermind I found what I need
    Message was edited by: Dak

    Try this
    $ sudo ifconfig en0 down
    $ sudo ifconfig en0 up
    Use en1 for your AirPort card

  • How to restart OracleXe service in windowsXP?

    how to restart OracleXe service in windowsXP?
    by sample for restart: mysql:
    service mysql restart
    OracleXE howto?
    thanks

    go to
    Start > Settings > Control Panel > Administrative Tools > Services
    Look for the Oracle Database Service. If I remember correctly, it's something like Ora<Instance_name>.
    Hit the Restart button, it's the button with the icon that's a stop and start.

  • How I enable network service of Oracle database 10g XE ?

    Hi,
    How I enable network service of Oracle database 10g XE ?
    Following error occurs when printing:
    ORA-20001: The printing engine could not be reached because either
    the URL specified is incorrect or a proxy URL needs to be specified.

    ORA-20001 is a user defined error. So you will have to find out where it comes from.
    Regards
    Marcus

  • [solved...] How to REstart a service?

    I'd like to "RE"start a service; which means that i want to stop and start a service only if it was running, but If i do systemctl restart myservice, systemd will start it even if it was stopped.
    Also, systemctl report a successful status in stopping an already stopped service, try by yourself!
    TravelMate koko # systemctl stop sshd ; echo $?
    0
    TravelMate koko # systemctl stop sshd ; echo $?
    0
    ...i dont think this is right at all, it is not possible to stop a stopped thing, so it should return error imho.
    Anyway, is there a simple way of REstarting a service only if it was running?
    Thanks.
    Last edited by kokoko3k (2014-12-30 15:44:04)

    ANOKNUSA wrote:An exit code of '0' just means the command didn't run into any "failure" conditions. It can mean either that the process succeeded, or that the process had nothing to do. You'd get a non-zero return if you tried to start or stop a non-existent service, and systemd would spit out an error message.
    Unfortunately, it is not; at least in an unconsistent systemd world.
    Indeed, i managed to solve the issue this way:
    systemctl status sshd && systemctl restart sshd
    Also see:
    # systemctl stop sshd ; systemctl status sshd ; echo $?
    ● sshd.service - OpenSSH Daemon
    Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: disabled)
    Active: inactive (dead) since mar 2014-12-30 16:40:34 CET; 7ms ago
    Main PID: 3016 (code=exited, status=0/SUCCESS)
    3
    To summarize, if the service is stopped:
    systemctl status returns a non zero code.
    systemctl stop returns a zero code.
    As for your restarting issue, systemd's behavior seems logical.
    It seems the opposite to me.
    Marking as solved, but still...

  • How is the network service restarted from terminal?

    All,
    Is there a terminal option to execute a "service network restart" similar to a few other unix based os's? I use this with centos for example.  What is the best practice when using macos?
    Thanks -CSA

    how about a GUI, ever heard of a GUI? it's this really neat thing, where you don't have to worry about remembering long strings of text to do something. Mac OS X actually has a rather decent one (that was sarcasm by the way, Mac is the best) you could have it done in like 30 sec, if you use the network pane of system preferences.

  • How to restart AMP service in Solaris 10

    Hi All,
    I have installed AMP221.pkg in solaris 10 i86pc. its get installed in /local/apps/amp.
    when i  type http://localhost its not working.
    now How can i start apache service.

    Hello,
    Make sure that the apache configuration file /etc/apache/httpd.conf exists and has a valid configuration.
    Regards,
    Rei

  • [solved] How to restart all services with systemd?

    I had the habit of restarting all daemons after an upgrade so to make sure the newest libraries, configuration files etc were loaded. I did that with a shell script that restarted the daemons in order which they were listed in rc.conf. With systemd I could do something similar by first getting a list of running services and ordering a 'systemcrl restart  <servicename>' for each. But since systemd keeps track of dependencies I wonder if that would be the way to do it. Also I would need to filter out 'one shot' type services that are only needed on bootup.
    <edit>restart instead of reload</edit>
    <edit>solved it with a little script</edit>
    Last edited by rwd (2012-11-27 21:02:02)

    I think that's what systemctl snapshot does.
    snapshot [NAME]
               Create a snapshot. If a snapshot name is specified, the new snapshot will be named after it. If none is specified an automatic snapshot name is generated. In either case, the snapshot name used is printed to STDOUT, unless --quiet is specified.
               A snapshot refers to a saved state of the systemd manager. It is implemented itself as a unit that is generated dynamically with this command and has dependencies on all units active at the time. At a later time the user may return to this state by using the isolate command on the snapshot unit.
               Snapshots are only useful for saving and restoring which units are running or are stopped, they do not save/restore any other state. Snapshots are dynamic and lost on reboot.
    Then, isolate emergency.target or rescue target and switch to the snapshot.

  • How to restart Seeburger x.400 service

    Hello guys,
    actually i knew how to restart the service but now i am not able to find it anymore.
    We have an external adapter engine and think that the messages are not send because adapter might be down on seeburger machine.
    Could you give me a hand on this where to find and restart the X.400 adapter-service in the BIS-fornt end?
    br

    self-soveld

  • How to manually restart a service

    systemuiserver hung up on me recently and after forcing it to quick in activity monitor, I could not figure out how to restart the service. I'm new to mac from windows, where I would just go to where the services are listen and click restart. I did try blindly using 'launchctl start systemuiserver', but it didn't find the tag systemuiserver. And i tried 'launchctl com.apple.systemuiserver' but that tag wasnt found either.
    Any ideas on how to restart a service without having to reboot?
    Thanks!

    What does the array contain? Objects or strings?
    Post some code... it might help!

  • Network service in solaris

    Am new to solaris and so I could not find a way to restart network service in solaris. Like in Linux u can use service network restart, similarly how do we restart the network in Solaris. I changed the route of the server and want the change to reflect without a server restart. Please help....I googled and came up with nothing regarding this...
    Edited by: rcmrulzz on Apr 17, 2008 2:52 AM

    I'm guessing that you update /etc/defaultrouter ?
    then, to restart network:
    svcadm restart svc:/milestone/network:default
    To get system to reread network config files:
    svcadm refresh svc:/milestone/network:default
    HTH
    John

  • New 'Worker' framework - restarting a service?

    Hey Guys,
    Does anyone know how to restart a Service using the new background threading framework. The teaser out there at the moment indicates this is intended but I can't make it work.
    Here's my service:
    private class LoginService extends Service<User>
        // leaving out the get/sets for brevity
        public final StringProperty userNameProp = new StringProperty();
        public final StringProperty passwordProp = new StringProperty();
        protected Task<User> createTask()
            final String userName = userNameProp.get();
            final String password = passwordProp.get();
            return new Task<User>()
                protected User call() throws Exception
                    return // do remote service login with userName and password
    } And this is the code using it:
    public class LoginController
        private LoginService loginService;
        public LoginController()
            loginService = new LoginService();
            loginService.stateProperty().addListener(new ChangeListener<Worker.State>()
                public void changed(ObservableValue<? extends Worker.State> source, Worker.State oldState, Worker.State newState)
                    if (newState.equals(Worker.State.SUCCEEDED))
                        // show application main view
        public void doLogin(String userName, String password)
            loginService.userNameProp.set(userName);
            loginService.passwordProp.set(password);
            loginService.start();
            // I've tried restart(), cancel(), reset() and using various if !state().equals(State.READY) checks before calling each, etc
    }Any hints or tips appreciated. Hopefully the docco will be more detailed before long, but until then I'll take whatever works!
    Cheers,
    zonski

    Sorry, actually restart() does now seem to work as expected. I must have had something else in my code causing the issue earlier (not sure what) that seems to have resolved itself.

  • How to start or restarted Oracle_Secure_Backup service in RedHat linux

    Hi
    when i try to connect oracle secure backup using the following command, i am getting the follwoing message
    [root@midevdb bin]# obtool
    obtool: Error: can't connect to administrative observiced - observiced not running
    so how i can start, stop and restart Oracle_Secure_Backup service in redhat linux.
    thanks
    Settu Gopal

    the below is the logs from observiced.log log file.
    2009/03/31.12:19:28 observiced version 10.2.0.3.0 (linux) -- Tue Sep 23 10:36:22 PDT 2008
    Copyright (c) 1992, 2007, Oracle. All rights reserved. on midevdb.in.valtech.com pid 27248
    2009/03/31.12:19:28 listening for requests on --
    2009/03/31.12:19:28 virbr0 (192.168.122.1) port 400
    2009/03/31.12:19:28 eth0 (192.168.140.22) port 400
    2009/03/31.12:19:28 info: local host identity not readable or not yet established - no .hostid file
    2009/03/31.12:19:28 listening for NDMP connections on --
    2009/03/31.12:19:28 virbr0 (192.168.122.1) port 10000
    2009/03/31.12:19:28 eth0 (192.168.140.22) port 10000
    2009/03/31.12:27:04 failure to negotiate SSL connection with component obtool on fd 6 - no matching cipher suites (FSP Oracle network security functions)
    Thanks
    Settu Gopal

  • How often to restart UCCX services?

    Hi,
    Is there Cisco documentation on how often services should be restarted, or the entire cluster be restarted? The reason why I ask is that we have services running for 588 days since the deployment of our UCCX cluster. I have restarted various services here and there to resolve certain issues, but have not restarted the whole cluster and I think it's due time. I'm a little nervous about it, to be quite honest. Any insight?
    Thank you very much.

    Hi Sergio,
    I would again stand by the fact that a reboot is not necessary until a problem has been identified and the root cause is known to be resolved by the reboot.
    Well, if you ask me the procedure to reboot a cluster in a HA environment, then
    (Assuming your UCCX Version is 8.x and above)
    ++ Reboot Node 1
    ++ Wait for all the services to come up. You can monitor by the CLI "utils service list".
    ++ Once they are STARTED, reboot node 2.
    ++ Wait for the all the services to come up
    ++ Check for the services under Cisco Unified CCX Serviceability -- Tools -- Control Center Network Services
    ++ Also good idea, to check the replication from Cisco Unified CCX Serviceability -- Tools -- Datastore Control Center -- Replication Servers. The status for both the nodes should be 'Connected' and 'Active'
    Also, a good idea would be to use the release notes of the UCCX version that you are running on and find if there are any known issues which involved a reboot as the solution.
    Regards,
    Arundeep

Maybe you are looking for

  • Cor list question

    hi guys, i have question regarding cor list or how to setup something like my case. i am trying to setup 2 companies with 1 uc 540. uc 540 has 1 pri and 4 pots lines, so company a will use only pri line, and company b will only use pots lines. so how

  • Can not print PDF

    Can not print PDF from any application (acrobat 5.0) "Distiller failed to start up due to an internal error." It has been years since I have used my old Mac OS 9.2

  • Having problems saving photos to my Desktop with PSE 8.0

    I do not know what I am doing evidently, and am una ble to view.open or change my photos to PSE 8.0..   How in the world to you save to t he desktop, etc as a jpeg pse8.0 file?  When I sel ect  my photos that are on the desktop, I can view with Windo

  • Reddish tint on front camera glass on Nokia 808 Pu...

    Some time ago I replaced the somewhat broken case of my Nokia 808 Pureview with other one, used, but in good physical condition. Everything went ok, no problem here. There is a strange thing however: the front camera glass of the "new" case has a sli

  • Capture image with webcam: how to change image orientation

    Hi all, I have taken the code shown in thread http://forum.java.sun.com/thread.jspa?threadID=570463&tstart=0, and it works ok (many thanks for it). However, all webcam resolutions are in "landscape" mode (e.g. 320 x 240), but I would like to capture