[CentOS] IMAPS error with Dovecot?

2008-05-20 Thread Benjamin Smith
I'm using Dovecot to support IMAPS on CentOS4 on port 993. Stock RPMS, absolutely nothing special done or even anything compiled on the system. About as usual as usual usually gets. But, using KMail on my Fedora Linux laptop, I keep getting the following message: (in part) This means that

[CentOS] No php-cgi/cli?

2008-06-17 Thread Benjamin Smith
I'm trialing the use of lighttpd/php to improve performance for a web services cluster. My initial testing on Fedora Core 8 was very positive, but it seems that CentOS 4 doesn't have a package that installs the /usr/bin/php-cli file as available in Fedora Core 8? In FC8, it's found in a

Re: [CentOS] apt on Centos 5.1

2008-06-17 Thread Benjamin Smith
On Tuesday 17 June 2008, Mike wrote: Just read on planet centos that you can easily install apt on Centos too using yum. Why would you want to do this? -Ben -- Only those who reach toward a goal are likely to achieve it. -- This message has been scanned for viruses and dangerous content

Re: [CentOS] NOW: Firefox 3.0 and GNOME crash when trying to view SME Server documentation WAS: OT: anything in CentOS 5.2 that uses opendns.com when browsing web?

2008-07-09 Thread Benjamin Smith
This issue also exists on my Fedora Core 8 laptop running the .tgz binaries from mozilla. -Ben On Wednesday 09 July 2008, Lanny Marcus wrote: On Wed, Jul 9, 2008 at 5:56 AM, Johnny Hughes [EMAIL PROTECTED] wrote: snip OK, I can verify that for me (CentOS-5.2 updated,

Re: [CentOS] lvm 1 drive fails whole vol data lost

2010-12-24 Thread Benjamin Smith
On Friday, December 24, 2010 06:40:06 am Ryan Wagoner wrote: LVM is just like the name implies a logical volume manager. It allows you to easily combine and carve space from physical disks. It doesn't provide any redundancy. If you want redundancy you either need to use the LVM mirror

Re: [CentOS] do i need a dedicated ip address for https?

2010-12-24 Thread Benjamin Smith
On Thursday, December 23, 2010 07:10:36 am Ross Walker wrote: As long as the forward DNS resolves to the common name the cert will be accepted and you can have multiple host names resolve to the same IP. There's also the possibility that you can use multiple subdomains. Instead of

Re: [CentOS] preparing to migrating to new system

2010-12-24 Thread Benjamin Smith
What is the most sensible or correct way to migrate ALL the users to the new system? Way in the past is was just perhaps copy the /etc/passwd file but I know thats not the case anymore. how do I easily recreate their account names etc... on the new machine. When transitioning mail servers,

Re: [CentOS] OT how to prevent oversubscription of a disk

2011-01-04 Thread Benjamin Smith
On Monday, January 03, 2011 11:39:38 am Dave wrote: On Sat, Jan 1, 2011 at 10:06 PM, Gordon Messmer yiny...@eburg.com wrote: On 01/01/2011 05:56 PM, Dave wrote: Is there a best practice? People have to be doing something! I think that's unlikely. If you don't oversubscribe your disk

Re: [CentOS] [OT] old kit and kaboodle, obFriday (was:Re: Is it okay?)

2011-01-21 Thread Benjamin Smith
I would suggest Damn Small Linux. It seems taylor made for stuff like this. On Friday, January 21, 2011 11:28:26 am Lamar Owen wrote: On Friday, January 21, 2011 01:29:14 pm John R Pierce wrote: $ cat /proc/cpuinfo ... model name : Pentium III (Katmai) cpu MHz : 451.031

Re: [CentOS] Recommendation for a Linux alternative to Centos - ATH9K disaster

2011-01-25 Thread Benjamin Smith
For years, I've been using Fedora Core for my desktop/laptop systems and CentOS for my servers. It's a good balance, because upgrading Fedora Core takes about an hour or so, plus a day or two of occasional interruptions to shake out various drivers and stuff. Also, I don't have to keep two

Re: [CentOS] Recommendation for a Linux alternative to Centos - ATH9K disaster

2011-01-25 Thread Benjamin Smith
On Tuesday, January 25, 2011 12:21:35 pm m.r...@5-cent.us wrote: I've got 7 on my work laptop, and my lady's got Vista at home. I *despise* both of them: they do their best to hide what you need to do, if it's anything other than looking at pictures, playing music, email, and web. And, IMO,

Re: [CentOS] Recommendation for a Linux alternative to Centos - ATH9K disaster

2011-01-25 Thread Benjamin Smith
On Tuesday, January 25, 2011 01:45:34 pm Always Learning wrote: Give me the good old 6502 any day and its mainframe predecessor with a 36 bit word which was 4 Ascii or 6 BCD characters. http://www.6502.org/tools/emu/ Done? -- This message has been scanned for viruses and dangerous content

Re: [CentOS] Recommendation for a Linux alternative to Centos - ATH9K disaster

2011-01-25 Thread Benjamin Smith
On Tuesday, January 25, 2011 11:20:34 am Always Learning wrote: Then one day a big bad wolf called Oracle of very expensive Oracle SQL fame swallowed Red Hat, like they swallowed MySQL, Solaris, Open Office and Visual Box. The long term future for these is uncertain. Whaaa...? Facts would

Re: [CentOS] Is there a Centos 3 around ?

2011-02-07 Thread Benjamin Smith
On Monday, February 07, 2011 10:21:18 am Nicolas Ross wrote: mds5um has been tempered with also... It return those expected values, but a md5sum programm I took elsewhere was returning another value... Once you've been hacked, you can't trust the core utilities (ls / md5sum/cd/etc) You can't

Re: [CentOS] CentOS 5 on a Thinkpad T60 laptop

2011-02-16 Thread Benjamin Smith
IMHO, if you are intending to install an O/S, and will need to have an Internet connection, you should ALWAYS have a thumb drive and another computer with a confirmed Internet connection before starting. The only exception to this rule is when installing OSX on a Mac - because they control the

Re: [CentOS] Centos 6

2011-03-04 Thread Benjamin Smith
On Friday, March 04, 2011 09:48:03 am Simon Matter wrote: I'm not sure that's true. You have to understand that at the same time everybody should have worked on EL6.0, both EL5.6 and EL4.9 came out and for very good reason those responsible for CentOS decided to build those first. Just

[CentOS] Hard I/O lockup with EL6

2011-09-26 Thread Benjamin Smith
I'm trying to figure out why 2 machines have a hard I/O lock on the HDD when running EL6. I have 4 identical machines, all were stable with EL5. 2 work great with EL6, 2 do not. I've checked momtherboard BIOS versions and settings, SAS controller BIOS versions and settings, they are the same

Re: [CentOS] Hard I/O lockup with EL6

2011-09-26 Thread Benjamin Smith
On Monday, September 26, 2011 12:36:19 PM m.r...@5-cent.us wrote: a) have you checked /var/log/message for memory or drive errors? Looked through the logs, there's *nothing* I can find that's out of sorts. When the IO problem happens, nothing can be written. Maybe memtest86? I replaced

Re: [CentOS] Hard I/O lockup with EL6

2011-09-26 Thread Benjamin Smith
On Monday, September 26, 2011 02:00:52 PM Brian McKerr wrote: Have you checked the cables you are using ? There are none - it's a front-loaded hot-swap rackmount. The systems are stable under EL5. -- This message has been scanned for viruses and dangerous content by MailScanner, and is

Re: [CentOS] Hard I/O lockup with EL6

2011-09-26 Thread Benjamin Smith
On Monday, September 26, 2011 02:42:18 PM Devin Reade wrote: --On Monday, September 26, 2011 12:11:47 PM -0700 Benjamin Smith Unfortunately in trying to use C6 on the old machine I wound up with far too many changed variables to figure out where the problem was. Despite that, my gut tells me

Re: [CentOS] Hard I/O lockup with EL6

2011-09-26 Thread Benjamin Smith
On Monday, September 26, 2011 10:16:14 PM Emmanuel Noobadmin wrote: On 9/27/11, Benjamin Smith li...@benjamindsmith.com wrote: When booting a non-working system, it boots straight up to the boot prompt (runlevel 3) without issue, and everything works fine. When the machine sits idle

Re: [CentOS] the majority will NEVER use smartphones

2011-11-17 Thread Benjamin Smith
On Thursday, November 17, 2011 08:02:00 AM Craig White wrote: development follows the money. Computer sales are flat and convergent devices such as smart phones and tablets are selling. Why is it so hard to figure out that computer development is following the money? Recognize that it's not

Re: [CentOS] Web Filter

2008-12-09 Thread Benjamin Smith
Dunno if you are already happy with this subject, but I've used DansGuardian for a number of prominent school districts in California with very good success. It's cheap, highly reliable, and a single, reasonably well-equiped P4 can *easily* run as a proxy for hundreds or thousands of students!

[CentOS] CentOS 4 not recognizing SAS / AIC 9410?

2009-09-12 Thread Benjamin Smith
I'm trying to install CentOS 4 on a new Supermicro 1U system with an Adaptec 9410 SAS controller. I'm not interested in RAID or anything, just want to install bare on the drive. But while the installer sees the Adaptec controller well enough to load Adaptec 94xx drivers, the installer it

Re: [CentOS] Securely backing up Linux machines to NAS?

2009-09-12 Thread Benjamin Smith
... and you are welcome enough to use my rsync/ssh backup scripts... http://www.effortlessis.com/backupbuddy On Saturday 12 September 2009 12:06:59 John R Pierce wrote: Jake wrote: You'll want to look into rsync over ssh with ssh key-based authentication. indeed, note, the Terastation is

Re: [CentOS] CentOS 4 not recognizing SAS / AIC 9410?

2009-09-12 Thread Benjamin Smith
not set to 6 Mhz. (who woulda thunk?) Posted for posterity... -Ben On Saturday 12 September 2009 12:42:00 Benjamin Smith wrote: I'm trying to install CentOS 4 on a new Supermicro 1U system with an Adaptec 9410 SAS controller. I'm not interested in RAID or anything, just want to install bare

[CentOS] High load averages with latest kernel and USB drives?

2009-11-16 Thread Benjamin Smith
I'm having a server report a high load average when backing up Postgres database files to an external USB drive. This is driving my loadbalancers all out of kilter and causing a large volume of network monitor alerts. I have a 1TB USB drive plugged into a USB2 port that I use to back up the

Re: [CentOS] High load averages with latest kernel and USB drives?

2009-11-17 Thread Benjamin Smith
See comments below... On Tuesday 17 November 2009 07:52:01 Todd Denniston wrote: Benjamin Smith wrote, On 11/16/2009 10:56 PM: I have a 1TB USB drive plugged into a USB2 port that I use to back up the production drives (which are SCSI). It's working fine, but while doing backups (hourly

Re: [CentOS] High load averages with latest kernel and USB drives?

2009-11-18 Thread Benjamin Smith
On Tuesday 17 November 2009 15:37:24 Todd Denniston wrote: Benjamin Smith wrote, On 11/17/2009 01:46 PM: See comments below... On Tuesday 17 November 2009 07:52:01 Todd Denniston wrote: Benjamin Smith wrote, On 11/16/2009 10:56 PM: I have a 1TB USB drive plugged into a USB2 port that I

Re: [CentOS] Sendmail forwarding external email sent to root

2009-04-15 Thread Benjamin Smith
Three ideas come to mind: 1) announce a different public name than the local machine name. A) EG: machine name:donttellanyone.theservername.com public (DNS) name: www.theservername.com B) Then set up virtusertable entry routing

Re: [CentOS] USB issues

2009-05-22 Thread Benjamin Smith
Thumb drives are pretty much problem free, in my experience, unless there's a problem with the drive itself. Have you tried with a different drive? On Friday 22 May 2009 13:33:06 Jerry Geis wrote: I am using centos5.3 x86_64 on a gigabyte GA-MA78GM-US2H motherboard. When I insert a USB

[CentOS] External SATA enclosures: SiI3124 and CentOS 5?

2009-06-01 Thread Benjamin Smith
Tired of little problems trying to keep 7 drives working in an old desktop computer, I'm considering an external SATA drive enclosure with a controller card based on the Sil3124. http://www.ipcdirect.net/servlet/Detail?no=152 I'm a bit concerned about long-term support, namely that the

[CentOS] Instability with later 4.x kernels?

2009-06-03 Thread Benjamin Smith
I have an Athlon with about 10 HDDs plugged in, primarily to do Disk2Disk backups. Some drives are PATA, some are SATA, some are USB. A strange concoction, but it's been relatively stable for some 4-5 years, despite numerous upgrades and so on. It's been running CentOS 4 for a long, long time.

Re: [CentOS] Centos 6 Update?

2011-04-19 Thread Benjamin Smith
Below, please find much praise for the developers who really deserve it! On Sunday, April 10, 2011 03:24:22 AM Johnny Hughes wrote: The goal of the centos project is to produce an RPM that is exactly like the upstream RPM in every way that is legally possible. The checks we do look at

Re: [CentOS] Centos 6 Update?

2011-04-19 Thread Benjamin Smith
On Sunday, April 10, 2011 12:02:52 PM Christopher J. Buckley wrote: It does - to an extent. Red Hat has a policy of releasing a major release every 18-24 months (I know RHEL-6 has slipped outside of this window), A total of 3 years, 8 months of time elapsed between EL5 and EL6. That's well

[CentOS] EL 6 rollout strategies? (Scientific Linux)

2011-05-06 Thread Benjamin Smith
I was wondering what feedback might be offered by the CentOS community on their experiences using Scientific Linux? I'm a long-time Centos user, and am basically happy with CentOS. I understand there are delays getting EL 6 out. We have been long anxious to roll out EL 6 as soon as it's

Re: [CentOS] EL 6 rollout strategies? (Scientific Linux)

2011-05-06 Thread Benjamin Smith
On Friday, May 06, 2011 11:44:40 AM Johnny Hughes wrote: But the real question is, do you want to use EL6. I personally would only roll out testing stuff on EL 6 at this point (be it SL 6.0, Oracle UBL 6.0, RHEL 6.0, etc.). CentOS 5 still has 3 years of normal support before its retirement

Re: [CentOS] centos friends?

2011-05-06 Thread Benjamin Smith
On Friday, May 06, 2011 03:41:57 PM Karanbir Singh wrote: Is there an open source event happening in the DC area soon ? Lets make a CentOS presence happen :) /momentarily wishing I lived near DC... (Californian) -- This message has been scanned for viruses and dangerous content by

Re: [CentOS] EL 6 rollout strategies? (Scientific Linux)

2011-05-09 Thread Benjamin Smith
On Saturday, May 07, 2011 11:52:21 AM Ljubomir Ljubojevic wrote: in-place upgrade of C5 to C6 will be most likely impossible. To many changes of how thing work. Thankfully, the only in-place upgrades I'll really consider is to cross-grade SL6 to C6. I've started testing with SL6 and will

[CentOS] So sorry! was: Re: EL 6 rollout strategies? (Scientific Linux)

2011-05-16 Thread Benjamin Smith
be a good time to consider moderation. Anybody want to volunteer as a moderator? -Benjamin Smith -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS

Re: [CentOS] a hardware question

2011-05-17 Thread Benjamin Smith
On Tuesday, May 17, 2011 01:52:37 PM aurfal...@gmail.com wrote: If all you ned are plain old servers, check Aberdeen. They repackage SuperMicro and have great support. I'd just PM'd a message to OP with this message. We have a slew of SuperMicros and they have been very stable and robust.

[CentOS] EL6, xinetd, and permissions. What am I missing?

2011-07-18 Thread Benjamin Smith
Staging for a rollout of EL 6, and ran into a very strange permissions issue with xinetd that defies all (my) logic. It's a script called spfiled that we use for messaging between our server cluster servers. I'm trying to get it to run with least permissions necessary. Because it reads/writes

Re: [CentOS] EL6, xinetd, and permissions. What am I missing?

2011-07-18 Thread Benjamin Smith
On Monday, July 18, 2011 10:02:18 AM Eero Volotinen wrote: Strangely, setting permissions to o+x and it starts up fine, but I don't want to leave permissions that open. rx to owner is enought Except the owner of the script is not the effective user running the script. I want to use the x

Re: [CentOS] EL6, xinetd, and permissions. What am I missing?

2011-07-18 Thread Benjamin Smith
On Monday, July 18, 2011 10:20:52 AM m.r...@5-cent.us wrote: Staging for a rollout of EL 6, and ran into a very strange permissions issue with xinetd that defies all (my) logic. snip You're not using access controls lists, are you? Not knowingly! And if this is accessed via httpd,

[CentOS] EL6: Hard Disk upgrade howto?

2011-07-29 Thread Benjamin Smith
I have a tested copy of EL6 that I would like to duplicate to a number of similar servers, but can't seem to find a sane howto on the subject. TLDP's Hard disk upgrade howto is embarrassingly antiquated: when's the last time you saw LILO? What's the recommended procedure for doing an HDD

Re: [CentOS] EL6: Hard Disk upgrade howto?

2011-07-30 Thread Benjamin Smith
On Friday, July 29, 2011 08:02:20 PM Les Mikesell wrote: If the machines are pretty much identical, clonezilla should work. Boot the machine with a 'clonezilla-live' CD or USB drive. If you can attach the target drive to the same machine you can go disk-disk. Otherwise, connect to

Re: [CentOS] EL6: Hard Disk upgrade howto?

2011-08-01 Thread Benjamin Smith
On Saturday, July 30, 2011 06:00:26 PM Yves Bellefeuille wrote: On Friday 29 July 2011 22:45, Benjamin Smith wrote: I have a tested copy of EL6 that I would like to duplicate to a number of similar servers, but can't seem to find a sane howto on the subject. TLDP's Hard disk upgrade howto

Re: [CentOS] EL6: Hard Disk upgrade howto?

2011-08-02 Thread Benjamin Smith
On Tuesday, August 02, 2011 02:22:49 PM Yves Bellefeuille wrote: On Tuesday 02 August 2011 00:16, Benjamin Smith li...@benjamindsmith.com wrote: ... and nobody here's suggested a recommended way to do this. I would *love* it if somebody who knew could ammend your excellent howto

Re: [CentOS] Two ftp clients? Why?

2011-08-02 Thread Benjamin Smith
On Tuesday, August 02, 2011 04:06:53 PM Brian Mathis wrote: Instead of suggesting alternate technologies, Ok, so this implies that suggesting alternatives is bad... it should be suggested to not use an ftp client at all and instead use a scripting language, such as perl or python, that has

[CentOS] Enabling msg_get_queue()?

2010-02-25 Thread Benjamin Smith
Noticing that the PHP4 binaries with CentOS4 are compiled with the option: --enable-sysvshm but not with the --enable-sysvmsg option. They are very closely related, and we'd like to use the msg_get_queue() function for an application cluster. Is there any reason why this is

Re: [CentOS] Backup solution to backup /var/spool/imap above 150GB data

2010-02-25 Thread Benjamin Smith
Years ago, I set up a backup tool that wrapped rsync. It has faithfully and reliably backed up a dozen hosts and too many TB of data to mention, offsite, automatically saving as many backup points as disk space allows. You're certainly welcome to try it!

Re: [CentOS] Enabling msg_get_queue()?

2010-02-25 Thread Benjamin Smith
PS: This is largely a non-issue. We've found that we can compile this in as a module without have to recompile the PHP binary. Not a perfect solution, but it works well enough. -Ben On Thursday 25 February 2010 02:58:28 pm Benjamin Smith wrote: Noticing that the PHP4 binaries with CentOS4

[CentOS] Prelink: Something's happening here

2007-12-19 Thread Benjamin Smith
Can anybody explain to me what's going on here? This is a CentOS 4 i386 system. [EMAIL PROTECTED] ~]# rm -f /etc/prelink.cache [EMAIL PROTECTED] ~]# /etc/cron.daily/prelink [EMAIL PROTECTED] ~]# rpm -qf /usr/bin/sqlite3 sqlite-3.3.6-2 [EMAIL PROTECTED] ~]# rpm --verify sqlite prelink:

[CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Benjamin Smith
In bash, given a string assignment as follows, how do I add slashes automagically, so that it can be safely passed to another program? Notice that the assignment contains spaces, single-quotes and double-quotes, maybe god-only-knows-what-else. It's untrusted data. Yet I need to pass it all

Re: [CentOS] Huge mailq

2008-02-26 Thread Benjamin Smith
On Monday 25 February 2008, Christopher Chan wrote: Hmm...it will still build. To really fix it, you need to do one more step: rpm -e --nodeps sendmail Now that is a permanent solution. Like a hand grenade is a solution. Not likely to help him much, tho. =/ Doesn't even begin to address

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Benjamin Smith
On Tuesday 26 February 2008, Bob Beers wrote: short answer:  single quotes will handle all characters, except single quotes. long answer:  man bash  the section called QUOTING may help you figure a solution. I've read the man page. It helps if I already know the input - I don't have a

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Benjamin Smith
On Tuesday 26 February 2008, Ralph Angenendt wrote: There is no mechanism for escaping untrusted input? Correct. At least there's no magic quoting function. Ok. So I'm going to have to pull up my sleeves and do this with sed/awk pipes. Got it. I'll quit looking for a simply solution to this

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Benjamin Smith
On Tuesday 26 February 2008, Les Mikesell wrote: WHY THE @!#! NOT?!?!? The shell is 'supposed' to be run by a user that is allowed to run any command he wants, and permission/trust issues are handled by the login/authentication process that happens before you get to the shell. If you

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Benjamin Smith
On Tuesday 26 February 2008, Garrick Staples wrote: I'm not asking for this. I'm only asking for the option to be able to trust that a parameter is... a parameter. EG: file: script1.sh #! /bin/bash script2.sh $1 exit 0; file: script2.sh #! /bin/bash echo $1; $

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-26 Thread Benjamin Smith
On Tuesday 26 February 2008, Bart Schaefer wrote: For someone who apparently has no idea what he's talking about, you sure say a lot. Sorry. It's how I think aloud. Sorry if I offended. No, you missed it. You need the quotes *everywhere* that a variable is referenced. Yes, I missed this

Re: [CentOS] Huge mailq

2008-02-28 Thread Benjamin Smith
On Wednesday 27 February 2008, Christopher Chan wrote: procmail, postfix local, maildrop all support maildir. qmail is not even necessary. Or is this your excuse to do a bit of qmail bashing? Qmail bashing? Not at all. But I'm not endorsing Qmail, either, and I'm nice enough to say why... =)

Re: [CentOS] Recommended software for mail greylist?

2008-02-29 Thread Benjamin Smith
On Friday 29 February 2008, Brent L. Bates wrote: We've been using milter-greylist: http://hcpnet.free.fr/milter-greylist/ ftp://ftp.espci.fr/pub/milter-greylist/ for almost a year now and it works great. I looked over a number of other options and I believe this was the

[CentOS] Wherefore is FUSE?

2008-04-12 Thread Benjamin Smith
Tonight, I tried to roll out fuse on my CentOS 4 production system. (in order to use GlusterFS) I have two identical servers, and one took, the other didn't. How simple could this be? # yum install yum-plugin-priorities # yum install rpmforge-release # yum install fuse dkms-fuse both of

Re: [CentOS] Convert bare partition to RAID1 / mdadm?

2014-07-25 Thread Benjamin Smith
On 07/25/2014 06:56 AM, Robert Nichols wrote: Unless you can figure out some way to move the start of the partition back to make room for the RAID superblock ahead of the existing filesystem, the answer is, No. The version 1.2 superblock is located 4KB from the start of the device (partition)

Re: [CentOS] Convert bare partition to RAID1 / mdadm?

2014-07-25 Thread Benjamin Smith
On 07/25/2014 12:12 PM, Michael Hennebry wrote: Is there soome reason that the existing files cannot be accessed while they are being copied to the raid? Sheer volume. With something in the range of 100,000,000 small files, it takes a good day or two to rsync. This means that getting a

Re: [CentOS] Convert bare partition to RAID1 / mdadm?

2014-07-25 Thread Benjamin Smith
On 07/25/2014 03:06 PM, Les Mikesell wrote: On Fri, Jul 25, 2014 at 3:08 PM, Benjamin Smith li...@benjamindsmith.com wrote: On 07/25/2014 12:12 PM, Michael Hennebry wrote: Is there soome reason that the existing files cannot be accessed while they are being copied to the raid? Sheer volume

Re: [CentOS] Convert bare partition to RAID1 / mdadm?

2014-07-29 Thread Benjamin Smith
On 07/26/2014 07:04 AM, Jerry Franz wrote: On 07/25/2014 03:33 PM, Benjamin Smith wrote: takes between 1 and 2 days, system load depending. We had to give up on rsync for backups in this context a while ago - we just couldn't get a daily backup more often then about 2x per week. Now we're

Re: [CentOS] Convert bare partition to RAID1 / mdadm?

2014-07-29 Thread Benjamin Smith
On 07/28/2014 05:02 PM, Cliff Pratt wrote: 1. Setup inotify (no idea how it would behave with your millions of files) 2. One big rsync 3. Bring it down and copy the few modified files reported by inotify. Or lsyncd? lsyncd is interesting, but for our use case isn't nearly as efficient as

Re: [CentOS] Testing dark SSL sites

2014-10-22 Thread Benjamin Smith
On Tuesday, October 21, 2014 07:28:13 PM Stephen Harris wrote: On Tue, Oct 21, 2014 at 04:17:25PM -0700, li...@benjamindsmith.com wrote: I've already confirmed for example, that using openssl s_client as you mention above doesn't actually check the certs, just lists them. Actually it does

[CentOS] CentOS 6 and Sieve/Dovecot

2014-11-04 Thread Benjamin Smith
I've got dovecot Sieve installed on an internal mail server, without issue. It seems to run ~/.dovecot.sieve scripts without issue. However, when trying to set up sieve scripts with an email client (kmail) the sieve scripts get published to ~/sieve directory. I can't seem to find any way to

Re: [CentOS] CentOS 6 and Sieve/Dovecot

2014-11-05 Thread Benjamin Smith
On Wednesday, November 05, 2014 09:10:03 AM Alexander Dalloz wrote: Am 05.11.2014 um 01:27 schrieb Benjamin Smith: I've got dovecot Sieve installed on an internal mail server, without issue. It seems to run ~/.dovecot.sieve scripts without issue. However, when trying to set up sieve

[CentOS] Sieve Filter: All email not from friendly name?

2015-03-06 Thread Benjamin Smith
I'm using Dovecot and Sieve under postfix on CentOS 6. Sieve filters are working great for a number of addresses. I'm trying to set up a sieve filter that catches all email NOT from Cron Daemon. Nearly all Admin messages come from Cron Daemon username@servername so I want a Sieve

Re: [CentOS] Rsync and differential Backups

2015-11-10 Thread Benjamin Smith
On Monday, November 09, 2015 09:50:52 AM Gordon Messmer wrote: > > How I can perform a diff backup? > > Save yourself a lot of trouble and use a front-end like rsnapshot or > backuppc. If I may, I'd like to put in a plug for ZFS: Combining rsync and ZFS, you can rsync, then make a ZFS

[CentOS] CentOS6: missing kernel module?

2015-11-09 Thread Benjamin Smith
Testing out tipc for cluster development, and running into an immediate snag. tipcutils was found in EPEL but despite having a "compatible" kernel, it doesn't seem to actually work. It's a completely updated system, Intel i5 with 16 GB of RAM, nothing remarkable. Any ideas? [root@backup2

Re: [CentOS] Rsync and differential Backups

2015-11-12 Thread Benjamin Smith
I did exactly this with ZFS on Linux and cut over 24 hours of backup lag to just minutes. If you're managing data at scale, ZFS just rocks... On Tuesday, November 10, 2015 01:16:28 PM Warren Young wrote: > On Nov 10, 2015, at 8:46 AM, Gordon Messmer wrote: > > On

[CentOS] Using typescript as a default shell?

2015-12-07 Thread Benjamin Smith
Is it possible to use 'script' command that records what happens in a session as the default shell? How could you deal with multiple logins at once? What about output from rsync and the like? ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] Using typescript as a default shell?

2015-12-07 Thread Benjamin Smith
On Monday, December 07, 2015 01:29:54 PM Frank Cox wrote: > Benjamin Smith wrote: > > Is it possible to use 'script' command that records what happens in a > > session as the default shell? How could you deal with multiple logins at > > once? What about output from rsync an

[CentOS] EL7: Detecting FS errors on XFS while mounted

2015-11-20 Thread Benjamin Smith
Is there a way of checking an XFS filesystem for clean/dirty status while mounted? One of the checks we've long performed is an FS-level error check. This is *not a full-on fsck*, this is "asking the file system if it noted any problems". This is done while the file system is mounted and

Re: [CentOS] FYI: http

2016-06-02 Thread Benjamin Smith
On Thursday, June 02, 2016 04:25:49 PM Valeri Galtsev wrote: > Anyway, question for everybody: does anybody know decent browser to > replace Firefox? (Please, do not offer google chrome, thank you again). I > use midori for quite some time, I didn't fully switch over to midori from > Firefox,

Re: [CentOS] remote backup

2016-06-16 Thread Benjamin Smith
On Thursday, June 09, 2016 05:18:03 PM Alessandro Baggi wrote: > Thank you for your reply and sorry for late. > > My needs is only get a copy of large dataset a make sure that it is not > broken after transfer. After transfer, this data will be stored on local > backup server where there is

[CentOS] Unable to mount a USB DVD drive

2016-06-15 Thread Benjamin Smith
I can't seem to get an external DVD drive to show up on an CentOS 7 server. Wondering if it's just missing a driver or if I'm missing something fundamental. It's an external USB device that works fine on my Fedora 21 Laptop, but I never get a /dev/ entry (EG: /dev/sr0) on the server. What

[CentOS] Measuring memory bandwidth utilization

2016-02-02 Thread Benjamin Smith
I'd like to know what the cause of a particular DB server's slowdown might be. We've ruled out IOPs for the disks (~ 20%) and raw CPU load (top shows perhaps 1/2 of cores busy, but the system slows to a crawl. We're suspecting that we're simply running out of memory bandwidth but have no way

[CentOS] RasPi 3.x and RH-based Distro (Slightly OT)

2016-02-29 Thread Benjamin Smith
With the release of the Rasberry Pi 3.x, I think we have a platform I could jump on board with. Performance has just been lacking until now! But I really don't want to jump the "RH ship" - I'd rather stick with an environment I am comfortable in. Can anybody comment here on the best way to

[CentOS] What to do when you've been hacked?

2016-01-25 Thread Benjamin Smith
No, we haven't been hacked. ;) We have a prospective client who is asking us what our policy is in the event of unauthorized access. Obviously you fix the system(s) that have been compromised, but what steps do you take to mitigate the effects of a breach? What is industry best practice? So

Re: [CentOS] What to do when you've been hacked?

2016-01-25 Thread Benjamin Smith
On Monday, January 25, 2016 11:56:19 AM Warren Young wrote: > On Jan 25, 2016, at 11:04 AM, Benjamin Smith <li...@benjamindsmith.com> wrote: > > We have a prospective client who is asking us what our policy is in the > > event of unauthorized access. > > Tell them you

[CentOS] Keep the politics out, please?

2016-03-07 Thread Benjamin Smith
With this post, I run the risk of causing more of the thing that I speak against. I still think it's important to say it. CentOS mailing list is a technical forum. It is not a political forum. Just reading a thread on bitcoins and the entire thread quickly turned into a political thread with

Re: [CentOS] Keep the politics out, please?

2016-03-07 Thread Benjamin Smith
On Monday, March 07, 2016 03:20:27 PM Alice Wonder wrote: > I understand your point. > > I was just offering a bitcoin spec file for those who wanted it, no > politics in that post, and was met with resistance I suppose I shouldn't > have responded to. No rants about the fiat banking system in my

[CentOS] // RESEND // 7.6: Software RAID1 fails the only meaningful test

2018-12-05 Thread Benjamin Smith
(Resend: message didn't show, was my original message too big? Posted one of the output files to a website to see) The point of RAID1 is to allow for continued uptime in a failure scenario. When I assemble servers with RAID1, I set up two HDDs to mirror each other, and test by booting from

Re: [CentOS] LVM failure after CentOS 7.6 upgrade -- possible corruption

2018-12-05 Thread Benjamin Smith
On Wednesday, December 5, 2018 11:38:50 AM PST Stephen John Smoogen wrote: > You might want to point out which list you posted it on since it > doesn't seem to be this one. Apparently there's a size limit for emails. I've resent with one of the output files hosted on a personal webserver and it

Re: [CentOS] // RESEND // 7.6: Software RAID1 fails the only meaningful test

2018-12-07 Thread Benjamin Smith
On Wednesday, December 5, 2018 8:07:02 PM PST Gordon Messmer wrote: > I used my test system to test RAID failures. It has a two-disk RAID1 > mirror. I pulled one drive, waited for the kernel to acknowledge the > missing drive, and then rebooted. The system started up normally with > just one

Re: [CentOS] LVM failure after CentOS 7.6 upgrade -- possible corruption

2018-12-05 Thread Benjamin Smith
My gut feeling is that this is related to a RAID1 issue I'm seeing with 7.6. See email thread "CentOS 7.6: Software RAID1 fails the only meaningful test" I suggest trying to boot from an earlier kernel. Good luck! Ben S On Wednesday, December 5, 2018 9:27:22 AM PST Gordon Messmer wrote: >

[CentOS] In place upgrade of RHEL 8 Beta to CentOS 8?

2019-04-08 Thread Benjamin Smith
I'm about to rebuild a server, currently running CentOS 6. If I have to do an OS reinstall, my intention is to upgrade, as it's the oldest OS server under my purview. As this server is pretty low visibility, I'd like to see if I can start using EL 8 instead of 7.x. In the past, I was able to

[CentOS] Kernel panic after removing SW RAID1 partitions, setting up ZFS.

2019-04-08 Thread Benjamin Smith
System is CentOS 6 all up to date, previously had two drives in MD RAID configuration. md0: sda1/sdb1, 20 GB, OS / Partition md1: sda2/sdb2, 1 TB, data mounted as /home Installed kmod ZFS via yum, reboot, zpool works fine. Backed up the /home data 2x, then stopped the sd[ab]2 partition with:

Re: [CentOS] Systemd, PHP-FPM, and /cgi-bin scripts

2019-04-24 Thread Benjamin Smith
On Wednesday, April 24, 2019 3:44:04 AM PDT Leon Fauster via CentOS wrote: > > Am 24.04.2019 um 08:37 schrieb Benjamin Smith : > > > > CentOS 7 server and Fedora 29 dev workstation, both with PHP 7.2, Apache > > 2.4, php-fpm, all updated. > > > > I have

Re: [CentOS] Systemd, PHP-FPM, and /cgi-bin scripts

2019-04-24 Thread Benjamin Smith
See responses below. On Wednesday, April 24, 2019 6:13:51 AM PDT Jonathan Billings wrote: > On Tue, Apr 23, 2019 at 11:37:51PM -0700, Benjamin Smith wrote: > > But... php-fpm has its own "tmp" directory, something like /tmp/systemd- > > private-RANDOM-php-fpm.service-RA

Re: [CentOS] Are linux distros redundant?

2019-04-24 Thread Benjamin Smith
On Wednesday, April 24, 2019 11:25:00 AM PDT Andrew Holway wrote: > > Btw, right now, we've just built a new server as Ubuntu, because my > > manager wants to use it to test zfs, including its ability to a) act as a > > RAID, directly, without an underlying RAID, and b) encrypt the whole thing > >

Re: [CentOS] In place upgrade of RHEL 8 Beta to CentOS 8?

2019-04-10 Thread Benjamin Smith
On Tuesday, April 9, 2019 7:40:01 AM PDT Johnny Hughes wrote: > On 4/8/19 3:20 PM, Benjamin Smith wrote: > > I'm about to rebuild a server, currently running CentOS 6. If I have to do > > an OS reinstall, my intention is to upgrade, as it's the oldest OS server > > under my pu

Re: [CentOS] Kernel panic after removing SW RAID1 partitions, setting up ZFS.

2019-04-10 Thread Benjamin Smith
On Tuesday, April 9, 2019 2:53:55 AM PDT Simon Matter via CentOS wrote: > > I think it's because you clobbered md0 when you did --zero-superblock on > > sd[ab]1 > > instead of 2. As mentioned in another reply, this was a typo in the email, not on the machine. I drove to the site, picked up the

Re: [CentOS] Was: Re: Are linux distros redundant?, is zfs

2019-04-25 Thread Benjamin Smith
On Wednesday, April 24, 2019 1:18:46 PM PDT mark wrote: > Benjamin Smith wrote: > > On Wednesday, April 24, 2019 11:25:00 AM PDT Andrew Holway wrote: > >>> Btw, right now, we've just built a new server as Ubuntu, because my > >>> manager wants to use it to test zfs

Re: [CentOS] Recommended PHP 7 source for Centos 7

2019-04-25 Thread Benjamin Smith
Second vote for remi. Running 7.2, no issues on EL7. The only config issue I've had is getting it to work with php-fpm and apache, but that was almost all apache config files. On Thursday, April 18, 2019 10:16:01 AM PDT Jose Maria Terry Jimenez wrote: > El 16/4/19 a las 0:39, MRob escribió:

  1   2   >