Re: [CentOS] How to strip out the title bar from xterm windows on CentOS 5 GNOME?

2010-12-19 Thread Kahlil Hodgson
On 18/12/10 13:37, Bart Schaefer wrote: The presence and appearance of title bars (except for the text content) are controlled by the window manager, not by the application framed in the window. In the case of the standard Gnome desktop, that application is metacity. So you need to look for

Re: [CentOS] ls returns file doesn't exist, find finds it??

2011-02-23 Thread Kahlil Hodgson
On 24/02/11 15:54, neubyr wrote: Howdy, I am getting some errors with find and ls command - such that find is able to see a file whereas ls says the file doesn't exist. Initially I was trying find and ls together as: # find ./ -type f -mtime +15 | xargs ls Similar behavior is seen even

Re: [CentOS] Migrating standalone systems to xen guests

2011-03-24 Thread Kahlil Hodgson
Make sure here to copy with preserving hardlinks, use tar or rsync -aH for this. And, you can exclude some content like /dev/* (but not the directory /dev itself!). Use star. This will preserve SELinux configurations, which neither tar nor rsync do. The SELinux file contexts are stored in

Re: [CentOS] Auto-updates -- Bad Idea?

2011-04-06 Thread Kahlil Hodgson
On 07/04/11 05:34, Les Mikesell wrote: Is the only reasonable solution to schedule a human cron once a week to look at needed updates? Ouch. A middle-of-the-road approach is to have a machine or VM where you can test things, perhaps the one you use as your own desktop or for

Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-15 Thread Kahlil Hodgson
On 15/09/11 16:22, Sebastiano Pilla wrote: [root@picard yum.repos.d]# yum clean dbcache Loaded plugins: downloadonly, fastestmirror, priorities 0 sqlite files removed [root@picard yum.repos.d]# yum update Loaded plugins: downloadonly, fastestmirror, priorities Loading mirror speeds from

Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-15 Thread Kahlil Hodgson
On 16/09/11 08:22, Sebastiano Pilla wrote: Based on what I'm seeing, I do not think that yum is downloading a corrupt sqlite database, rather than it is creating a corrupt database all by itself. I have however no definite confirmation of this and I would like to have one before filing a

Re: [CentOS] CentOS 6 x64 - Changing /var folder to raid 1 disk after install

2011-11-21 Thread Kahlil Hodgson
On 21/11/11 22:50, Adil BOYUN wrote: I have fresh install CentOS 6 x64 running on my server. I have a raid 1 drive 3 tb ready to be mounted. I want to mount this as var folder, could achive this but after reboot, server didn't start, maybe i had problem with command cp -rf. Is this possible

Re: [CentOS] Applications on different deskops at startup

2011-11-24 Thread Kahlil Hodgson
On 24/11/11 22:27, Tony Molloy wrote: I have several desktops with applications running on them, mainly terminals. At login all the terminals start on desktop 1. How do I get them to start on the desktop they were running on at logoff. That's how it worked on Fedora 13/14 so it must be

Re: [CentOS] One of my servers wont boot today

2012-01-30 Thread Kahlil Hodgson
On Mon, 2012-01-30 at 15:43 -0800, Jason T. Slack-Moehrle wrote: It says: /dev/VolGroup00/. The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the

[CentOS] Software RAID1 with CentOS-6.2

2012-02-28 Thread Kahlil Hodgson
Hello, Having a problem with software RAID that is driving me crazy. Here's the details: 1. CentOS 6.2 x86_64 install from the minimal iso (via pxeboot). 2. Reasonably good PC hardware (i.e. not budget, but not server grade either) with a pair of 1TB Western Digital SATA3 Drives. 3. Drives are

Re: [CentOS] Software RAID1 with CentOS-6.2

2012-02-28 Thread Kahlil Hodgson
Hi Scott, On Tue, 2012-02-28 at 16:48 -0800, Scott Silva wrote: First thing... Are they green drives? Green drives power down randomly and can cause these types of errors... These are 'Black' drives. Also, maybe the 6GB sata isn't fully supported by linux and that board... Try the 3 GB

Re: [CentOS] Software RAID1 with CentOS-6.2

2012-02-28 Thread Kahlil Hodgson
Hi Keith, On Tue, 2012-02-28 at 16:43 -0800, Keith Keller wrote: One thing you can try is to download WD's drive tester and throw it at your drives. It seems unlikely to find anything, but you never know. The tester is available on the UBCD bootable CD image (which has lots of other handy

Re: [CentOS] Software RAID1 with CentOS-6.2

2012-02-28 Thread Kahlil Hodgson
On Tue, 2012-02-28 at 20:30 -0500, Luke S. Crawford wrote: On Wed, Feb 29, 2012 at 11:27:53AM +1100, Kahlil Hodgson wrote: Now I start to get I/O errors on printed on the console. Run 'mdadm -D /dev/md1' and see the array is degraded and /dev/sdb2 has been marked as faulty. what I/O

Re: [CentOS] Software RAID1 with CentOS-6.2

2012-02-28 Thread Kahlil Hodgson
Hi Ellen, On Tue, 2012-02-28 at 18:59 -0700, Ellen Shull wrote: On Tue, Feb 28, 2012 at 5:27 PM, Kahlil Hodgson kahlil.hodg...@dealmax.com.au wrote: Now I start to get I/O errors on printed on the console. Run 'mdadm -D /dev/md1' and see the array is degraded and /dev/sdb2 has been marked

Re: [CentOS] Software RAID1 with CentOS-6.2

2012-02-28 Thread Kahlil Hodgson
Hi Emmett, On Tue, 2012-02-28 at 18:18 -0800, Emmett Culley wrote: I just had a very similar problem with a raid 10 array with four new 1TB drives. It turned out to be the SATA cable. ... All has been well for a week now. I should have tired replacing the cable first :-) Ah yes. Good

Re: [CentOS] Software RAID1 with CentOS-6.2

2012-02-28 Thread Kahlil Hodgson
On Wed, 2012-02-29 at 14:21 +1100, Kahlil Hodgson wrote: I had a problem like this once. In a heterogeneous array of 80 GB PATA drives (it was a while ago), the one WD drive kept dropping out like this. WD's diagnostic tool showed a problem, so I RMA'ed the drive... only to discover

Re: [CentOS] [SOLVED] Software RAID1 with CentOS-6.2

2012-03-06 Thread Kahlil Hodgson
On Wed, 2012-02-29 at 17:43 +1100, Kahlil Hodgson wrote: Sadly still getting the same errors. Will have another go at this tomorrow. Three more things to try 1. UBCD and Western Digital diagnostics. 2. Bring the RAID array up via the live cd and see if it resyncs. At least I'll be able

Re: [CentOS] Vim scripting - cursor motion

2011-06-13 Thread Kahlil Hodgson
On 11/06/11 19:03, Jussi Hirvi wrote: Ok, that helped me along. For some reason the motions (like 1G0 for beginning of file, or G$ for last char in file) work, when the script is called from command-line with -s flag (vim -s myscript myfile). But they don't work when the script is called

Re: [CentOS] CentOS 6 - VM network bridge issue

2011-07-19 Thread Kahlil Hodgson
On 07/19/2011 07:52 PM, Khusro Jaleel wrote: A bit of a long shot but does turning on STP on the br* interfaces help? I vaguely remember I had to do the following on one of my machines that uses bonding + bridges: # brctl stp br0 on I have put this in the machines' /etc/rc.local so it's

Re: [CentOS] PKA help

2011-08-03 Thread Kahlil Hodgson
On 08/04/2011 04:28 AM, Todd wrote: ah ha, I can cat id_rsa.pub ~/.ssh/authorized_keys for each user account on the server You might want to have a look at /usr/bin/ssh-copy-id [-i [identity_file]] [user@]machine It takes care of directory/file creation, permissions, selinux

Re: [CentOS] sendmail sending out on port 587

2010-03-21 Thread Kahlil Hodgson
On 22/03/10 10:01, Gregory P. Ennis wrote: I had been doing what you suggested above. This resulted in being able to read all e-mail, but I could not send any e-mail in that port 25 was being blocked by the hotel. I use thunderbird and have configured it to use multiple outgoing SMTP servers

Re: [CentOS] awk global replacement only after keyword

2010-03-25 Thread Kahlil Hodgson
On 03/26/2010 02:02 PM, Joseph L. Casale wrote: I think there is a way to do it in sed using the holding space, but it's so much easier in perl that I never bothered to learn the hard parts. What's the problem with using perl anyway? No problem, just thought there was a sexier way to do

Re: [CentOS] Network tuning for working with very old Solaris

2010-03-27 Thread Kahlil Hodgson
On 03/28/2010 05:04 AM, Wade Hampton wrote: me, I'd get on the console (most Sparc's newer than about 10 years old have a ALOM or RSC or whatever remote console module you can telnet or ssh to, older ones were almost all serial console, which is typically connected to a cyclades type console

Re: [CentOS] remove openssl

2010-03-29 Thread Kahlil Hodgson
On 03/29/2010 05:38 PM, Eero Volotinen wrote: 2010/3/29 cahit Eyigünlü cahit.eyigu...@gmail.com: i am trying to install plesk but my cent os has a newer version of open ssl that is why my setup is interrupting, how could i remove open ssl ? i tryed yum remove openssl but it encounter lots of

Re: [CentOS] bogus error message from yum update for gmime and gmime-sharp

2010-03-30 Thread Kahlil Hodgson
On 03/30/2010 06:34 PM, ken wrote: I've done a 'yum clean' and then run 'yum update' and get the same result as above. My hunch is that the problem is particular to these two packages (gmime and gmime-sharp)... because I've had repeated problems with just them. Updating thirty-some other

Re: [CentOS] bogus error message from yum update for gmime and gmime-sharp

2010-03-30 Thread Kahlil Hodgson
On 03/31/2010 08:13 AM, ken wrote: -- Running transaction check -- Processing Dependency: gmime = 2.2.10-5.el5.centos for package: gmime-sharp --- Package gmime.i386 0:2.2.25-1.el5 set to be updated -- Finished Dependency Resolution gmime-sharp-2.2.10-5.el5.centos.i386 from installed has

Re: [CentOS] How Do I ...

2010-04-14 Thread Kahlil Hodgson
On 04/15/2010 12:58 AM, gene.po...@macys.com wrote: I've got a machine running CentOS 5.3 and this machine has got 2 - built-in 1 Gig NICs and a expansion card with 4 - 100 Meg NICs. For whatever reason at install time, it made the expansion card eth0 through eth3 and the internal ports eth4

Re: [CentOS] burning an image

2010-04-14 Thread Kahlil Hodgson
On 15/04/10 09:58, david walcroft wrote: I downloaded CentOS-5.4-x86_64-bin-DVD.iso but I haven't used Centos before and I've haven't used a -bin-DVD.iso before,every attempt so far to burn one has produced coasters,what do I do to get an image. I've had graphical apps give me coasters on

Re: [CentOS] scripting CPAN installs

2010-04-19 Thread Kahlil Hodgson
On 04/17/2010 12:21 AM, Alan McKay wrote: Now my only problem seems to be that cpan does not allow me to specify yes to this question when it asks. e.g. like the -y option to yum Unsatisfied dependencies detected during [A/AN/ANDK/CPAN-1.9402.tar.gz] - Test::Harness Shall I

Re: [CentOS] Help with NFSV4 server

2010-04-21 Thread Kahlil Hodgson
Hi Clint I've got NFS4 running on F11 and your configuration looks fine to me. {The Client} [r...@silver ~]# cat /etc/idmapd.conf [General] ... [Mapping] Nobody-User = nfsnobody Nobody-Group = nfsnobody You may want to check that nfsnobody is defined on your system and rpc.idmapd is

Re: [CentOS] is it possible to resive /var online?

2010-05-02 Thread Kahlil Hodgson
On 05/03/2010 05:15 AM, Rudi Ahlers wrote: Is it possible, safely, to resize /var while a server is running? I urgently need to resize a full 2GB /var on a running server which is located at a remote location where no one can get to it for 2 days? I've done it before on a quiet system and it

Re: [CentOS] Not firewall, but what?

2010-05-07 Thread Kahlil Hodgson
On 05/08/2010 12:26 AM, Jussi Hirvi wrote: On 7.5.2010 16.40, Benjamin Franz wrote: Post the results for 'route -n', 'ifconfig', and 'arping -D 62.236.221.71' on the machine. The values in the previous message and below are from the xen host (62.236.221.67/62.220.237.104), which displays

Re: [CentOS] Not firewall, but what?

2010-05-08 Thread Kahlil Hodgson
On 05/08/2010 05:38 PM, Jussi Hirvi wrote: How can I turn stp on? In my /etc/xen/scripts/xen-network-common.sh there is a section: # Don't create the bridge if it already exists. if [ ! -e /sys/class/net/${bridge}/bridge ]; then brctl addbr ${bridge} brctl stp

Re: [CentOS] Not firewall, but what?

2010-05-09 Thread Kahlil Hodgson
On 05/08/2010 11:28 PM, JohnS wrote: If I were you I would start from scratch and go step by step and set it up. John I'm in agreement with John here. Your set up looks complex and may be starting from scratch is the way to go. Looking back though the thread, your set up might also be

Re: [CentOS] Not firewall, but what?

2010-05-10 Thread Kahlil Hodgson
On 05/10/2010 05:34 PM, Jussi Hirvi wrote: This box is already in production, but I think the most useful approach here is to reconsider my setup. I have two public networks here, 62.220.237.x and 62.236.221.x. I want to build a xen system, where some guests connect to one network, some

Re: [CentOS] Not firewall, but what?

2010-05-10 Thread Kahlil Hodgson
On 05/10/2010 08:09 PM, Jussi Hirvi wrote: Hm, NAT might be difficult, because there are common ports to the guest systems. Yeah, but they're going to have different IP addresses and we could do NAT around that. My personal preference is to put a router between external interfaces (with

Re: [CentOS] Not firewall, but what?

2010-05-10 Thread Kahlil Hodgson
On 05/10/2010 11:03 PM, Jussi Hirvi wrote: On 10.5.2010 15.48, Les Mikesell wrote: How do you handle the default route on the 'connect to both' guests? Normally you only want one default gateway and it should be the same one where the connections are coming in. Otherwise you have to do

Re: [CentOS] Not firewall, but what?

2010-05-10 Thread Kahlil Hodgson
On 11/05/10 10:40, Gordon Messmer wrote: On 05/10/2010 06:20 AM, Kahlil Hodgson wrote: This gives me a very clean and clear separation between inside my network and outside, and no one outside my network is going to see my RFC1918 address space. I weep every time I see someone advocate NAT

Re: [CentOS] Created a custom/minimal CentOS 5.x install ISO

2010-05-19 Thread Kahlil Hodgson
On 05/20/2010 11:40 AM, Gordon Messmer wrote: On 05/19/2010 02:37 PM, Digimer wrote: I've been googling for ways to do this, figuring it must be somewhat straight forward, but my google-fu is weak it seems. Can someone point me to a how-to or doc on rolling your own CentOS derivative ISO?

Re: [CentOS] Created a custom/minimal CentOS 5.x install ISO

2010-05-20 Thread Kahlil Hodgson
On 05/21/2010 12:55 AM, Digimer wrote: So let me see if I've got this straight (sorry, I'm coming from a Debian background)... You are forgiven :-) 1. I need to create my own local repo which revisor will draw from. Only necessary if the packages you want to include can't be found in any

Re: [CentOS] tricky perl question - ascending order

2010-05-23 Thread Kahlil Hodgson
On 05/24/2010 06:39 AM, Jozsi Vadkan wrote: The solution [from the FreeBSD mailing list]: perl -00 -e 'print map $_-[0], sort { $a-[1] = $b-[1] } map [$_, tr/\n//], ' before.txt after.txt Thank you!! FYI a lovely piece of magic from 1994:-)

Re: [CentOS] Resolv.conf being overwritten

2010-05-23 Thread Kahlil Hodgson
On 05/21/2010 11:24 PM, ken wrote: On Thu, May 20, 2010 at 07:02:06PM -0400, Thomas Dukes wrote: I am trying to add 127.0.0.1 to my resolv.conf. I added it through the system-config-network but if I reboot, its gone. I do not have the caching nameserver package installed. My ISP's nameservers

Re: [CentOS] Calendar server

2010-06-02 Thread Kahlil Hodgson
On 03/06/10 13:21, sync wrote: Hi ,all : I recently switched to using Thunderbird for my email and installed the Lightning calendar add-on. Now all I need is a remote calendar server. I just need a simple server to support a few personal calendars and a shared calendar. Any

Re: [CentOS] Disable sendmail and configure mailx to use an external Postfix server?

2010-06-15 Thread Kahlil Hodgson
On 15/06/10 12:50, Dan Burkland wrote: Is there anyway I can disable sendmail on my various machines and configure mailx on them to utilize my Postfix SMTP server? ssmtp may do what you want Kal ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] yum force

2010-06-15 Thread Kahlil Hodgson
On 06/16/2010 06:10 AM, m.r...@5-cent.us wrote: I'm trying to do an update to some servers... and they have both i386 and x86_64 perl. The latter won't update, because the idiotic *man pages* are dups. Is there *any* way, short of using rpm directly with a --force, to get yum to ignore the

Re: [CentOS] yum force

2010-06-15 Thread Kahlil Hodgson
On 16/06/10 08:47, Gary Greene wrote: On 6/15/10 3:26 PM, Kahlil Hodgson kahlil.hodg...@dealmax.com.au wrote: Yes, this is frustrating. I've encountered it a number of times while packaging perl modules that override those in the core (e.g. Test::More). Sorry, but I've never found a really

Re: [CentOS] qemu

2010-07-04 Thread Kahlil Hodgson
On 05/07/10 06:05, mattias jonsson wrote: Thanks for all info But how to start agust not created with virt-install E.g a downloaded image Just to confirm what you are asking for. 1. You have a host with a bridge already setup? 2. That bridge is attached to a network that has a DNCP server on

Re: [CentOS] Networking just stopped working

2010-07-07 Thread Kahlil Hodgson
On 06/07/10 22:48, Les Mikesell wrote: Chan Chung Hang Christopher wrote: Christopher Chan wrote: And now the thing is working again... It's not working again. Running tcpdump -i vlan seems to trigger something to get the network working again but as soon as I stop tcpdump...nada, zip,

Re: [CentOS] Networking just stopped working

2010-07-07 Thread Kahlil Hodgson
On 08/07/10 14:58, Christopher Chan wrote: If you have two machines on the same network with the same IP address you get behaviour like this. Had this happen once when an engineer reset a UPSs and it took on the IP address of a main switch. arpwatch is your friend. Unfortunately all

Re: [CentOS] Networking just stopped working

2010-07-08 Thread Kahlil Hodgson
On 08/07/10 15:41, Christopher Chan wrote: No new boxes. Not possible for any other box to be assigned the same ip internally via dhcp and definitely not the same Internet ip. Exactly. DHCP server would check for a conflict before assigning an address and is definitely not the source of the

Re: [CentOS] Networking just stopped working

2010-07-08 Thread Kahlil Hodgson
On 07/08/2010 05:08 PM, Christopher Chan wrote: Hmmm ... which bond mode are you using? Why mode 4 of course. Ouch. Never used that mode. snip mode=4 (802.3ad) IEEE 802.3ad Dynamic link aggregation. Creates aggregation groups that share the same speed and duplex settings. Utilizes all

Re: [CentOS] Setting apache's maxclients higher than 256 in CentOS

2010-07-12 Thread Kahlil Hodgson
On 13/07/10 13:14, robert mena wrote: I could not find any reference if the version of apache compiled for centos 5.x has support for more than 256 clients in apache's maxclients. I think 256 is the _default_ not the maximum. From the Apache httpd 2.2 docs snip For non-threaded servers (i.e.,

Re: [CentOS] Finding DHCP IP of guest system

2010-07-16 Thread Kahlil Hodgson
On 07/17/2010 12:39 AM, David Dyer-Bennet wrote: The domU got it's ip from the corporate DHCP server, which is what I intended (that's why I'm running bridged, I'm using virtual servers to separate functions while conserving physical boxes, so I want them to present as separate systems to

Re: [CentOS] Finding DHCP IP of guest system

2010-07-18 Thread Kahlil Hodgson
On 18/07/10 12:04, David Dyer-Bennet wrote: An alternative, if you have some control over the DHCP server, might be to enforce a mapping of MAC addresses to IPs. You can pretty much set you guest MAC addresses to whatever you want so long as they don't conflict with anything else. In the

Re: [CentOS] how to dual boot centos with redhat?

2010-08-04 Thread Kahlil Hodgson
On 04/08/10 00:24, Whit Blauvelt wrote: Fascinating. Could this be an AI, or a sort of Eliza? Perhaps its an alien probe gathering data on our network infrastructure by methodically generating questions to our lists. No human being would simultaneously need to accomplish the above on three

Re: [CentOS] Updates offered annoyance

2010-08-25 Thread Kahlil Hodgson
On 26/08/10 00:03, Todd Denniston wrote: And if you are maintaining more than one machine at home, you need to realize that you don't need to waste the time twice to update the same thing on two machines. Assuming your home machines are networked together. Good Point. I run a 'fat' squid

Re: [CentOS] Freezing gnome terminals...

2010-08-27 Thread Kahlil Hodgson
On 08/28/2010 01:40 AM, didi wrote: Hey On Fri, Aug 27, 2010 at 4:38 PM, John Doe jd...@yahoo.com wrote: Hi, just wondering if you also experience gnome terminals freezing after a while...? It mainly happens over the week-end. I would leave a terminal open (with an ssh session to a

Re: [CentOS] LARTC and CentOS question

2010-09-08 Thread Kahlil Hodgson
On 08/09/10 19:26, Coert Waagmeester wrote: Could someone point me in the right direction, where I can find CentOS/Redhat specific documentation on the whole /etc/sysconfig/network* setup? Might want to have a look at /usr/share/doc/initscripts-8.45.30/sysconfig.txt Kal

Re: [CentOS] exclude mirror

2010-09-22 Thread Kahlil Hodgson
On 22/09/10 15:56, Joseph L. Casale wrote: how can i exclude certain mirrors from yum in centos 5? http://lmgtfy.com/?q=yum+exclude+mirrorsl=1 +1 Kal ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] [Slightly OT] Open Source Development + Tools - Book/Resource?

2010-09-27 Thread Kahlil Hodgson
On 09/28/2010 07:26 AM, Adam Tauno Williams wrote: On Mon, 2010-09-27 at 14:56 -0500, Tim Nelson wrote: Greetings all- My apologies for the slightly OT post. My primary production platform *IS* CentOS 5.x with a minor scattering of 4.x machines behind firewalls here and there... I find that

Re: [CentOS] Software bridge setup in RHEL 5/CentOS 5 questions, possible bug.

2010-10-09 Thread Kahlil Hodgson
My question: Which is wrong? The documentation for setting up a software bridge? OR /etc/sysconfig/network-scripts/ifup-eth? I've a number of functioning software bridges, none of which are in promiscuous mode. Looking at /usr/share/doc/initscripts-8.45.30/sysconfig.txt, there used to be

Re: [CentOS] excel parser (preferably perl)?

2010-10-20 Thread Kahlil Hodgson
On 10/19/2010 09:13 AM, Les Mikesell wrote: ... I haven't had much luck with perl-Spreadsheet-ParseExcel (and find it odd that yum prefers the .32 version from epel over .57 from rpmforge anyway). Is the current CPAN version better? ... Needs to deal with both xls and xlsx formats, the

Re: [CentOS] Semi-Authoritative DNS?

2010-11-06 Thread Kahlil Hodgson
On 11/06/2010 02:54 AM, Tim Nelson wrote: Greetings All- I have an odd need for a 'semi-authoritative' DNS server. Let's say I have a zone for 'domain.com' with public DNS servers. However, I wanted to run an internal DNS server for internal things. Public resolution of 'www.domain.com'

Re: [CentOS] Odd thing with Realtek Ethernet card

2012-03-18 Thread Kahlil Hodgson
On Fri, 2012-03-16 at 19:41 +, Ken Smith wrote: After reconfiguring the network settings I find that on boot up the 8169 interface does not start. The startup script says something like The 8169 is not available... ifconfig -a shows a device with the right mac address called

Re: [CentOS] NetworkManager frustration...

2012-05-10 Thread Kahlil Hodgson
On 10/05/12 20:55, Timothy Madden wrote: I would like to use dnsmasq to cache nameserver query results, and I have set dhcp to prepend the 127.0.0.1 name-server to the list of nameservers. dnsmasq would then automatically exclude the localhost as a name server and use all the others from the

Re: [CentOS] NetworkManager frustration...

2012-05-13 Thread Kahlil Hodgson
On 11/05/12 21:05, Timothy Madden wrote: On 05/11/2012 01:31 AM, Kahlil Hodgson wrote: On 10/05/12 20:55, Timothy Madden wrote: I would like to use dnsmasq to cache nameserver query results, and I have set dhcp to prepend the 127.0.0.1 name-server to the list of nameservers. dnsmasq would

Re: [CentOS] NetworkManager frustration...

2012-05-13 Thread Kahlil Hodgson
On 14/05/12 09:04, Kahlil Hodgson wrote: Have a look in /etc/NetworkManager/dispatcher.d/11-dhclient you might be able to figure out a tweak to put 127.0.0.1 back in. Yes, the script enumerates and runs the dhcp-plugin scripts in /etc/dhcp/dhclient.d/. I tried to create such a script

Re: [CentOS] KVM with 6.2 i686 guest

2012-06-01 Thread Kahlil Hodgson
On 30/05/12 22:14, Jerry Geis wrote: Jerry, I believe that by default the network is down and the BOOTPROTO=dhcp is not in the /etc/sysconfig/network-scripts/ifcfg-ethx. I encountered a similar issue on a KVM guest with minimal install Did you clone this guest from another one? Might need

Re: [CentOS] reinventing the wheel? page checker

2012-06-21 Thread Kahlil Hodgson
On 22/06/12 07:59, Bob Hoffman wrote: On 6/21/2012 12:44 PM, Keith Roberts wrote: On Thu, 21 Jun 2012, Bob Hoffman wrote: To: CentOS@centos.org From: Bob Hoffmanb...@bobhoffman.com Subject: [CentOS] reinventing the wheel? page checker Not sure if there is an app like this yet. I want to

Re: [CentOS] How to handel smtp to public servers

2012-06-28 Thread Kahlil Hodgson
On 27/06/12 18:23, Götz Reinicke wrote: I like to know which private computer sends lot of mail. :) You could get your firewall ACCEPT but LOG the outgoing 25 from anything but your mailhub. Have often wondered whether a transparent mail-proxy could be set up, similar to a transparent

Re: [CentOS] Good tool to draw server room?

2012-07-03 Thread Kahlil Hodgson
On 03/07/12 22:35, Fernando Cassia wrote: On Tue, Jul 3, 2012 at 8:41 AM, Rafał Radecki radecki.ra...@gmail.com wrote: I am currently designing a server room. I would like to be able to draw a 2D (in the future 3D) project. Do you know any tools? Which one can you recommend?

Re: [CentOS] Fwd: Bug 800181: NFSv4 on RHEL 6.3 over six times slower than 5.8

2012-07-10 Thread Kahlil Hodgson
On 11/07/12 00:18, m.r...@5-cent.us wrote: For any redhatters on the list, I'm going to be reopening this bug today. I am also VERY unhappy with Redhat. I filed the bug months ago, and it was *never* assigned - no one apparently even looked at it. It's a show-stopper for us, since it hits us

Re: [CentOS] Speedtest.mini on a local website?

2012-07-18 Thread Kahlil Hodgson
On 19/07/12 09:05, Timothy Murphy wrote: Stephen Harris wrote: This is running on two CentOS-6.3 servers (one remote), and looking from a Firefox browser on a Fedora-17 laptop. You need flash on the browser for it to work. I do have flash-plugin-11.2 for firefox, which seems to be the

Re: [CentOS] su path hard coded?

2012-07-29 Thread Kahlil Hodgson
On 25/07/12 20:10, Stephen Harris wrote: On Tue, Jul 24, 2012 at 11:27:09PM -0400, Karl Vogel wrote: On 07/24/12 4:33 PM, Stephen Harris wrote: S I want the ability to set the default path. That's all. It sounds like your best bet would be to change the source for su, and just be

Re: [CentOS] CentOS 6 : Tip for significantly increasing battery life / reducing power consumption (Thinkpad X220 Tablet)

2012-08-04 Thread Kahlil Hodgson
On 03/08/12 17:05, Mathieu Baudier wrote: As per http://www.williambrownstreet.net/blog/?p=387, add the following kernel arguments to the GRUB boot configuration: pcie_aspm=force i915.i915_enable_rc6=1 i915.lvds_downclock=1 i915.i915_enable_fbc=1 As measured using PowerTop, this made the

Re: [CentOS] Strange device labeling in 6.3

2012-08-09 Thread Kahlil Hodgson
On 10/08/12 03:33, Richard Reina wrote: I have just installed 6.3 on a machine that was previously running 5.8. Under 5.8 eth0 was eth0. Now with 6.3 /sbin/ifconfig gives me lo, wlan0 and p4p1 (instead of eth0). I would like to make the ethernet a static IP as I intend to for this to be

Re: [CentOS] Strange device labeling in 6.3

2012-08-09 Thread Kahlil Hodgson
On 10/08/12 04:31, Scott Robbins wrote: ... I tend to agree with the slashdot commentator who called it overcomplicated and unnecessary. It's another idea from Fedora, the theory, IIRC, was that this way, devices would always have the same name, whereas under the method that has been used

Re: [CentOS] Strange device labeling in 6.3

2012-08-09 Thread Kahlil Hodgson
On 10/08/12 09:18, Reindl Harald wrote: and that is why i use /etc/udev/rules.d/70-persistent-net.rules to pin device-name / MAC and no mac-address in ifconfig-scripts since many years +1 Alternatively, with the biosdevname, you can pin the interface name to the pci(e) slot. That way its a

Re: [CentOS] stupid bash question

2012-08-16 Thread Kahlil Hodgson
On 16/08/12 08:19, Craig White wrote: the relevant snippet is... NAME=*.mov cd $IN if test -n $(find . -maxdepth 1 -name $NAME -print -quit) The problem is the outermost double quotes in the $(...) expression and figuring out how to pass the appropriate quotes into the subshell created by

Re: [CentOS] placing x11 libraries in an alternate location

2012-09-17 Thread Kahlil Hodgson
On 16/09/12 22:29, Rita wrote: we have close to 50 servers. I would like to have X11 libraries (and devel). Instead of installing them one by one on all servers, I would like to have them in a central NFS location and have my app pick them up like that. Is it possible to do this with yum/rpm ?

Re: [CentOS] placing x11 libraries in an alternate location

2012-09-18 Thread Kahlil Hodgson
On 18/09/12 18:18, Karanbir Singh wrote: On 09/18/2012 05:12 AM, Kahlil Hodgson wrote: Puppet, Chef, or Bcfg2 could do it but it will probably take you a long time to get your head around those beasts, let alone setting up the infrastructure. I dont know about that - it took me about 20 min

Re: [CentOS] Apache : Listen on ports other than 80

2012-09-30 Thread Kahlil Hodgson
On 29/09/12 06:47, adekunleadek...@gmail.com wrote: I v run d netstat and no result(i.e no process is listening on port 1010). Also I telnet 127.0.0.1 1010 just 2 confirm that no process is using the port. I can't figure out why the port(and any other except 80) would not work! Sounds like an

Re: [CentOS] Setting PS1 for ordinary users

2012-10-10 Thread Kahlil Hodgson
On 11/10/12 05:42, James B. Byrne wrote: CentOS-6 When I login as root I see this prompt: [root@vhost04 ~]# When I login as a non-priviledged user I see this instead: sh-4.1$ .bashrc and .bash_profile have identical contents in /root and /home/user. What causes the difference? Why?

Re: [CentOS] pdf viewer with bookmarking facility?

2012-10-12 Thread Kahlil Hodgson
On 13/10/12 04:23, Twanny Azzopardi wrote: pdf viewer with bookmarking facility? evince, which comes standard with fedora gnome, and probably centos has bookmarking for pdfs. K -- Kahlil (Kal) Hodgson GPG: C9A02289 Head of Technology (m) +61 (0) 4

Re: [CentOS] cronjob not running

2013-01-23 Thread Kahlil Hodgson
On 23/01/13 18:41, Cliff Pratt wrote: cron does not have the same environment as the user logged in as root. Specifically, it doesn't have the same 'PATH'. +1 It may also have a different selinux context. I recently discovered a logwatch setup that worked fine on C5, but parts of it were

Re: [CentOS] What can I do to UNDERSTAND why I can't reach centos.org (but everyone else can)?

2013-02-28 Thread Kahlil Hodgson
On 01/03/13 08:01, Rock wrote: So either hop 20 is not forwarding the packets, or the final destination is not acknowledging them. Do you always have the same number of hops? Wondering if the WISPs you bounce through might change. Perhaps one of those is problematic. Someone suggested I

Re: [CentOS] What can I do to UNDERSTAND why I can't reach centos.org (but everyone else can)?

2013-02-28 Thread Kahlil Hodgson
On 01/03/13 09:56, Les Mikesell wrote: Someone suggested I might be on a blacklist, somehow, and that, at least, would make technical sense. You could try checking something like http://multirbl.valli.org/ to rule out blacklisting as the issue. The only blacklists I know about

[CentOS] Shorewall and upgrade from 6.3 to 6.4

2013-03-12 Thread Kahlil Hodgson
Just got burnt by this one this morning. If you are upgrading from 6.3 to 6.4 and you use shorewall, you will want to run restorecon -Rv /sbin before rebooting. Original solution from: http://www.mail-archive.com/shorewall-users@lists.sourceforge.net/msg14885.html Cheers, kal --

Re: [CentOS] Shorewall and upgrade from 6.3 to 6.4

2013-03-13 Thread Kahlil Hodgson
On 14/03/13 06:23, Gordon Messmer wrote: On 03/12/2013 04:07 PM, Kahlil Hodgson wrote: If you are upgrading from 6.3 to 6.4 and you use shorewall, you will want to run restorecon -Rv /sbin That's odd. Part of the selinux postinstall script involves running fixfiles on any files whose

Re: [CentOS] Virtual Machine Manager error

2013-04-10 Thread Kahlil Hodgson
you might have more luck with service libvirtd status K On Thu, Apr 11, 2013 at 4:04 AM, Luke well...@saic.com wrote: [root at centos Desktop]# service libvert status libvert: unrecognized service service libvertd start libvertd meaning the libvert daemon.

Re: [CentOS] how to find unknown ip address?

2013-05-28 Thread Kahlil Hodgson
Running 'arp -n' on a machine that you think might receive packets from the unknown host might also do the job. K Kahlil (Kal) Hodgson GPG: C9A02289 Head of Technology (m) +61 (0) 4 2573 0382 DealMax Pty Ltd(w) +61 (0) 3

Re: [CentOS] how to find unknown ip address?

2013-05-28 Thread Kahlil Hodgson
not use a hammer. -- IBM maintenance manual, 1925 On Wed, May 29, 2013 at 8:14 AM, Kahlil Hodgson kahlil.hodg...@dealmax.com.au wrote: Running 'arp -n' on a machine that you think might receive packets from the unknown host might also do the job. K Kahlil (Kal) Hodgson

Re: [CentOS] Strange Beauvoir with hard and soft link

2013-05-29 Thread Kahlil Hodgson
Early in the morning and I haven't finished my coffee yet, but this could be a bind mount. Search for the 'bind' option in the mount man page for an explanation. You should be able to tell by looking at the output of mount Also check /etc/fstab K Kahlil (Kal) Hodgson

Re: [CentOS] rpmbuild environment CentOS5 vs CentOS6

2013-07-02 Thread Kahlil Hodgson
make sure you have rpmdevtools yum install rpmdevtools then run rpmdev-setuptree to setup the ~/rpmbuild tree structure Hope this helps K Kahlil (Kal) Hodgson GPG: C9A02289 Head of Technology (m) +61 (0) 4 2573 0382 DealMax Pty Ltd

Re: [CentOS] change sudoers remotely

2013-07-08 Thread Kahlil Hodgson
You might want to have a look at ansible (www.ansibleworks.com) for orchestration/configuration tasks like this. Very simple to set up and requires nothing but ssh and python on the target host. Takes care of all the ssh and sudo user transitions for you. For your case it would be as simple as.

Re: [CentOS] Howto: Extremely tight security rsync shell for backups

2013-09-23 Thread Kahlil Hodgson
A couple of weeks ago I found this breakdown of various approaches https://techstdout.boum.org/EncryptedBackupsForParanoiacs/ We're currently using a variation of the push-backup system described (using rsync via duplicity). K Kahlil (Kal) Hodgson GPG: C9A02289 Head

Re: [CentOS] CentOS 6 : Network Interface Naming

2013-11-25 Thread Kahlil Hodgson
/etc/udev/rules.d/70-persistent-net.rules is your friend the device names defined in there are set nice and early during boot, well before any ifcfg scripts K Kahlil (Kal) Hodgson GPG: C9A02289 Head of Technology (m) +61 (0) 4 2573 0382 DealMax Pty

Re: [CentOS] C6 : AIDE experience

2014-09-17 Thread Kahlil Hodgson
checkout samhain (www.la-samhna.de/*samhain*/) if your feeling really paranoid. Kahlil (Kal) Hodgson GPG: C9A02289 Head of Technology (m) +61 (0) 4 2573 0382 DealMax Pty Ltd(w) +61 (0) 3 9008 5281 Suite 1415 401 Docklands

Re: [CentOS] X, why did it have to be X

2014-09-22 Thread Kahlil Hodgson
Anything enlightening showing up in /var/log/Xorg.0.log? Maybe something explaining why your conf is being ignored? Kahlil (Kal) Hodgson GPG: C9A02289 Head of Technology (m) +61 (0) 4 2573 0382 DealMax Pty Ltd(w) +61 (0) 3

Re: [CentOS] X, why did it have to be X

2014-09-22 Thread Kahlil Hodgson
Apologies for previous top post. Gmail was being, well, Gmail :-( ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

  1   2   >