<br><font size=2 face="sans-serif">Adrian, Sulochan,</font>
<br><font size=2 face="sans-serif">Thanks for the guidance. </font>
<br>
<br><font size=2 face="sans-serif">==>First, it looks like I have multiple
"sysconfdir" directories when I do squid -v I see both /etc and
/etc/squid:</font>
<br>
<br><font size=2 face="Courier New">[root@schoolserver squid]# squid -v</font>
<br><font size=2 face="Courier New">Squid Cache: Version 2.6.STABLE16</font>
<br><font size=2 face="Courier New">configure options: '--build=i386-redhat-linux-gnu'
'--host=i386-redhat-linux-gn</font>
<br><font size=2 face="Courier New">u' '--target=i386-redhat-linux-gnu'
'--program-prefix=' '--prefix=/usr' '--exec-</font>
<br><font size=2 face="Courier New">prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--sysconfdir=/etc' '--in</font>
<br><font size=2 face="Courier New">cludedir=/usr/include' '--libdir=/usr/lib'
'--libexecdir=/usr/libexec' '--shared</font>
<br><font size=2 face="Courier New">statedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--exec</font>
<br><font size=2 face="Courier New">_prefix=/usr' '--bindir=/usr/sbin'
'--libexecdir=/usr/lib/squid' '--localstatedi</font>
<br><font size=2 face="Courier New">r=/var' '--datadir=/usr/share' '--sysconfdir=/etc/squid'
'--enable-epoll' '--ena</font>
<br><font size=2 face="Courier New">ble-snmp' '--enable-removal-policies=heap,lru'
'--enable-storeio=aufs,coss,diskd</font>
<br><font size=2 face="Courier New">,null,ufs' '--enable-ssl' '--with-openssl=/usr/kerberos'
'--enable-delay-pools'</font>
<br><font size=2 face="Courier New">'--enable-linux-netfilter' '--with-pthreads'
'--enable-ntlm-auth-helpers=SMB,fak</font>
<br><font size=2 face="Courier New">eauth' '--enable-external-acl-helpers=ip_user,ldap_group,unix_group,wbinfo_group</font>
<br><font size=2 face="Courier New">' '--enable-auth=basic,digest,ntlm'
'--enable-digest-auth-helpers=password' '--w</font>
<br><font size=2 face="Courier New">ith-winbind-auth-challenge' '--enable-useragent-log'
'--enable-referer-log' '--d</font>
<br><font size=2 face="Courier New">isable-dependency-tracking' '--enable-cachemgr-hostname=localhost'
'--enable-und</font>
<br><font size=2 face="Courier New">erscores' '--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SMB,YP,getpwnam,multi-</font>
<br><font size=2 face="Courier New">domain-NTLM,SASL' '--enable-cache-digests'
'--enable-ident-lookups' '--with-larg</font>
<br><font size=2 face="Courier New">e-files' '--enable-follow-x-forwarded-for'
'--enable-wccpv2' '--enable-fd-config</font>
<br><font size=2 face="Courier New">' '--with-maxfd=16384' 'build_alias=i386-redhat-linux-gnu'
'host_alias=i386-redh</font>
<br><font size=2 face="Courier New">at-linux-gnu' 'target_alias=i386-redhat-linux-gnu'
'CFLAGS=-fPIE -Os -g -pipe -f</font>
<br><font size=2 face="Courier New">signed-char' 'LDFLAGS=-pie'</font>
<br>
<br><font size=2 face="sans-serif">===>Here's the first part of /etc/init.d/squid
: </font>
<br>
<br><font size=2 face="Courier New">#!/bin/bash</font>
<br><font size=2 face="Courier New"># squid
This shell script takes care of starting and stopping</font>
<br><font size=2 face="Courier New">#
Squid Internet Object Cache</font>
<br><font size=2 face="Courier New">#</font>
<br><font size=2 face="Courier New"># chkconfig: - 90 25</font>
<br><font size=2 face="Courier New"># description: Squid - Internet Object
Cache. Internet object caching is \</font>
<br><font size=2 face="Courier New"># a way to store
requested Internet objects (i.e., data available \</font>
<br><font size=2 face="Courier New"># via the HTTP,
FTP, and gopher protocols) on a system closer to the \</font>
<br><font size=2 face="Courier New"># requesting site
than to the source. Web browsers can then use the \</font>
<br><font size=2 face="Courier New"># local Squid
cache as a proxy HTTP server, reducing access time as \</font>
<br><font size=2 face="Courier New"># well as bandwidth
consumption.</font>
<br><font size=2 face="Courier New"># pidfile: /var/run/squid.pid</font>
<br><font size=2 face="Courier New"># config: /etc/squid/squid.conf</font>
<br><font size=2 face="Courier New">#set -x</font>
<br>
<br><font size=2 face="Courier New">PATH=/usr/bin:/sbin:/bin:/usr/sbin</font>
<br><font size=2 face="Courier New">export PATH</font>
<br>
<br><font size=2 face="Courier New"># Source function library.</font>
<br><font size=2 face="Courier New">. /etc/rc.d/init.d/functions</font>
<br>
<br><font size=2 face="Courier New"># Source networking configuration.</font>
<br><font size=2 face="Courier New">. /etc/sysconfig/network</font>
<br>
<br><font size=2 face="Courier New"># Check that networking is up.</font>
<br><font size=2 face="Courier New">[ ${NETWORKING} = "no" ]
&& exit 0</font>
<br>
<br><font size=2 face="Courier New"># check if the squid conf file is present</font>
<br><font size=2 face="Courier New">[ -f /etc/squid/squid.conf ] || exit
0</font>
<br>
<br><font size=2 face="Courier New">if [ -f /etc/sysconfig/squid ]; then</font>
<br><font size=2 face="Courier New"> . /etc/sysconfig/squid</font>
<br><font size=2 face="Courier New">fi</font>
<br>
<br><font size=2 face="sans-serif">==> Here is my /etc/services with
3128 defined to be for squid</font>
<br>
<br><font size=2 face="Courier New">[root@schoolserver etc]# grep -B4 -A4
"3128" /etc/services</font>
<br><font size=2 face="Courier New">ninstall 2150/tcp
# ninstall service</font>
<br><font size=2 face="Courier New">ninstall 2150/udp
# ninstall service</font>
<br><font size=2 face="Courier New">afbackup 2988/tcp
# Afbackup system</font>
<br><font size=2 face="Courier New">afbackup 2988/udp
# Afbackup system</font>
<br><font size=2 face="Courier New">squid
3128/tcp
# squid web proxy</font>
<br><font size=2 face="Courier New">prsvp
3455/tcp
# RSVP Port</font>
<br><font size=2 face="Courier New">prsvp
3455/udp
# RSVP Port</font>
<br><font size=2 face="Courier New">distcc
3632/tcp
# distcc</font>
<br><font size=2 face="Courier New">svn
3690/tcp
# Subversion</font>
<br>
<br><font size=2 face="sans-serif">==> When I look for 3128 in HTTPD
land, I get this:</font>
<br>
<br><font size=2 face="Courier New">[root@schoolserver etc]# cd httpd</font>
<br><font size=2 face="Courier New">[root@schoolserver httpd]# grep -R
"3128" /etc/httpd</font>
<br><font size=2 face="Courier New">grep: /etc/httpd/run/dbus/system_bus_socket:
No such device or address</font>
<br><font size=2 face="Courier New">grep: /etc/httpd/run/avahi-daemon/socket:
No such device or address</font>
<br><font size=2 face="Courier New">/etc/httpd/conf/httpd.conf:Listen 3128</font>
<br>
<br><font size=2 face="sans-serif">==> Here are the relevant lines of
the HTTPD configuration:</font>
<br>
<br><font size=2 face="sans-serif">[root@schoolserver conf]# grep -B11
"3128" /etc/httpd/conf/httpd.conf</font>
<br>
<br><font size=2 face="Courier New">#</font>
<br><font size=2 face="Courier New"># Listen: Allows you to bind Apache
to specific IP addresses and/or</font>
<br><font size=2 face="Courier New"># ports, in addition to the default.
See also the <VirtualHost></font>
<br><font size=2 face="Courier New"># directive.</font>
<br><font size=2 face="Courier New">#</font>
<br><font size=2 face="Courier New"># Change this to Listen on specific
IP addresses as shown below to</font>
<br><font size=2 face="Courier New"># prevent Apache from glomming onto
all bound IP addresses (0.0.0.0)</font>
<br><font size=2 face="Courier New">#</font>
<br><font size=2 face="Courier New">#Listen 12.34.56.78:80</font>
<br><font size=2 face="Courier New">Listen 80</font>
<br><font size=2 face="Courier New">Listen 3128</font>
<br>
<br><font size=2 face="sans-serif">==> I added a "#" to comment
out the Listen 3128 and that seems to fix the problem. I got</font>
<br><font size=2 face="sans-serif">"[OK]" on manually restarting
Apache and squid, and it also starts on boot now.</font>
<br>
<br><font size=2 face="Courier New">[root@schoolserver conf]# service httpd
restart</font>
<br><font size=2 face="Courier New">Stopping httpd:
[ OK ]</font>
<br><font size=2 face="Courier New">Starting httpd:
[ OK ]</font>
<br><font size=2 face="Courier New">[root@schoolserver conf]# service squid
start</font>
<br><font size=2 face="Courier New">Starting squid: .
[ OK ]</font>
<br><font size=2 face="Courier New">[root@schoolserver conf]#</font><font size=2 face="sans-serif"><br>
</font>
<br><font size=2 face="sans-serif">Perhaps Wad should make these changes
part of the next XS LiveCD build?</font>
<table>
<tr>
<td>
<tr>
<td><font size=1><br>
</font>
<table>
<tr>
<td>
<td><font size=1 color=#0060a0 face="Microsoft Sans Serif"><b>Tony Pearson</b></font><font size=1 face="Microsoft Sans Serif"><br>
Senior Storage Consultant, IBM System Storage™<br>
Telephone: +1 520-799-4309 | tie 321-4309 | Cell: +1 520 990-8669<br>
email: tpearson@us.ibm.com | GSA: http://tucgsa.ibm.com/~tpearson<br>
Blog: http://www.ibm.com/developerworks/blogs/page/InsideSystemStorage
AKA: 990tony Paravane, eightbar specialist </font></table>
<br>
<tr>
<td></table>
<br>