LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   System update issue in Ubuntu 6.06 (http://www.linuxquestions.org/questions/linux-server-73/system-update-issue-in-ubuntu-6-06-a-584993/)

hallows1 09-16-2007 12:07 AM

System update issue in Ubuntu 6.06
 
I have recently ran the software update wizard in Ubuntu 6.06 LTS, when i did the latest update it played up with squid proxy and also with dansguardian. I have webmin installed on the server so that I can manage the server remotely, and when I try to start the squid proxy through webmin it comes back with the error displayed below:


Failed to start Squid :

FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'

Squid Cache (Version 2.5.STABLE12): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0



I then went into the squid.conf file in /etc/squid/ to reset this however I was unable to find this line.
Can someone please help me ASAP

Micro420 09-16-2007 01:10 AM

Maybe you can add this line manually in the squid configuration file?

Or manually start the squid server in /etc/init.d/ ?

hallows1 09-16-2007 01:25 AM

Thanks, but iv already tired both of these

SwellJoe 09-17-2007 03:19 AM

The best solution is to set the name of your system correctly. You can use Webmin to set it up in the Network Configuration: DNS Client page, plus you need to actually make the name resolve, either via a hosts file entry or a DNS record (preferred--just setting it in hosts doesn't do anything useful for your proxy users, which is why this check exists).

If you must use the visible_hostname option you can set it in Webmin's Squid module in the Administrative Options page. The field is labeled "Visible hostname".

But, if you use visible_hostname, any error pages it generates will point to a non-existent name.


All times are GMT -5. The time now is 10:23 AM.