Home > Cannot Write > Cannot Write Log File /var/log/ Squid /cache.log

Cannot Write Log File /var/log/ Squid /cache.log

Not the answer you're looking for? Iowa BeansHidden! 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'. Linux User #415691 Ubuntu User #8629 Iowa Team (LoCo): [Wiki] [Launchpad] IRC channel: #ubuntu-us-ia on irc.freenode.net Adv Reply Quick Navigation Server Platforms Top Site Areas Settings Private Messages Subscriptions Who's this contact form

I mistake to have ownership run as "squid" but it would be by default "nobody". The parent directory must be writeable by the user 'proxy', which is the cache_effective_user drwxrwxrwx 2 proxy proxy 4096 2009-08-28 23:13 squid running debug has message again [email protected]:/var/log# sudo squid -NCd10 So it looks like I need to change permissions to that directory, and give it the appropriate write permissions. 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.

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 The parent directory must be writeable by the user 'proxy', which is the cache_effective_user set in squid.conf. move to directory that was no directory How do pilots identify the taxi path to the runway? 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|

If you become aware of a situation where local system security is inadequate and still requires this please let squid-dev know. On Wed, Feb 15, 2012 at 2:14 PM, Amos Jeffries wrote: > On 16.02.2012 11:05, berry guru wrote: >> >> I reverted back to the default squid configuration and I'm How can I ask about the "winner" of an ongoing match? QGIS restore attribute table order to original How to delete the lines from a file that do not contain dot?

I just started my first real job, and have been asked to organize the office party. You need to run "squid3 -z" etc in that case. > > Amos Received on Wed Feb 15 2012 - 22:23:33 MST This message: [ Message body ] Next message: berry Alam Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ cache.log: Permission denied I have a trouble when i have traying How do you jump around the piano?

Teenage daughter refusing to go to school Wrong way on a bike path? Alam : > I have a trouble when i have traying creat swap file in Proxy server ( Squid v3). > > [root_at_gclc ~]# /usr/local/squid/sbin/squid & > [1] 3422 > [root_at_gclc How do you jump around the piano? Check the ownership and permissions of /var/log/squid3/cache.log.

Mark as duplicate Convert to a question Link a related branch Link to CVE You are not directly subscribed to this bug's notifications. Hot Network Questions Do humans have an obligation to prevent animal on animal violence? 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.. How to remove text field value after comma using apex code?

thank you... weblink Server Fault is for professional system administrators with problems in the workplace. How to delete the lines from a file that do not contain dot? When i run Squid3 using terminal, it shows a warning message as below WARNING: Cannot write log file: /var/log/squid3/cache.log /var/log/squid3/cache.log: Permission denied messages will be sent to 'stderr'.

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 >> I ran squid -X -d9 and got errors that the log files could not be written: FATAL: Cannot open '/var/log/squid3/access.log' for writing. However, I get this error when running squid with the "-z" tag (It is the first run): WARNING: Cannot write log file: /var/log/squid3/cache.log /var/log/squid3/cache.log: Permission denied messages will be sent to navigate here Wrong way on a bike path? "Carrie has arrived at the airport for two hours." - Is this sentence grammatically correct?

I have a configuration for the cache to be created in the directory /var/cache/squid3/. Results 1 to 3 of 3 Thread: Please help config squid Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode What's the name of style where GM assumes idiotic behaviour unless stated otherwise?

asked 1 year ago viewed 6847 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

drwxrwxrwx 9 squid squid 4096 May 6 09:08 .. Need to change cash to cashier's check without bank account (Just arrived to the US) Why did the Bordens share their wife in the movie The Prestige? Is the result of the general election final on 8th of Nov, 2016? And sorry for the super late reply –TheBro21 May 31 '15 at 12:49 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using

The parent directory must be writeable by the user 'proxy', which is the cache_effective_user drwxrwxrwx 2 proxy proxy 4096 2009-08-28 23:13 squid running debug has message again [email protected]:/var/log# sudo squid -NCd10 Are there continuous functions for which the epsilon-delta property doesn't hold? 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'. his comment is here 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.

Subscribing... CPU Usage: 0.016 seconds = 0.004 user + 0.012 sys Maximum Resident Size: 7776 KB Page faults with physical i/o: 0 Aborted What's wrong with my squid config? drwxr-xr-x 3 squid squid 4096 May 6 09:10 .. -rw-r--r-- 1 squid squid 0 May 6 09:32 access_log -rw-r----- 1 squid squid 0 May 6 12:32 access.log -rw-r--r-- 1 After chmod i implement chown to folder with root:root and no further problems were found, so SQUID is now working and configured successfully.

drwx------ 2 root nogroup 4096 Feb 11 08:34 backups drwxr-xr-x 4 root root 4096 Feb 11 08:34 cache drwx------ 2 root nogroup 4096 Feb 11 08:34 krb5kdc drwx------ 7 root nogroup How do pilots identify the taxi path to the runway? How to interpret torque spec ranges? cache_effective_group is deprecated and should not be used unless truly needed.

Alam Dear Amos, Thank you to your guideline. 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. My network topology My squid setting Code: #==================================$ # Proxy Server Versi 2.7.Stable7 #==================================$ ################################################################# # Port ################################################################# http_port 8080 transparent icp_port 0 #prefer_direct off ################################################################# # Cache & Object ################################################################# Reason: SOLVED Adv Reply March 2nd, 2012 #2 andhix View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Mar 2012 Beans 2 Re: Squid configuration??

The time now is 04:15 PM.

Back to Top