Koozali.org: home of the SME Server

Yum [Errno 4] Socket Error: timed out

Offline compsos

  • *
  • 472
  • +0/-0
Yum [Errno 4] Socket Error: timed out
« 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.

  • mkdir /etc/e-smith/templates-custom/etc/yum.conf
  • pico -w /etc/e-smith/templates-custom/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.
« Last Edit: August 03, 2008, 12:46:41 AM by compsos »
Regards

Gordon............

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Yum [Errno 4] Socket Error: timed out
« Reply #1 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

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

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

TIA
Stefano

Offline compsos

  • *
  • 472
  • +0/-0
Re: Yum [Errno 4] Socket Error: timed out
« Reply #2 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?
Regards

Gordon............

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Yum [Errno 4] Socket Error: timed out
« Reply #3 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

Offline compsos

  • *
  • 472
  • +0/-0
Re: Yum [Errno 4] Socket Error: timed out
« Reply #4 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?
Regards

Gordon............