Re: [CentOS] Extract lines from text file

2012-08-15 Thread Tony Molloy
On Wednesday 15 August 2012 20:53:33 m.r...@5-cent.us wrote: > Tony Molloy wrote: > > On Wednesday 15 August 2012 19:46:42 Les Mikesell wrote: > >> On Wed, Aug 15, 2012 at 1:26 PM, Tony Molloy > > > > wrote: > >> >> ]$ cat testcentoslist | egrep ^m.*:.*:.*:850: > >> >> m9718308:pw:9301:850: Lynch

Re: [CentOS] samba problem with kernel 2.6.32-279.*

2012-08-15 Thread Mogens Kjaer
On 08/15/2012 10:08 PM, Johnny Hughes wrote: > I don't this would impact it, but if the underlying file system of the > samba machine's file system is ext4 and if it is a 64-bit machine, it might. > > http://joejulian.name/blog/glusterfs-bit-by-ext4-structure-change/ I guess this must be: # rpm -

Re: [CentOS] IPv6 on Centos 6

2012-08-15 Thread James Hogarth
> > An update to close: it's a vmware issue: thanks for the closure... VMware diagnosis can be a real pain... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] copy/paste centos 6

2012-08-15 Thread Yves Bellefeuille
On Wednesday 15 August 2012, Jerry Geis wrote: >I had to update all these packages on CentOS 6 for a project. >Everything works great on CentOS 6 - except - Copy/Paste between >applications. > >Anyone - know which application below might control that function? Perhaps xclipboard from xorg-x11-ap

[CentOS] copy/paste centos 6

2012-08-15 Thread Jerry Geis
I had to update all these packages on CentOS 6 for a project. Everything works great on CentOS 6 - except - Copy/Paste between applications. Anyone - know which application below might control that function? Example I cannot have firefox running and copy and paste text into thunderbird. Both app

Re: [CentOS] stupid bash question

2012-08-15 Thread Mark LaPierre
On 08/15/2012 06:19 PM, Craig White wrote: > the relevant snippet is... > > NAME="*.mov" > cd $IN > if test -n "$(find . -maxdepth 1 -name $NAME -print -quit)" > > and if there is one file in this directory - ie test.mov, this works fine > > but if there are two (or more) files in this directory -

Re: [CentOS] stupid bash question

2012-08-15 Thread fred smith
On Wed, Aug 15, 2012 at 05:19:22PM -0600, Larry Martell wrote: > On Wed, Aug 15, 2012 at 5:08 PM, Craig White wrote: > > Some really good suggestions but unfortunately no dice > > > > On Aug 15, 2012, at 3:22 PM, Larry Martell wrote: > > > >> Run the script with -x to see what's happening. $NAME i

Re: [CentOS] Extract lines from text file

2012-08-15 Thread Mark LaPierre
On 08/15/2012 10:22 AM, Tony Molloy wrote: > > Hi, > > I'm looking for a command to extract lines from a large text file, a > password file. A typical user has a username made from a letter > followed by their id-number. > > m9718508:pw:9301:840: Lynch :/home/pgstud/m9718508:/bin/bash > > So for i

Re: [CentOS] slowness with new kernel+nouveau?

2012-08-15 Thread Mark LaPierre
On 08/15/2012 06:53 AM, Darod Zyree wrote: > Hello, > > New kernel version 2.6.32-279.2.1.el6.x86_64 in combination with > xorg-x11-drv-nouveau Version:0.0.16 is somehow painfully slow on my > laptop. > > during start up it takes almost half a minute for gnome login to appear. > After having logged

Re: [CentOS] IPv6 on Centos 6

2012-08-15 Thread Alan Batie
An update to close: it's a vmware issue: * new centos 5 creations exhibit the same behavior * a few months ago, we migrated from an esx 4.0 cluster to a new esx 4.1 cluster * we've just recently started using a new centos 6 template; the centos 6 system that's working was created before the migrat

Re: [CentOS] stupid bash question

2012-08-15 Thread Larry Martell
On Wed, Aug 15, 2012 at 5:08 PM, Craig White wrote: > Some really good suggestions but unfortunately no dice > > On Aug 15, 2012, at 3:22 PM, Larry Martell wrote: > >> Run the script with -x to see what's happening. $NAME is probably >> getting expanded. You might have to set noglob. > > set

Re: [CentOS] Good Anti-virus for Linux desktops and servers

2012-08-15 Thread Gregory Machin
Hi. I tried it. It's very limiting in its support based on Linux kernel. I would have to package create packages for the unsupported kernels on many of our machines. And it was a complete fail when I installed the packages of our media kit. I don't have time for jumping through hoops. Thanks On

Re: [CentOS] stupid bash question

2012-08-15 Thread Craig White
Some really good suggestions but unfortunately no dice On Aug 15, 2012, at 3:22 PM, Larry Martell wrote: > Run the script with -x to see what's happening. $NAME is probably > getting expanded. You might have to set noglob. set +o noglob (inside or outside script made no difference On Au

Re: [CentOS] stupid bash question

2012-08-15 Thread Patrick Welch
Put escaped double quotes around name, like \"$NAME\" in the test expression. -- Pat Welch Sent from my Android phone with K-9 Mail. Craig White wrote: the relevant snippet is... NAME="*.mov" cd $IN if test -n "$(find . -maxdepth 1 -name $NAME -print -quit)" and if there is one file in this

Re: [CentOS] stupid bash question

2012-08-15 Thread Jérémie Dubois-Lacoste
I gess you could also avoid the expension with: if test -n "$(find . -maxdepth 1 -name \"$NAME\" -print -quit)" 2012/8/15 Steve Thompson : > On Wed, 15 Aug 2012, Craig White wrote: > >> the relevant snippet is... >> >> NAME="*.mov" >> cd $IN >> if test -n "$(find . -maxdepth 1 -name $NAME -print -

Re: [CentOS] stupid bash question

2012-08-15 Thread Steve Thompson
On Wed, 15 Aug 2012, Craig White wrote: > the relevant snippet is... > > NAME="*.mov" > cd $IN > if test -n "$(find . -maxdepth 1 -name $NAME -print -quit)" > > and if there is one file in this directory - ie test.mov, this works fine > > but if there are two (or more) files in this directory - te

Re: [CentOS] stupid bash question

2012-08-15 Thread Larry Martell
On Wed, Aug 15, 2012 at 4:19 PM, Craig White wrote: > the relevant snippet is... > > NAME="*.mov" > cd $IN > if test -n "$(find . -maxdepth 1 -name $NAME -print -quit)" > > and if there is one file in this directory - ie test.mov, this works fine > > but if there are two (or more) files in this di

[CentOS] stupid bash question

2012-08-15 Thread Craig White
the relevant snippet is... NAME="*.mov" cd $IN if test -n "$(find . -maxdepth 1 -name $NAME -print -quit)" and if there is one file in this directory - ie test.mov, this works fine but if there are two (or more) files in this directory - test.mov, test2.mov then I get an error... find: paths mu

Re: [CentOS] Strange issue with system time being off

2012-08-15 Thread Russell Jones
Hi all, After poking around a bit I ended up just going the /etc/ntp/step-tickers route to resolve the issue and have the time in-sync as soon as the OS comes up. Thanks for all the help! On Sat, Aug 11, 2012 at 7:15 PM, Gordon Messmer wrote: > On 08/09/2012 12:33 PM, Russell Jones wrote: >>

Re: [CentOS] how best to rollback from a yum update?

2012-08-15 Thread Yves Bellefeuille
On Wednesday 15 August 2012, Jon Detert wrote: > Suppose I want to upgrade a bunch of packages on a system, but in > case the upgrade produces unexpected, undesired results, I want to > be able to rollback the system to its original state. What is the > best way to do that? yum history list, t

[CentOS] KVM Setup for Win7 Pro on CentOS 5.x

2012-08-15 Thread Bill Campbell
Can somebody point me to a HowTO or other documentation describing the tools available under the CentOS 5 KVM package to create and manage a Windows 7 Pro VM? All my VM experience to date has been the old free VMware Server. I need to: + Create the VM instance allowing for about 50GB total di

Re: [CentOS] samba problem with kernel 2.6.32-279.*

2012-08-15 Thread Johnny Hughes
On 08/15/2012 06:25 AM, Mogens Kjaer wrote: > Hello, > > We use Norton Ghost, running in a PXE booted DOS, to > handle Windows XP images. > > The images are stored on a samba share on our CentOS 6 > server. > > This has worked without any problems for years. > > After kernel 2.6.32-279* it has stop

Re: [CentOS] Eth1 problem on CentOS-6.3

2012-08-15 Thread James B. Byrne
On Wed, August 15, 2012 09:26, m.r...@5-cent.us wrote: > > My eyes uncrossed, and I saw, buried in there, the firstlink, above, > and the last. You might want to see if a) the 8168d firmware patch > will work on that card; b) vhost - it's a virtual host? perhaps it's > trying to load the firmware

Re: [CentOS] Extract lines from text file

2012-08-15 Thread m . roth
Tony Molloy wrote: > On Wednesday 15 August 2012 19:46:42 Les Mikesell wrote: >> On Wed, Aug 15, 2012 at 1:26 PM, Tony Molloy > wrote: >> >> ]$ cat testcentoslist | egrep ^m.*:.*:.*:850: >> >> m9718308:pw:9301:850: Lynch :/home/pgstud/m9718508:/bin/bash >> > >> > Exactly what I needed. I'll just

Re: [CentOS] Extract lines from text file

2012-08-15 Thread Tony Molloy
On Wednesday 15 August 2012 19:46:42 Les Mikesell wrote: > On Wed, Aug 15, 2012 at 1:26 PM, Tony Molloy wrote: > >> ]$ cat testcentoslist | egrep ^m.*:.*:.*:850: > >> m9718308:pw:9301:850: Lynch :/home/pgstud/m9718508:/bin/bash > > > > Exactly what I needed. I'll just drop the cat as a later pos

Re: [CentOS] samba problem with kernel 2.6.32-279.*

2012-08-15 Thread Johnny Hughes
On 08/15/2012 06:25 AM, Mogens Kjaer wrote: > Hello, > > We use Norton Ghost, running in a PXE booted DOS, to > handle Windows XP images. > > The images are stored on a samba share on our CentOS 6 > server. > > This has worked without any problems for years. > > After kernel 2.6.32-279* it has stop

Re: [CentOS] tigervnc-server-module crashes after EL 6.3 update

2012-08-15 Thread Johnny Hughes
On 08/15/2012 09:47 AM, Cal Webster wrote: > On Tue, 2012-08-14 at 20:55 -0500, Johnny Hughes wrote: >> On 08/14/2012 05:23 PM, Cal Webster wrote: >>> We began experiencing failed vnc connections to the console display on >>> servers that have been updated to EL 6.3. No such failures have occurred

Re: [CentOS] Extract lines from text file

2012-08-15 Thread Les Mikesell
On Wed, Aug 15, 2012 at 1:26 PM, Tony Molloy wrote: >>> >> ]$ cat testcentoslist | egrep ^m.*:.*:.*:850: >> m9718308:pw:9301:850: Lynch :/home/pgstud/m9718508:/bin/bash >> > > Exactly what I needed. I'll just drop the cat as a later poster > pointed out. > sed -n -e '/pattern/p' can match anythi

Re: [CentOS] Extract lines from text file

2012-08-15 Thread Tony Molloy
On Wednesday 15 August 2012 15:36:09 Marcelo Beckmann wrote: > Em 15-08-2012 11:22, Tony Molloy escreveu: > > Hi, > > > > I'm looking for a command to extract lines from a large text > > file, a password file. A typical user has a username made from a > > letter followed by their id-number. > > > >

Re: [CentOS] Extract lines from text file

2012-08-15 Thread m . roth
Tilman Schmidt wrote: > Am 15.08.2012 16:36, schrieb Marcelo Beckmann: >> Em 15-08-2012 11:22, Tony Molloy escreveu: > [...] >>> cat passwdfile | grep ^m | grep 850 > output > [...] >> ]$ cat testcentoslist | egrep ^m.*:.*:.*:850: > > http://en.wikipedia.org/wiki/Cat_%28Unix%29#Useless_use_of_cat >

Re: [CentOS] [SOLVED] (maybe) Eth1 problem on CentOS-6.3

2012-08-15 Thread James B. Byrne
I seem to have resolved this issue by installing the alternate kernel module for this chip set available from elrepo. # /sbin/lspci -nn | grep -i net . . . 01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev

Re: [CentOS] Extract lines from text file

2012-08-15 Thread Tilman Schmidt
Am 15.08.2012 16:36, schrieb Marcelo Beckmann: > Em 15-08-2012 11:22, Tony Molloy escreveu: [...] >> cat passwdfile | grep ^m | grep 850 > output [...] > ]$ cat testcentoslist | egrep ^m.*:.*:.*:850: http://en.wikipedia.org/wiki/Cat_%28Unix%29#Useless_use_of_cat Because a cat is a terrible thing

Re: [CentOS] Extract lines from text file

2012-08-15 Thread m . roth
Tony Mountifield wrote: > In article <81eb30fb297893749f5c1e211f08c7e4.squir...@mail.5-cent.us>, > wrote: >> wwp wrote: >> > On Wed, 15 Aug 2012 15:22:10 +0100 Tony Molloy >> wrote: >> >> >> >> I'm looking for a command to extract lines from a large text file, a >> >> password file. A typical us

Re: [CentOS] how best to rollback from a yum update?

2012-08-15 Thread Nux!
On 15.08.2012 17:23, Jon Detert wrote: > Suppose I want to upgrade a bunch of packages on a system, but in > case the upgrade produces unexpected, undesired results, I want to be > able to rollback the system to its original state. What is the best > way to do that? I would use yum-plugin-fs-snap

[CentOS] how best to rollback from a yum update?

2012-08-15 Thread Jon Detert
Suppose I want to upgrade a bunch of packages on a system, but in case the upgrade produces unexpected, undesired results, I want to be able to rollback the system to its original state. What is the best way to do that? Often, I won't have, or be able to find, packages for the current installed

[CentOS] CentOS-announce Digest, Vol 90, Issue 9

2012-08-15 Thread centos-announce-request
Send CentOS-announce mailing list submissions to centos-annou...@centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-requ..

Re: [CentOS] Extract lines from text file

2012-08-15 Thread Tony Mountifield
In article <81eb30fb297893749f5c1e211f08c7e4.squir...@mail.5-cent.us>, wrote: > wwp wrote: > > On Wed, 15 Aug 2012 15:22:10 +0100 Tony Molloy wrote: > >> > >> I'm looking for a command to extract lines from a large text file, a > >> password file. A typical user has a username made from a letter

Re: [CentOS] Eth1 problem on CentOS-6.3

2012-08-15 Thread Ned Slider
On 15/08/12 16:18, James B. Byrne wrote: > On Wed, August 15, 2012 09:15, Reindl Harald wrote: >> did you read the output you posted? >> http://lmgtfy.com/?q=unable+to+load+firmware+patch+rtl_nic%2Frtl8168d-1.fw > r8169 :01:00.0: eth1: invalid firwmare >> r8169 :01:00.0: eth1: unable to loa

Re: [CentOS] Extract lines from text file

2012-08-15 Thread m . roth
wwp wrote: > On Wed, 15 Aug 2012 15:22:10 +0100 Tony Molloy wrote: >> >> I'm looking for a command to extract lines from a large text file, a >> password file. A typical user has a username made from a letter >> followed by their id-number. >> >> m9718508:pw:9301:840: Lynch :/home/pgstud/m9718508

Re: [CentOS] Eth1 problem on CentOS-6.3

2012-08-15 Thread Ned Slider
On 15/08/12 16:18, James B. Byrne wrote: > On Wed, August 15, 2012 09:15, Reindl Harald wrote: >> did you read the output you posted? >> http://lmgtfy.com/?q=unable+to+load+firmware+patch+rtl_nic%2Frtl8168d-1.fw > r8169 :01:00.0: eth1: invalid firwmare >> r8169 :01:00.0: eth1: unable to loa

Re: [CentOS] Eth1 problem on CentOS-6.3

2012-08-15 Thread James B. Byrne
On Wed, August 15, 2012 09:15, Reindl Harald wrote: > did you read the output you posted? > http://lmgtfy.com/?q=unable+to+load+firmware+patch+rtl_nic%2Frtl8168d-1.fw r8169 :01:00.0: eth1: invalid firwmare > r8169 :01:00.0: eth1: unable to load firmware patch > rtl_nic/rtl8168d-1.fw (-22)

Re: [CentOS] tigervnc-server-module crashes after EL 6.3 update

2012-08-15 Thread Cal Webster
On Tue, 2012-08-14 at 20:55 -0500, Johnny Hughes wrote: > On 08/14/2012 05:23 PM, Cal Webster wrote: > > We began experiencing failed vnc connections to the console display on > > servers that have been updated to EL 6.3. No such failures have occurred > > on similar connections to EL 6.2 servers.

Re: [CentOS] Trying to change subscription optin

2012-08-15 Thread Ed Gurski
Solved --- I was blocking the site with NoScript... -- Ed Gurski (e...@gurski.com) Registered Linux User 458454 On Wed, 2012-08-15 at 10:36 -0400, Ed Gurski wrote: > I am trying to change my subscription option to a daily digest but am > unable to log in to change my options

Re: [CentOS] Extract lines from text file

2012-08-15 Thread Marcelo Beckmann
Em 15-08-2012 11:22, Tony Molloy escreveu: > > Hi, > > I'm looking for a command to extract lines from a large text file, a > password file. A typical user has a username made from a letter > followed by their id-number. > > m9718508:pw:9301:840: Lynch :/home/pgstud/m9718508:/bin/bash > > So

[CentOS] Trying to change subscription optin

2012-08-15 Thread Ed Gurski
I am trying to change my subscription option to a daily digest but am unable to log in to change my options -- Ed Gurski (e...@gurski.com) Registered Linux User 458454 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/list

Re: [CentOS] Extract lines from text file

2012-08-15 Thread wwp
Hello Tony, On Wed, 15 Aug 2012 15:22:10 +0100 Tony Molloy wrote: > > Hi, > > I'm looking for a command to extract lines from a large text file, a > password file. A typical user has a username made from a letter > followed by their id-number. > > m9718508:pw:9301:840: Lynch :/home/pgstud

Re: [CentOS] Extract lines from text file

2012-08-15 Thread Rajagopal Swaminathan
Greetings, On Wed, Aug 15, 2012 at 7:52 PM, Tony Molloy wrote: > > Hi, > > > So for instance if I need to extract lines where; > > the 1st field, the username begins with an m > and > the 4th field, the group contains exactly 850 > cut -d: -f1,4 -- Regards, Rajagopal

Re: [CentOS] iscsi storage, LACP or Multipathing | Migration or rebuild?

2012-08-15 Thread Svavar Örn Eysteinsson
Hi Götz. I'm running Centos 6.2 on a Proliant DL380 G7 server connected to a HP Lefthand P4500 using multipath, and ALB(Adaptive Load Balancing) on the Lefthand box it self. Regarding, multipath vs bonding read this -> http://blog.open-e.com/bonding-versus-mpio-explained/ You will need to go t

[CentOS] Extract lines from text file

2012-08-15 Thread Tony Molloy
Hi, I'm looking for a command to extract lines from a large text file, a password file. A typical user has a username made from a letter followed by their id-number. m9718508:pw:9301:840: Lynch :/home/pgstud/m9718508:/bin/bash So for instance if I need to extract lines where; the 1st field,

Re: [CentOS] Eth1 problem on CentOS-6.3

2012-08-15 Thread m . roth
James B. Byrne wrote: > Having replaced the suspect card and rebooted the host I see these > messages in /var/log/messages repeated over and over: > Aug 15 07:20:13 vhost01 kernel: r8169 :01:00.0: eth1: > RTL8168d/8111d at 0xc9001258c000, 00:0a:cd:1d:32:e7, XID 081000c0 > IRQ 30 > Aug 15 0

Re: [CentOS] Eth1 problem on CentOS-6.3

2012-08-15 Thread James B. Byrne
Having replaced the suspect card and rebooted the host I see these messages in /var/log/messages repeated over and over: Aug 15 07:17:10 vhost01 ntpd[2044]: Listening on interface #62 eth1, fe80::20a:cdff:fe1d:32e7#123 Enabled Aug 15 07:17:10 vhost01 ntpd[2044]: Listening on interface #63 eth1, 19

Re: [CentOS] Good Anti-virus for Linux desktops and servers

2012-08-15 Thread Adam Tauno Williams
On Wed, 2012-08-15 at 12:47 +0100, Nux! wrote: > On 14.08.2012 14:06, Adam Tauno Williams wrote: > > On Tue, 2012-08-14 at 07:28 +0100, Nux! wrote: > >> On 13.08.2012 22:46, Gregory Machin wrote: > >> > Hi. > >> > Thanks for the feed back. > >> Why not Clamav? > >> It has othe n-access thingy as w

[CentOS] iscsi storage, LACP or Multipathing | Migration or rebuild?

2012-08-15 Thread Götz Reinicke
Hi, I do have one iscsi storage with 4 GBit nics of which currently only one is configured with an ip and which is in productive use by one cent os 6.3 server. Doing some research brought me to the idea to use some nic bonding or multipathing for that storage, but multipathing I did about four or

[CentOS] samba problem with kernel 2.6.32-279.*

2012-08-15 Thread Mogens Kjaer
Hello, We use Norton Ghost, running in a PXE booted DOS, to handle Windows XP images. The images are stored on a samba share on our CentOS 6 server. This has worked without any problems for years. After kernel 2.6.32-279* it has stopped working. The symptom is that if I boot in DOS, and do: n

Re: [CentOS] Good Anti-virus for Linux desktops and servers

2012-08-15 Thread William Warren
On 8/14/2012 8:21 PM, Gregory Machin wrote: > I'm not to keen either. but one cant account for what users may bring > in on USB / cdrom or other possible sources. Quite often the users are > clueless that they have a virus on their usb flash drive :-( . We have > edge devices with all the bells et

Re: [CentOS] Good Anti-virus for Linux desktops and servers

2012-08-15 Thread William Warren
On 8/15/2012 3:40 AM, James Hogarth wrote: >> the only method I know that works consistently is to block all direct >> web and ssl access and force use of a web proxy, so the SSL is between >> the remote server and the proxy server, which is your security gateway. > The way I've handled this in pre

[CentOS] slowness with new kernel+nouveau?

2012-08-15 Thread Darod Zyree
Hello, New kernel version 2.6.32-279.2.1.el6.x86_64 in combination with xorg-x11-drv-nouveau Version:0.0.16 is somehow painfully slow on my laptop. during start up it takes almost half a minute for gnome login to appear. After having logged in the following happens: - gnome top and bottom panels

Re: [CentOS] CentOS6 and netboot

2012-08-15 Thread Lars Hecking
> > > > https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/nfs-diskless-systems.html > > Can you tell me what you want rebuilt and where I would find it? http://vault.centos.org/5.8/os/SRPMS/system-config-netboot-0.1.45.1-3.el5.src.rp

Re: [CentOS] Good Anti-virus for Linux desktops and servers

2012-08-15 Thread James Hogarth
> > the only method I know that works consistently is to block all direct > web and ssl access and force use of a web proxy, so the SSL is between > the remote server and the proxy server, which is your security gateway. The way I've handled this in previous places when the requirement has existed