Hi, I have configured my squid.conf settings and kept most of the settings as default to test the squid. but now, when i run the squid using squid service start or i try squid -z it shows following 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: 387 Aborted ----------
my visible_hostname is Taj1 I tried to comment visible_hostname also but same error...
(The hostname i have given is same as in the /etc/hosts . I have read all the docs and FAQs but still didnt find the solution.)
since i m running this on local network so didnt give any .com or any other domain.
I have uploaded my squid.conf on my server http://www.techbeta.com/4boards/squid.conf
I still dont know why its showing me that error.
can anyone please help me out.
regards Deep
try with squid -D
----- Original Message ----- From: "Deep" dee@techbeta.com To: linuxers@mm.ilug-bom.org.in Sent: Tuesday, November 04, 2003 3:22 PM Subject: [ILUG-BOM]Squid - Fatal Error: Please set 'visible_hostname'
Next LUG meet: 9 Nov 2003 around 4 pm - VJTI -------------------------------------------- Hi, I have configured my squid.conf settings and kept most of the settings as default to test the squid. but now, when i run the squid using squid service start or i try squid -z it shows following 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: 387 Aborted ----------
my visible_hostname is Taj1 I tried to comment visible_hostname also but same error...
(The hostname i have given is same as in the /etc/hosts . I have read all the docs and FAQs but still didnt find the solution.)
since i m running this on local network so didnt give any .com or any other domain.
I have uploaded my squid.conf on my server http://www.techbeta.com/4boards/squid.conf
I still dont know why its showing me that error.
can anyone please help me out.
regards Deep
Greetings,
Try this ...
Install webmin and let it do the config for you (backup your previous squid.conf file first) once webmin modifies the squid.conf do a diff with the original file and notedown the changes in a journal. This way you have your problem solved and a refrence/knowledgebase ready for future.
Regards
Deep wrote:
Next LUG meet: 9 Nov 2003 around 4 pm - VJTI
Hi, I have configured my squid.conf settings and kept most of the settings as default to test the squid. but now, when i run the squid using squid service start or i try squid -z it shows following 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: 387 Aborted
my visible_hostname is Taj1 I tried to comment visible_hostname also but same error...
(The hostname i have given is same as in the /etc/hosts . I have read all the docs and FAQs but still didnt find the solution.)
since i m running this on local network so didnt give any .com or any other domain.
I have uploaded my squid.conf on my server http://www.techbeta.com/4boards/squid.conf
I still dont know why its showing me that error.
can anyone please help me out.
regards Deep
Thanks S.K Rahman for the tip i will try webmin and let u people know :)
and Sachin i tried squid -D but same error so now as S.K.Rahman said i m gonna install webmin and give it a try.
btw i never expected so quick reply...very impressive...
thanks
Deep
S. K Rahman wrote:
Next LUG meet: 9 Nov 2003 around 4 pm - VJTI
Greetings,
Try this ...
Install webmin and let it do the config for you (backup your previous squid.conf file first) once webmin modifies the squid.conf do a diff with the original file and notedown the changes in a journal. This way you have your problem solved and a refrence/knowledgebase ready for future.
Regards
Deep wrote:
Next LUG meet: 9 Nov 2003 around 4 pm - VJTI
Hi, I have configured my squid.conf settings and kept most of the settings as default to test the squid. but now, when i run the squid using squid service start or i try squid -z it shows following 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: 387 Aborted
my visible_hostname is Taj1 I tried to comment visible_hostname also but same error...
(The hostname i have given is same as in the /etc/hosts . I have read all the docs and FAQs but still didnt find the solution.)
since i m running this on local network so didnt give any .com or any other domain.
I have uploaded my squid.conf on my server http://www.techbeta.com/4boards/squid.conf
I still dont know why its showing me that error.
can anyone please help me out.
regards Deep
Thanks alot thanks alot..
its working :)
As S.K Rahman suggested i installed webmin and it worked :)
thanks Deep
S. K Rahman wrote:
Next LUG meet: 9 Nov 2003 around 4 pm - VJTI
Greetings,
Try this ...
Install webmin and let it do the config for you (backup your previous squid.conf file first) once webmin modifies the squid.conf do a diff with the original file and notedown the changes in a journal. This way you have your problem solved and a refrence/knowledgebase ready for future.
Regards
Deep wrote:
Next LUG meet: 9 Nov 2003 around 4 pm - VJTI
Hi, I have configured my squid.conf settings and kept most of the settings as default to test the squid. but now, when i run the squid using squid service start or i try squid -z it shows following 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: 387 Aborted
my visible_hostname is Taj1 I tried to comment visible_hostname also but same error...
(The hostname i have given is same as in the /etc/hosts . I have read all the docs and FAQs but still didnt find the solution.)
since i m running this on local network so didnt give any .com or any other domain.
I have uploaded my squid.conf on my server http://www.techbeta.com/4boards/squid.conf
I still dont know why its showing me that error.
can anyone please help me out.
regards Deep
use your server name as the Visible HostName.. or use the IP address
and also do chech ur /etc/hosts file..
On Tue, 2003-11-04 at 15:22, Deep wrote:
Next LUG meet: 9 Nov 2003 around 4 pm - VJTI
Hi, I have configured my squid.conf settings and kept most of the settings as default to test the squid. but now, when i run the squid using squid service start or i try squid -z it shows following 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: 387 Aborted
my visible_hostname is Taj1 I tried to comment visible_hostname also but same error...
(The hostname i have given is same as in the /etc/hosts . I have read all the docs and FAQs but still didnt find the solution.)
since i m running this on local network so didnt give any .com or any other domain.
I have uploaded my squid.conf on my server http://www.techbeta.com/4boards/squid.conf
I still dont know why its showing me that error.
can anyone please help me out.
regards Deep