[CentOS] non-root access to log files

2010-03-26 Thread Carlos Santana
Hi, I would like to give read-only access to mysql and apache-http server log files to a non-root user. I can modify group or other permissions. But is there any other way you can suggest? Can I update it in user's home dir? -- CS. ___ CentOS mailing li

[CentOS] auto mounting group shares

2010-02-08 Thread Carlos Santana
I am using autofs to mount user's home and group directories. The setup works fine for home directories which are mounted after user logs in. The group shares are also mounted, but user has to manually do cd or ls command on group shares, e.g.: ls /groups/chemistry will mount chemistry group share

Re: [CentOS] autofs with nfs plus local directories

2010-01-26 Thread Carlos Santana
On Mon, Jan 25, 2010 at 8:35 PM, Agile Aspect wrote: > On Mon, Jan 25, 2010 at 3:35 PM, Carlos Santana wrote: >> Hi, >> >> I have a autofs configured to mount home dir from NFS. All user >> accounts lookup is done using LDAP. All is working fine with this >> se

[CentOS] autofs with nfs plus local directories

2010-01-25 Thread Carlos Santana
Hi, I have a autofs configured to mount home dir from NFS. All user accounts lookup is done using LDAP. All is working fine with this setup. Now I need to create a local user account and have its home dir also on local system. So I added a new user account and changed auto.home as follows: test1

Re: [CentOS] iptables default configuration

2010-01-19 Thread Carlos Santana
On Tue, Jan 19, 2010 at 1:31 PM, Kai Schaetzl wrote: > Carlos Santana wrote on Tue, 19 Jan 2010 08:51:19 -0600: > >> 'But it's harder to maintain as a >> script of your own.'. You are also using script, right? > > The "as" is ambiguous in this

Re: [CentOS] iptables default configuration

2010-01-19 Thread Carlos Santana
On Tue, Jan 19, 2010 at 7:31 AM, Kai Schaetzl wrote: > Carlos Santana wrote on Mon, 18 Jan 2010 17:54:51 -0600: > >> - The wiki page approach is to flush existing rules and then add >> required rules to iptables. Is it possible to add/append required >> rules without

Re: [CentOS] iptables default configuration

2010-01-19 Thread Carlos Santana
On Tue, Jan 19, 2010 at 1:01 AM, Ian Blackwell wrote: > Rob Kampen wrote: >> Carlos Santana wrote: >>> - What does 'RH-Firewall-1-INPUT' chain means? This also seems to be a >>> predefined chain, although not mentioned in wiki. >>> - The wiki page ap

[CentOS] iptables default configuration

2010-01-18 Thread Carlos Santana
Hi, I would like to get some inputs on how to configure iptables. I have referred to CentOS wiki http://wiki.centos.org/HowTos/Network/IPTables and it has been very helpful. I have configured iptables with the help of this tutorial, but I haven't understood few things about default firewall config

Re: [CentOS] directory permissions

2010-01-12 Thread Carlos Santana
Thanks nate and Paul.. Do I need to use -R recursive option for any of the commands you mentioned? - CS. On Tue, Jan 12, 2010 at 3:58 PM, Paul Heinlein wrote: > On Tue, 12 Jan 2010, Carlos Santana wrote: > >> Hi, >> >> I have changed directory ownership permissions rec

[CentOS] directory permissions

2010-01-12 Thread Carlos Santana
Hi, I have changed directory ownership permissions recursively such that it is owned by username:groupname , where groupname is not the default group, i.e., username. However, when a user creates a new file the default permissions are again username:username. How can I give ownership permissions

[CentOS] partitioning order and IO performance

2009-12-22 Thread Carlos Santana
Hi, Does mount point specification while partitioning (order in which I specify /, /boot, swap etc..) affect performance? I am not sure about the syntax, but I guess one can also specify address/block range while partitioning. Does it affect IO performance? Probably a stupid question, but just cur

Re: [CentOS] mountd and statd at specific ports - nfs firewall

2009-12-18 Thread Carlos Santana
Great..! Thats helpful.. Thanks, CS. On Fri, Dec 18, 2009 at 4:38 PM, Christoph Neuhaus wrote: > Hi, > >> I see that statd and mountd start at random port. Is there any way to >> force it to start at specific port each time. The '-p ' option would >> work, but how do I configure it to start at s

[CentOS] mountd and statd at specific ports - nfs firewall

2009-12-18 Thread Carlos Santana
Hi, I am configuring firewall for NFS. I see that statd and mountd start at random port. Is there any way to force it to start at specific port each time. The '-p ' option would work, but how do I configure it to start at specific port number each time. I mean where do statd and mountd look for de

Re: [CentOS] software installation - good practice

2009-11-11 Thread Carlos Santana
Comments inline: On Wed, Nov 11, 2009 at 2:21 PM, Neil Aggarwal wrote: > Carlos: > >> I tend to try out many open source apps/packages > > I make a separate directory for each application in /usr/local > so they are isolated from each other. > You mean /usr/local or /usr/local/src ? I would crea

[CentOS] software installation - good practice

2009-11-11 Thread Carlos Santana
Howdy, I tend to try out many open source apps/packages - games, editors to media tools. I have a bad habit of downloading and extracting source in the /var/tmp directory and then doing configure-make-install process. I am not sure of best practice (good practices) to be followed when installing a

Re: [CentOS] timekeeping on VMware guests

2009-10-14 Thread Carlos Santana
On Wed, Oct 14, 2009 at 11:04 AM, Akemi Yagi wrote: > On Wed, Oct 14, 2009 at 8:55 AM, Carlos Santana wrote: > >> Following steps were taken to set up my CentOS VM guest (without >> vmware-tools installed): >> >> 1. Kernel options added as: >> divider=10 &g

Re: [CentOS] timekeeping on VMware guests

2009-10-14 Thread Carlos Santana
On Wed, Oct 14, 2009 at 9:50 AM, Ray Van Dolson wrote: > On Wed, Oct 14, 2009 at 09:41:52AM -0500, Carlos Santana wrote: >> The CentOS wiki link I mentioned [ >> http://wiki.centos.org/TipsAndTricks/VMWare_Server ], has instructions >> adapted from VMware knowledge base link

Re: [CentOS] timekeeping on VMware guests

2009-10-14 Thread Carlos Santana
f the suggestions here are same as mentioned in the CentOS wiki/VMware knowledge base. Any comments or suggestions? - CS. On Tue, Oct 13, 2009 at 6:34 PM, Ray Van Dolson wrote: > On Tue, Oct 13, 2009 at 04:31:03PM -0700, nate wrote: >> Carlos Santana wrote: >> > Howdy, >

[CentOS] timekeeping on VMware guests

2009-10-13 Thread Carlos Santana
Howdy, I am having time-drift issues on my CentOS VM. I had referred to following documentation: http://wiki.centos.org/TipsAndTricks/VMWare_Server , however it didn't help. I used kickstart for creating this VM and I am listing important steps in ref to timekeeping issue. Any comments or suggesti

Re: [CentOS] patching from different directory

2009-09-10 Thread Carlos Santana
On Thu, Sep 10, 2009 at 2:55 PM, Filipe Brandenburger wrote: > Hi, > > On Thu, Sep 10, 2009 at 14:28, Carlos Santana wrote: >> Thanks Filipe. >> >> I can do it by cd-ing into file-to-be-patched dir. > > So, this means it's fixed for you? > >>

Re: [CentOS] patching from different directory

2009-09-10 Thread Carlos Santana
mentions only file name. How do I get full path in my diff file? Any clues? - CS. On Thu, Sep 10, 2009 at 1:12 PM, Filipe Brandenburger wrote: > Hi, > > On Thu, Sep 10, 2009 at 14:04, Carlos Santana wrote: >> I have a diff file in my /var/tmp and would like to apply patch to a >>

[CentOS] patching from different directory

2009-09-10 Thread Carlos Santana
Howdy, I have a diff file in my /var/tmp and would like to apply patch to a file in a different directory (other than /va/tmp). I tried using patch with -d switch, but that doesn't work. It complains abt 'patch: Can't open patch file tilda.diff : No such file or directory'. Do I need to copy

Re: [CentOS] etc passwd and groups file

2009-07-29 Thread Carlos Santana
glecode.com has a document > suggesting ldap and kerb. > http://lustrecluster.googlecode.com/files/LustreHowTo.pdf > > -Original Message- > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On > Behalf Of Carlos Santana > Sent: Wednesday, July 29, 2009 8:46 AM > To: C

Re: [CentOS] etc passwd and groups file

2009-07-29 Thread Carlos Santana
. Any suggestions? - CS. On Wed, Jul 29, 2009 at 10:38 AM, John R Pierce wrote: > Carlos Santana wrote: >> Hi, >> >> I need to maintain a same user/group list on multiples systems. Can we >> just copy the same passwd and groups file on all machines? >> If we cre

[CentOS] etc passwd and groups file

2009-07-29 Thread Carlos Santana
Hi, I need to maintain a same user/group list on multiples systems. Can we just copy the same passwd and groups file on all machines? If we create a new user on one system then I will need to copy this to all other systems. This is quite cumbersome. Any suggestions? - CS.

Re: [CentOS] kickstart install using url location

2009-07-20 Thread Carlos Santana
w do I get this boot prompt to start installation? Sorry for any confusion. - CS On Mon, Jul 20, 2009 at 7:22 PM, Kwan Lowe wrote: > > > On Mon, Jul 20, 2009 at 8:04 PM, Carlos Santana wrote: >> >> Yup. >> >> How do I get to the boot prompt to enter - linux ks co

Re: [CentOS] kickstart install using url location

2009-07-20 Thread Carlos Santana
Thanks a lot Kwan and Clint. The error regarding metadata happened when I was using CD ISOs. I had set of ISOs in web accessible dir and the KS file had an entry 'url --url /iso-dir/'. The DVD download should be complete within few minutes. I will try it tomorrow. Still, it would be great to get C

Re: [CentOS] kickstart install using url location

2009-07-20 Thread Carlos Santana
ISOs. Just pointing to ISOs directory didn't work in my case. Any help? - CS. On Mon, Jul 20, 2009 at 5:29 PM, nate wrote: > Carlos Santana wrote: >> Thanks nate. >> So how do we change between ISOs - e.g. insert disk3? > > I believe it's automatic, there may be some

Re: [CentOS] kickstart install using url location

2009-07-20 Thread Carlos Santana
Yup. How do I get to the boot prompt to enter - linux ks command? Previously I had CD-ROM connected with ISOs , which also served as boot media. But now I am doing via url method. Any clues? - CS. On Mon, Jul 20, 2009 at 6:23 PM, John R Pierce wrote: > Carlos Santana wrote: >> Thanks

Re: [CentOS] kickstart install using url location

2009-07-20 Thread Carlos Santana
wrote: > > > On Mon, Jul 20, 2009 at 6:52 PM, Carlos Santana wrote: >> >> Well, I wish I could use DVD but my VMware server does not support it. >> It has an option only for CD ROM. :( >> >> I may not go for the second option (up-to-date with rsync) in order to >

Re: [CentOS] kickstart install using url location

2009-07-20 Thread Carlos Santana
. On Mon, Jul 20, 2009 at 5:35 PM, Kwan Lowe wrote: > > > On Mon, Jul 20, 2009 at 6:13 PM, Carlos Santana wrote: >> >> Thanks nate. >> So how do we change between ISOs - e.g. insert disk3? >> > > It's much easier to grab the DVD iso and use that inst

Re: [CentOS] kickstart install using url location

2009-07-20 Thread Carlos Santana
Thanks nate. So how do we change between ISOs - e.g. insert disk3? - CS. On Mon, Jul 20, 2009 at 5:00 PM, nate wrote: > Carlos Santana wrote: >> Hi, >> >> I am working on a kickstart install method and it works fine with >> cdrom as installation media. I would l

[CentOS] kickstart install using url location

2009-07-20 Thread Carlos Santana
Hi, I am working on a kickstart install method and it works fine with cdrom as installation media. I would like change this media to an online resource. I saw option as - 'url --url http:///'. I am not sure what should be the directory contents? Should we put all ISOs in that directory or what? An

Re: [CentOS] yum install hangs

2009-07-06 Thread Carlos Santana
47 PM, nate wrote: > Carlos Santana wrote: >> As specified in my first message, I have tried that. Its not working.. :( > > You've specifically tried kill -9 ? That just doesn't make sense, > I have never seen a process in a "S" state that did not die as > a

Re: [CentOS] yum install hangs

2009-07-06 Thread Carlos Santana
Nope.. don't want to do that. It will screw up some of the other things/processes I want to remain active. CS. On Mon, Jul 6, 2009 at 7:39 PM, Neil Aggarwal wrote: >> > kill -9 ? >> As specified in my first message, I have tried that. Its not >> working.. :( > > What about rebooting the machine?

Re: [CentOS] yum install hangs

2009-07-06 Thread Carlos Santana
As specified in my first message, I have tried that. Its not working.. :( - CS. On Mon, Jul 6, 2009 at 6:41 PM, nate wrote: > Carlos Santana wrote: >> - Process are not getting killed >> - I do not have yum-updatesd service running, status returns >> unrecognized s

Re: [CentOS] yum install hangs

2009-07-06 Thread Carlos Santana
- Process are not getting killed - I do not have yum-updatesd service running, status returns unrecognized service Any help? - CS. On Mon, Jul 6, 2009 at 5:39 PM, Niki Kovacs wrote: > Carlos Santana a écrit : >> Thanks Niki. >> >> More specifically it hangs after: &g

Re: [CentOS] yum install hangs

2009-07-06 Thread Carlos Santana
thing [r...@localhost ~]# ps ax | grep -i yum* 16794 ?S 0:05 /usr/bin/python /usr/bin/yum install lsof 17097 pts/1S+ 0:04 /usr/bin/python /usr/bin/yum install lsof 17137 pts/2S+ 0:00 grep -i yum* Any clues? - CS On Mon, Jul 6, 2009 at 5:01 PM, Niki Kovacs wrote: >

[CentOS] yum install hangs

2009-07-06 Thread Carlos Santana
Howdy, The yum install hangs in between. This happened few days as well, but just after doing Ctrl+C it reported error with mirror and switched to another one. Today, however, it is not responding to Ctrl+C and kill or kill -9 command is also not working. Any clues? Thanks, CS. _

Re: [CentOS] applying kernel patch

2009-06-17 Thread Carlos Santana
he mismatch in kernel and kernel-headers is confusing me. Any insights? Thanks, CS. On Wed, Jun 17, 2009 at 5:55 PM, John R Pierce wrote: > Carlos Santana wrote: >> I am trying to build a Lustre file system over CentOS. The file system >> server's kernel needs to be lustrize

Re: [CentOS] applying kernel patch

2009-06-17 Thread Carlos Santana
On Wed, Jun 17, 2009 at 3:22 PM, Steven Vishoot wrote: > > > > From: Carlos Santana > To: CentOS mailing list > Sent: Wednesday, June 17, 2009 2:17:06 PM > Subject: Re: [CentOS] applying kernel patch > > Thanks.. > wish I knew what

Re: [CentOS] applying kernel patch

2009-06-17 Thread Carlos Santana
Thanks.. wish I knew what to google for..! :) - CS. On Wed, Jun 17, 2009 at 1:17 PM, Filipe Brandenburger wrote: > Hi, > > On Wed, Jun 17, 2009 at 12:23, Carlos Santana wrote: > > I have a CentOS 5.2 box with 2.6.18-92 kernel. I would like to upgrade > the > > kerne

[CentOS] applying kernel patch

2009-06-17 Thread Carlos Santana
I have a CentOS 5.2 box with 2.6.18-92 kernel. I would like to upgrade the kernel, but not to the latest available version. How can I pull out a specific patch and apply it? Any help? Thanks, CS. ___ CentOS mailing list CentOS@centos.org http://lists.cen

Re: [CentOS] hostname changes

2009-06-15 Thread Carlos Santana
All right.. So the /etc/sysconfig/network is the right place for changing hostname. The change in /etc/hosts is to map new hostname with IP address. Thanks, CS. On Mon, Jun 15, 2009 at 12:57 PM, Rudi Ahlers wrote: > On Mon, Jun 15, 2009 at 7:51 PM, Carlos Santana wrote: > > Howdy, &g

[CentOS] hostname changes

2009-06-15 Thread Carlos Santana
Howdy, How do I change the hostname? In particular, what is the difference between /etc/hosts and /etc/sysconfig/network files? Where should I make the changes? Thanks, CS. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listin