Re: [CentOS] Kickstart with multiple eth devices
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, kickstart now fails because for some reason it goes through a rename process where it makes the newly added card eth1 (or eth0, I forgot). Is there a way to stop this rename process so kickstart correctly uses the physical hardware the way they are, meaning physical port 1 = eth0, port 2 = eth1, and the additional ethernet card then becomes eth2? Should I be using the device's MAC address when I set the 'network' option in the kickstart file? So instead of 'network --device=eth0' I make it 'network -device=aa;bb:cc:dd:eee:ff' ? ksdevice=aa;bb:cc:dd:ee:ff in your above example will ensure the device with that mac is the kickstart device. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Local Privilege Escalation
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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 6.4 SRPMS
> 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] 6.4 SRPMS
> 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 CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT - 'IP' Security and Capturing Software
>> > > 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 price? thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] OT - 'IP' Security and Capturing Software
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 worth of recording thats attached to a CentOS 6 box. This would be purely for after the event viewing and in no way a preventative measure Anyone have any ideas? thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS search in anaconda
I could be the issue is thus (i have worked around it but its not clean enough for my liking) i have a service that runs under SSL that is a global service that resolves locally - That is in dc A the IP is different to dc B however the service sits behind the same SSL certs that are non domain specific meaning that if i append a domain then you'll get a certificate mismatch. In all situations apart from kickstart this is fine as a local resolver can sort out the destination of the service based on the search domain, anaconda cant. It seems a bit annoying i can manually specify 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 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 assigned kickstarts and DHCP is >> not involved - you can pass a DNS server to use as dns=1.2.3.4 but there >> appears to be no search=foo.com etc >> >> AFAIK > > The real question is how you identify the site-specific information in > kickstart. Whatever key you use to do that should also be able to > select a domain name or whatever other particular info needed, and then > you can implement that in a "pre" script. Maybe something like: > > echo "search ${sitedomainname}.org" >> /etc/resolv.conf > > where $sitedomainname is the specific domain name for each site. > > -- > Ron Loftin relof...@twcny.rr.com > > "God, root, what is difference ?" Piter from UserFriendly > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS search in anaconda
> 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 assigned kickstarts and DHCP is not involved - you can pass a DNS server to use as dns=1.2.3.4 but there appears to be no search=foo.com etc AFAIK ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] DNS search in anaconda
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 cheers ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS lookup delay with centos & postfix
> 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 > and (naturally) it pulled from there as normal. Then I downed the > primary DNS svr, saw the nagios check fail and tried again. The same > dig lookup was actually faster and pulled from the secondary DNS svr > just fine. And, again, the nagios alert cleared as soon as the primary > DNS svr was back online. > > For both tests I used: dig mx google.com i would always have a timeout in your resolv.conf rather than relying on the OS default. Set that to 1 second and test again to see if there is any difference. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS lookup delay with centos & postfix
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 wrote: > I'm a bit baffled by this and I'm looking for ideas... > > background: > two DNS servers (ns1 & ns2)(64bit CentOS 5.8) > one email server (64bit CentOS 5.8 & postfix 2.3.3) > one nagios server (64bit CentOS 5.8 & nagios 3.3.1) > > situation: > - all servers configured to use both DNS servers for lookups > - ns1 server down for hardware problem > - nagios alerts that smtp on email server taking longer than 2 seconds > to respond > - nagios alert for smtp on email server clears when ns1 returns to service > > - when I use dig from the email server command line there is no problem > or delay when ns1 is offline. It worked without a hitch using ns2. > > Anyone have any ideas for why nagios would have trouble testing smtp on > the email server when the primary dns goes offline? I'm not even sure > where to look or who else would make sense to ask the question of on > this one. I'd appreciate any insight anyone out there has on this. > -- > Steve > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS6.2: installation at specific kernel level
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 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 at different > times (all were previous CentOS 5.3) Consequently, systems are a mix of > 2.6.32-220.7.1, 2.6.32-220.13.1 or 2.6.32-220.17.1. > > So 2 questions: > - Is it possible to perform a yum update (or another other kind of > update), specifying installation of, say, kernel 2.6.32-220.17.1 along > with the packages that were relevant at the time when 2.6.32-220.17.1 > was current? > - Is it possible to capture and save for future installations the > current kernel rev and associated packages as exist in the repos today > and install as a "frozen-in-time" distribution? > > thanks! > > - c sawyer > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to upgrade from 5.8 to 6.2
>> > > 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 CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Update issue - tar package problem?
> # yum update > Loaded plugins: downloadonly, fastestmirror, rhnplugin > Loading mirror speeds from cached hostfile > Setting up Update Process > Resolving Dependencies > --> Running transaction check > > > > ---> Package tar.x86_64 2:1.15.1-32.el5_8 set to be updated > --> Processing Dependency: /bin/tar for package: redhat-lsb > --> Finished Dependency Resolution > redhat-lsb-4.0-2.1.4.el5.x86_64 from installed has depsolving problems > --> Missing Dependency: /bin/tar is needed by package > redhat-lsb-4.0-2.1.4.el5.x86_64 (installed) > Error: Missing Dependency: /bin/tar is needed by package > redhat-lsb-4.0-2.1.4.el5.x86_64 (installed) > You could try using --skip-broken to work around the problem > You could try running: package-cleanup --problems > package-cleanup --dupes > rpm -Va --nofiles --nodigest > > # rpm -ql tar | grep bin > /bin/gtar > /bin/tar > > # ll /bin/tar > -rwxr-xr-x 1 root root 230464 Mar 31 2010 /bin/tar > > # rpm -q tar > tar-1.15.1-30.el5 > > # rpm -ivh > http://vault.centos.org/5.7/os/i386/CentOS/tar-1.15.1-30.el5.i386.rpm > Retrieving > http://vault.centos.org/5.7/os/i386/CentOS/tar-1.15.1-30.el5.i386.rpm > Preparing... ### [100%] > 1:tar ### [100%] > > # yum update > Loaded plugins: downloadonly, fastestmirror, rhnplugin > Loading mirror speeds from cached hostfile > Setting up Update Process > Resolving Dependencies > --> Running transaction check > > > > Transaction Summary > = > Install 4 Package(s) > Upgrade 263 Package(s) > Remove 2 Package(s) > Reinstall 0 Package(s) > Downgrade 0 Package(s) > > Total download size: 417 M > Is this ok [y/N]: > > So tar really really is there but it only starts working when the i386 > package is put onto the system, even though this is a x86_64 box To close the loop on this by making the 32 bit tar package available to the system during the update allowed the update to progress as it got pulled in as a dep during the yum run and all was happy. thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Update issue - tar package problem?
> 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?
> 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 > localinstall? Perhaps a colleague playing a prank on you? Or an > accidental removal while using mc without confirmation on delete > enabled? > > Since both x86_64 packages *and* i386 packages seem to be > missing /bin/tar I doubt this is a multi arch issue. # yum update Loaded plugins: downloadonly, fastestmirror, rhnplugin Loading mirror speeds from cached hostfile Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package tar.x86_64 2:1.15.1-32.el5_8 set to be updated --> Processing Dependency: /bin/tar for package: redhat-lsb --> Finished Dependency Resolution redhat-lsb-4.0-2.1.4.el5.x86_64 from installed has depsolving problems --> Missing Dependency: /bin/tar is needed by package redhat-lsb-4.0-2.1.4.el5.x86_64 (installed) Error: Missing Dependency: /bin/tar is needed by package redhat-lsb-4.0-2.1.4.el5.x86_64 (installed) You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest # rpm -ql tar | grep bin /bin/gtar /bin/tar # ll /bin/tar -rwxr-xr-x 1 root root 230464 Mar 31 2010 /bin/tar # rpm -q tar tar-1.15.1-30.el5 # rpm -ivh http://vault.centos.org/5.7/os/i386/CentOS/tar-1.15.1-30.el5.i386.rpm Retrieving http://vault.centos.org/5.7/os/i386/CentOS/tar-1.15.1-30.el5.i386.rpm Preparing...### [100%] 1:tar### [100%] # yum update Loaded plugins: downloadonly, fastestmirror, rhnplugin Loading mirror speeds from cached hostfile Setting up Update Process Resolving Dependencies --> Running transaction check Transaction Summary = Install 4 Package(s) Upgrade 263 Package(s) Remove2 Package(s) Reinstall 0 Package(s) Downgrade 0 Package(s) Total download size: 417 M Is this ok [y/N]: So tar really really is there but it only starts working when the i386 package is put onto the system, even though this is a x86_64 box thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Update issue - tar package problem?
> 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 mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Update issue - tar package problem?
> 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 > > > although i agree its something rpm db related as reinstalling tar via > rpm rather than yum solves the problem, however i dont see how this > situation has arisen. rebuilding the rpmdb did not help - installing the i386 package using rpm 'fixed' it but its still very strange ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Update issue - tar package problem?
> 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 installed. It looks like you have removed the > i386 packages as a rpm -q tar shows only one package (I do this too ... > I think it is a good idea). There is a potential problem though ... > both versions of tar (the i386 and x86_64 versions) provide /bin/tar ... > when removing the i386 version, sometimes the database will remove > /bin/tar from the list of installed packages even though the x86_64 > version is still installed. > > This can lead to the same kind of issue that you had ... and it is > possible to get it silently. So, I will add a .rpmmacros entry to root > so that rpm -qa also shows "E-V-R.", remove all i[3,4,5,6]86 > packages, then I make an entry to exclude multilib like this in yum.conf: > > multilib_policy=best > > Then I reinstall all x86_64 packages that had i386 packages removed (I > create a list before I remove them). > > So, if you are doing "rpm -e tar.i386" (I suspect you are since there is > only one currently installed) ... that might also be the source of the > problem. > > This is no longer a problem in CentOS-6 as anaconda does not install > i386 packages on x86_64 installs by default ... but they are installed > by default on CentOS-5. 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 although i agree its something rpm db related as reinstalling tar via rpm rather than yum solves the problem, however i dont see how this situation has arisen. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Update issue - tar package problem?
> 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 package tar without regard > for its dependencies ... creating several packages that had unmet > dependency for tar in the rpm database. > > When adding packages, Yum can do two things ... install or update ... > and it does each differently. > > When you "update" (even an individual package), yum is going to verify > all the dependencies are met as well as to update the package. In this > case it was confused about the missing dependency that was somehow > created by a forced removal. > > When you do an install (or localinstall), yum only tries to meet the > dependencies for single package being installed, not all the > dependencies for the entire rpm database plus the package being updated > ... so it did not see that the already installed redhat-lsb package does > not have all its dependencies met. > > After tar is installed, all dependencies are met for redhat-lsb, so an > update works fine. > > The problem all along is that someone did a force removal of tar (at > least from the rpm database) with a --nodeps switch, thus creating a > system with missing dependencies. > > The lesson is ... don't force remove packages manually unless you plan > to repair the situation manually as well. thanks for the response - tar has definately not been removed! # rpm -q tar tar-1.15.1-30.el5 # yum info tar Loaded plugins: downloadonly, fastestmirror, rhnplugin Loading mirror speeds from cached hostfile Installed Packages Name : tar Arch : x86_64 Epoch : 2 Version: 1.15.1 Release: 30.el5 Size : 1.6 M Repo : installed Summary: A GNU file archiving program. URL: http://www.gnu.org/software/tar/ License: GPL Description: The GNU tar program saves many files together in one archive and can : restore individual files (or all of the files) from that archive. Tar : can also be used to add supplemental files to an archive and to update : or list files in the archive. Tar includes multivolume support, : automatic archive compression/decompression, the ability to perform : remote archives, and the ability to perform incremental and full : backups. : : If you want to use tar for remote backups, you also need to install : the rmt package. Available Packages Name : tar Arch : x86_64 Epoch : 2 Version: 1.15.1 Release: 32.el5_8 Size : 748 k Repo : centos-5-x86_64-01062012 Summary: A GNU file archiving program License: GPL Description: The GNU tar program saves many files together in one archive and can : restore individual files (or all of the files) from that archive. Tar : can also be used to add supplemental files to an archive and to update : or list files in the archive. Tar includes multivolume support, : automatic archive compression/decompression, the ability to perform : remote archives, and the ability to perform incremental and full : backups. : : If you want to use tar for remote backups, you also need to install : the rmt package. i know it seems like yum thinks its not there, but it is, This happens on multiple systems also. thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Update issue - tar package problem?
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 --> Running transaction check ---> Package unixODBC-libs.i386 0:2.2.11-10.el5 set to be updated ---> Package unixODBC-libs.x86_64 0:2.2.11-10.el5 set to be updated --> Processing Dependency: /bin/tar for package: redhat-lsb --> Processing Dependency: /bin/tar for package: redhat-lsb --> Finished Dependency Resolution redhat-lsb-4.0-2.1.4.el5.x86_64 from installed has depsolving problems --> Missing Dependency: /bin/tar is needed by package redhat-lsb-4.0-2.1.4.el5.x86_64 (installed) redhat-lsb-4.0-2.1.4.el5.i386 from installed has depsolving problems --> Missing Dependency: /bin/tar is needed by package redhat-lsb-4.0-2.1.4.el5.i386 (installed) --> Running transaction check ---> Package kernel-xen.x86_64 0:2.6.18-194.32.1.el5 set to be erased ---> Package kernel-xen-devel.x86_64 0:2.6.18-194.32.1.el5 set to be erased --> Processing Dependency: /bin/tar for package: redhat-lsb --> Processing Dependency: /bin/tar for package: redhat-lsb --> Finished Dependency Resolution redhat-lsb-4.0-2.1.4.el5.x86_64 from installed has depsolving problems --> Missing Dependency: /bin/tar is needed by package redhat-lsb-4.0-2.1.4.el5.x86_64 (installed) redhat-lsb-4.0-2.1.4.el5.i386 from installed has depsolving problems --> Missing Dependency: /bin/tar is needed by package redhat-lsb-4.0-2.1.4.el5.i386 (installed) Error: Missing Dependency: /bin/tar is needed by package redhat-lsb-4.0-2.1.4.el5.i386 (installed) Error: Missing Dependency: /bin/tar is needed by package redhat-lsb-4.0-2.1.4.el5.x86_64 (installed) You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest so trying to just update tar # yum update tar Loaded plugins: downloadonly, fastestmirror, rhnplugin Loading mirror speeds from cached hostfile Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package tar.x86_64 2:1.15.1-32.el5_8 set to be updated --> Processing Dependency: /bin/tar for package: redhat-lsb --> Processing Dependency: /bin/tar for package: redhat-lsb --> Finished Dependency Resolution redhat-lsb-4.0-2.1.4.el5.x86_64 from installed has depsolving problems --> Missing Dependency: /bin/tar is needed by package redhat-lsb-4.0-2.1.4.el5.x86_64 (installed) redhat-lsb-4.0-2.1.4.el5.i386 from installed has depsolving problems --> Missing Dependency: /bin/tar is needed by package redhat-lsb-4.0-2.1.4.el5.i386 (installed) Error: Missing Dependency: /bin/tar is needed by package redhat-lsb-4.0-2.1.4.el5.i386 (installed) Error: Missing Dependency: /bin/tar is needed by package redhat-lsb-4.0-2.1.4.el5.x86_64 (installed) You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest but interestingly if i yum locainstall the tar package and then yum update it all works fine - seems very odd and possibly a broken yum package as rpm works OK ? anyone seen this? thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Duplicated packages in CR repo?
> 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 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
On 23 September 2011 15:15, Spook ZA 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 but CR for 6.0 is empty no ? thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] https://rhn.redhat.com/errata/RHSA-2011-1245.html - CentOS 6
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] Need the CentOS 4.3 i386 ISO
> 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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] bind-libs - key problem
On 6 June 2011 22:17, Tom Brown 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 > > > Public key for bind-utils-9.3.6-16.P1.el5.x86_64.rpm is not installed > > thanks pebkac - sorted now ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] bind-libs - key problem
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 installed thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.6 - SRPM's
> 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 mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.6 - SRPM's
>> 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 anyone please confirm/deny that? > > Oh well, so much for that idea! According to the release notes > (http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.6) there is a list > of packages modified by centos - and that includes httpd. So the > absence of 'centos' in the release string does _not_ mean that the > package is unmodified (ie it's merely re-built). > > Sigh!!! Just have to wait for the centos SRPMS then for me i do remove the repo's during kickstart however during an upgrade they'll come back unless they are removed from the package. I have just rebuilt the 5.5 release package to not have them and made the changes to make it appear as the 5.6 release package so for me all good. thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] 5.6 - SRPM's
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 mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] PHP - Security Updates
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
Re: [CentOS] 10gig NIC - Link Delay
> > 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 mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] 10gig NIC - Link Delay
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 up and this is causing major issues with PXE amongst other things. The log states this Nov 23 23:18:53 xxx kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready Nov 23 23:19:09 xxx kernel: ixgbe: eth0 NIC Link is Up 10 Gbps, Flow Control: RX/TX Nov 23 23:19:09 xxx kernel: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready So 16 seconds for the link to come up - The only real difference between the old card and the new is that the new seems to support FCOE whereas the older one didnt Has anyone got any clues as to what causes link delays? thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] tar - ssh - standard out
> 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 6 log files but i dont know in advance the names of these logs. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] tar - ssh - standard out
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 just need to capture it and output it on the other side. I have been trying with $ tar czf - . | ssh -q 192.168.122.2 "tar xzf -" and this works fine to create an archive of this '.' directory and pipe that over to the other side but i want to take standard out so $ tar czf - `the thing that generates standard out here` | ssh -q 192.168.122.2 "tar xzf -" Would that work or is there a better way to get this over to the other side? It needs to be a data stream though so things like scp and rsync are no good and i need to know what the command is on the remote side being run so that i can restrict this in the ssh public key on the remote side. thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 194 Kernel Panic; 164 is Fine; How Do I Debug?
> I have a machine that has worked fine for years on CentOS5. > kernel-PAE-2.6.18-164.15.1.el5 is the last "works fine" kernel, but > kernel-PAE-2.6.18-194.3.1.el5 crashes at boot every time. > > FYI i am having anaconda issues with 2.6.18-194 - basically anaconda crashes randomly both on x4100's and some r610's These are bare metal installs and happen on CentOS and RHEL - I have a work around but would be nice to know whats going on. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] rsyslog-relp - CentOS 5.5
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 CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] release of 5.5? (filesystem troubles)
On 14 May 2010 10:22, Tom Brown 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/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] release of 5.5? (filesystem troubles)
>> 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos-release srpm
> 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 mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos-release srpm
>> 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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5 - locking out users afer 3 failed attempts
> 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 some > intentionally failed logins, do not seem to cause content to > be added to /var/log/faillog . Making the edit to: > /etc/pam.d/system-auth-ac DOES cause content to be registered, > and to show up with the 'faillog -a' command [*1] ]. > > /etc/pam.d/system-auth is a symlink to: > /etc/pam.d/system-auth-ac on my C 5 box, and editting here > seems to work just fine: > > [r...@centos-5 pam.d]# diff -u system-auth-ac~ system-auth-ac > --- system-auth-ac~ 2010-04-20 15:46:34.0 -0400 > +++ system-auth-ac 2010-04-20 15:46:34.0 -0400 > @@ -2,6 +2,7 @@ > # This file is auto-generated. > # User changes will be destroyed the next time authconfig is run. > auth required pam_env.so > +auth required pam_tally.so deny=3 unlock_time=600 per_user > auth sufficient pam_unix.so nullok try_first_pass > auth requisite pam_succeed_if.so uid >= 500 quiet > auth required pam_deny.so > [r...@centos-5 pam.d]# > > Nota bene: Note that the GUI tools will happily 'tromp' on > changes you make, and do not retain backups. > > Did you edit /etc/pam.d/login / /etc/pam.d/system-auth-ac > per: > man pam_tally > at the bottom of that man page, and > man 8 faillog > > Not enough here to diagnose properly presently. thanks both pebkac it appears - faillog -a was producing the expected results, what seems to be the issue is that although the syntax was correct the location within auth-config was wrong and therefore being ignored. your diff gave me the clue and seemingly resolved my issue - many thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 5 - locking out users afer 3 failed attempts
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 and i wonder if anyone has one they can share? thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Logserver recommendations
On 16 Apr 2010, at 18:49, "nate" 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, 500> and can >> voice a few opinions. > > I use Splunk with a few hundred systems and it works alright, using > it right can take some time though creating the reports and stuff, > but it does make searching and reporting very easy. > > Splunk licenses based on the amount of indexed data it collects per > day, so you should know how much data your going to index before > you buy, and of course give plenty of headroom. > > I have a friend who works over at T-mobile who is one of the biggest > Splunk customers in the world they do something well over 1TB of new > data per day, and it works ok for them(off the record it sucks but > it sucks FAR less than everything else they have tried). > > nate > > We will most likely go with loglogic in the future but I need something in the interim. > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Logserver recommendations
> > 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, 500 voice a few opinions. > in the log term i might use loglogic or something similar but in the interim i'd like to know if there are people out there doing similar things with a tool i can evaluate in the short term ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Logserver recommendations
Hi I am using rsyslog to get logs to a central box and they are stored in the format of / 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 what might help to achieve this, i am looking into logsurfer but not sure if this handles the directory structure nicely. thanks for any tips ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cobbler import files with rsync error
> > 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 mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sed a particular line in file
> % 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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] sed a particular line in file
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 from line number 6 thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] centralised user authentication
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
Re: [CentOS] Find and excluding directory
> 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 > makes 'find' build command lines with as many matches as will fit rather > than invoking 'chown' separately for each one. > > Hi Robert many thanks - that resolved ths issue for me tom ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Find and excluding directory
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 -o -exec chown usera:groupb {} \; but chown: changing ownership of `/var/data/foo/.snapshot': Read-only file system chown: changing ownership of `/var/data/foo/.snapshot/hourly.0': Read-only file system chown: changing ownership of `/var/data/foo/.snapshot/hourly.0/filename': Read-only file system any clue ? thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mrepo - RHEL5
> > 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] http://lists.rpmforge.net/pipermail/tools/2009-September/001532.html > thanks - did not know there was an mrepo list ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] mrepo - RHEL5
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 message was: Forbidden avalon-framework-manual-4.1 avalon-framework-manual-4.1 avalon-framework-manual-4.1 rhnget: CommunicationError: Error downloading package avalon-framework-manual-4.1.4-2jpp.13.x86_64.rpm from rhel-x86_64-server-5. Skipping. Error communicating with server. The message was: Forbidden avalon-logkit-1.2-4jpp.3.x8 avalon-logkit-1.2-4jpp.3.x8 ^Cmrepo: Mirroring failed for rhns:///rhel-x86_64-server-5 with message: Failed with return code: 2 rhel5-server-x86_64: Repository updates changed (new: 1, removed: 0) rhel5-server-x86_64: New packages: Deployment_Guide-en-US-5.2-11.noarch.rpm rhel5-server-x86_64: Distribution updated (new: 1, removed: 0) It manages to get the first package or 2 of a run but thats it - Any clues? thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ntp will not drift to correct time
> 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 ntp ntp 7 Aug 12 15:17 drift $ cat /var/lib/ntp/drift 11.395 # ntpq -p remote refid st t when poll reach delay offset jitter == +server01 some.ip 3 u 81 1024 3770.4551.174 0.199 *server02 some.ip 3 u 850 1024 3770.4202.109 0.212 What do you mean by 'Does ntpd ever lock in?' ? These boxes are idle pretty much. thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] ntp will not drift to correct time
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 'special' i need to do in order for the drift to work? $ cat /etc/ntp.conf restrictdefault ignore restrict127.0.0.1 restrict10.0.0.0 mask 255.0.0.0 nomodify notrap serverserver01 serverserver02 fudge 127.127.1.0 stratum 10 driftfile /var/lib/ntp/drift broadcastdelay 0.008 keys/etc/ntp/keys # cat /etc/ntp/step-tickers server01 server02 any clues? thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos convert to rhel and support
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 would donate directly Centos > at this time. > > I'm not trying to be a pest about that commercial support page, but > it is frustrating. I know the team said they would bring it up at the > next dev meeting, but I have no idea when that is/was and what may > have happened. > > > > support as in buy a RHEL license ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos convert to rhel?
> 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, the problem will be solved" is not such a good answer to > such queries. > > Thus, the worrying. > > > tell said managers to open the coffers and pay for support if they are that worried ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] BIND Updates / CentOS 4.8 release
> > 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 http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos convert to rhel?
>> >> >> 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 more and the project has been OK people should worry less ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] BIND Updates / CentOS 4.8 release
> 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 bind-utils-9.2.4-30.el4_8.4 # cat /etc/redhat-release CentOS release 4.7 (Final) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rpm
> > 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
Re: [CentOS] iso from rpm's
> 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 CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need help on start samba
>>> >>> >> 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] script to monitor interface errors
> > 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. > > ifconfig eth1 down > ifconfig eth1 up > > So I was thinking of using a cron job and a simple script that > restarts the interface, provided the errors have increased since last > check. > information is available from within /proc/net/dev its just a case of formatting that somehow and then comparing the 2 values over a time period ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need help on start samba
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, > > -- > Tran Van Hung > IT Department > REX HOTEL > 141 Nguyen Hue Blvd, Ho Chi Minh City, Vietnam > Tel:(84-8)38292185 or (84-8)38293115 > Fax:(84-8)38296536 > Email: tvhun...@yahoo.com.vn > Website:http//www.rexhotelvietnam.com > ** > Cell Phone: 0983908262 > YM and Skype: tvhungsg > > > > what rpm did you use for this install? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] script to monitor interface errors
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 to be host based and cant be on the switch thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Network Utilization
> 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, ifstat, bwm, > dstat, rrdtool, iptraf. > > ntop ? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Configure a local DNS caching nameserver: partial success
> 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 mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Configure a local DNS caching nameserver: partial success
> > 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 set to only listen on localhost make sure you have a line similar to listen-on port 53 { 192.168.10.1; }; and bounce named ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Upgrade 4.7 > 5.3 poorer 'performance'
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 - before i start digging deep has anyone seen anything similar ? thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Configure a local DNS caching nameserver: partial success
> > 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 > on one of the machines, but I only get this : > > 53 udp and tcp ? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] intel nic vanished with 5.3
> > 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 being present so i'll just have to see what they say. i have never seen something like this either. thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] intel nic vanished with 5.3
> > 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? > > # lspci 00:06.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8111 PCI (rev 07) 00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-8111 LPC (rev 05) 00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-8111 IDE (rev 03) 00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-8111 ACPI (rev 05) 00:0a.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12) 00:0a.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC (rev 01) 00:0b.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12) 00:0b.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC (rev 01) 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 00:19.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:19.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:19.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:19.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 01:00.0 USB Controller: Advanced Micro Devices [AMD] AMD-8111 USB (rev 0b) 01:00.1 USB Controller: Advanced Micro Devices [AMD] AMD-8111 USB (rev 0b) 01:05.0 VGA compatible controller: Trident Microsystems Blade 3D PCI/AGP (rev 3a) 02:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 03) 02:02.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 03) 02:04.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 08) so the OS cant see the card at all ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] intel nic vanished with 5.3
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 thoughts? It does not show up at all in messages etc, and ethtool knows nothing of it either. thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.3 - php mycrypt
> > ever thought of yum search php-mcrypt? > > clearly not ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.3 - php mycrypt
> 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 http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 5.3 - php mycrypt
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] Rsync, SSH and authorized_keys problem
> 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 list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT - Tomcat CLASSPATH issue
> From the same version of Apache-Tomcat (6.0.18) web.xml config file: > > > > > > > You are setting CLASSPATH as an OS environment variable. Tomcat > wants/has it's own and you set it within the engine, or let the > engine take care of it for you. > > > interesting thanks - will investigate that ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT - Tomcat CLASSPATH issue
> 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
[CentOS] OT - Tomcat CLASSPATH issue
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/ and this IS getting used as _some_ configuration items are being picked up from /etc/ but the issue is when default setting from within the webapp are not being overwritten by settings in /etc/ ie if they are in /etc/ and /var/lib//webapps/ROOT/WEB-INF/classes/foo then the webapps location wins. If i echo the CLASSPATH during app start then /etc/ comes first so i dont see why the values in here are not taking precedence any thoughts? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kickstart not install evolution
> 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 mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] hostname changes
> > > 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 badness is going on hostname is set in /etc/sysconfig/network but if you want to change it on the fly you can also echo it into /proc/sys/kernel/hostname ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] re-install over internet
> 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 check when installing. So now, I need to > change this. But since the whole OS is on this raided partition that I want > to change, I'm a bit stuck. > > Is there a way to launch an installer while in the OS that I can re-install > the whole thing over the internet, without having to physically go to the box? > Speed of installation is not that much of an issue. It would obviously need > to keep up some sort of shell with my current eth0 settings during the > install. > > install a small boot kernel that drops straight to anaconda and in that have ip= gateway= ks=http:///foo.ks have you install tree available and providing there are no mistakes in your ks, test it first!, then a reinstall should happen this time with the software raid ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] script help - '3rd last field'
>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] script help - '3rd last field'
> 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 = $getVar("hostname","")split('.')[-3] the -3 says the last 3rd field in the string - i need the same so maybe awk can do this ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] script help - '3rd last field'
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 but this has to be in shell - Any clues? thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 5.3 - bonding 'error' but everything works fine
Hi I am seeing the following at boot time http://home.ng23.net/boot.jpg however the bonds work perfectly so i just wonder what the permission denied is implying. 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
>> 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 73M 23% /boot >> tmpfs 506M 0 506M 0% /dev/shm >> /dev/md0 903G 851G 5.3G 100% /home >> > > I've never run into the reserved blocks being an issue (even though it > may be the case here). I have run out of inodes (one per file, and if > you have a ton of little files...). Run df -i to see what percent inodes > your using. > > Wikipedia has a good explaination of inodes > (http://en.wikipedia.org/wiki/Inode). > sounds like reserved blocks to me also - use tune2fs to turn down the reserved blocks. That way you'll be able to use that space but be aware of the future problem that could cause you. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] python 2.4 - CentOS 4.7
> 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] python 2.4 - CentOS 4.7
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
> 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
Re: [CentOS] sorting a file
> 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] sorting a file
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 CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] minimal installation - kickstart error
> -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] minimal installation - kickstart error
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 not installed. It fails with this Installing nss - 3.11.99.5-2.el5.centos.x86_64 error: %pre(nss-3.11.99.5-2.el5.centos.x86_64) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping nss-3.11.99.5-2.el5.centos Which seems to happen due to this error while loading shared libraries: libssl3.so yum tells me # yum provides libssl3.so nss.i386 : Network Security Services nss.i386 : Network Security Services so # yum search "Network Security Services" nss.i386 : Network Security Services nss-tools.x86_64 : Tools for the Network Security Services nss-devel.x86_64 : Development libraries for Network Security Services nss.x86_64 : Network Security Services nss-devel.i386 : Development libraries for Network Security Services nss-tools.x86_64 : Tools for the Network Security Services mod_nss.x86_64 : SSL/TLS module for the Apache HTTP server nss.i386 : Network Security Services But anyone know what package messing this up as from what i can see nothing there is being 'removed' in the kickstart - below is a full list of packages removed in the kickstart thanks for any tips tom # individual packages to remove -acpid -apmd -aspell -aspell-en -at -autofs -bc -beecrypt -binutils -bluez-bluefw -bluez-hcidump -bluez-libs -bluez-utils -cpio -crash -cryptsetup -cups -cups-libs -cyrus-sasl -cyrus-sasl-md5 -cyrus-sasl-plain -dhclient -dhcpv6_client -dmraid -dosfstools -dump -ed -eject -fbset -finger -ftp -gpm -hesiod -irda-utils -isdn4k-utils -lftp -lha -logwatch -lrzsz -mailcap -minicom -mtools -mtr -mt-st -nano -nc -netconfig -NetworkManager -ntsysv -pam_smb -parted -pax -pcmcia-cs -pinfo -quota -rdate -rdist -redhat-logos -rmt -rp-pppoe -rsh -sendmail -slang -stunnel -system-config-mouse -system-config-network-tui -system-config-securitylevel-tui -talk -tcsh -up2date -vconfig -wireless-tools -wvdial -xinetd -ypbind -yp-tools ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] External USB disk devices cause high load
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 hangs. If the device is removed the load remains high. Does anyone know what processes are responsible for USB as top is not really showing me much. thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] simple if statement
> 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 mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] simple if statement
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 http://lists.centos.org/mailman/listinfo/centos