Home > centos 5 > centos 5 network error

Centos 5 Network Error

Contents

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more centos 5 network config about Stack Overflow the company Business Learn more about hiring developers or posting ads centos 5 network configuration with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question centos 5 network configuration command line and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best centos 5 network install answers are voted up and rise to the top Is there a way to find out if a network outage occurred from logs? up vote 2 down vote favorite I have a red hat server running an oracle database. I can see in oracles rdbms' alert logs that a network outage of some sort occurred. ORA-16198: Timeout incurred on internal channel during remote archival LGWR: Network asynch I/O wait error 16198

Centos 5.2 Network Install

log 3 service I want to know if the server registered something similar. I'm looking for NIC failures or simply a disconnection from the switch. Note that the outage was temporary. I can access the server through ssh and I can ping the database service and the server itself, so my only way to tell that something happened is from logs. Where can I look for that? rhel logs share|improve this question asked Jan 5 '12 at 19:06 Nicolas de Fontenay 95341117 add a comment| 1 Answer 1 active oldest votes up vote 4 down vote accepted Check your /var/log/messages log file. You could find something like: Jan 6 00:00:21 tseenfoo kernel: [104970.689167] atl1c 0000:05:00.0: atl1c: eth0 NIC Link is Down Jan 6 00:00:31 tseenfoo kernel: [104980.550289] atl1c 0000:05:00.0: atl1c: eth0 NIC Link is Up<1000 Mbps Full Duplex> Note that those are network card kernel module messages so they are driver dependant. They can do not exist at all or can change according to the different module active on you server. If you can, run a tail -F /var/log/messages and quickly unplug/replug the cable (to see if those events are logged). Check the driver documentation, often drivers offer some kind of debug mode you can use to log future outages. s

Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us

Centos 5.1 Network Install

Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer centos 5 restart network site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can configure network interface centos answer The best answers are voted up and rise to the top Where are ethernet errors logged? up vote 6 down vote favorite 1 Munin is showing me a graph like this: During that spike, I was unable to access my server through http://unix.stackexchange.com/questions/28391/is-there-a-way-to-find-out-if-a-network-outage-occurred-from-logs the eth0 port (I could access it through my IPMI port). I'm trying to figure out what happened, but I can't seem to locate any log files for eth0. I don't see anything in /var/log/(kern|syslog|messages) that is out of the ordinary. And I don't see a log file specifically for eth0. Are there logs for eth0, and if so, where can I find them? I am running Ubuntu 10.04 LTS. linux ubuntu ethernet share|improve this question asked Jun 8 '12 at 19:25 Matt 57115 add a http://serverfault.com/questions/397033/where-are-ethernet-errors-logged comment| 1 Answer 1 active oldest votes up vote 4 down vote accepted There are no logs for your interfaces. If you check soon enough, you can likely find them in the output of dmesg. You should find all that output in /var/log/messages. If it has rotated you need to look in /var/log/message.1. Grep out the time range to a separate file that you can examine more easily. A command like grep 'Jun 7 22:' /var/log/messages > ~/messages.tmp should work. Look for references to eth0 in the file. You may also see a reference to repeated messages which may be close to the line that indicates the problem. Also look for references to the driver for your interface, or the manufacturer. Running the command ifconfig eth0 should output error counts, and may give you a hint as to the problem in the counts the follow the errors. share|improve this answer answered Jun 9 '12 at 4:05 BillThor 20.5k12048 Like I said in my post, that log file didn't have anything out of the ordinary in it. But next time I will try ifconfig eth0. I also installed ethtool, which should be helpful too. –Matt Jun 13 '12 at 22:25 1 There may have been nothing wrong with your card. Another device on the network can increase your error counts. I have seen faulty switches cause errors for their clients. ifconfig helps track down these cases. A temporary duplex mismatch can cause high error rates. –BillThor Jun 14 '12 at 2:45 add a c

Start here for a quick overview of the site Help Center Detailed answers to any questions http://serverfault.com/questions/405661/centos-eth0-not-starting-on-boot you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring https://github.com/mitchellh/vagrant/issues/2614 developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and centos 5 network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top CentOS: eth0 not starting on boot up vote 10 down vote favorite 1 Whenever I reboot a CentOS Hyper-V VM, centos 5 network eth0 does not start automatically. All I need to do is perform ifup eth0 and all is fixed, but that isn't feasible from ssh! I am starting in runlevel 3. [root@localhost ~]# cat /etc/*release* CentOS release 6.2 (Final) After I perform ifup eth0 on the console: [root@localhost ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:15:5D:2B:2B:07 inet addr:10.10.0.3 Bcast:10.10.0.255 Mask:255.255.255.0 inet6 addr: fe80::215:5dff:fe2b:2b07/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:34 errors:0 dropped:0 overruns:0 frame:0 TX packets:49 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4656 (4.5 KiB) TX bytes:6399 (6.2 KiB) Interrupt:9 Base address:0xa000 [root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=none IPADDR=10.10.0.3 NETMASK=255.255.255.0 GATEWAY=10.10.0.1 USERCTL=no ONBOOT=yes [root@localhost ~]# chkconfig --list | grep network network 0:off 1:off 2:on 3:on 4:on 5:on 6:off After trying to turn off Network Manager [root@localhost ~]# chkconfig NetworkManager off error reading information on service NetworkManager: No such file or directory [root@localhost ~]# service NetworkManager status NetworkManager: unrecognized service The most recent clean boot [root@localhost ~]# grep eth

Support Search GitHub This repository Watch 737 Star 13,182 Fork 2,800 mitchellh/vagrant Code Issues 395 Pull requests 42 Projects 0 Wiki Pulse Graphs New issue "Configuring and enabling network interfaces" fails with ssh error #2614 Closed mwhahaha opened this Issue Dec 9, 2013 · 71 comments Projects None yet Labels bug Milestone No milestone Assignees No one assigned 46 participants and others mwhahaha commented Dec 9, 2013 I just updated to 1.4.0 and when I attempt to start up I'm getting an error when it attempts to configure eth1. This was previously working on 1.3.5. I'm running on OSX using VirtualBox and attempting to start up a centos box. vagrant up output: $ vagrant up Bringing machine 'default' up with 'virtualbox' provider... [default] Importing base box 'centos-min'... [default] Matching MAC address for NAT networking... [default] Setting the name of the VM... [default] Clearing any previously set forwarded ports... [default] Fixed port collision for 22 => 2222. Now on port 2200. [default] Clearing any previously set network interfaces... [default] Preparing network interfaces based on configuration... [default] Forwarding ports... [default] -- 22 => 2200 (adapter 1) [default] Booting VM... [default] Waiting for machine to boot. This may take a few minutes... [default] Machine booted and ready! [default] Setting hostname... [default] Configuring and enabling network interfaces... The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed! /sbin/ifdown eth1 2> /dev/null Stdout from the command: Stderr from the command: Vagrantfile: Vagrant.configure("2") do |config| config.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box" config.vm.box = "centos-min" config.vm.hostname = "puppet-client" config.vm.netw

 

Related content

centos 5 php error log

Centos Php Error Log table id toc tbody tr td div id toctitle Contents div ul li a href Centos Php a li li a href Ubuntu Php Error Logs a li li a href Php Logarithm a li ul td tr tbody table p RedHat and Friends Security Suse TroubleshootingI m running CentOS x server with Apache relatedl PHP x server Can you tell me centos php mysql exact location for php error log file Generally on all p h id Centos Php p production web servers displaying error to end users via a web browser is turned off