Hello,
I am using AssetUPnP under slackware Linux without major issues for a few years already. Now recently I found that when the Linux server is rebooted, the Appache httpd complains it can't connect with port 80 because another process is listening on port 80. This process is AssetUPnP.
I have now upgraded from 5.1.1 beta to version 6.7
* netstat -ntulp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 192.168.1.11:80 0.0.0.0:* LISTEN 2831/AssetUPnP
root@riwixeon:/etc/rc.d* ./rc.httpd start
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
The httpd starts late because the www folder is mounted quite late. So AssetUPnP is already started before httpd is.
I can fix this manually by killing AssetUPnP
* ps -ef | grep Asset
root 2482 1 0 20:05 ? 00:00:00 /home/richard/asset_upnp/bin/AssetUPnP/AssetUPnP --ipaddress 192.168.1.11
root 2489 2482 0 20:05 ? 00:00:00 /home/richard/asset_upnp/bin/AssetUPnP/AssetUPnP --fork-is-webconfig --ipaddress 192.168.1.11 --control-pipe 5
root 2490 2482 0 20:05 ? 00:00:00 /home/richard/asset_upnp/bin/AssetUPnP/AssetUPnP --fork-is-umedialibrary --assetid 0 --control-pipe 11
root 2831 2482 0 20:05 ? 00:00:00 /home/richard/asset_upnp/bin/AssetUPnP/AssetUPnP --fork-is-upnp --assetid 0 --ipaddress 192.168.1.11 --control-pipe 9
root 18011 4366 0 20:15 pts/0 00:00:00 grep Asset
kill 2482
kill 2490
Then I can start httpd :
* /etc/rc.d/rc.httpd start
And then AssetUPnP :
* /home/richard/asset_upnp/bin/AssetUPnP/AssetUPnP --ipaddress 192.168.1.11 &
[1] 17247
root@riwixeon:/etc/rc.d* Starting Asset web interface at http://192.168.1.11:45537
pid:17248 Entering mainloop
pid:17251 Entering mainloop
pid:17250 Entering media library mainloop
Why is AssetUPnP taking port 80? When I point a browser at is it will only show a blank page.
What is the best way to "kill AssetUPnP" when I need/want to? Just the kill on the 2 pid's?. Or is there a nicer shutdown script/command?
Can I prevent AssetUPnP from taking port 80?
Regards, Richard
I am using AssetUPnP under slackware Linux without major issues for a few years already. Now recently I found that when the Linux server is rebooted, the Appache httpd complains it can't connect with port 80 because another process is listening on port 80. This process is AssetUPnP.
I have now upgraded from 5.1.1 beta to version 6.7
* netstat -ntulp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 192.168.1.11:80 0.0.0.0:* LISTEN 2831/AssetUPnP
root@riwixeon:/etc/rc.d* ./rc.httpd start
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
The httpd starts late because the www folder is mounted quite late. So AssetUPnP is already started before httpd is.
I can fix this manually by killing AssetUPnP
* ps -ef | grep Asset
root 2482 1 0 20:05 ? 00:00:00 /home/richard/asset_upnp/bin/AssetUPnP/AssetUPnP --ipaddress 192.168.1.11
root 2489 2482 0 20:05 ? 00:00:00 /home/richard/asset_upnp/bin/AssetUPnP/AssetUPnP --fork-is-webconfig --ipaddress 192.168.1.11 --control-pipe 5
root 2490 2482 0 20:05 ? 00:00:00 /home/richard/asset_upnp/bin/AssetUPnP/AssetUPnP --fork-is-umedialibrary --assetid 0 --control-pipe 11
root 2831 2482 0 20:05 ? 00:00:00 /home/richard/asset_upnp/bin/AssetUPnP/AssetUPnP --fork-is-upnp --assetid 0 --ipaddress 192.168.1.11 --control-pipe 9
root 18011 4366 0 20:15 pts/0 00:00:00 grep Asset
kill 2482
kill 2490
Then I can start httpd :
* /etc/rc.d/rc.httpd start
And then AssetUPnP :
* /home/richard/asset_upnp/bin/AssetUPnP/AssetUPnP --ipaddress 192.168.1.11 &
[1] 17247
root@riwixeon:/etc/rc.d* Starting Asset web interface at http://192.168.1.11:45537
pid:17248 Entering mainloop
pid:17251 Entering mainloop
pid:17250 Entering media library mainloop
Why is AssetUPnP taking port 80? When I point a browser at is it will only show a blank page.
What is the best way to "kill AssetUPnP" when I need/want to? Just the kill on the 2 pid's?. Or is there a nicer shutdown script/command?
Can I prevent AssetUPnP from taking port 80?
Regards, Richard
Comment