Re: [CentOS] Kickstart with multiple eth devices

2015-02-26 Thread Tom Brown
I have a Dell server that has two built-in ethernet devices. When I kickstart the machine, they are correctly identified as eth0 and eth1 (correctly meaning they correspond to the physical device ports 1 and 2). I need a third one and want that to come up as eth2. After adding the hardware,

[CentOS] Local Privilege Escalation

2013-05-14 Thread Tom Brown
Hi - Looking at https://news.ycombinator.com/item?id=5703758 I have just tried this on a fully patched 6.4 box and it seems vulnerable - Do other see the same? thanks ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] 6.4 SRPMS

2013-03-11 Thread Tom Brown
Can someone tell me when the 6.4 srpms are going to appear in vault? I am looking for the centos-release srpm. i was about to post exactly the same question as i need to remove the repo definitions cheers ___ CentOS mailing list

Re: [CentOS] 6.4 SRPMS

2013-03-11 Thread Tom Brown
All the SRPMS have been posted to the Vault master .. they should be on all the servers within the next half hour. indeed - i have what i need many thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] OT - 'IP' Security and Capturing Software

2013-02-26 Thread Tom Brown
motion. It's in the std. repos. We use it constantly. Got it configured to send out emails with pointers to the video of moving pictures. many thanks - will check it out also found zoneminder which looks interesting Any ideas on which cameras offer the best value in terms of quality v's

[CentOS] OT - 'IP' Security and Capturing Software

2013-02-25 Thread Tom Brown
Hi After returning from a trip to discover the delights on being burgled i wonder if anyone has any experience of IP security camera(s) and software that can constantly record the stream? I have infrastructure that could store a few TB's of video data which should be plenty for a few weeks

[CentOS] DNS search in anaconda

2013-02-15 Thread Tom Brown
Hi Does anyone know if its possible to set a search domain within anaconda to use during kickstart? I'd rather not have to set a FQDN for a certain service as its location specific that is dependent on SSL and therefore the certs. I cant see anything in the docs listed but i thought i'd ask

Re: [CentOS] DNS search in anaconda

2013-02-15 Thread Tom Brown
Actually, my kickstarts run with the DNS info provided by my DNCP server. The only thing that I've had to do is copy the created /etc/resolv.conf file into the newly-built tree so that it's available to the system for running post scripts. thanks for the reply - these are statically

Re: [CentOS] DNS search in anaconda

2013-02-15 Thread Tom Brown
a resolver to anaconda but not a search domain - its a non issue now, but an annoyance. cheers On Fri, 2013-02-15 at 17:04 +, Tom Brown wrote: Actually, my kickstarts run with the DNS info provided by my DNCP server. The only thing that I've had to do is copy the created /etc/resolv.conf

Re: [CentOS] DNS lookup delay with centos postfix

2012-07-25 Thread Tom Brown
Does dig use libresolv or read directly from resolv.conf? Also do you have a timeout configured in resolv.conf or are you relying on the os default? On 25 Jul 2012, at 21:57, Steve Lindemann st...@marmot.org wrote: I'm a bit baffled by this and I'm looking for ideas... background: two DNS

Re: [CentOS] DNS lookup delay with centos postfix

2012-07-25 Thread Tom Brown
dig uses resolv.conf and no timeouts are configured there. I don't know there the OS would have a default configured or what it is. Another reply indicated there would be a 5 second delay. That seems a bit high to me. I used dig from the email svr command line with the primary DNS svr up

Re: [CentOS] CentOS6.2: installation at specific kernel level

2012-07-12 Thread Tom Brown
Yes Look at either spacewalk and cloning of channels at a point in time or pulp. thanks On 12 Jul 2012, at 15:08, Cal Sawyer ca...@blue-bolt.com wrote: Hi, all I have a number of machines that are out of sync with one another by virtue of having done a yum update after a base 6.2 install

Re: [CentOS] How to upgrade from 5.8 to 6.2

2012-06-23 Thread Tom Brown
Upgrade from 5.x to 6.x is not supported by CentOS. ___ which was not strictly the question that was asked though was it. its not supported or recommended but it is possible. ___ CentOS mailing list

Re: [CentOS] Update issue - tar package problem?

2012-06-12 Thread Tom Brown
http://yum.baseurl.org/wiki/YumDB shame thats not actually available in CentOS 5 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Update issue - tar package problem?

2012-06-12 Thread Tom Brown
# yum update Loaded plugins: downloadonly, fastestmirror, rhnplugin Loading mirror speeds from cached hostfile Setting up Update Process Resolving Dependencies -- Running transaction check snip --- Package tar.x86_64 2:1.15.1-32.el5_8 set to be updated -- Processing Dependency: /bin/tar

[CentOS] Update issue - tar package problem?

2012-06-11 Thread Tom Brown
Hi Trying to apply all available updates to CentOS 5 and the following is observed # yum update Loaded plugins: downloadonly, fastestmirror, rhnplugin Loading mirror speeds from cached hostfile Setting up Update Process Resolving Dependencies -- Running transaction check snip -- Running

Re: [CentOS] Update issue - tar package problem?

2012-06-11 Thread Tom Brown
The issue seems to be that the package tar was somehow removed from your system. When you tried to update, the system saw that the package tar was removed from the system and that it was required by the already installed package redhat-lsb. This means that somehow, someone removed the

Re: [CentOS] Update issue - tar package problem?

2012-06-11 Thread Tom Brown
Somehow it is NOT in the rpm database ... that is why yum thinks it is not there. This could also happen accidentally with multilib installs (it looks like you do have this possible issue). When a system is installed in c5, the default behavior is that both i386 and x86_64 packages are

Re: [CentOS] Update issue - tar package problem?

2012-06-11 Thread Tom Brown
from memory i have not deliberately removed the i386 package, but you are right it is not there, however rpm does seem to know about /bin/tar # rpm -ql tar /bin/gtar /bin/tar snip although i agree its something rpm db related as reinstalling tar via rpm rather than yum solves the

Re: [CentOS] Update issue - tar package problem?

2012-06-11 Thread Tom Brown
rm /bin/tar will remove the binary but not update the rpmdb. rpm -V {package} to verify the package installation. well yes - but tar is not removed, that is the point, its something to do with rpm thinking its not there when in fact it is ___ CentOS

Re: [CentOS] Update issue - tar package problem?

2012-06-11 Thread Tom Brown
I guess I'll have to take your word for it as there is nothing in what you mention that verifies this statement. rpm -ql tar will not verify that any files are actually there, just that they got installed at some point. Did you verify /bin/tar was actually there before you did the yum

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] 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] Need the CentOS 4.3 i386 ISO

2011-07-06 Thread Tom Brown
well yeah, the OP mentions looking in the vault and indeed the DVD iso is not there, only the DVD torrent (and CD isos). Then just grab the CD iso's and make them into a DVD iso no ? http://mirror.centos.org/centos/build/mkdvdiso.sh or am i missing something

Re: [CentOS] bind-libs - key problem

2011-06-07 Thread Tom Brown
On 6 June 2011 22:17, Tom Brown t...@ng23.net wrote: Does anyone else notice anything wrong with the bind-libs package and its key? bind-libs-9.3.6-16.P1.el5.i386.rpm                        | 862 kB     00:00 warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 37017186

[CentOS] bind-libs - key problem

2011-06-06 Thread Tom Brown
Does anyone else notice anything wrong with the bind-libs package and its key? bind-libs-9.3.6-16.P1.el5.i386.rpm | 862 kB 00:00 warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 37017186 Public key for bind-utils-9.3.6-16.P1.el5.x86_64.rpm is not

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] 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

[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] 10gig NIC - Link Delay

2010-11-23 Thread Tom Brown
Hi I am having real trouble with a new batch of Intel NIC's - We were using another type of 10gig card and they were fine but got EOL'd from Intel and are now using something subtly different. I dont have all the details yet on the issue but basically there is a major delay in when the link comes

Re: [CentOS] 10gig NIC - Link Delay

2010-11-23 Thread Tom Brown
The only time I have seen such a delay in the past was because of OSPF on the Cisco switch it was connected to. these are Arista DCS-7148SX's so i'll have to chat to the network guys. On the kernel line can you state delay=x so that it waits for a link ?? thanks

[CentOS] tar - ssh - standard out

2010-08-12 Thread Tom Brown
Hi I have a process that creates 'some data' and outputs this to standard out and i want to shift this data over ssh to a remote box without ever writing anything locally. I have been experimenting with tar to create the archive as the i dont know what the contents of 'some data' might be so i

Re: [CentOS] tar - ssh - standard out

2010-08-12 Thread Tom Brown
Why not just do `the thing that generates standard out here` | ssh -q 192.168.122.2 dd of=somethin eg find . | ssh -q 192.168.122.2 dd of=find.out You don't need tar for anything. alas the thing that generates the output creates 5 or 6 seperate streams in sequence that generate 5 or

[CentOS] rsyslog-relp - CentOS 5.5

2010-06-07 Thread Tom Brown
Hi We have been using rsyslog and rsyslog-relp for a while however it seems that in 5.5 there is a newer version of rsyslog. Does anyone know of a repo where rsyslog-relp exists that is compatible with rsyslog from 5.5 ? thanks ___ CentOS mailing list

Re: [CentOS] release of 5.5? (filesystem troubles)

2010-05-14 Thread Tom Brown
is there an estimate when centos 5.5 will be released? as far as i knew it was out - at least it seemed to drop on me on the 10th eg centos-release-5-5.el5.centos.x86_64.rpm ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] release of 5.5? (filesystem troubles)

2010-05-14 Thread Tom Brown
On 14 May 2010 10:22, Tom Brown t...@ng23.net wrote: is there an estimate when centos 5.5 will be released? as far as i knew it was out - at least it seemed to drop on me on the 10th eg centos-release-5-5.el5.centos.x86_64.rpm or more public http://mirrors.dedipower.com/centos/5.5/os/x86_64

Re: [CentOS] Centos-release srpm

2010-04-22 Thread Tom Brown
there are a couple of srpms that are still pending out, I'll get these done over the weekend. did this ever make it out ?? I see there is a bug report for it http://bugs.centos.org/view.php?id=4042 but i dont see the centos-release .src.rpm anywhere still? thanks

Re: [CentOS] Centos-release srpm

2010-04-22 Thread Tom Brown
I've just built the rpm for centos-release 5.5 last night, and the src.rpm is now in the same repo. thats great but any chance of getting hold of the 5.4 .src.rpm? Its just thats the one we need to stop us having to do nasty stuff in the %post in relation to repos thanks

[CentOS] CentOS 5 - locking out users afer 3 failed attempts

2010-04-20 Thread Tom Brown
Hi I am trying to lock users after 3 attempts and then set the timeout before they can log in again. I thought i could achieve this with auth required pam_tally.so deny=3 unlock_time=600 in /etc/pam.d/system-auth but it seems to not be the case - I cant find a working config for this anywhere

Re: [CentOS] CentOS 5 - locking out users afer 3 failed attempts

2010-04-20 Thread Tom Brown
Does '/var/log/faillog' exist and is it properly writable? Is SELinux in play, etc?  The man page does not speak in terms of edits to: /etc/pam.d/system-auth but rather to: /etc/pam.d/login [note -- I suspect there may be a man page bug here ... in testing; changes to /etc/pam.d/login and

[CentOS] Logserver recommendations

2010-04-16 Thread Tom Brown
Hi I am using rsyslog to get logs to a central box and they are stored in the format of /hostname/year/month/day/logfilename I need a solution that can trawl through these directories and pick up exceptions like failed logons and sudo usage that sort of thing. Has anyone got any clues as to

Re: [CentOS] Logserver recommendations

2010-04-16 Thread Tom Brown
Good question. How many servers do you have to collect logs from? a few thousand ultimately I'd like to hear of people who have used both Splunk and/or prelude in an environment with, say, 500x1000 servers, for collection of logs and can voice a few opinions. in the log term i might

Re: [CentOS] Logserver recommendations

2010-04-16 Thread Tom Brown
On 16 Apr 2010, at 18:49, nate cen...@linuxpowered.net wrote: rai...@ultra-secure.de wrote: I'd like to hear of people who have used both Splunk and/or prelude in an environment with, say, 500x1000 servers, for collection of logs and can voice a few opinions. I use Splunk with a

Re: [CentOS] sed a particular line in file

2010-04-10 Thread Tom Brown
% cat foo Hello line 1 Hello line 2 Hello line 3 # To change just line 2 % sed '2s/Hello/There/' Hello line 1 There line 2 Hello line 3 # To change line 2 and onwards % sed '2,$s/Hello/There/' Hello line 1 There line 2 There line 3 It's that simple :-) yes indeed - simples

Re: [CentOS] Cobbler import files with rsync error

2010-04-10 Thread Tom Brown
The problem is, as soon as I get this error, I can't re-import the exact same image and need to specify a new name as well. How do I clear this up? cobbler image list doesn't show the failed-imported images. i would suggest cobb...@lists.fedorahosted.org

[CentOS] sed a particular line in file

2010-04-09 Thread Tom Brown
I need to change a value in a file, but this line occurs more than once in this file therefore as i know the line number this value appears on how can i change that? I thought i could use sed to change a particular line number but i dont see that in the man page, i am trying to change a value

[CentOS] centralised user authentication

2010-03-24 Thread Tom Brown
Apart from ipa are there any other good tools out there for centralised user auth? thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] Find and excluding directory

2010-02-02 Thread Tom Brown
Hi I have to use find to change the perms of a directory and files within that directory recursively but i need to exclude a directory within the top level directory, as its a netapp and so contains a read only .snapshot dir. I have tried... # find /var/data/foo -path '\.\/\.snapshot' -prune

Re: [CentOS] Find and excluding directory

2010-02-02 Thread Tom Brown
Your -path argument is wrong. Try this: find /var/data/foo -path '/var/data/foo/.snapshot' -prune -o -exec chown usera:groupb {} + You need the whole path, and there is no need to escape the '.' character. I've also used + as the terminator. That's just an efficiency issue. It

[CentOS] mrepo - RHEL5

2009-09-11 Thread Tom Brown
OK this is talking about downloading from rhn but does anyone have any tips with getting mrepo on a CentOS 5 box to be able to download from rhn reliably? Seemingly everything is configured OK as it downloads a package or 2 but mainly bombs out with... Error communicating with server. The

Re: [CentOS] mrepo - RHEL5

2009-09-11 Thread Tom Brown
You might get a bit more targeted exposure for your problem if you post to the mrepo mailing list[1]. I seem to recall someone posting about this issue recently[2]. No responses yet however... [1] http://lists.rpmforge.net/mailman/listinfo/tools [2]

[CentOS] ntp will not drift to correct time

2009-08-12 Thread Tom Brown
Hi On 5.3 i have a situation where some boxes have been 3 or 4 seconds out and restarting ntpd has fixed the issue. What i dont understand is why the clocks did not drift to the correct time when the config seems correct in that restarting ntp did correct the time. Is there something

Re: [CentOS] ntp will not drift to correct time

2009-08-12 Thread Tom Brown
Is the directory /var/lib/ntp present, and with write permissions for the 'ntp' user? Does the drift file exist? Does ntpd ever lock in? What do you see in 'ntpq -p' over time? Are these heavily-loaded boxes, or boxes with wildly-varying loads? $ ll /var/lib/ntp total 4 -rw-r--r-- 1

Re: [CentOS] Centos convert to rhel and support

2009-08-01 Thread Tom Brown
Geoff Galitz wrote: tell said managers to open the coffers and pay for support if they are that worried Maybe they would, but there is no content on the Centos wiki on the commercial support page. Considering the allegations of mishandling of funds, I doubt any organization

Re: [CentOS] Centos convert to rhel?

2009-07-31 Thread Tom Brown
I understand the worries. The news have reached the front page of Slashdot, and thus might reach certain technically inclined managers, which in turn may cause questions about contingency plans to be directed at the IT staff. I have a feeling that I have no contingency plan, don't worry,

Re: [CentOS] BIND Updates / CentOS 4.8 release

2009-07-30 Thread Tom Brown
I have a CentOS 4 system running BIND and I am wondering: Are there now BIND updates for CentOS 4? Will CentOS 4.8 include updates for BIND? How close is the 4.8 release -- Days, Weeks, Months? # rpm -qa | grep bind bind-libs-9.2.4-30.el4_8.4 bind-9.2.4-30.el4_8.4

Re: [CentOS] Centos convert to rhel?

2009-07-30 Thread Tom Brown
If centos falls I have no choice but to go to redhat. I am wondering if the conversion will be easy or a complete reinstall. There are other RHEL rebuild projects out there. why is everyone getting so jumpy - its only a domain name thats at stake, he's been AWOL for a year or

Re: [CentOS] BIND Updates / CentOS 4.8 release

2009-07-30 Thread Tom Brown
Where are these rpms available from? They don't seem to be available as normal updates (eg yum update bind...). they are - # yum clean all # yum update bind ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] iso from rpm's

2009-07-24 Thread Tom Brown
I have downloaded from an ftp something like RHEL 5.3 ppc64 rpm's. Is there any way to make from them an installation iso? why not just download the iso's from redhat with the valid subscription details you have? ___ CentOS mailing list

Re: [CentOS] rpm

2009-07-24 Thread Tom Brown
hi, thanks, but where should I add that repo and how can I use it? dont top post google yum ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] script to monitor interface errors

2009-07-23 Thread Tom Brown
Has anyone knocked up a script to monitor for interface errors before? i know i can look at the interface statistics with ethtool -S but i wonder if anything has something that looks at the last value for this statistic and then can alert if they increase? any thought how to solve this? it has

Re: [CentOS] Need help on start samba

2009-07-23 Thread Tom Brown
Tran Van Hung wrote: Hello all! I have met inform as following. I see that no smb on init.d folder. [r...@maychu1 home]# /etc/rc.d/init.d/smb start bash: /etc/rc.d/init.d/smb: No such file or directory Pls help me how to have smb on init.d folder? Thank you. Thank you Best Regards,

Re: [CentOS] script to monitor interface errors

2009-07-23 Thread Tom Brown
surprise, surprise I have a similar situation. On a very slow Pentium I machine, runing 2.2.XXX kernel, sometimes I have overruns and frame errors, which choke up the interface and I have to restart it using The overruns are due to torrent traffic generated by one of the geeks here.

Re: [CentOS] Need help on start samba

2009-07-23 Thread Tom Brown
what rpm did you use for this install? --- He did not use an rpm so he is on his on. He used the source tarball. one would wonder why ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Network Utilization

2009-07-06 Thread Tom Brown
I'm attempting to create a script that will indicate the % utilization of a network interface. I need this to export a one shot output that can be called by nagios. I've tried the following tools but I was unable to find a way to output just the utilization, and just one time: bmon, iftop,

Re: [CentOS] Configure a local DNS caching nameserver: partial success

2009-07-02 Thread Tom Brown
Now I'd like all the other machines on the network to use this local DNS server instead of my ISP's DNS. First thing, I know Bind uses port 53, so I take care to open that port on the server as well as on the other machines in the network. Then, I try to use my local DNS server manually

[CentOS] Upgrade 4.7 5.3 poorer 'performance'

2009-07-02 Thread Tom Brown
Hi During a test upgrade of a number of hosts in a pool i have found that exactly the same JVM based app runs more efficiently on the 4.7 systems than it does on the 5.3 on identical hardware. Specifically the apps seems to exhibit about 10% more 'load' on the CPU's for the same workload -

Re: [CentOS] Configure a local DNS caching nameserver: partial success

2009-07-02 Thread Tom Brown
No, that's not it. I disabled the (internal) firewall just for testing's sake, and still nothing. I can only use Bind on localhost (e. g. on the machine where I installed it), but not from any other machine on the network. what does you named.conf look like? i am guessing you have it

Re: [CentOS] Configure a local DNS caching nameserver: partial success

2009-07-02 Thread Tom Brown
I just got it to work. In fact, I deleted the stock caching-nameserver package and followed this excellent tutorial: http://www.madboa.com/geek/soho-bind/ i dont see what was wrong with the stock one - seems you did not fully configure it

[CentOS] intel nic vanished with 5.3

2009-06-18 Thread Tom Brown
Hi I have boxes with a quad card that shows up with e1000 e1000_probe: Intel(R) PRO/1000 Network Connection However since rebuilding a box from 4.7 to 5.3 this card has vanished - I would have thought this card is pretty generic so i dont believe there are not drivers for it - Any other

Re: [CentOS] intel nic vanished with 5.3

2009-06-18 Thread Tom Brown
try modprobe e1000 and see if it comes back? (there's also the e1000e driver as well I think that is for the latest cards mostly PCIe) Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI Copyright (c) 1999-2006 Intel Corporation. Check lspci to verify it's still there? #

Re: [CentOS] intel nic vanished with 5.3

2009-06-18 Thread Tom Brown
Maybe an IRQ conflict or something? I don't recall ever seeing a situation where lspci wouldn't show a device that was actually present and working. Try a different PCI slot? yes its rather odd - i will ask the DC guys to check but i am working on second hand info regarding this card

[CentOS] CentOS 5.3 - php mycrypt

2009-06-17 Thread Tom Brown
I need PHP with mycrypt support see http://www.php.net/manual/en/ref.mcrypt.php i wonder - is this available in the PHP that comes with CentOS 5.3 ? thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] CentOS 5.3 - php mycrypt

2009-06-17 Thread Tom Brown
I need PHP with mycrypt support see http://www.php.net/manual/en/ref.mcrypt.php i wonder - is this available in the PHP that comes with CentOS 5.3 ? i should have just tried it - works fine! thanks ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] CentOS 5.3 - php mycrypt

2009-06-17 Thread Tom Brown
ever thought of yum search php-mcrypt? clearly not ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] OT - Tomcat CLASSPATH issue

2009-06-16 Thread Tom Brown
if this is ignored then fair enough as its not really the place for it but if anyone has seen this it would be good to know tomcat is 6.0.18 CLASSPATH is set in /etc/sysconfig/appname and this IS getting used as _some_ configuration items are being picked up from /etc/appname but the issue is

Re: [CentOS] OT - Tomcat CLASSPATH issue

2009-06-16 Thread Tom Brown
Does this answer your question? http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html not really no .. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] OT - Tomcat CLASSPATH issue

2009-06-16 Thread Tom Brown
From the same version of Apache-Tomcat (6.0.18) web.xml config file: !-- classpath What class path should I use while compiling -- !-- generated servlets? [Created dynamically -- !-- based on the current web

Re: [CentOS] Rsync, SSH and authorized_keys problem

2009-06-16 Thread Tom Brown
command=rsync -avz -e ssh -i ~/.ssh/backup-key /backup stew...@name.of.remote.server:/backup ssh-dss ... key ... which user is doing this as maybe the env of that user in cron is not the same as when logged in using a shell ? ___ CentOS mailing

Re: [CentOS] re-install over internet

2009-06-15 Thread Tom Brown
I just got back from a datacenter where I installed a new server running CentOS 5.3. I set up a software raid with md0 being /. (Only one mount, didn't split anything up.) I just discovered that instead of raid 1, it did raid 0... Not exactly what I wanted! Probably missed that little

Re: [CentOS] hostname changes

2009-06-15 Thread Tom Brown
How do I change the hostname? In particular, what is the difference between /etc/hosts and /etc/sysconfig/network files? Where should I make the changes? /etc/hosts has nothing to do with the hostname this is just a way to resolve a name to an IP where DNS is not available or some other

Re: [CentOS] kickstart not install evolution

2009-06-15 Thread Tom Brown
I wish to NOT install evolution during my kickstart process... In the %packages section I put a line -evolution but it still installed evolution. How can I keep evolution from being installed in the kickstart process? find out what package is requiring it and remove that also -

[CentOS] script help - '3rd last field'

2009-06-08 Thread Tom Brown
Hi I need some logic to work out a value for me - this value is _always_ the 3rd last field in a string seperated by '.' but the string could be 5 or 6 fields long, e.g foo.bar.VALUE.baz.lala foor.bar.gigi.VALUE.baz.lala I need to find VALUE - if this were python or something i could do it

Re: [CentOS] script help - '3rd last field'

2009-06-08 Thread Tom Brown
I am pretty sure there is a way in awk to figure out how many fields you have, then take the total # of fields -3 each time to get the third last one. Just heading out the door and off hand can't remember how it would be done. i can do it in cheetah templating with set myloc =

Re: [CentOS] script help - '3rd last field'

2009-06-08 Thread Tom Brown
echo foo.bar.VALUE.baz.lala | awk -F. '{ print $(NF-2); }' excellent - just what i needed thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] df -h shows system at 100% used, but there is space left

2009-04-29 Thread Tom Brown
Has anyone seen output like this before? Notice on my /dev/md0 That it reports 100% used, but also 5.3 Gb available. What would cause this? # df -h FilesystemSize Used Avail Use% Mounted on /dev/sda2 71G 1.6G 66G 3% / /dev/sda1 99M 22M

Re: [CentOS] python 2.4 - CentOS 4.7

2009-04-07 Thread Tom Brown
I bet it's availible in rpmforge. Not sure, but that might of been where I find it. seemingly not - at least not at first look ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] python 2.4 - CentOS 4.7

2009-04-07 Thread Tom Brown
I cant currently change the OS on this box but i need to have python 2.4 on it. Does anyone know if there is a python 2.4 rpm available for CentOS 4 ? thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] python 2.4 - CentOS 4.7

2009-04-07 Thread Tom Brown
Sorry. :O. I know I got that Python SOMEWHERE. lets see how far i get building it from .src.rpm ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] sorting a file

2009-04-03 Thread Tom Brown
I need to find out how many times an IP address appears in a file - the IP is the first field in the access log string so what would be the best way to sort this file and count how many times each IP address appears ? thanks ___ CentOS mailing list

Re: [CentOS] sorting a file

2009-04-03 Thread Tom Brown
Oops, replied too quickly... missed the 'each IP' go for Stephen solution ^_^ yeap - thanks both ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] minimal installation - kickstart error

2009-03-20 Thread Tom Brown
Hi I have inherited some kickstarts that attempt to remove some packages that at some point its been deemed they are not required. I am migrating all this over to cobbler but trying to get to the bottom of this error that although the kickstart completes sshd cant start as the package nss is

Re: [CentOS] minimal installation - kickstart error

2009-03-20 Thread Tom Brown
-logwatch strangely it was the removal of logwatch that was causing this issue ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] External USB disk devices cause high load

2009-03-14 Thread Tom Brown
Hi On a CentOS 4.7 box running on older hardware when i plug an external flash disk or similar into the system the device shows up in dmesg but it is not usable. The load on the system starts to climb for no apparent reason. If i try to look at the partitions on the disk with fdisk it just

[CentOS] simple if statement

2009-02-27 Thread Tom Brown
Hi Below if $remaining is empty i want the if to finish - what is it i need to put in SOMETHING? if [ $remaining = ] ; then SOMETHING ; else kill -9 $remaining fi thanks? ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] simple if statement

2009-02-27 Thread Tom Brown
A : on it's own will do what you want. if [ $remaining = ] then : else kill -9 $remaining fi But better would be if [ -n $remaining ] then kill -9 $remaining fi thanks to all for the suggestions ___ CentOS

[CentOS] OT: Oracle client logging issue

2009-02-17 Thread Tom Brown
Hi We have an app on CentOS 5 that is in pyton and uses some form of thin oracle client called oracle-instantclient-basic, this error is more towards that client i think but if anyone has seen this before then it would be great to hear about it. The basic issue is that we are getting lots of

Re: [CentOS] MySql server on Centos 5

2009-02-16 Thread Tom Brown
I have a question about Mysql. I use mysql 5.0.68 on Centos 4 from Centos plus repository. The old hardware steers me to Centos 5, however there is mysql 5.0.45. Some program solutions which we are using on the old server (production for 500 users) do not work properly on new one (some

  1   2   3   >