Re: [CentOS] Where are my VIM colors?

2007-12-07 Thread Luciano Rocha
On Fri, Dec 07, 2007 at 09:49:39AM -0500, [EMAIL PROTECTED] wrote: > Maybe, it's stupid question but I've just installed CentOS5 and when I'm > going to edit some of my conf files I see no colors as it did in old > CentOS4x... Did you install vim-enhanced? yum -y install vim-enhanced vim-X11 # fo

Re: [CentOS] Linux vs Windows Drivers

2007-12-26 Thread Luciano Rocha
On Wed, Dec 26, 2007 at 12:48:52PM -0500, Bit wrote: > > Thanks to both of you for the reply. Good information, but that still > doesn't really answer my question. I'm more interested in the technical > side of things. What I really want to understand boils down to this: > > Why is it th

Re: [CentOS] Linux vs Windows Drivers

2007-12-26 Thread Luciano Rocha
On Wed, Dec 26, 2007 at 04:01:22PM -0500, Bit wrote: > Luciano Rocha wrote: > > On Wed, Dec 26, 2007 at 12:48:52PM -0500, Bit wrote: > > > >> Thanks to both of you for the reply. Good information, but that still > >> doesn't really answer my question.

Re: [CentOS] Linux vs Windows Drivers

2007-12-26 Thread Luciano Rocha
On Wed, Dec 26, 2007 at 05:01:54PM -0500, Bit wrote: > ATI drivers are proprietary and closed-source. So, for example, on my > current desktop, I download the Linux drivers for my card from the link > below and run the installer as per their instructions. > http://ati.amd.com/support/drivers

Re: [CentOS] Automatically send CTRL-D

2008-03-11 Thread Luciano Rocha
On Tue, Mar 11, 2008 at 12:58:03PM +, Mário Gamito wrote: > Hi Marcelo, > > On Tue, Mar 11, 2008 at 12:52 PM, Marcelo Roccasalva < > [EMAIL PROTECTED]> wrote: > > > On Tue, Mar 11, 2008 at 10:35 AM, Mário Gamito <[EMAIL PROTECTED]> wrote: > > [...] > > > $ sha512sum | xargs echo "password" |

Re: [CentOS] Install CentOS over FTP

2007-08-17 Thread Luciano Rocha
On Fri, Aug 17, 2007 at 05:18:15PM +0100, Mário Gamito wrote: > Hi, > > Sorry for the newbie question, I've been searching the CentOS site and > googled, but I couldn't find an answer (probably my bad). > > I want to install CentOS 4.5, but I'm having troubles with my CD reader. > > How ca

Re: [CentOS] shrink LV with ext3 filesystem

2007-09-04 Thread Luciano Rocha
On Tue, Sep 04, 2007 at 12:40:24PM +0200, Thomas Antony wrote: > Hi. > > I want to make a snapshot from a logical volume and noticed that there must > be enough free disk space in the volume group. Actually there is no free > disk space left. > How do i shrink online /var without losing a

Re: [CentOS] shrink LV with ext3 filesystem

2007-09-04 Thread Luciano Rocha
On Tue, Sep 04, 2007 at 03:26:53PM +0200, Thomas Antony wrote: > Luciano Rocha schrieb: > > On Tue, Sep 04, 2007 at 12:40:24PM +0200, Thomas Antony wrote: > >> Hi. > >> > >> I want to make a snapshot from a logical volume and noticed that there > &g

Re: [CentOS] shrink LV with ext3 filesystem

2007-09-04 Thread Luciano Rocha
On Tue, Sep 04, 2007 at 08:18:18PM +0200, Thomas Antony wrote: > > >> Is it possible that i log into the server with ssh and umount only /var > >> and then resize the logical volume? > > Yes, but you'll have to stop a lot of daemons and other processes that > > run with files opened in /var. >

Re: [CentOS] Centos 5 or 5.0

2007-09-08 Thread Luciano Rocha
On Thu, Sep 06, 2007 at 10:15:12AM -0300, Centos wrote: > Hello > > I am downloading Centos, but I don't know What is the difference between > Centos 5 and Centos 5.0 The 5 is a link to the latest in the 5.x series. Currently it points to 5.0. > > also as far as I remember any rpm or file

Re: [CentOS] OpenSSH multiple private key question

2007-09-26 Thread Luciano Rocha
On Wed, Sep 26, 2007 at 02:42:51PM -0400, Von Landfried wrote: > I am using CentOS 4.5 with OpenSSH_3.9p1 and I am curious if anyone has a > solution for this scenario. I have several pub/priv keys that I use for > various tasks/reasons. My issue is that I want to have 2 private keys stored >

Re: [CentOS] Silly question - Anything faster than rm?

2007-09-29 Thread Luciano Rocha
On Sat, Sep 29, 2007 at 04:43:43AM -0700, Jamie Lists wrote: > Maybe this is a silly question, but i have a few million files i need > to delete but i can't just reformat the volume. > > Right now the fastest thing i can think of is > > nice -20 rm -Rf /folder-i-want-to-delete > > is there a bet

Re: [CentOS] Hosed my software RAID/LVM setup somehow

2007-10-17 Thread Luciano Rocha
On Wed, Oct 17, 2007 at 04:54:55PM +0200, Kai Schaetzl wrote: > CentOS 5, original kernel (xen and normal) and everything, Linux RAID 1. > > I rebooted one of my machines after doing some changes to RAID/LVM and now > the two RAID partitions that I made changes to are "gone". I cannot boot > int

Re: [CentOS] Hosed my software RAID/LVM setup somehow

2007-10-17 Thread Luciano Rocha
On Wed, Oct 17, 2007 at 06:06:52PM +0200, Kai Schaetzl wrote: > Luciano Rocha wrote on Wed, 17 Oct 2007 16:08:31 +0100: > > > mount uses /etc/mtab for displaying current mounts, which is invalid > > when starting the boot. Check /proc/mounts for the correct values. > >

Re: [CentOS] fetchmail log messages I don't understand

2007-10-24 Thread Luciano Rocha
On Wed, Oct 24, 2007 at 11:46:34AM -0500, Chuck Campbell wrote: > I see these messages every time fetchmail pops my mail. I don't understand > what certificates it is talking about, or how to straighten this out. A certificate identifies the server, i.e., the client gets a piece of information ab

Re: [CentOS] fetchmail log messages I don't understand

2007-10-24 Thread Luciano Rocha
On Wed, Oct 24, 2007 at 12:22:21PM -0500, Johnny Hughes wrote: > Luciano Rocha wrote: > > On Wed, Oct 24, 2007 at 11:46:34AM -0500, Chuck Campbell wrote: > >> I see these messages every time fetchmail pops my mail. I don't understand > >> what certificate

Re: [CentOS] script help

2007-10-26 Thread Luciano Rocha
On Fri, Oct 26, 2007 at 11:28:37AM +0100, Tom Brown wrote: > Hi > > I am sure the answer here is really easy but i am stuck! > > # mount | grep data | awk '{print$1,$2,$3}' > > gives me the info i require locally, however i need to execute this over > about 1000 hosts so i run things remot

Re: [CentOS] script help

2007-10-26 Thread Luciano Rocha
On Fri, Oct 26, 2007 at 11:52:50AM +0100, Luciano Rocha wrote: > On Fri, Oct 26, 2007 at 11:28:37AM +0100, Tom Brown wrote: > > Hi > > > > I am sure the answer here is really easy but i am stuck! > > > > # mount | grep data | awk '{print$1,$2,$3}' &g

[CentOS] typo in /etc/X11/xinit/Xsession

2007-10-27 Thread Luciano Rocha
line 15: if ( unask 077 && cp /dev/null "$errfile" 2> /dev/null ); then Should be umask. -- lfr 0/0 pgpPXEZbwYz8L.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] typo in /etc/X11/xinit/Xsession

2007-10-27 Thread Luciano Rocha
On Sat, Oct 27, 2007 at 11:44:52AM -0700, Akemi Yagi wrote: > On 10/27/07, Luciano Rocha <[EMAIL PROTECTED]> wrote: > > > > line 15: > > if ( unask 077 && cp /dev/null "$errfile" 2> /dev/null ); then > > > > Should be umask. > &

Re: [CentOS] PGP On Centos

2007-06-12 Thread Luciano Rocha
On Tue, Jun 12, 2007 at 11:28:37AM -0700, Karl R. Balsmeier wrote: > Hey I need to run some pgp commands, -what's the name of the package > supported by Centos that will allow me to work with pgp? > > I need to run pgp --fingerprint key.name gnupg, and the command is gpg. It should be already

Re: [CentOS] network raid file system/server

2007-06-14 Thread Luciano Rocha
On Thu, Jun 14, 2007 at 01:43:22PM +0200, Peter Kjellstrom wrote: > On Wednesday 13 June 2007, Antonio da Silva Martins Junior wrote: > > Hi Farkas, > > > > I think a start is to look on PVFS2 (www.pvfs.org). > > > > Or maybe using nbd and softwareraid ??? > > Neither will eliminate servers an

Re: [CentOS] network raid file system/server

2007-06-14 Thread Luciano Rocha
On Thu, Jun 14, 2007 at 11:39:12PM +0200, Farkas Levente wrote: > Luciano Rocha wrote: > > On Thu, Jun 14, 2007 at 01:43:22PM +0200, Peter Kjellstrom wrote: > >> On Wednesday 13 June 2007, Antonio da Silva Martins Junior wrote: > >>> Hi Farkas, > >>> &

Re: [CentOS] network raid file system/server

2007-06-14 Thread Luciano Rocha
On Thu, Jun 14, 2007 at 11:35:30PM +0200, Farkas Levente wrote: > afaik ocsf2 is not redundant:-( It isn't redundant per se, but it allows you to access a shared storage (hardware that supports it or network raid as I explained in my other mail) simultaneously in multiple servers. Thus, you can ha

Re: [CentOS] OT - IP Tables - forwarding to localhost

2007-06-18 Thread Luciano Rocha
On Mon, Jun 18, 2007 at 11:46:42AM +0100, first last wrote: > Hi, > > I am trying to set up a firewall rule so calls to old_mailserver:25 get > redirected to localhost:25. I have seen quite a few rules and none seem > to work. > > I have tried with the firewall enabled (configured to allow smtp)

Re: [CentOS] mounting an lvm partition via a USB adapter

2007-06-18 Thread Luciano Rocha
On Mon, Jun 18, 2007 at 08:10:28AM -0400, Robert Moskowitz wrote: > I am trying to mount this (my old hard drive) from my Centos 5 install as a > USB drive so I can copy files over. > > The second partition, /dev/sda2 is the one I really want and it is an lvm > partition. When I am booted f

Re: [CentOS] CUPS driver for Panasonic DP-2330 printer?

2007-06-19 Thread Luciano Rocha
On Tue, Jun 19, 2007 at 12:16:51PM -0400, James B. Byrne wrote: > > Can anyone point me to a possible source of a linux cups driver > specifically for this machine or to a work-alike driver for a similar > piece of equipment. Failing this, does anyone have any suggestions as to > any open source s

Re: [CentOS] xterm

2007-06-21 Thread Luciano Rocha
On Thu, Jun 21, 2007 at 11:00:25PM +0200, Web and Co sprl - Patrick DERWAEL wrote: > Hi list… > > > > I’m in the process of switching from a RedHat EL 4 to CentOS 5, and run into > some problems… > > I’m trying to open a X session to my Centos box, and got an error message > stating that /usr

Re: [CentOS] iptables rule (MAC filtering)

2007-06-25 Thread Luciano Rocha
On Mon, Jun 25, 2007 at 06:20:04PM +0200, Jordi Espasa Clofent wrote: > Hi all, > > I've a CentOS box which as two NIC; this box is also a router for LAN > subnet: > > > | eth0 (external) 172.0.0.1| ^ this is a very bad e

Re: [CentOS] iptables rule (MAC filtering)

2007-06-25 Thread Luciano Rocha
On Mon, Jun 25, 2007 at 09:46:22PM +0200, Jordi Espasa Clofent wrote: > > > ^ this is a very bad example > > > > It's understandable example; so, it's enough. 127.x is always private to each host, so it is confusing. I just assumed it was one address that just ca

Re: [CentOS] du vs df size difference

2009-09-30 Thread Luciano Rocha
On Wed, Sep 30, 2009 at 04:59:25PM -0400, Ryan Pugatch wrote: > Hi all, > > Curious issue.. looking in to how much disk space is being used on a > machine (CentOS 5.3). When I compare the output of du vs df, I am > seeing a 12GB difference with du saying 8G used and df saying 20G used. > > # d

Re: [CentOS] du vs df size difference

2009-10-01 Thread Luciano Rocha
On Wed, Sep 30, 2009 at 06:30:08PM -0400, Ryan Pugatch wrote: > > > Luciano Rocha wrote: > > > Do this: > > mount /dev/xvda3 /mnt > > du -hc /mnt > > > > And see if you can find the other 12GB. > > > > I usually do: > > du -mc --max-

Re: [CentOS] [OT] - Estrutura de armazenamento de uma grande quantidade de arquivos

2009-11-27 Thread Luciano Rocha
On Fri, Nov 27, 2009 at 09:42:54AM -0200, "Fábio Jr." wrote: > Olá pessoal, Posts para esta lista devem ser feitos em Inglês. Posts to this list must be done in English. Cumprimentos, Luciano Rocha -- lfr 0/0 pgpA2uWZ0v118.pgp Description:

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread Luciano Rocha
On Thu, Dec 31, 2009 at 11:39:25AM -0400, robert mena wrote: > Hi, > > I lost my mdadm.conf (and /proc/mdadm shows nothing useful) and I'd like to > mount the filesystem again. So I've booted using rescue but I was wondering > if I can do a command like this safely (i.e without losing the data >

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread Luciano Rocha
On Thu, Dec 31, 2009 at 12:24:23PM -0400, robert mena wrote: > Hi, > > it worked (kind of). Thanks. > > I was able to recreate (the all appear in /proc/mdstat) and in the rescue > I've mounted the /boot which maps to /dev/md0. But I can't mount any other > partition. > > they all complain with t

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread Luciano Rocha
On Thu, Dec 31, 2009 at 04:23:52PM +, Joseph L. Casale wrote: > > That's a fairly limited script and out of date, I've never used mknod... Not all rescue environments have MAKEDEV or have it in $PATH, so this should always work. ;) -- lfr 0/0 pgpVfPn6gbK7v.pgp Description: PGP signature _

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread Luciano Rocha
On Thu, Dec 31, 2009 at 12:38:51PM -0400, robert mena wrote: > Hi, > > Yes. > > I have from /devmd0 to /dev/md6 (for some reason it skipped md3). > > I do not have the fstab at hand but > / > /boot > and /tmp > > each map to a different mdX. I've been able to mount the /boot but no > other. >

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread Luciano Rocha
On Thu, Dec 31, 2009 at 04:40:56PM +, Joseph L. Casale wrote: > >Not all rescue environments have MAKEDEV or have it in $PATH, so this should > >always work. ;) > > Really, on my hp's as well? I don't have any /dev/hdx or /dev/sdx on the ones > with software raid... > > Nothing is easier th

Re: [CentOS] tar exclude command

2010-01-07 Thread Luciano Rocha
On Thu, Jan 07, 2010 at 07:06:11AM -0800, adrian kok wrote: > Hi > > I have problem in tar command > > Can you help? > > tar -cv --exclude /var/named/chroot/proc/* -zf backup.tar.gz /var/named You must escape the *, so that shell doesn't convert the command to: tar -cv --exclude /var/named/c

Re: [CentOS] exam txt file

2008-04-17 Thread Luciano Rocha
On Thu, Apr 17, 2008 at 05:56:36AM -0700, Hiep Nguyen wrote: > hi all, i have centos 5 w/o gui. i can only have access via ssh. > > i have a text file that contains special (unprintable) characters, what > editor i can use to exam what those character are??? > > i use vi, but i don't know w

Re: [CentOS] [OT]: Passing password for a command on the fly

2008-05-16 Thread Luciano Rocha
On Fri, May 16, 2008 at 09:38:17AM +0100, Mário Gamito wrote: > Hi, > > First things first, sorry for the off-topic, but I've already burned > my eyes Googling and couldn't find the answer to what I need and I > remembered asking here, because I'm a long time CentOS and its mailing > list user. >

Re: [CentOS] screen detatch

2008-07-22 Thread Luciano Rocha
On Tue, Jul 22, 2008 at 01:02:07PM -0400, David Mackintosh wrote: > The man page for screen says that I can create a detatched screen > running with a set command in it by doing this: > > $ screen -dm $command > > However, it doesn't work. Screen exits without creating the detached > screen.

Re: [CentOS] Encrypted File Storage

2009-08-10 Thread Luciano Rocha
On Mon, Aug 10, 2009 at 05:23:48PM +, Joseph L. Casale wrote: > Anyone got any experience/suggestions for a way to store a directory of > sensitive information on a CentOS box? This directory contains many scripts > and output files, I need it backed up but not unencrypted and don't want > to s

Re: [CentOS] System Recovery

2009-09-04 Thread Luciano Rocha
On Fri, Sep 04, 2009 at 11:24:16AM -0500, Robert wrote: > I deleted one copy of the backup, as I've done in the past and made a > new crontab entry to try the backup again 2 or 3 minutes later. It was > still running several hours later, which couldn't possibly be right. > Next, I tried clearin

Re: [CentOS] logrotate and regular expressions

2009-09-23 Thread Luciano Rocha
On Wed, Sep 23, 2009 at 11:33:32AM -0400, Sol Fulop wrote: > I am trying to use logrotate to rotate our web logs for our various > vhosted sites to cut down on space and rotate out old logs that are not > necessary to keep around personally. What Im curious to find out, is > how supported extended

Re: [CentOS] logrotate and regular expressions

2009-09-23 Thread Luciano Rocha
On Wed, Sep 23, 2009 at 11:51:04AM -0400, Sol Fulop wrote: > Is there a way around that??? Like run a command to get all the > filenames then pipe it to the config directive > /path/to/logs/access_log.www.*.(com|org|net|us) {} in logrotate.conf? In that particular instance, you can use: /path/to/l

Re: [CentOS] specialix module

2008-08-26 Thread Luciano Rocha
s. But be wary of differences between the kernel versions (different signatures for internal functions: INIT_WORK, kmem_cache_x, etc.; or different types). Regards, Luciano Rocha -- lfr 0/0 pgp4aCkhvFFVb.pgp Description: PGP signature ___ CentOS m

Re: [CentOS] Finding the correct ext3-fs dm/LVM?

2008-10-20 Thread Luciano Rocha
On Mon, Oct 20, 2008 at 07:31:22PM +0200, Kai Schaetzl wrote: > I'm getting ext3-fs maximal mount count warnings on logical volumes that > are regularly mounted und unmounted for backup. Of course, I can just > tune2fs all of them to stop that. But, if I wanted to find out for > instance which o

Re: [CentOS] Finding the correct ext3-fs dm/LVM?

2008-10-20 Thread Luciano Rocha
On Mon, Oct 20, 2008 at 06:36:30PM +0100, Luciano Rocha wrote: > On Mon, Oct 20, 2008 at 07:31:22PM +0200, Kai Schaetzl wrote: > > I'm getting ext3-fs maximal mount count warnings on logical volumes that > > are regularly mounted und unmounted for backup. Of course, I can just

Re: [CentOS] compare directories

2008-10-23 Thread Luciano Rocha
On Thu, Oct 23, 2008 at 11:53:20AM +0200, David Hláčik wrote: > Hello guys, > > I have two mirrors. I need to compare files and directories on both mirrors > and as a result print list of those which are missing on mirror 2 > > What i did > > find /data > find.mirror1 > > find /data > find.mirr

Re: [CentOS] resize LVM (ext3)

2008-10-29 Thread Luciano Rocha
lvreduce and my ext3 will shrink automatically? NO! lvreduce doesn't care about what's inside, and will happily lose data. >4. Do i need to umount system/home when resizing? Yes, and you must do a full fsck also: e2fsck -f /dev/system/home Regards, Luciano Rocha -- lfr 0

Re: [CentOS] resize LVM (ext3)

2008-10-29 Thread Luciano Rocha
On Wed, Oct 29, 2008 at 01:38:06PM +0100, David Hláčik wrote: > > > > > > Now, for lvresize: > > lvresize -L 80G system/home > > Are you sure there should not be lvreduce -L 80G system/home ? Same thing. I prefer the direction-neutral lvresize. Regar