This is the error message I get when I try to run Squid.
(in RH9 Squid version 2.5.STABLE1)
init_cache_dir /var/spool/squid... /etc/init.d/squid: line 162: 1285 Aborted
$SQUID -z -F -D 2>/dev/null
Starting squid: /etc/init.d/squid: line 162: 1286 Aborted $SQUID $SQUID_OPTS 2>/dev/null
This happened during a standard installation.
When I try to create cache dirs (squid -z) or run squid, it gives this error
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.5.STABLE1): Terminated abnormally.
CPU Usage: 0.020 seconds = 0.010 user + 0.010 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 389
In RH8 (Squid 2.4.STABLE7), I did not have a problem. I had included Squid (default rpm installation) and it ran well. I wanted to enable delay pools this time. So I tried to manually configure it (was my first compilation, by the way....never ./configure(d) before). Of course, I went through a few documentations before compiling Squid and then tried it. Didn't work.
Then I installed RH9. It gave me the errors shown above. In RH9, I couldn't even get Squid working through a standard default installation (in RH8 it did).
I suspect something wrong in the path configuration. In default installations, squid usually installs itself in /etc/squid, whereas manually, it defaults to /usr/local/squid. So I guess there must be something I missed. (I really tried to work it out and I am exhausted now!!).
Also, are there some specific compilers needed when it is run manually? I don't know, so I just installed the standard compilers (gcc and all that stuff). If somebody can give me a list of all the compilers needed specifically(and maybe its clones), I'd be very grateful.
Now, I don't know what to do. I can switch back to RH8 with the default squid installation (that works). But I really need the "delay pools" feature. So I guess I'll have to hang around for a little while....
Note: I had chown(ed) all squid-related dirs to squid too. In squid.conf, I set the cache_effective_user & group to squid. I used the default path for logs and cache and also tried using a user-defined path. Zit !!!
Thanks for the interest.
Edit:- I had referred to www.tldp.org.,
howto section (Bandwidth limiting HOWTO)