CentOS 5 :: Web Server Uncontactable From Network?
Mar 10, 2010
For several months I've been running a Centos 5.3 server on a home network. The server hosts PHP, Postgres and lighttpd and other open source software bundle into a system I call RIMS. PHP, Postgres and lighttpd and other open source software were compiled from tar files. All Windows machines on the network can access RIMS via lighttpd. No special firewall rules are required on the PCs or on the 5.3 server.
With the release of Centos 5.4 I decided to do a major upgrade to MJR and built a new 5.4 server using a minimal install from CD1, with all options deselected. The details of the installation are available at http://pastebin.centos.org/31877. I added gcc, gcc-c++, m4, make, mlocate and vixie-cron using yum, to give me a compiler and a search capability on the new server.
Problem: when I compile and start lighttpd (or nginx or httpd) on the new server none of the Windows PC can connect to the server - they time out waiting for a connection. I didn't discover this until I'd installed a lot of open source software on the server, so I went back and rebuilt the server with only lighttpd on it, but the problem persists.
I thought it might be a firewall or Selinux problem so I compared the Selinux variables on the 5.3 server with those on the 5.4 server and they are basically the same. Setting httpd_can_network_connect on doesn't make any difference. I also compared the iptables script on both servers and they are the same. I've run nmap on the 5.4 server and it shows port 80 is open. The list of installed packages on the 5.4 server is available at [URL]...
i have successfully done the setup of postfix and dovecot on this link [URL]I run Cent OS on top of window 7 via VM Player,i want to access mailbox from windows 7 using email client like Thunderbird and Outlook. What setting i need to do in my mail server ?
I have two CentOS 5.4. One is real/host and the other one in VMware-Server.
IP of host is 192.168.200.0/24 and IP of guest is 192.168.210.0/24
I can use ftp,samba,http .. between them but can't mount nfs in the guest and vice-versa since, they are in different network. showmount -e , shows the nfs shared list
I have a finely working CentOS server. I want to clone the complete OS (over network) so that I can use it for same functionality on several other machines..
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
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?
I am trying to setup a network bridged Server on Centos 5 like belows,
Broadband Router (NAT mode) ---> Bridged server (with t Proxy)--> Client PC .
after installing and configuring bridge, client can browse. But, i want to make this server working as a transparent proxy.But, my bridged proxy is not working. i need to use iptables command to make it properly.
after a update to 5.3 from 5.2 via the built in updater the system stops responding to visitors from the outside, http that is, but heres the odd part, if i say run firefox on the server the connection works also for some reason if i'm on the network with my own computer the connection seems to stay open but as soon as i stop using these the server seems to drop the conenctions, but as i said as soon as i go via my comp to the server via say ie it works right away.
this i tried yesterday:did a cold boot to see if some update had problems and actually needed a reboot even if the updater didn't say, after it started the connection seemed to be open for a good while, and not untill this morning from a outside source the connection is droped again, not been on my comp nor logged on on the server today yet.the install only has on it what i got from the dvd, and as far as i know it has all the updates on it since 5.3 came out.my network is built up like this:
I'm trying to setup a server to distribute CentOS 5.6 over a the network with PXE. I found and followed [URL] but that guide is certainly incomplete. I have DHCP working and other machines will try and boot but get a TFTP timeout. I don't plan on using Kickstart at this time. What do I need to do next? What am I missing?
I am looking for a gigabit network card for my centos 5.4 server. I am looking for something known to work well with linux. I have been on the bestbuy site and I found a DLink (DGE-530T) card with support for linux from the vendor but after reading feedback from users with that card I am not so sure it is linux friendly. I am now thinking of buying online.
We have a quad core Intel Xeon E 5410 processor running on recently installed centOS 5.5. Machine can't be pinged all of sudden and when we switch on the monitor, no signal on it, even no response on keyboard. We thought the problem accorded with abrupt temperature changes, is it so? But we have similar machines running efficiently under same temperature conditions.
ok, we had to move one of our databases due to failing hardware. This box is newer than the old but it's just dog slow. 1st I thought it was mysql but now I am realizing it's the network. As a test, I tried copying a remote file to that box and the old server (located at the same co-lo, same provider), same switch, etc.Here are the results;
Old server: access_log.1 100% 4192KB 1.4MB/s 00:03
New Server: access_log.1 100% 4192KB 72.3KB/s 00:58
So now I see why people were complaining about webpage load times, etc. I can't figure out why the network latency. I looked around a bit, see below for some things, I thought mtu, nic speed, etc.
mii-tool shows; eth0: 100 Mbit, full duplex, link ok eth1: 100 Mbit, full duplex, link ok[code].....
Are there other things I can type to test or provide more feedback somehow to get more information.
I'm using CentOS 5.5 as a media server to stream media content over my local network. Currently i'm having problem while installing last.fm scrobbler.
Here is a sample output: yum localinstall xmms-scrobbler-0.4.0-7.fc11.i586.rpm Loaded plugins: fastestmirror, priorities Setting up Local Package Process Examining xmms-scrobbler-0.4.0-7.fc11.i586.rpm: xmms-scrobbler-0.4.0-7.fc11.i586 Marking xmms-scrobbler-0.4.0-7.fc11.i586.rpm to be installed Loading mirror speeds from cached hostfile .....
The program package-cleanup is found in the yum-utils package. Upon searching my hard disk this is what i get: find / -mount -name libcurl* /usr/share/man/man3/libcurl-easy.3.gz /usr/share/man/man3/libcurl-tutorial.3.gz /usr/share/man/man3/libcurl-share.3.gz /usr/share/man/man3/libcurl-errors.3.gz /usr/share/man/man3/libcurl-multi.3.gz /usr/share/man/man3/libcurl.3.gz /usr/lib/libcurl.so.3 /usr/lib/libcurl.a /usr/lib/libcurl.so.3.0.0 /usr/lib/pkgconfig/libcurl.pc /usr/lib/libcurl.so
So it tells me that I need libcurl.so.4, but I couldn't find any suitable rpm binaries for it. The only rpm that i found was for Suse and Mandrake. How to set this up, so that i can get a fully functional media server.
I installed CentOS 5.5 on my Compaq desktop PC connected to a LAN/Router, at the installation somehow the LAN connection was automatically determined and I was able to use the browser without doing anything.However when I added a print server to the LAN/Router I lost network connection from my Compaq PC running CentOS 5.5. Is there a way to rerun network manager installation to determine the new LAN settings (with a print server attached)
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?
I'm setting up my server under CentOS 5.5 (text mode) and I installed cherokee server but I couldn't reach it with the ip given by ifconfig. So I figured it might be an problem within cherokee. I also wanted to install webmin so I did that to see if I could reach that one. But also the webmin server is not reachable (I know the port number should be behind the ip ). So if I look up ifconfig I see the server has got an local ip (192.168.1.42) but I can't reach it from another computer in the same local network.
I have OpenVPN running successfully on a CentOS Linux server. All remote clients connect without a problem and can ping the server LAN (10.5.0.0/24) . The server address is 10.5.0.1. All network shares on the server are available to the remote clients via SAMBA shares and this works well.The problem is that I am unable to get the remote clients to access services on the LAN clients. For example, there is a webserver running on a Windows XP PC (on the server LAN @ 10.5.0.2) with no firewall enabled. The remote VPN clients can ping this webserver at 10.5.0.2, but cannot browse the webserver at [URL]. All clients on the server LAN can however browse the webserver. The remote clients are using Windows XP and VISTA with OpenVPN 2.1.1.
I am new to VPNs and networking, but from my research, it seems as if this may be a routing issue. I would appreciate any help you may give in getting the remote clients to access the services on the LAN clients (other than the server @ 10.5.0.1).
I am demo'ing Kubuntu 9.04 workstation to a customer. He has a CentOS 5.3 server (my doing). On it is our CUPS Network file server. Everyone (65 of them) print to our network printer through it using LPR/LPD (and sometimes Samba).
Problem: when Kubuntu's Print Configuration Tool went looking for printers, it found every network printer's IP address, but missed my CUPS printer server. What did I do wrong on one or both ends (I have control over both).
i have a small issue, to make our network more secure, i now require outgoing email to require authentication. Now the problem..i have a automated mailer that does not have the option to authenticate. is there a way to allow a certain email address or the local network to send out without authentication? If i cannot do this for a single email user to allow them through with authentication, how would i remove the authentication paramaters in the postfix smtp..
I'm having a bizarre problem with FTP transfers from my CentOS 5.3 boxes, All of my CentOS boxes appear to be limited at ~10kb/s when connecting to any FTP server outside of our network. We have no network infrastructure which would cause this, however when I use a windows based machine it is able to connect fine.
I took my laptop running Vista, and rebooted it onto a CentOS 5.3 LiveCD, and same issue.
I have checked our iptables, cleared the rules, removed the kernel modules, checked CBQ/TC it looks like nothing is limiting this. Also, other protocols work fine. Both the windows and linux boxes used passive transfers for it.
Is there anything other than iptables/CBQ which would be on a out of the box install of CentOS I should check? Is there any kernel settings for NAT connections which may cause this?
I have a couple of servers which runs CentOS 5.5 and CentOS 5.4. We have decided to buy a UPS and we choose Eaton EX RT 11 plus eaton network management card minislot. I have read on the site of Eaton that they have two applications which could gracefully shutdown my servers - LanSafe and NetWatch. My experience with UPS and those applications is zero so I`m here for some advises? Do you prefer NetWatch over LanSafe?
I have a problem with compiling of mod_ruby-1.3.0 After a succesfull configure i get a error in the make, it say "make: *** [apachelib.o] error 1" . Here below you can find the results of de configuring and the make.I was following the roles in Howtoforge " The perfect server - Centos 5.3" everything goes perfect till mod_ruby-1.3.0
./configure.rb --with-apr-includes=/usr/include/apr-1 checking for a BSD compatible install... /usr/bin/install -c checking whether we are using gcc... yes
I have a server that is on both a standard network and a virtual network, as follows: server1 attached to standard network server1 acting as Dom0 with two linux DomU guests (under Xen) I only have one network card. How do I configure server1 to have a different hostname on the standard network than on the virtual network? Here are the relevant network configuration files for server1:
I am attempting to setup a network to network VPN tunnel between our main office and a temporary location. This location need full VPN access back to the main office's network.Anyhow we have spent about 3 solid days attempting to make this work without any great success. Here is our network scheme for these two devices.
Network A (Main Office) (OpenBSD using isakmpd) Network: 172.16.8.0/24 External IP: 1.1.1.1 (obviously not the real IP)[code].....
I just have CentOS installed and cannot get the Agere et131x network card to work.I have tried the following:Reboot the computer and still did not see the network hardware.
I just upgraded from Ubuntu 9.04 64-bit, to CentOS 5.5 64-bit and my RT-73 USB network card doesn't seem to want to function. It always worked fine in Ubuntu by default (plug and play). Is there some setting I need to make to get this working?Even BT-3 (which is quite old) recognizes the RT-73.
During the install of my Centos server 5.3 i cam in trouble after setting the Static IP address, Gateway and DNS i cannot connect to the internet my own network is visable. When i start ifconfig my network is running.