Re[2]: [squid-users] Unable to open configuration file

From: Alexander Galitski <triton-sec@dont-contact.us>
Date: Fri, 4 Jan 2002 14:19:55 +0300

Hello Dave,

Friday, December 28, 2001, 4:51:08 PM, you wrote:

DR> Can you show us some info,
DR> e.g. ls -l /usr/local/squid/etc/squid.conf
DR> aswell as what user squid runs at and anything else usefull.
root@ns:/usr/local/squid/bin# ls -l /usr/local/squid/etc/squid.conf
-r-xr-x--- 1 root squidadm 92485 Dec 28 15:44 /usr/local/squid/etc/squid.conf*

in /etc/passwd:
squid:x:1001:201::/usr/local/squid:/bin/false

in /etc/group:
squid:x:201:squid
squidadm:x:202:triton,squid

in squid.conf:
cache_effective_user squid
cache_effective_group squid

anything else??

DR> Also, its wise to upgrade to 2.4-STABLE3
nothing changed after it

DR> Dave.
DR> OpteqSec.

DR> ----- Original Message -----
DR> From: "Alexander Galitski" <triton-sec@gidro-service.ru>
DR> To: <squid-users@squid-cache.org>
DR> Sent: Friday, December 28, 2001 2:12 PM
DR> Subject: [squid-users] Unable to open configuration file

>> Hello squid-users,
>>
>> i'm a newbie linux admin. i'm setting up squid.
>>
>> when i say './squid -k reconfigure' i see in syslog:
>> Dec 28 14:45:11 ns (squid): Unable to open configuration file:
DR> /usr/local/squid/etc/squid.conf: (13) Permission denied
>>
>> and in squid/logs/cache.log:
>> 2001/12/28 14:45:11| Restarting Squid Cache (version 2.4.STABLE2)...
>> 2001/12/28 14:45:11| FD 12 Closing HTTP connection
>> 2001/12/28 14:45:11| storeDirWriteCleanLogs: Starting...
>> 2001/12/28 14:45:11| Finished. Wrote 606 entries.
>> 2001/12/28 14:45:11| Took 0.0 seconds (143228.6 entries/sec).
>> FATAL: Unable to open configuration file:
DR> /usr/local/squid//etc/squid.conf: (13) P
>> ermission denied
>> Squid Cache (Version 2.4.STABLE2): Terminated abnormally.
>>
>> then it restarts OK and works fine (as i can see).
>>
>> if i say './squid -k shutdown' and then './squid' then everything is
>> ok - i see no error messages
>>
>> i use linux 2.4.17 (on 2.4.15 and 2.4.16-pre1 it was the same) and Squid
DR> Cache: Version 2.4.STABLE2
>>
>> what can it be? file permissions seem to be ok - they're configured as
>> said in squid users guide
>>
>> ps. merry xmas and happy new year to you all! =)
>>
>> --
>> Best regards,
>> Alexander mailto:triton-sec@gidro-service.ru
>>
>>
>>

-- 
Best regards,
 Alexander                            mailto:triton-sec@gidro-service.ru
Received on Fri Jan 04 2002 - 04:18:51 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:38 MST