Sage 100

 View Only
  • 1.  Sage 100 2022 Service Not Auto Starting - No visible errors

    Posted 07-26-2023 09:29

    I have a Sage 100 2022 Advanced where suddenly the service will not auto start upon reboot.

    • Service was originally using a Windows account - I changed this to System account - no change
    • I can manually restart the service - no errors - and service runs until server reboots
    • I set the service to restart with delay - no change ( still does not auto start )
    • I set the service to retry after failure - no change ( still does not auto start )
    • This has been working fine for about 4 months though it's possible that this is the first time that the server rebooted so that's why we are just now seeing this issue.
    • Customer reports no other error messages except about a week ago I had to suddenly change all users to "spawn tasks" or they'd get an error upon login ( this is perhaps the biggest unexplained mystery for which there seems to be about as much general consensus as to why/how this is needed as to whether UFOS exist and are being hidden from us)

    I know there are a couple "duh, paging Dr Obvious" solutions such as uninstalling and reinstalling the service. And that's certainly on the table. Before I roll up my sleeves and put the patient under general anesthesia I figured I would query here and see if anyone has seen this and if there's something obvious I may be missing.



    ------------------------------
    Wayne Schulz
    wayne@s-consult.com
    Schulz Consulting
    (860) 516-8990
    Moodus, CT
    ------------------------------


  • 2.  RE: Sage 100 2022 Service Not Auto Starting - No visible errors

    Posted 07-26-2023 10:11

    I'd look in the Windows event viewer for errors.



    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    Toronto ON
    ------------------------------



  • 3.  RE: Sage 100 2022 Service Not Auto Starting - No visible errors

    Posted 07-26-2023 11:47
    Edited by Wayne Schulz 07-26-2023 11:47

    I did find some event viewer logs through it is very difficult to interpret the various error codes - of which there are a few and only one seems to related to Sage.

    What throws off the trail is I can manually start the service and there's no errors or any issues. The service just doesn't seem to be able to restart unless someone is logged in at that same time.

    The IT folks had this message which I'm sure is buried in one of Window's event logs somewhere:

    Looked through logs on DC01, found that when server was rebooted around 1:19pm the following error was given for why the Sage service did not auto start: "The Sage 100 Advanced 2022 (9710) service failed to start due to the following error:
    The account name is invalid or does not exist, or the password is invalid for the account name specified."

    To rule out some type of issue like the assigned Windows account being unable to run a service I swapped them over to using the default system account for the service. This seems to have no effect in that the service still doesn't auto start on reboot and I can still start the service manually with no errors displayed to the UI. Then people can go into Sage.



    ------------------------------
    Wayne Schulz
    wayne@s-consult.com
    Schulz Consulting
    (860) 516-8990
    Moodus, CT
    ------------------------------



  • 4.  RE: Sage 100 2022 Service Not Auto Starting - No visible errors

    Posted 07-26-2023 11:51

    Batch file with a "net start..." command, scheduled to run every hour...?



    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    Toronto ON
    ------------------------------



  • 5.  RE: Sage 100 2022 Service Not Auto Starting - No visible errors

    Posted 07-26-2023 12:27

    We used "net start" command for several services which had endearing qualities in the hosted environment.   Another option could be to create a new service account to run the service.  The old one may have gotten corrupted.



    ------------------------------
    Gary Feldman
    Principal
    I-Business Network
    Marietta GA
    16786270646
    http://www-i-bn.net
    ------------------------------



  • 6.  RE: Sage 100 2022 Service Not Auto Starting - No visible errors

    Posted 07-28-2023 09:56

    I echo @Gary Feldman, maybe just try re-creating the Service.



    ------------------------------
    Brett Zimmerman
    Net at Work
    Greater Boston Area
    ------------------------------