LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-16-2006, 07:20 PM   #1
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 430

Rep: Reputation: 30
Error: "Could not connect data socket, Connection timed out."


I installed PCLinuxOS to my harddrive and am having trouble updating the package list from the repositories. I've tried all the repositories and they all fail/time-out when I try to do an update. This is using Synaptic. When I tried using Kpackage instead, it timed-out, too but gave me the error message: "Could not connect data socket, Connection timed out." Is that a clue?

I use my DSL modem as a firewall.. The Shorewall software firewall that comes with PCLOS doesn't seem to make any difference whether it's on or off. I turned off the software firewall and noticed that it didn't change anything when I went to grc.com for a port scan, so I don't think it's a firewall issue, although someone here might very well know better.

Any ideas what's going on? TIA...
 
Old 01-16-2006, 10:02 PM   #2
maxfacta
Member
 
Registered: Aug 2004
Location: Perth, Australia
Distribution: Debian @ home + work :)
Posts: 66

Rep: Reputation: 22
If you are sure that your addresses are correct, then it sounds like a firewalling issue - either at your end, or the other! "Connection timed out" indicates that the host is up, but the packets are being silently dropped (as opposed to accepted or denied) - this is firewalling behaviour.

Why don't you post the server and port you are trying to connect to, and we can determine whether the problem lies with your configuration or the server (or if you have access to another machine not behind your firewall, try it from there).
 
Old 01-16-2006, 11:47 PM   #3
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 430

Original Poster
Rep: Reputation: 30
I don't know the port I'm trying to connect to. Here are the repositories. I've tried them all (not at the same time)- they all fail in the same way.

http://distro.ibiblio.org/pub/linux/...pclinuxos/apt/

ftp://ftp-linux.cc.gatech.edu/pub/me...pclinuxos/apt/

ftp://ftp.nluug.nl/pub/metalab/distr...pclinuxos/apt/

http://ftp.belnet.be/linux/pclinuxos/apt/
 
Old 01-17-2006, 12:07 AM   #4
maxfacta
Member
 
Registered: Aug 2004
Location: Perth, Australia
Distribution: Debian @ home + work :)
Posts: 66

Rep: Reputation: 22
ahh, they are http/ftp connections (so you do know what ports you are connecting to . They are accessible from here, indicating the problem is at your end. Can you post the results of
#iptables -L
#iptables -L -t nat
You will need to be root to run these.
 
Old 01-17-2006, 12:13 AM   #5
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 430

Original Poster
Rep: Reputation: 30
# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Thank you for your help.
 
Old 01-17-2006, 01:26 AM   #6
maxfacta
Member
 
Registered: Aug 2004
Location: Perth, Australia
Distribution: Debian @ home + work :)
Posts: 66

Rep: Reputation: 22
OK, so there's nothing intefering with your outgoing traffic. What happens if you run:

telnet distro.ibiblio.org 80

If this results in a telnet prompt, then it seeems to point to some configuration issue with your package management tools (which is suspicious, given that there is more than one of them - unless they utilise some global configuration). I use apt-get, and have no experience with higher level tools.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Unable to establish ICE Listeners: Cannot Socket..." Error!!! cqmyg5 Slackware 6 04-15-2012 12:37 AM
Error message "do_ypcall: clnt_call: RPC: Timed out" mks_jangra Linux - Networking 4 10-24-2006 06:29 AM
nslookup gives "connection timed out; no server could be reached" hello321_1999 Linux - Networking 3 11-26-2004 11:23 AM
"Undeleting" data using grep, but get "grep: memory exhausted" error SammyK Linux - Software 2 03-13-2004 03:11 PM
"document contains no data" error when i try to connect to SWAT on local machine squeaky-steve Linux - Networking 2 12-03-2003 08:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration