search for: dunphy

Displaying 20 results from an estimated 310 matches for "dunphy".

2015 Feb 03
5
user nobody can't access file
Hey guys, I need to give the 'nobody' user (which is what our apache runs as) no password access to a file, via sudo. This is what I've tried: nobody ALL=(ALL) NOPASSWD: /var/www/qa/launchpadnew/site/ftp_check.php But if I become the nobody user and try to access the file, it tries to prompt me for a password: -bash-3.2$ php /var/www/qa/launchpadnew/site/ftp_check.php [sudo]
2015 Apr 20
4
bash script fails conditional test
...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 <centos at u64.u22.net> wrote: > > On Sun, 2015-04-19 at 13:15 -0400, Tim Dunphy wrote: > > 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. > > Insert an extra line after #!...
2015 Jan 16
5
favorite cheap VPS services
Hey all, I'm trying to learn how to use some of the big data stores. Specifically I want to learn how to use CassandraDB and Hadoop. Originally I'd had the idea of trying to setup a cassandra ring on the Amazon AWS free tier. However it seems that neither will run on a t2.micro instance. So I was wondering.. what are some really cheap VPS services that you like to use for one off
2015 Jan 22
2
SELinux permissions for apache
...t is > set to enforce, which really locks it down. > > cd /etc/selinux > > edit the config file and change SELUNIX=enforcing to SELUNIX=permissive > > Save the file and restart httpd, you should be fine.. > > john plemons > > > > > On 1/22/2015 1:36 PM, Tim Dunphy wrote: > >> Hey Jeremy, >> >> >> >> Have you tried changing the folder where it's writing into with these >>> lables? httpd_sys_content_rw_t or httpd_user_content_rw_t >>> >> >> Adding 'rw' to the command did the trick. I...
2014 Oct 01
3
gpg can't decrypt message
...uot; *gpg: encrypted with RSA key, ID 9A41C766* *gpg: decryption failed: secret key not available* Here's a listing of keys that shows his key imported: [root at ops:~] #gpg --list-keys /root/.gnupg/pubring.gpg ------------------------ pub 1024D/F186197B 2010-11-30 uid Tim Dunphy <bluethundr at gmail.com> sub 2048g/B712B288 2010-11-30 Tim Dunphy <bluethundr at gmail.com> *pub 2048R/9E0AD649 2014-10-01 [expires: 2016-10-01]* *uid Roger Sherman <rsherman at viddler.com <rsherman at viddler.com>>* *sub 2048R/961...
2015 Aug 28
2
camgirl spam on the list
Hey Fabian, Here's the headers for one of the spam responses I got from the list: from:Tracy <tracy12614 at safeloves.com>reply-to:tracy12614 at safeloves.com to:Tim Dunphy <bluethundr at gmail.com> 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 was sent directly to you. Please let me know if that's not what you're looking for! Thanks, Tim On F...
2015 Mar 22
3
error building apr-util spec file
...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 <peter at pajamian.dhs.org> wrote: > On 03/23/2015 09:03 AM, Tim Dunphy wrote: > > 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. > > > > checking for Berkeley DB 1 in the standard places... > > ch...
2015 Mar 02
4
selinux allow FTP
2015-03-03 0:43 GMT+02:00 Tim Dunphy <bluethundr at gmail.com>: > > > > errr, I meant, sftp, not rscp > > > Heh.. yeah. But the client isn't gonna go for that. LOL. Any way to allow > regular ol' FTP using SELinux? Or does that just defeat the purpose of > having a secure SELlinux server ent...
2015 Jun 24
8
rsyncing directories - sanity check
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'm syncing the contents of both directories to a different place, and I'm going swap
2015 Aug 15
2
wordpess can't connect to DB but mediawiki can
...hy neither my php script nor wordpress are able to connect to the db. It's really strange how that's happening! On Sat, Aug 15, 2015 at 6:12 PM, Richard <lists-centos at listmail.innovate.net > wrote: > > > Date: Saturday, August 15, 2015 17:57:03 -0400 > > From: Tim Dunphy <bluethundr at gmail.com> > > >> > >> [this isn't really a centos issue, even if you're using centos, > >> which isn't obvious. that said ...] > > > > > > Yeah that's true. But this list tends to be rather helpful for > > g...
2011 Mar 07
3
yum tries to install a mix of architectures
Hello, On my centos boxes whenever I try to install packages I get a mix of packages from the repos that are both i386 and x86_64 in archictecture: =============================================================================================================================================================================================================== Package
2015 Apr 19
4
bash script fails conditional test
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 '{print $2}') if [[ -e $pid ]] then echo "Cassandra is running with pid:
2011 May 03
5
virtdown script
hello list! I have a small shell script that I wrote that is meant to quickly bring down all of my xen instances in a quick and easy manner. Odd thing is, it does work on the command line. But if I put it into a script this happens: [root at LCENT03:/home/bluethundr/bin] #virtdown > it expects another command to happen. which is odd since all of the text delimiters (" and ') are
2015 Oct 31
3
use pssh to restart a service
...nge to disable tty: [root at 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 <gordon.messmer at gmail.com> wrote: > On 10/31/2015 02:04 PM, Tim Dunphy wrote: > >> pssh -h es_list "/bin/sudo -S /bin/systemctl restart elasticsearch" >> > > The default configuration prohibits use if input echo can't be disabled. > That means no "-S". > > I modify that for users where necessary: > > /etc/s...
2015 Aug 25
6
echo password into bash script
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 "xfring key up" echo $dps_pass | $scp $PUB
2015 Aug 16
2
wordpess can't connect to DB but mediawiki can
...lists-centos at listmail.innovate.net> wrote: > You were doing this (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 <bluethundr at gmail.com> > > To: CentOS mailing list <centos at centos.org> > > Subject: Re: [CentOS] wordpess can't connect to DB but mediawiki > can > > > >> > >> "Use" that db and then issue: > >> select * from db where...
2015 Jan 22
2
SELinux permissions for apache
...Thanks for the tip! Tim On Thu, Jan 22, 2015 at 1:19 PM, Jeremy Hoel <jthoel at gmail.com> wrote: > Have you tried changing the folder where it's writing into with these > lables? httpd_sys_content_rw_t or httpd_user_content_rw_t > > On Thu, Jan 22, 2015 at 11:09 AM, Tim Dunphy <bluethundr at gmail.com> wrote: > > > Hey all, > > > > I have a simple php app working that writes some info to a text file. > The > > app will only work correctly if SELinux is disabled. If it's enabled and > > try to use the app, it fails. It seems...
2016 Feb 03
6
delete directories with find and exclude other directories
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-16993-vazqg5 ./d20160131-16993-vazqg5/metadata ./d20160131-16993-vazqg5/deployments
2015 Aug 27
7
apache mysterious 404 error
...egrep -i "user|group" conf/httpd.conf | egrep -i -v -e '#' -e log -e module User daemon Group daemon All the files are owned by daemon:daemon!! So why on earth are these files giving a 404? This is my virtual host for the site: <VirtualHost *> ServerAdmin timothy.dunphy at mycomany.com DocumentRoot /var/www/mycomanystore ServerName stage.theshopatmycomanystudios.com ServerAlias 173.213.219.48 ErrorLog logs/store_error_log LogFormat "%h %l %u %t \"%r\" %>s %b" common CustomLog logs/store_access_log common &l...
2015 Aug 28
5
camgirl spam on the list
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 something the admins/moderators can take care of! Thanks, Tim -- GPG me!! gpg --keyserver