[CentOS] curious reboot output

2011-01-22 Thread Tim Dunphy
Hello list! I was just curious about the output of a command I typed. [root@LCENT02:~] #last reboot | head -1 reboot system boot 2.6.18-194.26.1. Wed Dec 29 20:03 (24+01:33) This is odd because this machine was rebuilt today (Saturday 1/22) in mid afternoon. Just curious how the out

[CentOS] py-yaml complaints from yum

2011-01-29 Thread Tim Dunphy
hello list!! I'm having a curious issue.. if I type yum update -y the system complains of a PyYAML dependency: --> Finished Dependency Resolution PyYAML-3.08-4.el5.x86_64 from installed has depsolving problems --> Missing Dependency: libyaml-0.so.1()(64bit) is needed by package PyYAML-3.08-4.e

[CentOS] yum is b0rked

2011-02-08 Thread Tim Dunphy
hello centos.. my yum is b0rked... [root@VIRTCENT03:~] #yum repolist Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummai

[CentOS] initlog is deprecated

2011-02-20 Thread Tim Dunphy
Hello Centos, I am getting an error that I am not familiar with when I restart ssh. [root@virtcent01:~] #service sshd restart Stopping sshd: [ OK ] Starting sshd:WARNING: initlog is deprecated and will be removed in a future release

Re: [CentOS] initlog is deprecated

2011-02-20 Thread Tim Dunphy
Hey guys, good call! yes this is a custom ssh. It's a version that has LPK capabilities (LDAP public keys) included. It is the product of an rpm built from a spec file and tarball that was patched with LPK. [root@LCENT01:~] #rpm -qa | grep ssh openssh-askpass-gnome-5.6p1-7.el5.em2 openssh-askp

[CentOS] openldap problems authenticating

2011-02-22 Thread Tim Dunphy
Hello list, I am running an openldap 2.4 server under FreeBSD that was working well until the config was tweaked by someone on the team without properly documenting their work # /usr/local/etc/ldap.con on ldap server (FreeBSD 8.1) host LBSD.summitnjhome.com base dc=summitnjhome,dc=com sudoers_ba

Re: [CentOS] Load balancing...

2011-03-04 Thread Tim Dunphy
>OK, so what's good? For my requirements, HAProxy is excellent. It > handled sticky sessions well, performs monitoring of each host, allows > dynamic adding/removing of servers, as well as maintenance modes. > It's very easy to install and configure. I'm using is as the backend > to apache that

Re: [CentOS] Load balancing...

2011-03-04 Thread Tim Dunphy
ointed out just setup a virtual ip using keepalived (or heartbeat or maybe something similar) and point your A record to that virtual ip. On Fri, Mar 4, 2011 at 11:17 AM, Tim Dunphy wrote: >>OK, so what's good?  For my requirements, HAProxy is excellent.  It >> handled sti

Re: [CentOS] Load balancing...

2011-03-06 Thread Tim Dunphy
an interesting choice for low cost hardware load balancing appliances is coyote point http://www.coyotepoint.com/products/?gclid=CI6ri9jQu6cCFQbc4Aodmi1V4Q however for my purpose open and free HAProxy remains best choice!! On Sun, Mar 6, 2011 at 9:22 PM, Charles Polisher wrote: > m.r...@5-cent.

[CentOS] yum tries to install a mix of architectures

2011-03-07 Thread Tim Dunphy
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:

Re: [CentOS] yum tries to install a mix of architectures

2011-03-08 Thread Tim Dunphy
> On Mar 7, 2011, at 9:41 AM, Tim Dunphy wrote: > >> 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: > > Yum doesn't implicitly know if you want the 64 or 32-bit versio

Re: [CentOS] yum tries to install a mix of architectures

2011-03-08 Thread Tim Dunphy
ok that's great! thank you! On Tue, Mar 8, 2011 at 10:29 AM, compdoc wrote: >>But my question remains is there any way to instruct >>yum to automatically select the right package architecture >>through a setting in one of the config files rather than >>having to specify which architecture you are

Re: [CentOS] yum tries to install a mix of architectures

2011-03-11 Thread Tim Dunphy
This is pretty much the most useful thread I've ever been a part of on the CentOS mailing list!! Thanks a ton to everyone who helped!! Also the senior SA I work with gave me this little gem today: yum -y remove $(yum list installed | awk '{print $1}'| egrep -v "(x86_64|noarch)") But of cour

[CentOS] install specific version using yum

2011-03-15 Thread Tim Dunphy
Hello list! I have been instructed to install very specific version numbers of httpd and php on the company web servers. Here's what I've tried so far [root@ec2-50-17-114-126 ~]# yum install php-5.2.17-1.w5.i386 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons:

[CentOS] exclude the latest php

2011-03-21 Thread Tim Dunphy
hey guys, I'm attempting to install php 5.2.7 using the webtatic repo.. but it looks like my exclude isn't working.. I'd appreciate it if someone could point out the mistake I'm making/flaw in my approach... ## machine info [root@ec2-174-129-154-179 yum.repos.d]# cat /etc/redhat-release CentOS

[CentOS] nlockdmgr listen on privileged port

2011-03-30 Thread Tim Dunphy
hey list! I am attempting to shore up some centos machines (ranging from centos 5 to centos 5.4) for pci compliance by changing the port that nlockdmgr listens on to function under a privileged port. So what I did was try to hardcode the port by editing /etc/sysconfig/nfs # TCP port rpc.lock

Re: [CentOS] nlockdmgr listen on privileged port

2011-03-31 Thread Tim Dunphy
oh a wise guy, eh?? nyuk nyuk nyuk nyuk! :p On Thu, Mar 31, 2011 at 3:29 AM, Tony Molloy wrote: > On Wednesday 30 March 2011 20:35:13 Tim Dunphy wrote: > >> hey list! > >> > >> I am attempting to shore up some centos machines (ranging from centos > >>

[CentOS] timezone issue

2011-04-16 Thread Tim Dunphy
hey list! having a slightly odd time issue on one host... can I get some help with this? This is the current time from a working system: Sun Apr 17 00:28:18 EDT 2011 However from the problem system this is the time: Sat Apr 16 20:30:01 EDT 2011 I have set the time zone as such: lrwxrwxrwx

[CentOS] virtdown script

2011-05-03 Thread Tim Dunphy
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@LCENT03:/home/bluethundr/bin] #virtdown > it expects a

Re: [CentOS] virtdown script

2011-05-03 Thread Tim Dunphy
ing list" Sent: Tuesday, May 3, 2011 1:33:14 PM Subject: Re: [CentOS] virtdown script On 05/03/2011 09:39 AM, Tim Dunphy wrote: > virsh list | grep -v -e Id -e --- -e Domain-0 | awk '{print $1}' Do you want the "ID Number" or the "Name" to pass in? That gives you

[CentOS] ganglia failing dependency

2011-10-08 Thread Tim Dunphy
hello list, I'm trying to install ganglia-gmetad on centos 5.6. rrdtool is already installed and librrd is there. But for some reason when I go to install this package it doesn't see that it is. [root@VIRTCENT11:/usr/local/src/ganglia-3.2.0] #yum install ganglia-gmetad Loaded plugins: fastestmi

[CentOS] haproxy ssl

2011-10-17 Thread Tim Dunphy
hello list, I am attempting to load balance SSL web servers using haproxy on centos 5.7. I am using HA-Proxy version 1.4.18 Here is the stanza in the config regarding SSL: listen https 192.168.1.200:443 mode tcp balance roundrobin option forwardfor except 192.16

[CentOS] build postfix spec w/ mysql

2011-11-19 Thread Tim Dunphy
hello list! I am attempting to build an rpm of postfix that includes support for mysql. I've done this before with earlier versions on postfix but I am staring at this spec file until my eyes bleed and I just don't see why when I build the spec with rpmbuild mysql support isn't there. After

Re: [CentOS] build postfix spec w/ mysql

2011-11-19 Thread Tim Dunphy
d and not found the answer. thanks tim - Original Message - From: "David Goldsmith" To: centos@centos.org Sent: Saturday, November 19, 2011 1:47:00 PM Subject: Re: [CentOS] build postfix spec w/ mysql -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/19/2011 1:11 PM, Tim D

Re: [CentOS] build postfix spec w/ mysql

2011-11-19 Thread Tim Dunphy
ok sorry for the oversight and thanks for the explanation. best! tim - Original Message - From: "Alexander Dalloz" To: "CentOS mailing list" Sent: Saturday, November 19, 2011 2:10:14 PM Subject: Re: [CentOS] build postfix spec w/ mysql Am 19.11.2011 19:11, schrieb

[CentOS] syncing imap servers with imapsync

2011-12-03 Thread Tim Dunphy
hello list, I am attempting to sync two imap servers using the imapsync perl script. It seems handy and easy. Here's what happens when I try to do this: # # Postfix master process configuration file. For details on the format # of the file, see the master(5) manual page (command: "man 5 mast

Re: [CentOS] syncing imap servers with imapsync

2011-12-03 Thread Tim Dunphy
is logging in fine. The problem appears to be with the postfix side (server2) which is on courier. Thanks for your input. Tim On Sat, Dec 3, 2011 at 11:46 PM, Craig White wrote: > On Sun, 2011-12-04 at 04:00 +, Tim Dunphy wrote: >> hello list, >> >>  I am attempting to s

[CentOS] proftpd graphical clients not working

2011-12-13 Thread Tim Dunphy
Hello list, With my latest proftpd server graphical client error on list (ls) directory: Error: Could not read from socket: ECONNRESET - Connection reset by peer Error: Disconnected from server Error: Failed to retrieve directory listing So far I've tried both filezilla and cyberduck. Bu

[CentOS] cron job not running

2012-03-04 Thread Tim Dunphy
hello list, I am attempting to backup a centos 5.4 (x86_64) server running mysql with a cron job. Here's how the cron job looks: [root@cloud:/home/bluethundr/backupdb] #crontab -l * 3 * * * /usr/bin/mysqldump jfwiki > /home/bluethundr/backupdb/wiki-$(date +%Y%m%d).sql However if I run the comm

[CentOS] trouble mounting NFS share in net install

2010-09-04 Thread Tim Dunphy
I am trying to install the net install version of 5.5 from an NFS share that I setup with freenas. I have fully functioning DNS (hosted on freebsd) and can mount the iso share on another centos box with the command mount nas.mydomain.com:/mnt/iso1 /mnt/iso1 on that machine. The nas host in questio

Re: [CentOS] trouble mounting NFS share in net install

2010-09-05 Thread Tim Dunphy
Hey there, and thanks! But it looks like my settings are correct: Edit view http://yfrog.com/jtnfssharep Overview http://yfrog.com/0knfsshareoverviewp (lower quality image files are attached) Does anyone have any further insight? On Sun, Sep 5, 2010 at 1:45 AM, Meenoo Shivdasani wrote: >>

Re: [CentOS] trouble mounting NFS share in net install

2010-09-06 Thread Tim Dunphy
On Mon, Sep 6, 2010 at 2:45 PM, James Pearson wrote: > Tim Dunphy wrote: >> Hey there, and thanks! >> >> But it looks like my settings are correct: > > I guess you need to check the log files on the server for any clues > > Also, check the installer logs via ALT-F3

[CentOS] grep contents of file on remote server

2010-09-24 Thread Tim Dunphy
Hello, I am attempting to grep the contents of a key file I have SCP'd to a remote server. I am able to cat it: [code] [bluethu...@lbsd2:~]$:ssh r...@sum1 cat /root/id_rsa.pub r...@lcent01.summitnjhome.com's password: ssh-rsa B3NzaC1yc2EBIwAAAQEApnUSYyrM96qIBZKjwSNYycgeSv/FAKE-KEY-DATA-

[CentOS] help with spec file

2010-10-02 Thread Tim Dunphy
I am attempting to learn how to build my own rpms. I found a good tutorial online but it is a bit out of date (2007). Here it is: http://www.rpm-based.org/how-to-create-rpm-package At any rate, the package it uses is of course old and I found a newer version of one to test with. The tutorial uses

Re: [CentOS] help with spec file

2010-10-03 Thread Tim Dunphy
Great Phil! I'll check it out!! Thanks... On Sun, Oct 3, 2010 at 4:52 PM, Phil Schaffner wrote: > Tim Dunphy wrote on 10/02/2010 10:32 PM: > ... >> I have come up with a spec file for the current version that _mostly_ >> works... > > Might want to compare your effo

[CentOS] ldif invalid per syntax

2010-10-07 Thread Tim Dunphy
Hello CentOS I am having a bit of trouble importing an ldif into openldap, tho the syntax looks a-ok to me. I am attempting to import my sudoers list into my ldap configuration and I used an application called sudoers2ldif to generate the ldif. I used the following command to import the file: =

Re: [CentOS] ldif invalid per syntax

2010-10-07 Thread Tim Dunphy
5:05 PM, Scott Robbins wrote: > On Thu, Oct 07, 2010 at 04:38:42PM -0400, Tim Dunphy wrote: >> Hello CentOS >> >> I am having a bit of trouble importing an ldif into openldap, tho the >> syntax looks a-ok to me. I am attempting to import my sudoers list >> into my ld

Re: [CentOS] ldif invalid per syntax

2010-10-08 Thread Tim Dunphy
a/ [r...@lcent01:/usr/local/etc/openldap]# On Thu, Oct 7, 2010 at 9:31 PM, Tim Dunphy wrote: > Well, if I'm not mistaken copying this file to my shchema directory > and referencing it in my slapd.conf file should have taken care of > this objectClass: > > > cp /usr/local/share/doc

Re: [CentOS] ldif invalid per syntax

2010-10-08 Thread Tim Dunphy
com" MAJOR WIN and THANKS to scott !!! On Fri, Oct 8, 2010 at 9:36 PM, Tim Dunphy wrote: > hmm.. it would seem that grepping the shcema directory for sudoRole or > sudo anything doesn't turn up anything... > > [r...@lcent01:/usr/local/etc/openldap]#grep -ri sudoRole > /

Re: [CentOS] ldif invalid per syntax

2010-10-09 Thread Tim Dunphy
Does anyone have any ideas as to why slapd cannot access the pam_ldap account user automatically through /usr/local/etc/ldap.conf? x( On Fri, Oct 8, 2010 at 11:01 PM, Scott Robbins wrote: > On Fri, Oct 08, 2010 at 10:52:54PM -0400, Tim Dunphy wrote: >> I just recopied openLDAP.s

Re: [CentOS] ldif invalid per syntax

2010-10-10 Thread Tim Dunphy
tho the user accounts have been added to LDAP??? :::sigh::: On Sat, Oct 9, 2010 at 4:36 PM, Tim Dunphy wrote: > Hey guys! > >  Unfortunately I have a new wrinkle. While I certainly got to make my > sudoers work through LDAP (thanks to those who helped) unfortunately > PAM is unhappy at

[CentOS] xen backup script

2010-10-17 Thread Tim Dunphy
hello, I have a couple of longish commands that I run to backup my network of xen hosts. I would like to cron this, but am having trouble issuing the same command the second time to the second xen host: [r...@lcent01 ~]# ssh sum2 'for i in `virsh list | grep -v -e Id -e --- -e "Domain-0"| awk

[CentOS] ssh with shared home dir

2010-10-22 Thread Tim Dunphy
hey listers! silly quesion: if I generate an RSA key on an NFS shared home directory, then cat >> it into the .ssh/authorized_keys file in the same location, shouldn't I then be able to ssh into each host that shares the NFS home directory without entering a passphrase (assuming the key doesn't ha

Re: [CentOS] ssh with shared home dir

2010-10-22 Thread Tim Dunphy
uethu...@lcent01 ~]$ ssh virt1 bluethu...@virt1's password: I've posted a -vvv version of the ssh session in an attachment. thanks! tim On Fri, Oct 22, 2010 at 3:14 PM, Gordon Messmer wrote: > On 10/22/2010 11:38 AM, Tim Dunphy wrote: >> silly quesion: if I generate an RSA k

Re: [CentOS] ssh with shared home dir

2010-10-22 Thread Tim Dunphy
guys awesome advice!! I will try your suggestions sometime tonight, I am backing up the virtual network at the moment and it is therefore shutdown until the backup is done. thanks !! tim On Fri, Oct 22, 2010 at 4:08 PM, Todd Denniston wrote: > Tim Dunphy wrote, On 10/22/2010 03:30 PM: >

Re: [CentOS] ssh with shared home dir

2010-10-22 Thread Tim Dunphy
cd ~bluethundr/.ssh/ [bluethu...@virtcent01 ~]$ ls -al | grep .ssh -rw--- 1 bluethundr 1005 70 Oct 17 14:04 .lesshst drwxr-xr-x 2 bluethundr 1005 512 Oct 22 14:06 .ssh -rw-r--r-- 1 bluethundr 1005 1047 Sep 16 01:22 sshd-prop.txt [bluethu...@virtcent01 ~]$ ls -lh .ssh total

Re: [CentOS] ssh with shared home dir

2010-10-22 Thread Tim Dunphy
org delete this email expung it > from public view??? > uhm.. what's your problem, dude? On Fri, Oct 22, 2010 at 11:13 PM, JohnS wrote: > > On Fri, 2010-10-22 at 22:29 -0400, Tim Dunphy wrote: >  Would someone @ mail  dot centos dot org delete this email expun

Re: [CentOS] ssh with shared home dir

2010-10-23 Thread Tim Dunphy
hahah.. thanks john! :) fortunately that key was in existence for only a few hours, and has now been deleted. it was behind a firewall. just sayin! but good catch!!! thanks!! :-) On Fri, Oct 22, 2010 at 11:25 PM, JohnS wrote: > > On Fri, 2010-10-22 at 23:17 -0400, Tim Dunphy wrote:

[CentOS] adding user ldif to ldap

2010-10-28 Thread Tim Dunphy
hi list.. I am trying to add an ldif with my users that I have derived from /etc/passwd. for some reason ldapadd is choking on the first entry... I've also tried removing the first one and predictably each one fails in exactly the same way...may I ask how best to correct this? Here is the error:

Re: [CentOS] adding user ldif to ldap

2010-10-28 Thread Tim Dunphy
Hey guys... Thanks very much for your help! It turns out that mailRoutingAddress actually turns out to be in misc.schema: [r...@lbsd2:/usr/local/etc/openldap/schema]#grep -ri mailRoutingAddress /usr/local/etc/openldap/schema /usr/local/etc/openldap/schema/misc.schema: NAME 'mailRoutingAdd

[CentOS] migrating users to openldap

2010-10-29 Thread Tim Dunphy
I noticed that when I migrated my users with the migrate_passwd.pl tool from PADL it didn't migrate the actual passwords (just the rest of the posixAccount info). I think I need to set the EXTENDED_SCHEMA variable and then try running the tool again. does anyone know what this should be? I actual

Re: [CentOS] migrating users to openldap

2010-10-29 Thread Tim Dunphy
hey guys, nice suggestions.. it looks like PADL did not cover shadow entries for some reason.. this will likely have to be a custom script i will have to write... in the meantime I made sure I was root and then ran the scripts: Hey guys, The script definitely ran as root: LBSD2# whoami root

[CentOS] openldap fails to authenticate

2010-11-02 Thread Tim Dunphy
I am attempting to setup an LDAP server under CentOS 5.4. However I am unable to search my ldap directory even tho I am supplying the proper credentials for the Manager account: [r...@ldap openldap]# ldapsearch -x -h ldap -D 'cn=Manager,dc=example,dc=net' -W -b 'dc=example,dc=net' Enter LDAP P

[CentOS] failure to import ldif into ldap

2010-11-04 Thread Tim Dunphy
Thanks all.. I have read the man of ldif your advice has gotten me quite far both in my current implementation and in my overall understanding of LDAP which I am hoping grows with each passing day. In my attempt to build my current directory, I have taken a dump of my last successful implemen

[CentOS] generate signing subkey

2010-11-04 Thread Tim Dunphy
hello all I need to generate a subkey in gpg in order to sign my emails. I already have a main key. how do I generate the subkey I need to encrypt emails? I have already run gpg --gen-key thanks -- Here's my RSA Public key: gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9 Share and enjoy!! __

Re: [CentOS] generate signing subkey

2010-11-04 Thread Tim Dunphy
that's great manoo!! thank you! On Thu, Nov 4, 2010 at 4:46 PM, Meenoo Shivdasani wrote: > On Thu, Nov 4, 2010 at 4:27 PM, Tim Dunphy wrote: > >>  I need to generate a subkey in gpg in order to sign my emails. I >> already have a main key. how do I generate the subk

Re: [CentOS] xServes are dead ;-( / SAN Question

2010-11-08 Thread Tim Dunphy
Perhaps FreeNAS would fit the bill? http://freenas.org/features Sent from my iPhone On Nov 8, 2010, at 6:52 PM, Gordon Messmer wrote: > On 11/07/2010 03:33 AM, Nicolas Ross wrote: >> >> Is there any other solution for building a SAN under linux ? > > None of my customers use a SAN right now

Re: [CentOS] Building packages using RPMBUILD

2010-12-18 Thread Tim Dunphy
gpg --import-key yourkey.asc done! Sent from my iPhone On Dec 18, 2010, at 1:31 PM, Keith Roberts wrote: > Hi all. > > I have downloaded the source rpm for qps fc6, but get the > following error message: > > [rpmbuil...@karsites qps]$ ls > qps-1.9.18.6-1.fc6.src.rpm > [rpmbuil...@karsites q

[CentOS] nfs webroot 403's

2011-06-01 Thread Tim Dunphy
hello list!! the reason I'm writing you guys today is that I'm looking to solve an issue I am having with apache on a centos 5.5 box. The situation is this.. I am sharing the webroot for a few sites in a test environment on an NFS share. This is the share: nas2:/mnt/store/web 1.4T 225G 10

[CentOS] leaving ports open for tftp

2011-06-14 Thread Tim Dunphy
hey guys, I have a really silly question for you! I just built a cobbler server that I am using to bare metal some boxes. But I am a bit n00b and need to figure out which ports to open in iptables. Here's a start: xinetd 2031 root8u IPv4 94306 UD

[CentOS] cron jobs not running

2011-07-30 Thread Tim Dunphy
hello list!! I'm attempting to find out why this cron job isn't running. the host is centos 5.6 on i386 just so you know. 0 3 * * * /bin/alldb > /home/bluethundr/backupdb/alldb-$(date +%Y%m%d%H%S).sql The job is meant to backup all the databases on a mysql serve

[CentOS] proftpd can't login locally

2011-08-13 Thread Tim Dunphy
Hello list!! I am trying to setup very simple authentication for proftpd under centos 5.6. But for some reason it isn't working and I was hoping to get some advice into how to resolve the issue. Machine info: [code] [root@VIRTCENT07:~] #cat /etc/redhat-release CentOS release 5.6 (Final) [ro

[CentOS] java permission denied

2011-08-13 Thread Tim Dunphy
Hey guys, I just tried installing jdk 1.0.7 on my centos 5.6 box and I am getting a permission denied error when I try to display the java version. [root@VIRTCENT09:/usr/lib] #ln -s /usr/lib/jdk1.7.0 /etc/alternatives/jdk [root@VIRTCENT09:/usr/lib] #ln -s /usr/lib/jdk1.7.0/bin/java /etc/alte

Re: [CentOS] java permission denied

2011-08-13 Thread Tim Dunphy
Hi Barry, Apparently the problem was SELinux! I did a 'setenforce 0' and was able to login to ftp! [root@LCENT05:~] #getenforce Permissive [root@LCENT05:~] #/usr/bin/ftp localhost Connected to localhost (127.0.0.1). 220 FTP Server ready. Name (localhost:root): bluethundr 331 Password required

Re: [CentOS] java permission denied

2011-08-13 Thread Tim Dunphy
ot; Java(TM) SE Runtime Environment (build 1.7.0-b147) Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode) - Original Message ----- From: "Tim Dunphy" To: "CentOS mailing list" Sent: Saturday, August 13, 2011 11:52:12 AM Subject: Re: [CentOS] java permission denied Hi

Re: [CentOS] java permission denied

2011-08-13 Thread Tim Dunphy
Hey Barry, That's good to know. Thank you again! tim - Original Message - From: "Barry Brimer" To: "CentOS mailing list" Sent: Saturday, August 13, 2011 12:05:08 PM Subject: Re: [CentOS] java permission denied On Sat, 13 Aug 2011, Tim Dunphy wrote: > act

[CentOS] can't list directories in ftp

2011-08-13 Thread Tim Dunphy
Hey list, Sorry for all the questions today. But I am trying to wrap up this ftp business and still having some issues. I appreciate your input. SELinux is temporarily disabled (until I can work this all out) and I am now able to log into the FTP server. [root@LCENT05:~] #/usr/bin/ftp loca

Re: [CentOS] can't list directories in ftp

2011-08-13 Thread Tim Dunphy
Hello again, Barry Yes interestingly enough that seemed to do it for the local test. This is odd, because I remember setting up another ProFTPd server with this directive and never ran into this issue. Nevertheless, once I commented out the MasqueradeAddress directive it works locally. [roo

[CentOS] cant login remotely proftpd

2011-08-22 Thread Tim Dunphy
Hello list! Well I have delved back into my proftpd config in the hopes of resolving my issues and having a working server. :) I believe I have the passive mode issue that I was expereriencing last time mostly worked out. But there are still a couple of things going on with this config that

[CentOS] mysql authentication in proftpd

2011-08-26 Thread Tim Dunphy
Hello list, I was able to get passive mode worked out. I'm really glad I was able to do this. I'm able to log into the ftp server, list directories, enter subdirectories and upload/download files. However my next task is to enable virtual users using mysql. I have installed proftpd-mysql and e

[CentOS] w3pw install

2011-09-21 Thread Tim Dunphy
hey list, I'm attempting to install the w3pw password wallet on centos 5.6 http://w3pw.sourceforge.net/ The interface works well enough, but for the life of me I can't find the default password for setup or the file in which this is set. Does anyone happen to know? thanks! tim __

Re: [CentOS] w3pw install

2011-09-23 Thread Tim Dunphy
thanks sorry I missed that. :) - Original Message - From: "John Doe" To: "CentOS mailing list" Sent: Thursday, September 22, 2011 5:35:03 AM Subject: Re: [CentOS] w3pw install From: Tim Dunphy > I'm attempting to install the w3pw password

[CentOS] yum upgrade not working

2014-12-20 Thread Tim Dunphy
Hey all, I'm attempting to upgrade a Centos 5.9 machine to CentOS 5.10. But when I try the yum update command I get this response: --> Finished Dependency Resolution python26-PyYAML-3.08-5.el5.x86_64 from installed has depsolving problems --> Missing Dependency: libyaml-0.so.1()(64bit) is need

Re: [CentOS] yum upgrade not working

2014-12-22 Thread Tim Dunphy
scripting languages. LibYAML is a YAML parser and emitter written in C. So thinking back it may have been a custom python repo that was used to install that. So I guess I can take it from here! Thanks Tim On Sun, Dec 21, 2014 at 6:59 AM, Ned Slider wrote: > > > On 21/12/14 02:25, Tim Dunphy

Re: [CentOS] yum upgrade not working

2014-12-22 Thread Tim Dunphy
Removing that libyaml package allowed me to upgrade! Thanks for the tip! Tim On Sat, Dec 20, 2014 at 9:25 PM, Tim Dunphy wrote: > Hey all, > > I'm attempting to upgrade a Centos 5.9 machine to CentOS 5.10. > > But when I try the yum update command I get this respon

Re: [CentOS] yum upgrade not working

2014-12-22 Thread Tim Dunphy
encies: > > yum --disablerepo=\* --enablerepo=base --enablerepo=updates update > > After that, a regular yum update. > > - Jussi > > On 22.12.2014 17.39, Tim Dunphy wrote: > >> Removing that libyaml package allowed me to upgrade! >> >> Thanks for the tip! &

[CentOS] can't enable selinux CentOS 6.5

2014-12-29 Thread Tim Dunphy
Hey guys, For some reason I can't seem to enable SELinux on this one host. Here's my SELinux config file: [root@beta-new:~] #cat /etc/sysconfig/selinux # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security po

[CentOS] logrotate script not working

2015-01-07 Thread Tim Dunphy
Hey guys, Got a quick question and I hope this is an easy one! In my /etc/logrotate.conf file I have the following entry: # rotate all of the apache logs -- we'll rotate them here /var/log/mysqld.log { weekly size 50M create 0644 mysql mysql rotate 1 } And from that I woul

Re: [CentOS] logrotate script not working

2015-01-08 Thread Tim Dunphy
dmin flush-logs). > https://dev.mysql.com/doc/refman/5.5/en/log-file-maintenance.html Cool. Thanks!! I'll give that a try! Tim On Thu, Jan 8, 2015 at 2:02 AM, Alexander Dalloz wrote: > Am 08.01.2015 um 03:54 schrieb Tim Dunphy: > >> Hey guys, >> >> Got a qui

[CentOS] favorite cheap VPS services

2015-01-15 Thread Tim Dunphy
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 wa

[CentOS] SELinux permissions for apache

2015-01-22 Thread Tim Dunphy
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 that SELinux is denying the app ability to write to the text file. So I tried running the following c

Re: [CentOS] SELinux permissions for apache

2015-01-22 Thread Tim Dunphy
hu, Jan 22, 2015 at 1:19 PM, Jeremy Hoel 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 wrote: > > > Hey all, > > > >

Re: [CentOS] SELinux permissions for apache

2015-01-22 Thread Tim Dunphy
onfig 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 tri

Re: [CentOS] SELinux permissions for apache

2015-01-22 Thread Tim Dunphy
5 at 3:22 PM, Jeremy Hoel wrote: > Exactly, SELinux is great. Its a good room to have when you can get it > working and it's another good layer of protection. Its better to learn to > use the tool then just turn it off. > > Not every label has a rw option but it never hurts to tr

[CentOS] find out who accessed a file

2015-01-23 Thread Tim Dunphy
Hey guys, Is there any way to find out the last user to access a file on a CentOS 6.5 system? Thanks Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailma

Re: [CentOS] find out who accessed a file

2015-01-24 Thread Tim Dunphy
ing if I can watch the file using auditd, I can see attempts by the user the script runs as in accessing the file? Thanks Tim On Fri, Jan 23, 2015 at 4:23 PM, Valeri Galtsev wrote: > > On Fri, January 23, 2015 3:13 pm, Jonathan Billings wrote: > > On Fri, Jan 23, 2015 at 03:50:44PM -

[CentOS] user nobody can't access file

2015-02-03 Thread Tim Dunphy
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 pro

[CentOS] iostat a partition

2015-02-19 Thread Tim Dunphy
Hey guys, I need to use iostat to diagnose a disk latency problem we think we may be having. So if I have this disk partition: [root@uszmpdblp010la mysql]# df -h /mysql FilesystemSize Used Avail Use% Mounted on /dev/mapper/MysqlVG-MysqlVol 9.9G 1.1G 8.4G

[CentOS] disk space trouble on ec2 instance

2015-02-27 Thread Tim Dunphy
Hey all, Ok, so I've been having some trouble for a while with an EC2 instance running CentOS 5.11 with a disk volume reporting 100% usage. Root is on an EBS volume. So I've tried the whole 'du -sk | sort -nr | head -10' routine all around this volume getting rid of files. At first I was gett

Re: [CentOS] disk space trouble on ec2 instance

2015-03-01 Thread Tim Dunphy
instead of 100% used. Maybe a little unconventional, but at least it got the job done. Thanks again, guys! Tim On Sat, Feb 28, 2015 at 2:46 AM, John R Pierce wrote: > On 2/27/2015 10:46 PM, Tim Dunphy wrote: > >> I'm at a loss to explain how I can delete 190MB worth of data,

[CentOS] selinux allow FTP

2015-03-02 Thread Tim Dunphy
Hey folks, How would I allow a user to connect to an FTP server, upload and download files and delete files as well, if that server is in enforcing mode for SELinux? I'm using proftpd 1.3.5 on CentOS 7. Thank you! Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B _

Re: [CentOS] selinux allow FTP

2015-03-02 Thread Tim Dunphy
> > 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 entirely? Thanks Tim On Mon, Mar 2, 2015 at 5:35 PM, John R Pierce wrote: > On 3

Re: [CentOS] selinux allow FTP

2015-03-02 Thread Tim Dunphy
Good advice guys. I'll check out vsftpd. Thanks! Tim Sent from my iPhone > On Mar 2, 2015, at 5:55 PM, Eero Volotinen wrote: > > Also check this out: http://www.bitvise.com/ftp-bridge > > -- > Eero > > 2015-03-03 0:51 GMT+02:00 Eero Volotinen : > >>

Re: [CentOS] selinux allow FTP

2015-03-04 Thread Tim Dunphy
Guys, I hear all your arguments against using FTP. I completely get all that. But I am making things a little bit safer by using virtual users that have no access to the file system. The ftp user account has a shell of /bin/false. And I was able to get proftpd working with SELinux using setsebool

Re: [CentOS] selinux allow FTP

2015-03-04 Thread Tim Dunphy
SELinux > using setsebool -P ftp_home_dir on. Oh and one important point I forgot to mention, is that the FTP user's home directory is jailed. Thanks!! Tim On Wed, Mar 4, 2015 at 10:04 PM, Tim Dunphy wrote: > Guys, > > I hear all your arguments against using FTP. I completely

[CentOS] SELinux kills Cassandra based website

2015-03-04 Thread Tim Dunphy
Hey all, There's a website I help run that uses the Cassandra DB as its database. I notice that if I run the web server in SELinux permissive mode, the site works fine. But if I put it into enforcing mode, the site goes down with this error: Warning: require_once(/McFrazier/PhpBinaryCql/CqlClien

Re: [CentOS] SELinux kills Cassandra based website

2015-03-05 Thread Tim Dunphy
> off the root tree than unless you've set permissions to allow httpd to look > at tat folder, I bet that's one problem. > > if you run ls -Z you can see the labels that are present on those folders, > that might be helpful too. > > On Wed, Mar 4, 2015 at 8:14 PM, Tim Dunph

Re: [CentOS] SELinux kills Cassandra based website

2015-03-05 Thread Tim Dunphy
5, 2015 at 11:02 AM, Tim Dunphy wrote: > Hi Jeremy, > > An easy way to start troubleshooting these is to look at the audit logs and >> see what SELInux is blocking. You have /McFrazier in the email.. if >> that's >> off the root tree than unless you've set

[CentOS] mysql replication - problems

2015-03-12 Thread Tim Dunphy
Hey everybody, I'm trying to get mysql master/slave replication to work under SSL. I've created the certs for both the slave and the master. I've configured the master and slave my.cnf. And it does appear that replication is actually working. Master is actually MariaDB (version 5.5.41-MariaDB-lo

Re: [CentOS] mysql replication - problems

2015-03-12 Thread Tim Dunphy
hing else I can try to resolve this? Thanks 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 replicati

  1   2   3   4   >