-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brook Humphrey wrote:
> When I try to start squid I get this:
>
> /etc/rc.d/init.d/squid start
> init_cache_dir /var/spool/squid... /etc/rc.d/init.d/squid: line 147:
11559
> Aborted                 $SQUID -z -F 2>/dev/null
> Starting squid:                                                 [  OK  ]
> /etc/rc.d/init.d/squid: line 148: 11561 Aborted                 $SQUID
> $SQUID_OPTS 2>/dev/null
>

I get similar errors on shutdown, but I had not configured squid (just
installed it to help someone debug a squid authenticator), so was not
sure if that was the problem ...

I also get this:

[bgmilne:/home/users/bgmilne]# service squid status
squid dead but subsys locked
FATAL: getgrnam failed to find groupid for effective group 'squid'
Squid Cache (Version 2.5.STABLE1-20030121): Terminated abnormally.
CPU Usage: 0.030 seconds = 0.010 user + 0.020 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 638
/etc/init.d/squid: line 147:  5685 Aborted                 $SQUID -k check
[bgmilne:/home/users/bgmilne]# getent group squid
[bgmilne:/home/users/bgmilne]#
[bgmilne:/home/users/bgmilne]# groups squid
id: cannot find name for group ID 23
[bgmilne:/home/users/bgmilne]# getent passwd |grep squid
squid:x:23:23:squid:/var/spool/squid:/dev/null
[bgmilne:/home/users/bgmilne]# service squid start
init_cache_dir /var/spool/squid... Starting squid:              [  OK  ]
[bgmilne:/home/users/bgmilne]# service squid status
squid (pid 5716) is running...
5714 (pid ) is running...
[bgmilne:/home/users/bgmilne]# service squid stop
Stopping squid:                                                 [  OK  ]
[bgmilne:/home/users/bgmilne]#

So, maybe the rpm is not adding the squid group? Or should
'/usr/share/rpm-helper/add-service squid $1 squid' do that?

Note that this box runs with nss_ldap etc, so rpm sometimes gives other
problems relating to not being able to create users etc.

Regards,
Buchan

- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+ZiRnrJK6UGDSBKcRAj4PAJ9VFs59vL5gRdUst202RST2u0JXeACfbLDY
QvYSqNZYBJ4QbaMwSslDbiY=
=5fGp
-----END PGP SIGNATURE-----


Reply via email to