creating swap directory error in squid
creating swap directory error in squid
hi
when i starting squid
squid -z
creating swap directories
FATAL: Failed to make swap directopry /usr/local.squid/var/cache : (13) permission denied
when i starting squid
squid -z
creating swap directories
FATAL: Failed to make swap directopry /usr/local.squid/var/cache : (13) permission denied
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear venky145,
Salam,
# chown -R squid.squid /usr/local.squid/var/cache
Best Regards.
Salam,
# chown -R squid.squid /usr/local.squid/var/cache
Best Regards.
Farrukh Ahmed
Re:
you should use : to separate user and group fields, not . this is because . is valid in a username, and chown on some systems won't accept it as a valid separator.
-
- Battalion Havaldaar Major
- Posts: 286
- Joined: Sun May 09, 2004 4:16 pm
- Location: Peshawar
- Contact:
Re:
what if ..when we change it to #chown -R nodoby:nobodyLinuxFreaK wrote:
# chown -R squid.squid /usr/local.squid/var/cache
as it cache effective user in squid.conf ?
takecare
M Shahzad Qadri
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear Qadri-409,
Salam,
Well if it is defined in squid.conf then you can do this
Best Regards.
Salam,
Well if it is defined in squid.conf then you can do this
Best Regards.
Farrukh Ahmed
-
- Company Havaldaar Major
- Posts: 195
- Joined: Fri Feb 04, 2005 7:21 pm
- Location: Lahore, PK
- Contact:
When I start my squid service then i got this message :
waiting..
Please tell what can i do ? If its a parent directory permission issue then please tell me how to change permission. ?Nov 2 12:12:14 Microsoft squid[4758]: Squid Parent: child process 4766 started
Nov 2 12:12:14 Microsoft squid[4758]: Squid Parent: child process 4766 exited due to signal 6
Nov 2 12:12:17 Microsoft (squid): Cannot open '/usr/local/squid/var/logs/access.log' for writing. ^IThe parent directory must be writeable by the ^Iuser 'squid', which is the cache_effective_user ^Iset in squid.conf.
waiting..
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear asaddotcom,
Salam,
# adduser squid
# chown -R squid.squid /var/log/squid
Best Regards.
Salam,
# adduser squid
# chown -R squid.squid /var/log/squid
Best Regards.
Last edited by LinuxFreaK on Thu Nov 03, 2005 7:57 am, edited 1 time in total.
Farrukh Ahmed
-
- Company Havaldaar Major
- Posts: 195
- Joined: Fri Feb 04, 2005 7:21 pm
- Location: Lahore, PK
- Contact:
Re:
I got still this message in my error log file:LinuxFreaK wrote:Dear asaddotcom,
Salam,
# adduser squid
# chown -R squid.suqid /var/log/squid
Best Regards.
even i closed #cache_replacment_policy in squid. . .. .Nov 2 13:29:33 Microsoft squid[4311]: Squid Parent: child process 4313 started
Nov 2 13:29:33 Microsoft (squid): ERROR: Unknown policy lru
Nov 2 13:29:33 Microsoft squid[4311]: Squid Parent: child process 4313 exited due to signal 6
Nov 2 13:29:36 Microsoft squid[4311]: Squid Parent: child process 4316 started
Nov 2 13:29:37 Microsoft (squid): ERROR: Unknown policy lru
Nov 2 13:29:37 Microsoft squid[4311]: Squid Parent: child process 4316 exited due to signal 6
-
- Company Havaldaar Major
- Posts: 195
- Joined: Fri Feb 04, 2005 7:21 pm
- Location: Lahore, PK
- Contact:
Re:
I got this message:LinuxFreaK wrote:Dear asaddotcom,
Salam,
# adduser squid
# chown -R squid.suqid /var/log/squid
Best Regards.
[root@Microsoft root]# chown -R squid.suqid /var/log/squid
chown: `squid.suqid': invalid group
[root@Microsoft root]#
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear asaddotcom,
Salam,
well that was spell mistake
# adduser squid
# chown -R squid.squid /var/log/squid
BTW from your last i have seen that you did not apply what i said and you just say its not working
Best Regards.
Salam,
well that was spell mistake
# adduser squid
# chown -R squid.squid /var/log/squid
BTW from your last i have seen that you did not apply what i said and you just say its not working
Best Regards.
Farrukh Ahmed