LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-12-2007, 12:31 PM   #1
pliqui
Member
 
Registered: Feb 2007
Location: Caracas, Venezuela
Distribution: Debian x64
Posts: 156

Rep: Reputation: 17
Changing default cache_dir on squid3 not working


Hi all, i'm trying to change the default cache directory in squid3 to a new one but is not working.

the default directory is /var/spool/squid3
Quote:
drwxrwxrwx 11 root root 4096 2007-11-27 00:34 .
drwxrwxrwx 15 root root 4096 2007-11-21 00:37 ..
drwxrwxrwx 2 root root 4096 2007-11-21 00:41 anacron
drwxrwxrwx 5 root root 4096 2007-11-20 23:53 cron
drwx--x--- 3 root lp 4096 2007-12-05 19:23 cups
drwxrwxrwx 4 root root 4096 2007-11-27 00:45 cups-pdf
drwxrwxrwx 5 Debian-exim Debian-exim 4096 2007-11-20 23:56 exim4
drwxrwxrwx 4 lp lp 4096 2007-12-11 20:13 lpd
lrwxrwxrwx 1 root root 7 2007-11-20 23:03 mail -> ../mail
drwxrwxrwx 3 root root 4096 2007-11-20 23:55 openoffice
drwxrwxrwx 2 root root 4096 2007-09-18 00:45 samba
drwxrwxrwx 18 proxy proxy 4096 2007-12-12 13:18 squid3
as you can see the owner and group is proxy

i have a 80gb hdd mounted in /mnt/warehouse and i created a folder also called squid3
Quote:
drwxrwxrwx 10 pliqui pliqui 4096 2007-12-12 13:23 .
drwxrwxrwx 5 root root 4096 2007-11-29 18:25 ..
drwxrwxrwx 4 pliqui pliqui 4096 2007-12-12 09:30 Backup
drwxrwxrwx 6 pliqui pliqui 4096 2007-12-08 03:48 Downloads
-rw-r--r-- 1 pliqui root 1524425 2007-12-08 01:01 EVEMon-install-1.2.4.1005.exe
drwxrwxrwx 2 root root 16384 2007-10-06 15:59 lost+found
drwxrwxrwx 4 pliqui pliqui 4096 2007-12-11 22:58 Movies
drwxrwxrwx 3 pliqui pliqui 4096 2007-10-29 12:12 Series
drwxrwxrwx 2 proxy proxy 4096 2007-12-12 13:23 squid3
drwxrwxrwx 3 pliqui pliqui 4096 2007-12-06 15:07 Star Wars RPG Files 5.0
-rw-r--r-- 1 pliqui root 58368 2007-11-30 21:14 test.xls
drwxrwxrwx 2 pliqui pliqui 4096 2007-12-12 13:12 .Trash-pliqui
and set the owner and group also as proxy

my squid.conf line
Quote:
cache_dir ufs /mnt/warehouse/squid3 10240 16 256
if i change this to the default directory works

i'm missing something?

thank you

I forgot to mention my fstab
Code:
proc            /proc           proc    defaults        0       0
/dev/mapper/nvidia_aheeibdi2 /               ext3    errors=remount-ro 0       1
/dev/mapper/nvidia_aheeibdi5 /boot           ext3    defaults        0       2
/dev/mapper/nvidia_aheeibdi6 none            swap    sw              0       0
/dev/hda1       /mnt/warehouse  ext3    defaults           1        1
/dev/hdd        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdc        /media/cdrom1   udf,iso9660 user,noauto     0       0

Last edited by pliqui; 12-12-2007 at 12:34 PM. Reason: forgot to add info
 
Old 12-12-2007, 01:36 PM   #2
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
Do your logs report any errors? ( They should be in /var/log/squid)

Let us know

Forrest
 
Old 12-12-2007, 03:13 PM   #3
pliqui
Member
 
Registered: Feb 2007
Location: Caracas, Venezuela
Distribution: Debian x64
Posts: 156

Original Poster
Rep: Reputation: 17
thank for the tip forrest, really appreciate it, still learning somethings about linux, and i checked the log and the swap directories wasnt created. Just had to run
Quote:
squid3 -z
and that was all.

Thank you very much for the tip.
 
Old 12-12-2007, 03:37 PM   #4
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
Glad I could help.

Forrest
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid3 on Ubuntu TCP_MISS sscultima Ubuntu 2 01-08-2008 04:28 AM
changing the default resolution CD_TOASTER Linux - Newbie 6 12-11-2007 08:35 PM
Squid3 on Ubuntu Server 7.04 sscultima Ubuntu 9 08-13-2007 10:15 AM
Changing default applications pharmd Ubuntu 2 12-09-2006 11:31 AM
changing default WM pmh6310 Linux - Newbie 5 06-11-2003 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration