Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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

Reply
18 replies

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

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

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

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.

Syntax error line 43 of swupd.conf

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.