Red Hat / Fedora :: See Dmesg And /ver/log/messages Of Multiple Servers?

Oct 18, 2010

I have around 10 Servers.How to see Dmesg and /ver/log/messages of multiple servers from a centralized location

View 5 Replies


ADVERTISEMENT

General :: Console Display Dmesg Messages?

Feb 15, 2011

I've been getting messages, that should be in the dmesg log, on the console.This has been happening for a while, but I finally got tired of them.My system is Fedora release 14, Kernel 2.6.35.11-83 on an x86_64.When I reboot I get the following displayed with the login prompt.[ 52.492937] readahead-collector: starting delayed service auditd[ 52.795508] readahead-collector: sorting[ 53.033970] readahead-collector: finished

View 2 Replies View Related

Software :: Scan Dmesg Contonusly For Warning Or Fatal Messages?

Sep 5, 2010

I scan dmesg continuously for warning or fatal messages and mail the lines containing the errors to someone.- I presume a script can be used.- How can this process involked at system startup ?

View 2 Replies View Related

OpenSUSE Wireless :: What Is Meaning Of Messages "SFW2-INext-DROP-DEFLT IN=ra0 OUT= MAC=01" In Dmesg From Network

Mar 9, 2010

i have two computers on a wireless network and the system and lately dmesg is crowding with this message (or similar): SFW2-INext-DROP-DEFLT IN=ra0 OUT= MAC=01:00:5e:00:00:01:00:13:f7:e4:5a:49:08:00 SRC=192.168.2.1 DST=224.0.0.1 LEN=36 TOS=0x08 PREC=0x80 TTL=1 ID=30784 OPT (94040000) PROTO=2 what it means? can it be related to my network being sort of slow lately?

View 1 Replies View Related

Ubuntu Servers :: DMESG (command) Log Not Exist On HDD

Jul 19, 2010

I would like to find where logs form dmesg(command) are stored on my hdd drive. I'm testing broken hdd with badsectors, and I've got some i/o errors, that I can read (just the most recent) using dmesg command (dmesg buffer). I would like to see whole log, that is interesting for me, but I cannot find where it is stored in /var/log

dmesg command(buffer) (last few lines)
Code:
[245129.080558] end_request: I/O error, dev sdb, sector 218246624
[245129.080562] Buffer I/O error on device sdb, logical block 27280828
[245132.037921] sd 2:0:0:0: [sdb] Unhandled sense code
[245132.037925] sd 2:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[245132.037928] sd 2:0:0:0: [sdb] Sense Key : Medium Error [current]
[245132.037932] sd 2:0:0:0: [sdb] Add. Sense: Unrecovered read error
[245132.037936] end_request: I/O error, dev sdb, sector 218246624
[245132.037940] Buffer I/O error on device sdb, logical block 27280828 .....

View 2 Replies View Related

Fedora Servers :: Can Not View Complete Detail Of /var/log/messages

Apr 18, 2011

I want to check my system general log file by the following command.

PHP Code:

It just show me only these two lines Normally every day at morning I check all system general log files and some times it is too much long that I press space bar to go my prompt.

View 5 Replies View Related

Fedora Servers :: Setting Up Network In The Right Way + Wake On Unicast Messages?

Jul 11, 2010

I have a Fedora server at home. I don't want it to be running all the time to reduce the power usage and be more green It only works , whet it is really needed. So when it is not in use (no ssh or http connections have been active for some time), a custom python script suspends it. I have set it to wake up on unicast messages, so when somebody connects to it, the server wakes up.In Fedora 12 everything worked fine: when the server was sleeping and you connected to it using ssh or a web browser, the client waited for couple of seconds until the server was up and then connected (actually it worked even when server was turned off: the command "ssh [user]@[server]" just waited until server was booted up and then connected.)

Now I installed Fedora 13 on the server. When I try to connect to the server when it's sleeping, the client waits for some time (and server wakes up), then the connection just times out. When I try to connect again, it works. When server is up and running, I can connect to it. So when it is sleeping I have to connect twice: first to wake it up and then connect again to log in.Do you have any ideas what is causing this problem, as it is really annoying for me and I don't want to have it running all the day.Also, I have not set up the network in the best way, I think. To start the network at boot, i have put the command

Code:

ifup eth0
to /etc/rc.local.

To start the network when resurming from suspend, I have creted a script with the same command in /usr/lib64/pm-utils/sleep.d. It works, but it does not seam to be the *right* way to do this. Maybe this is also causing the first problem. So how have you managed to get a working network connection on your Fedora 13 headless server?

View 4 Replies View Related

Fedora Servers :: See Messages In Logwatch Report Then Cannot Find The Actual Log Entry?

Jan 23, 2010

I occasionally see messages in my logwatch report then cannot find the actual log entry. Is there any way I can have logwatch give a clearer report?an example:

vsftpd:
Unknown Entries:
authentication failure; logname= uid=0 euid=0 tty=ftp ruser=a-specific-user

[code]....

View 2 Replies View Related

Fedora Servers :: Boot Messages: Enabling Local Filesystem Quotas: Failed

Sep 14, 2010

G'day. My distro is Fedora 13. I received the above subject error message at boot. My /etc/fstab is attached as follow:

#
# /etc/fstab
# Created by anaconda on Fri Mar 5 12:44:10 2010
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'

[code].....

View 7 Replies View Related

Programming :: Script For Searching Through Messages For Multiple FTP Hits

Oct 25, 2010

My script looks really crap and messy, the logic isn't great and I'm not hugely happy with it. Also it echo's $i instead of an actual IP address (line 10). How to improve this. It basically searches through /var/log/messages for multiple FTP hits and when the hit count is higher than a specific number the IP is added to a config file and ftp is restarted. There are some obvious flaws in my script.

Code:
MAXHITS=0
TOPHITS=`grep "FTP session closed." /var/log/messages* | awk '{print $7}' | sed -e 's/^.*[//' -e 's/].*$//' | uniq -c | sort -nr`
HITNUMB=`echo $TOPHITS | awk '{print $1}'`
IPHIT=`echo $TOPHITS | awk '{print$2}'`
HIGHIP=`echo $TOPHITS | grep $HITNUMB | grep $IPHIT | awk '{print $2}'`

if [ $HITNUMB -gt $MAXHITS ]; then
for i in $HIGHIP;
do
echo $i
sed -i '78s/$/,$i/' /opt/etc/proftpd.conf
/root/ftp restart
done
else
echo "not greater than $MAXHITS"
fi

I'm not even sure what will happen if I get multiple responses for my $TOPHITS. It would be cool if it could search for IP's already blacklisted somehow, it might actually be easier to just create a file with a set of blacklisted IP's or something.

View 14 Replies View Related

Fedora :: Exactly How Does Dmesg Work?

Jul 21, 2010

I am new here and have only been using Linux for about 3 months so please help by explaining things clearly and don't assume I should know. However, for reasons too detailed to mention here I want to know how dmesg works. What I understand is that it provides log details of the startup, hardware etc until logger takes over. What I want to know is this: Do you still get new log messages in dmesg after boot and after the logger has taken over or is it simply a snapshot of what happens at boot time If you shutdown you machine or more importantly something happens to cause it to crash, does it or is it possible to make it record dmesg logs or is it purly a function of boot up

View 6 Replies View Related

Fedora :: F15: /var/log/dmesg Not Being Updated?

Jun 13, 2011

I run F15 on my desktop PC and /var/log/dmesg is not being updated. I used preupgrade to upgrade from F14 to F15 on June 3. I boot F15 at least once per day. /var/log/dmesg has not been updated since June 3. /var/log/dmesg was being updated correctly when I ran F14. On f15, if I issue "dmesg" from the command line, I get the expected result. Is this a bug?

View 12 Replies View Related

Red Hat / Fedora :: Usb Error In Dmesg

Apr 20, 2011

When I connect to the internal usb port, i find the following error msg in dmesg :

usb 3-2: device descriptor read/all, error -71

Is this benign, can i ignore?

The message doesnot appear when I connect to the external ports.

googling pointed me to this [URL]

AT the moment the stick is being detected and all works. But still confused as to whether I have a serious problem that may lead to the usb stick going missing or hanging at some point or is this error msg just a spurious one that I can safely ignore?

View 1 Replies View Related

Ubuntu Installation :: Will Not Boot, , Multiple Error Messages Showed Up?

Jan 2, 2011

I installed ubuntu with the windows installer. while installing in windows, multiple error messages showed up, but installation still proceeded.it rebooted, and ubuntu finished installation.on the next reboot,when i chose ubuntu from the windows boot manager, it loaded grub.however,there was no option for booting ubuntu in grub, and you are forced to go back to the windows boot manager.

View 2 Replies View Related

Fedora Servers :: Multiple Site Under An Ip?

Jun 18, 2011

i need to host multiple site under one ip adress, its this posible ?

View 1 Replies View Related

Fedora Servers :: Samba Messages In Syslog - Allow Logging To The Standard Samba Logfiles

Mar 18, 2010

I wish to prevent the samba messages (mainly nmbd and winbindd) from appearing in the system log (/var/log/messages). I want to allow samba logging to the standard samba logfiles, but prevent the syslog getting clogged up by samba. I added syslog = 0 to smb.conf and reloaded the config but the messages were still appearing. I also tried the following (and restarted the syslog via /sbin/service syslog restart) # Suppress messages from samba.

nmbd.* /dev/null
smbd.* /dev/null
winbindd.* /dev/null

For interests sake the messages I'm getting are below (I'm not concerned about the messages themselves, I can chase them up at my leisure via the samba logs) Mar 18 09:58:29 SERVER nmbd[3808]: query_name_response: Multiple (2) responses received for a query on subnet xx.yy.z.zz for name DOMAIN<1d>. Mar 18 09:58:29 SERVER nmbd[3808]: This response was from IP xx.yy.z.zz, reporting an IP address of xx.yy.z.zz.

View 1 Replies View Related

Fedora Servers :: Iptables NAT To Multiple Vlans?

Mar 26, 2009

I have eth0 for administration, and vlans eth0.2 eth0.3 and br0 for resource seperation. My esternal interface is ra0.each internal interface is on a seperate subnet, and I have dhcpd giving connecting devices ip addresses out of their assigned network. I want all of the devices to be able to access the internet through NAT, I need to allow them to communicate with port 80 on eth0's subnet

eth0 10.0.0.0/24
eth0.2 10.2.0.0/24
eth0.3 10.3.0.0/24

[code]...

View 2 Replies View Related

Fedora Servers :: Multiple Domains With Postfix

Aug 4, 2010

I have Postfix + Unix Accounts + Virtual Domains. I have a bunch of domains hosted on my machine, let's call them [URL] [URL] and [URL]... etc Until know, domain2.com, domain3.com were mapped in virtual domains to [URL] So this is how /etc/postfix/virtual looks like:

[URL]

Like I said, all mail accounts are unix accounts, so, if for example I have the user "paul" this user will receive e-mail for ALL DOMAINS. [URL]But as it turns out, I now need a COMPLETELY ISOLATED domain... let's call it [URL]. So If I create a new user, let's call it "steve" I want steve to receive e-mail ONLY on [URL] and not on all others.

I would have to redo the whole thing from the beginning. I'd have to comment out the $mydestination parameter in the main.cf file and start using only virtual domains. So if I have the following users: paul, steve, sally, megan, jenny and I want paul and steve to ONLY receive mail for domain1.com, sally and megan to receive mail for domain2.com and jenny to receive mail for domainX.com, my /etc/postfix/virtual file would have to look like this:

[URL]

I'd have to create the unix account and then start modifying the /etc/postfix/virtual file.

View 1 Replies View Related

Fedora Servers :: Multiple Instances Of Pulesaudio?

Sep 9, 2010

I've got two sound cards fitted, before I've always killed pulseaudio as a pain in the butt.

Without pulseaudio enabled I could run two audio apps simultaneously, ie run a SDR ( software defined radio) app , and listen to music or watch TV at the same time.

However, with puls audio running, you can only run one, either input to either output. So can a second instance of pulseaudio be run, master and slave perhaps ?

View 6 Replies View Related

Fedora Servers :: Awstats From Multiple Log Files ?

Sep 11, 2010

I'm trying to set up awstats for my web server which runs ISPConfig3. Due to ISPConfig, my log-rotated files have the extension .log.gz, and the naming syntax of DATE-access.log.gz.

According to awstats documentation, I need their tool to merge the log files, however, I cannot get it to work. I always get file not found or pipe error like messages.

Code:

I took a look at permissions, log files are world-readable. Checked path's 1000 times, no typo. When I try to find out whats wrong, the problems usually begins when I try to use the * character in the LogFile variable, ..

Anyone got experience with multiple log files and awstats? ...

View 2 Replies View Related

Fedora :: Strange Message In Dmesg Output / What That Means?

Jul 8, 2010

When I run dmesg I get
Code:
[drm:drm_mode_rmfb] *ERROR* tried to remove a fb that we didn't own
Does anyone have any idea what that means?
Fedora 12 Gnome 2.28

View 2 Replies View Related

Ubuntu Installation :: Shows Multiple CPU Overtemp Messages And Freezes With Totally Black Screen

Jan 20, 2010

I burnt the Ubuntu 9.10 ISO to CD and installed on a freshly nuked Dell 2350. It is pentium 4 at 1.8 MHZ with 512 RAM. Just a spare machine I have sitting there. Install went fine, restarted box, boot from hard drive. I get the little white Ubuntu symbol on a black screen and then a black screen with un-occupied white tool bars at top and bottom of screen and a functional mouse pointer, then nothing. It freezes there.

If I restart by holding the power switch in it occasionally shows multiple CPU overtemp messages and freezes with totally black screen. I can run the CD live and everything works like a champ. I'm going to like Ubuntu once I have this sorted out. If I boot from CD and choose the run from first hard drive option, everything loads and works fine. I was able to remove CD, update and save preferences, etc..

On one occasion, I was able to restart and boot from hard drive and it worked fine but usually it freezes at previously mentioned black screen with white bars top and bottom with mouse pointer. Please excuse my ignorance as I have very little knowledge of the inside workings of computers. I didn't even know about burning ISO's or changing boot orders until reading online. For what it's worth, the computer worked fine with no known hardware problems when it was running XP. It also is completely stock with no mods or added/replaced hardware.

View 4 Replies View Related

Fedora Servers :: Have Multiple SSL Websites On Single IP With Different SSL Certificates?

May 8, 2009

I would like to know if I need multiple IPs' to setup two SSL urls on the same Apache server? Two ssl certificates, one IP - is it possible?

View 4 Replies View Related

Fedora Servers :: F13 - LDAP Multiple Direct Map In AutoFS

Sep 18, 2010

I am using LDAP to manage the autofs and everything works fine. I have a situation here that I can't figure out how to do. I need to use 2 direct map in auto.master, but the LDAP service doesn't allow me to add 2 "cn: /-" entries in the directory.

The following is my auto.master map:
dn: ou=auto.master,ou=autofs,ou=dolphin,dc=example,dc= com,dc=my
objectClass: automountMap
objectClass: top
ou: auto.master
dn: cn=/-,ou=auto.master,ou=autofs,ou=dolphin,dc=example,dc =com,dc=my
objectClass: automount
objectClass: top
automountInformation: ldap://ldap.example.com.my/ou=auto.iso.indirect,ou=autofs,ou=dolphin,dc=examp le,dc=com,dc=my
cn: /-

I have another ldap entry auto.data.indirect but I have no idea how to inject it into the directory. Any ideas how to implement it? I am using Fedora 13.

View 3 Replies View Related

Fedora Servers :: Run A Server With Multiple Blog With Worpress?

Dec 19, 2010

I want to run a server with multiple blog with worpress, is there a tutorial ?

View 2 Replies View Related

Fedora Servers :: Script For Creating Multiple Users?

Feb 7, 2011

I need to create a lot of users locally on my server.I have these info:username:GID:UID.How I can make a "for cycle" for make a multiple useradd? (useradd -u UID -g GID -m /home/USERNAME -s /bin/bash USERNAME)I tried to do this:

touch userlist.txt (UID:GID:USERNAME)
100:110:user1
200:210:user2

[code]...

View 6 Replies View Related

Red Hat / Fedora :: Use Storage On Multiple Servers As A Single Cluster?

Apr 20, 2011

Can ANYONE point me in the right direction on how to use storage on multiple servers as a single cluster?I thought storage cluster was for that but, after much googling, and even more help from here, I don't think that achieves my goal. My goal is to have multiple servers share a file system, to act as somewhat of a network raid, so if node-A goes down the files are available on other nodes, and hopefully so when the capacity of the nodes are reached I can add nodes to expand the "cluster".

View 6 Replies View Related

General :: Multiple Servers Or One Server With Multiple VMWare?

Feb 7, 2011

I'm looking at setting up a couple automated systems: Here are a few examples:

* Internal accounting system to download and process emails
* Public web server to visit

I could put each system on its own separate box -- for example, it's generally good practice to separate anything that external users have access to (such as a webserver) from internal processes such as accounting. Now, rather than dishing out the money for two separate servers, could I get away with just installing new instances of VMWare on the same box for each system?

To give you an idea, these are not large scale computationally sensitive systems. The accounting one is simply downloading and tallying emails, and the latter is just a webserver with maybe 5 hits per day on a good day. I could definitely pick up a new box for say $50, but I wanted to know the general practice of using VMWare on the same box versus two separate boxes.

View 2 Replies View Related

Fedora Networking :: Tool To Create Multiple Listening Servers On TCP And UDP Ports

Jan 17, 2011

Looking for a test tool where I can fire up any number of ports (TCP and / or UDP) to listen on.

I am currently getting my using nc but its only 1 port at a time (i know I can open up multiple sessions but thats cumbersome), it can't do UDP, and it closes at the end of the session.

A friend has suggested socat but it looks pretty much the same except it can do UDP, but also cumbersome, I have to manually output to a different file per port, etc.

Basically its so I can quickly test firewall and NAT rules.

View 7 Replies View Related

Ubuntu Servers :: Remove Some Logs From Messages?

Jan 3, 2011

I have configured my Cisco ASa Firewall to send its logs to my ubuntu server in /var/log/cisco/ I see the logfiles populating in real time, but i can also see all the logs are also wtitten to /var/log/messages. How can i make sure i do not have a log redundancy? I dont want my firewall logs displayed in messages since there are now sent to /var/log/cisco.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved