[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

[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

[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:01 AM, Ian Blackwell i...@ikel.id.au 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 approach is to flush existing rules

Re: [CentOS] iptables default configuration

2010-01-19 Thread Carlos Santana
On Tue, Jan 19, 2010 at 7:31 AM, Kai Schaetzl mailli...@conactive.com 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 flushing

Re: [CentOS] iptables default configuration

2010-01-19 Thread Carlos Santana
On Tue, Jan 19, 2010 at 1:31 PM, Kai Schaetzl mailli...@conactive.com 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 case ;-) Read: But it's (adding

[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

[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

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 heinl...@madboa.com wrote: On Tue, 12 Jan 2010, Carlos Santana wrote: Hi, I have changed directory ownership permissions recursively

[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

[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

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 nihi...@gmail.com 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

[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

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 n...@jammconsulting.com 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

Re: [CentOS] timekeeping on VMware guests

2009-10-14 Thread Carlos Santana
of 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 ra...@bludgeon.org wrote: On Tue, Oct 13, 2009 at 04:31:03PM -0700, nate wrote: Carlos Santana wrote: Howdy, I am having

Re: [CentOS] timekeeping on VMware guests

2009-10-14 Thread Carlos Santana
On Wed, Oct 14, 2009 at 9:50 AM, Ray Van Dolson ra...@bludgeon.org 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 mentioned

Re: [CentOS] timekeeping on VMware guests

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

[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

[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

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 filbran...@gmail.com wrote: Hi, On Thu, Sep 10, 2009 at 14:04, Carlos Santana neu...@gmail.com wrote: I have a diff file in my /var/tmp and would like to apply

[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] etc passwd and groups file

2009-07-29 Thread Carlos Santana
this. Any suggestions? - CS. On Wed, Jul 29, 2009 at 10:38 AM, John R Piercepie...@hogranch.com 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 create a new user on one

Re: [CentOS] etc passwd and groups file

2009-07-29 Thread Carlos Santana
://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: CentOS mailing list Subject: Re: [CentOS] etc passwd and groups file I intend to install lustre file

[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://server/dir'. I am not sure what should be the directory contents? Should we put all ISOs in that directory

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, natecen...@linuxpowered.net wrote: Carlos Santana wrote: Hi, I am working on a kickstart install method and it works fine with cdrom as installation media. I would like change

Re: [CentOS] kickstart install using url location

2009-07-20 Thread Carlos Santana
. On Mon, Jul 20, 2009 at 5:35 PM, Kwan Lowekwan.l...@gmail.com wrote: On Mon, Jul 20, 2009 at 6:13 PM, Carlos Santana neu...@gmail.com 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 instead.  There are a couple

Re: [CentOS] kickstart install using url location

2009-07-20 Thread Carlos Santana
...@gmail.com wrote: On Mon, Jul 20, 2009 at 6:52 PM, Carlos Santana neu...@gmail.com 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 get consistent installations

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 Piercepie...@hogranch.com wrote: Carlos Santana wrote

Re: [CentOS] kickstart install using url location

2009-07-20 Thread Carlos Santana
to ISOs directory didn't work in my case. Any help? - CS. On Mon, Jul 20, 2009 at 5:29 PM, natecen...@linuxpowered.net 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 special naming convention

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 ip.addr/iso-dir/'. The DVD download should be complete within few minutes. I will try it tomorrow. Still, it would be great

Re: [CentOS] kickstart install using url location

2009-07-20 Thread Carlos Santana
do I get this boot prompt to start installation? Sorry for any confusion. - CS On Mon, Jul 20, 2009 at 7:22 PM, Kwan Lowekwan.l...@gmail.com wrote: On Mon, Jul 20, 2009 at 8:04 PM, Carlos Santana neu...@gmail.com wrote: Yup. How do I get to the boot prompt to enter - linux ks command

[CentOS] yum install hangs

2009-07-06 Thread Carlos Santana
Howdy, The yum install package 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] yum install hangs

2009-07-06 Thread Carlos Santana
...@kikinovak.net wrote: Carlos Santana a écrit : Howdy, The yum install package 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

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 Kovacscont...@kikinovak.net wrote: Carlos Santana a écrit : Thanks Niki. More specifically it hangs after: Downloading

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, natecen...@linuxpowered.net wrote: Carlos Santana wrote: - Process are not getting killed - I do not have yum-updatesd service running, status returns unrecognized service Any

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 Aggarwaln...@jammconsulting.com wrote: kill -9 ? As specified in my first message, I have tried that. Its not working.. :( What about

Re: [CentOS] yum install hangs

2009-07-06 Thread Carlos Santana
, natecen...@linuxpowered.net 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 result of a kill -9. D state yes

[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

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 filbran...@gmail.comwrote: Hi, On Wed, Jun 17, 2009 at 12:23, Carlos Santananeu...@gmail.com wrote: I have a CentOS 5.2 box with 2.6.18-92 kernel. I would like to upgrade the

Re: [CentOS] applying kernel patch

2009-06-17 Thread Carlos Santana
On Wed, Jun 17, 2009 at 3:22 PM, Steven Vishootsir_funz...@yahoo.com wrote: From: Carlos Santana neu...@gmail.com To: CentOS mailing list centos@centos.org Sent: Wednesday, June 17, 2009 2:17:06 PM Subject: Re: [CentOS] applying kernel patch Thanks.. wish

Re: [CentOS] applying kernel patch

2009-06-17 Thread Carlos Santana
and kernel-headers is confusing me. Any insights? Thanks, CS. On Wed, Jun 17, 2009 at 5:55 PM, John R Piercepie...@hogranch.com wrote: Carlos Santana wrote: I am trying to build a Lustre file system over CentOS. The file system server's kernel needs to be lustrized, however client can be installed

[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

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 rudiahl...@gmail.com wrote: On Mon, Jun 15, 2009 at 7:51 PM, Carlos