OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: me on August 01, 2018, 09:38:39 am

Title: 18.7 web and ftp proxy not working
Post by: me on August 01, 2018, 09:38:39 am
After updating to 18.7 web and ftp proxy don´t start.

squid log:
could not bind port 3128 address already in use
could not bind port 2121 address already in use

How can we fix it?
Title: Re: 18.7 web and ftp proxy not working
Post by: mimugmail on August 01, 2018, 09:56:27 am
Did you try a second reboot?
Title: Re: 18.7 web and ftp proxy not working
Post by: me on August 01, 2018, 10:05:23 am
yes - unfortunately it doesn´t help
Title: Re: 18.7 web and ftp proxy not working
Post by: mimugmail on August 01, 2018, 10:11:54 am
I did an update on my test system with Squid enabled, workd fine.
Can you stop squid via Dashboard (or it's already stopped) and check for open port 3128 via Firewall : Diagnostics : Sockets
Title: Re: 18.7 web and ftp proxy not working
Post by: me on August 01, 2018, 10:34:32 am
I´ve restored an older Version from backup and get the same error now.

If I set the listening interface to another one and then back to LAN squid starts without Problems.

I really don´t know what´s going on there...
Title: Re: 18.7 web and ftp proxy not working
Post by: mimugmail on August 01, 2018, 10:40:50 am
I can't help you when you dont do the stuff I wrote before ...
Title: Re: 18.7 web and ftp proxy not working
Post by: me on August 01, 2018, 10:43:03 am
sorry...

Quote
Can you stop squid via Dashboard (or it's already stopped) and check for open port 3128 via Firewall : Diagnostics : Sockets

After rebooting opnsense I can´t stop squid via Dashboard because it´s already stopped
Port 3128 is open

If I change the listening interface to WAN and than back to LAN squids starts normally.
After rebooting opnsense I´ve the same problem again.

Title: Re: 18.7 web and ftp proxy not working
Post by: mimugmail on August 01, 2018, 12:56:28 pm
Can you check the console while rebooting for any errors?
When the port is open squid is running but perhaps a stale PID file.
Title: Re: 18.7 web and ftp proxy not working
Post by: me on August 01, 2018, 02:13:38 pm
I´ve checked the console while booting.  It hangs some minutes trying starting squid.
there are no errors but squid doesn´t start automatically...

I´ve changed my root password and removed the # sign.
Now squid starts normally... very strange..

I don´t think that changing the password has fixed the problem - maybe the problem occurs just randomly