[CentOS] use pssh to restart a service

2015-10-31 Thread Tim Dunphy
Hi all, I need to restart a service on a few elasticsearch nodes. I'm trying to do it with pssh. I'm getting this error when I try to do that: pssh -h es_list "/bin/sudo -S /bin/systemctl restart elasticsearch" [1] 17:01:50 [FAILURE] bluethu...@es2.example.com Exited with error code 1 [2] 17

Re: [CentOS] use pssh to restart a service

2015-10-31 Thread Tim Dunphy
@es1.example.com "/bin/echo $?" 0 And the user has 'NOPASSWD' access. Any ideas? Thanks, Tim On Sat, Oct 31, 2015 at 5:09 PM, Tony Schreiner wrote: > On Sat, Oct 31, 2015 at 5:04 PM, Tim Dunphy wrote: > > > Hi all, > > > > I need to restart a service

Re: [CentOS] use pssh to restart a service

2015-10-31 Thread Tim Dunphy
in the logs after making the suggested change to disable tty: [root@logs:~] #cat /etc/sudoers.d/bluethundr Defaults:myuser!requiretty, visiblepw Got the same exact message! Anything else I can try? Thanks On Sat, Oct 31, 2015 at 5:34 PM, Gordon Messmer wrote: > On 10/31/2015 02:0

Re: [CentOS] use pssh to restart a service

2015-11-01 Thread Tim Dunphy
's any difference to the sudoers file I guess. Thanks for your help! Tim On Sun, Nov 1, 2015 at 7:06 PM, Gordon Messmer wrote: > On 10/31/2015 04:16 PM, Tim Dunphy wrote: > >> Got the same exact message! >> >> Anything else I can try? >> > > I think yo

Re: [CentOS] use pssh to restart a service

2015-11-02 Thread Tim Dunphy
im On Mon, Nov 2, 2015 at 5:25 AM, Anthony K wrote: > On 02/11/15 12:35, Tim Dunphy wrote: > >> Hey Gordon, >> >> Sorry, man my bad! Disabling the tty requirement for my sudo user does >> indeed work. I had a type-o in the sudoers file, and when I corrected

[CentOS] prefork vs worker mpm in apache

2015-11-03 Thread Tim Dunphy
Hey guys, We had to recompile apache 2.4.12 because we needed to disable thread safety in php (ZTS). Because for some reason when compiling php with the --disable-maintainer-zts with the worker mpm model and checking the php info page, it was saying that thread safety was still enabled. So when

[CentOS] LDAP create home directories

2015-12-19 Thread Tim Dunphy
Hey guys, I've setup an LDAP server on our network. I'm using OpenLDAP. It was really easy to use the authconfig-tui to generate the nsswitch.conf and ldap.conf files that would allow user authentication. But when users would log in, the system wasn't creating the home directories. I found

Re: [CentOS] LDAP create home directories

2015-12-19 Thread Tim Dunphy
backed ldap connection service on the clients. > On Dec 19, 2015 14:25, "Tim Dunphy" wrote: > > > Hey guys, > > > > I've setup an LDAP server on our network. I'm using OpenLDAP. > > > > It was really easy to use the authconfig-tui to gen

Re: [CentOS] LDAP create home directories

2015-12-19 Thread Tim Dunphy
_| |_| [odunphy@ops2 ~]$ Thanks for your help! Tim On Sat, Dec 19, 2015 at 4:49 PM, Bill Howe wrote: > Check /var/log/secure for why the directory is not able to be created. > > Might be selinux, is that enabled? (sestatus) > On Dec 19, 2015 15:40, "Ti

[CentOS] delete directories with find and exclude other directories

2016-02-03 Thread Tim Dunphy
Hi all, I'm attempting to delete some directories and I want to be able to exclude a directory called 'logs' from being deleted. This is my basic find operation (without the exclusion) # find . -type d |tail -10 ./d20160124-1120-df8mfb/deployments ./d20160124-1120-df8mfb/releases ./d20160131-16

[CentOS] logrotate script error

2016-03-05 Thread Tim Dunphy
Hey guys, I'm trying to rotate a logstash log that can grow pretty large. 3.4GB last I saw! And that's because the logrotate script I came up with didn't work. The error I get on a syntax check is this: #logrotate -f logstash size: '100M': No such file size: '100M': No such file size: '100M'

Re: [CentOS] logrotate script error

2016-03-05 Thread Tim Dunphy
` 2> /dev/null || true endscript } Thanks for the help! Tim On Sat, Mar 5, 2016 at 11:15 PM, Yamaban wrote: > On Sun, 6 Mar 2016 04:34, Tim Dunphy wrote: > > Hey guys, >> >> I'm trying to rotate a logstash log that can grow pretty large. 3.4GB last >&g

[CentOS] SELinux denies haproxy

2016-03-12 Thread Tim Dunphy
Hi all, I'm load balancing 4 mysql databases using HAProxy. The setup seems to be working pretty well. Except I keep seeing these messages turning up in syslog: Mar 12 22:11:31 db1 kernel: [6058125.959624] type=1400 audit(1457820691.824:3029129): avc: denied { name_connect } for pid=801 comm="ha

Re: [CentOS] SELinux denies haproxy

2016-03-12 Thread Tim Dunphy
information : > https://www.mankier.com/8/haproxy_selinux > > On Sun, Mar 13, 2016 at 2:05 AM, Alexander Dalloz > wrote: > > > Am 12.03.2016 um 23:18 schrieb Tim Dunphy: > > > >> Hi all, > >> > >> I'm load balancing 4 mysql databases using H

[CentOS] Apache/PHP Installation - opinions

2016-04-26 Thread Tim Dunphy
Hey guys, I tend to work on small production environments for a large enterprise. Never more than 15 web servers for most sites. But most are only 3 to 5 web servers. Depends on the needs of the client.I actually like to install Apache and PHP from source and by hand. Although I know that's cons

[CentOS] cheap cloud providors

2013-02-16 Thread Tim Dunphy
Hey guys, Apologies in advance if this question is in poor taste. But I've really fallen in love with learning about the cassanrdra database. The only problem is that it doesn't run very well on an t1.micro instance at amazon and the larger sizes are quite expensive. An m1.small can do the trick,

[CentOS] change sudoers remotely

2013-07-08 Thread Tim Dunphy
hello list, I've been asked to give someone sudo rights across an entire environment without the benefit of something like puppet or chef or cfengine et al. What I've come up with so far is this: ssh -t miaprbicsra04v sudo -S /bin/echo "rsherman ALL=\(ALL\) NOPASSWD: /sbin/service /bin/rm /usr

Re: [CentOS] change sudoers remotely

2013-07-08 Thread Tim Dunphy
>Assuming it's internet facing. It's NOT!! Luckily. :) Otherwise he'd be completely right. > Second, sudoers should ALWAYS be edited with visudo, and you might do a > here script >Hardly. If you're using any type of provisioning system with a tested >template this type of thing is trivial t

[CentOS] sudo add user script

2013-07-17 Thread Tim Dunphy
Hello list, I took another stab at finding a way to add a sudo user remotely and it gets you most of the way there. If you execute the script as root it works beautifully and does just what you want. Which is add the user to the group and gives that user group rights to certain commands. But if

[CentOS] if /else in expect script

2013-07-18 Thread Tim Dunphy
I took your suggestion and turned my (ill advised) sudoers bash script into an expect script! It works a lot better this way and is more secure. Because I'm not trying to store a password in a script (which I recognize as a bad idea anyway, I I think I've learned my lesson here). It really works

[CentOS] remote sudo script

2013-10-07 Thread Tim Dunphy
Hey guys, I'm trying to write a simple bash script that will cp a configuration file to a backup (with the date) remotely to a bunch of machines, using sudo with ssh. I notice that if I run the commands individually, they both work (albeit with some strange output I'd like to suppress): [tdunph

Re: [CentOS] remote sudo script

2013-10-07 Thread Tim Dunphy
ing that myself without ruffling some feathers. Otherwise thanks for the suggestions and keep 'em coming! On Tue, Oct 8, 2013 at 1:28 AM, John R Pierce wrote: > On 10/7/2013 7:51 PM, Tim Dunphy wrote: > > Any thoughts on how I should be going about this? > > use ssh keys rather tha

Re: [CentOS] remote sudo script

2013-10-08 Thread Tim Dunphy
udo] password for tdunphy:* listing the backup to verify success on host: MIAGRBIORCA01V tcgetattr: Inappropriate ioctl for device *[sudo] password for tdunphy: * Definitely open to any ideas at this point, this problem seems like a weird one to me! Again, sincere thanks to anyone offering sugge

[CentOS] ssh-askpass in bash script

2014-03-02 Thread Tim Dunphy
Hey all, I have ssh-askpass installed on Centos 5.7 and I'm trying to find a way to log into the host and not have it ask me to enter in my long / complex passphrase every time I ssh into another host. I've googled for some scripts that you can add to your bash configuration so that you won't ha

Re: [CentOS] ssh-askpass in bash script

2014-03-02 Thread Tim Dunphy
> > Why not just use authorized_keys with an empty pass phrase? Because that is discouraged due to security. Exactly right. I'm using authorized_keys on the remote host. But I have a long, complex passphrase on my private RSA key on my workstation. I think it's a little foolish to not do that,

Re: [CentOS] ssh-askpass in bash script

2014-03-02 Thread Tim Dunphy
> > By what you have said, it doesn't sound like you're caching things in the > keyring. For a day at work, I only ever have to enter my passphrase once > (unless I remotely connect to my desktop from another desktop to connect to > a server). Bingo! That's what I'm after. I too am using ssh-ag

Re: [CentOS] ssh-askpass in bash script

2014-03-02 Thread Tim Dunphy
rks great! Next question? what, you have an operator who hovers over the keyboard entering passphrases ? Yes. That would be me. On Sun, Mar 2, 2014 at 2:06 PM, John R Pierce wrote: > On 3/2/2014 10:55 AM, Tim Dunphy wrote: > > Exactly right. I'm using authorized_keys on

Re: [CentOS] ssh-askpass in bash script

2014-03-02 Thread Tim Dunphy
It's not that I don't trust my own private key. It's that NO private key is really very secure if it isn't password protected. On Sun, Mar 2, 2014 at 2:19 PM, Joseph Spenner wrote: > > > > On Mar 2, 2014, at 11:55 AM, Tim Dunphy wrote: > > > > &g

[CentOS] weird apache issue

2014-03-03 Thread Tim Dunphy
Hey all, I'm having a little bit of a weird issue on my web host. I was just wondering if anyone's seen anything like this before. The problem is that you can't seem to restart apache via the stock init script that comes with apache: [root@beta:~] #service httpd restart Stopping httpd:

Re: [CentOS] weird apache issue

2014-03-04 Thread Tim Dunphy
3/03/2014 05:01 PM, Johnny Hughes wrote: > > On 03/03/2014 03:28 PM, Tim Dunphy wrote: > >> Hey all, > >> > >> I'm having a little bit of a weird issue on my web host. I was just > >> wondering if anyone's seen anything like this before. > >

Re: [CentOS] weird apache issue

2014-03-07 Thread Tim Dunphy
#x27;[' -z '' ']' + base=httpd + __pids_var_run httpd /var/run/httpd/httpd.pid + local base=httpd + local pid_file=/var/run/httpd/httpd.pid + pid= + '[' -f /var/run/httpd/httpd.pid ']' + return 3 + '[' -n '' -a -z '' ']'

Re: [CentOS] weird apache issue

2014-03-07 Thread Tim Dunphy
G that could be causing the pid file to go missing. Does anyone have any suggestions on how I can track down why the pid file keeps disappearing? Thanks! Tim On Fri, Mar 7, 2014 at 7:32 AM, Tony Mountifield wrote: > In article < > caozy0en0x_wrbzkvjzupatymod7z_vtbomormukedknrwnf..

[CentOS] files mysteriously changing ownership

2014-05-07 Thread Tim Dunphy
We have a directory that holds the media for a website. We want that directory owned by the apache user and group. But for some reason that directory and all it's files keep reverting to being owned by a user account and group. [root@webservera ourwebsite]# ls -ld media/ drwxrwxr-x 163 user_a user

Re: [CentOS] files mysteriously changing ownership

2014-05-07 Thread Tim Dunphy
May 7, 2014 at 1:15 PM, Kwan Lowe wrote: > On Wed, May 7, 2014 at 1:08 PM, Tim Dunphy wrote: > > > We have a directory that holds the media for a website. We want that > > directory owned by the apache user and group. But for some reason that > > directory and all it&

Re: [CentOS] files mysteriously changing ownership

2014-05-07 Thread Tim Dunphy
The UID and Group belong to LDAP users on the system. On Wed, May 7, 2014 at 1:22 PM, Tim Dunphy wrote: > > What are the user IDs of the apache and user_a users? Are these local >> mounts or shares? >> I've seen a similar thing when t

[CentOS] find with exclude directory

2014-05-11 Thread Tim Dunphy
Hey all, I'm trying to do a find of all files with the phrase 'varnish' in the name, but want to exclude a user home directory called /usr/local/digitalplatform. Here's what I was able to come up with: find / -path '/usr/local/digitalplatform/*' -prune -o -name "*varnish*" Which results in thi

Re: [CentOS] find with exclude directory

2014-05-11 Thread Tim Dunphy
v would be a visual thing, but the above statement would delete everything including the varnish files in the digitalplatform directory. On Sun, May 11, 2014 at 12:39 PM, Hal Wigoda wrote: > Just grep it out. > > find . -print | grep -v digitalplatform > > -v excludes > >

Re: [CentOS] find with exclude directory

2014-05-11 Thread Tim Dunphy
rgs rm > > But test this first - you don't want to remove anything by accident. > > > On Sun, May 11, 2014 at 11:44 AM, Tim Dunphy wrote: > > Thanks. But what if I want to turn that statement into one that will > delete > > everything it finds? I need to pres

[CentOS] add time to log file for cron job

2014-05-23 Thread Tim Dunphy
Hey all, I'm trying to figure out a way to insert a timestamp into a log file I'm creating for a cron job I'm setting up: /usr/bin/rsync -v --min-size=1 -rlpgo -O --inplace /home/myuser/Get* r...@xx.x.xx.xx:/mnt/bravotv/media/compass 2>&1 >& /tmp/rsync_user.log I've googled this but all I could

Re: [CentOS] add time to log file for cron job

2014-05-23 Thread Tim Dunphy
Guys, This is what worked [root@uszmpwsld011 ~]# /usr/bin/rsync -v --min-size=1 -rlpgo -O --inplace /home/compassfeeduser/Get* r...@xx.xx.xx:/mnt/bravotv/media/compass | ts 2>&1 >& debug.txt [root@uszmpwsld011 ~]# cat debug.txt May 23 23:44:49 sending incremental file list May 23 23:44:49 May 2

[CentOS] files automatically changing permissionssdsds

2014-05-28 Thread Tim Dunphy
hello, I'm running apache 2.2.24 and php 5.2.17. The web site that it's service turns into a 403 Forbidden error every 5 minutes literally. I've found that doing a chmod -Rv 775 on the web root restores the site. However this is a band-aid and no real solution. I've combed through all the cron jo

Re: [CentOS] files automatically changing permissionssdsds

2014-05-28 Thread Tim Dunphy
> > I believe auditctl could help: > < > https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Security_Guide/sec-Defining_Audit_Rules_and_Controls.html > > > < > http://www.cyberciti.biz/tips/linux-audit-files-to-see-who-made-changes-to-a-file.html > > Thanks Barry..

Re: [CentOS] files automatically changing permissionssdsds

2014-05-28 Thread Tim Dunphy
20 a0=10176100 a1=0 a2=0 a3=f items=1 ppid=14096 pid=14114 auid=8018 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 tty=(none) ses=7457 comm="httpd" exe="/opt/apache2/bin/httpd" subj=user_u:system_r:unconfined_t:s0 key="shadow-file" Thanks Tim On

[CentOS] parsing out adjacent text

2014-06-03 Thread Tim Dunphy
hey all, I'm trying to figure out how to use apache's mod_status module to figure out which of the web servers in a farm of six are processing more requests than others. I'm writing a script to grep out requests per second from the status module like this: [root@uszmpwslp014lc ~]# GET http://

Re: [CentOS] parsing out adjacent text

2014-06-03 Thread Tim Dunphy
e script without having to use logrotate? I can use that, but I would prefer to do that from within the script if that's possib.e Thanks Tim On Tue, Jun 3, 2014 at 9:29 AM, Patrick Bervoets < patrick.bervo...@psc-elsene.be> wrote: > > op 03-06-14 15:18, schreef Tim Dunphy

Re: [CentOS] parsing out adjacent text

2014-06-03 Thread Tim Dunphy
indilis wrote: > On Tue, Jun 3, 2014 at 4:56 PM, Tim Dunphy wrote: > > > Guys, > > > > Thank you all for your input. I can't believe how helpful this list is > and > > I'm very grateful. Ok so here is what I have so far of my script to get >

Re: [CentOS] parsing out adjacent text

2014-06-03 Thread Tim Dunphy
te: 06/03/14 10:24:09 instead of Time and date: 06/03/14 10:24:09 As it is now. Also I'm trying to print out newlines with echo -e "\n" but somehow that isn't working. Tho I think I've gotten that to work in the past. If someone could please help me fix these minor forma

Re: [CentOS] parsing out adjacent text

2014-06-03 Thread Tim Dunphy
d thanks for everyone's help! Tim On Tue, Jun 3, 2014 at 10:43 AM, Patrick Bervoets < patrick.bervo...@psc-elsene.be> wrote: > > op 03-06-14 16:32, schreef Tim Dunphy: > > What I need to figure out at this point is how to get the time and date >> info on the same line as

[CentOS] apache server-status permission denied

2014-06-09 Thread Tim Dunphy
Hey all, I'm having a slightly weird issue with apache server-status on just one of my nodes. In my httpd.conf I have the following: SetHandler server-status Order deny,allow Deny from all Allow from 127.0.0.1 10.10.160 If I do a ps grep I know that I'm using the right co

Re: [CentOS] apache server-status permission denied

2014-06-09 Thread Tim Dunphy
0.1.160 Port 80 Any further thoughts? Thanks On Mon, Jun 9, 2014 at 10:23 PM, Steven Tardy wrote: > 10.10.160 != 10.10.1.160 > the GET is probably going across ethx interface instead of lo interface. > > > On Mon, Jun 9, 2014 at 9:56 PM, Tim Dunphy wrote: > > > Hey a

Re: [CentOS] apache server-status permission denied

2014-06-09 Thread Tim Dunphy
non-working server? > > > On Mon, Jun 9, 2014 at 10:44 PM, Tim Dunphy wrote: > > > Ok lets' try this again. I set the following in httpd.conf: > > > > > > SetHandler server-status > > Order deny,allow > > Deny from all > > Al

[CentOS] umask setting in /etc/profile not working

2014-06-11 Thread Tim Dunphy
Hey all, We have the following set in /etc/profile : umask 0002 so that it will affect all users. That should create all files as 664 and all directories as 775 if I'm not mistaken. Well I logged into the machine after this was set and just created a file as one of the users who complained abo

Re: [CentOS] umask setting in /etc/profile not working

2014-06-11 Thread Tim Dunphy
t I just solve that problem with a sticky bit, i.e. chmod -R u+s * and chmod -R g+s *? And as mentioned I have only one umask set in /etc/profile [root@qa_hostapps]# grep umask /etc/profile umask 0002 Thanks On Wed, Jun 11, 2014 at 10:30 AM, zep wrote: > > On 06/11/2014 10:14 AM, Tim Dunp

Re: [CentOS] umask setting in /etc/profile not working

2014-06-11 Thread Tim Dunphy
> > >On another related question... the user is also complaining about > ownership > >of files and directories. Couldn't I just solve that problem with a sticky > >bit, i.e. chmod -R u+s * and chmod -R g+s *? > possibly; although you can also screw things up pretty well if > the user has done somet

[CentOS] dumb developer explodes yum

2014-06-14 Thread Tim Dunphy
hey guys, One of our developers DESTROYED both yum and rpm on one of the development machines with an rm command. And guess who's lucky enough to get to fix this mess? *raises hand* So I hope y'all don't mind me turning to you once again for some advice. You've been wonderful in the past. Pavlov

[CentOS] apr buildconf fails

2014-06-14 Thread Tim Dunphy
Guys, I'm trying to install apr-util on centos 5.7. And it's failing with a python error: buildconf: generating 'make' outputs ... Traceback (most recent call last): File "build/gen-build.py", line 230, in main() File "build/gen-build.py", line 56, in main h_deps[os.path.basename(f

Re: [CentOS] dumb developer explodes yum

2014-06-14 Thread Tim Dunphy
.125-3.el5.i386 On Sat, Jun 14, 2014 at 8:25 PM, Stephen Harris wrote: > On Sat, Jun 14, 2014 at 08:14:43PM -0400, Tim Dunphy wrote: > > rpm-libs-4.4.2-37.el5.i386.rpm > > > > Asks for a bunch of libraries. > > > > This is what I see when I try: > > > >

Re: [CentOS] apr buildconf fails

2014-06-14 Thread Tim Dunphy
L -- NOT OK Thanks Tim On Sat, Jun 14, 2014 at 11:08 PM, Alexander Dalloz wrote: > Am 15.06.2014 04:38, schrieb Tim Dunphy: > > Guys, > > > > > > I'm trying to install apr-util on centos 5.7. And it's failing with a > > python error: > > Cen

Re: [CentOS] dumb developer explodes yum

2014-06-15 Thread Tim Dunphy
the versions you need are already there? :/ On Sat, Jun 14, 2014 at 11:04 PM, Alexander Dalloz wrote: > Am 15.06.2014 02:14, schrieb Tim Dunphy: > > But now I am trying with elfutils-libelf-0.125-3.el5.i386.rpm and I am > > getting this confusing message: > > > > [ro

[CentOS] enable caching in apache

2014-07-07 Thread Tim Dunphy
hey all, I am serving up a couple of sites using apache with varnish sitting in front of it. When I check the headers for the site, this is what I'm seeing: [root@ops:~] #curl -I http://ref.mydomain.com/ HTTP/1.1 200 OK Server: Apache/2.2.15 (CentOS) X-Powered-By: PHP/5.6.0-dev Set-Cookie: PHP

[CentOS] failure building memcached rpm

2014-08-19 Thread Tim Dunphy
Hi all, I need to install the latest memcached version (1.4.20) on a number of machines in this environment. There are only rpm's of this app for RHEL 6. But we need to install the latest memcached on a number of RHEL 5 machines. To be specific, they are OEL 5.7 hosts. I've installed all of the

[CentOS] why does centos 7 want to install mariadb instead of mysql ?

2014-08-30 Thread Tim Dunphy
Hey all, I just got around to trying out CentOS 7. And for some reason when I attempt to install mysql-server, instead I'm offered mariadb? I'm using epel and remi as my repos. [root@web1:/etc/yum.repos.d] #cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) [root@web1:/e

[CentOS] mairadb doesn't prompt for user/pass

2014-08-30 Thread Tim Dunphy
Hello, I discovered today that CentOS 7 has replaced MySQL with MariaDB. Which is fine, it's seems really similar. And I was already aware that it was written by the original team that wrote mysql. It's cool that the mysql command still gets you in! This is the version I have: [root@web1:~] #m

Re: [CentOS] mairadb doesn't prompt for user/pass

2014-08-30 Thread Tim Dunphy
ork. The traditional mysql approach did. Thanks again! On Sat, Aug 30, 2014 at 11:44 PM, Steven Stern < subscribed-li...@sterndata.com> wrote: > On 08/30/2014 10:12 PM, Tim Dunphy wrote: > > Hello, > > > > I discovered today that CentOS 7 has replaced MySQL with MariaD

Re: [CentOS] mairadb doesn't prompt for user/pass

2014-09-01 Thread Tim Dunphy
> > you need to run > http://dev.mysql.com/doc/refman/5.0/en/mysql-secure-installation.html > (mysql_secure_installation) command from commandline Ok thanks, Ero! On Sun, Aug 31, 2014 at 7:06 AM, Eero Volotinen wrote: > 2014-08-31 6:12 GMT+03:00 Tim Dunphy : > >

[CentOS] gpg can't decrypt message

2014-10-01 Thread Tim Dunphy
ted: [root@ops:~] #gpg --list-keys /root/.gnupg/pubring.gpg pub 1024D/F186197B 2010-11-30 uid Tim Dunphy sub 2048g/B712B288 2010-11-30 Tim Dunphy *pub 2048R/9E0AD649 2014-10-01 [expires: 2016-10-01]* *uid Roger

Re: [CentOS] gpg can't decrypt message

2014-10-01 Thread Tim Dunphy
, October 1, 2014 10:19 am, Nicolas Thierry-Mieg wrote: >>>> >>>>> >>>>> >>>>> On 10/01/2014 05:16 PM, Nicolas Thierry-Mieg wrote: >>>>> >>>>>> On 10/01/2014 04:58 PM, Tim Dunphy wrote: >>>>>>

[CentOS] massive load caused by smartvd

2014-10-03 Thread Tim Dunphy
Hey all, I noticed that my puppet server running CentOS 6.5 was acting a little pokey. So I logged in and did what well just about anyone would've done. And ran the uptime command to have a look at the load. And it was astonishingly high! [root@puppet:~] #uptime 21:28:01 up 1:26, 3 users,

Re: [CentOS] massive load caused by smartvd

2014-10-04 Thread Tim Dunphy
td and > whitptabil and they appear to be potential malware. Does a PS faux | grep > smarvtd return a full path to the file that is running? How about top -c? > > — > Sent from Mailbox > > On Fri, Oct 3, 2014 at 9:35 PM, Tim Dunphy wrote: > > > Hey all, > > I no

Re: [CentOS] massive load caused by smartvd

2014-10-04 Thread Tim Dunphy
> > Since this was your puppet server, you might also want to check to see if > the intrusion has spread to your other machines, it's possible the attacker > didn't notice or that the attack was fully automated, but you should read > through the puppet configs and see if there are any commands bein

[CentOS] rsync question: building list taking forever

2014-10-19 Thread Tim Dunphy
Guys, I've setup an rsync between two directories that I've mounted locally on a jump box. Long story short, the two directories are both NFS shares from two different hosts. Our security dept won't allow us to SSH between the two data centers, directly. But the jump host can contact both. So wha

Re: [CentOS] rsync question: building list taking forever

2014-10-19 Thread Tim Dunphy
+03:00 Eero Volotinen : > > > > > > > 2014-10-19 18:55 GMT+03:00 Tim Dunphy : > > > >> Guys, > >> > >> I've setup an rsync between two directories that I've mounted locally > on > >> a > >> jump box. Long story short

Re: [CentOS] rsync question: building list taking forever

2014-10-19 Thread Tim Dunphy
> > > Don't forget that the time taken to build the file list is a function of > > the number of files present, and not their size. If you have many > millions > > of small files, it will indeed take a very long time. Over sshfs with > > a slowish link, it could be days. > > > > and it may end

[CentOS] find troubles

2014-10-28 Thread Tim Dunphy
Hey guys, Sorry not sure what's wrong with this statement. I've tried a few variations of trying to exclude the /var/www directory. [root@224432-24 apr-1.5.1]# find / -name "*httpd*" -type d \( ! -name www \) /usr/lib/httpd /usr/lib64/httpd /var/www/vhosts/johnnyenglish/httpdocs /var/www/lpadde

Re: [CentOS] find troubles

2014-10-28 Thread Tim Dunphy
d doesn't do anything too scary. Thanks Tim On Tue, Oct 28, 2014 at 5:11 PM, Chris Geldenhuis wrote: > On 10/28/2014 11:00 PM, Tim Dunphy wrote: > >> Hey guys, >> >> Sorry not sure what's wrong with this statement. I've tried a few >> variations of

Re: [CentOS] find troubles

2014-10-28 Thread Tim Dunphy
e is just to remove any stray bits of httpd that are left on the system before I do a source install. It's what the client wants. thanks tim On Tue, Oct 28, 2014 at 5:20 PM, Eero Volotinen wrote: > 2014-10-28 23:00 GMT+02:00 Tim Dunphy : > > > Hey guys, > > > >

[CentOS] Apache server-status file not found

2014-11-04 Thread Tim Dunphy
Hi All, I tried enabling server-status on this one server. I used the same server-status definition that we normally do around here. It usually works. But this time it isn't. What happens is that when I do a GET on server-status and the IP, it results in a file not found error. [root@224432-27

Re: [CentOS] Apache server-status file not found

2014-11-04 Thread Tim Dunphy
> > working for me. Did you restart httpd ? yeah! definitely of course. :) On Tue, Nov 4, 2014 at 11:38 AM, Tony Schreiner wrote: > working for me. Did you restart httpd ? > > On Tue, Nov 4, 2014 at 11:06 AM, Tim Dunphy wrote: > > > Hi All, > > > > I trie

[CentOS] apache 2.4.10 error on centos 5.7

2014-11-05 Thread Tim Dunphy
Hey guys, I realize this release is a little old. But I'm hoping to get some help with this anyway if that's cool. This is my employer's box and I don't have the option of upgrading it. I installed apr 1.5.1 and apr-util 1.5.4. Then downloaded the source for apache 2.4.10 for a project that I'm

[CentOS] LDAP authentication using nssov

2014-11-09 Thread Tim Dunphy
Hey all, I've been googling for a bit trying to find a decent guide that helps you setup LDAP authentication via nssov. And so far haven't been able to find anything. Does anyone out there happen to know of a guide that would help me do this under CentOS 6.5? Thanks Tim -- GPG me!! gpg --keys

Re: [CentOS] LDAP authentication using nssov

2014-11-09 Thread Tim Dunphy
> > How about using authconfig ? Sure! I'm willing to give that a try. Thanks for the suggestion. I'll look it up. Tim On Sun, Nov 9, 2014 at 5:24 PM, Eero Volotinen wrote: > 2014-11-09 22:46 GMT+02:00 Tim Dunphy : > > > Hey all, > > > > I've be

Re: [CentOS] LDAP authentication using nssov

2014-11-09 Thread Tim Dunphy
te: > > https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-Configuring_Authentication.html > 10.11.2014 4.03 kirjoitti "Tim Dunphy" : > > > > > > > How about using authconfig ? > > > > > > Sure! I'

[CentOS] downloading postfix srpm

2012-03-24 Thread Tim Dunphy
guys, for some reason this is just eluding me. I need to download a source rpm for postfix as I've done many times in the past. But when I go to the available packages section of the postfix site and click on my architecture this is what I see: http://ftp.wl0.org/official/2.9/RPMS-rhel5-x86_64/

Re: [CentOS] downloading postfix srpm

2012-03-24 Thread Tim Dunphy
great! thanks guys! On Sat, Mar 24, 2012 at 7:58 PM, Johnny Hughes wrote: > On 03/24/2012 06:51 PM, Tim Dunphy wrote: >> guys, >> >>  for some reason this is just eluding me. I need to download a source >> rpm for postfix as I've done many times in the past. B

[CentOS] build postfix rpm with mysql

2012-03-24 Thread Tim Dunphy
hello list, I'm trying to build a postfix rpm that has mysql support included. I've found the line where I need to define mysql support but it seems that I am being tripped up by some build dependencies: [root@beta SPECS]# rpmbuild -ba postfix.spec error: Failed build dependencies: MySQ

Re: [CentOS] build postfix rpm with mysql

2012-03-24 Thread Tim Dunphy
libmysqlclient.so.18 => /usr/lib64/mysql/libmysqlclient.so.18 (0x2ae575b3b000) Wish me luck! :) tim On Sat, Mar 24, 2012 at 10:32 PM, Tim Dunphy wrote: > hello list, > >  I'm trying to build a postfix rpm that has mysql support included. > I've found the line where I nee

[CentOS] nodejs based website

2012-06-03 Thread Tim Dunphy
Hello, I am trying to setup a node.js based website called 'hummingbird'. It's a monitoring package that you can read about here: http://projects.nuttnet.net/hummingbird/ My question is when I hit the site all I see is a directory listing http://107.21.183.42/hummingbird/ Similar to what wo

Re: [CentOS] nodejs based website

2012-06-03 Thread Tim Dunphy
awesome! thank edo! that got the interface working.. now just to configure it. thanks for pointing me in the right direction!! tim On Mon, Jun 4, 2012 at 12:03 AM, Edo wrote: > Hi, > > This is probably OT but... > > > On Monday, June 4, 2012 at 12:42 PM, Tim Dunphy wrote: >

[CentOS] basic auth fails

2012-06-21 Thread Tim Dunphy
Hello, I've setup apache basic auth on by web server to protect my nagios site. It's been working just fine, but suddenly it stopped accepting passwords even tho they are being typed in correctly. I was wondering if I could get some advice on how to troubleshoot this? I'm on a centos 5.4 machin

[CentOS] installing centos 6 on an old bird

2012-07-11 Thread Tim Dunphy
Guys, I've been trying to install centos 6.2, then 6.3 onto a supermicro 6013P-8 which does not have a DVD rom drive. Those newer version of CentOS only have DVD (not CD) iso versions so I've been sharing the install via NFS. With each try the install hangs forever installing 'selinux-policy-ta

Re: [CentOS] installing centos 6 on an old bird

2012-07-12 Thread Tim Dunphy
>What if you symlink the shared nfs dir to /var/www/html/somedir and try >the http protocol? May help? Already tried using http, and got the same result. I don't think, therefore, that the method of install is the problem at all. I think there may be some hardware compatibility problem with that

Re: [CentOS] installing centos 6 on an old bird

2012-07-16 Thread Tim Dunphy
hey guys, sorry it took so long to get back to you. But I was finally able to do this. To recap: >Are you absolutely sure the install hangs forever? How long is forever? I have noticed too that at the end of the >installation, the system seems hung for quite some time on this package (or wh

[CentOS] find errors in a directory of files

2012-08-04 Thread Tim Dunphy
hello list, I'm trying to write a script that will search through a directory of trace logs for an oracle database. From what I understand new files are always being created in the directory and it's not possible to know the exact names of the files before they are created. The purpose of this is

[CentOS] updatedb taking too long

2012-08-28 Thread Tim Dunphy
Hi list For some reason mlocate is taking a long time when I run the updatedb command. Have a look! [root@beta:~] #time updatedb real19m48.729s user0m0.400s sys 0m2.728s It's not a big volume by any means [root@beta:~] #df -h FilesystemSize Used Avail Use% Mounted on /

Re: [CentOS] Log viewing and analysis tools

2012-08-28 Thread Tim Dunphy
Need to analyze logs? Have a look at splunk! http://www.splunk.com/ Not sure why anyone would use anything else to tell the truth. :) On Tue, Aug 28, 2012 at 11:49 AM, Joseph Spenner wrote: > From: David McGuffey > > To: centos@centos.org > Sent: Tuesday, August 28, 2012 2:51 AM > Subject: [Ce

[CentOS] s3 as mysql directory

2012-10-01 Thread Tim Dunphy
Hello list, I am soliciting opinion here as opposed technical help with an idea I have. I've setup a bacula backup system on an AWS volume. Bacula stores a LOT of information in it's mysql database (in my setup, you can also use postgres or sqlite if you chose). Since I've started doing this I no

Re: [CentOS] s3 as mysql directory

2012-10-01 Thread Tim Dunphy
st is there any reason it won't work to use a locally mounted S3 bucket as your mysql data dir? Considering that s3fs makes your bucket act like a regular volume. Any thoughts? Thanks! Tim On Mon, Oct 1, 2012 at 2:39 PM, Nux! wrote: > On 01.10.2012 19:24, Tim Dunphy wrote: > >

[CentOS] ElasticSearch Logrotate not working

2016-07-28 Thread Tim Dunphy
Hey guys, I have this log rotation script setup in my /etc/logrotate.d folder /var/log/elasticsearch/*.log { daily rotate 100 size 50M copytruncate compress delaycompress missingok notifempty create 644 elasticsearch elasticsearch } And I notice that log file

Re: [CentOS] ElasticSearch Logrotate not working

2016-08-02 Thread Tim Dunphy
ok, good advice! thanks! On Thu, Jul 28, 2016 at 2:06 PM, Thomas Eriksson < thomas.eriks...@slac.stanford.edu> wrote: > On 07/28/2016 07:40 AM, Tim Dunphy wrote: > > Hey guys, > > > > I have this log rotation script setup in my /etc/logrotate.d folder > >

[CentOS] mount.nfs: an incorrect mount option was specified

2016-10-03 Thread Tim Dunphy
Hey guys, My NFS server has been working really well for a long time now. Both client and server run CentOS 7.2. However when I just had to remount one of my home directories on an NFS client, I'm now getting the error when I run mount -a mount.nfs: an incorrect mount option was specified Th

<    1   2   3   4   >