Re: [CentOS] how to startup snmpd on debug mode

2010-01-15 Thread John Doe
From: mcclnx mcc mcc...@yahoo.com.tw --- 10/1/15 (五),Kwan Lowe 寫道: I tried to startup snmpd on debug mode but NOT successful (CENTOS 5.4). 狢 have been tried following way: /etc/init.d/snmpd start -D /etc/init.d/snmpd -D start service snmpd -D restart any ideal??? Edit the

Re: [CentOS] yum install -y gcc?

2010-01-14 Thread John Doe
From: hadi motamedi motamed...@gmail.com I tried to install GCC3.x , required to compile Asterisk , on my CentOS 5 server as the followings : #yum install -y gcc First, didn't you intend to install compat-gcc-34 ? 'yum install gcc' would install gcc 4.x But in the middle of the installation ,

Re: [CentOS] Backup server

2010-01-14 Thread John Doe
From: Sorin Srbu sorin.s...@orgfarm.uu.se My google searches would have me believe that Amanda is the more popular choice for backup on linux. On this list it seems Backuppc is. Strange... amanda was created in 1991... BackupPC in 2001. That would explain it a bit... Also if tapes are the

Re: [CentOS] more kickstart - saving %pre decisions for %post

2010-01-14 Thread John Doe
From: Alan McKay alan.mc...@gmail.com I thought of that but I don't want to mess up what I already have working with manipulating files in /etc But at least I can try it to see if this much works It did mess up all my /etc work, and did not work anyway I was talking about tmp... Not sure

Re: [CentOS] more kickstart - saving %pre decisions for %post

2010-01-13 Thread John Doe
From: Alan McKay alan.mc...@gmail.com How can I save answers to questions in %pre, for use in %post? I'm assuming (though have not yet tried) that variables won't live that long. Could I save them off to /tmp in a file, and retrieve them? Yes but post can be used 'chrooted' or 'non-chrooted'.

Re: [CentOS] kickstart %pre help on C5.4

2010-01-13 Thread John Doe
From: Alan McKay alan.mc...@gmail.com I'm doing some %pre work for the first time in a very long time, and have been at this all day so far and still don't have anything sorted out properly. First I tried just doing some simple bash stuff like this %pre #!/bin/bash # stuff I reduced stuff

Re: [CentOS] Backup server

2010-01-13 Thread John Doe
From: Sorin Srbu sorin.s...@orgfarm.uu.se I've built a new backup server for our linux-clients. Is Amanda the way to go for a backup-solution? It seems to be pretty powerful, if a bit finickety to set up initially. The way we currently do backups is to use rsync from the clients to two

Re: [CentOS] more kickstart - saving %pre decisions for %post

2010-01-13 Thread John Doe
From: Alan McKay alan.mc...@gmail.com http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Installation_Guide-en-US/s1-kickstart2-postinstallconfig.html Hmmm, that link tells me surprisingly little. Can you give some specifics as to how I might accomplish this? It means, if you don't

Re: [CentOS] Backup server

2010-01-13 Thread John Doe
- Original Message From: Les Mikesell lesmikes...@gmail.com To: CentOS mailing list centos@centos.org Sent: Wed, January 13, 2010 2:49:11 PM Subject: Re: [CentOS] Backup server Sorin Srbu wrote: -Original Message- From: centos-boun...@centos.org

Re: [CentOS] more kickstart - saving %pre decisions for %post

2010-01-13 Thread John Doe
From: Alan McKay alan.mc...@gmail.com On Wed, Jan 13, 2010 at 9:48 AM, John Doe wrote: It means, if you don't use -nochroot, the '/', when in post, will be '/mnt/sysimage'. If you do use -nochroot, the '/' will be '/'. Hmmm, that is behaving differently that what I see. I have never

Re: [CentOS] 8-15 TB storage: any recommendations?

2010-01-12 Thread John Doe
From: Karanbir Singh mail-li...@karan.org On 12/01/10 00:02, Christopher Chan wrote: problems mostly centered around management and performance issues. the world is littered with stores of cciss fail Really? Man, I have been given this spanking new HP DL370 G6 and running Centos 5.4 on

Re: [CentOS] I can't start the SVN server at the boot on CentOS

2010-01-12 Thread John Doe
From: Anas Alnaffar a.alnaf...@tijaritelecom.com I have just installed an SVN server on a CentOS 5.4 machine. how I can start the SVN server automatically at the boot of the machine. How did you install it... from rpm? source? Using builtin auth or ssh? What does the documentation say? Does it

Re: [CentOS] Securing http authentication from brute force attacks

2010-01-11 Thread John Doe
From: James B. Byrne byrn...@harte-lyne.ca We have several web applications deployed under Apache that require a user id / password authentication. Some of these use htdigest and others use the application itself. Recently we have experienced several brute force attacks against some of

Re: [CentOS] Can't Compile Driver due to Missing version.h

2010-01-08 Thread John Doe
From: Mufit Eribol h...@onart.com.tr grep: /include/linux/version.h: No such file or directory ... /usr/include/linux/version.h /usr/src/kernels/2.6.18-128.1.1.el5-PAE-i686/include/linux/version.h /usr/src/kernels/2.6.18-164.9.1.el5-PAE-i686/include/linux/version.h

Re: [CentOS] Apache/Cluster issue -- Single public IP address

2010-01-08 Thread John Doe
From: a...@myphonebook.co.in a...@myphonebook.co.in I want to set up a cluster that is used for web hosting (RHCS cluster). Recently, I experimented with a 2 node cluster and was able to run it successfully. However, I have started facing some issues with Apache, which I had configured as a

Re: [CentOS] setup schedule cron job every other week?

2010-01-08 Thread John Doe
From: mcclnx mcc mcc...@yahoo.com.tw Thank you. This script only work on regular enviroment like sh, ksh and bash. When I put on cron job I got error message: /bin/sh: -c: line 0: unexpected EOF while looking for matching `'' It says you miss a closing back-quote... JD

Re: [CentOS] [OT] 8-15 TB storage: any recommendations?

2010-01-08 Thread John Doe
From: Thomas Harold thomas-li...@nybeta.com Yah, RAID-5 is a bad idea anymore with the large drive sizes. RAID-6 or RAID-10 is a far better choice. I prefer RAID-10 because the rebuild time is based on the size of a drive pair, not the entire array. Anyone tested RAID 50 and/or 60

Re: [CentOS] 8-15 TB storage: any recommendations?

2010-01-07 Thread John Doe
From: Boris Epstein borepst...@gmail.com This is not directly related to CentOS but still: we are trying to set up some storage servers to run under Linux - most likely CentOS. The storage volume would be in the range specified: 8-15 TB. Any recommendations as far as hardware? Depends on your

Re: [CentOS] [OT] 8-15 TB storage: any recommendations?

2010-01-07 Thread John Doe
From: Karanbir Singh mail-li...@karan.org On 01/07/2010 02:30 PM, Boris Epstein wrote: KB, thanks. When you say dont go over 1 TiB in storage per spindle what are you referring to as spindle? disk. it boils down to how much data do you want to put under one read/write stream. the

Re: [CentOS] 8-15 TB storage: any recommendations?

2010-01-07 Thread John Doe
Yes, the Sun Fire Xs are costly... Here, 35k euros for 48 x 1TB by example, or 22k for 48 x 500GB... Our 12TB HP is around 6k. So 12k for almost the same as the 22k But if you use 1TB disks on the Sun, you end up using half the Us (and save some power) in your bay; which might be nice if you are

Re: [CentOS] /var/log/message file nmhs ....???

2010-01-06 Thread John Doe
From: mcclnx mcc mcc...@yahoo.com.tw We have CENTOS 5.4 X86_64 on DELL server. This server havs been run 5 months no special message. Recently I found /var/log/messages file have following message pop-up: Jan 5 15:14:19 ORA1 kernel: program nmhs is using a deprecated SCSI ioctl, please

Re: [CentOS] setup schedule cron job every other week?

2010-01-06 Thread John Doe
From: mcclnx mcc mcc...@yahoo.com.tw We have CENTOS 5 on DELL server. I tried to setup schedule cron job to run every other week on Saturday (NOT first and third week ). Not tested, might work... maybe: 0 0 8-31/14 * 6 /script.sh 8-31/14 should skip the first week and then go every 2 weeks

Re: [CentOS] setup schedule cron job every other week?

2010-01-06 Thread John Doe
From: John Doe jd...@yahoo.com From: mcclnx mcc We have CENTOS 5 on DELL server. I tried to setup schedule cron job to run every other week on Saturday (NOT first and third week ). Not tested, might work... maybe: 0 0 8-31/14 * 6 /script.sh 8-31/14 should skip the first week

Re: [CentOS] setup schedule cron job every other week?

2010-01-06 Thread John Doe
From: Brent L. Bates blba...@vigyan.com From: mcclnx mcc 0 0 8-31/14 * 6 /script.sh From: John Doe 0 0 8-14 * 6 /script.sh 0 0 22-28 * 6 /script.sh According to the man page, neither of these will not do what the OP wants. Both will execute the command EVERY Saturday

Re: [CentOS] Signing In Other than Root

2010-01-05 Thread John Doe
From: Susan Day suzieprogram...@gmail.com How do I make it so that it's impossible to SSH into the server directly as root? That is, make it necessary to SSH in as an ordinary user and then su to root? Google says: /etc/ssh/sshd_config: PermitRootLogin no JD

Re: [CentOS] attack

2009-12-24 Thread John Doe
From: Manu Verhaegen mav...@telenet.be My server is under attack allows the attacker to abuse of a php script of a vhost. How can I find what is the script. Could you be more specific...? Anything in the log files? JD ___ CentOS mailing

Re: [CentOS] Security advice, please

2009-12-18 Thread John Doe
From: Anne Wilson cannewil...@googlemail.com I run chkrootkit daily. For the first time I've got reports of a problem - Checking `bindshell'... INFECTED (PORTS: 1008) The page http://fatpenguinblog.com/scott-rippee/checking-bindshell-infected- ports-1008/ suggests that this might be a

Re: [CentOS] Image conversion with ImageMagick doesn't work on CentOS, but it works fine on Debian Lenny.

2009-12-17 Thread John Doe
From: Peter Serwe peter.se...@gmail.com CentOS 5.2, [r...@pythagoras ~]# rpm -q ImageMagick ImageMagick-6.2.8.0-4.el5_1.1 ImageMagick-6.2.8.0-4.el5_1.1 on CentOS 5.4 and never experienced any corruption here... Did you try to convert an image several times and check that they are all the same?

Re: [CentOS] Clarification required for ICMP Error Message

2009-12-17 Thread John Doe
From: Balaji balajisun...@midascomm.com Currently i am using CentOS4.4 Linux Release I have getting the following message every 10 seconds on my screen kernel: 192.168.163.193 sent an invalid ICMP type 3, code 0 error to a broadcast: 172.24.255.255 on eth0 Can any one explain

Re: [CentOS] Help With Glade and C5 64-bit?

2009-12-17 Thread John Doe
From: Scott Ehrlich srehrl...@gmail.com you did mention it, but you mentioned yum install glade while I suggested installing a package called glade2. Note the 2. Doing a search with apt suggests glade2 is what you want, there is no package called glade in c5. I'm sure yum search or yum list or

Re: [CentOS] yum quit working in CentOS 5.4 x86_64

2009-12-14 Thread John Doe
From: David McGuffey davidmcguf...@verizon.net Have been running 5.4 x86_64 for a couple of months now. Every once in a while, I would get a notice that updates were available. It appears that about 3 weeks ago, yum stopped notifying me of updates. Over that time, I've manually done a 'yum

Re: [CentOS] Firewall for virtual machines

2009-12-14 Thread John Doe
From: mark m.r...@5-cent.us Kai Schaetzl wrote: Mhr wrote on Fri, 11 Dec 2009 13:50:27 -0800: would it be a bad idea (or a complete waste) to use a firewall, like ZoneAlarm, on my Windows guest OS? Yes, using ZA is a bad idea. XP has its own firewall which is enabled by default

Re: [CentOS] find latest version of rpms from a mirror

2009-12-10 Thread John Doe
From: john blair mailtome200420032...@yahoo.com I want to write a script to find the latest version of rpm of a given package available from a mirror for eg: http://mirror.centos.org/centos/5/os/x86_64/CentOS/ Is there any existing script that does this? Or can someone give me a general

Re: [CentOS] No ulimit for user

2009-12-08 Thread John Doe
From: Stephen Nelson-Smith step...@atalanta-systems.com I'm trying to remove any limit on open files for a user; I've set username nofiles to unlimited in /etc/security/logins.conf, but now I get could not open session if I try to su to the user. singhh - nofile

Re: [CentOS] Kickstart wrong swap size

2009-12-07 Thread John Doe
From: Lars Hecking lheck...@users.sourceforge.net All machines kickstarted here consistently have a swap partition with the wrong size. According to the RHEL5 manual: | To determine the size of the swap partition automatically, use the | --recommended option: | | swap --recommended | |

Re: [CentOS] Inquiry:How to compare two files but not in line-by-line basis?

2009-12-03 Thread John Doe
From: hadi motamedi motamed...@gmail.com Can you please do me favor and let me know if I can go further and try for advanced search like finding how many rows inside a file have data that does not start with a zero after the third comma ? Something like: awk -F, ' { print $4 } ' | grep -v

Re: [CentOS] Inquiry:How to compare two files but not in line-by-line basis?

2009-12-03 Thread John Doe
From: mark m.r...@5-cent.us John Doe wrote: From: hadi motamedi Can you please do me favor and let me know if I can go further and try for advanced search like finding how many rows inside a file have data that does not start with a zero after the third comma ? Something like: awk

Re: [CentOS] CentOS 5.3 - changing display settings

2009-12-02 Thread John Doe
From: Andrew andy.al...@virgin.net I've just installed CentOS 5.3 on my desktop and need to change the installed display setting from 1280x1024 to 1024x768 (more suitable for my monitor). When I try this on the Display Settings tab, I get the message: Display settings changed You need to log

Re: [CentOS] Startup script woes

2009-12-02 Thread John Doe
From: Robert Bielik robert.bie...@xponaut.se Ok, I think I'm going nuts. I simply want to startup a Java Service like so: daemon --pidfile=$PIDFILE --user $USER cd $WORKING_DIR /usr/bin/java $DAEMON_ARGS /dev/null 21 I can get it to startup alrite, but the litte thingy is that I have no way

Re: [CentOS] how to install ash on CentOS 5.4?

2009-12-02 Thread John Doe
From: Rudi Ahlers r...@softdux.com Does anyone know if it's possible to install ash on CentOS 5.4, or just CentOS 5, for that matter? I'm trying to install OpenQRM which requires ash, but ash doesn't exist in the repositories. rpmfind.net als only has an older version listed, for CentOS 4

Re: [CentOS] Inquiry:How to compare two files but not in line-by-line basis?

2009-12-02 Thread John Doe
From: hadi motamedi motamed...@gmail.com Sorry . I tried for #diff -y but its output seems to have a comparison between the two files in line-by-line basis . As you mentioned , if the row#1 in file1 is in match with say row#5 in file2 I want it not to be considered as a difference. But the the

Re: [CentOS] Amavisd and ClamAV

2009-11-27 Thread John Doe
From: Tony Molloy tony.mol...@ul.ie Things work OK with the exception of clamav. When I start clamav I get the following error. [r...@newgoext ~]# service clamd.amavisd start Starting clamd.amavisd: ERROR: Missing argument for option at line 2 ERROR: Can't open/parse the config file

Re: [CentOS] Disable Hibernation option ?

2009-11-25 Thread John Doe
From: Niki Kovacs cont...@kikinovak.net Is there any way to disable the Hibernate option ? In the past, I've accidentally clicked on it, which put the computer to sleep, only it refused to wake up after that. Google gives:

Re: [CentOS] where is tunctl

2009-11-25 Thread John Doe
From: Jerry Geis ge...@pagestation.com I am following directions in http://wiki.centos.org/HowTos/KVM#head-c02a0b33e7949b0bc3b151ac6e0bdfb91b6bbd1c it says do yum install bridge-utils - works fine, they yum install tunctl does not find anything. yum provides */tunctl does not find anything

Re: [CentOS] where is tunctl

2009-11-25 Thread John Doe
From: Eero Volotinen eero.voloti...@iki.fi You need to follow documentation: This is now available from the RPMForge repository, so you need to install RPMForge repository first. See documentation at: I have rpmforge and yum does not find tunctl... I think it is in EPEL, but I don't use it

Re: [CentOS] Problem with Samba on CentOS 5.3

2009-11-20 Thread John Doe
From: Kaplan, Andrew H. ahkap...@partners.org I am having an issue with the Samba package, release 3.033375, that came bundled with the CentOS 5.3 distribution. It seems that even though I created the smbpasswd file, located at the /etc/samba directory, I am unable to modify the password of

Re: [CentOS] yum-changelog dependencies...

2009-11-16 Thread John Doe
From: kalinix calin.kalinix.co...@gmail.com Actually you have to have python-dateutil installed (probably a missing dependency) and the command should be ran as: yum changelog date|number|all [PACKAGE|all|installed|updates|extras|obsoletes|recent] I saw this redhat bugfix: If yum changelog or

Re: [CentOS] Stop K3B CDDB Popup

2009-11-13 Thread John Doe
From: MIKE - EMAIL IGNORED m_d_berger_1...@yahoo.com On CentOS 5.4 I just installed K3B to write some CDs. Now every time I used a CD, I get a popup that asks me to Select a CDDB entry How can I stop this popup? Tried the 'configure k3b' menu? There's a CDDB section... JD

Re: [CentOS] run script on logout

2009-11-13 Thread John Doe
From: Janez Kosmrlj postnali...@googlemail.com Does anyone have an idea how to run a script when the user logs out. I tried puting the command in the .bash_logout file, but it doesnt work. bash man: A login shell is one whose first character of argument zero is a -, or one started

Re: [CentOS] Stop K3B CDDB Popup

2009-11-13 Thread John Doe
From: MIKE - EMAIL IGNORED m_d_berger_1...@yahoo.com On Fri, 13 Nov 2009 02:27:18 -0800, John Doe wrote: From: MIKE - EMAIL IGNORED On CentOS 5.4 I just installed K3B to write some CDs. Now every time I used a CD, I get a popup that asks me to Select a CDDB entry How can I stop

Re: [CentOS] Rescuing svn repo from *IDIOTS*

2009-11-13 Thread John Doe
From: Stephen Nelson-Smith step...@atalanta-systems.com A moron has checked in a DVD iso into subversion. How can I undo the damage, and make the repo a sensible size again? Also, is there a cunning way to get subversion to say: Oi! Moron! This file is huge, you can't check it in! ? I also

Re: [CentOS] Yum Skipping filter question

2009-11-13 Thread John Doe
From: Majian jian...@gmail.com When I run yum update command in my laptop , it displayed this : r...@foo Desktop]# yum update Loaded plugins: aliases, changelog, fastestmirror, filter-data, keys, kmod, list-data, priorities, protect- : packages, protectbase, security, tmprepo,

Re: [CentOS] Print stuck in queue

2009-11-13 Thread John Doe
From: Robert Moskowitz r...@htt-consult.com I have some prints stuck in my print queue from firefox. I tried restarting CUPS, no change. What can I do? I don't think I should have to reboot. Checked in CUPS web interface? http://localhost.localdomain:631/ Or with the lp*.cups tools? JD

[CentOS] yum-changelog dependencies...

2009-11-13 Thread John Doe
Hi, I wanted to try yum-changelog, so I yum installed it. It installed without complaining. But, when I try to use it, it complains about a missing module: Dateutil module not available, so can't parse dates Missing dependency? Only package I found is python-dateutil.noarch from rpmforge. Is it

Re: [CentOS] Partition alignment

2009-11-10 Thread John Doe
From: Scott McClanahan smcclana...@sigovs.com I'd like to use cobbler for dynamically creating kickstart scripts and wasn't sure if I could align my disk during install some how. Are there kickstart arguments to force the alignment on a 4k boundary? Have any of you had to do this?

Re: [CentOS] Inquiry:How to check for IP conflict on my CentOS server?

2009-11-10 Thread John Doe
From: hadi motamedi motamed...@gmail.com Please be informed that I have set an secondary IP address on my CentOS server to be able to reach to another Intranet , as the followings: #ifconfig eth0:1 172.18.209.1 netmask 255.255.0.0 up But I am not aware if any other node on the new Intranet is

Re: [CentOS] mysqld not starting on reboot

2009-11-10 Thread John Doe
From: Victor Subervi victorsube...@gmail.com I installed mysql using yum, so I have an /etc/init.d/mysqld file. For some reason, however, mysqld doesn't boot on reboot of the machine. Please advise. Did you use chkconfig like several people advised you to in previous posts? JD

Re: [CentOS] chroot question - can you help?

2009-11-09 Thread John Doe
From: adrian kok adriankok2...@yahoo.com.hk I install new linux in sda and try to recover the boot partition in sdb I mount it /dev/sdb1 /bootpartion but I can't chroot into it and grub-install Can you help [r...@host ~]# chroot /bootpartion chroot: cannot run command `/bin/bash': No such

Re: [CentOS] Cluster server options?

2009-11-09 Thread John Doe
From: Scott Ehrlich srehrl...@gmail.com I have a 10 blade cluster of just hardware - I can install what I want, how I want. What options are there if I wanted to build the 10 blades as one large beast, but _NOT_ necessarily for someone doing grid-type work?Some users don't now how to

Re: [CentOS] How Can I change CentOS CLI Screen Resolution to smaller text (without GUI)?

2009-11-09 Thread John Doe
From: Sam Acosta acosta@gmail.com To: CentOS mailing list centos@centos.org Sent: Mon, November 9, 2009 7:06:42 AM Subject: Re: [CentOS] How Can I change CentOS CLI Screen Resolution to smaller text (without GUI)? Thanks for the inputs guys... But how could I reload the grub config

Re: [CentOS] How Can I change CentOS CLI Screen Resolution to smaller text (without GUI)?

2009-11-09 Thread John Doe
From: Sam Acosta acosta@gmail.com But how could I reload the grub config file after boot. Of course, I just could easily re-start our server without prior scheduling... Maybe check SVGATextMode JD ___ CentOS mailing list

Re: [CentOS] vsFTP Question

2009-11-06 Thread John Doe
From: Victor Subervi victorsube...@gmail.com Now that it's installed, how do I start it and add a user? I can hardly believe there is *no* documentation! Google: vsftpd centos howto First link is CentOS wiki: http://wiki.centos.org/HowTos/Chroot_Vsftpd_with_non-system_users Third link is the

Re: [CentOS] Who's eating our bandwidth?

2009-11-04 Thread John Doe
From: Niki Kovacs cont...@kikinovak.net Then, I took a peek in /var/log/httpd and the *-access.log files show quite some activity. Some haphazard whois on various IP addresses show me that these are no library users from around here. Like: Bogota?!? Peking?!? And quite some search engines.

[CentOS] Certificates Revocation Lists and Apache...

2009-11-04 Thread John Doe
Hi, already asked in the openssl mailing list, but just in case you already went through this... I need a little help with Certificate Revocation Lists. I did setup client certificates filtering with apache and it seem to work fine so far (used a tutorial on http://www.adone.info/?p=4, down

Re: [CentOS] Certificates Revocation Lists and Apache...

2009-11-04 Thread John Doe
From: nate cen...@linuxpowered.net Any relation to this? https://issues.apache.org/bugzilla/show_bug.cgi?id=45708 I don't think so; my tests are quite simple: - Start from clean state ( - Generate CA certificate - Generate CASSL certificate signed by CA - Generate Client Certificate

Re: [CentOS] Nagios check_file size in another machine

2009-11-03 Thread John Doe
From: kebo jantan jantan.keb...@gmail.com Now, I have a situation that I would like to monitor size of an individual file through nagios. e.g /var/lib/mysql/somedatabase/vlog.myd, this file will grow very fast and i would like to monitor if the size of this file crosses 1.5 G. I'm already used

[CentOS] Stripe vs Cylinder alignement...

2009-10-30 Thread John Doe
Hi, I modified my kickstart to do some custom partioning and formating in a pre-install script. I am trying to align the partitions on the RAID stripe (and format with a correct stride). But, sfdisk complains that it does not start/end on a cylinder boundary (used -L option to limit

Re: [CentOS] Stripe vs Cylinder alignement...

2009-10-30 Thread John Doe
So, for my first partition (96MB): begin=256 size = ( ( 96 * 1024 * 2 ) / 8160 ) * 8160 = 195840 sectors end = 195840 - 1 - 256 = 195583 Oops, I meant: begin = 256 size = 96 * 1024 * 2 = 196608 sectors end = ( ( begin + size ) / 8160 ) * 8160 - 1 = 195839 aligned_size = end -

Re: [CentOS] Scripting help please....

2009-10-29 Thread John Doe
From: John Doe jd...@yahoo.com A quick and dirty example (only prints the extra duplicate lines; not the original duplicate): awk -F: ' { v[$3]=v[$3]+1; if (v[$3]1) print $0; } ' datafile Here's the version will the 1st duplicate included: awk -F: ' { v[$3]=v[$3]+1; if (v[$3] == 1) { f[$3]=$0

Re: [CentOS] problem with 5.4 x86_64 DVD iso?

2009-10-29 Thread John Doe
From: Greenseid, Joseph M (IS) joseph.greens...@ngc.com I downloaded the 5.4 x86_64 DVD ISO this morning (CentOS-5.4-x86_64-bin-DVD.iso). However, the md5sum and sha1sums both don't match what's in the md5sum.txt or the release notes (http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.4). I

Re: [CentOS] vnc for non-root

2009-10-28 Thread John Doe
From: ken geb...@mousecar.com At work I've been asked to set up vnc for a remote user (a vendor sysadmin to install 3d party software we've purchased). Of course I'm a bit skittish about allowing root access to this. Is there a way to configure vnc so that root cannot log in through it...?

Re: [CentOS] Rsync and full path of filenames

2009-10-28 Thread John Doe
From: Niki Kovacs cont...@kikinovak.net Let's say I want to backup a bunch of configuration files with rsync, in a script. See --files-from=FILE in rsync manpage JD ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] Scripting help please....

2009-10-28 Thread John Doe
From: Truejack truej...@gmail.com To: centos@centos.org Sent: Wed, October 28, 2009 6:09:41 PM Subject: [CentOS] Scripting help please Need a scripting help to sort out a list and list all the duplicate lines. My data looks somethings like this

Re: [CentOS] For building my local repo, how large is 5.4 update?

2009-10-26 Thread John Doe
From: Robert Moskowitz r...@htt-consult.com I have run a local repo for Centos updates for some time. I suppose, at this point I could just delete the 5.3 update directory and rsync the 5.4 directory... But how large is the 5.4 update directory? I mirror both os and updates, since when you

[CentOS] Bootable 5.4 USB key...

2009-10-23 Thread John Doe
Hi, I tried to convert my working 5.3 USB bootable key to 5.4 and I apparently cannot get syslinux to find/read its configuration file anymore... I followed the same process as before: mkfs.vfat -n BOOT /dev/sdg1 syslinux -s /dev/sdg1 cd /media/BOOT cp -rv /mnt/cdrom/isolinux syslinux

Re: [CentOS] Backing up a centos serveR? how to ? Newbie question..

2009-10-19 Thread John Doe
From: RoLaNd RoLaNd r_o_l_a_...@hotmail.com excuse my newbie question but how can i backup my centos server? i have a dozzen of virtual hosts over it as well as substantial database entries.. i've backed up the following directories using rsync: workspace/ /etc/httpd/ /etc/apache-tomcat-6.0.20/

Re: [CentOS] CentOS 5.4? anyone? - debate

2009-10-16 Thread John Doe
From: Les Mikesell lesmikes...@gmail.com To: CentOS mailing list centos@centos.org Sent: Thursday, October 15, 2009 5:57:42 PM Subject: Re: [CentOS] CentOS 5.4? anyone? - debate Gabriel - IP Guys wrote: When someone asked “When will **CentOS 5.4 come out??** The answer is, “When it

Re: [CentOS] layer 8 / user level firewall on linux?

2009-10-13 Thread John Doe
From: Rudi Ahlers r...@softdux.com Does anyone know of a Linux firewall that offers layer 8 firewall / user level firewalling? Cyberoam (http://www.cyberoam.com/firewall.html) has a layer 8 firewall built into their UTM firewalls, and while it's a great product I find it a bit limited for

Re: [CentOS] Can't download large files

2009-10-09 Thread John Doe
From: David Suhendrik da...@pnyet.web.id On my server I've LVM with ext3 as filesystem are used. I've tested download from notebook (ubuntu, ext3) and PC (windows, ntfs). But still problem here :( Tried another server to download from? JD

Re: [CentOS] Inquiry:How to check the presence of internal Bluetooth decive?

2009-09-24 Thread John Doe
From: hadi motamedi motamed...@gmail.com Please find below the reply on my CentOS server : #rpm -qil lshw package lshw is not installed You might need a repository that has lshw... Rpmforge does by example ( http://dag.wieers.com/rpm/FAQ.php#B ) JD

Re: [CentOS] rescan usb hd

2009-09-22 Thread John Doe
On Mon, 2009-09-21 at 17:05 -0700, Bazooka Joe wrote: I have a usb hd that I use for backup. Occasionally it dies. If i unmount it and try to remount it it says sdc1 does not exist. Not sure if related to your problem but I have many 'zombie' usb devices after mounting/unmounting a few

Re: [CentOS] waiting IOs...

2009-09-10 Thread John Doe
# iostat -m -x 10 Linux 2.6.18-8.1.6.el5 (data1.iol) 09/10/2009 . . . avg-cpu: %user %nice %system %iowait %steal %idle 0.200.000.318.790.00 90.70 Device: rrqm/s wrqm/s r/s w/srMB/swMB/s avgrq-sz avgqu-sz await svctm %util

[CentOS] waiting IOs...

2009-09-09 Thread John Doe
Hi, We have a storage server (HP DL360G5 + MSA20 (12 disks in RAID 6) on a SmartArray6400). 10 directories are exported through nfs to 10 clients (rsize=32768,wsize=32768,soft,intr,nosuid,proto=udp,vers=3). The server is apparently not doing much but... we have very high waiting IOs. dstat

Re: [CentOS] using CentOS as an iSCSI server?

2009-09-07 Thread John Doe
From: Rudi Ahlers r...@softdux.com Has anyone succesfully setup, and used CentOS as an iSCSI server? I'm trying to setup a server with 4x500GB HDD's, setup in RAID 10 to act as an iSCSI server for a virtualization project, but I can't find a decent howto on how to setup an iSCSI server using

Re: [CentOS] did CentOS x86 5.3 migrate to another hard drive, but console login keeps prompting even with correct password

2009-09-03 Thread John Doe
From: choyaumeshu choyaume...@gmail.com I did the following to migrate my CentOS box to the destination hard drive: 5. modify /boot/grub/menu.lst on both /dev/hdc2 and /dev/hdd2 6. modify /etc/fstab and /etc/mtab additional info: 1. can boot up system in single user mode 2. sshd is up but can't

Re: [CentOS] remote desktop configuration

2009-09-02 Thread John Doe
From: Frank Cox thea...@sasktel.net I manage some remote multi-user computers where it would be very handy to be able to edit the users' panel bars remotely, adding, removing and arranging applications and icons as needed. It's easy to put an icon on a user's desktop -- just write a .desktop

Re: [CentOS] Cacti Installation on CentOS 5

2009-09-02 Thread John Doe
From: Gabriel - IP Guys gabr...@impactteachers.com FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php' The database configuration in config.php is correct, and is readable, because if I change the

Re: [CentOS] Conntrack-tools for CentOS 4.8

2009-09-01 Thread John Doe
From: Matt Shields m...@mattshields.org Does anyone know where I can get an RPM of Conntrack-tools, libnetfilter_conntrack and libnfnetlink that work with CentOS 4.8? Rpmforge seems to have libnfnetlink for el4... http://dag.wieers.com/rpm/packages/libnfnetlink/ JD

Re: [CentOS] Configuring the firewall on CentOS

2009-09-01 Thread John Doe
From: Timothy Murphy gayle...@eircom.net Is there a CentOS equivalent to config-system-firewall in Fedora, allowing specified services to pass through? Console version is /usr/sbin/lokkit JD ___ CentOS mailing list CentOS@centos.org

[CentOS] yum priorities and rpmforge...

2009-09-01 Thread John Doe
Hi, I am using the yum priorities plugin and, for some reason, it is blocking all rpmforge updates, even for already installed rpmforge packages... I have priority=1 for CentOS repos. Is it the 'normal' behavior or is something wrong in my conf? Thx, JD

Re: [CentOS] yum priorities and rpmforge...

2009-09-01 Thread John Doe
From: Filipe Brandenburger filbran...@gmail.com If you mean blocking updates for already installed rpmforge packages that also exist in the main distro which is configured with a higher priority (lower number), then yes, that is the expected from the priorities plugin. My bad. I thought the

Re: [CentOS] Yum update from repo server

2009-08-31 Thread John Doe
From: Morrien, Rob rob.morr...@eds.com If I have a pc running with centos which I updated from centos 5.2 to 5.3 with yum update some weeks ago, and I use the same repo config files from the local deployed repo server . But I get now evrytime an url error. And the error is telling me that

Re: [CentOS] Help Slim Down Centos Install

2009-08-28 Thread John Doe
From: Chris Andrews khr...@gmail.com I was wondering does anyone know how I can slim down Centos install, what I mean by slim down is whenever I install Centos with nothing but xen. I have all type stuff that is not needed like bluetooth and etc. This is a server, so I know that bluetooth is

Re: [CentOS] ssh-agent autostarting

2009-08-21 Thread John Doe
I'm trying to get public key authentication working on a client to server connection so i can drop passwords. I've got the keys in place and confirmed they are working. I'm now trying to set up ssh-agent, I read i can do it manually i was looking for a more automated method for users on

Re: [CentOS] Centos 5.3 live-cd install -

2009-08-10 Thread John Doe
From: Bob Goodwin bobgood...@wildblue.net I just downloaded the Centos 5.3 live-cd and booted the resulting disk. I do not see an icon to install from the cd! Did i get the wrong thing? I have a fixed allocation of bandwidth and hate to waste 700+ megs! AFAIK, the live CD is just a live

Re: [CentOS] Greasemonkey question

2009-08-10 Thread John Doe
From: Boris Epstein borepst...@gmail.com On Mon, Aug 10, 2009 at 11:54 AM, Brian Mathiswrote: I think this is FAR off-topic. So far that Google would be a much better place to ask, or maybe the greasemonkey site. On Mon, Aug 10, 2009 at 11:38 AM, Boris Epsteinwrote: 1) How does one

Re: [CentOS] php-pdo

2009-08-05 Thread John Doe
From: Peter Peltonen peter.pelto...@gmail.com # more /etc/php.d/pdo_pgsql.ini ; Enable pdo_pgsql extension module extension=pdo_pgsql.so Enabled it in /etc/php.d/pdo.ini ? JD ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] php-pdo

2009-08-05 Thread John Doe
From: Peter Peltonen peter.pelto...@gmail.com Enabled it in /etc/php.d/pdo.ini ? Yes: # more /etc/php.d/pdo.ini ; Enable pdo extension module extension=pdo.so You said you saw --disable-pdofrom configure...? Maybe that's the problem... standard php package? While I use PDO for sqlite,

Re: [CentOS] [Q} how can O.S. predicate a disk going to failure??

2009-08-04 Thread John Doe
From: mcclnx mcc mcc...@yahoo.com.tw 2. how O.S. can predicate disk going to failure? As I understand it, disks can handle a certain amount of bad 'sectors', thanks to some hidden extra space. When a 'sector' fails, the disk marks it as 'bad' and then map it to a 'sector' from the hidden

Re: [CentOS] Weird permission

2009-08-03 Thread John Doe
From: muhammad panji sumodi...@gmail.com [r...@clarisa ~]# ls -lha total 52K drwxr-xr-x 4 root root 4.0K 2009-08-01 02:38 . drwxr-xr-x. 23 root root 4.0K 2009-07-31 15:47 .. drwxr-xr-x 2 root root 4.0K 2009-07-31 15:06 backup -rw---. 1 root root 14K 2009-08-01 08:34 .bash_history

<    4   5   6   7   8   9   10   11   >