On Monday, 5 July 2004 12:35, Puneet wrote:
> Hello everyone,
>
> I am new to linux.
>
> I wanted to install squid proxy server for our office network.
>
> i get the following eror when i try to start squid.
>
> > parseConfigFile: line 2052 unrecognized: 'eriva7'
> > FATAL: Could not determine fully qualified hostname.  Please set
>
> 'visible_hostname'
>
> > Squid Cache (Version 2.5.STABLE3): Terminated abnormally.
> > CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
> > Maximum Resident Size: 0 KB
> > Page faults with physical i/o: 358
> > /etc/rc.d/init.d/squid: line 162: 11750 Aborted
>
> in the squid.conf file, i have made 4 changes, allowed the proxy http port,
>
> added a acl of mygroup
>
> i have tried setting visible_hostname in the squid.conf file to eriva7 but
> it does not seem to help.
>
> i also tried the following commands
>
> [ [EMAIL PROTECTED] etc] hostname
> eriva7
> [ [EMAIL PROTECTED] etc] domainname
> eriva
>
> let me know what the solution is.
>
> thanks
> Puneet
Have you setup eriva7 in your /etc/hosts file ? If not your squid wont be able 
to get a fully qualified hostname for the server. Try setting say 
eriva7.domain.tld to point towards a internal IP. ?  Heres my settings.

[EMAIL PROTECTED] squid]# cat squid.conf | grep hostname
visible_hostname hdproxy.cks.co.za
unique_hostname hdproxy.cks.co.za
[EMAIL PROTECTED] squid]# hostname
hdproxy.cks.co.za
[EMAIL PROTECTED] squid]# cat /etc/hosts | grep hdproxy.cks.co.za
10.240.1.242            hdproxy.cks.co.za hdproxy
[EMAIL PROTECTED] squid]#
-- 
 Marc Hultquist ([EMAIL PROTECTED])
 Computerkit Systems (Pty) Ltd
 http://www.cks.co.za
 (P) +27 11 695 5317
 (F) +27 11 312 1408
 (C) +27 82 563 2861 
 Quote: Its a bad idea for geeks to be on low-carb diets. Low-carb means no 
sugar, no sugar means cravings, cravings mean a loss of concentration, losing 
concentration makes geeks irritable and geeks run the computers that run the 
world's banks and militaries !!! . . . . . . . �. YE GODS !!! Give me a 
frosted chocolate cake before we plunge into anarchy !!! - (c) J.D. "Illad" 
Frazer(Userfriendly.org)
Confidentiality Notice:
The above message and all attachments may contain privileged and confidential 
information intended only for the person or entity to which it is addressed. Any 
review, retransmission, dissemination, copy or other use of, or taking of any action 
in reliance upon this information by persons or entities other than the intended 
recipient is prohibited. If you received this message in error, please notify the 
sender immediately by e-mail, facsimile or telephone and thereafter delete the 
material from your computer. Any views expressed in this message are those of the 
individual sender, except where the sender specifically states them to be the view of 
the entity transmitting the message.  Computerkit Retail Systems (Pty) Ltd hereby 
distances itself from and accepts no liability in respect of the unauthorised use of 
its e-mail facility or the sending of e-mail communications for other than strictly 
business purposes

Reply via email to