Squid not working after upgrade to 12.3

Hi. I have a server running openSUSE 12.3 and squid is not working anymore. Was working fine with 12.2. Now I get www:~ # service squid status squid.service - Squid caching proxy Loa - Pastebin.com
Here’s squid.conf:

[Awk] squid.conf - Pastebin.com](http://pastebin.com/kvP94Aku)

I changed

auth_param basic program /usr/sbin/ncsa_auth /etc/squid/squid_passwd

to

auth_param basic program /usr/sbin/basic_ncsa_auth /etc/squid/squid_passwd

because ncsa_auth was no more in that location (or even on machine), basic_ncsa_auth being the only thing found.

I removed the line “acl manager proto cache_object” from squid.conf and the proxy server is starting, but my username/password is not recognized anymore so I get access denied.
Anyone has any idea? Please.
Thank you.

Your error says that your squid service is configured and ready to run but not enabled to start automatically on boot.

To enable auto start on boot this should work

systemctl enable squid.service

Then you can start manually as follows or reboot

systemctl start squid.service

HTH,
TSU

Thank you for your response, but I don’t think is that. Squid was configured to start at boot many versions ago. This happened with 12.3. I think squid is updated, too, and some configurations changed.

Anyway, I tried your way. The result is the same:

www:~ # systemctl enable squid.service
ln -s '/usr/lib/systemd/system/squid.service' '/etc/systemd/system/multi-user.target.wants/squid.service'
www:~ # systemctl start squid.service
www:~ # lsof -i :3128
www:~ # service squid status
squid.service - Squid caching proxy
          Loaded: loaded (/usr/lib/systemd/system/squid.service; enabled)
          Active: failed (Result: exit-code) since Sun, 2013-03-17 23:39:46 EET; 13s ago
         Process: 9161 ExecStop=/usr/sbin/squid -F -N -k shutdown -f /etc/squid/squid.conf (code=exited, status=1/FAILURE)
         Process: 9159 ExecStart=/usr/sbin/squid -F -N $SQUID_START_OPTIONS -f /etc/squid/squid.conf (code=exited, status=1/FAILURE)
         Process: 9151 ExecStartPre=/usr/sbin/squid_cache_swap.sh (code=exited, status=0/SUCCESS)
          CGroup: name=systemd:/system/squid.service


Mar 17 23:39:46 www.rullz.us squid[9159]: Maximum Resident Size: 19280 KB
Mar 17 23:39:46 www.rullz.us squid[9159]: Page faults with physical i/o: 18
Mar 17 23:39:45 www.rullz.us systemd[1]: squid.service: main process exited, code=exited, status=1/FAILURE
Mar 17 23:39:46 www.rullz.us systemd[1]: Unit squid.service entered failed state
Mar 17 23:39:46 www.rullz.us squid[9161]: 2013/03/17 23:39:45| aclParseAclLine: ACL 'manager' already exists with different type.
Mar 17 23:39:46 www.rullz.us squid[9161]: FATAL: Bungled squid.conf line 582: acl manager proto cache_object
Mar 17 23:39:46 www.rullz.us squid[9161]: Squid Cache (Version 3.2.6): Terminated abnormally.
Mar 17 23:39:46 www.rullz.us squid[9161]: CPU Usage: 0.016 seconds = 0.004 user + 0.012 sys
Mar 17 23:39:46 www.rullz.us squid[9161]: Maximum Resident Size: 19232 KB
Mar 17 23:39:46 www.rullz.us squid[9161]: Page faults with physical i/o: 0
www:~ #

There is some FATAL error there :slight_smile:

Bump!

Anyone? Please? :slight_smile:

same here
Help plz

Try creating soft link.

I tried that, too. It’s not working. But that’s not a problem. The problem is that ACL line. It’s not working like it worked in 12.2 and squid is not starting because of that.

I removed the line and squid started, but the username and password is not recognized…

BUMP!
Still no resolve…:frowning:

I solved the problem. ncsa_auth was owned by root.root so I owned it to squid.nogroup. Now it works…