Is there a system admin tool for RHEL on montioring and logging system memory used and released that can dump to a log file?I'm having an issue with memory not being released when an application is closed. I need to have a tool monitor and log so I can troubleshoot to verify that it's an application not the OS.
I'm having some trouble understanding the smartd configuration options which go in /etc/smartd.conf. I've had smartd running for close to a year now, and read the manual page for smartd and smartd.conf several times, and I still can't get my head around it properly. This is what I use in smartd.conf: /dev/sda -H -f -S on -o on -n standby,q -s (O/../.././(00|06|12|18)|S/../.././11|L/../../(3|6)/21) -m <nomailer> -M exec /usr/sbin/smartd_mailer The above works fine (I use a custom script because I use exim). However, I had two failing hard-disks on two different machines (sector pending attribute) - but I would only receive warning emails if I restarted the machines - not when the periodic tests were being performed. I have a number of questions, if any of you would like to share some light on this:
1. It is not clear from the manual page how the monitoring and alerting mode works. Do I get an initial email when I start smartd if something is wrong, and then no other warning email after each scan, even if there is a fault, unless the fault goes worse? 2. Can I force it to send me warning emails after each test (offline, online, short, long etc.) if the fault condition is still there, even if it hasn't gotten worse? 3. There seem to be a variety of parameters monitored. I was thinking that if I monitor bad sectors, and the hdd temperature - it should be enough to warn me when the hard-disk is failing? Would the -a switch in smartd.conf cover these? 4. I don't understand the difference between monitoring and logging in relation to alerts? Do I get alerts only if I log things? 5. Do I understand correctly that the -p and -u switch would warn me of *any* changes in SMART attributes, even if they don't represent risk of failure? 6. Is there a way of finding out if the scheduled tests (offline, long, short etc.) have been performed?
I'm trying to use these cookie cutter rules that I found. But every time I use them, after a few seconds my wifi connection goes dead. The exception was the first time I used then. Which lasted me a couple of minutes.
By dead I mean I can no longer open a webpage or ping google.
iptables -N LOGGING iptables -A INPUT -j LOGGING iptables -A OUTPUT -j LOGGING iptables -A LOGGING -m limit --limit 2/min -j LOG --log-prefix "IPTables-Dropped: " --log-level 4 iptables -A LOGGING -j DROP
I've got a Shorewall (Shoreline?) firewall up and running, but it's logging to /var/log/messages. I'd much rather have it logging to another location e.g. /var/log/firewall but can't find (a clear enough) explanation on how to do this. Apparently, it varies greatly depending on the distro, the kernel, and the version of Shorewall that is running. You'd think it would be something as simple as setting a path in a config file, but apparently not. I'm running a stock Lenny kernel on the firewall machine. It comes with version 4.0.15 of Shorewall.
I have few doubts regarding fonts configuration in RHEL 5.4.
[vinay@linuxcoe4 fonts]$ cd /usr/share/X11/fonts [vinay@linuxcoe4 fonts]$ ls 100dpi 75dpi encodings misc TTF Type1 util
Also there is no fonts.dir file, which describes fonts under a specific fonts directory in /usr/share/fonts tree. But we can find fonts.dir or fonts.scale file under /usr/share/X11/fonts/ tree. Does files under /usr/share/fonts tree are not dependent on fonts.dir ?
Friends i got an opertunity to configure ddns in my office.I already configured staic dns in linux, but this is the first time iam configuring ddns.I just configured ddns in rhel 5.2 in my office.So far every thing working fine,dhcp is giving ip address to the clients and both forward and reverse dns database is updating.
1) In windows we can use flushdns and registerdns commands to update the dns database, like this any command is in linux to update client details in dns database?
2)how to restrict multiple client entries keeping in dhcp database.
3)if i change client hostname it is not updating the dns database,it is keeping the old one.
I have and RHEL5.4 conecceted to an SAN HSV200. When I present a LUN to it, In system-confg-lvm gui appears a device like /dev/mapth/mapth0 (that�s the correct device to multipath) and other like /dev/sda or /dev/dm-N, as uninitialized entities. How could I configure to not display this device (/dev/sda) and prevent human errors?
This is the things I need:
1- I want (if it is posible...) to disappear the part where it says "uninitialized entities"
2- Is It necesary mantain the partitioning done to default (like /dev/mapper/mpath0p1) with device-mapper-multipath (kpartx command)? or Can I delete it without future problems?
I am trying to install and configure nagios on RHEL 5. I have apache 2 installed and php all working as exepected. When i install nagios following the these steps [URL]. The nagios folder that is suppossed to be placed under apache2's httpd is no where to be seen. So when I try to open localhost/nagios/. It says: The requested URL /nagios/ was not found on this server. What can I do for the nagios to work on this system. The apache and php are working fine.
issue in starting up Open view monitoring on couple of linux servers and here is the output from mii-tool looks like.
eth0: 100 Mbit, full duplex, link ok eth1: 100 Mbit, full duplex, link ok
Based on what I understand, eth0 goes to monitoring and the other 2 ethernet cards go to FE. I am not an expert in system administration but would like to know if there is any issues with the above settings/configuration (in fact, im also looking for what do they infer and what is the settings?
One monitor is working fine but the display is not coming on other monitor. I guess no problem in monitor because I swapped the cable to check the individual monitor. When I try to install the new driver its giving GCC-VERSION-CHECK while installing. And I do not think I have to install the new driver because it has already one. What should I do to configure the dual monitor. Do I have to edit any configuration file.
My system configuration details are below. Redhat version : Redhat Enterprise Linux WS release 3 (Taroon update 4) Driver in SRBC 26: NVIDIA-LINUX-x86_64-1.0-7664-pkg2.run Nvidia card model : Quadro fx p171 Bios version of Nvidia : 220.127.116.11.07 p/n : 900-50171-0400-0000K 600-50171-0002-201J
I want to create a small network of 3-5 computers. I want to have one computer as my server and have services like NFS, DHCP, NTP, etc. I want to connect it to 2-4 other clients that have the bare minimal installation of linux on them. I would like 1 client computer to have a static ip address and I would like another to receive a dynamic ip address from the server. How would I go about doing all of this without the assistance of GUI's? I want to be able to do all this with the ks.cfg and network config files.
I am new to mysql can some one provide me the documentation or some recommended links to start the configuration of mysql server on RHEL. Also if I get the database schema, how can I replicate the same in my machine. Any documentation for this?
What are the bare minimum configuration files that would be needed to rebuild a RHEL server?We are thinking about creating a generic base image and then just copying over the necessary files (fstab, hosts, networking, etc) to get a failed system back up and running in the least amount of time possible. I am fairly new to Linux and have suggested that we have a share on a redundant server that is /server_configs/Svr_name/*.* (names are subject to change and *.* would be all of the pertinent config files to make a fresh build customized enough to emulate the failed server).Is this even possible and/or plausible?
I have set up RHEL with single hard drive initially.But now i have installed new 5-hard drives of 1TB each.I have set it up as RAID 0 -Hardware RAID.The problem is linux detects and shows all hard drives as independent separate HDDS.I want to use LVM2 for software RAID 0 to show all hard drive volumes as single hard drives.
setup my static network connection Here are my details :
IP : 172.16.152.137 Subnet : 255.255.255.192 Gateway : 172.16.152.191 Primary DNS : 172.16.0.1
but after this setup when i restart my network #service network restart while bringing up the eth0 the following message is displayed before [OK] - RTNETLINK answers : Invalid Argument now it seems either this setup is wrong or not sufficient to set up the connection, whenever i try to ping 172.16.0.1 it showing connect : Network is Unreachable
is possible to edited the default RHEL CD to have it automatically install RHEL based off of a kickstart file that I will store locally on the CD. My plan would be to put a cd in a server and have the OS automatically being installed.
I have 4 partitions in my system, out of which two(sda1, sda2) have windows on them. I have installed RHEL 4 32 - bit on sda3 and after that , installed installed RHEL 64-bit on to a partition sda 5. Now i am unable to boot into RHEL 32-bit. The error i am getting is Error 13: Invalid or unsupported executable format.
I have RHEL 3 and Win XP Installed in my P.C?I want to uninstall RHEL 3 and install RHEL 9 without affecting XP.how can i do this and also where can i download free RHEL 9 version or any other latest linux distribution for free?
A client has sent me an RHEL 5.1 box for me to do some work on, but it's not registered with Red Hat. This is causing me problems, because it's a minimal installation, and I need some more dev software.My immediate reaction was to install various bits (emacs, and so on) from my Centos 5(.0) DVD.The base RHEL system only had one (disabled) repo entry,so I added a yum DVD repo entry in yum.conf.d.
This looked good to start with, but it doesn't work. Something in RHEL's pirut/yum/rpm/whatever is getting confused, and can't work out what is/isn't installed.
Question - how do you maintain an unregistered RHEL box? Has RH done something to make life difficult? Is my problem simply that I'm using a Centos 5.0 DVD, instead of Centos 5.1? Am I stuck with downloading lots of rpms from the net and doing everything manually? I really don't want to do that.
I am trying to download RHEL 5.4 AS version for testing..But under [URL] There is no specific link for AS version or ES version..How can I detect which iso is for AS and which one for ES..? There are separate links for AS and ES version for RHEL 4.x version but why is it not available for RHEL 5.x versions?
I have a database server running RHEL 5.1 32 bit that suffered some catastrophic failures about 6 months ago. We were able to patch it back together and keep it running, but now the manufacturing site it supports is going to shut down for two weeks and I would like to replace it permenantly. Does anyone have any guidance for that sort of thing? I'd like to have the new server up and running before hand, basically changing the hostname/ip and restoring the databases only on conversion day. I've done this in the past with HP UX - Red Hat conversions, but this is my first red hat to red hat move. Any advice or shortcuts?I forgot to add the other wrinkle. The new server will be running 64bit linux.