> Warning Cannot
> Warning Cannot Write Log File /usr/local/squid/logs/cache.log
Warning Cannot Write Log File /usr/local/squid/logs/cache.log
phatboyz View Public Profile View LQ Blog View Review Entries View HCL Entries Visit phatboyz's homepage! This may take a > while to get your system working again, but it is still possible. > > If you have anyone who has a lot of experience with the Now my squid running ok. I didn't want to change the permissions of /var or /var/log, so I created a new directory /squid3_logs and set the log locations in squid.conf. navigate here
Alam: "[squid-users] cache.log: Permission denied" Next in thread: Amos Jeffries: "Re: [squid-users] cache.log: Permission denied" Reply: Amos Jeffries: "Re: [squid-users] cache.log: Permission denied" Contemporary messages sorted: [ by date ] [ When I ran the debug command squid -X -d9 as my user, I think automatically changed the swap.state owner to me. Last edited by phatboyz; 03-09-2004 at 03:27 PM. do "ls -al /usr/local/squid/var/cache" u should see something like drwxr-xr-x 18 squid squid ./ drwxr-xr-x 10 root root ../ drwxr-xr-x 258 squid squid 00/ drwxr-xr-x 258 squid squid 01/ drwxr-xr-x 258
Edit bug mail Other bug subscribers Subscribe someone else Bug attachments Dependencies.txt (edit) ExtensionSummary.txt (edit) profiles.ini.txt (edit) Add attachment • Take the tour • Read the guide © 2004-2016 CanonicalLtd. cache_effective_user overrides --with-default-user for special circumstances where a rebuild with new user cannot be done. linux proxy raspberry-pi squid debian-wheezy share|improve this question edited Apr 30 '13 at 8:57 asked Apr 30 '13 at 1:13 I-Ii 236211 Hi Jason.
CPU Usage: 0.008 seconds = 0.008 user + 0.000 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 Aborted user "proxy" is the owner of parent directory ProblemType: Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ If you are accessing the proxy from a subnet other than the one listed on your squid.conf file, you should get an "ACCESS DENIED" page. But then when I ran the debug squid3 -NCd1, It showed: 2015/06/01 16:24:24| Starting Squid Cache version 3.3.8 for x86_64-pc-linux-gnu... 2015/06/01 16:24:24| Process ID 20379 2015/06/01 16:24:24| Process Roles: master worker
Thank you for your unswer! Slava Site Admin Сообщения: 2178Зарегистрирован: Пт апр 02, 2004 12:34 Сайт Вернуться к началу foeniks » Вт окт 11, 2005 16:23 # chmod 0777 /usr/local/squid/var/logs # chmod 0777 /usr/local/squid/var/logs/cache.log # Build me a brick wall! Please visit this page to clear all LQ-related cookies.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 10 [[email protected] root]# /usr/local/squid/sbin/squid -NCd1 WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.log Proxy server tested with 2 PCs(one with Wi-fi adapter) acording to acl all resolved. The parent directory must be writeable by the user 'chatlanin', which is the cache_effective_user set in squid.conf. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features.
How can I open the next/previous file alphabetically? If you need to reset your password, click here. Squid-3 runs as the user configured with --with-default-user=XX 'nobody' is the default value of that setting to cope with old setups which assume 'nobody'. Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
Amos « Return to Squid - Users | 1 view|%1 views Loading... check over here Mark as duplicate Convert to a question Link a related branch Link to CVE You are not directly subscribed to this bug's notifications. Having a problem installing a new program? MathSciNet review alert?
Squid Cache (Version 2.5.STABLE9): Terminated abnormally. How to capture disk usage percentage of a partition as an integer? Use this command: % /usr/local/squid/sbin/squid -NCd1 If everything is working okay, you will see the line: Ready to serve requests. his comment is here also do a chown squid /usr/local/squid/* as well.
Why does Cutie act like this and lesser robots listen to it? I am not sure whats up. any help here is the error msg one more time btw its the only one i get as opposed to the earlier post /usr/local/squid/sbin# ./squid -z 2004/04/29 22:39:16| Creating Swap Directories
The parent directory must be writeable by the user 'chatlanin', which is the cache_effective_user set in squid.conf.
the permissions for /var/log/squid3 are: drwxrwxr-x 2 proxy proxy 4096 Apr 29 14:13 squid3 and inside: -rwxrwx--- 1 proxy proxy 0 Apr 29 06:25 access.log -rwxrwx--- 1 proxy proxy 303469 Apr CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 10 [[email protected] root]# cd /usr/local/squid/var/cache/00/ [[email protected] 00]# ls 00 01 02 In your case, as you can see the directory /var/cache/squid3 is only writable by root, hence you were getting the permission denied error. And as I can see, all is root, and one is squid3?
Alam" <[hidden email]>, [hidden email] Sent: Thursday, May 7, 2009 5:23:35 AM GMT +06:00 Astana / Dhaka Subject: Re: [squid-users] cache.log: Permission denied > Monzur Md.. Single word for the act of being susceptible? Squid Cache (Version 2.5.STABLE9): Terminated abnormally. weblink LinuxQuestions.org > Forums > Linux Forums > Linux - Software Help with squid Swap file User Name Remember Me?
GO OUT AND VOTE Polyglot Anagrams Cops' Thread What is the point of update independent rendering in a game loop? I then issued for both: sudo chown -R root:proxy /squid3_log #and squid3_cache and sudo chmod -R 777 /squid3_log #and squid3_cache It fixed the permission denied with squid3_cache but not with squid3_log. access_log /squid3_logs/access.log squid cache_store_log /squid3_logs/store.log cache_log /squid3_logs/cache.log I also made sure that all the files and subdirectories in my cache (/cache0) had the proper permissions.