Home > Warning Cannot > Warning Cannot Write Log File /usr/local/squid/logs/cache.log

Warning Cannot Write Log File /usr/local/squid/logs/cache.log

Results 1 to 2 of 2 Thread: Squid installation trouble Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch Do this by running Squid with the -z option: % /usr/local/squid/sbin/squid -z NOTE: If you run Squid as root then you may need to first create /usr/local/squid/var/logs and your cache_dir directories Alam Dear Amos, Thank you to your guideline. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. news

I'll assume you're not using that Raspberry Pi at work, so your question is fine to stay here. –slhck Apr 30 '13 at 10:31 add a comment| 1 Answer 1 active Alam : >> I have a trouble when i have traying creat swap file in Proxy server ( >> Squid v3). >> >> [[email protected] ~]# /usr/local/squid/sbin/squid & >> [1] 3422 >> Squid Cache (Version 2.5.STABLE9): Terminated abnormally. Got this: root at t4240qds:~# adduser --system --no-create-home \ > --disabled-login --disabled-password \ > --ingroup squid squid adduser: unrecognized option '--disabled-login' Tinylogin v1.4 (2015.01.19-06:01+0000) multi-call binary Usage: adduser [OPTIONS] And

Free forum by Nabble Edit this page current community blog chat Super User Meta Super User your communities Sign up or log in to customize your list. Alam : >> I have a trouble when i have traying creat swap file in Proxy server ( >> Squid v3). >> >> [[email protected] ~]# /usr/local/squid/sbin/squid & >> [1] 3422 >> 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 They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

share|improve this answer answered May 23 '15 at 19:17 heemayl 46.5k783141 thanks, but it did not fix. 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 # 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 The parent directory must be writeable by the user 'proxy', which is the cache_effective_user set in squid.conf.

However, most of the times, the latest squid version won't be available from packet managers. Problem with function inside brackets. The parent directory must be writeable by the user 'chatlanin', which is the cache_effective_user set in squid.conf. While initializing the cache using the command: /usr/local/squid/sbin/squid -z I received the following error: WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.log/usr/local/squid/var/logs/cache.log: Permission denied Following instructions given here:http://vonroeschlaub.com/kurt/server.html, I modified the permissions for

Use 'stdio:/home/john/squid3_log/store.log' 2015/06/01 16:24:25| Swap maxSize 15360000 + 16384 KB, estimated 1182798 objects 2015/06/01 16:24:25| Target number of buckets: 59139 2015/06/01 16:24:25| Using 65536 Store buckets 2015/06/01 16:24:25| Max Mem size: Is it possible for a diesel engine computer to detect (and prevent) a runaway condition? URL: Previous message: [squid-users] logfileHandleWrite: daemon:/var/logs/access.log: error writing ((32) Broken pipe) Next message: [squid-users] logfileHandleWrite: daemon:/var/logs/access.log: error writing ((32) Broken pipe) Messages sorted by: [ date ] [ thread ] drwxr-xr-x 2 squid squid 4096 May 6 12:32 logs ----------------------------------------------------------------------- ----------------------------------------------------------------------- [[email protected] var]# cd /usr/local/squid/var/logs/ [[email protected] logs]# ls -al total 52 drwxr-xr-x 2 squid squid 4096 May 6 12:32 .

If I try running squid again it would show ' WARNING: Cannot write log file: /var/logs/cache.log /var/logs/cache.log: Permission denied messages will be sent to 'stderr'. '. Join our community today! If you become aware of a situation where local system security is inadequate and still requires this please let squid-dev know. 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..

Linux PPC Other UNIX-Based Hardware Trading JustLinux Help File Library Audio Hardware Configuration Hardware Installation Networks Programming Software X Window Events JL Talkback JL Ideas Feedback Forum Suggestions Post Your Forum http://bovbjerg.net/warning-cannot/warning-cannot-evaluate-menu-cache-file.php I am seen in darkness and in light, What am I? cache_effective_group is deprecated and should not be used unless truly needed. I can not start squid yet.

Use 'stdio:/home/john/squid3_log/access.log' 2015/06/01 16:24:24| WARNING: no_suid: setuid(0): (1) Operation not permitted 2015/06/01 16:24:25| Unlinkd pipe opened on FD 11 2015/06/01 16:24:25| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec 2015/06/01 16:24:25| This is exactly equivalent to creating XX user for squid and assigning them to only one privilege group. 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. More about the author FATAL: Cannot open '/var/log/squid/access.log' for writing.

UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore ›AppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu Ask Ubuntu Meta your communities Sign up or log in to customize your list. asked 1 year ago viewed 6886 times active 8 months ago Related 2Permissions issue2How can I set different permissions for files and folders separately?1Set permissions for future folders and files1Chmod error CPU Usage: 0.010 seconds = 0.007 user + 0.003 sys Maximum Resident Size: 22560 KB Page faults with physical i/o: 0 I tried to fix this with typing sudo chmod 755

Hot Network Questions Vent kitchen hood vent to roof turbine vent?

What is the most someone can lose the popular vote by but still win the electoral college? You can do the following to change recursively the owner and owner group of all files under /var/cache/squid3 to user proxy and group proxy respectively: sudo chown -R proxy:proxy /var/cache/squid3 Also Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. What is this line of counties voting for the Democratic party in the 2016 elections?

How can I open the next/previous file alphabetically? The parent directory must be writeable by the user 'squidadm', which is the cache_effective_user set in squid.conf. Squid Cache (Version 2.5.STABLE9): Terminated abnormally. http://bovbjerg.net/warning-cannot/warning-cannot-write-log-file-var-log-squid-cache-log.php The parent directory must be writeable by the user 'proxy', which is the cache_effective_user set in squid.conf.

I am not sure whats up. this is the user that squid runs as. Find the rate of change at a point on a polynomial more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile But my all prmission is ok....

Having a problem logging in? CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys Hell_Spawn View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Hell_Spawn 10-26-2005, 08:59 CPU Usage: 0.018 seconds = 0.006 user + 0.012 sys Maximum Resident Size: 2068 KB Page faults with physical i/o: 0 Startup: Fri Sep 2 10:31:08 MSD 2005 2005/09/02 10:31:08| aclParseIpData: The parent directory must be writeable by the user 'proxy', which is the cache_effective_user set in squid.conf.

Powered by Blogger. The parent directory must be writeable by the user 'chatlanin', which is the cache_effective_user set in squid.conf. i have tried almost all the faq's and forums i can find this doesnt seem to fix the problem ..... Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest