Red Hat / Fedora :: RHEL 5.3: Filter Statement In /etc/lvm/lvm.conf?
Jun 27, 2009
I have a RHEL 5.3 server attached to an EMC Clariion. There are 24 36gb LUNs presented to my server. I have 4 paths to each LUN. I'm using native Linux multipathing. each LUN shows up 5 times (one for each path, and one for the multipath). I also have two internal logical drives, /dev/sda and /dev/sdb, and I want LVM to see them. I'm trying to get LVM to ignore the individual paths and I need help making my filter statement correct in /etc/lvm/lvm.conf. Here is my filter line:
filter = [ "a/dev/sda/", "a/dev/sdb/", "a/dev/mpath/.*/", "r/.*/" ]
Here are my devices:
# sfdisk -s
/dev/sda: 142737408
/dev/sdb: 71041024
/dev/sdc: 37748736
[code]....
View 1 Replies
ADVERTISEMENT
Jun 28, 2010
We are building our C++ project in Kdevelop IDE. Every time we run "Run Configure" from the "Build" menu, a file named "libtool" gets automatically generated. This file contains a statement as "ECHO="echo"".f we run "Automake", without modifying the "libtool" the system hangs and theputer needs to be restarted.Therefore every time we run "Run Configure" we need to include the line "echo="echo"" below the statement "ECHO="echo"" manually.I think a script can be written which does the above on its own.I am not a shell script programmer, I know the good tutorials for shell scripts are available on the net, but learning scripting only for this task would be time-consuming and painful.
View 4 Replies
View Related
Oct 6, 2010
I've written a simple perl code to learn switches in perl.My code is pasted below,
#!/usr/bin/perl
$opt = 1;
switch($opt) {
[code]...
View 3 Replies
View Related
Mar 26, 2010
I am running Red Hat Enterprise Linux AS release 4 (Nahant Update 7). The server was recently rebooted and wouldn't come up. After some investigation we found that the system would not boot because several files had been zero'd out (not deleted):
* All of these files had a date of March 11, 2010 with a time 03:46
* A zero byte file called /halt was also found with a date of 08:46
We could manually boot to the latest kernel, but none of the startup scripts would run. We analyzed the system looking for any file created on March 11 that were also 0 bytes. Once we had a list, we were able to determine that the system could be recovered without a full blown reinstallation of the OS.
We did a rescue boot from the installation CD, mounted the system volume privately, and edited the grub.conf file. We then brought up the network and copied the needed files from another RHEL v4.7 system. Rebooted the server and check the OS, databases, and apps.
My question is - Has anyone seen this behavior before? I seems like we may have been cracked or at the very least someone has cleared the files needed to recover the system smoothly.
View 3 Replies
View Related
May 14, 2010
My current Linux Version:
#more /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
OS Bit is :
#uname -a
Linux <hostname> 2.6.18-128.1.16.el5 #1 SMP Tue Jun 30 06:45:51 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Now i want to upgrade to RHEL 5.3 (ie)Red Hat Enterprise Linux Server release 5.3 (Tikanga).
View 1 Replies
View Related
Nov 3, 2010
Can we upgrade RHEL 4.8 to RHEL 5.5?
View 3 Replies
View Related
Apr 28, 2011
I have open ports on my computer for vsftpd, pptpd, and I need help to filter this ports because they aper as open ports on internet, and this is pretty risky
View 3 Replies
View Related
Dec 10, 2009
i have the following problem on FC12 x64, FF 3.5.5.
Since a few days my AdblockPlus AddOn forgets its subscriptions on a FF-restart. I already reinstalled it but no change. My own rules are still there, but the filter-lists of the subscriptions are gone on every restart.
View 1 Replies
View Related
Nov 7, 2009
I am running a basic squid + privoxy combo for web caching/filtering proxy and it works fine. I'm basically running a stock config w/ a few minor edits to allow the relevant hosts access etc.now I am trying to find an easy way to specify privoxy to not filter a specific site (which it breaks). I have tried wading through the privoxy manual + google but I find the config file incredibly complicated. Are there any experts out there who can tell me: what is the easiest way to tell privoxy to 'pass through' a specific website?
View 2 Replies
View Related
Feb 26, 2011
I am new to fedora and I've installed fedora 14, I want to know what are the steps to make my machine act as a transparent (IP-less) bridge? Second, after setting the bridge, I want to make all the packets that passes through the bridge execute a servlet filter (to make some tests and add cookies) is it possible? Is there a simpler way to do those tests on the packets and add cookies?
View 4 Replies
View Related
Apr 3, 2010
I've been trying for a couple days now to get netem rate limiting to work on a Fedora 12 i686 virtual machine (both on VMware Fusion and KVM), and have had no success.In order to do outbound rate limiting, I want to use the netem token bucket filter (TBF), as described here:[URL]Unfortunately, attempting to use the TBF results in this error:
Code:
[root@f12-build ~]# tc qdisc add dev eth1 parent 1:1 handle 10: tbf rate 256kbit buffer 1600 limit 3000
[code]...
View 1 Replies
View Related
Jun 1, 2009
I've been scanning the apache2 docs for the past few days and have not come up with an answer my following issue:
In my httpd.conf file, at the very end, I have the line
Include conf/vhosts/vhost_*.conf
However, when I run apache checkconfig or try to start apache, it gives me the error:
httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf/vhosts/vhost_1.conf: Permission denied
It appears as if the Include line is correct - in terms of it grabbing the first virtual host conf file. However, I'm confused on the permissions. the /etc/httpd folder is owned by root:root, as are the subfolders. As a test, I chown'd the conf/vhost folder combination and all the vhost files to apache:apache to see if that made a difference, and it appeared to make no difference at all. The log files don't contain anything (assumed because apache isn't starting). If I place the contents of the vhosts in a singular vhosts.conf it works - with the permissions set to root:root. I'd like to avoid having to use one vhosts conf for the configuration I'm trying to achieve - as it would make my life a lot easier.
View 3 Replies
View Related
Jul 25, 2010
phpmyadmin files are in usr/share/phpmyadmin but i cant find anything in my apache2.conf or httpd.conf files that point to that directory.How do I find the route taken from the Server root "ServerRoot "/etc/apache2"" to the phpmy admin files.
View 5 Replies
View Related
May 22, 2011
I have used nVidia my entire linux life (about 5 years clean and sober from M$). Recently, I have switched over to an ATI Radeon HD 5550 card. After many trial and error setups, I finally got the resolutions and screens set properly with a xrandr command, which I have now added to a shell script in ~/.kde4/Autostart. It has worked for me for a while now, but I really would like to get it set in the xorg.conf.d files so that I don't have to wait that extra few seconds after login for the screens to fix themselves.
Is there an easy way to take what xrandr does and export it to the xorg.conf.d files? If my video card recognizes my default monitor as DFP2 and the tv that I only sometimes use with this computer as DFP1, how can I ensure that the login screen for openSUSE/KDE4 appears on my default screen (an issue that drove me nuts a few months ago when I tried Ubuntu to see what all the fuss was about)?
My xrandr command that I use to fix it all is:
xrandr --output DFP2 --auto --pos 0x0 --primary --output DFP1 --auto --right-of
I am using the proprietary Radeon driver from the ioda repository. DFP2 is a monitor which has a optimum resolution of 1920x1200, and DFP1 is an 1080p HDTV. I can not reverse the output plugs for the screens even though my monitor is an HDMI monitor because I use the actual HDMI port on the video card to output audio to the television and the other plug is a DVI that I convert to HDMI for the monitor.
View 1 Replies
View Related
Apr 3, 2011
I'm trying to set up samba. I am editing the smb.conf.master file, and then using the testparm -s "smb.conf.master > smb.conf" command to make the smb.conf file. I am running this command as root. However, the smb.conf is not updating with the changes I am making. Does anyone know why? It just stays the same no matter what I change. The only way to change it is to edit the smb.conf file itself.
View 1 Replies
View Related
Mar 2, 2011
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.
View 3 Replies
View Related
Feb 1, 2011
We are planning to migrate our LINUX server from RHEL 3to RHEL 5. What are the configuration difference between RHEL 3 to RHEL 5 for webserver installations?
View 1 Replies
View Related
Apr 27, 2009
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.
View 1 Replies
View Related
May 1, 2011
can not ping from host (RHEL 6) to RHEL 5 in (virtual)? I have stopped iptables on both machines. But still not able to ping from host machine to virtual.
View 1 Replies
View Related
Jul 13, 2009
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?
View 1 Replies
View Related
Feb 16, 2010
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.
View 2 Replies
View Related
Oct 21, 2010
I have LDAP authentication working via SSSD using authconfig-tui and a few minor modifications to sssd.conf (ie: max_id etc). The problem I am having is it would appear /etc/ldap.conf is being ignored and/or setups that work perfectly on RHEL5, F11 and F12 no longer work on F13. Specifically Im referring to "pam_check_host_attr" and "nss_map_attribute". It refuses to honor either of these options and I can only assume a number of the other options in our ldap.conf. For instance, "nss_map_attribute" is defaulting to the standard "homeDirectory" rather than "homeDirectoryLinux". This is related to a bunch of OSX clients we have and its not optional to use another setup. The host restriction is also a major issue.
Relevant sssd.conf:
[domain/default]
auth_provider = ldap
cache_credentials = True
View 11 Replies
View Related
Feb 26, 2009
Is it possible to import an xorg.conf file from Debian to Fedora and have it work? The reason for this is that I have an older monitor that only offers 800x600 as the maximum resolution.
View 2 Replies
View Related
Dec 23, 2009
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?
View 3 Replies
View Related
Dec 14, 2010
what are the major differences between rhel 5.2 and rhel 5.4
View 2 Replies
View Related
Dec 9, 2009
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.
View 1 Replies
View Related
Feb 6, 2009
I have RHEL 4, RHEL 3, i need install dmidecode RPM packet and procinfo packet... exist this packets for this linux versions?
View 11 Replies
View Related
Aug 7, 2011
I have multiple drives and software that defaults to my primary drive. I want to change preferences to use my second drive.This is the current path "/home/guy/dvdrip-data" my second drive is named "2Internal".How do I properly format the path statement to use the second drive?
View 7 Replies
View Related
Jul 9, 2010
I am trying to create a script to be used on RHEL server. If I replace the $t with a number, the script works. If I try add a variable or the $1, the script doesn?t work (returns all processes even if less than the $t value). I thought that it may be treating it as a literal, but I wasn?t sure of the conversion.
t=$1
echo $t
lcnt=`ps -eo pid,ppid,rss,vsize,pcpu,pmem,cmd -ww --sort=pid | awk '{if ($6 > $t) print
[code]...
View 2 Replies
View Related
Nov 28, 2010
I have returned the below mentioned lines of code however I am receiving error "Syntax Error On Done Statement".
while:
do
clear
echo "-------------------------------------------------------------------"
echo "Main Menu"
echo "-------------------------------------------------------------------"
echo "[1] Today's Date"
echo "[2] Show files in the current Directory"
read yourch
case $yourch in
1) echo "Today is `date`,press a key ........";read;;
2) echo ls -l;read;;
*) echo "Select the yourch as 1 or 2";
View 3 Replies
View Related