FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 02-09-2008, 08:14 PM
Karl Larsen
 
Default How to load squid was localhost

I got the ip of localhost corrected and know what it is used for.
But that is not the problem. I want to use squid to process data going
to my Firefox but it will not load on my Ubuntu. Here is what it says:

Unpacking squid-common (from .../squid-common_2.6.14-1ubuntu2.1_all.deb) ...
Selecting previously deselected package squid.
Unpacking squid (from .../squid_2.6.14-1ubuntu2.1_i386.deb) ...
Setting up squid-common (2.6.14-1ubuntu2.1) ...
Setting up squid (2.6.14-1ubuntu2.1) ...
Creating squid spool directory structure
FATAL: Could not determine fully qualified hostname. Please set
'visible_hostname'

Squid Cache (Version 2.6.STABLE14): Terminated abnormally.

So I need a 'visable hostname' but know that the ip is 127.0.0.1


Karl


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-09-2008, 08:23 PM
Padraig
 
Default How to load squid was localhost

On Feb 9, 2008 4:14 PM, Karl Larsen <k5di@zianet.com> wrote:

* *I got the ip of localhost corrected and know what it is used for.
But that is not the problem. I want to use squid to process data going
to my Firefox but it will not load on my Ubuntu. Here is what it says:


Unpacking squid-common (from .../squid-common_2.6.14-1ubuntu2.1_all.deb) ...
Selecting previously deselected package squid.
Unpacking squid (from .../squid_2.6.14-1ubuntu2.1_i386.deb) ...
Setting up squid-common (2.6.14-1ubuntu2.1) ...

Setting up squid (2.6.14-1ubuntu2.1) ...
Creating squid spool directory structure
FATAL: Could not determine fully qualified hostname. *Please set
'visible_hostname'

Squid Cache (Version 2.6.STABLE14): Terminated abnormally.


So I need a 'visable hostname' but know that the ip is 127.0.0.1
Just out of curiosity...for what purpose are you using squid?* Squid is used mainly as a proxy server for companies to restrict access to non-productive and inappropriate websites.



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-09-2008, 08:42 PM
Karl Larsen
 
Default How to load squid was localhost

Padraig wrote:
> On Feb 9, 2008 4:14 PM, Karl Larsen <k5di@zianet.com> wrote:
>
>
>> I got the ip of localhost corrected and know what it is used for.
>> But that is not the problem. I want to use squid to process data going
>> to my Firefox but it will not load on my Ubuntu. Here is what it says:
>>
>> Unpacking squid-common (from .../squid-common_2.6.14-1ubuntu2.1_all.deb)
>> ...
>> Selecting previously deselected package squid.
>> Unpacking squid (from .../squid_2.6.14-1ubuntu2.1_i386.deb) ...
>> Setting up squid-common (2.6.14-1ubuntu2.1) ...
>> Setting up squid (2.6.14-1ubuntu2.1) ...
>> Creating squid spool directory structure
>> FATAL: Could not determine fully qualified hostname. Please set
>> 'visible_hostname'
>>
>> Squid Cache (Version 2.6.STABLE14): Terminated abnormally.
>>
>> So I need a 'visable hostname' but know that the ip is 127.0.0.1
>>
>
>
> Just out of curiosity...for what purpose are you using squid? Squid is used
> mainly as a proxy server for companies to restrict access to non-productive
> and inappropriate websites.
>
>
It is a very good filter of popup and other CRAP people send with
their web pages.

I never see them if I can get squid and proxi loaded and working.

Karl


--

Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-09-2008, 08:51 PM
Thilo Six
 
Default How to load squid was localhost

Karl Larsen wrote the following on 09.02.2008 22:14

</snip>

> FATAL: Could not determine fully qualified hostname. Please set
> 'visible_hostname'
>
> Squid Cache (Version 2.6.STABLE14): Terminated abnormally.
>
> So I need a 'visable hostname' but know that the ip is 127.0.0.1

What´s in your /etc/hostname?

> Karl

--
bye Thilo

key: 0x4A411E09


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-09-2008, 09:13 PM
Karl Larsen
 
Default How to load squid was localhost

Thilo Six wrote:
> Karl Larsen wrote the following on 09.02.2008 22:14
>
> </snip>
>
>
>> FATAL: Could not determine fully qualified hostname. Please set
>> 'visible_hostname'
>>
>> Squid Cache (Version 2.6.STABLE14): Terminated abnormally.
>>
>> So I need a 'visable hostname' but know that the ip is 127.0.0.1
>>
>
> What´s in your /etc/hostname?
>
>
>> Karl
>>
>
>
This:
root@karl-desktop:/etc# more hostname
karl-desktop


This was put there by Ubuntu I imagine.

Karl



--

Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-10-2008, 02:48 PM
jim barnes
 
Default How to load squid was localhost

On Saturday 09 February 2008 02:14:00 pm Karl Larsen wrote:
> I got the ip of localhost corrected and know what it is used for.
> But that is not the problem. I want to use squid to process data going
> to my Firefox but it will not load on my Ubuntu. Here is what it says:
>
> Unpacking squid-common (from .../squid-common_2.6.14-1ubuntu2.1_all.deb)
> ... Selecting previously deselected package squid.
> Unpacking squid (from .../squid_2.6.14-1ubuntu2.1_i386.deb) ...
> Setting up squid-common (2.6.14-1ubuntu2.1) ...
> Setting up squid (2.6.14-1ubuntu2.1) ...
> Creating squid spool directory structure
> FATAL: Could not determine fully qualified hostname. Please set
> 'visible_hostname'
>
> Squid Cache (Version 2.6.STABLE14): Terminated abnormally.
>
> So I need a 'visable hostname' but know that the ip is 127.0.0.1
>
>
> Karl

Not knowing if you are using a gui to admin squid, i.e. swat or webmin, we'll
look squid.conf directly.

Within the file /etc/squid/squid.conf look under the heading
ADMINISTRATIVE PARAMETERS
for the tag
# TAG: visible_hostname
# If you want to present a special hostname in error messages, etc,
# define this. Otherwise, the return value of gethostname()
# will be used. If you have multiple caches in a cluster and
# get errors about IP-forwarding you must set them to have individual
# names with this setting.
#
#Default:
# none

run the command hostname

root@gateway:~# hostname
gateway

For squid to start, I insert the tag into squid.conf: (below TAG:
visible_hostname or at the end of file is fine)

visible_hostname gateway.localnet

and restart squid

you can use a name such as hostname.site , hostname.mynetwork , etc., it
doesn't really matter.

HTH,
--
Jim Barnes
--
Certainly the game is rigged. Don't let that stop you;
if you don't bet, you can't win. -Lazarus Long
--
Linux 2.6.22.16-0.2-default

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-10-2008, 03:00 PM
jim barnes
 
Default How to load squid was localhost

On Sunday 10 February 2008 08:48:08 am jim barnes wrote:
>
> Not knowing if you are using a gui to admin squid, i.e. swat or webmin,
> we'll look squid.conf directly.
>

Oops, forget swat, that's for samba, doh! ^^^
Jim Barnes
--
Certainly the game is rigged. Don't let that stop you;
if you don't bet, you can't win. -Lazarus Long
--
Linux 2.6.22.16-0.2-default

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-10-2008, 03:44 PM
Karl Larsen
 
Default How to load squid was localhost

jim barnes wrote:
> On Sunday 10 February 2008 08:48:08 am jim barnes wrote:
>
>> Not knowing if you are using a gui to admin squid, i.e. swat or webmin,
>> we'll look squid.conf directly.
>>
>>
>
> Oops, forget swat, that's for samba, doh! ^^^
> Jim Barnes
> --
> Certainly the game is rigged. Don't let that stop you;
> if you don't bet, you can't win. -Lazarus Long
> --
> Linux 2.6.22.16-0.2-default
>
>
I am using /etc/squid.conf to control squid. This is how it should
be. You do not need a thing to control it but an editor.

What I want to do is from a web page and I had it running in Fedora
8 just fine. The web page is:


http://www.melvilletheatre.com/articles/squid-privoxy/index.html

This is written for a Fedora user but I see no reason yet why it will
not work on Ubuntu.


Karl


--

Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-10-2008, 07:27 PM
jim barnes
 
Default How to load squid was localhost

On Sunday 10 February 2008 09:44:07 Karl Larsen wrote:
>
> I am using /etc/squid.conf to control squid. This is how it should
> be. You do not need a thing to control it but an editor.
>

Not true, you need some common sense also!
Read squid.conf, edit TAG: visible_hostname, and get on with it.
--
Jim Barnes
--
Certainly the game is rigged. Don't let that stop you;
if you don't bet, you can't win. -Lazarus Long
--
Linux 2.6.20-16-generic

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-10-2008, 07:51 PM
Karl Larsen
 
Default How to load squid was localhost

jim barnes wrote:
> On Sunday 10 February 2008 09:44:07 Karl Larsen wrote:
>
>> I am using /etc/squid.conf to control squid. This is how it should
>> be. You do not need a thing to control it but an editor.
>>
>>
>
> Not true, you need some common sense also!
> Read squid.conf, edit TAG: visible_hostname, and get on with it.
>
I have done many things to that tag. Is it asking too much for you
to give a hint as to what I should do besides un-commenting it?

Bet you can't :-)


Karl


--

Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 03:23 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org