This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Automated Install of Console Software

We would like to install the complete Enterprise Server and Console remotely using Powershell DSC.  I've separated out the various MSIs  and files needed.

I have written the script to install SUM - Success

I have written the script to do the Console - Success

But I can't get the Server to install...  I'm attempting it using the Server64.msi and the following parameters (it is on a test machine using SQLExpress on the same machine)

Server64.msi SERVER_PORT="80" SERVER_NAME="TEST" SERVER_USERNAME="ySophos" SERVER_USERNAMEDOMAIN=".\" DATABASE_SERVERNAME="TEST\SOPHOS" SUM_INSTALLDIR="C:\Program Files (x86)\Sophos\Update Manager"

I get the following errors in the event log -

Initialization failed.

Step: Creating a database connection
Error: std::runtime_error
Data: createAccessToken: LogonUser failed

Then I get a warning followed by -

DNS lookup failure trying to resolve the following addresses: MSNCDTEST.lan.

For more information, see the RMS status report. To open the report, click Start, point to All Programs, point to Sophos, point to Sophos Endpoint Security and Control, and then click View Sophos Network Communications Report.

Then the install rolls back.



This thread was automatically locked due to age.
Parents
  • Hi,

    Have you set all properties for the MSI?  If you perform an install manually and look at the bootrapper log under:
    \programdata\sophos\management installer

    It will give you all the properties that are set.  E.g.

    DATABASE_CONNECTIONSTRING 

    ...

    Also, I would check the server MSI log (same location as above) from a manual install, specifically for the line that starts:

    Command Line:

    Hope it helps.

    Regards,

    Jak

  • Jak  thank you.  Yeah I was missing about 50% of the parameters including the SQL Connection and password.  I've spent 2 days trying to get this down.  You have managed to save what is left of my hair.

    Paul

Reply Children
No Data