Results 1 to 4 of 4

Thread: Service Auto Start

  1. #1
    Join Date
    Nov 2005
    Posts
    89

    Service Auto Start

    Hello,
    My problem is this:
    The majority of automatic services do not start and I am forced to do it manually in services.msc (services such as topics, and services related to Internet and detect the network card etc ...)
    How to solve this issue? Thank you

  2. #2
    Join Date
    Oct 2004
    Posts
    1,342

    Re: Service Auto Start

    Here's the easiest way to make a service auto start or stop after reboot:

    chkconfig servicename on to auto-start and chkconfig servicename off to stop auto-startup.

  3. #3
    Join Date
    Dec 2007
    Posts
    1,599

    Re: Service Auto Start

    I think the problem may be that you try to write to the EventLog but the EventLog service it self is not started yet.

    You have to make sure, your service is not started before the EventLog service started successfully. Thus you have to make your service dependent on the EventLog service.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,276

    Re: Service Auto Start

    If on linux then what distribution do you use? At least some(most?) include various utilities to make this easier than manually mucking around with symlinks in /etc/rc.d/* directories. It doesn't hurt to do that at least once though to help fully understand the structure and layout of how the average Linux machine does this.

    On RedHat for instance though, there are graphical utilities to enable/disable "services", there is "ntsysv", there is chkconfig, etc...

    # chkconfig snmpd --list
    # chkconfig snmpd on

Similar Threads

  1. How to auto start exe file in vb
    By The-Don in forum Software Development
    Replies: 5
    Last Post: 11-09-2010, 10:05 AM
  2. How to Auto Start PC at specified time?
    By Jagdish Gada in forum Operating Systems
    Replies: 3
    Last Post: 17-11-2009, 01:25 PM
  3. WinHTTP Web Proxy Auto-Discovery Service
    By MikeY007 in forum Server Update Service
    Replies: 3
    Last Post: 14-08-2008, 01:24 AM
  4. Replies: 4
    Last Post: 13-08-2006, 12:09 PM
  5. WinHTTP Web Proxy Auto-Discovery Service
    By Dolla in forum Small Business Server
    Replies: 2
    Last Post: 27-10-2005, 08:29 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,416,572.72684 seconds with 16 queries