Re: [CentOS] RHEL changes
From: Victor Pereira Sent: January 21, 2021 07:47 > > I see that this is as an impulse for Fedora so that we as users do not > leave RedHat after the news ... even so I still think how good it is > for the linux community this whole situation makes us a good shakeup. While I while I welcome the Red Hat announcement I really could do without the "shakeup" and all the additional work that it triggers. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Accounting package recommendations
From: Rudi Ahlers Sent: June 9, 2020 10:22 > > I am looking for an offline accounting package recommendation, please. > I enjoyed using Xero accounting, but need something that's offline, > and where the data remains my property. Having used Quickbooks on > Windows in the past, I am looking for something similar. GnuCash has been working fine for me for several years. HTH Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to stagger fsck executions
From: Warren Young Sent: April 22, 2015 20:46 > On Apr 22, 2015, at 11:56 AM, Hugh E Cruickshank > wrote: > > > > I have done some "what if" testing. > > Using which tool? My simulator, or something you cooked up > yourself? If the latter, would you care to share? I cobbled something together in OpenEdge ABL. I have uploaded it to http://pastebin.ca/2979494 This was intended only for my use so, while the code is relatively clean, it is not documented. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to stagger fsck executions
From: Warren Young Sent: April 21, 2015 14:13 > On Apr 21, 2015, at 9:50 AM, Hugh E Cruickshank wrote: > > > > From: Kay Diederichs Sent: April 21, 2015 03:43 > >> > >> instead of having 20 for all of them, set > >> the first filesystem to 17, the second to 19, the third to > 23, and the > >> fourth to 29. > > > > Thanks but that is not much different then my second idea > and does not > > fully avoid the problem. > > You may be missing a key fact of how prime numbers work. You are right and I stand corrected. I have done some "what if" testing. Assuming 8 filesystems and weekly reboots over a ten year period... The random numbers would result in as many as 40 weeks per year where 2, 3 or 4 fscks would be run in the same week depending on the random numbers selected. Using the prime numbers 7, 11, 13, 17, 19, 23, 29 and 31 the is a maximum of 7 incidents per year of 2 fscks per week and none for 3 or more. Clearly the prime numbers are better. Thank, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to stagger fsck executions
From: Gordon Messmer Sent: April 21, 2015 10:30 > > On 04/21/2015 09:40 AM, Hugh E Cruickshank wrote: > > I accept that fscks are required on a periodic basis and I > am willing > > to reboot more often to achieve these but I would like to minimize > > downtime (during the reboot) where possible. > > Why do you accept that? Every article I have read on the subject has recommended this a good practice. > The default behavior for filesystems set up by Red Hat tools > (anaconda) is not to fsck. Not by mount count, nor by > time. The default behavior for e2fsprogs was changed to disable > periodic fsck in Feb 2011. CentOS 6 includes a version of e2fsprogs > from before that change, but the filesystem is considered > very stable, > and the periodic fsck is not generally considered necessary. I have confirmed that filesystems setup by anaconda on both CentOS 6 and RHEL 6 have both boot count and interval disabled however they are not disabled for any manually created filesystems (they are set to 24 and 6 months, respectively). I find it interesting that as late as 2014 Red Hat is recommending: . If automatic filesystem checks are inconvenient, then it is recommended to disable the automated filesystem check as discussed in the following article: How to turn off forced/automatic fsck in Red Hat Enterprise Linux? . Once disabled, it is recommended to schedule regular "human controlled/monitored" filsystem checks, when it is convenient to do so. These checks should not be ignored, or scheduled too far apart. This is from https://access.redhat.com/solutions/70531 Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to stagger fsck executions
From: Les Mikesell Sent: April 21, 2015 09:54 > On Tue, Apr 21, 2015 at 11:40 AM, Hugh E Cruickshank wrote: > > > > I am trying to avoid running them at the same time in an effort to > > avoid 70 minute boot times (which is what happened on the weekend). > > How many filesystems do you have? It varies from system to system but is typically 8-10. > If you look at ./etc.fstab, > everything where the final number is '1' (normally just the root > filesystem) should complete first, then everything with a 2 will run > at once. If the other mounts are each on different drive/spindles > they won't conflict with each other and will complete in the same time > as running just the largest one of them. If you are running fscks of > partitions on the same drive in parallel it will obviously go slower. I am aware of that. With the exception of /, /boot and /home which are on one spindle (actually a hardware mirrored pair) the remaining filesystems are on separate drives (actually hardware mirrored pairs or RAID 10 arrays). The largest of the filesystems (four of them) share a common SAS controller, data channel and external disk array hardware (HP D2600) so running these in parallel might not be as effective as they could be. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to stagger fsck executions
From: Les Mikesell Sent: April 21, 2015 09:19 > > Why do you care about running them at the same time when it doesn't > take longer to run them all in parallel? Except I think the root > filesystem normally runs first. So you might want to stagger it vs. > everything else. I am trying to avoid running them at the same time in an effort to avoid 70 minute boot times (which is what happened on the weekend). I accept that fscks are required on a periodic basis and I am willing to reboot more often to achieve these but I would like to minimize downtime (during the reboot) where possible. > And unless you reboot frequently you are probably hitting the time > setting, not the mount count. This is in fact what transpired on the weekend and I would leave this in place as a protective measure. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to stagger fsck executions
From: Hugh E Cruickshank Sent: April 20, 2015 21:09 > > Over the weekend I had to reboot one of my systems and got hit with > fsck runs on all of the filesystems. I would not mind so much except > doing them all at once took over an hour. I would like to be able to > stagger these, ideally only execute one fsck per reboot. I have been > able to think of two possible solutions but neither is terrific. I have come up with a third idea that would seem to address what I am looking for... 1. Create a file with the list of filesystems in desired order of execution. 2. Create an init.d script that: a. Sets tune2fs -c 0 on all filesystems. b. Extracts the first filesystem from the file, c. Sets tune2fs -c 1 on it, and d. moves it to the end of the file. The result is that on each reboot (after the first) only one filesystem will be checked on each boot. The down side is that an fsck will be run on every reboot however this could be mitigated by adding a boot count that would be maintained and checked in the file. It would appear that I have the beginnings of a workable solution. Thanks for everyone's suggestions. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to stagger fsck executions
From: Mark Milhollan Sent: April 21, 2015 05:35 > On Mon, 20 Apr 2015, Hugh E Cruickshank wrote: > > >CentOS 6 > > >From ''man fstab'' ... > >The sixth field, (fs_passno), is used by the fsck(8) > program to determine the order >in which filesystem checks are done at reboot time. > The root filesystem should be >specified with a fs_passno of 1, and other > filesystems should have a fs_passno of >2. Filesystems within a drive will be checked > sequentially, but filesystems on >different drives will be checked at the same time to > utilize parallelism available >in the hardware. If the sixth field is not present or > zero, a value of zero is >returned and fsck will assume that the filesystem does > not need to be checked. Thanks but changing the order of execution or executing them in parallel does not help with executing them one per reboot. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to stagger fsck executions
From: Kay Diederichs Sent: April 21, 2015 03:43 > On 04/21/2015 06:08 AM, Hugh E Cruickshank wrote: > > > > The second idea was to set each filesystem to a different random > > count value. This would run the risk of having two or more > > executions at the same time but it would probably not be very > > frequent. > > Using "tune2fs -c", set the max-mount-counts to a different > prime number > for each filesystem. So e.g. instead of having 20 for all of them, set > the first filesystem to 17, the second to 19, the third to 23, and the > fourth to 29. This way, three or more fscks on the same boot are quite > unlikely. Thanks but that is not much different then my second idea and does not fully avoid the problem. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to stagger fsck executions
From: John R Pierce Sent: April 20, 2015 23:58 > On 4/20/2015 9:08 PM, Hugh E Cruickshank wrote: > > The second idea was to set each filesystem to a different > random count > > value. This would run the risk of having two or more executions at > > the same time but it would probably not be very frequent. > > > > Does anyone have a suggestion for a better way of doing this? > > use XFS, no fsck's until/unless something catastrophic happens to the > file system. Thanks. That would avoid the problem on future systems. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to stagger fsck executions
From: Arun Khan Sent: April 20, 2015 23:49 > > Take a look at 'man tune2fs' and 'man fstab' for modifying the fsck > order in your system. Thanks but I did look at those and I was not able to find anything that would limit the fsck executions to one per reboot. Changing the order of execution will not address my concern. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] How to stagger fsck executions
CentOS 6 Hi All: Over the weekend I had to reboot one of my systems and got hit with fsck runs on all of the filesystems. I would not mind so much except doing them all at once took over an hour. I would like to be able to stagger these, ideally only execute one fsck per reboot. I have been able to think of two possible solutions but neither is terrific. My first idea was to manually run fsck on each filesystem, one every couple of weeks. That way they will not all come due at the same time if we reboot on a regular basis. The second idea was to set each filesystem to a different random count value. This would run the risk of having two or more executions at the same time but it would probably not be very frequent. Does anyone have a suggestion for a better way of doing this? TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
From: Les Mikesell Sent: November 5, 2014 05:40 > > Are there still servers that accept undeliverable mail and generate > messages later? That behavior makes them an easy target for spammers > who send the real target address as the From: entry and will likely > get them blacklisted. There definitely are judging by the number of bounce messages we receive hours and sometimes days later for messages that have not been queued in our mail server. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
From: John Doe Sent: November 5, 2014 01:51 > > If you just need something "simple" and know a bit php, you > could try... The bit I know is what PHP stands for after that not so much. > --- > if ($mbox = imap_open("{imap.domain.com:993/ssl}FOLDER", > "$email", "$passwd", > OP_READONLY+OP_DEBUG)) { > $sorted_mbox = imap_sort($mbox, SORTARRIVAL, 0); > $status = imap_status($mbox, "{imap.domain.com:993/ssl}FOLDER", > SA_MESSAGES+SA_UNSEEN); > $msgs_total = $status->messages; > if ($msgs_total == 0) { print "No mails...\n"; exit(1); } > for ($i=0; $i<$msgs_total; $i++) { > #print imap_fetchheader($mbox, $sorted_mbox[$i]); > $body = imap_body($mbox, $sorted_mbox[$i]); > foreach (explode("\n", $body) as $line) { > ... > } > #imap_setflag_full($mbox, $i, "\\Seen"); > } > #imap_expunge($mbox); > imap_close($mbox); > --- If I understand your example it appears to be retrieving emails from the mail server. I am still going to have to determine which messages are bounce messages then decipher the format and attempt to extract the relevant information from the message. If I have to resort to that then I might as well write it within our application software. But thanks for the suggestion. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
From: Reindl Harald Sent: November 5, 2014 01:22 > Am 05.11.2014 um 02:07 schrieb Hugh E Cruickshank: > > From: John R Pierce Sent: November 4, 2014 16:53 > >> On 11/4/2014 4:49 PM, Hugh E Cruickshank wrote: > >>> We are looking for a way to automate the handling of > bounced emails. > >> > >> what do you want to do DO with these bounced mails? > > > > Our application software generates emails on behalf of our clients. > > Currently I have to manually processes any bounce messages > which is a > > real waste of my time. I would like to be able to intercept > the bounce > > messages and provide a summary of these to our application > which could > > then notify the appropriate client (or at the very least > make a note of > > the bounce) > > just parse the *maillog* instead That would only be effective for bounce messages that were generated by our mail server (in the case of messages that were immediately rejected by the foreign mail server when our mail server attempted to hand the messages off). It would not work for messages that were initially accepted for delivery but were subsequently returned as being non-deliverable. It is on my list of "things to do" to extract the maillog entries for any application generated emails. We currently log the dialog between our application and our email server when delivery of the message is initiated however we are missing the handoff from our mail server to the foreign mail server. The maillog information would then be recorded in our database for use by our support staff and possibly client staff (although the client access part is still under consideration). Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
From: F. Mendez Sent: November 4, 2014 19:11 > > Boogietools is good. But not enought. > > BounceHammer seems to be better as it can run as single server task. > It also gives you already developed bounce rules plugins for > opensource MTA like exim, sendmail, postfix, courier or qmail. > > Would go for BH instead. That was the way I was leaning based on the little research I have done so far. The confirmation is appreciated. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
From: John R Pierce Sent: November 4, 2014 18:14 > On 11/4/2014 5:07 PM, Hugh E Cruickshank wrote: > > The bounceHammer package appears to do this but I would then need to > > figure out how to either read or convert their database (YAML/JSON). > > what language is your application written in? most modern programming > environments have classes for importing JSON into structures/objects, > or for parsing it. It is written in OpenEdge ABL (AKA PROGRESS 4GL) and WebSpeed and I am sure it will be able to read the data I just have to figure out how. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bounced email processing
From: John R Pierce Sent: November 4, 2014 16:53 > On 11/4/2014 4:49 PM, Hugh E Cruickshank wrote: > > We are looking for a way to automate the handling of bounced emails. > > what do you want to do DO with these bounced mails? Our application software generates emails on behalf of our clients. Currently I have to manually processes any bounce messages which is a real waste of my time. I would like to be able to intercept the bounce messages and provide a summary of these to our application which could then notify the appropriate client (or at the very least make a note of the bounce). The bounceHammer package appears to do this but I would then need to figure out how to either read or convert their database (YAML/JSON). TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Bounced email processing
CentOS 6.5 Hi All: We are looking for a way to automate the handling of bounced emails. I have spend some time looking an scan find one open source package, bounceHammer, and one commercial package, BoogieTools. Does any comments on the effectiveness of either package? Any suggestions on other packages? TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum update interruption recovery
From: Louis Lagendijk Sent: December 5, 2013 13:37 > > Try package-cleanup --problems and see what it returns > package-cleanup --cleandupes may helps with removal of duplicates I jut finished cleaning it all up. It took a while and I ended up with having to manually identify and delete a bout 40 duplicate packages (your suggestions would probably have helped with that). It was also necessary to reinstall the kernel packages but everything seems to be humming along fine now (and up to date as well). Thanks to all who provides feedback and suggestions. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum update interruption recovery
From: Hugh E Cruickshank Sent: December 4, 2013 15:09 > From: Frank Cox Sent: December 4, 2013 15:04 > > On Wed, 4 Dec 2013 14:55:03 -0800 Hugh E Cruickshank wrote: > > > Tried that but it failed. > > > > Describe "failed". > > That happened yesterday and I can not recall specifically what it > said. I am currently in the process of backing up the hard drive > before proceeding any further. I will see if I can get the error a > little later today. Well I am unable to locate the error message as it does not appear to be logged. In the interim I have done a lot more research and I now suspect that I have two separate problems: 1. Since the yum update did not complete then it never had a chance to update the rpm database, 2. We probably have one or more packages that have been install but the predecessor has not be removed. I have done the following: a. Rebuilt the rpm database: rm -f /var/lib/rpm/__db* rpm --rebuilddb b. I then retried the yum update this aborted report conflicts in systemtap packages. c. I listed the installed systemtap packages: rpm -qa | grep systemtap | sort This revealed that there were two systemtap-devel packages installed and I removed the newer one. d. I then retried yum update and this appeared to work fine until it got to: Cleanup : 1:xorg-x11-drv-nouveau-1.0.1-3.el6.x86_64 286/513 At this point the system appears to be hung. I can not proceed any further this evening as I am working on this from home and I do not have physical access to the server to reboot it. In the morning I will reboot the server and try again but this time I am going to do a "yum clean all" to the rpm database rebuild. Any thoughts or comments would be appreciated. That's al for now. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum update interruption recovery
From: Frank Cox Sent: December 4, 2013 15:04 > On Wed, 4 Dec 2013 14:55:03 -0800 Hugh E Cruickshank wrote: > > Tried that but it failed. > > Describe "failed". That happened yesterday and I can not recall specifically what it said. I am currently in the process of backing up the hard drive before proceeding any further. I will see if I can get the error a little later today. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum update interruption recovery
FromJitse Klomp Sent: December 4, 2013 14:47 > On 12/04/2013 11:34 PM, Hugh E Cruickshank wrote: > > > > I am having problems with a CentOS 6.4 box that I was in the process > > of doing a yum update to 6.5. Unfortunately the system hung during > > the update and I was forced to reboot it and it is now a bit of a > > mess. Can someone point me in the direction of any documentation > > that would assist in the recovering from this. > > Run yum-complete-transaction. Tried that but it failed. I am now seriously looking at manually deleting and/or reinstalling a large number of packages but I was hoping that there might be some recommended procedures available "out there" that might be easier. TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] yum update interruption recovery
Hi All: I am having problems with a CentOS 6.4 box that I was in the process of doing a yum update to 6.5. Unfortunately the system hung during the update and I was forced to reboot it and it is now a bit of a mess. Can someone point me in the direction of any documentation that would assist in the recovering from this. TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] flashing a BIOS on an HP server
From: m.r...@5-cent.us Sent: April 30, 2013 12:34 > > The DVD: is that bootable? If so, can I simply put the .exe > on the h/d, > and boot from the DVD, then point it to the .exe and run it? It is supplied as a zipped ISO file. Burn the ISO and then boot from the disk. I have just remembered that the Firmware DVDs have been replaced by the new Service Pack for ProLiant (also bootable). HTH Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] flashing a BIOS on an HP server
From: m.r...@5-cent.us Sent: April 30, 2013 12:13 > Hugh E Cruickshank wrote: > > Well, more like create a bootable flash drive and copy the > .exe to it - > there doesn't seem to be *anything* other than the damn .exe. Have a look at: http://h2.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp;jse ssionid=yTLfRQYhsgyM2K2QJ6g9n0nxRDsyK7z7L5fQThMypyx7Gb8PMDsj!-1719006963?swI tem=MTX-9ed665a89aba447d925937f38b&lang=en&cc=us&mode=3& This will provide you with the DVD image and installation instructions including to a USB key. > > 4. Answer a few questions and let it do its thing. > > Is that like the Dell, where it "inventories the system", > then *tells* you > if it's for this hardware, and that it's newer (or not) than > what's there? It is does do an inventory to determine what is install and what needs updating then it will update all the firmware for the MB, cards, drives, etc. If I recall correctly you can run it in full automatic mode or do selective updates. HTH Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] flashing a BIOS on an HP server
From: m.r...@5-cent.us Sent: April 30, 2013 11:45 > >The upshot: does anyone here have a clue as to whether I can flash > update the BIOS with the latest update, or whether I actually have to > do the older one first? I do not have experience with the DL580G5 however we do have several DL360G5 and DL380G5 units and the firmware upgrade should be a piece of cake: 1. Download the Firmware CD. 2. Burn it to disk. 3. Boot from the CD. 4. Answer a few questions and let it do its thing. 5. Bobs your uncle you are done. It should not matter what the current firmware is. HTH Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OpenLDAP on CentOS 6.3
From: Greg Bailey Sent: October 19, 2012 12:15 > On 10/19/2012 11:28 AM, Hugh E Cruickshank wrote: > > Thank you but without having a working slapd.conf (or for that mater > > any slapd.conf) file I will not be able to take advantage of this. > > I started with the slapd.conf in: > > /usr/share/openldap-servers/slapd.conf.obsolete > > and it works fine. Hi Greg: Good call! That one I got and away I go! Thanks a bunch! Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OpenLDAP on CentOS 6.3
From: Keith Keller Sent: October 16, 2012 22:33 > On 2012-10-17, Patrick Lists wrote: > > > > On the mailing list it was recommended by several subscribers to > > upgrade to the latest openldap release (2.4.33) due to the many > > fixes in the dynamic config backend and the logic that can > > transform an slapd.conf into a cn=config version. > > I could be wrong, but I think this logic already exists in the latest > OpenLDAP package in CentOS 6.3. At least, I tried it myself > last week-- > it's basically -f /path/to/old/slapd.conf -F /etc/openldap/slapd.d/ or > something like that. It seemed to work (though I've done only basic > testing on it so far). Thank you but without having a working slapd.conf (or for that mater any slapd.conf) file I will not be able to take advantage of this. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OpenLDAP on CentOS 6.3
From: Patrick Lists Sent: October 16, 2012 22:11 > On 10/17/2012 02:51 AM, Hugh E Cruickshank wrote: > > > > I am attempting to setup OpenLDAP on c CentOS 6.3 platform. I have > > been able to locate numerous online how to documents but none seem > > to work correctly on CentOS 6.3. I believe that the reason is the > > new dynamic configuration (AKA cn=config). > > The Admin Guide on the OpenLDAP website has a lot of information about > the new cn=config backend and how to set it up. I did attempt to use the Quick Start section of the 2.4 Administration Guide. Since I have a binary install as part of CentOS I bypassed steps 1-7 which cover the source download, configuration, build and install. Step 8 (Edit the configuration file) references a slapd.conf file that is not present on my system. I found it rather hard to proceed any further. > On the mailing list it was recommended by several subscribers to > upgrade to the latest openldap release (2.4.33) due to the many fixes > in the dynamic config backend and the logic that can transform an > slapd.conf into a cn=config version. With a few changes (replace > systemd stuff with the original CentOS openldap init scripts) the > F17 openldap SRPM should build ok on CentOS 6.3. At this point I am very hesitant to do any major changes to the software without some specific reason for it. All I am attempting to do at this point is just to get a simple working configuration that I an learn and build on. Thanks for your suggestions. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] OpenLDAP on CentOS 6.3
Hi All: I am attempting to setup OpenLDAP on c CentOS 6.3 platform. I have been able to locate numerous online how to documents but none seem to work correctly on CentOS 6.3. I believe that the reason is the new dynamic configuration (AKA cn=config). Can someone provide me with a pointer or two in the right direction I would greatly appreciated it. I have been fighting with this off and on for the couple of weeks and it is driving me up the wall! TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Prelink failure
From: Lars Hecking Sent: September 28, 2012 05:30 > > I have a number of CentOS6 machines, and on one of them, the > daily prelink > cron job aborts. Any ideas what to look for? Hi Lars: I can not tell you much about prelink however we recently encountered a similar problem. Check the /var/log/prelink/prelink.log file for more details on what caused the abort. We were not able to resolve our issue and decided to disable prelink (there seems to be much differing opinions as to whether or not prelink is still required). If you decide to disable prelink then Dag Wieers has instructions on his web site on how to do this: http://dag.wieers.com/howto/compatibility/ So far we have not noticed any significant performance issues as a result of this change. HTH Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Terminfo ansi-m entry missing
From: Hugh E Cruickshank Sent: June 26, 2012 16:01 > > It appears that the terminfo ansi-m file is no longer distributed with > the CentOS 6.2 (along with many others). Can anyone advise how I can > obtain this file? As a work around I have copied the file from a > CentOS 4 box but that is probably not the "proper" way to do it. To follow up on my original post I have found that the following also works: wget http://www.catb.org/~esr/terminfo/termtypes.ti.gz gunzip termtypes.ti.gz tic -e ansi-m termtypes.ti This would actually appear to be "the proper way" to go. HTH Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Terminfo ansi-m entry missing
Hi All: It appears that the terminfo ansi-m file is no longer distributed with the CentOS 6.2 (along with many others). Can anyone advise how I can obtain this file? As a work around I have copied the file from a CentOS 4 box but that is probably not the "proper" way to do it. TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Memory recognition in 6.2
Hi All: Thanks for all the responses and suggestions. I have been doing some more research and I believe that it may be possible to go 64-bit. I am going to leave this for now and have another look at it in the morning when I am, hopefully, awake before I make the final decision. Good night. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Memory recognition in 6.2
From: Yves Bellefeuille Sent: June 19, 2012 15:55 > > I can't find the limit for CentOS 6, but CentOS 5 x86 was > limited to 16 > Gb of RAM: https://www.centos.org/product.html . You should > use x86_64. If that is the case then both CentOS 5 and 6 are not viable for us. I will have to go for RHEL5 (or possibly 6) which does support the memory in 32-bit mode. The reason for the restriction to 32-bit is because of other software that we must run that does not work correctly on a 64-bit OS. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Memory recognition in 6.2
From: Joseph L. Casale Sent: June 19, 2012 15:52 > > title CentOS (2.6.32-220.17.1.el6.i686) > > root (hd0,0) > > kernel /vmlinuz-2.6.32-220.17.1.el6.i686 ro [SNIP] > > initrd /initramfs-2.6.32-220.17.1.el6.i686.img > > mem=26624M > > Do i read that right? 26g of ram and you're using a non PAE > x86 kernel? It was my understanding that PAE is now built into the standard kernel but I will check on this further. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Memory recognition in 6.2
From: Scott Silva Sent: June 19, 2012 15:51 > > It looks like you installed 32 bit OS... I don't think it > sees over 16 gigs... Yes it is 32-bit but if there is a 16GB limit on memory then I am going to need to revert to CentOS 5. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Memory recognition in 6.2
Hi All: I have an HP DL380G5 server which I am loading CentOS 6.2 on and it does not appear to recognize all of the RAM installed on the server. The BIOS is reporting 26GB however top is reporting: Mem: 15720140k total, 418988k used, 15301152k free, 30256k buffers Swap: 17956856k total, 0k used, 17956856k free, 135536k cached and free is reporting: total used free shared buffers cached Mem: 15720140 418848 15301292 0 30256 135536 -/+ buffers/cache: 253056 15467084 Swap: 17956856 0 17956856 I have tried adding the mem= parameter to the /boot/grub/grub.conf file as in: title CentOS (2.6.32-220.17.1.el6.i686) root (hd0,0) kernel /vmlinuz-2.6.32-220.17.1.el6.i686 ro [SNIP] initrd /initramfs-2.6.32-220.17.1.el6.i686.img mem=26624M but this has not appeared to work. Any suggestions would be gratefully appreciated. TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS and LessFS
From: John R Pierce Sent: January 17, 2012 13:17 > > penny wise, and pound foolish comes to mind here. that older server > probably has 1-2 single core processors, too, right? a 2 > socket modern > 2U could virtualize a dozen of those and outperform each one. This may be true in your environment but I have hardware that is capable of doing the job that I am looking for so why should I buy new hardware? I would never get approval for the purchase because there is no way that I could justify the expenditure. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS and LessFS
From: Les Mikesell Sent: January 17, 2012 05:56 > > Big disks are cheap these days - I wouldn't worry that much about the > total space that much and you'll still be able to keep a lot online. This is true for current hardware however I am attempting to reuse our existing hardware that has been pulled from our production systems. It tends to be older technology but still usable. In this case, it is a set of disk arrays using SCSI3 drives. > The db's are probably best handled in a pre-backup script that > dumps/compresses them, then excluding the live files - and then even > block de-dup won't help. Pst's are a problem any way you look at > them but more because of Outlook's locking than their size. Backuppc > is packaged in EPEL so it's easy to install and shows the compression > and file re-use stats so you'll know in a few runs how it will handle > your data. While all of this is true I was kind of hoping that I could come up with something that was more "plug and play". The LessFS looked promising. I will continue to check this concept out further (be it LessFS, ZFS, or something else) but I am going to be avoiding the bleeding edge and can only afford to spend a limited amount of time chasing this down before I have to bite the bullet and go with what we have. Thanks again of your feedback and to all the others who have responded. Everyone's comments have been greatly appreciated. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS and LessFS
From: Lars Hecking Sent: January 17, 2012 01:51 > > Maybe try CentOS6. We've had numerous fuse issues with other software > on CentOS5 and one recommendation was to use a newer kernel, which > essentially means a newer distro. I had considered this but I have been avoiding it. All our production servers are currently running RHEL5 and I have been specifically using CentOS5 on all our backup and development systems in order to maintain as much consistency between servers as possible. Later this year or early next year we will replacing all our production servers and use the latest RHEL available at the time (probably RHEL6). We will then look at upgrading all the backup and development servers to the corresponding CentOS version (CentOS6?). Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS and LessFS
From: David Hrbác Sent: January 16, 2012 22:55 > > I've got something in my repo > http://fs12.vsb.cz/hrb33/el5/hrb/stable/i386/repoview/fuse-les sfs.html. > Might be somewhat outdated. You can try it and we can build new > versions. As to alternatives I'm happy with rdiff-backup. Hi David: Both suggestions look interesting and we will check them both out. Thanks, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS and LessFS
From: Nataraj Sent: January 16, 2012 23:56 > > The ZFSonlinux project from LLNL looks promising (native mode kernel > implementation, pool version 28), although the version that supports > mountable filesystems is still in the RC stage. I would want > some solid > testing before deploying in a backup system. > > http://zfsonlinux.org/ Hi Nataraj: Thanks. I had not seen this one. It does look more promising than the zfs-fuse package. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS and LessFS
From: John R Pierce Sent: January 16, 2012 21:45 > > I hope you know, dedup systems rarely scale well, as the > corpus of files > get bigger and bigger, they can really grind to a halt. Thanks, I have read that but I have not seen any quantitative qualifications on this so I was planning on doing some testing to see if our requirements would be practical or not. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS and LessFS
From: Les Mikesell Sent: January 16, 2012 20:55 > On Mon, Jan 16, 2012 at 5:50 PM, Hugh E Cruickshank wrote: > > > > If not LessFS can you suggest an alternate deduplication software? > > Backuppc dedups (and compresses) at the file level using hardlinks. > Not quite as effective as a block level if you have frequent small > changes in large files, but still very good with no unusual filesystem > requirements other than keeping the whole archive on one filesystem. > It will link all identical content, whether from the same or different > systems and it's rsync implementation can work with local compressed > copies while chatting with a stock remote version. Hi Les: Trust you to always come up with an interesting suggestion or two. I will have a further look at this but, on first blush, I do not think that this will be very effective in our environment. We will be backing up several small databases 1-8 GB each along with the related programs from our development system, out users home directories which include their Outlook PST files, Word/Excel files, etc. While the compression should work for all files I can not see the dedup working for much beyond the Word/Excel files. We will definitely have a look at it. Thanks for you suggestion. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS and LessFS
From: Ken godee Sent: January 16, 2012 19:58 > > We have been looking at implementing deduplication on a > backup server. > > > > If not LessFS can you suggest an alternate deduplication software? > > > > http://openindiana.org/ > Solaris 11 Express > http://www.freebsd.org/releases/9.0R/announce.html These being different OSs would not be viable for us as we need to maintain RHEL compatibility. > (ZFS pool version >= 28) This looks promising but the latest Linux version (0.7.0) only has pool version 23. I will check this out further. Thanks for your response. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS and LessFS
Hi All: We have been looking at implementing deduplication on a backup server. >From what I have been able to find the available documentation is pretty thin. I ended up trying to install LessFS on this CentOS 5.7 box but we have now encountered problems with fuse version. Has anyone out there been able to get LessFS running on CentOS 5.7 and can provide some pointers? If not LessFS can you suggest an alternate deduplication software? TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LSI MegaRAID 320-2E PCIe RAID Controller
From: John R Pierce Sent: February 3, 2011 17:30 > > parallel scsi supports 15 max devices plus the controller makes 16. > and often there is a SES backplane controller using a target ID > leaving just 14 drives per channel/controller. With 12 drive per array the IDs get chewed up fast. But I believe I am in luck as I just recalled that one of the MegaRAID cards is a 320-4 not a 320-2 and it has four ports. That means I can get away with one 320-2 and one 320-4 and still have 6 ports while only requiring two PCI-X slots. It looks like this is going together and for a lot less then I was looking at the first place since I only need to purchase one riser ($200.00) instead of three 320-2E cards (price varies from $275 to $700 each depending on the source). Thanks to all for your responses. They were all appreciated. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LSI MegaRAID 320-2E PCIe RAID Controller
From: John R Pierce Sent: February 3, 2011 17:14 > On 02/03/11 5:06 PM, Hugh E Cruickshank wrote: > > > > I will reconsider the need for all three arrays and see if I can go > > with the PCI-X cards. > > If this is SAS stuff, you can generally daisy chain a few trays of > drives, at the expensive of total available IO bandwidth (eg, fewer > SAS channels are being shared by more drives) Unfortunately it is SCSI 3 (Ultra320) which, in itself, is "chainable" however I believe that there may be a limitation based on the SCSI ID of the individual drives. I will have to do some experimentation to see if this is possible. Thanks for your suggestion. It is not one I had thought of as I am so used to limiting one array to one controller. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LSI MegaRAID 320-2E PCIe RAID Controller
From: John R Pierce Sent: February 3, 2011 16:41 > On 02/03/11 3:32 PM, Hugh E Cruickshank wrote: > > From: compdoc Sent: February 3, 2011 15:23 > >> I have an Altos G510 server, (two xeon sockets) and it has a Megaraid > >> scsi 320-0X PCI-X controller that 5.5 recognizes. > >> > >> Maybe there's a chance it will do so for yours... > > I am currently using 320-2X units in our Acer G700 and G701 servers > > with CentOS 4.8 and 5.5 without problems. My concern was with using > > the 320-2E units in an HP DL380G5 box with CentOS 5. This is something > > that I have no experience with and I was asking if anyone had had it > > working in the HP box. > > does that box have PCI-X slots rather than PCI-Express ? if it does, > and the controller is supported by the OS, there's really no reason > for it not to work. > > if you want to use it in conjunction with built in drive bays, > internal cabling may be an issue. if its for use with external > arrays, that should be fine. The DL380G5 comes with a "PCI riser" cage that has 3 PCIe slots. There is an optional "PCI-X/PCI-E Riser" which has 2 PCIx slots and one PCIe. This would be an option for us and it should work with the 320-2 cards that we already have. The only problem with this would be that I have three external arrays with two UW320 ports each therefore I would need three controller cards. I have done a search on the PCI-X/PCI-E Riser and, although it has been discontinued, there does seem to be a reasonable supply available. I will reconsider the need for all three arrays and see if I can go with the PCI-X cards. Thanks for your suggestion. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LSI MegaRAID 320-2E PCIe RAID Controller
From: compdoc Sent: February 3, 2011 15:23 > > I have an Altos G510 server, (two xeon sockets) and it has a Megaraid > scsi 320-0X PCI-X controller that 5.5 recognizes. > > Maybe there's a chance it will do so for yours... I am currently using 320-2X units in our Acer G700 and G701 servers with CentOS 4.8 and 5.5 without problems. My concern was with using the 320-2E units in an HP DL380G5 box with CentOS 5. This is something that I have no experience with and I was asking if anyone had had it working in the HP box. Thanks for your comment. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LSI MegaRAID 320-2E PCIe RAID Controller
From: Hugh E Cruickshank Sent: February 3, 2011 12:06 > From: Joseph L. Casale Sent: February 3, 2011 11:59 > > > > While I haven't, I also agree it should, but you can email > > supp...@lsi.com and ask, they have top notch support, I just asked > > a similar question a month ago for a PCIe card in an HP server... > > Thanks. That is an excellent suggestion and one I should have thought > of as well (but I did not). I will give it a try right now. Well their response was: > Please accept my apologies, but the end-of-life 320-2E does not > have a compatibility matrix. Looks like I will just have to go ahead and try it out for myself. Thanks again for your suggestion. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LSI MegaRAID 320-2E PCIe RAID Controller
From: Joseph L. Casale Sent: February 3, 2011 11:59 > >Has anyone tried using an LSI MegaRAID 320-2E PCIe RAID Controller in > >an HP DL380G5 (of any HP G5 DL for that matter) running CentOS 5? It > >looks like it should work but it would be nice to know that someone > >has already done it before I start going to all the effort and expense > >of building the box. I have a spare DL380 and a couple of IBM EXP400 > >disk arrays that I would like to configure as a backup database server. > > While I haven't, I also agree it should, but you can email supp...@lsi.com > and ask, they have top notch support, I just asked a similar question > a month ago for a PCIe card in an HP server... Thanks. That is an excellent suggestion and one I should have thought of as well (but I did not). I will give it a try right now. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] LSI MegaRAID 320-2E PCIe RAID Controller
Hi All: Has anyone tried using an LSI MegaRAID 320-2E PCIe RAID Controller in an HP DL380G5 (of any HP G5 DL for that matter) running CentOS 5? It looks like it should work but it would be nice to know that someone has already done it before I start going to all the effort and expense of building the box. I have a spare DL380 and a couple of IBM EXP400 disk arrays that I would like to configure as a backup database server. Any and all comments will be appreciated. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Replacement tape drive configuration
>From Ryan Manikowski Sent: May 27, 2010 18:42 > > When you say the 'system' no longer recognizes the tape drive, are you > sure the SCSI controller even detects the tape drive during boot? From > what I've seen, tape drives use the generic tape driver and get mapped > to /dev/stX. I know that it will recognize it on a reboot however I did not want to wait until a reboot was convenient. I was looking for a way to add the drive without having to do a reboot. Brian's suggestion has worked and I am now using the tape drive without having to do a reboot. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Replacement tape drive configuration
From: Brian Mathis Sent: May 27, 2010 15:27 > On Thu, May 27, 2010 at 6:14 PM, Hugh E Cruickshank > wrote: > > > > I know that I can just reboot the system and kudzu will add the tape > > drive back in during the boot process however I was wondering if it > > would be possible to manually run kudzu to add the drive or am I > > just "borrowing trouble" by trying to do this? > > You could try to rescan the SCSI bus: > > http://jeff.blogs.ocjtech.us/2008/05/how-to-re-scan-scsi-bus-on-linux.html > > More info: > http://kbase.redhat.com/faq/docs/DOC-3942 Hi Brian: That did the trick. Thank you muchly. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Replacement tape drive configuration
CentOS 4.8 Hi All: We recently had a Sony SDX-500V tape drive fail on one of our servers running CentOS 4.8. I have now replaced it with a spare SDX-500C. The problem that I am having now is that the failed drive had ceased responding to SCSI commands and we have since rebooted the system which resulted in the tape drive being removed from our current hardware configuration and the system does not recognize the new tape drive. I know that I can just reboot the system and kudzu will add the tape drive back in during the boot process however I was wondering if it would be possible to manually run kudzu to add the drive or am I just "borrowing trouble" by trying to do this? TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Disappearing DNS entry
From: Jim Perrin Sent: April 13, 2010 17:01 > > This means a couple things. First, your zone is configured to allow > dynamic DNS updates, which can be okay, but usually you don't want > this for a zone containing fixed records. That was intentional on my part. We have a small network and I did not see any compelling reason not to do it that way. I will look at separating these out in the future. > Second, it means that client updates is allowed. This can be bad, and > generally when I set up dynamic DNS zones, I only allow updates from > the dhcp server (usually the same box, so it's restricted to localhost > doing the updating). Again intentional but no longer required. In reviewing the config files in response to your comments I see that had allowed update to the zone file from the entire subnet while only "key rndckey" for the reverse zone files. That would explain why only the zone file was affected and not the reverse files. I have fixed that now and I think that should resolve my problem. > Essentially your printer is trying to update its record and removing > the old one, but not publishing the right one, either through > permissions or some other reason. Sounds valid. > How do you have your zones and/or dhcp server configured? Can you > sanitize them enough to post them? I will hold off for now as I believe the change that I have made to named.conf will now avoid the problem. I still do not know why only the one printer was affected but the change should avoid the problem. Some day when I have some free time (yeah right!) I am try to figure what the actual cause is. Thanks very much for your comments, they are greatly appreciated. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Disappearing DNS entry
From: Hugh E Cruickshank Sent: April 13, 2010 15:07 > > I have found one suspicious entry in /var/log/messages: > > Apr 12 17:34:14 fisds0 named[5210]: client 192.168.2.7#10242: updating > zone 'forsoft.com/IN': deleting an RR > > This would seem to indicate that the printer itself has issued the > request to the DNS server but for the life of me I cannot see what > might be doing it. One additional piece of information... It appears that I had not set the DNS server and NTP server correctly on all four printers and they were running with a very old date (would you believe 1970?). I have since ensured that all four printers now have the correct DNS server IP address, the host name of our local NTP server, the correct time zone and that they all now have the correct current date and time via NTP. I am not sure if this would have had anything to do with the DNS issue but it was something that was obviously wrong and needed to be fixed. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Disappearing DNS entry
CentOS 4.8, BIND 9.2.4, DHCP 3.0.1 Hi All: I have a rather perplexing problem where the DNS entry in BIND for one of my network printers sporadically "disappears" from our zone file (but not the reverse zone file). We have four Lexmark printers connected locally over our internal LAN using static IP addresses. We have 3 T640n printers and a T642n printer and it is only the T642n printer that this is happening to. I thought I had it licked when I discovered that both DDNS and mDNS were enabled on this printer but not the others, however disabling those has had no effect. We do use DHCP for the bulk of our Windows workstations and DHCP is configured to update the DNS server and this appears to work fine (once I disabled all the "Register this connection's address in DNS" options on the workstations). I have found one suspicious entry in /var/log/messages: Apr 12 17:34:14 fisds0 named[5210]: client 192.168.2.7#10242: updating zone 'forsoft.com/IN': deleting an RR This would seem to indicate that the printer itself has issued the request to the DNS server but for the life of me I cannot see what might be doing it. Has anyone encountered something similar and can point me in the right direction? TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rndc start fails with "rndc: connect failed:connectionrefused"
From: John R. Dennison Sent: November 25, 2009 16:31 > > Hmm, perhaps... But a quick perusal of "man rndc" would > have shown that there is no "start" command and the phrasing > "communicates with the nameserver over a TCP connection. would > have been a clue that the nameserver needed to be running :) True but in my feeble defence I was following someone else's example procedures (and following them blindly it would seem). I would think that my suggested change, while not strictly required, would result in improved usability of the software. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rndc start fails with "rndc: connect failed:connection refused"
From: Arturas Skauronas Sent: November 25, 2009 16:04 > On Thu, Nov 26, 2009 at 1:04 AM, Hugh E Cruickshank > wrote: > > CentOS 4.8, BIND 9.2.4 > > 3. Delete the journal files: > > rm *.jnl > > why to do that? > you can do simple zone update by: > rndc freeze [zone] > if you got error like: > rndc: 'freeze' failed: not found > try than: > rndc freeze [zone] in internal > > edit you zone > rndc unfreeze [zone] [in internal] > rndc reload I agree. I have already revised my procedures to reflect the change. The procedures I had in place were based on someone else's procedures that were post to a web page. I now suspect that the posting was rather dated. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rndc start fails with "rndc: connect failed:connectionrefused"
From: John R. Dennison Sent: November 25, 2009 15:57 > On Wed, Nov 25, 2009 at 03:36:09PM -0800, Hugh E Cruickshank wrote: > > > > That would explain a lot but it would have been more useful if the > > rndc command had returned an error saying something like "start > > command unknown" rather than accepting the command and indicating > > a communication problem. > > It's operating per design and it's operating properly; rndc > is nothing more than an interface to allow admins to provide > commands to the running named instance and if named isn't > running there is nothing that rndc is able to do from that > point forward so it indicates to the user that it can't > communicate - seems logical to me. I can see that point of view but that sure does not help the poor guy or gal trying to figure out a problem like I had. I have been chasing this one off and on for weeks (if not months). hec -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rndc start fails with "rndc: connect failed:connection refused"
From: Christopher Chan Sent: November 25, 2009 15:50 > >>Also in the steps you have taken above you are stopping bind > >>via rndc stop and then trying to start it with the unknown > >>"start" command. Even if "start" was known it would not work, > >>rndc communicated directly with named, and since it was already > >>stopped in a previous step there is no way that your "start" > >>(or any other command, reload, flush, whatever) could work at > >>that point. > > > > That would explain a lot but it would have been more useful if the > > rndc command had returned an error saying something like "start > > command unknown" rather than accepting the command and indicating > > a communication problem. > > So file a bug with the BIND developers about this rather obvious > 'bug'. Good suggestion and I have done so. hec -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rndc start fails with "rndc: connect failed:connection refused"
From: John R. Dennison Sent: November 25, 2009 15:26 > > You are going through entirely too many steps. > > 1) Edit zone file > > 2) rndc reload foo.com I will give that a try. > Also in the steps you have taken above you are stopping bind > via rndc stop and then trying to start it with the unknown > "start" command. Even if "start" was known it would not work, > rndc communicated directly with named, and since it was already > stopped in a previous step there is no way that your "start" > (or any other command, reload, flush, whatever) could work at > that point. That would explain a lot but it would have been more useful if the rndc command had returned an error saying something like "start command unknown" rather than accepting the command and indicating a communication problem. Thanks very much for your informative reply. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rndc start fails with "rndc: connect failed:connection refused"
From: Tariq Ismail Dalvi Sent: November 25, 2009 15:21 > > I am facing same problem but with CentOS 5.4 and BIND 9.3.6 while I > was having 5.3 named was working fine but now it give me same error in > Service configuration panel to start named I have to reboot the system > but if I give Service named restart it stops and fails to start only I > can use service named reload on command line. Thank you for your reply but your problem seems to be different than mine. "service named start" and "service named restart" work fine on my system it is the "rndc start" which is failing. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] rndc start fails with "rndc: connect failed: connection refused"
CentOS 4.8, BIND 9.2.4 Hi All: I have a rather annoying problem with rndc which I have not been able to resolve despite much searching and many attempts to correct. When making changes to our DNS entries I have tried to use the following procedures: 1. Flush the cache buffers: rndc flush 2. Stop named: rndc stop 3. Delete the journal files: rm *.jnl 4. Edit the forward and/or reverse zone files as necessary. 5. Restart named: rndc start Everything works fine until the last command which fails with: rndc: connect failed: connection refused I can get around this by using "service named start" but I should not have to do this. Has anyone encountered something similar and can pass on some words of wisdom? TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] RPMforge.net down
Hi All: It appears that the RPMforge.net site is down. Can someone confirm and possibly advise when it might be expected back? TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
From: Hugh E Cruickshank Sent: September 3, 2009 00:25 > From: Hugh E Cruickshank Sent: September 2, 2009 19:40 > > From: Christopher Chan Sent: September 2, 2009 19:34 > > > > > > If the box is the also the mx for the domain for which you want to > > > do special routing, I believe there will be a problem if you apply > > > that sender_based_routing patch. They cannot share the same > > > mailertable lookups. Another table lookup needs to be defined for > > > sender_based routing. > > > > > > I will see if I can cook up something on a Centos 4 box. > > > > Thanks for the offer but I would hold off for now. I am going to > > give the Smart Table solution a try first as it seems to be a > > little cleaner/easier/somethinger. > > I have done some initial testing of smarttable.m4 and have observed > positive results. It appears to perform as I hoped. I will do some > more extensive testing either tomorrow night or, more likely, over > the weekend. I will update this thread after I have had a chance to > complete the additional testing. Hi All: We have been running the smartable.m4 code for the last three days and I have not been able to detect any problems. It seems that this code does handle the sender based routing quite well. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
From: Hugh E Cruickshank Sent: September 2, 2009 19:40 > From: Christopher Chan Sent: September 2, 2009 19:34 > > > > If the box is the also the mx for the domain for which you want to > > do special routing, I believe there will be a problem if you apply > > that sender_based_routing patch. They cannot share the same > > mailertable lookups. Another table lookup needs to be defined for > > sender_based routing. > > > > I will see if I can cook up something on a Centos 4 box. > > Thanks for the offer but I would hold off for now. I am going to give > the Smart Table solution a try first as it seems to be a little > cleaner/easier/somethinger. Hi all: I have done some initial testing of smarttable.m4 and have observed positive results. It appears to perform as I hoped. I will do some more extensive testing either tomorrow night or, more likely, over the weekend. I will update this thread after I have had a chance to complete the additional testing. Again, thank you too all our contributed. Your assistance was greatly appreciated. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
From: Christopher Chan Sent: September 2, 2009 19:34 > > If the box is the also the mx for the domain for which you want to do > special routing, I believe there will be a problem if you apply that > sender_based_routing patch. They cannot share the same mailertable > lookups. Another table lookup needs to be defined for > sender_based routing. > > I will see if I can cook up something on a Centos 4 box. Thanks for the offer but I would hold off for now. I am going to give the Smart Table solution a try first as it seems to be a little cleaner/easier/somethinger. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
From: Hugh E Cruickshank Sent: September 2, 2009 18:27 > > For those that might be interested I have found one other alternative > called Smart Table available at: > > http://www.jmaimon.com/sendmail/anfi.homeunix.net/sendmail/smarttab.html > > However it is for sendmail 8.5+ and will not work with my 8.13. I am going to have to correct that last statement as it seems that I have lost the ability to read. The 8.5+ version restriction was for the Smart Table version not the sendmail version. This dawned on me when I discovered the 8.14.3 is the latest sendmail version so my statement above made no sense (even to me). My apologies for any confusion. Regards, Hugh -- Hugh E Cruickshank, Payroll Guardian, www.PayrollGuardian.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
From: Christopher Chan Sent: September 2, 2009 18:36 > > You are running 8.13.x? Yes. 8.13.1 on our primary development server (CentOS 4.8) which is also our primary mail server. 8.13.8 on our primary production server (RHEL 5.3 soon to be 5.4) which is the alternate mail server that I was looking to route some mail through. > Well, give the ricker hack a try. Will do but I want to understand it a bit better before I do. > Is that sendmail box also the mx for the domains concerned? Currently yes but I will be changing the MX for the one domain that I want to route from the development system to the production system. Now that we have moved the production systems to a co-location facility I am trying isolate the two environments as much as possible and moving the one domain name over is just one part of this. Part of the problem here is that we will be retaining sales/support staff at the our development offices (no mater how hard I tried I just could not squeeze them into that half-rack cage). Thanks again for your input. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
From: Christopher Chan Sent: September 1, 2009 23:04 > > > Sorry, last I checked, there is no sender-based routing support in > > sendmail. You cannot even try to create rulesets to get that. > > > > > Looks like it is my turn to eat humble pie. You will need to rebuild > sendmail.cf after applying this hack. > > http://www.cs.niu.edu/~rickert/cf/hack/sender_based_routing.m4 For those that might be interested I have found one other alternative called Smart Table available at: http://www.jmaimon.com/sendmail/anfi.homeunix.net/sendmail/smarttab.html However it is for sendmail 8.5+ and will not work with my 8.13. I have also found some documentation for both at: http://www.theillien.com/Sys_Admin_v12/html/v13/i02/a8.htm HTH Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
From: Ron Loftin Sent: September 2, 2009 11:48 > On Wed, 2009-09-02 at 11:38 -0700, Hugh E Cruickshank wrote: > > From: Christopher Chan Sent: September 1, 2009 23:04 > > > > > > I cannot believe the file is dated 2004. Ah well, I got rid of > > > sendmail and replaced it with postfix in 2003 while I was still a > > > mail admin. I must bow to the real sendmail bigots. > > > > Mail administration is just one of those "little" jobs that I am > > responsible for and I just have not had the time to review/learn a > > new MTA so I muddle on with the "devil I know". > > I'm certainly not going to throw stones at this philosophy, but I will > suggest that you reconsider in this case. I'm not really a mail guru, > or even that much of a mail admin, but I switched to Postfix about 3 > years ago, and I have to say that the learning curve is a LOT less > challenging than Sendmail ever was for me. I became "productive" with > Postfix in less than a week, mostly because the documentation is a lot > better, as well as the config files are readable by the average > computer-literate humanoid. I suggest that you give it some thought. I will definitely consider it. The main problem I have is time. We are a small company and I am stretched very thin to cover a lot of tasks. Trying to carve out a week to learn a new MTA will be difficult but I will definitely consider it. Thanks for your comments. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
From: Les Mikesell Sent: September 1, 2009 22:35 > > You can use SMART_HOST to send the mail from any single host > through a specified relay. Single host and multiple domains so no go here. > If the same machine is sending for more than one domain, you may be > able to configure the application sending the automated emails to > send to a specified SMTP server. The automated emails are being generated on the alternate host so this is basically already in place. It is the users' emails that I am trying to reroute. > Users can almost certainly configure their mail agent to sent through > the SMTP server of their choice. This is my fallback position. The problem here is that my users are a rather uncooperative bunch and tend to think that they know better on what should be done and then go off and do things their way. And this attitude starts at the top and works its way down. Worse yet some of this has now become company policy (would you believe it is now company policy that we MUST top post and fully quote all previous messages). I was attempting to see if there was a way that I could do this behind the scenes without having to reconfigure everyone's MTA. Thanks again for your input (and everyone else's). Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
From: Christopher Chan Sent: September 1, 2009 23:04 > > Sorry, last I checked, there is no sender-based routing support in > > sendmail. You cannot even try to create rulesets to get that. > > > > > Looks like it is my turn to eat humble pie. You will need to rebuild > sendmail.cf after applying this hack. > > http://www.cs.niu.edu/~rickert/cf/hack/sender_based_routing.m4 While this does look promising I am hesitant to install anything that is either a) possibly version dependent and b) beyond my understanding as to what it is doing. I will have to review this thoroughly before I even consider implementing it. > I have not tested it let alone tried on 8.14.x Caveat noted. > I cannot believe the file is dated 2004. Ah well, I got rid of > sendmail and replaced it with postfix in 2003 while I was still a > mail admin. I must bow to the real sendmail bigots. Mail administration is just one of those "little" jobs that I am responsible for and I just have not had the time to review/learn a new MTA so I muddle on with the "devil I know". Thanks for your suggestion it has definitely given me something to think on and possibly work with. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
From: Les Mikesell Sent: September 1, 2009 21:18 > > But what it actually said was: > > "What I would like to do is route (relay?) any outgoing emails that > are from emails addresses using only one of those domains to a > separate SMPT server." > > Which didn't sound like routing _to_ one of the domains. So > maybe neither > approach will work. Hi Les: You are correct. I was referring to routing email _from_ one of our domain names through a separate mail server then out to the 'net. Upon rereading the mailertable doc it appears that this is for routing email _to_ on of our domain names so it will not work for what I was looking for. The reason I was trying to do this is that we have our production sever sending out automated emails from one location and our sales and support staff sending out emails from another location both using one domain name. I was trying to consolidate all email for this domain name to/from one mail server. It is not critical but it would have been nice to do. I am not going to waste too much more effort on this as I have more critical things that need my time. Thanks to all that replied! Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
From: Clint Dilks Sent: September 1, 2009 19:38 > > I believe mailertable is what you want. > > http://www.sendmail.org/m4/mailertables.html I do believe you are right. I had looked at that before but for some reason my brain was stuck on seeing so much about incoming emails that I read that in to this feature as well. Thank you very much. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] sendmail routing
CentOS 4.8, sendmail 8.13 Hi All: I have a couple of questions regarding the routing of outgoing emails. I have spent several hours doing Google searches but I have not come close to what I am looking for. If someone can give me push in the right direction I would greatly appreciate it. We currently have three domain names (two for our development company and one for our production company). We have one mail server in our development office that hosts all three domain names. Actually we just treat the three domain names as aliases of the mail server (via the local-host-names file and I do not see a need to change this. What I would like to do is route (relay?) any outgoing emails that are from emails addresses using only one of those domains to a separate SMPT server. 1. Is this possible? 2. What is it called? 3. Can you provide examples or links to relevant docs? TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS Server Recommendations
From: Hugh E Cruickshank Sent: August 14, 2009 14:18 > > I am looking for some possible recommendations on the handling of our > internal DNS services. First some background... I would like to express my appreciation to all those that responded to my request (particularly Robert). I do not have solution yet but I do have a lot of information to review and digest. Thanks again to all. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS Server Recommendations
From: Chuck Sent: August 16, 2009 18:17 > > I recommend a highly secured master that is not queried by any > clients (preferably in a network/vlan your clients can't even > access)... then configure one-way zone transfers to 2 or more slave > servers which you configure your clients to point to. Maintain your > zone files in rcs of some sort... While I can agree with you suggestion in principal I think that this might be overkill in our situation. We have a relatively small network (6-8 servers, 15-20 workstations and maybe a dozen other types of equipment). I our case I think we can get away with a master and a slave DNS server running on existing servers. > For IP control/delegation and DNS control/delegation I recommend IP > Plan. I had stumbled across this before but I will have a better look at it. > Of course bind is the 800lb gorilla in the DNS world... don't even > think about putting DNS on windows. We are primarily a UNIX/Linux shop and I prefer not to use windows for such services unless I absolutely must. There are services that we require that only run on windows so we do have windows servers in our mix. > I don't recommend any front ends being that a few hours well spent > reading the docs and man pages will make you a dns expert in no > time. Bind is very easy to learn and shouldn't take longer than an > afternoon at best. I think I am going to have to disagree with you here. I have been using BIND for several years. While I have spent many hours reading docs and man pages I definitely would not classify myself as a DNS expert. I know that I am of above average intelligence and maybe I just have a "blind spot" when it comes to BIND (and it has been known to happen) but I just do not find it as straight forward to learn as you have. Then again I am getting "on in years" so that may be a contributing factor as well. Anyway, thank you very much for your comments and suggestions. They are appreciated. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS Server Recommendations
From: Robert Spangler Sent: August 14, 2009 19:22 > > I would suggest placing one on each site. That way you can cut > the traffic between sites for DNS lookups. I would also ensure that > only one does the updates per domain. That makes sense and is essentially what I was planning to do. > The reason I asked is you should not have a shared domain that > can be updated by more then one master. You risk losing data or > valid data being over written. Again makes sense. So my idea of setting up the two sites as two domains would then be the logical extension of this. > Been there and done that. I now have a book shelf where I keep > all my books and manuals. Well I already have four book shelves, two four-drawer filing cabinets, two large desks, work table and about a dozen storage boxes. Of course lets not forget about the 5 PC waiting to prep, 3-4 that have been pulled from service but are still functional, another bunch that I have scavenging for spare parts, actual new spare parts, tools, a bunch if shipping boxes the are really should break down and put in the recycling bins. Just think of me as a packrat with OCD (Obsessive Compulsive Disorder). The book is here somewhere but I am just not sure where. I guess it is time for spring cleaning. > If you are worried about valid config then you should be using > the tools that > come with Bind instead of relying on some third party software. > > named-checkconf for checking the configuration of Bind > named-checkzone for checking the zone file. > > There are man pages for both that explain how to use them. I will check those out but what about the ease of use factor. Would you suggest something like webmin over had tailoring the config files? TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] DNS Server Recommendations
From: Robert Spangler Sent: August 14, 2009 16:18 > On Friday 14 August 2009 17:17, Hugh E Cruickshank wrote: > > > Here are my questions... > > > > 1. Is the BIND master/slave the appropriate approach? > > Yes, you should already have something like this in case the > main/master server would fail. I did have two independent DNS servers. One on our primary development server and one on our old production server. We have replaced the old production server but have not pulled it from service yet. I am now in the process of ensuring that all functionality of the old server has been migrated to either the new production servers or some place else. My current efforts on revising our internal DNS service is part of this review process. > > 2. Can I have each subnet be a master for itself and a slave for > > the other subnet? > > DNS is about domains not subnets. If each subnet was going to > have it's own domain then the answer could be 'yes'. My bad! In my own mind I have been treating the two locations as domains while they are in fact only subnets. It should not take too much effort to translate my thinking to fact. > > 3. Any pointers to applicable docs/examples? > > The ones that ship with the Bind package are good from what I > understand. I have not looked at them so I cannot say one way or > the other. If you are looking for a good book on the subject I would > highly recommend O'Reilly's DNS and BIND 5th edition. As soon as I saw your book recommendation there was the sound of a loud "AARRR!" followed closely by the some mutterings that sounded much like "I have that book! Why did I not think of it in the first place! Now where frack did I put it?". Of course knowing me by the time I find it I will have forgotten why I was looking for it (and will be an old edition to boot). > > > 4. Can you recommend a "front end" for BIND (we have webmin > > installed but I have yet to start working with it)? > > How large is this domain and how many domains are there going to be? > Is the DNS server going to be updated automatically or by hand? It is not large probably less than 50 devices in total. The only automatic updating that I can foresee would be from the DHCP server. the only reason I asked about this was that I was thinking that it might be easier to administer and ensure valid BIND config files. Thanks for your input. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] DNS Server Recommendations
Hi All: I am looking for some possible recommendations on the handling of our internal DNS services. First some background... Until recently our entire network was located within a single facility with internal DNS services provided by our CentOS 4.7 (using BIND). While I had problems with DHCP/DNS communications it was basically working. At the beginning of the month we moved the production servers (a couple of RHEL5.3 boxes with a Windows 2008 server) to a new facility connected to the old facility via a VPN. We are still running with our DevSys as the DNS server but I would like to make the two locations at least partially independent. I have been doing some research (probably enough to be really dangerous to myself) and it looks like I need to setup a master/slave setup. Here are my questions... 1. Is the BIND master/slave the appropriate approach? 2. Can I have each subnet be a master for itself and a slave for the other subnet? 3. Any pointers to applicable docs/examples? 4. Can you recommend a "front end" for BIND (we have webmin installed but I have yet to start working with it)? Any and all thoughts, suggestions, criticisms gladly accepted. TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] krb5kdc fails to start
From: Hugh E Cruickshank Sent: June 11, 2009 11:18 > From: Filipe Brandenburger Sent: June 11, 2009 06:13 > > > > On Thu, Jun 11, 2009 at 01:23, Hugh E Cruickshank > > wrote: > > > Give the man a cigar! rpc.statd strikes again. > > > Now to figure out how to fix that. > > > > In short term, this command should restart rpc.statd which will > > probably bind to a different port: > > Thanks for the additional info. That will be of great help. Hi Filipe: That worked like a charm - krb5kdc is now running again. Now I can get back to setting up the secondary/slave KDC. Thanks muchly! Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] krb5kdc fails to start
From: Filipe Brandenburger Sent: June 11, 2009 06:13 > > On Thu, Jun 11, 2009 at 01:23, Hugh E Cruickshank > wrote: > > Give the man a cigar! rpc.statd strikes again. > > Now to figure out how to fix that. > > In short term, this command should restart rpc.statd which will > probably bind to a different port: [snip] Hi Filipe: Thanks for the additional info. That will be of great help. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] krb5kdc fails to start
From: Filipe Brandenburger Sent: June 10, 2009 20:28 > On Wed, Jun 10, 2009 at 19:51, Hugh E Cruickshank wrote: > > krb5kdc: Address already in use - Cannot bind server socket to port > > 750 address 192.168.2.8 > > krb5kdc: Address already in use - Cannot bind server socket to port > > 750 address 192.168.2.8 > > Is there any process already using port 750 in your machine? > > You can find that with this command: > > # netstat -nap | grep :750\\b > > It should also tell you which program it is that is using that port. > > I recently had this problem with one of the NFS client processes > (rpc.statd?) binding on the rsync port, so the rsync server could not > start as the port was already in use. Hi Filipe Give the man a cigar! rpc.statd strikes again. Now to figure out how to fix that. Thanks. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] krb5kdc fails to start
CentOS 4.7, Kerberos 1.3.4 Hi All: This is driving bonkers. A couple of weeks ago I started working on implementing Kerberos. I got as far as getting the primary/master KDC running on our CentOS development system before I got dragged off to work on something a little more pressing. I finally got back to it this week only to find that the krb5kdc service now fails to start. A check of the log files shows it has been working right up until the system was rebooted Sunday night. The reboot itself was not the problem as there had been previous reboots after which krb5kdc was able to restart. Here are the log entries for that latest retry: Jun 10 16:29:38 fisds0.forsoft.com krb5kdc[12490](info): setting up network... Jun 10 16:29:38 fisds0.forsoft.com krb5kdc[12490](info): setting up network... Jun 10 16:29:38 fisds0.forsoft.com krb5kdc[12490](info): skipping unrecognized local address family 17 Jun 10 16:29:38 fisds0.forsoft.com krb5kdc[12490](info): skipping unrecognized local address family 17 krb5kdc: Address already in use - Cannot bind server socket to port 750 address 192.168.2.8 krb5kdc: Address already in use - Cannot bind server socket to port 750 address 192.168.2.8 Jun 10 16:29:38 fisds0.forsoft.com krb5kdc[12490](info): set up 0 sockets Jun 10 16:29:38 fisds0.forsoft.com krb5kdc[12490](info): set up 0 sockets krb5kdc: no sockets set up? krb5kdc: no sockets set up? The "unrecognized local address family 17" message were occurring even when it worked so I do not thing they are significant to this problem. As far as I am aware I have not made any changes to the system that should affect this. I have done a ton of Google searches but I have not turned up anything that seem to help. Any thoughts or suggestions would be greatly appreciated. TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Get only script name with shell script
From: Semih Gokalp Sent: April 24, 2009 11:35 > > I use echo $0 for get script name but it has printed > "/usr/local/bin/" but i want to only print Try: `basename $0` HTH Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Being Green, Time to make the servers sleep!
From: James Bensley Sent: March 19, 2009 04:13 > > I am trying to be green and put our backup servers to sleep during the > day and have them wake on LAN and fire back up at night for our > nightly backups as "sleep" is a sort of low power usage mode. I can not comment on how to do what your asking but I can see one potential problem. If your solution involves booting the backup server and during the boot an error is detected in the filesystem check the boot process will halt waiting for you to manually correct the problem. Of course you can avoid the problem by making your backup scripts on the primary server can implement a time limit on the wait for the backup server and if the wait times out then skip the backup. Someone out there more knowledgeable then I (and there are many) may be able to suggest a way to alter the boot to avoid the filesystem check (or the halt). HTH Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Suggestion for Server Room monitoring
From: Fajar Priyanto Sent: February 15, 2009 17:59 > > I have a situation like this: > Our little server room is always on. It has an air conditioning unit, > but barely enough. So sometimes during weekend, the temperature could > reach unhealthy level, like 29 degree Celsius. Currently, there's no > personnel to monitor it 24 hours a day. I'm thinking of using a tool > to monitor the temperature, and then send sms/email when it reaches > certain threshold. One of our hardware suppliers recommended the Liebert/Emerson OpenComms EM Controller. I have not had a good look at it yet so I can not say how good it is but you might want to have a look. HTH Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Re: RAID5 or RAID50 for database?
From: Ross S. W. Walker Sent: May 25, 2008 08:56 > > Typically most vendors recommend a two-prong approach, keep the > database data files on a RAID5/RAID6 type array and keep the > log files on a RAID10 array. > I can not comment on "most vendors" but for the PROGRESS RDBMS RAID5 is definitely not recommended. It will work but you will see a significant reduction in performance. We strongly recommend that our clients go with RAID10 (as in RAID 1+0). In-house we only use RAID10. Just my 0.02CA. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Force sendmail outbound routing for specific domain name
From: Les Mikesell Sent: April 9, 2008 21:10 > > Hugh E Cruickshank wrote: > > From: Clint Dilks Sent: April 9, 2008 20:32 > >> Hi, It has been some time since I have had to do anything with > >> Sendmail > >> like this, but I believe mailertable is what you need. See > >> http://www.sendmail.org/m4/mailertables.html > > > > Give the man a cigar! That looks like precisely what I need. > > > > Note that you don't need to do the makemap stuff - that's already > include in the Centos setup. Just put the text suggested in the > mailertable file and restart sendmail. And if you use a literal IP > address, enclose it in []'s like it says for hostnames where you > want to > avoid the MX record lookup. > All that was needed was to add the entry to /etc/mail/mailertable and run "service sendmail restart". It rebuilds the database for you. I did not worry about the IP Address or the MX but it seems to have worked anyway. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Force sendmail outbound routing for specific domain name
From: Hugh E Cruickshank Sent: April 9, 2008 20:43 > > From: Clint Dilks Sent: April 9, 2008 20:32 > > > > Hi, It has been some time since I have had to do anything with > > Sendmail > > like this, but I believe mailertable is what you need. See > > http://www.sendmail.org/m4/mailertables.html > > Give the man a cigar! That looks like precisely what I need. > Well that did seem to work. At least the email is being delivered to the ISP's backup mail server now. I will not know until tomorrow if the mail actually makes it through to the client but then that an issue between the client and the ISP. Thanks again. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Force sendmail outbound routing for specific domain name
From: Clint Dilks Sent: April 9, 2008 20:32 > > Hi, It has been some time since I have had to do anything with > Sendmail > like this, but I believe mailertable is what you need. See > http://www.sendmail.org/m4/mailertables.html Give the man a cigar! That looks like precisely what I need. > Hope this helps :) I am sure it will. Thanks muchly! Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Force sendmail outbound routing for specific domain name
From: lists-centos Sent: April 9, 2008 20:29 > > you could use the sendmail "smarthost" setting to dump all your > outbound mail on your isp's mail server. We used to do that on our old SCO OSR5 box but I stopped doing that when I switched over to the new CentOS4 system. For the life of me I can not recall why but I must have had a reason. I will check that out as an alternative. > you don't explain what the problem is, e.g., inability to connect to > their server, etc. The connection to the client's mail server times out. > of course the real solution is to resolve the underlying problem > since of course the isp's kludge will break now and then. Too true. Eventually we will be moving the whole shebang to a co-lo facility so that will probably avoid the problem as well (a little overkill but it should work). Thanks, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Force sendmail outbound routing for specific domain name
From: Frank Cox Sent: April 9, 2008 20:01 > > On Wed, 09 Apr 2008 19:54:28 -0700 > Hugh E Cruickshank <[EMAIL PROTECTED]> wrote: > > > Is it possible to force sendmail to use a specified host name for > > outbound email to a selected domain name instead of the host name > > that can be found by looking up the DNS entry? > > I'm not entirely sure that I understand your problem. If you > have a unique > domain name, and your client also has a unique domain name, and > your dns > records are properly configured, then sending email from domain > name A to domain > name B should just work, regardless of how close your actual IP > addresses are. I agree whole heartedly that it "should just work" but time and time again we have see where it does not work. > Having said that, you can put a domain name and IP address in > /etc/hosts on the > originating computer and that computer will henceforth use the IP > address > specified there. That would work if I was looking to use a specific IP address but would like to use a specific host name. For example I would like all mail outbound to example.com to bypass the DNS/MX entry of mail.example.com and use instead backupmx.isp.com not just the IP Address of backupmx.isp.com. Thanks muchly for your suggestion. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos