CentOS 5 Server :: IP Address Assigned Twice To Etho:0?
Nov 18, 2009
I'm stumped here as it seems like after an update etho:0 has assigned itself 2 x IP Addresses. I don't understand how this happened or how to fix it so some help would be great as I cannot access cPanel while it's like this or my sub directories.Here is a print of ifconfig
I have an HP Pavilion A6750F with an AMD Phenom 9650 Quad Core. 8 GB memoryThe NIC is a REALTEC Semiconductor RLT8111/81688 PCI Express Gigabit Ethernet Controller.The actual MAC address for the NIC is 00:24:21:55:DE:40I have loaded CentOS 5.3 on this host three of four times in various configurations and patching levels.THE PROBLEM: The system identifies the NIC as having MAC FE:FF:FF:FF:FF:FF.When this happens, the network connectivity obviously stops working.It identifies everything else OK, just maps the wrong MAC.I'm no sure how to troubleshoot this problem. I tried rebooting a couple times and once that fixed it. Usually it does not. I reloaded (gasp) Windows Vista on it and it worked ok.This last time, I reloaded CentOS it hung on the bootup (ASK ??), I reset it, it rebooted and everything looks ok; for now. The system says it is presently using driver r8169
I installed the Centos 5.5 and after the Xen. After I put a virtual machine named VM01.Initially it worked properly, I tried everything and it worked.When rebooted, I had problems with the network.I have two network cards eth0 and eth1, but eth1 does not have any ip and I use only eth0.The error that appears is:
vif0.0: received packet with own address the source address
I would like to create several aliases to eth0, but have the addresses assigned by DHCP instead of being set to static IP's. Is this even possible? All the examples I've seen assign a static IP using the command: ifconfig eth0:0 192.168.1.11 up
I am just trying to get SSH working between 2 local machines on OpensSuse 11.4 boxes. I have the SSHD daemon running, the firewall is configured to allow SSH to pass, and I am using SSH's password authentication. However, my machines cannot see each other. Anytime I try to SSH, I get "Could not resolve hostname<hostname>: Name or service not known."
Of course, that leads me to believe I need an entry in my /etc/hosts file. However, I use DHCP, and therefore have a dynamic IP address. Therefore, my hosts names will only be good until the next IP renewal. How in the world do I configure SSH with a DHCP assigned address?
One of our client having issue with the qmail. The issue is if any one send email to abc@ourdomain.com (abc@ourdomain.com the email address which is not exist) it should send failure notification i.e."email does not exist" to the sender. The qmail server is not notifying that email address does not exist.
I am working for the first time on a dedicated server with CentOS. I have sendmail and postifx installed and I realized all the emails send by the server are redirected to my own private address.
For example if I want to send an email to "luc@test.com", I will receive it in my box (ex "paulin@gmail.com")... I also receive in my box the logwatch which should be send to root@serverblabla.live-servers.net
That is very strange and I really don't understand what does that.
My server is Linux (centos 5.3). In Server System Dhcp server is running, so it assign ip address to client windows ..... 1. I want to assign ip address to Printer (printer Hp laser 3055 ) 2. How do I configure cups (Network Printer) in linux server 3. How to configure printer in windows client.... How to do this.
i am trying to assign a Static IP address and for the life of my i cannot get it to work Can someone explain to me the easiest way to do it and if i restart the server it won't get lost either.
I've come across a strange issue where any email address that I email with mail returns an error "Bad Address"
Fairly new Centos 5.4 Install, sendmail is the MTA. Linux 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux DNS is working fine so there isn't a problem. [root@hn1 /]# host -t mx iol.co.za iol.co.za mail is handled by 10 mg1.iol.co.za. iol.co.za mail is handled by 10 mg2.iol.co.za. iol.co.za mail is handled by 30 vulpix.iol.co.za.
Yet when I try to use mail it fails: [root@hn1 /]# which mail /bin/mail [root@hn1 /]# ls -lrth /bin/mail -rwxr-xr-x 1 root mail 83K Jan 7 2007 /bin/mail [root@hn1 /]# mail -s "test" bob@mydomain.co.za Bad address Nothing in the maillog.
I am attempting to get this network card running under CentOS 5.2 but have had no luck. Some sites say to use the sk98lin driver, others the skge, which I can't find at all. I have tried multiple versions of the driver in rpm but none seem to work. The card shows under the network manager but will not get an IP address from the DHCP server.
Here are the outputs for this card. uname -rmi 2.6.18-92.1.10.el5 x86_64 x86_64 lspci -m 04:01.0 "Ethernet controller" "D-Link System Inc" "DGE-530T Gigabit Ethernet Adapter (rev 11)" -r11 "D-Link System Inc" "DGE-530T Gigabit Ethernet Adapter (rev 11)" lspci -n | grep "$(/sbin/lspci | awk '/net/ { print $1 }')" 04:01.0 0200: 1186:4b01 (rev 11) lspci -vv 04:01.0 Ethernet controller: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11) (rev 11) Subsystem: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 64 (5750ns min, 7750ns max), Cache Line Size: 32 bytes Interrupt: pin A routed to IRQ 121 Region 0: Memory at febfc000 (32-bit, non-prefetchable) [size=16K] Region 1: I/O ports at e800 [size=256] Expansion ROM at e0000000 [disabled] [size=128K] Capabilities: [48] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=1 PME- Capabilities: [50] Vital Product Data
How to get this working as we have 3 of these cards for computers without a Gb NIC and I don't want to fight with it 3 separate times.
My ISP blocks outgoing email if it does not login properly with a valid account. I successfully configured sendmail to use SMART_HOST and confAUTH_OPTIONS with confAUTH_MECHANISM set to LOGIN PLAIN.
It successfully sends email because I tested it with evolution sending through 127.0.0.1, but I need to specify myacount@mydomain.com as the email address for root.
But it doesn't work for logwatch because it sends as from root@localhost.localdomain, and my ISP's smtp server rejects it. The message I get back in root@localhost account is the following:
----- Transcript of session follows ----- ... while talking to smtp.mydomain.com.: >>> MAIL From:<root@localhost.localdomain> SIZE=581 AUTH=<> <<< 550 5.7.1 Client does not have permissions to send as this sender 554 5.0.0 Service unavailable
I thought that I should masquerade all emails from this domain, so I configured sendmail as specified in [1] section "24.3.1.4. Masquerading", but it doesn't work. It seems that masquerading in sendmail is broken or something is wrong in the documentation.
[1] [URL]
I have sendmail 8.13.8-2 and centos-release-5-4.el5.centos.1.
Is there a way to specify the "From:myacount@mydomain.com" in logwatch ? or Is there a way to make it work the masquerading in sendmail so I can masquerade everything as coming from a specific account?
I am using CentOS 5.5, I installed squid3 in that machine. From my users machine i am not able to use our webmail address. Outlook shows pop3 error.cannot ping webmail address inside proxy.
I am trying to run two web servers (Virtual Hosts) on a single Linux Centos 5.5 box with a single IP address 192.168.0.182. I did all the pre-installation requirements such yum install mysql, yum install mysqladmin, service httpd start, service mysqld start etc etc.In /var/www/html directory, I have two folder called server1 and server2. These two folders have the necessary web server php script files and folders. I opened the browser and managed to install the script on one web server successfully. When I put the IP address 192.168.0.182 on the browser address bar, the page loads without any problem. Now I would like to be able to install the other web server script and I don't know how to?Here is my httpd configuration;
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..
when i assign ip manually to a machine it gets ping by server and it also itself pings server but when i chose to use client machine as dhcp , so that it can directly get assigned ip from server, it does not get ip, instead random ip is provided which is out of range specified at server side in /etc/dhcpd.conf file.
Sometimes during bootup I get the following error:Starting Dovecot Imap: Fatal: listen(995) failed: Address already in useI tried to figure out what I could with the command lsof -i :995 and this was my output:COMMAND PID USER FD TYPE DEVICE SIZE NODE NAMErpc.mount 2936 root 7u IPv4 9201 TCP *:pop3s (LISTEN)When the system boots without the dovecot error the output of losof -i :995 is as follows:
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME dovecot 3079 root 8u IPv6 9419 TCP *:pop3s (LISTEN) pop3-logi 3157 dovecot 1u IPv6 9419 TCP *:pop3s (LISTEN)
I am currently programming a suite of daemons in c++ on CentOS 64. More or less all those daemons are SOAP servers, with the SOAP part handled by gSOAP.
One of the daemons is a monitor sitting on a certain server and more or less just checking if the other daemons are up and running - but also offering a SOAP interface to get the 'current situation' on the machine.
Whenever the detected situation does not correspond to the defined (i.E. a process which should be is not running) it is started up.
This part, I implemented via a system() call that starts the other process.
I was a little confused when lately often this monitoring process would not start because it could not bind its server port - the one the SOAP server is listening on.
And confusion got bigger when netstat told me that the port is assigned to one of the processes that were before started by the monitor..?
Even better: if I then kill the process of which netstat tells me it holds the port, the next netstat shows the next monitor-started process as the one listening on the port..
Only if I kill all the processes that were started by the monitor, the port is released and I am able to launch the monitor again.
Now I wonder: why does this port get 'reassigned' to the children - and most of all: how can I prevent this from happening?
After upgrading centos from 5.3 to 5.4 I have had this error when trying to restart apache:
[root@server1 conf]# apachectl stop httpd (no pid file) not running [root@server1 conf]# apachectl start (98)Address already in use: make_sock: could not bind to address [::]:80
I hv Cent OS 5.3 installed as server. I hv a network of approx 100 desktops and laptops. For a security purpose i want to block certain laptops from gaining a the network access using dhcp. Can we block the ip address leasing if a specific MAC address request for a ip lease?
If I give "ifconfig" in my laptop I get eth0,lo,wlan0.In that where do I find my Ip address in Ubuntu in 10.04. In eth0 I dont find inet address.Where can I find it?
i am pretty much brand new to ubuntu i have messed around with it a little and have gotten my apache2 server up and running what i have some questions on is
1. How can i give my server a actual address and not my ip address?
2. Is there any way i can put like forum software on part of it? if so how?
3. What is the best way to write web pages i know some html so thats how i was able to write what i have now just wondering what best way is