Re: [CentOS] Edit to change startup from SMP to not so SMP

2008-04-17 Thread Tom Brown
I have an issue on a server that stops to ask SMP or not so SMP on bootup. Its a pain as its a remote unit, and if I update (or the power goes out for 3 hours) the server will not restart I remember back in the day editing a start up file to tell it what kernel to start... Is that

Re: [CentOS] Edit to change startup from SMP to not so SMP

2008-04-17 Thread Tom Brown
Ok, it was grub, and this is what I have.. I see default=0 how should I change that to one of the items below Thanks, default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.9-42.0.2.EL) root (hd0,0) kernel /vmlinuz-2.6.9-42.0.2.EL ro

Re: [CentOS] CentOS 4.6 - dhcp issue

2008-04-17 Thread Tom Brown
Tom Brown wrote: these are not virtual machines? the cobbler server is (currently) a VM yes - the clients are not. Why should that make any difference? actually in that example the client was also a VM i remember now - but the symptoms are the same on 'real' clients thanks

Re: [CentOS] CentOS 4.6 - dhcp issue

2008-04-17 Thread Tom Brown
Apr 16 14:25:53 cobbler dhcpd: DHCPREQUEST for 192.168.12.212 (192.168.12.117) from 00:0c:29:16:f8:b5 via eth0: Any hint where that (192.168.12.117) comes from? I see that you have the same on your successful conversation, though. Is there a chance you have two DHCP servers on the

Re: [CentOS] libg++.so.2.7.2.8 available for CentOS 4.5 ?

2008-04-23 Thread Tom Brown
We have a legacy app and i need to find *libg++.so.2.7.2.8 in a package for CentOS 4.5 - I can only find this library in a package for RH 7.x and this cane be installed as it conflicts with stuff from compat-libstdc++-296 which we also need.* ** *Any ideas ?* ** *thanks* **

[CentOS] libg++.so.2.7.2.8 available for CentOS 4.5 ?

2008-04-23 Thread Tom Brown
Hi We have a legacy app and i need to find *libg++.so.2.7.2.8 in a package for CentOS 4.5 - I can only find this library in a package for RH 7.x and this cane be installed as it conflicts with stuff from compat-libstdc++-296 which we also need.* ** *Any ideas ?* ** *thanks* **

Re: [CentOS] libg++.so.2.7.2.8 available for CentOS 4.5 ?

2008-04-23 Thread Tom Brown
Can't you just extract the required lib(s) from the older RPM? i can - i just wondered if there was a package - From all searching it seems not though so i will solve it another way. ___ CentOS mailing list CentOS@centos.org

[CentOS] tomcat5 - RHEL4.5 - CentOS 4.5

2008-04-24 Thread Tom Brown
Hi I am seeing this issue on a RHEL4 box but i presume that the same will be for CentOS4.5 I am trying to get tomcat5 up and running using only upstream rpm's, as opposed to own rolled like i have done before, and hitting this issue. I have JAVA_HOME set in /etc/tomcat5/tomcat5.conf and

Re: [CentOS] tomcat5 - RHEL4.5 - CentOS 4.5

2008-04-24 Thread Tom Brown
WARNING: unable to set your JAVA_HOME. This may cause problems for any java applications you run --- I am : tomcat on hostname JAVA_HOME : /usr/jdk1.3.1_08 Any ideas why this is and where that

[CentOS] CentOS 4.5 - mounting remote windows fileserver using smb or cifs

2008-05-01 Thread Tom Brown
Hi I need to mount a windows share on a CentOS 4.5 box running stock kernel etc - I have tried using cifs and also smbfs My fstab looks like //share/name/mount/pointsmbfs username=user,password=password,uid=useridhere 0 0 or the same using cifs When i try and mount that i get

Re: [CentOS] CentOS 4.5 - mounting remote windows fileserver using smb or cifs

2008-05-01 Thread Tom Brown
This works for me... In /etc/fstab:- //share/name/mount/point cifs _netdev,credentials=/etc/samba/cred.txt 0 0 In the credentials file:- username=your-windows-user password=XXX Make sure the credentials file is owned by root and only readable by root. i have

[CentOS] NMAP - reveal MAC address

2008-05-07 Thread Tom Brown
In CentOS 4 does anyone know the switches to get NMAP to reveal the MAC of the host being scanned ? I cant seem to find it and i am using nmap-4.20 - i am sure this was available somehow on older releases. thanks ___ CentOS mailing list

Re: [CentOS] NMAP - reveal MAC address

2008-05-07 Thread Tom Brown
Others have given you good answers, but I felt I could share some insight on the matter.. The MAC address of a NIC is used by switches to send packets out the right port - As soon as you add a routing element, all traffic to a routed IP appears to be destined for the router, if one goes

[CentOS] php-pear - required files - which rpm

2008-05-15 Thread Tom Brown
Hi I am tying to install a php based application but the error i recieve is Failed opening required 'HTML/Template/IT.php' This is something to do with pear from what i can tell but i do have php-pear installed. The file IT.php is not on my system but does anyone know what rpm this would

Re: [CentOS] Compact Flash..

2008-06-09 Thread Tom Brown
CF Fails, i can re inject it into a new CF card and away I go. yes if the HD fails ive lost the database, but its a monitoring box, toss a new one in , reboot the box and away we go. but as either cant operate without the other you have just doubled your chances of an outage rather

Re: [CentOS] how to remove some packages with yum from a repo X????

2008-06-16 Thread Tom Brown
I have installed some packages from a Repo X, lets call it like that, so now I need to unistall all those packages with yum is there a way to do that how? yum erase foo ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] recommendations for copying large filesystems

2008-06-23 Thread Tom Brown
I have done 700k and 800k files transfers (including hardlinks), but indeed it could take a while to compute the transferlist. Newer rsync versions bring down the amount of memory needed drastically. That is one of the reasons I offer a recent rsync in RPMforge. There is almost never a

[CentOS] Bonding question - active-backup

2008-06-24 Thread Tom Brown
Hi I have bonding working and i can failover between active (eth0) and backup (eth1) without issue, however is there a way to automatically fail back to eth0 when this link once again becomes available? I understand this may be undesirable due to flapping etc but i just wonder if its

Re: [CentOS] Bonding question - active-backup

2008-06-24 Thread Tom Brown
I believe you can do this with the 'primary' option to the bonding module - in your case 'primary=eth0' yes - that does it thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Upgrade mail server to new machine

2008-06-24 Thread Tom Brown
I have an old RHEL3 box that I am upgrading to CentOS5. I picked up a new Dell Poweredge R200 to use for that. Is there an easy way to copy all the user accounts and existing mail from the old server to the new one? if local users copy /home/* /etc/passwd /etc/shadow after first making

Re: [CentOS] CentOS roadmap/EPEL

2008-06-25 Thread Tom Brown
There are lots of exciting things happening in the CentOS ecosystem at the moment, by which I mean upstream or across stream in Fedora and RHEL. I'm thinking of projects that equip RH-like EL in general for serious entry into the enterprise, things like the Fedora Directory Server, and

[CentOS] 64 bit aware CPU

2008-06-30 Thread Tom Brown
I dont think it is but would the following CPU be able to take a 64 bit version of CentOS ? processor: 0 vendor_id: GenuineIntel cpu family: 15 model: 2 model name: Intel(R) Xeon(TM) CPU 2.40GHz stepping: 7 cpu MHz: 2401.247 cache size: 512 KB physical id

Re: [CentOS] 64 bit aware CPU

2008-06-30 Thread Tom Brown
flags: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr If your CPU has 64-bit mode support the output will include the “lm” flag. OK thanks all - it was a long shot

[CentOS] mod_python - apache crash

2008-07-04 Thread Tom Brown
one of my developers is using a mod_python module called xml.dom.minidom and its causing the issue as outlined below http://www.dscpl.com.au/wiki/ModPython/Articles/ExpatCausingApacheCrash This is on CentOS 4.5 and so Apache 2.0.52-38 - I cant change the OS version but i could change the

Re: [CentOS] mod_python - apache crash

2008-07-04 Thread Tom Brown
Specifically ... I am looking at the httpd and python and pyexpat used in CentOS 4 ... I get this: = [EMAIL PROTECTED] ~]# python Python 2.3.4 (#1, Dec 11 2007, 05:28:55) [GCC 3.4.6 20060404 (Red Hat 3.4.6-9)] on linux2 Type help, copyright, credits or license for more information.

Re: [CentOS] centralized patch management

2008-07-16 Thread Tom Brown
I have been asked to come up with a strategy for centralized patch management of our linux servers. Today, this is only centos and rhel. What is everyone else doing in this arena? i would say Pulp fits the bill from what you have said https://fedorahosted.org/pulp

Re: [CentOS] copy

2008-07-21 Thread Tom Brown
I want to copy all the following files/folder/subfolders under /usr/local/apache/htdocs to a remote server within this directory /var/www/html/ Am I correct with this command, or far away o tar zcvf - /usr/local/apache/htdocs | ssh [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] cat

[CentOS] sticky folder permissions

2008-07-22 Thread Tom Brown
Hi I have a situation where i need to blanketly allow read permissions on /opt to any user at all. I have some bad behaving apps though that seem to overwrite these permissions and do not set world read on their log directories. Is there any way i can make /opt world readable and make sure

Re: [CentOS] sticky folder permissions

2008-07-22 Thread Tom Brown
If it is the permissions on the directory that are the problem, then you may be able to change the owner of the logs directory and then give the application rw permissions. That way the application will be able to write its logs, but would not be able to change permissions on the directory.

Re: [CentOS] How to detect whether running on VMware?

2008-07-24 Thread Tom Brown
Does anyone know how a program, script or shell user can best determine whether the machine is running on bare metal or is a VMware guest? # dmidecode | grep Product Product Name: VMware Virtual Platform ___ CentOS mailing list

Re: [CentOS] How to detect whether running on VMware?

2008-07-24 Thread Tom Brown
# dmidecode | grep Product Product Name: VMware Virtual Platform ___ mmm a XEN VPS gives me this: # dmidecode | grep Product /dev/mem: mmap: Bad address so its not running on VMware - great job done

Re: [CentOS] How to detect whether running on VMware?

2008-07-24 Thread Tom Brown
Tony Mountifield wrote: | Does anyone know how a program, script or shell user can best determine | whether the machine is running on bare metal or is a VMware guest? | Obviously from the responses many people have a solution... my question is Why do you care?. What is it that you would do

[CentOS] PHP - Security Updates

2011-03-19 Thread Tom Brown
Hi I am wondering if this has made it into any updates? http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-4645 thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] 5.6 - SRPM's

2011-04-09 Thread Tom Brown
Hi Is there any ETA for the SRPM's from the base tree of 5.6? I need to get my hands on the src for the centos-release package as i have to rebuilt it to prevent the repo definitions from being included. I see the src's for the updates RPM's but not the base. many thanks

Re: [CentOS] 5.6 - SRPM's

2011-04-11 Thread Tom Brown
I'm hazarding a guess here - that the os/{i386,x86_64}/CentOS/*.rpm's that have 'centos' in the name have had changes made for CentOS. The others have not and the sources are available from upstream at eg http://mirrors.kernel.org/redhat/redhat/linux/enterprise/5Server/en/os/SRPMS/ Can

Re: [CentOS] 5.6 - SRPM's

2011-04-11 Thread Tom Brown
Instead of removing the unwanted .repo files, replace them with empty files. That way an upgrade should just result in a .rpmnew file being created. because by removing them from the centos-release package and rebuilding it they are not there in the first place.

[CentOS] CentOS 5 - Dell Latitude d630 - Vodaphone 3g Card

2007-07-04 Thread Tom Brown
Hi I may be forced to move from my mac book pro onto a dell laptop, spit, but i sure as heck dont want to have to run windows so Does anyone know how easy it is to get CentOS to work with a vodaphone 3g card? I see that it should be possible and a couple of reports of it working under

[CentOS] courier-imap-mysql

2007-07-17 Thread Tom Brown
Hi I see the courier-imap-mysql rpm is available on rpm.pbone.net, does anyone know if this is also available in a repo ? I looked in extras but it didn't find anything. thanks ___ CentOS mailing list CentOS@centos.org

[CentOS] CentOS - HP

2007-08-02 Thread Tom Brown
Hi Does anyone have experience of running CentOS on HP hardware, both rack mount kit and blades? How are things like hardware monitoring etc? We may be moving from Dell to HP and i get on really well with OMSA and Nagios etc so ideally would like to monitor using similar tools rather than

Re: [CentOS] How to use a modem under CentOS

2007-08-08 Thread Tom Brown
It's a worthless winmodem. I'd suggest throwing it in the trash and replacing it with an external serial (not USB) modem. I note that as of this evening, Newegg.com has several such modems, starting from a low of $17.99 and going up from there. I have no idea if any of them are any good, YMMV.

Re: [CentOS] nfs installation

2007-08-15 Thread Tom Brown
what i meant was there's no nfs daemon on /etc/init.d so i can't start it or anything. $ rpm -qa | grep nfs-utils what do you get ? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Help with backups

2007-08-20 Thread Tom Brown
I've got a Redhat 5 server running Samba, and two dualboot CentOS 5 workstations. Until we get a better backup strategy, I'm backing up the workstations to the server via mounting a shared samba drive to /mnt. Trying tar cvf /mnt/samba_share/backup.tar /* eventually yields backing up

Re: [CentOS] Need help to track an ip port problem

2007-08-20 Thread Tom Brown
That's at least the default in CentOS 5, I don't remember how CentOS 4 handled this. You have to put a variable in /etc/sysconfig/sendmail, but I don't know which one as I always compile my own sendmail.cf. dnl # The following causes sendmail to only listen on the IPv4 loopback address

[CentOS] RPM for mod_php

2007-09-21 Thread Tom Brown
Hi Guys I am trying to find an rpm for CentOS 4.5 and mod_php but i cant seem to find one - Am i going my the wrong name? thanks for any pointers ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] RPM for mod_php

2007-09-21 Thread Tom Brown
'yum list php\*' thanks but i still dont see what i need Available Packages php.i386 4.3.9-3.22.9 update php-acid.noarch 0.9.6b22-1.2.el4.rf dag php-adodb.noarch

Re: [CentOS] mail server

2007-09-25 Thread Tom Brown
what can you recommend for mail server. I'll be needing mail server with tls,ssl and virtual domains with web ui management, im doing this for a client of mine. i have been using this for about 3 years now http://www.techie.org/TNMailServer/TNMailServer.php its great and has a gui front

Re: [CentOS] script help

2007-10-26 Thread Tom Brown
How about # MOUNTER=`ssh $i mount | grep data | awk '{print \$1,\$2,\$3}'` alas no MOUNTER=`ssh $i 'mount | grep data | awk {print \$1, \$2, \$3}'` results in awk: {print , , } awk:^ syntax error awk: {print , , } awk: ^ syntax error awk: {print , , } awk:^

Re: [CentOS] script help

2007-10-26 Thread Tom Brown
How about # MOUNTER=`ssh $i mount | grep data | awk '{print \$1,\$2,\$3}'` alas no MOUNTER=`ssh $i 'mount | grep data | awk {print \$1, \$2, \$3}'` results in awk: {print , , } awk:^ syntax error awk: {print , , } awk: ^ syntax error awk: {print , , } awk:^

Re: [CentOS] script help

2007-10-26 Thread Tom Brown
Correction. MOUNTER=`ssh $i mount | grep data | awk '{print \\$1,\\$2,\\$3}'` This is what i tried and worked for me. bingo! gold star - thanks!! I need to query mount as these are nfs mounts configre by an automounter and so not in the fstab

[CentOS] script help

2007-10-26 Thread Tom Brown
Hi I am sure the answer here is really easy but i am stuck! # mount | grep data | awk '{print$1,$2,$3}' gives me the info i require locally, however i need to execute this over about 1000 hosts so i run things remotely using ssh something like # MOUNTER=`ssh $i 'mount | grep data | awk

Re: [CentOS] HP DL585 - CentOS4.5 - kix woes

2007-11-07 Thread Tom Brown
Tom Brown wrote: I had to create a custom initrd file to make it work for me. (this was on an IBM x3655, but has the same NIC) Unpacked the driver from the manufacturer, grabbed the .ko file, and rebuilt the initrd with that driver for the kickstart. Is there any chance you could make

Re: [CentOS] HP DL585 - CentOS4.5 - kix woes

2007-11-07 Thread Tom Brown
How old is the DL585? There were a bunch of firmware issues with the Broadcom NICs on the DL585, and HP released a firmware update, something like 18 months ago now, that fixed problems that I was having with some DL585's. thanks for the reply - these is brand new kit running dual core

Re: [CentOS] HP DL585 - CentOS4.5 - kix woes

2007-11-07 Thread Tom Brown
I had to create a custom initrd file to make it work for me. (this was on an IBM x3655, but has the same NIC) Unpacked the driver from the manufacturer, grabbed the .ko file, and rebuilt the initrd with that driver for the kickstart. Is there any chance you could make this initrd

Re: [CentOS] question about backup regimens

2007-11-08 Thread Tom Brown
I need to recommend some backup options for a web server running CentOS 4.1. The client prefers using a tape drive as their backup device and has access to safe offsite storage. I was thinking of system backups weekly and differential backups nightly but don't know what software to recommend

Re: [CentOS] HP DL585 - CentOS4.5 - kix woes

2007-11-08 Thread Tom Brown
As it turns out, I did this for 4.2, instead of 4.5...but here are my notes from when I did it: (It is geared toward IBM of course, but the steps would be the same..) Grab driver disk (.iso)from: http://www-304.ibm.com/jct01004c/systems/support/supportsite.wss/docdisp

Re: [CentOS] HP DL585 - CentOS4.5 - kix woes

2007-11-12 Thread Tom Brown
thanks for this - alas for me it still gives me the same issue during the kix namely 'no network cards available for kickstart' or words to that effect. it seems crazy to me that HP have shipped kit that RedHat appears to not see out of the box. OK looking into this more i have made it

Re: [CentOS] Nagios on CentOS 4.5

2007-11-14 Thread Tom Brown
First off I am a linux / CentOS newbies so go easy on me. Just curious if anyone out there is running Nagios on CentOS 4.5. I have now installed it on a second server due to issue but the issues have come back to haunt me. The OS is running on an IBM NetVista. Every thing in both installs

Re: [CentOS] Nagios on CentOS 4.5

2007-11-14 Thread Tom Brown
Hmm, could i remove then reinstall perl or did you have to rebuild the server? no its a nagios thing not a perl problem - so i just recompiled my nagios, although this was when rpm's were not available so i rolled my own. Why not try using some of the pre rolled rpm's ??

Re: [CentOS] phpmyadmin on centos 4

2007-11-15 Thread Tom Brown
how do i find out the 'filename'? i don't know what r u refer to. it was installed in /var/www/html/phpmyadmin/ when i tried: rpm -qf /var/www/html/phpmyadmin/index.php and i got: file /var/www/html/phpmyadmin/index.php is not owned by any package. i'm clueless now. can someone help me to

Re: [CentOS] phpmyadmin on centos 4

2007-11-15 Thread Tom Brown
i don't remember and that's the problem. rpm -qa | grep php and i got: php-mbstring-4.3.9-3.9 php-ldap-4.3.9-3.9 php-pear-4.3.9-3.9 php-mysql-4.3.9-3.9 php-4.3.9-3.9 and there lies the issue - it was not installed as an rpm remove the 'stuff' that was installed via tar and then install

Re: [CentOS] weird cron problem

2007-11-16 Thread Tom Brown
I'm having some problems with a script in /etc/cron.daily. It's quite simple: -- #!/bin/sh touch /mnt/Backup/foo rsnapshot daily - So the touch gets executed, but the rsnapshot not. If I run manually run-parts /etc/cron.daily/ everything's fine. Also when I run rsnapshot

[CentOS] Generating CMDB - Recommendations

2007-11-19 Thread Tom Brown
Hi We use Remedy as our tool to help us with ITIL but we have a LOT of boxes ~4000 and that is growing all the time. I am looking at ways for us to be able to update the CMDB within remedy with little effort from us. I can get our DC team to pretty much touch a file on the OS with the box

Re: [CentOS] install via http

2007-11-26 Thread Tom Brown
The CentOS DVD images (not sure about CD images) have an images directory that contains a boot.iso file that can be used to net boot machines. That's the one I used. Together with a combination of autofs, lighttpd, rsync'ing and cron I am able to fully support a lab of about 500 machines

Re: [CentOS] install via http

2007-11-26 Thread Tom Brown
We do not have DHCP addressing for the networks I manage. I wish we did, but I have written scripts that automatically generate the kickstart configuration files and manually typing the linux ks=... lines don't take a lot of time. I wish I didn't have to do that either, but hey, it

Re: [CentOS] script to take cd iso's and create dvd iso

2007-11-27 Thread Tom Brown
Is this what you're looking for? http://isoredirect.centos.org/centos/build/mkdvdiso.sh it is indeed - thanks very much! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Re: Mail Server Install

2007-11-29 Thread Tom Brown
What do you call a person that only speak one language ? :-) British ? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Re: Mail Server Install

2007-11-29 Thread Tom Brown
No, but your close :-) english? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] Persist perms on devices after reboots

2007-11-30 Thread Tom Brown
Hi Dumb question i think but how can i make devices permissions persist after a reboot. I dont think i have come across this issue before but i have some SAN disks that need to be oracle:dba as their perms but after a reboot they reset back to brw--- 1 root root 120, 49 Nov 30 10:40

[CentOS] https://rhn.redhat.com/errata/RHSA-2011-1245.html - CentOS 6

2011-09-23 Thread Tom Brown
Apologies if i missed this on the list but is there a fix for this available to 6.0? https://rhn.redhat.com/errata/RHSA-2011-1245.html thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] https://rhn.redhat.com/errata/RHSA-2011-1245.html - CentOS 6

2011-09-23 Thread Tom Brown
On 23 September 2011 15:15, Spook ZA spoo...@gmail.com wrote: Hi Tom Please see below the response from Karanbir. Regards,  Andy. rpms for C5 are pushed into the 5.6/cr/ repo; the c6 build is running now, we will have the cr stuff up for that today and get this into there as well. Yes

Re: [CentOS] Duplicated packages in CR repo?

2011-10-28 Thread Tom Brown
fixed. Apologies for this getting through. I've done the rm's manually, but we need a test to make sure this does not happen again. do you have a list of the bad packages so that i can remove them from our spacewalk before they cause us an issue? thanks

[CentOS] iptables local forwarding

2008-10-23 Thread Tom Brown
Hi I am trying to forward port 80 to 8080 locally using iptables with the following /sbin/iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 However this does not get put into the iptables configuration even after running iptables-save Have i missed something

Re: [CentOS] iptables local forwarding

2008-10-23 Thread Tom Brown
iptables-save will only output the rules in a way that iptables-restore will be able to rebuild the rules from. If what you want is for these rules to be up when you boot the machine, what you want is probably service iptables save, which will use iptables-save to record these rules to

[CentOS] Checking if a user is 'Disabled'

2008-10-28 Thread Tom Brown
Hi I need to create some local users but then 'disable' that user. I know i can enable and disable the user by using usermod -L and -U but does anyone know if there is a way for me to see the current status of the user? ie locked or unlocked? thanks

Re: [CentOS] Checking if a user is 'Disabled'

2008-10-28 Thread Tom Brown
this should get you a list of all the users which have been disabled by means of `usermod -L`: perl -e 'open($SHADOW, , /etc/shadow) or die( $!\n ); while ( $SHADOW ) { chomp; print $1\n if (/^([^:]*):!{1}[^!:]*:.*$/) } close( $SHADOW );' you'll need to run it as root. no doubt that

[CentOS] mysql 4 5 export import issue

2008-10-30 Thread Tom Brown
Hi I am migrating a mailserver from CentOS 4 to 5 and i am migrating the db's over from mysql-max-4.1.13 to mysql-server-5.0.45-7.el5 during the mysql import it fails with this... ERROR 1062 (23000) at line 129: Duplicate entry '3-r��?�' for key 1 anyone got any clues to this one as so far

Re: [CentOS] mysql 4 5 export import issue

2008-10-30 Thread Tom Brown
you are inserting multiple duplicate values somewhere where its not allowed. without looking at your schema it would be hard to work out what the issue is. its a bayes db for spamassassin in other news, you dont need to dump + reload when you move from mysql-4 to mysql-5, just service

[CentOS] rpm spec question

2008-11-03 Thread Tom Brown
Hi I am trying to package a bunch of files so that i can deploy them with rpm - Its prtty much just a case of dumping some files on the filesystem. I achieve this with rpm without issue however when i remove the rpm from the system it also removes the dir that contains the files, even though

Re: [CentOS] mysql 4 5 export import issue

2008-11-03 Thread Tom Brown
The characters look binary, so this might be a problem of conversion latin1 - utf8 or vice versa. Try dumping with: mysqldump --default-character-set=binary ... /path/to/dumpfile And loading the dump with: mysql --default-character-set=binary ... /path/to/dumpfile Let us know if that

Re: [CentOS] rpm spec question

2008-11-04 Thread Tom Brown
don't list the dir in the files section, use /* instead to point out the files in the dir If you list the dir itself, it will be owned by the rpm and removed together with it. perfect thanks ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Tom Brown
What does # ldd /usr/lib/libaprutil-0.so.0 write? I get: libldap-2.2.so.7 = /usr/lib/libldap-2.2.so.7 (0x009ab000) liblber-2.2.so.7 = /usr/lib/liblber-2.2.so.7 (0x00b42000) libdb-4.2.so = /lib/tls/i686/libdb-4.2.so (0x00111000) libexpat.so.0 =

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Tom Brown
# ldd /usr/lib/libaprutil-0.so.0 libpthread.so.0 = /lib/tls/libpthread.so.0 (0x00ca1000) libc.so.6 = /lib/tls/libc.so.6 (0x00324000) /lib/ld-linux.so.2 (0x00b77000) That was a short list! i know! - i was a bit surprised there Is /usr/lib/libaprutil-0.so.0 a

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Tom Brown
Do you also have the /usr/lib/libaprutil-0.so.0.9.4 file? What does # rpm -qf /usr/lib/libaprutil-0.so.0.9.6 write? # rpm -qf /usr/lib/libaprutil-0.so.0.9.6 file /usr/lib/libaprutil-0.so.0.9.6 is not owned by any package although thats a symlink created today - i presume by the http

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Tom Brown
That is strange; is /usr/lib/libaprutil-0.so.0.9.6 a real file or a symlink? # ll /usr/lib/libaprutil-0.so.0.9.6 -rwxr-xr-x 1 root root 306917 Dec 11 2007 /usr/lib/libaprutil-0.so.0.9.6 Do you also have the /usr/lib/libaprutil-0.so.0.9.4 file? yeap - # ll

[CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Tom Brown
Hi I am trying to get httpd onto a freshly updated, although long time ago installed CentOS 4 box. Its fully updated to 4.7 however when trying to install httpd this is the error i get, well i should say install is fine but httpd cant start. # yum install httpd -- snip -- Dependencies

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Tom Brown
# ll /usr/lib/libaprutil-0.so.0.9.6 If you move the 0.9.6 file to a safe place, change the symlink to the 0.9.4 file and run ldconfig, does httpd work? # rm -f /usr/lib/libaprutil-0.so.0 # ln -s /usr/lib/libaprutil-0.so.0.9.4 /usr/lib/libaprutil-0.so.0 # ldconfig #

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-12 Thread Tom Brown
A google search suggests relabeling, if SElinux is enabled: touch /.autorelabel reboot no selinux here ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-13 Thread Tom Brown
I've had a similar problem, and it was a software that had a custom version of gdbm library and set LD_LIBRARY_PATH in profile to make sure that version would be used. Do you have LD_LIBRARY_PATH set? What does this command say: # echo $LD_LIBRARY_PATH If you do, try unsetting it before

Re: [CentOS] libapr issue - CentOS 4.7

2008-11-13 Thread Tom Brown
After this, what does # ls -l /usr/lib/libaprutil-0.so.0 link to? it seems to be getting changed back!! # rm -f /usr/lib/libaprutil-0.so.0 # ln -s /usr/lib/libaprutil-0.so.0.9.4 /usr/lib/libaprutil-0.so.0 # ls -l /usr/lib/libaprutil-0.so.0 /usr/lib/libaprutil-0.so.0 -

[CentOS] CPU benchmarking tools

2008-11-13 Thread Tom Brown
Can anyone suggest a good CPU, and memory if possible, benchmarking tool as we have some new kit that needs benchmarks running against it. thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] CPU benchmarking tools

2008-11-13 Thread Tom Brown
measure your application performance. anything else is BS. well not really as we have different CPU's from Intel and AMD and we want to see how these benchmark without benchmarking the apps(s) as apps are many and benchmarking them all against all the apps is not possible.

Re: [CentOS] CPU benchmarking tools

2008-11-13 Thread Tom Brown
In this month's IEEE Spectrum magazine there is an interesting study on multi core CPUs and 'intensive computing' done at Sandia labs Seems like with the current data bus architecture, 8 core is the max for data access intensive applications like data mining. So I am thinking that if you

Re: [CentOS] CPU benchmarking tools

2008-11-14 Thread Tom Brown
Benchmarks are worthless - your apps count. Benchmark your applications. Period. i dont think thats completely true as we would like to benchmark the 6 core (dunnington), intel 4 core (harpertown) vs AMD shanghai, AMD Barcelona – as the disk / networking devices are handled by dom0, those

[CentOS] OT - Automated rpm builds

2008-11-17 Thread Tom Brown
Hi Currently devs check code into perforce and we have to checkout package update repo deploy I know this could be scripted but are there any tools out there that can take code from a repository and build rpm's in a continuous integration type manner? I have been hunting around for such

Re: [CentOS] nagios-plugins 1.4.13?

2008-11-18 Thread Tom Brown
I just built an rpm of them and they seem to compile fine etc - are you looking for an rpm of them already built ? here is the .src from what i just built - depending on the OS type you want these built for i may or may not be able to help

Re: [CentOS] OT - Automated rpm builds

2008-11-18 Thread Tom Brown
http://www.autobuild.org reports to support Perforce. I've only used it w/ svn. thanks to all those that replied - a few options to work on there thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Location of 5.2 .iso without XEN

2008-11-25 Thread Tom Brown
Sounds good. After I clicked send, I reread your post and realized that you didn't want xen (which, I believe, is depreciated). what makes you think that ? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Location of 5.2 .iso without XEN

2008-11-25 Thread Tom Brown
Some are interpreting this: http://www.redhat.com/promo/qumranet/ as an indication that xen will be dropped from RHEL6 as they direct their efforts towards KVM. makes sense ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] Stop the FUD Xen is not deprecated

2008-11-25 Thread Tom Brown
Which is why I originally wrote... *Some* are interpreting this... as an indication that xen will be dropped from RHEL6 as they direct their efforts towards KVM. *If* xen is not included in RHEL6 then it will, by definition, be deprecated in favour of KVM irrespective of whether (or

Re: [CentOS] Stop the FUD Xen is not deprecated

2008-11-25 Thread Tom Brown
Right now we have a about 30 servers. Mixture of CentOS,debian,slack,windows. Free is always the best cost and is why we have been moving toward open source as much as possible. i see nothing 'wrong' with using Xen for now and for quite a few years yet - its not going anywhere anytime

  1   2   3   >