Re: [CentOS] Apache HTTPD not picking up environment variables.

2020-10-23 Thread Harold Pritchett
Fri, Oct 23, 2020 at 04:27:34PM +, Harold Pritchett wrote: > I'm trying to install DB2 on a CentOS 7 server. The problem I'm > seeing is that the Apache httpd server fails to pick up the db2 > environment variables. On an older version running under CentOS 5 > this was

[CentOS] Apache HTTPD not picking up environment variables.

2020-10-23 Thread Harold Pritchett
I'm trying to install DB2 on a CentOS 7 server. The problem I'm seeing is that the Apache httpd server fails to pick up the db2 environment variables. On an older version running under CentOS 5 this was done by inserting the following lines into the httpd start script in /etc/sysconfig/httpd:

Re: [CentOS] db2 is running out of shared memory

2015-03-30 Thread Harold Pritchett
On 3/30/2015 11:44 AM, John R Pierce wrote: On 3/30/2015 8:32 AM, Harold Pritchett wrote: Db2 is running our of shared memory. open a ticket with IBM DB2 support. IBM db2 Express-C does not include support. You get what you pay for (and db2 Express-C is free) Harold

[CentOS] db2 is running out of shared memory

2015-03-30 Thread Harold Pritchett
Db2 is running our of shared memory. The environment: Virtual computers running under VMware ESXi hypervisor version 5.5. Two different virtual machines, each running CentOS 5, db2 express C, and Apache/PHP and vmware tools. The machines each have 8 GB of memory, 4 processors, and a couple

Re: [CentOS] CentOS 6, selinux, and user modules

2014-08-05 Thread Harold Pritchett
On 8/2/2014 2:39 PM, Harold Pritchett wrote: > On 8/1/2014 10:47 PM, Gardner Bell wrote: >> >> >> On 1 August 2014 22:33, Harold Pritchett wrote: >> >>> I am having problems making selinux modules on CentOS 6. >>> >>> Under CentOS 5, the f

Re: [CentOS] CentOS 6, selinux, and user modules

2014-08-02 Thread Harold Pritchett
On 8/2/2014 2:39 PM, Harold Pritchett wrote: More information... After changing /etc/selinux/config from "SELINUXTYPE=targeted" to SELINUXTYPE=mls" I was unable to log on remotely as root, nor could I "su" to root from a regular id. Who knows what else changed. I&#x

Re: [CentOS] CentOS 6, selinux, and user modules

2014-08-02 Thread Harold Pritchett
On 8/1/2014 10:47 PM, Gardner Bell wrote: > > > On 1 August 2014 22:33, Harold Pritchett wrote: > >> I am having problems making selinux modules on CentOS 6. >> >> Under CentOS 5, the following procedure works: >> >> Procedure to make an seliux policy

[CentOS] CentOS 6, selinux, and user modules

2014-08-01 Thread Harold Pritchett
I am having problems making selinux modules on CentOS 6. Under CentOS 5, the following procedure works: Procedure to make an seliux policy named mickey1... # su - # cd /var/log/audit # rm * # service auditd restart # echo 0 > /selinux/enforce # Do whatever selinux is blocking... # echo 1 > /seli

Re: [CentOS] Postfix vs Sendmail

2013-11-02 Thread Harold Pritchett
On 11/2/2013 8:57 AM, Timothy Murphy wrote: > I have two CentOS-6.4 servers, in different places. > I am running postfix/amavis on one, and sendmail/procmail on the other. > I don't recall having any difficulty setting up sendmail many years ago > using sendmail.mc . > But I found postfix very comp

Re: [CentOS] recover lvm from pv

2013-03-08 Thread Harold Pritchett
On 3/8/2013 10:08 AM, SilverTip257 wrote: > On Fri, Mar 8, 2013 at 9:37 AM, Robert Moskowitz wrote: > >> On 03/08/2013 09:21 AM, Harold Pritchett wrote: >>> On 3/8/2013 8:57 AM, Robert Moskowitz wrote: >>>> On 03/08/2013 08:07 AM, SilverTip257 wrote: >>>

Re: [CentOS] recover lvm from pv

2013-03-08 Thread Harold Pritchett
On 3/8/2013 8:57 AM, Robert Moskowitz wrote: > On 03/08/2013 08:07 AM, SilverTip257 wrote: >> On Thu, Mar 7, 2013 at 10:54 PM, Harold Pritchett wrote: >> >>> On 3/7/2013 10:10 PM, Stephen Harris wrote: >>>> On Thu, Mar 07, 2013 at 09:54:59PM -0500, Haro

Re: [CentOS] recover lvm from pv

2013-03-07 Thread Harold Pritchett
On 3/7/2013 10:10 PM, Stephen Harris wrote: > On Thu, Mar 07, 2013 at 09:54:59PM -0500, Harold Pritchett wrote: >> What other information do I need which may be available? > What does 'vgscan' say? 'vgchange -a y' ? > [root@mickey www]# vgscan Reading all

[CentOS] recover lvm from pv

2013-03-07 Thread Harold Pritchett
I have a vanilla CentOS 5.9 system. I have a pair of 2Tb sata drives with a RAID 1 array on them. This array contains an LVM physical volume. I have added these two drives to my system and now need to access the volume group on this physical volume. This volume group, vg0, contains 10 ext3

Re: [CentOS] Strange behavior from software RAID

2013-03-02 Thread Harold Pritchett
Here I am following up on my own post... It occurred to me that all of this stuff must be magic. How does it work when the mdadm.conf file is on a raid/LVM volume which is not available at boot time? I looked in the /boot filesystem, the only one which is available at boot time and there is no

[CentOS] Strange behavior from software RAID

2013-03-02 Thread Harold Pritchett
Somewhere, mdadm is cacheing information. Here is my /etc/mdadm.conf file: more /etc/mdadm.conf # mdadm.conf written out by anaconda DEVICE partitions MAILADDR root ARRAY /dev/md0 level=raid1 num-devices=4 metadata=0.90 UUID=55ff58b2:0abb5bad:42911890:5950dfce ARRAY /dev/md1 level=raid1 num-devi

[CentOS] Reorg of a RAID/LVM system

2013-02-28 Thread Harold Pritchett
I have a system with 4 disk drives, two 512 Gb and two 1 Tb. It look like this: CentOS release 5.9 (Final) Disk /dev/sda: 500.1 GB, 500107862016 bytes Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes Disk /dev/sdc: 500.1 GB, 500107862016 bytes Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes ==

Re: [CentOS] running yum update on remote servers

2013-02-26 Thread Harold Pritchett
On 2/25/2013 9:03 AM, Dennis Jacobfeuerborn wrote: > On 02/25/2013 02:48 PM, Robert Moskowitz wrote: >> I have read a couple old threads here on updates for servers, and I am >> looking for some mechanics to getting the actual updates done. I don't >> want automatic updates; I want to control when

Re: [CentOS] Multiple Virtual SSL sites with Apache httpd on CentOS 5

2013-02-04 Thread Harold Pritchett
On 2/3/2013 11:47 PM, Bent Terp wrote: > So my advice is to use a wildcard domain covering *.mycompany.com - but > remember that mycompany.com does not match *.mycompany.com, so you'll need a > redirect to > www.mycompany.com BR Bent PS Just realised that we did this on nginx not > apache,

Re: [CentOS] Excluding file systems from autorelabel

2012-12-27 Thread Harold Pritchett
On 12/26/2012 4:05 AM, James A. Peltier wrote: > I'm trying to find a way to exclude file systems during the autorelabel > process. I have a file system (/exports) that has tens of millions of files > on it and I *know* I don't want it relabeled. > How often do you need to do this? The obvious

Re: [CentOS] How to configure sendmail

2012-12-02 Thread Harold Pritchett
On 12/2/2012 6:08 PM, John R Pierce wrote: > On 12/2/2012 2:46 PM, Tilman Schmidt wrote: >> Not a good advice for someone who already has some experience >> with Sendmail but none with Postfix. He'll have to read docs >> either way, but staying with Sendmail spares him the effort >> of reinstallati

Re: [CentOS] How protect bash history file, do audit alike in server

2012-08-08 Thread Harold Pritchett
Use remote logging to a second machine which only you have access to. http://www.linuxjournal.com/content/creating-centralized-syslog-server Harold 8/8/2012 12:56 PM, Heng Su wrote: > hello, > > I want to protect the history file from deleted for all users except > user 'root' can do it, is

[CentOS] Using two subnets to change network configuration

2012-07-25 Thread Harold Pritchett
Problem: My network uses the 192.168.1.0/24 network. Since is the most common network in all of the world it begins presenting problems when I want to set up vpns, or try to do other routing. The solution: Change the network from 192.168.1.0/24 to 172.24.24.0/22. This is somewhere in the m

Re: [CentOS] CentOS Server Backup Options

2012-03-15 Thread Harold Pritchett
On 3/15/2012 3:20 PM, John R Pierce wrote: > On 03/15/12 6:31 AM, James B. Byrne wrote: >> I eventually managed to read the tape at 1600 bpi in raw >> block format and from the headers determined that the >> encoding was EBCDIC and that the tape had been created on >> a CDC machine. > if it was fro

[CentOS] Etherpad on CentOS 5

2012-01-16 Thread Harold Pritchett
I am attempting to install Etherpad on a CentOS 5.7 system. The system is at current patchlevels. I am using a cookbook found at http://pauleira.com/13/installing-etherpad/ My main problem seems to be that this howto is a couple of years old and none of the software is still at the levels descr

Re: [CentOS] an actual hacked machine, in a preserved state

2012-01-02 Thread Harold Pritchett
On 1/2/2012 9:41 PM, Ljubomir Ljubojevic wrote: > On 01/03/2012 03:30 AM, Bennett Haselton wrote: >> In other words, when SELinux causes a problem, it can take hours or days >> to find out that SELinux is the cause -- and even then you're not done, >> because you have to figure out a workaround if

Re: [CentOS] sieveshell fails to start on CentOS 6.0

2011-08-12 Thread Harold Pritchett
On 8/11/2011 7:00 PM, Devin Reade wrote: --On Wednesday, August 10, 2011 01:52:21 PM -0400 Harold Pritchett wrote: [harold@newmick ~]$ sieveshell localhost connecting to localhost unable to connect to server at /usr/bin/sieveshell line 170. As an aid to finding out what was happening, I

Re: [CentOS] sieveshell fails to start on CentOS 6.0

2011-08-10 Thread Harold Pritchett
On 8/10/2011 5:40 PM, Simon Matter wrote: > SELinux? I'm out of ideas apart from that. > > Simon > > audit2allow http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] sieveshell fails to start on CentOS 6.0

2011-08-10 Thread Harold Pritchett
On 8/10/2011 2:28 PM, Simon Matter wrote: >> On 8/10/2011 2:00 PM, Simon Matter wrote: I don't know if this is the right place to report this or not. I am building a new server on a 64 bit CentOS 6.0 platform. [root@newmick ~]# cat /etc/redhat-release CentOS Linux rele

Re: [CentOS] sieveshell fails to start on CentOS 6.0

2011-08-10 Thread Harold Pritchett
On 8/10/2011 2:00 PM, Simon Matter wrote: >> I don't know if this is the right place to report this or not. >> >> I am building a new server on a 64 bit CentOS 6.0 platform. >> >> [root@newmick ~]# cat /etc/redhat-release >> CentOS Linux release 6.0 (Final) >> [root@newmick ~]# uname -a >> Linux ne

[CentOS] sieveshell fails to start on CentOS 6.0

2011-08-10 Thread Harold Pritchett
I don't know if this is the right place to report this or not. I am building a new server on a 64 bit CentOS 6.0 platform. [root@newmick ~]# cat /etc/redhat-release CentOS Linux release 6.0 (Final) [root@newmick ~]# uname -a Linux newmick.halshome.net 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27

[CentOS] sieveshell fails to start on CentOS 6.0

2011-08-10 Thread Harold Pritchett
I don't know if this is the right place to report this or not. I am building a new server on a 64 bit CentOS 6.0 platform. [root@newmick ~]# cat /etc/redhat-release CentOS Linux release 6.0 (Final) [root@newmick ~]# uname -a Linux newmick.halshome.net 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27