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??? =( |
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/ =) |
CONFIRMED. it's working beautifully...
|
All times are GMT -5. The time now is 06:41 AM. |