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

Similar Messages

  • Network services

    Hi,
    We recently changed our operating system from Solaris 2.5.1 to Solaris 10, and I've got a problem with one of our legacy scripts. This one only makes a few checks ( which are all ok ), and launches a simple rsh command to a raid system to stop it ( with a particular user ). Everything seems right, until this rsh which returns the following error messages :
    "tcgetaddr: no such device or address<br />
    ioctl I_FIND ttcompat: no such device or address"
    Note that we do another rsh just before this one, on the local station and this one is ok. This script is also only useful when the station stops, it does nothing on start.
    An important point is that this legacy script works fine without being executed during the reboot / halt process ( if I launch it manually, everything is ok ).
    I tried to move this legacy script into a service, using dependency feature in case network services are stopped while my script executes, but nothing I tried corrected the problem. I even made a dependency to make my service depend on the zones service, to be sure all network is ok. The service is a transient one ( but I'm a newbie on smf )
    Does someone has any idea about what is going on ? And can someone confirm the fact that if my script depends on the zones service, it will stop before it ?
    Thanks by advance

    Hi,
    We recently changed our operating system from Solaris 2.5.1 to Solaris 10, and I've got a problem with one of our legacy scripts. This one only makes a few checks ( which are all ok ), and launches a simple rsh command to a raid system to stop it ( with a particular user ). Everything seems right, until this rsh which returns the following error messages :
    "tcgetaddr: no such device or address<br />
    ioctl I_FIND ttcompat: no such device or address"
    Note that we do another rsh just before this one, on the local station and this one is ok. This script is also only useful when the station stops, it does nothing on start.
    An important point is that this legacy script works fine without being executed during the reboot / halt process ( if I launch it manually, everything is ok ).
    I tried to move this legacy script into a service, using dependency feature in case network services are stopped while my script executes, but nothing I tried corrected the problem. I even made a dependency to make my service depend on the zones service, to be sure all network is ok. The service is a transient one ( but I'm a newbie on smf )
    Does someone has any idea about what is going on ? And can someone confirm the fact that if my script depends on the zones service, it will stop before it ?
    Thanks by advance

  • 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

  • IPS: relationship between signatures and network service

    Hello,
    Does anybody know if there is documentation regarding the recommended signatures to be activated depending of the network service being deployed?
    Let's say that I have several servers behind a firewall, therefore, in theory I would only need to activate in my IPS the signatures related to those services, for example, ftp, https, aaa, etc...

    Hi there,
    Depending on IPS, you should be able to disable signatures for Solaris, OSX, Windows, Linux if you are not using them in your network. The trick is getting the vendor to admit how many signatures the device can handle. They will almost always lye to you.
    Also if you but sensors in front and behind your firewalls. You will see which are getting through the firewall, That then need to be install on the IPS to protect against.. if you add a 3rd sensor in back of the IPS. you can see how many made it past all your defenses
    Let me know if that helps a little.
    ~TS

  • I want to use Back to my mac. When I try to turn it on, it says "Back to My Mac may be slow because more than one device on your network is providing network services.   Turn off NAT and DHCP on one of the devices and try again." How do I fix this?

    Not sure if I am doing this right. This is my first time in the support community.
    I imagine what I put in my heading was supposed to go in here.
    I want to use Back to my mac. When I try to turn it on, it says "Back to my mac may be slow because more than one device on your network is providing network services. Turn off NAT and DHCP on one of the devices and try again. See the documentation that came with your device for information about turning off network services"
    Does anyone know how I do this? I contacted my ISP (Telus in Canada) and they did not know anything (not that they usually do).

    Why do ISPs insist upon making things so difficult for their customers?
    If you cannot get them to understand that you would prefer to use your own router over their piece of cheap junk, perhaps the information in the following will be useful:
    http://keithbalomben.wordpress.com/2012/03/29/telus-actiontec-v1000h-hacks-and-i nformation/
    Scroll down to DHCP Settings
    You will need to log in with proper "technician" credentials. They are provided in the above link as
    Username: tech
    Password: t3lu5tv
    ... but these may or may not work. Try it, and if you cannot get anywhere at least now you know what to ask Telus to do in return for your business.

  • Remote access and network services problem

    I have a Mac Pro with two IP configs:
    Ethernet 1: 69.##.##.## /255.255.255.248 [hidden for public forum security]
    Ethernet 2: 10.0.0.20/255.255.255.0
    My primary needs:
    Able to remotely access the Mac via Remote Desktop using the public IP. Local LAN connectivity using 10.##.##.##.
    Setup:
    I have a 10 public IP address from my ISP and using one of the 10 now. Everything pings OK.
    Question:
    How can I customize the network service so that I can select the Ethernet 1 or Ethernet 2 port to use? So far it forces me select Ethernet 1 for all of the services selected. I'd like to use FTP & Web Server & Remote Access on the Ethernet 2 (public). The rest is LAN. I notice that Appletalk is only allowable on a single IP.
    Quick experiment with the Internet sharing using Ethernet 2 (public) to Ethernet 1 failed to provide the desired forwarding result.
    Mac Pro   Mac OS X (10.4.9)  

    I think you need to go further into the settings and define FTP etc. to the specific Ethernet. There are also settings Automatic and where you define your connection. I have a 3 inch book that I will look at to see if they address it. I to plan to do something similar, but haven't got there yet.
    Michael

  • Deployment issue - Login failed for user 'NT AUTHORITY\NETWORK SERVICE'

    I am attempting to deploy a site from my development PC to my server. I have no issues running the site on the server using VS2010 Express Web in debug. All page queries are working within the debugger. The connection strings are identical between the PC
    and Server, except the host name.
    connectionString
    ="Data
    Source=SOCIALSERVER;Initial Catalog=Intake_be;Integrated Security=True"
    However, when using the site normally via IIS, the pages containing data access are failing with a permissions problem. The non-data access pages render normally.
    Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
    Looking at the SQL2005 instance via SQL Management Studio, I see security folder with Logins under the Server. NTA\NS is listed as a user login. But, I also see similar folders under each
    of 3 databases. NTA\NS is not listed as a login specific to my target dB.
    My site is for internal (intranet) use only. There is no internet access into my IIS. This is my first deployment into production. I think I only need Windows Authentication but I lack the experience to make a good decision. My goal is to allow domain users
    to access pages that produce read only data. But, I also need controlled access to pages that can modify data. I used the native winform template for ASP.NET 4, which includes some roles based security.
    How do I grant permissions for internal users on the pages that access SQL data? How does that security model work with the native roles based security? i.e.
    add
    name="AspNetSqlMembershipProvider"type="System.Web.Security.SqlMembershipProvider"connectionStringName="ApplicationServices"...
    etc.
    Thanks for your time and patience on this Deployment 101 type issue.
    Kurt

    hi,
    You receive either of these error messages specifically when you use integrated security.
    To resolve you can use one of below.
    Method 1: Programmatically change the security context of the ASP.NET worker process to a user who has the correct SQL Server permissions.
    Method 2: Change the default configuration of ASP.NET so that the ASP.NET worker process starts and runs under the context of a user who has the correct permissions in SQL Server.
    Method 3: Grant the correct permissions in SQL Server so that the ASPNET account (or NetworkService account, for an application that runs on IIS 6.0) has the appropriate access to the required resources.(Go to the Computer Management >> Local User and
    Groups >> Groups >> Right Click and go to properties on IIS_IUSRS >> Add appropriate user.
    Thanx, Mark as answered if you are ok ..

  • How to configure network printer on solaris 10 intel based

    how to configure the network printer in solaris 10
    like hp laserjet printer/printers,

    Very very easy.
    Go to the print manager . (printmgr I believe or in the launch menu under preferences)
    select add a network printer
    Fill out the info. I find that the hpijs printer driver works better then the suggested foomatic on my hp 4000s. I could not print pdfs otherwise.
    Other things to know is the protocol should be BSD (at least it works for me). And add the port to the destination so 192.168.0.1:9600 for example (for hp).
    thats about it. To have it show up correctly in JDS you should probably add it to the printer list under the launch->preferences->printer preferences.

  • HT1178 I bought Time Capsule specifically to back up my computer at work. Only my computer. I completed the steps the best of my knowledge but I got the message, "This device & its network services will be temporarily unavailable. Are you sure you want to

    I bought Time Capsule specifically to back up my computer at work. Only my computer. There are many computers within my department. I completed the steps the best of my knowledge but was unsure of which option to click. I clicked "I want to create a new wireless network". At the onset the instructions said I needed to connect with an ethernet cable, which I did. But I have no desire to connect to the internet, print from it, or have others access. I did deselect guest options, and I did put in passwords. But at the end of the process I got the message, "This device & its network services will be temporarily unavailable. Are you sure you want to continue."
    I was worried this would shut me down and I wouldn't be able to continue to work. I don't necessarily need to connect wirelessly. It is connected via ethernet cable from machine to device.
    Can you advise me how to continue? Did I choose the wrong options?

    I bought an external hard drive called "Seagate Backup Plus" From the Apple store to back up everything on my computer and anything new on my computer. It came with Time Machine. The external hard drive disk had 1 or 2 Terabytes. Time Machine says "next backup: When disk is connected." "Oldest backup: July 2, 2014." & Also "Latest back July, 2."

  • Enabling Network Services not working PLEASE HELP

    Hello,
    I created a virtual machine with the Oracle_Developer_Day.ova file downloaded from oracle page in order to test the application express tool.
    I´m trying to ad a webservice reference but getting the error:
    ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-24247: network access denied by access control list (ACL)
    I researched and find out that oracle 11g does not have network services enabled so you have to enable them with the following script:
    DECLARE
    ACL_PATH VARCHAR2(4000);
    ACL_ID RAW(16);
    BEGIN
    -- Look for the ACL currently assigned to '*' and give APEX_030200
    -- the "connect" privilege if APEX_030200 does not have the privilege yet.
    SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
    WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
    -- Before checking the privilege, ensure that the ACL is valid
    -- (for example, does not contain stale references to dropped users).
    -- If it does, the following exception will be raised:
    -- ORA-44416: Invalid ACL: Unresolved principal 'ADMIN'
    -- ORA-06512: at "XDB.DBMS_XDBZ", line ...
    SELECT SYS_OP_R2O(extractValue(P.RES, '/Resource/XMLRef')) INTO ACL_ID
    FROM XDB.XDB$ACL A, PATH_VIEW P
    WHERE extractValue(P.RES, '/Resource/XMLRef') = REF(A) AND
    EQUALS_PATH(P.RES, ACL_PATH) = 1;
    DBMS_XDBZ.ValidateACL(ACL_ID);
    IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'HR',
    'connect') IS NULL THEN
    DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,
    'HR', TRUE, 'connect');
    END IF;
    EXCEPTION
    -- When no ACL has been assigned to '*'.
    WHEN NO_DATA_FOUND THEN
    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
    'ACL that lets power users to connect to everywhere',
    'HR', TRUE, 'connect');
    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
    END;
    COMMIT;
    ***Note: I have a workspace called HR and a user called HR.
    I run the script and everything works fine but when I try to add the webservice reference I get the same error.
    I don´t know what to do and my time to fixing this problem is ending so please if someone can help me I would really appreciate it.
    THanks in advance

    Hi Luis,
    You will find the script for the relevant releases in the respective installation guides of their releases.
    Here is the script for Oracle APEX 4.1 and its sub-version releases:
    DECLARE
      ACL_PATH  VARCHAR2(4000);
    BEGIN
      -- Look for the ACL currently assigned to '*' and give APEX_040100
      -- the "connect" privilege if APEX_040100 does not have the privilege yet.
      SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
       WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
      IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'APEX_040100',
         'connect') IS NULL THEN
          DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,
         'APEX_040100', TRUE, 'connect');
      END IF;
    EXCEPTION
      -- When no ACL has been assigned to '*'.
      WHEN NO_DATA_FOUND THEN
      DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
        'ACL that lets power users to connect to everywhere',
        'APEX_040100', TRUE, 'connect');
      DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
    END;
    COMMIT;
    Refer : http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21673/otn_install.htm#BEHGBHDF
    Here is the script for Oracle APEX 4.2 and its sub-version releases:
    DECLARE
      ACL_PATH  VARCHAR2(4000);
    BEGIN
      -- Look for the ACL currently assigned to '*' and give APEX_040200
      -- the "connect" privilege if APEX_040200 does not have the privilege yet.
      SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
       WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
      IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'APEX_040200',
         'connect') IS NULL THEN
          DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,
         'APEX_040200', TRUE, 'connect');
      END IF;
    EXCEPTION
      -- When no ACL has been assigned to '*'.
      WHEN NO_DATA_FOUND THEN
      DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
        'ACL that lets power users to connect to everywhere',
        'APEX_040200', TRUE, 'connect');
      DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
    END;
    COMMIT;Refer: http://docs.oracle.com/cd/E37097_01/doc/install.42/e35123/otn_install.htm#BEHGBHDF
    Hope it Helps!
    Regards,
    Kiran

  • How to start and stop the BI Services in Solaris 10

    Hello All,
    Can anyone guide me on how to start and stop the BI Services in Solaris 10. In windows there are options set in Start->Programs->Middleware_Home->Start/Stop BI Services.
    Primarily after doing changes to the scheduler configuration, I need to restart the services to get it implemented? If yes how can I do it?
    Any help will be appreciated
    Thank you
    Ash
    Edited by: 902739 on Jan 11, 2012 12:17 PM

    Please help me by showing action plan for stop sap , offline backup and then start sap.
    i am little bit confuse How to start and stop SAP on cluster for offline backup
    Below are the systems name with host name , please explain me in sequence
    Systems name                                   Hostname
    # Hope SAP ERP Prod DB Primary       gsgbbux860
    # Hope SAP ERP Prod DB Standby      gsgbbux861
    # Hope SAP ERP Prod Cluster              gsgbbux862
    # Hope SAP ERP App 1                       gsgbbux864
    # Hope SAP ERP App 2                       gsgbbux865
    Thanks in advance
    Zaheer

  • Running java as a daemon service in Solaris 10?

    I am looking for instructions on how to run a java program as a daemon service (e.g. running JBoss as a service) in Solaris 10 X64?
    The java-wrapper from tanuki software seems to support most platforms but not Solaris 10 on Intel 64 bit?
    Any help would be much appreciated
    Thanks in advance
    T.

    It is not that difficult to run a program as a daemon.
    $ nohup my_program my_arguments >my_output 2>my_error &

  • Network.service won't boot

    Hi there,
    I just installed arch on my Thinkpad t42p which has a ipw2100 wireless chip. I configured the whole network manually and a corresponding systemd entry. Sometimes the network comes up at boot at sometimes it doesn't. When it doesn't boot I still can start it manually with
    # systemctl start network
    Why could it be that it sometimes boots and sometimes it doesn't?
    Last edited by dead_kenny (2012-11-10 08:35:03)

    Thx for the link skunktrader. Now I fixed the matter by asining a udev rule to the network interfaces as described in the wiki.
    Now I installed arch on an ASUS notebook where the interfaces don't shift during boot but there the network.service also won't boot. I have to start the service manually after boot. The output of
    systemctl /usr/lib/systemd/systemd
    doesn't present the Network Connectivity until I start it manually. Could there be another reason for this? E.g. driver starts to late? How should I look for why systemd cannot start boot the network.service?

  • RPC services on Solaris

    Hi all,
    does anybody know, if RPC services on Solaris 7 are required for a running WebLogic
    5.1 instance?
    We would like to harden the server and I'm not sure about disabling the RPC services
    for security reasons.
    Regards
    Andreas

    I recommend the following:
    Securing Solaris 8
    http://www.nsa.gov/notices/notic00004.cfm?Address=/snac/os/sunsol/I331-008R-2004.pdf
    There are a couple of typos which cause problems if you're not careful (the ndd settings portion is one).
    They also have Solaris 9 and others. http://www.nsa.gov/snac/downloads_all.cfm
    Edited by: kdbramm on Sep 16, 2007 2:23 PM
    Edited by: kdbramm on Sep 16, 2007 2:24 PM

  • Apple TV 2 Waiting for network services, unable to sign in to iTunes store

    Received my Apple TV yesterday.
    It is connected to my network (I have tried wired and wireless).
    I can view movie previews and Podcasts.
    I cannot sign in to the iTunes Store (therefore cant rent movies), cannot view Youtube videos (No content available), cannot use Netflix (Waiting for network services when I try).
    I spoke to Apple support, they couldn't help. They say the problem is with my network or my ISP.
    I have a Linksys WRT160N router, on which I have tried disabling the firewall.
    My ISP is Telus, I am on their Fibre Optic network in BC. I wonder if Telus are blocking Apple TV?
    Anyone else experiencing this?
    Message was edited by: gbcecanada
    Message was edited by: gbcecanada

    I received my Apple TV yesterday.
    I am running cable internet with 10Mbps constant.
    So I connected it up and proceeded to issue after issue. I could not log into my Apple account. It was stating that my name or password was incorrect.
    When I would start the unit it would stay at the waiting for network connections screen for several minutes!
    I did all the tricks of turning the apple of and back on, NO FIX.
    I tried to update the software, and I recieved a message that stated I have the most updated software, so....NO FIX
    I did a full restore. The Apple TV downloaded the newest software and rebooted after about 7 minutes, NO FIX
    I logged into my router and opened all ports, added ports 80 and 123, NO FIX
    I also disabled my entire firewall on my router and turned off the WEP security feature...and what would you guess.....NO F I X!!
    So I logged back into my router and reset all my original settings...still NO FIX.
    SO here is the good part...Apparently the system has to connect to time.apple.com and get updated...it's sort of like a verification of the system.
    So after it updated everything worked great! No unable to sign into my account. NO waiting on network connections anymore.
    So the biggest advice I can give, especially after my 3 hours of gradually wasting my time until I almost threw the unit out my bedroom window, is connect it to your WIFI system and let it sit by itself for a few hours and let it connect to the Apple server.
    Hope this helps everyone that, at some point, has shared my pain and frustration.

Maybe you are looking for

  • How to change email double screen on iPad?

    Hi All, As a new iPad user (familiar with iPhone), I am having trouble with the email function.  On the iPhone it shows the mailbox screen only, or the selected email.  The iPad shows both screens, as there is tons of room to do so.  My problem is, I

  • [SOLVED] Can't get Echinus to work

    Hello Arch users, I have installed Echinus from the AUR, but it doesn't seem to be working, or else I'm not doing something correctly.  I am using the example config from the Echinus Arch wiki.  I am using Slim as the display manager, and have config

  • WRT54GS router loses WAN DNS

    I have a WRT54GS router that loses the WAN DNS from time to time. I go into the router and check the router status and the IP is set to a LAN IP address and no DNS entry. I release and renew the DNS and it picks up the WAN IP and DNS OK. This happens

  • Hacked Possible through local machine

    Yes, I know I am grasping at straws here. A few weeks ago one of our websites (school district) had the code changed in their template, which took away all the photo's and top headers. we thought that a student had hacked into the server and messed w

  • 1G iPod Shuffle - can I connect iPod Nano and iPod Shuffle to same PC?

    Please can someone help?! My husband has an iPod Nano and I have just bought my son an iPod Shuffle. Can they both be used on the same PC? I'm worried that every time I link one of the iPod's up it will overwrite the other iPod. Many thanks. JML1010