Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Abe Loveless on July 18, 2002, 01:28:24 AM
-
I get the following errors when restarting Squid.
[root@SME-Mail2 root]# service squid restart
Stopping squid: /etc/init.d/squid: line 2: 1961 Aborted $SQUID -k check >/dev/null 2>&1
[ FAILED ]
Starting squid: /etc/init.d/squid: line 10: 1962 Aborted $SQUID $SQUID_OPTS 2>/dev/null
[ OK ]
[root@SME-Mail2 root]#
Any ideas?? Where can I check to see what it's looking for? The "messages" log says:
Jul 17 15:20:37 SME-Mail2 squid: getgrnam failed to find groupid for effective group 'squid'
Details: It was working fine, until I started adding users. I'm using a batch user install found at http://www.tech-geeks.org/contrib/loveless/batch_users/abl-batch_users-0.4.tar.gz. I ran a batch of 200, then a batch of 400. I found the problem after the 2nd batch of 400 users. This is the 2nd time I have attempted this and experienced the same result.
My machine:
PII 400, Software RAID 1.
SME 5.5
Modifications:
rav, ezmlm-web
Thanks for any ideas,
Abe
-
It looks like you may have deleted the squid user account. Look in /etc/passwd for the username "squid", if it's missing you've hosed the account.
If that is the case let me know and we'll work on getting the account re-added.
Nathan
-
/etc/passwd has:
squid:x:23:23::/var/spool/squid:/dev/null
/etc/group does not have a squid entry. I have a different SME server (5.1.2) that does have a squid entry of squid:x:23:
Surely the problem isn't as simple as adding this entry, is it??
-
I bet so :)
[root@inet01 /root]# groups squid
squid : squid
[root@inet01 /root]# usermod -g squid squid
[root@inet01 /root]# groups squid
squid : squid
-
That seems to have taken care of it.
I edited /etc/group. Followed the numerical order and inserted the line "squid:x:23:x in between the "games" and the "mysql" group.
Then went back and ran "service squid restart".
I got:
Stop: Failed (I assume because it wasn't running)
Start: OK
Ran it again:
Stop: OK
Start: OK
Thanks for your help, Nathan. (Again) :)
-
Anytime, glad it worked out for you :)
Nathan
-
Just to double-check, I did issue your commands and got the same results.