CentOS 5 Networking :: Cannot Get New IP To Work In Server
Nov 3, 2009
I have been a loving fan of your software for years now and have been trying to move into a new dedicated server, getting away from my VPS I have been anchored to. I had to change static ip's on my main internet line and thus got locked out of my server. I have the box here and I can console into it but I cannot get the new ip address to work. I have tried so many things it would waste more time than asking for the correct answer.
I know you are wise in the ways of the server as you have gotten me out of a jam in the past. I am currently running Centos 5.4 and a trial version of WHM/cPanel (which needs to be re-registered to the new address if I can ever get back online.)
I'm trying to make a DHCP server work on my CentOS 5.4 box, but I have placed it on another subnet than the one that it is going to serve. I use a helper address on my router to make the the DHCP requests being routed to the DHCP server on the other subnet.
I am trying to set up an unused machine as a web server for my students.
I originaly tried with Redhat 9 and had the same problems. I am using an HP Pentium 4 system with 2 network cards.
1) The built in Realtek RTL8139 configured as eth0.
2) An add in Broadcom BCM5782 Gigabit card that was added I presume when the built in card failed (we have a number of machines like this around the school), configured as eth1.
I did not realize the second card was installed when I had Red hat 9 on the system, but I discovered it after installing centos 5.5. I have tried to configure the system to use DHCP with and without getting the DNS from the provider, and both ways the system complains that there is no connection, check the cable, so it will not activate the device.
When I configure the device to use a fixed IP, I can configure the device, but I can't ping anything on the network other than myself. I suppose it is possible that both network cards have failed, but I get green link lights with both cards, when I connect them to my router, so I am at a loss as to why neither board seems to work. I don't have a spare network card to slide in because the computer takes a special mini card. Is there an easy way to test the board to see if the board is a problem?
I have a Centos 5.2 VM running under Windows 2008 Hyper-V. If I add two "legacy Nic's" and bridge them, everything appears to work fine. However, if I remove the legacy nics and replace them with two synthetic nics (linux integration components), the nics seems to function fine UNTIL I add them to a bridge.This VM will eventually be used as a DansGuardian/Squid transparent proxy for a local library. The logical layout is represented by the attached jpg image. I have also included the ifcfg- scripts for the adapters and bridge for both scenarios.It would also be useful if someone else has Hyper-V with the integration components and dual physical nics to see if they can reproduce my symptoms on their box.Legacy Adapters:
This will be a little long (having read Phil's 'how to ask questions' FAQ). I'm trying to get OpenVPN working between my CentOS server and some Windoze laptops running XP. There seems to be plenty of sample config files available, but to date, none of them have worked for me. Pulling out my trusty Wireshark, I've found some clues,
BACKGROUND: My local subnet (NAT'ed by my gateway router) is 192.168.52.x. My router has been configured with a conduit (port-forward) for port 1194 (the standard OpenVPN port), which points towards my CentOS server.The CentOS server is .52.112, and the supplicant is .52.110. I have tried the lient both inside and outside my local subnet, with no difference in events or outcomes.
I am a Windows user for the last 14 years and am getting into the Linux world. I have a CentOS server set up at home and have been using SFTP. But now I am needing to install a program that has a exe file I can lauch from my Windows machine to the CentOS server but the only problem is it only uses FTP over port 21. I have found quite a few different posting on how to install FTP but only some of the commands they give work and I get a lot of no such directory. I will be using the FTP locally but have been getting frustrated setting it up. I do have it installed an am able to start the service but cannot connect. Is there a step by step information for setting this up? I am new to the command line and all the SCO stuff I used to know back in the early 90's is all gone from memory.
My server is Centos 5.3 I have php 5.1.6. some of plug-ins does not work I have to upgrade it to 5.2.6. To upgrade it I have to install a third party repositories.How can I protect my current php in case if the repository does not work I enable ( or role back) the Centos default php?
I am trying to connect to my VNC Server from a Windows 7 Box running TightVNC:I've followed all the instructions on this page:[URL]And I changed my xstartup scripts:
/etc/sysconfig/vncservers # The VNCSERVERS variable is a list of display:user pairs. #
when I installed my server I had an FTP server running, I thought it was vsftpd. I stopped vsftpd one day though, and I could still FTP into my server. This mystery FTP daemon is SFTP (using port 22), and now it does not work. I've tried enabling vsftpd and I still cannot connect to my server. I've checked my firewall and I have FTP and SSH allowed. What might this mystery FTP program have been?
I created a cluster with two nodes and a machine for managers with luci, if a machine reboot the cluster function by transferring the resource (IP address), if forced to stop the machine (pull the plug) the cluster does not work.
mod_dir does not work properly with SSL (https) !?
When working with http, there is no problem: If url "http://www.abc.com/test" is requested, apache appends a "/" to the url and then respones to browser with code 301, telling it to request the newly-modified url ""http://www.abc.com/test/".
However, with https, things are not going as expected: If url "https://www.abc.com/test" is requested, the new url responsed by apache is "http://www.abc.com/test/", but not "https://...", resulting in browser's page load error.?
CentOS 5.4 Cygwin CYGWIN_NT-6.0-WOW64 1.7.5(0.225/5/3) I'm trying to setup password-less login from my CnetOS server to Win 2008 Server via ssh. I have followed the fab walk-through here and many others. When i try to connect I get this msg after a few seconds delay...
Code:
Connection closed by 10.8.0.6 When ran with ssh -vv...
I was able to do on Debian and Ubuntu Servers X applications running on remote servers where I was able to login via SSH. Tried the same with CentOS did not worked. in /etc/ssh/sshd_config
i have apache, php, mysql, etc installed, and running.
Phpinfo displays properly, and i can even do a few simple database calls via databases i made from the commandline.
I try to install the phpMyAdmin package (i think its from RPMForge, but it might be from EPEL). The package installs without problems, yet when i attempt to go to localhost/phpMyAdmin, i get a 404 error.
Is there something i need to do with my apache configuration to make this work? There seems to be very little documentation on this package.
If there isnt anything i could do, i could go through and do it by hand, but i want to have the advantage of using packages for the automatic updates.
EDIT1: Ok, i reinstalled the package, and now i get a 403:Forbidden instead of a 404.
Sendmail does not work anymore. //deinstaled everything [root@localhost ~]# top -b -n1 | mail -s 'Process snapshot' mymail@mymail.net /usr/sbin/sendmail: No such file or directory
//reinstaled everything, restart sendmail [root@localhost ~]# top -b -n1 | mail -s 'Process snapshot' mymail@mymail.net [root@localhost ~]# /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable directory //fixed that with '-o' in /etc/mail/submit.cf, restart sendmail
[root@localhost ~]# top -b -n1 | mail -s 'Process snapshot' mymail@mymail.net // in mail.log: Apr 2 12:49:16 localhost sendmail[6252]: o32AnGis006252: to=mymail@mymail.net , ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=49856, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
//test [root@localhost ~]# telnet localhost 25 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host: Connection refused
//commented out #O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA //in sendmail.cf, restart sendmail
//test [root@localhost ~]# telnet localhost 25 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host: Connection refused
I have a dedicated server running CentOS 5, Plesk 9.2.2, SMTP Postfix and Courier-IMAP.The issue I have is that on all domains on the server receiving email works fine however sending email never seems to work. This is from email programs, my phone, webmail and PHP. None of them seem to be able to send email. If it is of worth Spam Assassin is running however I don't feel it is causing any problems.
I have been searching in the forum and google but still not lucky enough to figure out yetI have a lighttpd server runningbecause apache consume so much CPU and memory) andqmailtoaster (just setup).Here is the configuration in cgi modules:
installed a new centOS 5 server, and after the installation, everything seem to work well but for httpd not running. when i try to issue the restart command i get the following error:
[root@appdev ~]# service httpd restart Stopping httpd: [FAILED] Starting httpd: httpd: Syntax error on line 206 of /etc/httpd/conf/httpd.conf: Cannot load
Don't work nslookup from clients guest OS.I have LinuxMint 7 and I'm installed VirtualBox on her. I created three guests OS. Two CentOS and XP
Name The first CentOS linux1.starline.ca The second CentOS centos.starline.ca The third XP xp2.starline.ca[code].....
On the clients guest OS nslookup don't work. It write : timed out; no servers could be reached .What is going on? Why nslookup don't work from clients guest OS?On client machine in the file /etc/resolv.conf have record ameserver 168.135.88.2
I just installed Centos 5.5 on one of my systems today and something is eluding me. Basically I had a web site and forum software (phpBB, but I don't think it's that, other forum software like Xoops does the same thing) running on Fedora 13, and I copied it over to the new Centos installation. Apache is running fine and displays a PHP test file and .html files just fine.
MySQL seems to be fine, I can log into that, show databases etc. Just can't get any forum software to know there is MySQL there. I did change the path of the site, and the databases, and edited /etc/my.cnf and /etc/httpd/conf/httpd.conf to reflect that. Thought I made the needed changes in /etc/php.ini but who knows. Seemed like everything should have tar'd up and moved easy, but not the case...
i've installed bind and dhcp. I'd like to update dns automatically by dhcp. For the reverse-lookup-zone everything works fine. But for the forward-lookup-zone there is still the message denied. But i cannot see a mistake.
i am not able to port 8080 on my CentOS VPS server.I have followed all the instuctions as mentioned on iptables wiki page.Also I am able to telnet my ip address and port number, But can not access from browser.
I have just installed CentOS 5, and am new to Linux. So I don't know much about the terminal commands or much of anything else for that matter.
I'm able to get online when I plug an ethernet cable directly to the computer, but cannot get it to recognize my wireless(which I do have the drivers for, and did work previously on Windows).
The card is a Linksys WMP54GS.
I downloaded ndiswrapper-1.54 but still cannot figure out how to get this to run. As I said, I'm new, so I'm not sure what information other than that to provide, and how to access it, so you may have to guide me through that.
I installed CentOS 5.3 Final on a machine today and was having some problems with the NIC. When I installed CentOs the NIC would not work, I looked in the network configuration and saw that neither of my two NICS had IRQ's so I arbitrarily gave them some and they both worked fine. I then ran yum -update, installed updates and rebooted my machine. Again, the NICs stopped working, only this time setting the IRQ did nothing. I did some googling and found this thread: [URL] The output from the first two commands is as follows:
iptables -A FORWARD -p udp -m length --length 39 -m u32 --u32 '27&0x8f=7' --u32 '31=0x527c4833' -j DROP iptables: No chain/target/match by that name.
So I re-compiled the kernel enabling WAN Router, and all the subsections. Downloaded latest iptables, removed the RPM one, installed the iptables from source.. Guess what, same error!
PS: iptables -m u32 -h works, it displays a page of info.
Trying to migrate our news server to a new instance on centos5 and having issues with the makehistory utility. It errors out and then just creates all null values for the overview database. Here is the output: