Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: compsos on August 02, 2008, 08:26:06 AM

Title: Yum [Errno 4] Socket Error: timed out
Post by: compsos on August 02, 2008, 08:26:06 AM
Hi
We have been having the above messages on systems connected via high latency 2 way satellite systems.
The following appears to have improved the performance considerably.


Where http://xxx.xxx.xxx.xxx is the address of an upstream proxy and Port the proxy port
(ie) For Directway satellite equipment http://192.168.0.1:87

We had previously tried SquidParent and SquidParentProxy but that made now difference to you updates.
Title: Re: Yum [Errno 4] Socket Error: timed out
Post by: Stefano on August 02, 2008, 11:16:28 AM
Hi
We have been having the above messages on systems connected via high latency 2 way satellite systems.
The following appears to have improved the performance considerably.

  • mkdir /etc/e-smith/templates/etc/yum.conf
  • pico -w /etc/e-smith/templates/etc/yum.conf/10main_proxy
  • type proxy=http://xxx.xxx.xxx.xxx:Port
  • Ctrl o Ctrl x
  • expand-template /etc/yum.conf

Where http://xxx.xxx.xxx.xxx is the address of an upstream proxy and Port the proxy port
(ie) For Directway satellite equipment http://192.168.0.1:87

We had previously tried SquidParent and SquidParentProxy but that made now difference to you updates.


hi

it should be


BTW, using the same proxy setup in the main sme configuration doesn't do the job?
could you please make a test?

TIA
Stefano
Title: Re: Yum [Errno 4] Socket Error: timed out
Post by: compsos on August 03, 2008, 12:50:19 AM
Hi Stefano
Thank you for the correction to the custom directory. A typo.

Setting SquidParent and SquidParentPort did not work on all the systems on 2 way satellite. But this does work for Yum. Could it be that yum does not make its call via squid?
Title: Re: Yum [Errno 4] Socket Error: timed out
Post by: Stefano on August 03, 2008, 12:07:30 PM
Hi Stefano
Thank you for the correction to the custom directory. A typo.

Setting SquidParent and SquidParentPort did not work on all the systems on 2 way satellite. But this does work for Yum. Could it be that yum does not make its call via squid?

well.. I don't know :-)

you'd better raise a bug.. eventually a new fragment and 2 new db variables could be created

Ciao
Stefano
Title: Re: Yum [Errno 4] Socket Error: timed out
Post by: compsos on August 03, 2008, 11:53:43 PM
A bug is fine but this may have been due also to a unique communications configuration.
2Way Sat --> Debian Box (Satellite drivers) --> SME

But I have also found on the web others using CentOS and RH having Yum issues with 2 way satellite proxy.

Who else has been having yum download issues?