Re: [CentOS] mysql replication - problems

2015-03-12 Thread Tim Dunphy
> > No: /etc/pki/CA should NOT be group writeable. Ditto for > /etc/pki/tls/cernts and private Ok, yeah I can understand that. I'll correct it. Still need a way to get SSL enabled however. Any suggestions there? Thanks Tim On Thu, Mar 12, 2015 at 11:40 AM, wrote: >

Re: [CentOS] mysql replication - problems

2015-03-12 Thread Tim Dunphy
) Best! Tim On Thu, Mar 12, 2015 at 10:42 AM, Alberto Rivera Laporte < arlapo...@gmail.com> wrote: > On Thu, Mar 12, 2015 at 8:57 AM Tim Dunphy wrote: > > > Hey everybody, > > > > I'm trying to get mysql master/slave replication to work under SSL. I've >

[CentOS] cant' start vnc server

2015-03-17 Thread Tim Dunphy
hey guys, Ok so I've installed tiger vnc on a centos 6.5 machine. And I've edited /etc/sysconfig/vncservers [root@potwsld1 ~]# cat /etc/sysconfig/vncservers VNCSERVERS="1:mysql" And added the contents of the xstartup file for the user: [root@potwsld1 ~]# cat /home/mysql/.vnc/xstartup

Re: [CentOS] cant' start vnc server

2015-03-17 Thread Tim Dunphy
> > vncpasswd Thanks! That worked. Tim On Tue, Mar 17, 2015 at 6:39 PM, Frank Cox wrote: > On Tue, 17 Mar 2015 18:27:05 -0400 > Tim Dunphy wrote: > > > You will require a password to access your desktops. > > > > getpassword error: Inappropri

[CentOS] multiple memcached buckets in CentOS 7

2015-03-17 Thread Tim Dunphy
Hey guys, OK so I'm pretty familiar with how to edit an init script for memcached so that I can get multiple memcached 'buckets' when starting up the service. The init script would ususally have multiple lines such as these under the start function: # cache_block /usr/local/bin/memcache

Re: [CentOS] multiple memcached buckets in CentOS 7

2015-03-18 Thread Tim Dunphy
Hi Alberto, With systemd it will be as easy as creating additional unit files ( one for > each memcached instance) with its corresponding config file. That should > allow to stop / start / restart each memcache instance individually while > also being systemd compliant. Thanks for the info and

Re: [CentOS] multiple memcached buckets in CentOS 7

2015-03-19 Thread Tim Dunphy
above. I really appreciate the info you've provided and have stored that in my notes for myself and others to use. Best regards, Tim On Wed, Mar 18, 2015 at 12:16 PM, Tim Dunphy wrote: > Hi Alberto, > > With systemd it will be as easy as creating additional unit files ( one for >

[CentOS] error building apr-util spec file

2015-03-22 Thread Tim Dunphy
Hey guys, I'm trying to create an apache 2.4.12 rpm file. But in order to do that I need to create an apr-util rpm of a recent enough version to support it. So running the rpmbuild command against the spec file I'm getting this error: checking db1/db.h usability... no checking db1/db.h presenc

Re: [CentOS] error building apr-util spec file

2015-03-22 Thread Tim Dunphy
8.30-13.el7.x86_64* libdb4-4.8.30-13.el7.x86_64 *libdb4-devel-4.8.30-13.el7.x86_64* I see I have two devel packages for db4. So what am I missing? Also how do I build in mock? Thanks, Tim On Sun, Mar 22, 2015 at 4:17 PM, Peter wrote: > On 03/23/2015 09:03 AM, Tim Dunphy wrote: > > He

Re: [CentOS] error building apr-util spec file

2015-03-22 Thread Tim Dunphy
> > http://fedoraproject.org/wiki/Projects/Mock Thank you! I'll check it out. On Sun, Mar 22, 2015 at 7:38 PM, Mark LaPierre wrote: > On 03/22/15 16:22, Tim Dunphy wrote: > > how do > > I build in mock? > > http://fedoraproject.org/wiki/Proj

[CentOS] error building php spec file

2015-03-23 Thread Tim Dunphy
Hey all, I'm attempting to build a spec file of php 5.6.7 - the latest stable - into an rpm. And it's failing with this set of errors: Processing files: php-5.6.7-1.el7.x86_64 warning: File listed twice: /etc/rc.d/init.d/php-fpm error: Symlink points to BuildRoot: /usr/bin/phar -> /home/bluethun

Re: [CentOS] error building php spec file

2015-03-24 Thread Tim Dunphy
or CentOS 6. > > <http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/repoview/> > > --Regards > Ashishkumar S. Yadav > > On Tue, Mar 24, 2015 at 10:25 AM, Tim Dunphy wrote: > > > Hey all, > > > > I'm attempting to build a spec file of php

Re: [CentOS] error building php spec file

2015-03-24 Thread Tim Dunphy
rote: > On 03/24/2015 05:38 PM, Tim Dunphy wrote: > >> I'm using CentOS 7. I'll check to see if I can get php version 5.6.7 from >> IUS that way. But also I'm trying to get better at building RPM's. So if >> anybody has any advice on how to solve this

[CentOS] can't do a yum install of apache C7

2015-03-24 Thread Tim Dunphy
Hey all, I'm logged into a CentOS 7 box and trying to install apache. Not having any luck, as it's not being found. Which is odd, because I have the right repos enabled: [root@hadoop1:/etc/yum.repos.d] #cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) [root@hadoop1:/et

Re: [CentOS] can't do a yum install of apache C7

2015-03-24 Thread Tim Dunphy
out! Thanks, Tim On Tue, Mar 24, 2015 at 6:15 PM, Richard wrote: > > > Original Message > > Date: Tuesday, March 24, 2015 17:59:31 -0400 > > From: Tim Dunphy > > To: CentOS mailing list > > Subject: [CentOS] can't do a yum i

Re: [CentOS] can't do a yum install of apache C7

2015-03-24 Thread Tim Dunphy
Also... > btw, I would NOT enable REMI, RPMFORGE *and* EPEL at the same time unless you > want to get into some gnarly package conflicts. I don't even know what > webtatic is... Thanks for pointing this out. I'll follow this advice! Tim Sent from my iPhone > On Mar 24, 2015, at 6:08 PM,

[CentOS] mysql can't connect from localhost -strange behavior

2015-03-29 Thread Tim Dunphy
Hey all, I've been having some trouble creating a mysql user that can connect to the database from localhost. It's always been a straight forward thing to do in the past, so its time for a sanity check, if you guys don't mind. Ok, so here's the actual command with actual simplified password that

Re: [CentOS] mysql can't connect from localhost -strange behavior

2015-03-29 Thread Tim Dunphy
> > mysql> FLUSH PRIVILEGES; Yup! That was it. Thanks for the reminder! :) Tim On Mon, Mar 30, 2015 at 12:15 AM, Steven Tardy wrote: > > > mysql> grant all privileges on ftp.* to 'proftpd'@'localhost' > identified by > > 'testpattern'; > > Query OK, 0 rows affected (0.35 sec) > > mysql> FLUSH

[CentOS] mounted NFS does not show in df -h

2015-04-02 Thread Tim Dunphy
Hey guys, This is kind of odd, so I wanted to do a sanity check. I mounted an NFS share like so: [root@web1:~] #mount -t nfs nfs1.jokefire.com:/home /mnt/home Seemed to go ok. Then I took a look at the output of df -h and didn't see it! [root@web1:~] #df -h Filesystem Size

[CentOS] bash script fails conditional test

2015-04-19 Thread Tim Dunphy
Hey all, I wrote a very basic script to determine if cassandra db is running. I'm setting a variable called 'pid' to the output of a ps | grep like to grab the pid of the cassandra process. #!/bin/bash pid=$(ps -ef | grep cassandra | grep -v grep | grep -i -v -e grep -e screen -e s3fs|awk '{prin

Re: [CentOS] bash script fails conditional test

2015-04-19 Thread Tim Dunphy
cript with sh +x . I guess that running it with sh +xv would do the same thing. But that is a useful tip to include the debug lines right in the script. I'll have to remember that for next time! Thanks! :) Tim On Sun, Apr 19, 2015 at 1:55 PM, Always Learning wrote: > > On Sun, 2015

Re: [CentOS] bash script fails conditional test

2015-04-19 Thread Tim Dunphy
his into an init script. Which I probably will. But this is just for a hobby project ,and I'm a little too lazy to do it this weekend. Maybe next weekend. Thanks, Tim On Sun, Apr 19, 2015 at 9:58 PM, Chris Adams wrote: > Once upon a time, Tim Dunphy said: > > pid=$(ps -ef | grep

Re: [CentOS] bash script fails conditional test

2015-04-19 Thread Tim Dunphy
> > It's a matter of "consistency". The script began #!/bin/bash and so a > direct shell invocation should _also_ use the same command. Good point. I'll try to keep that in mind. Thank you, Tim On Sun, Apr 19, 2015 at 10:04 PM, Stephen Harris wrote: > On Sun, Apr 19, 2015 at 09:00:06PM -0500

[CentOS] can't install gd-devel on centos 7.1

2015-04-26 Thread Tim Dunphy
Hey guys, I'm trying to instal gd-devel onto a CentOS 7 host. --> Finished Dependency Resolution Error: Package: gd-last-devel-2.1.1-2.el7.remi.x86_64 (remi) Requires: libvpx-devel(x86-64) You could try using --skip-broken to work around the problem You could try running: rpm -Va --

Re: [CentOS] can't install gd-devel on centos 7.1

2015-04-26 Thread Tim Dunphy
l just trash it and start up an **actual** CentOS host and try again. Gotta learn to be in less of a hurry... ;) Thanks anyways! Tim On Sun, Apr 26, 2015 at 6:52 PM, Eero Volotinen wrote: > 2015-04-27 1:30 GMT+03:00 John R Pierce : > > > On 4/26/2015 1:54 PM, Tim

[CentOS] Could not complete SSL handshake to Amazon EC2 host

2015-04-30 Thread Tim Dunphy
Hello, I am trying to monitor a host in the Amazon EC2 cloud. Yet when I try to check NRPE from the monitoring host I am getting an SSL handshake error: [root@monitor1:~] #/usr/local/nagios/libexec/check_nrpe -H ops.jokefire.com CHECK_NRPE: Error - Could not complete SSL handshake. And if I te

Re: [CentOS] Could not complete SSL handshake to Amazon EC2 host

2015-04-30 Thread Tim Dunphy
!! Tim On Fri, May 1, 2015 at 1:02 AM, Eric Lehmann wrote: > Hi > Does the deamon run under xinetd? Then you have to configure the only_from > in */etc/**xinetd.d**/**nrpe* to. > > Regards > Eric > Am 01.05.2015 06:46 schrieb "Tim Dunphy" : > > > Hello, &g

Re: [CentOS] Could not complete SSL handshake to Amazon EC2 host

2015-05-01 Thread Tim Dunphy
So it looks like everything is OK from the SSL end of things. Any other ideas or suggestions? Thanks Tim On Fri, May 1, 2015 at 5:46 AM, Eric Lehmann wrote: > This is strange... > Do you have SSL aktive on both systems? Run nrpr localy without parameters > (this should return some nrpe

Re: [CentOS] Could not complete SSL handshake to Amazon EC2 host

2015-05-01 Thread Tim Dunphy
t; You could test nrpe without SSL. Use nrpe -n - H host > Am 01.05.2015 13:18 schrieb "Eero Volotinen" : > > > well. how about trying default setting and running nrped without xinetd. > > > > -- > > Eero > > > > 2015-05-01 14:14 GMT+03:00 Tim Dunp

Re: [CentOS] Could not complete SSL handshake to Amazon EC2 host

2015-05-01 Thread Tim Dunphy
> /etc/passwd > Am 01.05.2015 18:45 schrieb "Tim Dunphy" : > > > > > > > Oh my mistake. I mean nrpe without parameters. It should say something > > > about SSL/TLS aktiv or so. > > > You could test nrpe without SSL. Use nrpe -n - H host >

Re: [CentOS] Could not complete SSL handshake to Amazon EC2 host

2015-05-01 Thread Tim Dunphy
#x27;s this... [root@monitor1:~] #/usr/local/nagios/libexec/check_nrpe -H ops.jokefire.com CHECK_NRPE: Error - Could not complete SSL handshake. Sadly :( Thanks for your input tho! On Fri, May 1, 2015 at 3:18 PM, Brian Miller wrote: > On Fri, 2015-05-01 at 01:32 -0400, Tim Dunphy wrote: >

Re: [CentOS] Could not complete SSL handshake to Amazon EC2 host

2015-05-01 Thread Tim Dunphy
libpcre.so.1 => /lib64/libpcre.so.1 (0x7fdd4f17c000) liblzma.so.5 => /lib64/liblzma.so.5 (0x7fdd4ef57000) Both look completely fine! No missing libs. But thanks for the suggestion tho! Definitely not a bad idea to rule that out! Thanks, Tim On Fri, May 1, 2015 at 4:58 PM, B

Re: [CentOS] Could not complete SSL handshake to Amazon EC2 host

2015-05-02 Thread Tim Dunphy
so I really appreciate the ongoing dialog with the community on this issue. I'm grasping at straws at this point. And all the attempts at help have been really great! I hope we can still get to the bottom of this! Tim On Sat, May 2, 2015 at 11:45 AM, Mark Milhollan wrote: > On Fri, 1 May

Re: [CentOS] Could not complete SSL handshake to Amazon EC2 host

2015-05-02 Thread Tim Dunphy
d if NRPE is running under either inetd or xinetd allowed_hosts=127.0.0.1 Thanks for the input tho, I genuinely appreciate it! On Sat, May 2, 2015 at 4:05 PM, Mark Milhollan wrote: > On Sat, 2 May 2015, Tim Dunphy wrote: > > >>>It's only when checking from the monitoring h

[CentOS] can't disable tcp6 on centos 7

2015-05-03 Thread Tim Dunphy
hey all, I tried disabling tcp v6 on a C7 box this way: [root@puppet:~] #cat /etc/sysctl.conf # System default settings live in /usr/lib/sysctl.d/00-system.conf. # To override those settings, enter new settings here, or in an /etc/sysctl.d/.conf file # # For more information, see sysctl.conf(5)

Re: [CentOS] can't disable tcp6 on centos 7

2015-05-03 Thread Tim Dunphy
! > Worth a shot! On Sun, May 3, 2015 at 5:44 PM, Gordon Messmer wrote: > On 05/03/2015 02:18 PM, Tim Dunphy wrote: > >> Yet, xinetd/nrpe still seems to be listeing on TCP v6!! >> > > It's listening on both IPv6 and IPv4. Specifically, why is that a problem? >

Re: [CentOS] can't disable tcp6 on centos 7

2015-05-03 Thread Tim Dunphy
not correct. > > -- > Eero > > 2015-05-04 1:55 GMT+03:00 Tim Dunphy : > > > > > > > It's listening on both IPv6 and IPv4. Specifically, why is that a > > problem? > > > > > > The central problem seems to be that the monitoring host ca

Re: [CentOS] can't disable tcp6 on centos 7

2015-05-03 Thread Tim Dunphy
Eero > > 2015-05-04 2:27 GMT+03:00 Stephen Harris : > > > On Sun, May 03, 2015 at 07:23:19PM -0400, Tim Dunphy wrote: > > > [root@puppet:~] #telnet localhost 5666 > > > > This is using TCP > > > > > [root@monitor1:~] #nmap -p 5666 puppet.mydomain.co

Re: [CentOS] can't disable tcp6 on centos 7

2015-05-04 Thread Tim Dunphy
> > On Sun, May 03, 2015 at 08:25:45PM -0400, Tim Dunphy wrote: > > > Rather than a yum install. If I install the nrpe package from yum I don't > > find a check_nrpe script on the system for some reason! > That's because the 'check_nrpe' command isn

[CentOS] firewalld trouble opening a port

2015-05-09 Thread Tim Dunphy
Hey all, I'm having a little trouble opening up a port on a C7 machine. Here's the default zone: [root@appd:~] #firewall-cmd --get-default-zone home So I try to add the port: [root@appd:~] #firewall-cmd --zone=home --add-port=8181/tcp success Then I reload firewalld: [root@appd:~] #firewal

Re: [CentOS] firewalld trouble opening a port

2015-05-09 Thread Tim Dunphy
:14 PM, Earl A Ramirez wrote: > On 9 May 2015 at 14:57, Tim Dunphy wrote: > > > Hey all, > > > > I'm having a little trouble opening up a port on a C7 machine. > > > > Here's the default zone: > > > > [root@appd:~] #firewall-cmd

[CentOS] mariadb fails to start under C7

2015-05-10 Thread Tim Dunphy
Hey all, I just unstalled MariaDB version 10 from the mariadb repositories under a CentOS 7 host. The install went fine! [root@nfsdb1 ~]# rpm -qa | grep -i mariadb MariaDB-common-10.0.19-1.el7.centos.x86_64 MariaDB-server-10.0.19-1.el7.centos.x86_64 MariaDB-client-10.0.19-1.el7.centos.x86_64 M

Re: [CentOS] mariadb fails to start under C7

2015-05-10 Thread Tim Dunphy
see if anyone has any ideas on getting MariaDB 10 working. I've already googled this to no avail. If nothing turns up on the list or if I can't find anything, I'll just go with MariaDB 5. Thanks, Tim On Sun, May 10, 2015 at 3:11 PM, Earl A Ramirez wrote: > Hello Tim, > > On

Re: [CentOS] mariadb fails to start under C7

2015-05-10 Thread Tim Dunphy
Actually, the systemctl command is: systemctl start mysql.service from the "systemctl show" output it looks like this actually calls the /etc/rc.d/init.d/mysql file for start/stop/reload, which seems backwards. It appears that mariadb is trying to be a total drop-in replacement to mysql, so a

[CentOS] appdynamics php agent prevented by SELinux

2015-05-10 Thread Tim Dunphy
Hey guys, I've got another C7 problem I was hoping to solve. I installed appdynamics-php-agent-4.0.5.0-1.x86_64 on a C7.1 host. It's failing to communicate with it's controller on another host. And this is the interesting part. Whether or not I have SELinux enabled, I have apache reporting SELinu

Re: [CentOS] firewalld trouble opening a port

2015-05-11 Thread Tim Dunphy
t out! On Mon, May 11, 2015 at 9:18 AM, Bowie Bailey wrote: > On 5/9/2015 3:24 PM, Tim Dunphy wrote: > >> Hi Earl, >> >> The problem is you added the rule in runtime and when you reloaded it >>> removed the rule that you added; therefore you need to use --perma

Re: [CentOS] appdynamics php agent prevented by SELinux

2015-05-11 Thread Tim Dunphy
< lists-cen...@listmail.innovate.net> wrote: > > > -------- Original Message > > Date: Sunday, May 10, 2015 09:02:11 PM -0400 > > From: Tim Dunphy > > > > Hey guys, > > > > I've got another C7 problem I was hoping to solve. I >

Re: [CentOS] appdynamics php agent prevented by SELinux

2015-05-11 Thread Tim Dunphy
that's why I'm trying out this experiment. Thanks, Tim On Mon, May 11, 2015 at 11:22 AM, Valeri Galtsev wrote: > > On Mon, May 11, 2015 9:47 am, Tim Dunphy wrote: > >> > >> That's a rather odd (personally, I think bad) place for a log (or > >> even lo

Re: [CentOS] appdynamics php agent prevented by SELinux

2015-05-11 Thread Tim Dunphy
/opt/AppDynamics/ drwxrwxr-x. apache apache unconfined_u:object_r:usr_t:s0 appdynamics-php-agent drwxr-xr-x. apache apache unconfined_u:object_r:usr_t:s0 var Anyone have any ideas on how I can beat this problem? Thanks!! Tim On Mon, May 11, 2015 at 3:08 PM, wrote: > Tim Dunphy wrote: >

Re: [CentOS] appdynamics php agent prevented by SELinux

2015-05-12 Thread Tim Dunphy
this up to them, we have a pretty big account with them. Thanks! Tim On Tue, May 12, 2015 at 1:47 AM, Jason Woods wrote: > > > On 12 May 2015, at 03:39, Tim Dunphy wrote: > >* Plugin catchall_labels (83.8 > > confidence) suggests **

[CentOS] nagios check_local_disk failing

2015-05-13 Thread Tim Dunphy
Hey all, I have a local disk check defined which is giving me an error: Current Status: UNKNOWN (for 0d 0h 1m 38s)Status Information:Unknown argument Usage: check_disk -w limit -c limit [-W limit] [-K limit] {-p pathPerformance Data:-x device} [-C] [-E] [-e] [-f] [-g group ] [-k] [-l] [-M] [-m

Re: [CentOS] nagios check_local_disk failing

2015-05-14 Thread Tim Dunphy
-m] [-R path ] [-r path ] > [-t timeout] [-u unit] [-v] [-X type] > [root@nagios plugins]# ./check_disk -w 20 -c 10 -p / > DISK OK - free space: / 20848 MB (92% inode=97%);| > /=1670MB;23711;23721;0;23731 Thanks for the tip! That worked. :-) On Thu, May 14, 2015 at 7:33 AM, Tris Hoar wrot

[CentOS] specify port on check_memcached.pl

2015-05-24 Thread Tim Dunphy
Hey guys, I'm trying use check_memcached.pl to monitor a couple of memcached services running on two ports. I have my command definition setup like this: # 'check_memcached' command definition define command { command_name check_memcached command_line $USER1$/check_memcached.pl -H $HOSTADDR

[CentOS] nginx conflicting server name ignored warning

2015-06-01 Thread Tim Dunphy
Guys, I'm getting a strange warning whenever I do a config test or a restart of nginx 1.0.15 [root@aoadbld00032lb nginx]# nginx -t nginx: [warn] conflicting server name "aoadbld00032lb.company.com" on 0.0.0.0:80, ignored nginx: [warn] conflicting server name "logs.pcf.company.com" on 0.0.0.0:80,

[CentOS] could not insert 'fuse' error on CentOS 7.1

2015-06-06 Thread Tim Dunphy
Hey guys, I tried installing the latest fuse on CentOS 7.1. I downloaded the latest version (2.9.4) from sourceforge and did a source install. After rebooting the host, now when I go modprobe fuse, this is what I get! *modprobe: ERROR: could not insert 'fuse': Unknown symbol in module, or unknow

Re: [CentOS] could not insert 'fuse' error on CentOS 7.1

2015-06-07 Thread Tim Dunphy
> > Centos 7 base repo contains fuse, use it. it works. handcompiling packages > to centos is *really* stupid, without proper knowledge.. Thanks, you're right. The Centos 7 package works. [root@ops ~]# lsmod | grep fuse fuse 87661 1 My final goal is to install s3fs. Funny how

Re: [CentOS] could not insert 'fuse' error on CentOS 7.1

2015-06-08 Thread Tim Dunphy
Cool! Thanks Eero. I'll check this out. Best regards, Tim Sent from my iPhone > On Jun 8, 2015, at 12:06 AM, Eero Volotinen wrote: > > This looka good: https://github.com/juliogonzalez/s3fs-fuse-rpm > > Eero > 7.6.2015 4.23 ip. "Tim Dunphy" kirjoitti: >

[CentOS] exclude directory from rsync

2015-06-08 Thread Tim Dunphy
hey guys, I'm trying to do an rsync of the entire /var directory, but exclude just the /var/www directory. So far I've tried these approaches: rsync -avzp --exclude-from=/var/www /var/ /mnt/var/ rsync -avzp --exclude=/var/www /var/ /mnt/var/ But neither has worked. Can I get a suggestion on h

Re: [CentOS] exclude directory from rsync

2015-06-09 Thread Tim Dunphy
Hey guys, Thanks for your input! Both examples you gave worked, and I'll do some reading on the suggested subjects!! Just a heads up that it worked. I appreciate the clarification! Thanks, Tim On Tue, Jun 9, 2015 at 1:45 AM, Gordon Messmer wrote: > On 06/08/2015 10:12 PM, Tim Dunp

[CentOS] selinux allow apache log access

2015-06-16 Thread Tim Dunphy
Hey guys,. I have a centos 7 machine I'm using as a zabbix server. And I noticed that apache won't start, with this complaint in the error log: (13)Permission denied: AH00091: httpd: could not open error log file /var/log/zabbix_error_log. AH00015: Unable to open logs I tried having a look at

Re: [CentOS] selinux allow apache log access

2015-06-17 Thread Tim Dunphy
; Try something like: > > grep zabbix /var/log/audit/audit.log | audit2allow -M zabbix > semodule -i zabbix.pp > > > On 16/06/15 15:58, Tim Dunphy wrote: > >> Hey guys,. >> >> I have a centos 7 machine I'm using as a zabbix server. And I noticed >

Re: [CentOS] selinux allow apache log access

2015-06-17 Thread Tim Dunphy
Just in case.. none of that worked. Got any other ideas? :) Tim On Wed, Jun 17, 2015 at 11:24 AM, Harold Toms wrote: > On 17/06/15 15:27, Tim Dunphy wrote: > >> Try something like: >>> grep zabbix /var/log/audit/audit.log | audit2allow -M zabbix >>> semodule

Re: [CentOS] selinux allow apache log access

2015-06-17 Thread Tim Dunphy
> > What turns up in myzabbix.te? Same deal. :( #semodule -i myzabbix.te semodule: Failed on myzabbix.te! sigh... but thanks any other clues? On Wed, Jun 17, 2015 at 11:42 AM, Harold Toms wrote: > On 17/06/15 16:29, Tim Dunphy wrote: > >> That's because there&#x

Re: [CentOS] selinux allow apache log access

2015-06-17 Thread Tim Dunphy
d / -name "myzabbix.*" I also did search using 'yum provides' to find something similar. But wasn't' able to find anything. yum provides "*/myzabbix.*" ... No matches found Maybe I'll need to install a package? Thanks, Tim On Wed, Jun 17, 2015 at 2:1

Re: [CentOS] selinux allow apache log access

2015-06-17 Thread Tim Dunphy
3:30:51PM -0400, Tim Dunphy wrote: > >> No prob! Thanks for all the help! But in searching my system I don't > find > >> anything of the sort. > >> > >> [root@monitor2:~] #updatedb > >> [root@monitor2:~] #locate myzabbix.te > >> [root@

[CentOS] puppet files denied by SELinux

2015-06-19 Thread Tim Dunphy
Hey folks, Ok so I'm having another issue with SELinux. However I think I'm pretty close to a solution and just need a nudge in the right directtion. I wrote a puppet module that gets systems into bacula backups. Part of the formula is to distribute key/cert pairs with permissions that allow bac

Re: [CentOS] puppet files denied by SELinux

2015-06-21 Thread Tim Dunphy
sted on the monitor2 host which had the key pair copied from the NFS share. So in summary it appears that there is some interaction between SELinux and NFS that is causing the issue. Any thoughts? Thanks, Tim On Sun, Jun 21, 2015 at 11:09 AM, Tim Dunphy wrote: > Yes, you did when you used

Re: [CentOS] puppet files denied by SELinux

2015-06-21 Thread Tim Dunphy
think that a puppet host would be one of the most important if not 'the' most important to protect! I'm definitely open to suggestions at this point! Thanks, Tim On Sun, Jun 21, 2015 at 11:11 AM, Tim Dunphy wrote: > Hi all, > > Thanks for all your suggestions. Here's where

[CentOS] rsyncing directories - sanity check

2015-06-24 Thread Tim Dunphy
hey guys, I need to mount a different volume onto /var so we have more room to breathe. I'll be turning 3 servers into an elasticsearch cluster. And for some reason when the servers were ordered the large local volume ended up being /usr when the ES rpm likes to store it's indexes on /var. So I'

Re: [CentOS] rsyncing directories - sanity check

2015-06-24 Thread Tim Dunphy
xt file that you can examine for more >clues. > hth & regards, > Good suggestions! Thanks! Tim On Wed, Jun 24, 2015 at 1:05 PM, Carl E. Hartung wrote: > On Wed, 24 Jun 2015 12:42:19 -0400 > Tim Dunphy wrote: > > > Does anyone have a good guess as to why these &#x

Re: [CentOS] rsyncing directories - sanity check

2015-06-25 Thread Tim Dunphy
In say 3 or 4 weeks. On my own servers no sweat. But at work. nah. not really practical. Thanks for the suggestion anyway! On Wed, Jun 24, 2015 at 2:33 PM, Gordon Messmer wrote: > On 06/24/2015 09:42 AM, Tim Dunphy wrote: > >> And for >> some reason when the servers were orde

Re: [CentOS] puppet files denied by SELinux

2015-07-11 Thread Tim Dunphy
ad just run restorecon on the object it would have > set it back to the correct/default context. > > You might want to setup an alias mv "mv -Z" > > This changes the way mv works to set the context after mv rather then > maintaining the source context. > > On 06/21/

[CentOS] ssh failed only with nfs home directory

2015-07-13 Thread Tim Dunphy
Hey all, Having a weird ssh issue I'd like some opinions on. If I have my home directory mounted on the NFS server itself, I get permission denied when I try to ssh into it. The correct permissions and ownership are on the home directory, ssh directory and the authorized_users file. Here's wha

[CentOS] can't ssh into C7 host

2015-07-18 Thread Tim Dunphy
hey guys, Yesterday I had no trouble loggging into this database host. But today for some reason I can't log in using my RSA key and password authentication doesn't work either. I am able to log onto the host via console. And I was able to grab the ssh config file. Here it is: [root@db1 ~]# grep

Re: [CentOS] can't ssh into C7 host

2015-07-18 Thread Tim Dunphy
Cool thanks! I'll check it out. On Sat, Jul 18, 2015 at 9:56 PM, Alexander Dalloz wrote: > Am 19.07.2015 um 01:58 schrieb Tim Dunphy: > >> hey guys, >> >> Yesterday I had no trouble loggging into this database host. But today for >> some reason I can

[CentOS] wordpess can't connect to DB but mediawiki can

2015-08-15 Thread Tim Dunphy
Hey guys, I'm running both a wordpress site as well as a mediawiki off of the same web servers. The mediawiki site works great! The wordpress site, meh. Not so much. I keep getting the common database connection error: Error establishing a database connection And as far as I can tell the setting

Re: [CentOS] wordpess can't connect to DB but mediawiki can

2015-08-15 Thread Tim Dunphy
rmation_schema | | jfwiki | | jokefire | | mysql | | performance_schema | ++ 6 rows in set (0.00 sec) Any other ideas? Thanks, Tim On Sat, Aug 15, 2015 at 3:07 PM, Richard wrote: > > > > Date: Saturday, August 15, 2015 13:53:28

Re: [CentOS] wordpess can't connect to DB but mediawiki can

2015-08-15 Thread Tim Dunphy
nge how that's happening! On Sat, Aug 15, 2015 at 6:12 PM, Richard wrote: > > > Date: Saturday, August 15, 2015 17:57:03 -0400 > > From: Tim Dunphy > > >> > >> [this isn't really a centos issue, even if you're using centos, > >> which

Re: [CentOS] wordpess can't connect to DB but mediawiki can

2015-08-15 Thread Tim Dunphy
looking at the mysql.db table) on your > "db.example.com" machine, correct? > > > Original Message > > Date: Saturday, August 15, 2015 19:32:25 -0400 > > From: Tim Dunphy > > To: CentOS mailing list > > Subject: Re: [CentOS] wordpes

Re: [CentOS] wordpess can't connect to DB but mediawiki can

2015-08-15 Thread Tim Dunphy
But do you have any idea why that wordpress setting won't allow the site to connect to the DB? While it may not be of super high importance to have my site contact the DB via SSL, it would still be a nice thing to have. Thanks, Tim On Sat, Aug 15, 2015 at 10:45 PM, Tim Dunphy wrote: > Yo

[CentOS] echo password into bash script

2015-08-25 Thread Tim Dunphy
Hey guys, I'm trying to echo my password into some commands inside of a bash script. But I think I'm going about it incorrectly. Here's the top part of my script: #!/bin/bash pub="~/.ssh/id_rsa.pub" dps_pass="my_pass" ssh="/usr/bin/ssh" scp="/usr/bin/scp" for i in 10.10.10.2{5,6} do echo "xfrin

Re: [CentOS] echo password into bash script

2015-08-25 Thread Tim Dunphy
> > Use expect? yep! Expect should work. Thanks On Tue, Aug 25, 2015 at 12:56 PM, Eero Volotinen wrote: > Use expect? > > Eero > 25.8.2015 7.52 ip. "Tim Dunphy" kirjoitti: > > > Hey guys, > > > > I'm trying to echo my password into so

Re: [CentOS] echo password into bash script

2015-08-25 Thread Tim Dunphy
right.. I'll be much better off using expect to get this type of work done. It's jut that I'm more familiar with bash so I thought that there might be a good way to do it with that also. On Tue, Aug 25, 2015 at 4:04 PM, Peter wrote: > On 08/26/2015 04:51 AM, Tim Dunphy wrote: >

[CentOS] apache mysterious 404 error

2015-08-27 Thread Tim Dunphy
Hey guys, Just have a question about apache. Hoping to get an opinion on this. I've just setup a site under apache 2.4. And made sure that the document root setup in the vhost for the site I'm serving has permissions for the apache user. Yet some of the files are throwing a 404 error in a bro

Re: [CentOS] apache mysterious 404 error

2015-08-27 Thread Tim Dunphy
; on browser : > > > (index):1 GET > http://stage.theshopatmycomany.com/mycomanyStore/images*/altImg.png > > try : > > > (index):1 GET > http://stage.theshopatmycomany.com/mycomanystore/images/altImg.png > <http://stage.theshopatmycomany.com/mycomanyStore/imag

Re: [CentOS] apache mysterious 404 error

2015-08-28 Thread Tim Dunphy
rt Wolfe wrote: > Check the links again. Remove the * from images*/ and you should be all > set. > > -Original Message- > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On > Behalf Of Tim Dunphy > Sent: Thursday, August 27, 2015 5:18 PM > To: CentOS m

Re: [CentOS] apache mysterious 404 error

2015-08-28 Thread Tim Dunphy
ssage- > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On > Behalf Of Tim Dunphy > Sent: Friday, August 28, 2015 10:12 AM > To: CentOS mailing list > Subject: Re: [CentOS] apache mysterious 404 error > > Hey guys, > > Sorry for the failed atte

[CentOS] camgirl spam on the list

2015-08-28 Thread Tim Dunphy
Hey guys, I just noticed this recently in my latest posts to the list. But I've noticed that every time I mail the list for some advice, I get hit with spam from a camgirl site like every other message. Kinda funny actually. But also annoying!! Anyone else experience this? Maybe this is somethin

Re: [CentOS] apache mysterious 404 error

2015-08-28 Thread Tim Dunphy
Guys, We actually found the problem. The problem was actually in a javascript file. It was referring to it's parent directory as mycompanyStore. So once I noticed that, I went into that directory and created a symlink. ln -s . mycompanyStore from within that directory. That let the java script kn

Re: [CentOS] camgirl spam on the list

2015-08-28 Thread Tim Dunphy
Hey Fabian, Here's the headers for one of the spam responses I got from the list: from:Tracy reply-to:tracy12...@safeloves.com to:Tim Dunphy date:Fri, Aug 28, 2015 at 2:19 PMsubject:Re: [CentOS] apache mysterious 404 errormailed-by:safeloves.comsigned-by:safeloves.com:Important mainly because it

[CentOS] setting up solr/tomcat gives 404 page

2015-09-09 Thread Tim Dunphy
Hey all, I tried following a few guides and I'm struggling with trying to setup apache solr 4.10 under apache tomcat 7.0.64 along with the drupal config necessary to get that this working with drupal. The latest guide I followed was this one which seemed like it might work: http://duntuk.com/ho

[CentOS] Keepalived vrrp problem

2015-09-29 Thread Tim Dunphy
Hey guys, I'm trying to install keepalived 1.2.19 on a centos 6.5 machine. I did an install from source. And when I start keepalived this is what I'm seeing in the logs. It's reporting that the VRRP_Instance(VI_1) Now in FAULT state. Here's more of that log entry: Sep 29 12:06:58 USECLSNDMNRDB

Re: [CentOS] Keepalived vrrp problem

2015-09-30 Thread Tim Dunphy
t; >> On 09/29/2015 09:14 AM, Tim Dunphy wrote: >> >>> And if I do an ifconfig command I see no evidence of an eth1 existing. >>> >> >> "ifconfig -a" will show you all of your interfaces. >> > > Maybe there is a confusion here. Sounds

[CentOS] python setup.py ssl error

2015-10-06 Thread Tim Dunphy
Hey guys, I'm trying to do a source install of s3cmd onto a centos 6.5 host. Because the version in the repo is a little old. So when I go to run the installer app with the command python2.7 setup.py install, I'm getting the following error: Installed /usr/local/lib/python2.7/site-packages/s3cmd

[CentOS] mount: unknown filesystem type '(null)' error

2015-10-12 Thread Tim Dunphy
Hey guys, I'm trying to mount a disk volume on aws under CentOS 7. And when I try I get this result: [root@repo:~] #mount /dev/xvdf1 /opt/repo mount: /dev/xvdf1 is write-protected, mounting read-only mount: unknown filesystem type '(null)' The only thing I can see in dmesg that seems to relate

[CentOS] selinux commands fail on low memory box

2015-10-14 Thread Tim Dunphy
Hey all, I have 3 web servers hosted at Digital Ocean that all have the same amount of memory at 512MB. They're all running CentOS 7. They are low powered apache servers and don't really need more than that. All they're doing is serving the web, no database on those hosts at all. On the first

Re: [CentOS] selinux commands fail on low memory box

2015-10-14 Thread Tim Dunphy
ule -i newrelic.pp [root@ops3:~] # Thanks! Tim On Thu, Oct 15, 2015 at 12:19 AM, Eero Volotinen wrote: > How about adding some swap into system? > > -- > Eero > > 2015-10-15 4:40 GMT+03:00 Tim Dunphy : > > > Hey all, > > > > I have 3 web servers hosted at

[CentOS] disable ZTS in php

2015-10-30 Thread Tim Dunphy
Hey guys, I'm trying to disable ZTS in php, because an application we need (AppDynamics) is not compatible with it. So I tried compiling php with the following flags: php -i | grep configure Configure Command => './configure' '--with-apxs2=/opt/apache2/bin/apxs' '--with-zlib=/usr' '--prefix=/

Re: [CentOS] disable ZTS in php

2015-10-30 Thread Tim Dunphy
ike MacOS i’ll run into a problem with the > standard version of iconv in php. To leave it out i use the —without-iconv > directive. Maybe give that a shot with maintainer-zts. > > — > > Jeremy > > > > > > > On Oct 30, 2015, at 6:44 AM, Tim Dunphy wro

Re: [CentOS] disable ZTS in php

2015-10-30 Thread Tim Dunphy
Yeah Erro, ok you have a point. I'll do that. Thanks! On Fri, Oct 30, 2015 at 11:40 AM, Eero Volotinen wrote: > This is really wrong way to do this. Install yum-utils and use > yumdownloader --source package-name to get rhel version of package. Then > modify spec file and recompile. > > Eero > H

<    1   2   3   4   >