search for: neubyr

Displaying 20 results from an estimated 33 matches for "neubyr".

2011 Feb 24
4
ls returns file doesn't exist, find finds it??
...nd - such that find is able to see a file whereas ls says the file doesn't exist. Initially I was trying find and ls together as: # find ./ -type f -mtime +15 | xargs ls Similar behavior is seen even when I execute both commands separately. Any thoughts on what might be wrong here? -- thanks, neubyr
2011 Mar 14
2
NFS still serving old directory after rename
Howdy, I have renamed a directory on NFS ver 3 server and then created a new directory again with the same name. # mv dir dir-hosed # mkdir dir The directory is auto-mounted on client side. I had unmounted directories on client side before making above changes. Now when I try to mount back 'dir', I still see old files and not new empty dir. Am I missing something here in the NFS config?
2011 May 17
3
xargs with max each line / argument
How do I pass xargs input one line at a time to subsequent command? For example I want to install rubygems by reading a text file as shown below, however the arguments are getting passed all at once to the 'gem install' command. I hace tried -L (max-lines) and -n (max args) options, but it didn't work. What's missing here?? Any help? $ cat gem.list.1 mkrf rake xmlparser $ awk
2009 Jul 20
3
kickstart install using url location
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 or what? Any insights? Thanks, CS.
2009 Sep 10
2
patching from different directory
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 my diff file to the directory where original file resides? Or is there any other way
2014 Apr 17
2
yum - package version database
When I query for installed package on the system, I get following result: # yum list installed openssl Loaded plugins: fastestmirror, tsflags, verify, versionlock Loading mirror speeds from cached hostfile Installed Packages openssl.x86_64 1.0.1e-16.el6_5.4 @updates/$releasever When I try to install already installed package (just playing with yum), I get following result: # yum install
2009 Jul 29
5
etc passwd and groups file
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.
2009 Jun 17
1
applying kernel patch
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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090617/f5000aaf/attachment-0001.html>
2010 Feb 08
1
auto mounting group shares
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. Is there any way to mount group shares automatically? I noticed that after successful login
2010 Mar 26
3
non-root access to log files
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.
2010 Sep 01
1
iptables for PostgreSQL not working
Hi, I am having problem in configuring iptables for PostgreSQL server. I added following rule to iptables to allow connections to default PostgreSQL port (5432): {{{ sudo /sbin/iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp -s 10.0.0.0/24 --dport 5432 -j ACCEPT }}} After this I can't connect using telnet or psql (postgres client). Following error is received from telnet
2011 Mar 10
1
mkswap - unable to relabel, operation not supported
Hi, I am getting following error on creating a swap fs. CentOS 5.5 {{{ mkswap: unable to relabel /srv/cloud/one/var/25/images/disk.1 to system_u:object_r:swapfile_t: Operation not supported }}} The selinux is configured in permissive mode. Any clues on what might be wrong here and how to fix it? {{{ # /bin/dd if=/dev/zero of=/srv/cloud/one/var/25/images/disk.1 bs=1 count=1 seek=512M # sudo
2011 Mar 31
2
figuring out LogVol details for mount
Hi, I need to mount a LVM in rescue mode to create a new initrd image. I am not sure how do I fond out which LogVol is to be mounted. How do I find it out? In most of the configs I have used LogVol00 with ext3 filesystem which contains OS install. This particular system is not installed by me and I am not sure how do I find it out. I did try 'lvm lvs' command, but probably that's not
2011 Apr 01
1
logical volume - device present without table
I am trying to mount a logical volume for creating new initrd image. The lvs command is showing a logical volume with 'd' attribute - device present without tables. It's getting listed under /dev/mapper but not under /dev/VolGroup00. Any help on what might be wrong here? -- thanks, neuby.r
2011 May 06
1
ruby 1.8.7 from source
I need to install ruby 1.8.7 on CentOS 5.5 x86_64 system. I am planning to install it from source, but I am not sure whether this will install rdoc, ri and ruby-devel as well. I couldn't figure it out from 'configure --help' command. Appreciate any help regarding this issue. Also, any other installation options or repository suggestions are welcome. thanks, neuby.r
2009 Dec 29
2
LDAP and samba
Hi, I am not sure how to configure LDAP authentication with samba. I have a windows box, which is part of Active Directory domain and does user authentication against it. I would like to use same user credentials and map them to a appropriate network drive (linux home dirs). In short, Linux user's home dir should be available on Windows box also. I looked at the smb.conf man page, but I
2010 Jan 25
2
autofs with nfs plus local directories
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 -rw,hard,intr /home/test1 * -rw,hard,intr nfs1:/export/users/& But this
2011 Feb 08
3
iptables nat table rules
I am forwarding traffic on port 8080 to port 80 with following rule. # iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 8080 -j REDIRECT --to-port 80 # iptables-save However, I am unable to add it directly in /etc/sysconfig/iptables. I think it is used only for filter table and not nat table. So where do nat table rules go? Any help? - cs.
2009 Jun 15
3
hostname changes
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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090615/fb9e463a/attachment-0001.html>
2010 Sep 28
3
netstat - kill by pid ?
I am writing a small script to kill process(es) listening on particular port number. Here I am particularly looking at Java servlet-containers like Tomcat and JBoss, which sometimes don't complete their shutdown process and it still shows up as running process with ps or netstat. This needs to be kill-ed and for that knowing pid of that process is necessary. The netstat by default doesn't