You just need to Fix Your system Permissions. As find out.
1:- what is cache effective user and group in your squid.conf
2:- Change your /usr/local/squid dir Permissions according to that.
:-)
With Regards
Ahsan Khan
Sr. System Admin
Internet Division (OneNet)
Sun Communication Pvt. Ltd.
Pakistan
http://www.one.net.pk
----- Original Message -----
From: "Alexander Isaev" <A.Isaev@astelit.ru>
To: <squid-users@ircache.net>
Sent: Thursday, April 06, 2000 12:36 PM
Subject: Can't start Squid on FreeBSD 3.3
> Hello squid-users,
>
> I just installed Squid on FreeBSD 3.3. But I can't start it. After
> starting /usr/local/sbin/RunCache I can find the following errors in
> /usr/local/squid/squid.out
>
> Startup: Thu Apr 6 11:33:19 MSD 2000
> WARNING: Cannot write log file: /usr/local/squid/logs/cache.log
> /usr/local/squid/logs/cache.log: Permission denied
> messages will be sent to 'stderr'.
> 2000/04/06 11:33:19| WARNING: Closing open FD 2
> 2000/04/06 11:33:19| Starting Squid Cache version 2.2.STABLE5 for
i386--freebsd3.3...
> 2000/04/06 11:33:19| Process ID 1865
> 2000/04/06 11:33:19| With 1640 file descriptors available
> 2000/04/06 11:33:19| Performing DNS Tests...
> 2000/04/06 11:33:19| Successful DNS name lookup tests...
> 2000/04/06 11:33:19| helperOpenServers: Starting 5 'dnsserver' processes
> 2000/04/06 11:33:19| /usr/local/squid/logs/access.log: (13) Permission
denied
> FATAL: Cannot open /usr/local/squid/logs/access.log: (13) Permission
denied
> Squid Cache (Version 2.2.STABLE5): Terminated abnormally.
> CPU Usage: 0.139 seconds
> Maximum Resident Size: 1220 KB
> Page faults with physical i/o: 0
>
> I'm running Squid as Root and here is the list of permissions:
>
> drwxr-xr-x 3 root wheel 512 Apr 6 11:28 cache
> drwxr-xr-x 2 root wheel 512 Apr 6 11:33 logs
> -rw-r--r-- 1 root wheel 905 Apr 6 11:33 squid.out
>
> What is wrong?
>
> Best regards,
> Alexander Isaev mailto:A.Isaev@astelit.ru
>
>
Received on Thu Apr 06 2000 - 09:05:10 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:50 MST