LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-30-2003, 01:16 PM   #1
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Exclamation Problem running Squid on Mandrake 9.1


i installed squid using "urpmi squid" on a fresh mandrake 9.1 (minimal, without x)...

i haven't been able to make it work cuz i'm getting stuff like this (i get the same when running "squid -z", "squid start", or "squid stop"):


[root@nikita squid]# squid -k reconfigure
FATAL: Icon Directory /usr/share/icons: (2) No such file or directory
Squid Cache (Version 2.5.STABLE1-20030121): Terminated abnormally.
CPU Usage: 0.010 seconds = 0.010 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 348
Aborted (core dumped)


also, i get stuff like this when starting or stopping squid from /etc/rc.d/init.d/squid:


[root@nikita root]# /etc/rc.d/init.d/squid start
init_cache_dir ufs:/mnt/squid... /etc/rc.d/init.d/squid: line 147: 1396 Aborted (core dumped) $SQUID -z -F 2>/dev/null
Starting squid: [ OK ]
/etc/rc.d/init.d/squid: line 148: 1398 Aborted (core dumped) $SQUID $SQUID_OPTS 2>/dev/null

[root@nikita root]# /etc/rc.d/init.d/squid stop
Stopping squid: /etc/rc.d/init.d/squid: line 147: 1462 Aborted (core dumped) $SQUID -k check >/dev/null 2>&1
[FAILED]


WHAT'S HAPPENING TO MY DELICIOUS SQUID???


=(

Last edited by win32sux; 12-30-2003 at 02:35 PM.
 
Old 12-30-2003, 02:34 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
okay it seems like i figured-it-out, i'll post to confirm it all works fine once i'm completely sure...

meanwhile, here's the two things i did:


i created a link to the place where i found the icons to be in reality:

ln -s /usr/lib/squid/icons/ /usr/share/icons


then i realized i had forgotten about permissions when i made the partition for squid's disk cache (/mnt/squid) during the mandrake install, so i changed the owner from root to squid:

chown -vR squid.squid /mnt/squid/

=)
 
Old 12-30-2003, 05:24 PM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
CONFIRMED. it's working beautifully...
 
  


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
Cant get my Squid to stay running? tdob Linux - Security 13 11-19-2005 04:01 PM
Problem in running Squid on Fedora 3 coolsandy Linux - Networking 0 09-05-2005 05:18 AM
libGL problem running quake3 on mandrake pulven Linux - Newbie 0 04-05-2004 08:27 AM
problem running Eclipse 2.1 on mandrake 9.2 nurien Linux - Software 3 01-08-2004 04:30 AM
Problem Running Mandrake 9.2 RC1, some sort of bug! hoser_9 Mandriva 14 09-10-2003 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:10 PM.

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