CentOS 5 Networking :: Transactions Timeout - Yum / Wget And HTTP
Apr 28, 2011
I am having a problem with 5.4 that I did not have with 4.5. The problem happens only sometimes but in specific instances. Basically a summary of the problem is that certain network transactions timeout. The specific instances are with wget, rpm, http. The problem usually, but not always, occurs with pptp stuff. (NOT running pptp but getting pptp stuff). For instance, the following command, which finishes in seconds on non-5.4 OS's:
wget [URL]
downloads about 20% then gets stuck. About 5 minutes later it downloads another 20% and then gets stuck, etc. The same thing with rpm:
rpm -ivh [URL]
waits about 3 minutes and then gives an error. I think it does the same thing as the wget but
wget will keep trying, while rpm gives up. The error from rpm:
Retrieving [URL]
..five minutes later:
I can wget the above as I mentioned before and install it that way. Before I do it, yum works fine. Afterwards, yum exhibits the same behavior of timing out (because it is using the pptp repository). Also visiting the pptp web site from Firefox times out on certain pages. I originally thought it was some problem with the pptp site, but I notice that log into hotmail.com. Does the same thin (fine on other operating systems). A view with Wireshark on the wget (pptp) shows the my machine receiving a reassembled TCPPDU from 216.34.181.96 (Sourceforge), sending an ack, receiving a reassembled PDU, sending an ack, receiving, sending followed by the 5 minutes or whatever of nothing. Then sourceforge sends an RST and a SYN and the process is repeated.
When I put the machine directly on an AT&T IP connection (12.147.X.Y) everything worked fine. Same with Comcast on a direct link. The times I am having problems is when our router is hooked up to a Comcast IP (70.88.X.Y) and assigns 192.168.5.X addresses to our machines. So when I was doing the above from 192.168.5.27 going through the router through Comcast is when I had the problem. So it is probably something with the router, but it is hard to figure out since CentOS 4.5 and Fedora do not exhibit this behavior, nor does 5.4 on most sites (mail.yahoo.com for instance). I did verify, at least from what I could, that ICMP type 3 and 4 are not being blocked. If they were, the same problem would happen on other op systems. And I was able to ping, albeit just locally, but we looked at the router settings and ping was not blocked.
View 1 Replies
ADVERTISEMENT
Jul 7, 2010
we have a Red Hat server and I'm using wget in crontab to run some PHP scripts. We've been doing this for some time now and it's been working fine.I tried to add another script using wget to run a PHP script behind HTTP authentication. However, despite the fact that the URL works fine and the username and password are correct, we are getting Connection Timed Out errors each time. What might cause wget to work for unauthenticated URLs, but not authenticated ones?
I've tried --user=/--password=, --http-user=/--http-password and Username:Password@ in the URL and all three fail the same way. Here's the command in question:
[blahblah user]# wget -t 5 -O /dev/null 'http://Username:Password1!@test.example.com/sub/dir/file-name.php'
--2010-07-07 10:11:55-- http://Username:*password*@test.example.com/sub/dir/file-name.php
Resolving test.example.com... 000.000.000.000
[code]....
Again, wget works, the file with authentication works, but wget calling the file with authentication does not work.
UPDATE: Actually, I get the same timeout if I access the authenticated URL without authentication. Could that mean that Apache is rejecting wget requests for authentication outright?
View 2 Replies
View Related
Oct 11, 2010
I would like to find out how I would use both curl and wget to sent an http post to get the hostnames of a few servers. I know am not even given any work of anything I have done, but the reason is that I am really lost, and I do not even know how to start it.
View 4 Replies
View Related
Jun 24, 2011
i am using fc9 server i installed Apache web-server i kept some datafile in my html folder when tried to download remotely through web i can download the file tried to get the file in remotely through wget command i am unable to get the fileor is failed: Connection timed out Retrying below the steps i tried it
my target file is http://X.X.X.X/test.zip
wget -T 0 http://X.X.X.X/test.zip
wget http://X.X.X.X/test.zip
[code]...
View 1 Replies
View Related
May 27, 2009
I have centos 5.3 server and the problem is the ssh timeout time set to 10 minutes of inactivity. I want to set the timeout to 1 hour, how can I set the timeout time?
View 1 Replies
View Related
Jan 17, 2011
we got a dell nf600 network storage server which functions as headnode for our little computing-grid and network storage system
i did a normal install of centos 5.4, upgraded to 5.5 and so far there haven't been any problems with one exception:there are 2 harddisk configurations present on the box:
- a raid system where i store all the data with 4TB, mirrored
- a harddrive where the system files are stored
the network access happens via samba and nfs and is fast enough, but when i want to copy something from the raid to the single harddrive or vice-versa, or make some bigger file operations on the raid, the system slows down VERY much and is not responsive at all that there should be some extra-configuration for the filesystem/raid controller/... but i don't know where to start looking i would appreciate it very much if someone could help me further - and i will ofc provide all the configuration files you need for that (i just don't know which ones to post here in the first place)i'm not too lazy to read through some manuals, if you know a good one for setting up a fileserver in centos (with info how to tweak performance)
View 3 Replies
View Related
Sep 23, 2009
I'm debugging some kind of a SOAP problem. I can use wget for any domain I want, besides domains that are hosted on the server itself.
What could it be? Centos firewall & selinux are turned off.
(domains / ips removed from code)
[root@http1 ~]# wget http://www.google.com
--12:09:53-- http://www.google.com/
Resolving www.google.com... 74.125.93.103, 74.125.93.104, 74.125.93.105, ...
Connecting to www.google.com|74.125.93.103|:80... connected.
[Code].....
View 4 Replies
View Related
Jan 19, 2009
When I attempt to install a new hardware system over the wire via NFS I get the following error:"unable ro retrieve http://192.168.0.1//install/images/stage2.img."The httpd.conf file is configured to use /var/www/html as the root. I have placed the installation files in /var/www/html/install. In the http install screen I enter the following information:Web site name: 192.168.0.101CentOS directory: installI have tried many different variations in these two entires, but the error always is the samw: the installation script searches for an address which has an extra / character interposed between the server IP address and the directory path entered in the next line.
View 6 Replies
View Related
May 16, 2010
I'm trying to set up a server for an NPO who connects to the Internet through an internal proxy (Websense). I can't access the Internet unless through the proxy.
Since it's a server I did not install a GUI so I'm wondering how to connect the new server to said proxy server. I have the IP address, port number and username-password for the proxy server. The new server has a static IP address and is ready too go!
View 6 Replies
View Related
Aug 11, 2011
i am forwarding HTTP request to a internal server, it is quiet successful but access logs donot show the ip of the external m/c. Rather it shows the ip of the machine on which i have enabled port forwarding.
View 2 Replies
View Related
Sep 27, 2010
Using netcat, nc(1), craft a valid http/1.1 request for getting http headers (not the html file itself!) for the main index page of www dot aalto dot fi. What request method did you use? Which headers did you need to send to the server? What was the status code for the request? Which headers did the server return? Explain the purpose of each header.
nc -v www dot aalto dot fi 8080
HEAD / HTML/1.1
host: www dot aalto dot fi
And it returns:
200 OK
Content-Length: 858
Content-Type: text/html
Last-Modified: Thu, 02 Sep 2010 12:46:01 GMT
[Code]....
I really don't know what does it mean. Question 2: Using netcat, nc(1), start a bogus web server listening on the loopback interface port 8080. Verify with netstat(, that the server really is listening where it should be. Direct your browser to the bogus server and capture the User-Agent: header "Direct your browser to the bogus server and capture the User-Agent: header" I don't understand this question.
View 2 Replies
View Related
Dec 21, 2010
Some time yesterday, I lost the ability to ssh my remote server, or even visit any webpages it hosts.
I've explored hosts.deny, /var/log/secure and even turned iptables off to see if it would fix anything. To no avail. Here's what my ssh login attempt looks like:
Quote:
localhost ~ $ ssh -vv x.x.x.x
OpenSSH_5.2p1, OpenSSL 0.9.8l 5 Nov 2009
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
[Code]....
View 5 Replies
View Related
May 21, 2011
I'm trying to setup a Centos 5.6 Squid Proxy Server with Content Filtering & Antivirus Scanning Incoming HTTP Traffic from the Internet
I then proceeded to setup an configure the Proxy Server, i was able to test and confirm that Squid and Dansguardian Content Filter is working, however i dont know if Clamav is scanning HTTP traffic before it hits the client/server. Is there a way i can check if the Antivirus scanning is working.. is there some log file or real world test i can i can do to confirm that Clamav is scanning incoming traffic or even blocking potential viruses ??
Anyone who has squid proxy server with Clamav configured and its working can share there settings/setup with me and how they tested it ??
View 1 Replies
View Related
Apr 15, 2010
pulled up an old clunker and put centos 5.4 on it the other day. well the grub spash screen appears but i have to manually hit enter to select a kernel.at the /boot/grub/grub.conf file and timeout=5. this is a new install. so I tried changing that value to 0 and it does boot the kernel immediately but never displays the splash screen. so something is not right I assume. btw I see a message (loading stage 2) for about 20 seconds as the computer boots and I have never seen that message on my ubuntu machine, so I wonder if something is off there.
View 4 Replies
View Related
Aug 4, 2011
I set the default os to boot as windows 7 with a timeout of 1 second. I thought that this would be enough time to switch os ubuntu when i need to, but I am unable to. How can i reset the timeout to 3 seconds? I also cannot view the ubuntu partition within windows because of ubuntu's file system.
View 9 Replies
View Related
May 16, 2011
The normal distros now ship with an executable called "timeout". Will CentOS be including this new "timeout" command in an upcoming release?
I read that CentOS did not include it (yet) because of a name conflict with another package.
View 1 Replies
View Related
May 4, 2010
The problems I was having earlier: [URL]seemed to be solved.
I was not getting any error messages after restart. I should have powered down fully, but did not think that it would make a difference. :(
The same issue is again occurring, but after shutdown ONLY and only on the first boot. After the first boot, a system restart will not cause any error messages. (I have rebooted at least ten or twenty times to make sure)
But after a system shutdown, the first boot hangs up and I get the
"Red Hat nash version 5.1.19.6 starting hdb: timeout waiting for DMA hdb: drive not ready for command"
errors five or six times before each boot. Also the system boots very slowly the first time.
I used the getinfo.sh all command and posted the info to the suggested site here: [URL]
Is it possible this could be a hardware issue? This is an old salvaged HDD. Ive changed everything I c an think of in the BIOS with no results.
I have used the hdparm -d /dev/hdb command and verified that dma is not being used on initial boot or after a shutoff but IS being used after a reboot...
here are the HDD settings
/dev/hdb:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
[Code]....
View 2 Replies
View Related
Jun 8, 2011
One person using our DNS servers reported a very curios problem. When he tries to access [url] he gets a timeout error. I tried loading the site using chrome, firefox and ie8 and I get the same results.
Here is what dig gives me:
If I use google DNS I get the correct response:
View 7 Replies
View Related
May 3, 2010
I am a complete novice when it comes to Linux, but want to learn, and installed CentOS5 on an old P4 Dell I had lying around.
Dell Dimension 8100 BIOS is version A02
Install seemed to go fine, but when I power up I get the following message
Red Hat nash version 5.1.19.6 starting
hdb: timeout waiting for DMA
hdb: drive not ready for command
this happens a few times each, then CentOS finally loads.
If Im understanding this right, DMA is direct memory access.
Is it possible the hard drive, motherboard etc does not support this?
View 5 Replies
View Related
May 25, 2010
I have the following cron configuration in the 'crontab' file:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=<--- REMOVED -->
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
20 16 * * 1-5 root wget [URL]
07 30 * * 1-5 root wget [URL]
11 30 * * 1-5 root wget [URL]
My focus is on the three WGET commands. The problem is the first one works fine, runs at 4:20 p.m., but the other two never run! If I visit [URL] it works fine but cron never runs it.
View 2 Replies
View Related
Dec 4, 2008
i was able to connect the first time following the instructions here: [URL]
1. first time i was able to connect i used the nx client for Mac OS X. I logged off.
2. then i decided to test this using Windows nx client and i got:
NX> 203 NXSSH running with pid: 604
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
[Code]...
View 10 Replies
View Related
Jun 19, 2011
If a wget download is interrupted (like if I have to shutdown prematurely), I get a wget.log with the partial download. How can I later resume the download using the data in wget.log? I have searched high and low (including wget manual) and cannot find how to do this. Is it so obvious that I did not see it? The wget -c option with the wget.log as the argument to the -c option does not work. What I do do is open the wget.log and copy the URL and then paste it into the command line and do another wget. This works but the download is started from the beginning, which means nothing in the wget.log is used.
View 2 Replies
View Related
Jan 21, 2010
After reading a lot of docs, I'm still having problems using wget to download a Centos repo from a mirror. Here's my best attempt so far:
$cd /repos/centos/5.4
$wget -r -nH --cut-dirs=3 -np [URL]
Of course I get all the unwanted index files etc, but I seem to get a lot of other downloads from the mirror, not just their 5.4 directory. It's like it's following other links on the web pages. Maybe I should be using "ftp://" instead of "http://" considering it's an ftp site, but I seem to have connection problems that way.
View 1 Replies
View Related
Mar 10, 2009
I have Centos 5.1 and im a total newbie. I have managed to get it running with Apache and PHP but after I install mysql it fails to start with the above error. I have removed it as well using YUM and reinstalled it but it still will not start.
View 4 Replies
View Related
Sep 3, 2009
I'm trying to get the options for rotate timeout to work and it does not.Timeout always seems to defaults to 1 sec no mater what value I set it to, which is fine but still the option does not work.I'm setting these according to the manpage for resolv.conf, please Let me know if I'm missing somethingHere is my resolv.conf file
domain spd.net
options timeout:1
options rotate
[code]....
View 1 Replies
View Related
Feb 4, 2010
I was having a problem on my squid server whereby 1 website would timeout daily and return a nscd not found error: [url]....There may be other sites but this is the only one I know of. A selection of other sites still work correctly, which is the strange thing.I have found that by restarting the dns cache everything works again: /etc/init.d/nscd restart.I never know quite when this will timeout so it is not very good for people accessing that site on the server.
View 3 Replies
View Related
Jun 2, 2011
I have a VPS running on centos-5-x86 and mysql server went down two days ago this is my mysql server log
110602 18:28:09 mysqld started
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
110602 18:28:14 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
[Code]...
View 1 Replies
View Related
Sep 4, 2010
I get this message when I run yum update kernel*
Code:
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package kernel.x86_64 0:2.6.34.6-47.fc13 set to be installed
--> Processing Dependency: linux-firmware >= 20100806-2 for package: kernel-2.6.34.6-47.fc13.x86_64
--> Running transaction check
[Code]...
View 1 Replies
View Related
Mar 30, 2010
I recently transferred my old Quicken data to GnuCash. That data includes some very old (15 years ago) transactions and accounts. How can I get rid of all transactions prior to, say, 1/1/2004? I would guess that the Close Book tool is relevant, but there's no documentation on it that I can find. I also want to get rid of ancient accounts, but when I try, I get a message to the effect that I can't delete read-only transactions. More generally, is there a place for asking GnuCash questions?
View 2 Replies
View Related
Sep 28, 2009
I was wondering how i can install thru FTP and/or HTTP if the source-path isn't correct recognized by the installer. e.g. http install
Server name:
The installer recognized
[url]
And i can't start the directory without a slash. So, the installer never will find the files it is looking for. Using CentOS 5.3.
View 5 Replies
View Related