deanr

Q: Syntax error line 43 of swupd.conf

I'm getting repeated error messages in swupdate's error log:

Syntax error on line 243 of /Library/Server/Software Update/Config/swupd.conf:

Invalid address or port

 

Here is line 243 of that file:

Listen *:0

 

Anyone see what's wrong? This error didn't appear until I reset the swupdate service by removing the catalogs and downloads and restarting the service.

 

Thanks!

 

Dean

Xserve, OS X Server

Posted on Feb 11, 2016 7:51 AM

Close

Q: Syntax error line 43 of swupd.conf

  • All replies
  • Helpful answers

Page 1 Next
  • by Linc Davis,

    Linc Davis Linc Davis Feb 11, 2016 8:28 AM in response to deanr
    Level 10 (207,926 points)
    Applications
    Feb 11, 2016 8:28 AM in response to deanr

    Listen *:8088

  • by FrankSteinmetz,

    FrankSteinmetz FrankSteinmetz Apr 13, 2016 1:45 AM in response to Linc Davis
    Level 1 (12 points)
    Mac OS X
    Apr 13, 2016 1:45 AM in response to Linc Davis

    I had the same problem.

    I have changed Line 243 from

    Listen *:0

    to

    Listen *:8088

     

    but when i activate the Softwareupdateservice the Line changed back to

    Listen *:0

     

    I deleted the Folder /Library/Server/Software Update

     

    but after restarting the Server all Updates are waiting....

     

    Does anybody have an idea about this issue ?

     

    Many thanks in advance.

     

    Kind regards,
    Frank

  • by Bosco1983,

    Bosco1983 Bosco1983 Apr 14, 2016 2:10 AM in response to FrankSteinmetz
    Level 1 (61 points)
    Servers Enterprise
    Apr 14, 2016 2:10 AM in response to FrankSteinmetz

    Are you changing this using "nano" terminal command?  Should stick that way...

  • by FrankSteinmetz,

    FrankSteinmetz FrankSteinmetz Apr 14, 2016 4:00 AM in response to Bosco1983
    Level 1 (12 points)
    Mac OS X
    Apr 14, 2016 4:00 AM in response to Bosco1983

    Yes i changed it within the Terminal with the Nano Editor.

     

    Kind regards,

    Frank

  • by FrankSteinmetz,

    FrankSteinmetz FrankSteinmetz Apr 14, 2016 4:19 AM in response to FrankSteinmetz
    Level 1 (12 points)
    Mac OS X
    Apr 14, 2016 4:19 AM in response to FrankSteinmetz

    i used nano with sudo nano /Library/Server/Config/swupd.conf

     

    then i changed the port from 0 to 8088 and leave nano using CTRL + X - Y - ENTER

     

    but after restarting the softwareupdate the port ist changed back to 0 again :-(

     

    Kind regards,


    Frank

  • by Bosco1983,

    Bosco1983 Bosco1983 Apr 14, 2016 8:01 AM in response to FrankSteinmetz
    Level 1 (61 points)
    Servers Enterprise
    Apr 14, 2016 8:01 AM in response to FrankSteinmetz

    This is sounding familiar... im sure I had this.  I may have even just put software update on another server in the end!

     

    have you tried :

     

    - closing server.app

    - deleting /Library/Server/SoftwareUpdate folder

    - re-open Server.app

    - set up Software update again

     

    ?

  • by FrankSteinmetz,

    FrankSteinmetz FrankSteinmetz Apr 15, 2016 4:28 AM in response to Bosco1983
    Level 1 (12 points)
    Mac OS X
    Apr 15, 2016 4:28 AM in response to Bosco1983

    Hello,

     

    yes i did this.

    Today i found a swpud.conf backuped from a colleague.

    With this config file i get the following message:

     

    [Fri Apr 15 13:22:27.146285 2016] [mpm_prefork:notice] [pid 30497] AH00163: Apache/2.4.16 (Unix) configured -- resuming normal operations

    [Fri Apr 15 13:22:27.146774 2016] [core:notice] [pid 30497] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND -f /Library/Server/Software Update/Config/swupd.conf'

    [Fri Apr 15 13:22:51.566702 2016] [mpm_prefork:notice] [pid 30497] AH00169: caught SIGTERM, shutting down

    [Fri Apr 15 13:22:53.016971 2016] [mpm_prefork:notice] [pid 30509] AH00163: Apache/2.4.16 (Unix) configured -- resuming normal operations

    [Fri Apr 15 13:22:53.018126 2016] [core:notice] [pid 30509] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND -f /Library/Server/Software Update/Config/swupd.conf'

     

    and after klicking on "looking for new updates" the number changed from 526 Updates to 527 Updates.

    I think, now it's working.

     

    I will reply if i get another error.

     

    many thanks for your help.

     

    Kind regards and have a good Weekend,

     

    Frank

  • by Bosco1983,

    Bosco1983 Bosco1983 Apr 15, 2016 7:21 AM in response to FrankSteinmetz
    Level 1 (61 points)
    Servers Enterprise
    Apr 15, 2016 7:21 AM in response to FrankSteinmetz

    Great, glad youve made progress. 

     

    You can try these commands to force a check in with the software update.  NOTE - UPDATES CAN TAKE HOURS TO INDEX / BUILD so maybe leave overnight or get a few strong coffes

     

    On the server:

    Run - sudo swupd_syncd -listCatalogs

    To see what is available (or it thinks is available), and then

    sudo swupd_syncd -sync

    To force a re-sync with the prime ASUS


  • by FrankSteinmetz,

    FrankSteinmetz FrankSteinmetz Apr 18, 2016 3:56 AM in response to Bosco1983
    Level 1 (12 points)
    Mac OS X
    Apr 18, 2016 3:56 AM in response to Bosco1983

    Hello everybody,

     

    now are all updates are waiting but i can't load or activate any update.....

    I can activate any update but after a few times the state changed back to "waiting".

    The System-Volume is 46,5 GB and 28,17 GB are free - is that enough ?

     

    Kind regards,

    Frank

  • by Bosco1983,

    Bosco1983 Bosco1983 Apr 18, 2016 4:24 AM in response to FrankSteinmetz
    Level 1 (61 points)
    Servers Enterprise
    Apr 18, 2016 4:24 AM in response to FrankSteinmetz

    Need more MB my friend.  My SU folder is just under 300gb.

     

    You can reduce this by manually selecting what is downloaded though.  Ive just enabled default.

  • by FrankSteinmetz,

    FrankSteinmetz FrankSteinmetz Apr 18, 2016 4:55 AM in response to Bosco1983
    Level 1 (12 points)
    Mac OS X
    Apr 18, 2016 4:55 AM in response to Bosco1983

    Hi Bosco,

    thanks for you reply.

    Now i changed the size of the System-Volume to 100 GB more - now the downloads are running.

    at least in the terminal.

    now i will wait and see what happens.

     

    Many thanks to all for your help.

     

    Frank

  • by FrankSteinmetz,

    FrankSteinmetz FrankSteinmetz Apr 18, 2016 11:25 PM in response to FrankSteinmetz
    Level 1 (12 points)
    Mac OS X
    Apr 18, 2016 11:25 PM in response to FrankSteinmetz

    Good morning.

    At first, thanks to all for helping here.

    But i have another question:

    Is it possible to bind the Folder /Library/Server/Software Upate/Data to another direction ?

    The idea is to outsourcing the updates to the swap-drive because the system-drive is to small for all updates... :-(

     

    And another question: how can i delete updates i don't need ? When the server is loading the updates, there are updates for Mountain Lion and Snow Leopard also - and Updates from the years 2012, 2013, 2014 they will never need because we only use Yosemite.

  • by Leopardus,

    Leopardus Leopardus Apr 18, 2016 11:52 PM in response to FrankSteinmetz
    Level 4 (1,087 points)
    Desktops
    Apr 18, 2016 11:52 PM in response to FrankSteinmetz

    Hallo Frank,

     

    Just toggle the SUS settings from Automatic to Manual where you will have to select and enable the updates individually. That will help you to filter out the older and unneeded updates while simultaneously reduce the footprint significantly.

     

    Leo

  • by FrankSteinmetz,

    FrankSteinmetz FrankSteinmetz Apr 19, 2016 1:05 AM in response to Leopardus
    Level 1 (12 points)
    Mac OS X
    Apr 19, 2016 1:05 AM in response to Leopardus

    Hi Leo,

     

    thanks for your reply. This i have done but the older updates were als loaded in the server and shown in the Softwareupdatelist.

    My intention is to have only updates in the Softwareupdatelist they are actually and needed for our macs.

     

    Frank

Page 1 Next