CentOS 5 :: Can't Update Using Http Protocol
Mar 14, 2011
In my workplace, I can't update Centos using http protocol, but, it's possible with ftp (I tried with Debian and it's work). How to configure the repositories in Centos 5.5, to download the packages by FTP?
View 4 Replies
ADVERTISEMENT
Jul 2, 2010
I'd like to permit to start download file when I click over some links. How can I to start download files through http protocol with apache 2?
View 5 Replies
View Related
Sep 6, 2010
When I installed CentOS, I forgot to modify the settings of Network Time Protocol. I need to do the following:
1. Enable Network Time Protocol.
2. Add a new ntp server to the list.
How I can do this after the installation. Is there an utility to handle this? or do I need to modify any files manually?
View 2 Replies
View Related
Jun 15, 2009
I just upgraded from Fedora 10 to 11 using yum preupgrade method. After what seems to be a successful upgrade, I get 2 boot errors warning icon at the log-in screen - one for ntpd and the other for httpd, both fail.
When trying to start http by command line the following error line appears:
Starting httpd: httpd: Syntax error on line 196 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_file_cache.so into server: /etc/httpd/modules/mod_file_cache.so: cannot open shared object file: No such file or directory
[FAILED]
In "Services" it shows httpd as being enabled, but not started. When I try to start it, it just gets stuck on refreshing.
View 9 Replies
View Related
Jan 30, 2010
I recently installed fedora 12 x86_64 after learning that its faster than x86.Now i am getting error while updating:after getting all the filelists etc. it shows all the packages to be updated, all is usual untill now, but then it again starts downloading filelistsdb which never happened in any fedora installation before including x86 fedora 12.
error:
fedora/filelists_db | 17 MB 26:33
url...ts.sqlite.bz2: [Errno 14] HTTP Error 302 : url...sts.sqlite.bz2
Trying other mirror.
code....
View 2 Replies
View Related
May 21, 2010
CentOS 5.4
/etc/init.d/dovecot start
Starting Dovecot Imap: Fatal: Protocol pop3 given more than once
View 1 Replies
View Related
Jan 12, 2011
I have 10.04 installed and Update Manager has worked fine for months, until about 2 weeks ago. When I ask Update Manager to update its indexes, I get this error message returned almost immediately
"Method http has died unexpectedly!
Sub-process http returned an error code (127)
Method http has died unexpectedly!
Sub-process http returned an error code (127)
The internet connection is working fine on this machine. I have another 10.04 machine sitting right next to the problem computer, and Update Manager works fine on that machine. I verified that all settings are the same between the 2 machines in these areas
1. All Update Manager SETTINGS (including SOFTWARE SOURCES)
2. System -> Preferences -> NETWORK PROXY (which is a Direct Internet Connection)
3. System -> Preferences -> NETWORK CONNECTION
It appears to me that the connection to Ubuntu repositories is failing but I can't find anything different between the 2 machines.
View 4 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
Feb 10, 2010
I want to use http protocol for my localdomain's yum. This is the base tag of current local.repo which is using ftp.
[base]
name=Base repository for localdomain
enabled=1
baseurl=ftp://192.168.100.1/pub/os/i386
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
View 8 Replies
View Related
Jul 9, 2010
I've been attempting to setup PXE/HTTP network installs so we can better handle deployments for new systems. I have a test CentOS 5.4 VM running, and another test VM that I want to deploy 5.4 to. TFTP, DHCP are all working correctly. Apache 2.2.3 config "seems" OK. When I kick off the VM which I will install to, DHCP discovery and IP allocation works, the TFTP server is found, I am presented with a menu option of OS selection.
I choose #1, for my 5.4 but then it immediately tells me:
"Invalid or corrupt kernel image"
/var/log/messages doesnt show anything other than the DHCP OFFER/ACK process and that TFTP client doesn't accept options
/var/log/httpd/error_log doesnt show anything either
Not sure where else to look for diagnosis.
My Apache config directory: /var/www/html/CentOS
Content listing:
[root@CentOS-test CentOS]# ls -la
total 4515700
drwxr-xr-x 4 root root 4096 Jul 9 10:38 .
drwxr-xr-x 3 root root 4096 Jul 8 16:46 ..
-rwxrwxrwx 1 root root 4619468800 Jul 6 15:54 CentOS5.4.iso
-rwxrwxrwx 1 root root 932 Jul 6 17:37 initrd.img
-rwxrwxrwx 1 root root 70 Jul 6 17:37 ks.cfg
drwxr-xr-x 2 root root 4096 Jul 9 10:38 msgs
-rw-r--r-- 1 root root 13100 Jul 9 10:37 pxelinux.0
drwxr-xr-x 2 root root 4096 Jul 9 10:38 pxelinux.cfg
-rw-r--r-- 1 root root 932 Jul 9 10:33 vmlinuz
pxelinux.cfg contains:
0A000000
default
pxeos.xml
My Apache DocumentRoot: /var/www/html/CentOS
Directives:
<Directory "/var/www/html/CentOS">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
Forgot to add this line from my pxelinux.cfg/default file:
label 1
kernel 5.4/vmlinuz
append initrd=5.4/initrd.img ramdisk_size=16000 method=http:/10.37.129.3/CentOS ip=dhcp
(I think I have found my problem.. 5.4 was in the TFTPBOOT directory, but now that I'm using HTTP, I changed this to be:
kernel CentOS/vmlinuz and append initrd=CentOS/initrd.img) -- question is, will just changing this work?
View 7 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
Sep 14, 2009
Somebody know anyway to install Centos with http install into a vlan network? I need to tag interface during ip-confgiration.
View 1 Replies
View Related
Jul 8, 2011
My ISP has a bad habit of killing nearly all sustained FTP transfers (reset packet to my router and the remote host) and I need to install CentOS 5.5 on an older pc that doesn't have a DVD drive. My solution would be to (temporarily) turn on IIS on my laptop and extract the contents of the DVD to the ftp dir, but do I simply just drop everything in there with the same directory structure as the DVD or is there a particular way I should set up the directories?
View 3 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
Aug 4, 2010
I installed Nagios on my Ubuntu 10.04 server using apt-get and when I accessed the web console, everything was OK. I made some changes to apache (creating some new virtual sites) and since then Nagios gives me a warning message for HTTP with the message, HTTP WARNING: HTTP/1.1 404 Not Found. The sites that I created are working perfectly. I noticed that the attemps are 4/4. Does this need to be reset or does Nagios automatically reset that once it detects the issue is resolved?
View 1 Replies
View Related
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
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
Apr 20, 2011
I have a problem with GPG key, when I tried to run #yum updateI have got this errorwarning:rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID d05c057cGPG key retrieval failed: [Errno 14] HTTP eRROR 404: Not foundI used Centos 5.5.
View 10 Replies
View Related
May 2, 2011
I have a problem installing CentOS 5.5 over lan. I set up a dhcp3 server and it works, client got an ip. I set up a tftpd-hpa server and it works, client can boot the install image of CentOS 5.5 I set up an apache server and it seems to be impossible... In the installation marathon I clicked through the menu to the choice of the web server where my installation files are available. I enter the ip 192.168.138.1 and the path CentOS-5.5 and CentOS tells me "Unable to retrieve http://192.168.138.1//CentOS-5.5/images/stage2.img" . Thats right because the two slashes are not right. Where the hell come the two slashes from???
I edited my httpd.conf like this:
<Directory /tftpboot/CentOS-5.5>
Options Indexes
AllowOverride None
</Directory>
[Code]....
View 4 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
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
May 16, 2011
I've got the following problem: I just noticed that there were just very few notifications about updating the system (usually there are damn many of them in a week) So I opened the update manager and clicked on "refresh list". The following result popped up: p,li{white-space:pre-wrap;}E: Error http://ppa.launchpad.net natty/main/Sources Sources 404 Not Found First I thought, it would be just some kind of server problem, but it didn't stop. The next thing was to research the thread and I even found something. However, the solution suggested didn't work at all. (Things, which might have caused this: I installed the default software center |I'm using Kubuntu, but in this case that fact doesn't matter| and used it. To sum up:
- not able to update the system referring to the launchpad main sources for 11.04
- following error: E: Error http://ppa.launchpad.net natty/main/Sources Sources 404 Not Found It would be great if this was a common issue and I've been simply too stupid to find a proper solution. So you could just post the link.
View 2 Replies
View Related
Jul 26, 2011
On two Centos5 servers, yum gives a segmentation fault error when trying 'yum update' or 'yum check-update' after running 'yum clean' :
[Code]....
The error is the same for the other computer except while attempting to update the rpmforge repository. Nothing has really changed on the servers in some time and 'yum update' worked fine on each yesterday and I have no idea why they would both suddenly fail!
View 3 Replies
View Related
Sep 24, 2009
For some reason, when I do a yum check-update I get a list of no changed packages to install. If I follow this immediately with a yum update then it tries to install drbd83. I've tried a yum clean all and repeated the commands and get the same thing. This happens on both the machines that are set up to use DRBD. Just seems weird and I don't understand. Anyone got an explanation?
[root@here]# yum check-update
Loaded plugins: changelog, downloadonly, fastestmirror, priorities, protectbase,
: security
Loading mirror speeds from cached hostfile
* epel: www.mirrorservice.org
* base: mirror.sov.uk.goscomb.net
[Code]...
View 12 Replies
View Related
Jul 13, 2010
I have a error when i want to update my system via YUMI execute the next command.sh@ yum -y updateYou could try using --skip-broken to work around the problemYou could try running:package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigestThe program package-cleanup is found in the yum-utils package.
View 5 Replies
View Related
Apr 6, 2010
I have been beating my head for the last few weeks on this problem, (although I have been taking the wrong approach, it seems).
I need a gateway to direct web traffic to three separate servers/domains. I have been trying to do this with both a dns server and , (seperatly), apache server to forward requests. The dns server was a no go, and <i can only get apache to redirect http and ftp.
After Googling this ALOT, I believe that what I need is a gateway server to redirect my traffic to the 3 different servers. I have been reading about using using nat and iptables for this and was wondering if anyone had any advice/suggestions on this. The other thought I had was to use something like pfSense to create the gateway, but I am still reading the documentation, and I am unsure if this approach will work.
View 1 Replies
View Related
Oct 22, 2009
Just checking to be sure. 5.3>5.4 update went without a hitch:) But a message ran about (/etc/yum.repo.d) CentOS-Base.repo.rpmnew. Comparing CentOS-Base.repo with the new one show the 1st has the correct priorities and .rpmnew does not have the correct priorities. Should I remove the *.rpmnew repo after making sure it otherwise is the same as the original CentOS-Base.repo?
View 1 Replies
View Related
Mar 17, 2010
I am an old days RH release user(from 6.x) and just switching back from Debian/Ubuntu to CentOS on some servers, but I can not understand the kernel update strategy currently enabled in CentOS.There are two boxes, with almost identical installation, but recently there was an auto update of kernel on one box. This auto update also seems to issue an auto reboot on the machine, which is unacceptable on server machines.
View 2 Replies
View Related
Oct 24, 2009
After some testing for a couple of days, I decided to take the plunge and update all my 5.3 machines. Using the recipe from the release notes:
yum clean all
yum update glibc*
yum update yum* rpm* python*
yum clean all
yum update
shutdown -r now
I updated some guinea pigs that I had physical access to and didn't have any issues. So I remotely updated a small farm of LAMP machines that handle a couple of million page views per day. It took each machine approximately 5-6 minutes to download/install/reboot.
View 1 Replies
View Related