Re: [CentOS] MySQL ERROR - UNKNOWN_MYSQL_USER

2011-07-21 Thread Markus Falb
On 20.7.2011 23:07, Keith Roberts wrote:
> This is strange behavior because as soon as I start mysqld 
> with a clean error log, I get the following messages:
> 
> 110720 21:38:47 [Note] /usr/libexec/mysqld: ready for 
> connections.
> Version: '5.5.14-log'  socket: '/var/lib/mysql/mysql.sock'
> port: 2500  MySQL Community Server (GPL) by Remi
> 
> 110720 21:38:48 [Warning] Access denied for user 
> 'UNKNOWN_MYSQL_USER'@'localhost' (using password: NO)
> 
> The strange things is, AFAIK there are no clients trying to 
> connect to mysql. I shutdown a mysql CLI monitor I had 
> running, and did the restart again.
> 
> So I'm just wondering why I get this message, when AFAIK 
> there is nothing that should be trying to connect to mysql - 
> unless it's a server daemon running somewhere?
> 
> Has anyone else come across this funny error message?

Please have a look at the initscript /etc/init.d/mysqld

...snip
# Spin for a maximum of N seconds waiting for the server to come up.
# Rather than assuming we know a valid username, accept an "access
# denied" response as meaning the server is functioning.
snap...

-- Kind Regards, Markus Falb



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] managing a rack full of centos servers

2011-07-21 Thread John Hodrien
On Wed, 20 Jul 2011, m.r...@5-cent.us wrote:

> Two and a quarter years ago, I got stuck with Spacewalk where I had a
> short-term contract, and it was a horror. (Note that while I was working
> on it, it went from 0.4 to 0.5) As Iain said, it requires Oracle, and I
> found I had to add an addition setting to Oracle - the free version has a
> max of 1G of memory, and I had to max it out (I think I set shared memory
> in Oracle's control panel to 994M), just to get it to work. It's also
> complex to configure and use, so if you're not looking at dozens or
> hundreds of machines, I wouldn't use it.

It /did/ require Oracle, but it doesn't any more.  To be honest, getting it
working with Oracle was a piece of cake, and the 1G limit wasn't really an
issue as the active database isn't that big.  The 4Gbyte limit on database
size on disk with the XE edition /was/ an issue once you were managing a large
numer of machines.  The defaults that it ship with work fine, other than a
couple of values that can improve performance that are documented on the
spacewalk web site.

I've used spacewalk since 0.1, and it's really not that bad at all.  There's
bits of it I think could be better, but it's not the 'horror' you seem to
think it is.

jh
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] managing a rack full of centos servers

2011-07-21 Thread John Hodrien
On Wed, 20 Jul 2011, Patrick Lists wrote:

> On 07/20/2011 06:11 PM, Iain Morris wrote:
>> Spacewalk is great, but be prepared for some significant configuration
>> time and energy.  Also, it requires Oracle (postgres is in progress
>> last I checked).
>
> From what I read the PostgreSQL support is functional for regular usage
> and has been improving significantly the last few releases. Worth a try
> if you don't want to fund Larry's next superyacht.

This is true, certainly 1.4 is almost completely working on PostgreSQL.
Monitoring is the only thing listed not to work with PostgreSQL on 1.5 (which
isn't quite out yet), but that's not the end of the world.

jh
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 PXE boot: Unable to download the kickstart file

2011-07-21 Thread John Hodrien
On Thu, 21 Jul 2011, Patrick Lists wrote:

> I have used NFS (v3 & v4) and HTTP and for me HTTP was faster so I
> continued to use HTTP.

I'd switch to HTTP on the basis that HTTP seems to be the more 'normal' way to
install, and there are no obvious downsides.

jh
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] fyi: RHEL 5.7 is out

2011-07-21 Thread Rainer Traut
hi fyi,

it seems redhat has just pushed RHEL 5.7 out.
I see amoung others:

kernel-2.6.18-274.el5.x86_64.rpm
redhat-release-5Server-5.7.0.3.x86_64.rpm

Rainer
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 PXE boot:Unable to download the kickstart file

2011-07-21 Thread Keith Roberts
On Thu, 21 Jul 2011, Mogens Kjaer wrote:

> To: centos@centos.org
> From: Mogens Kjaer 
> Subject: Re: [CentOS] CentOS 6 PXE boot:Unable to download the kickstart file
> 
> On 07/20/2011 05:15 PM, Ole Holm Nielsen wrote:
>> What I'd love to learn
>> is how others have made NFS/Kickstart work...
>
> I download the kickstart file via http:
>
> append initrd=initrd_c60_x86_64.img
> ks=http://172.20.0.1/linux/c6_x86_64.ks nofb
>
> Works for CentOS 5 and 6.

OK Mogens.

That seems to be a reliable option to use across a network. 
What's all the fuss about NFS, when it's trivial to create a 
temporary directory in the Apache DocumentRoot and put the 
ks file there?

Kind Regards,

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 PXE boot: Unable to download the kickstart file

2011-07-21 Thread Keith Roberts
On Thu, 21 Jul 2011, John Hodrien wrote:

> To: CentOS mailing list 
> From: John Hodrien 
> Subject: Re: [CentOS] CentOS 6 PXE boot: Unable to download the kickstart file
> 
> On Thu, 21 Jul 2011, Patrick Lists wrote:
>
>> I have used NFS (v3 & v4) and HTTP and for me HTTP was faster so I
>> continued to use HTTP.
>
> I'd switch to HTTP on the basis that HTTP seems to be the 
> more 'normal' way to install, and there are no obvious 
> downsides.

Yes. At least there are no version changes with the http 
protocol that would bust anything, and it still works over 
the network. Myself, I use my kickstart file from a USB 
flash drive, so that works on a machine without a Floppy DD 
:)

Regards,

Keith

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Variable assigned to grep output - missing letter n!

2011-07-21 Thread Michael Gliwinski
On Wednesday 20 Jul 2011 20:53:06 Sean Carolan wrote:
> I had this in my bash history:
> 
> IFS='\n'
> 
> That seems to have been the cause of the missing n's.

I know you used python in the end, but for the record this should have been:

IFS=$'\n'

i.e. the \n has to be expanded to a newline, otherwise it causes word 
splitting on either '\' or 'n'.


-- 
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319

**
The information in this email is confidential and may be legally privileged.  
It is intended solely for the addressee and access to the email by anyone else 
is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or 
any action taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail 
are subject to the terms and conditions expressed  in the governing client 
engagement leter or contract.
If you have received this email in error please notify 
supp...@henderson-group.com

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, 
BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fyi: RHEL 5.7 is out

2011-07-21 Thread Nguyen Vu Hung (VNC)



(2011/07/21 16:11), Rainer Traut wrote:

hi fyi,

it seems redhat has just pushed RHEL 5.7 out.
I see amoung others:

kernel-2.6.18-274.el5.x86_64.rpm


FYI,

With the kernel update, RHEL 5.7 will support more drivers:

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/5.7_Release_Notes/device-drivers.html

4. Device Drivers
4.1. Storage Drivers

The bnx2i driver for Broadcom NetXtreme II iSCSI has been updated 
to version 2.6.2.3.
The mpt2sas driver that supports the SAS-2 family of adapters from 
LSI has been updated to version 08.101.00.00. Most notably, this update 
provides support for WarpDrive SSS-6200 devices.

The megaraid driver is updated to version 5.34.
The arcmsr driver for Areca RAID controllers is updated.
The bfa driver for Brocade Fibre Channel to PCIe Host Bus Adapters 
is updated to the current scsi-misc version.
The be2iscsi driver for ServerEngines BladeEngine 2 Open iSCSI 
devices is updated.
The qla2xxx driver for QLogic Fibre Channel HBAs is updated to 
version 8.03.07.00.05.07. Additionally, the qla24xx and 25xx firmware is 
updated to 5.03.16.
The lpfc driver for Emulex Fibre Channel Host Bus Adapters is 
updated to version 8.2.0.96 driver.
The IBM Virtual Ethernet (ibmveth) driver is updated, adding 
support for the optional flush of the rx buffer, scatter-gather, 
rx_copybreak, and tx_copybreak support, and enhanced power virtual 
ethernet performance.

The ibmvfc driver is updated to version 1.0.9.
The mptfusion driver is updated to version to 3.04.18rh.
The cciss driver for HP Smart Array controllers has been updated, 
adding kdump support and performance mode support on the controller.


4.2. Network Drivers

The cxgb4 driver for Chelsio Terminator4 10G Unified Wire Network 
Controllers is updated.
The cxgb3 driver for the Chelsio T3 Family of network devices is 
updated.
The e1000 driver for Intel PRO/1000 network devices has been 
updated, adding support for the Marvell Alaska M88E1118R PHY and CE4100 
reference platform.
The enic driver for Cisco 10G Ethernet devices has been updated to 
version 2.1.1.9.
The myri10ge driver for Myricom Myri-10G Ethernet devices has been 
updated to version 1.5.2.

The igb driver for Intel Gigabit Ethernet Adapters is updated.
The tg3 driver for Broadcom Tigon3 ethernet devices is updated to 
version 3.116, adding support for EEE.
The bna driver for Brocade 10Gb Ethernet devices is updated to 
version 2.3.2.3.
The qlcnic driver is updated to 5.0.13, adding support for large 
receive offload (LRO) and generic receive offload (GRO).
The netxen driver for NetXen Multi port (1/10) Gigabit Network 
devices is updated to version 4.0.75, adding support for GbE port settings.
The be2net driver for ServerEngines BladeEngine2 10Gbps network 
devices is updated, adding support for multicast filter on the Lancer 
family of CNAs and enabling IPv6 TSO support.
The ixgbe driver for Intel 10 Gigabit PCI Express network devices 
is updated to version 3.2.9-k2, adding support for FCoE and kcq2 support 
on the 57712 device.

The iwl6000-firmware is updated to version 9.221.4.1.
The iwl5150-firmware package is now available on the Supplementary CD.
The 1000e driver is updated to version 1.3.10.
The ixgbevf driver is updated to version 2.0.0-k2.
The igbvf driver is updated.
The bnx2x driver is updated to version 1.62.00-6, adding DCB/PFC 
and FCoE ring support, 57712 device support, and adding BCM84823 to the 
supported PHYs. Additionally, the bnx2x firmware is updated to version 
6.2.5.0.

The bnx2 driver is updated to version 2.0.18+.
The atl1e driver for Atheros GbE NICs driver is now available in 
Red Hat Enterprise Linux 5.7.

The iw_cxgb4 driver is now available in Red Hat Enterprise Linux 5.7.
The iw_cxgb3 driver is updated.

4.3. Graphics Drivers

The vesa driver is updated, to allow the native screen resolution 
(1360x768) to be set on Dell M4500 machines.
The ati driver is updated, enabling DisplayPort interfaces on 
RV635/RV730 cards.

The mga driver is updated, providing support for G200eH/eR devices.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] tripwire alternative

2011-07-21 Thread Nick
On 21/07/11 07:27, Nguyen Vu Hung (VNC) wrote:
> Any suggestion for an alternative of tripwire for my CentOS 5.6?

AIDE, available in the base centos repo.

N
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Changing the size of the swap memory

2011-07-21 Thread Peter Kjellström
On Thursday, July 07, 2011 03:57:04 PM Brunner, Brian T. wrote:
> centos-boun...@centos.org wrote:
> > On 07/06/11 5:40 PM, John J. Boyer wrote:
> >> When I first installed my CentOS system the machine had only 1 GB.
> >> the swap memory was set to 2 GB Now the machine has 4 GB but swap is
> >> still 2 GB. With that much memory maybe it doesn't matter, but it
> >> sure looks odd. Is there any way to change it?
> > 
> > add another swap extent via the swapon(8) command.
> > 
> > but, 2gb is plenty of swap for a 4gb system, anyone who
> > insists on swap
> > 
> >  >= physical memory is smoking something left over from the 1970s.
> 
> This is true both literally and figuratively.

Actually there are cases where you do want swap ~= physical (even though you 
wont be "using it". For example, if you need to increase the ulimit for stack 
size (some apps need this) then for a normal fork the kernel will need (free 
phys + free swap) > this.

So in the end you'll need a bit more swap then your required stack size limit.

Worth noting is that if you set it to unlimited then you don't need to reserve 
any swap for it...

/Peter


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 2 questions on CentOS firewall

2011-07-21 Thread Timothy Murphy
Ljubomir Ljubojevic wrote:

> I take a look at Billion manual. It seams that you have to use it's
> firewall to add an allow rule for protocol icmp? and source IP 0.0.0.0.
> Destination might be also 0.0.0.0, haven't had the time to study it.
> This should allow pings from outside.

Thanks very much.
Actually protocol ICMP does not seem to be allowed 
in the Firewall on my Billion 5200S RC.
But I see that this protocol is allowed in "Access Management".
I just tried adding a rule with ICMP protocol,
but it seemed to have a bad effect!
(I was cut off from the outside world.)
I'm sure this is the right way to go, anyway,
so I'll continue my experiments.

Thanks again.

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Bug in 6.0 i386 Basic server install...

2011-07-21 Thread John Doe
Hey,

I tested centOS in vmware player (512MB, 1 IDE disk) and bumped into a post 
install failure to boot.
While the minimal install works all the way, the Basic server one fails at the 
first post-install boot with following:

  modprobe: FATAL: Could not load /lib/modules/2.6.32-71.el6.i686/modules.dep: 
No such file or directory
  ...
  No root device found
  ...
  Boot has failed, sleeping forever

I used the same partioning scheme as the minimal that is working fine...
/boot ext4 sda1
swap on sda2
/ on sda3

Tried with a SCSI disk image, and Basic server works fine...


Known issue with IDE?

Thx,

JD

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How to remove Microsoft soft raid?

2011-07-21 Thread David McGuffey
Have a quad core workstation that was running WinXP_64 that I want to
blow away and install CentOS 6.  C6 install process finds raid metadata
associated with sda and sdb, and then excludes them from the rest of the
installation process.  

There doesn't appear to be an option for disassembling the raid as part
of the install process.  I think there should be.

Any tricks to removing/by-passing the soft raid left over from the
previous OS?

Dave M


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to remove Microsoft soft raid?

2011-07-21 Thread Rudi Ahlers
On Thu, Jul 21, 2011 at 1:24 PM, David McGuffey
 wrote:
> Have a quad core workstation that was running WinXP_64 that I want to
> blow away and install CentOS 6.  C6 install process finds raid metadata
> associated with sda and sdb, and then excludes them from the rest of the
> installation process.
>
> There doesn't appear to be an option for disassembling the raid as part
> of the install process.  I think there should be.
>
> Any tricks to removing/by-passing the soft raid left over from the
> previous OS?
>
> Dave M
>
>
> ___


Can you see the 2 HDD's in the console, when you run fdisk -l?

If so, then simply use fdisk to remove all the partitions, then use
the installer to partition and format them

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to remove Microsoft soft raid?

2011-07-21 Thread Brian McKerr
I usually boot from the installer CD and go to a virtual terminal (Alt-F1).
In the shell;

dd if=/dev/zero of=/dev/disk-i-want-to-destroy bs=512 count=1

I'd guess that the partition table has some microsoft funkiness in it that
needs to be wiped.

Take, care with this, it can and does eat data...


Cheers.



On Thu, Jul 21, 2011 at 9:24 PM, David McGuffey
wrote:

> Have a quad core workstation that was running WinXP_64 that I want to
> blow away and install CentOS 6.  C6 install process finds raid metadata
> associated with sda and sdb, and then excludes them from the rest of the
> installation process.
>
> There doesn't appear to be an option for disassembling the raid as part
> of the install process.  I think there should be.
>
> Any tricks to removing/by-passing the soft raid left over from the
> previous OS?
>
> Dave M
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] SOLVED: CentOS 6 PXE boot:Unable to download the kickstart file

2011-07-21 Thread Ole Holm Nielsen
Ole Holm Nielsen wrote:
> We have CentOS 6 manual installation working by PXE booting from a RHEL5.6
> PXE/TFTP server.  However, when we add a Kickstart file in the PXE
> configuration:
> 
> kernel CentOS-6-i386/vmlinuz
> append load_ramdisk=1 initrd=CentOS-6-i386/initrd.img network
> ks=nfs:130.226.86.4:/u/rpm/kickstart/ks-centos-6-clean-i386.cfg
> 
> then the CentOS 6 client install reports "Unable to download the kickstart 
> file".
> The console 3 reports "failed to mount nfs source".

This problem has been resolved.  A silly editing error replacing 5->6 also
changed the IP-address :-(  With the correct IP-address Kickstart works
correctly with an NFSv3 server as shown above.  No need to upgrade to NFSv4
and Kerberos :-)

For the record, it is in fact possible to add NFS mount options to the PXE 
APPEND line, as documented in 
http://fedoraproject.org/wiki/Anaconda_Boot_Options.
To explicitly force an NFSv3 mount you may add the following NFS mount option:
ks=nfs:nfsvers=3:servername:filename

Thanks again for everybody's help.
/Ole
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to remove Microsoft soft raid?

2011-07-21 Thread Andrey Mundirov
21.07.2011 15:31, Brian McKerr пишет:
> I usually boot from the installer CD and go to a virtual terminal 
> (Alt-F1). In the shell;
>
> dd if=/dev/zero of=/dev/disk-i-want-to-destroy bs=512 count=1
>
> I'd guess that the partition table has some microsoft funkiness in it 
> that needs to be wiped.
>
> Take, care with this, it can and does eat data...
>
>
> Cheers.
>
If this does not work, try to erase the LAST cylinder of each disk. 
Metadata may be stored there.

dd if=/dev/zero of=/dev/disk-i-want-to-destroy bs=x count=y skip=z

where x,y,z depend on your disk geometry

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] OT: [opensuse-offtopic] Microsoft struggles to get Hyper-V drivers in Linux kernel (fwd)

2011-07-21 Thread Keith Roberts
Not too sure what to think about this, considering M$'s 
track record with OSS and other competitors.

Kind Regards,

Keith Roberts


-- Forwarded message --
To: opensuse-offtopic 
From: Basil Chupin 
Subject: [opensuse-offtopic] Microsoft struggles to get Hyper-V drivers in Linux
  kernel


 The company has ramped up kernel contributions in hopes of adding
 Hyper-V drivers, which it has worked on for more than two years


Microsoft  isn't exactly 
dumping Windows  for Linux 
, but it has become one of 
the busiest contributors 

 
to the Linux kernel. Microsoft's attempt to get Hyper-V drivers into the 
Linux kernel has taken longer than expected, having begun in July 2009 
,
 
so Microsoft is apparently trying to speed up the process.

Microsoft was the fifth-largest corporate contributor to Linux kernel 
version 3.0, open source author and computer scientist David Wheeler writes 
in his blog 
.

[Full story]

http://www.infoworld.com/d/applications/microsoft-struggles-get-hyper-v-drivers-in-linux-kernel-357


-- 
Paradise is like Hell and neither is too far from you because both are 
creations of your mind and therefore both are already inside you.


-- 
To unsubscribe, e-mail: opensuse-offtopic+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-offtopic+h...@opensuse.org

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] OT: Linus Torvalds delays Linux 3.0 launch due to a subtle bug (fwd)

2011-07-21 Thread Keith Roberts
Kernel news :)

-- Forwarded message --
To: opensuse-offtopic 
From: Basil Chupin 
Subject: [opensuse-offtopic] Linus Torvalds delays Linux 3.0 launch due to a
 subtle bug

*LINUX FOUNDER* Linus Torvalds has said that he's delaying the release of 
Linux 3.0 due to the discovery of a bug.

Torvalds announced back in May that the Linux 2.6.40 kernel will be 
rebadged as the Linux 3.0 kernel 
.
 
The projected release date of Linux 3.0 was supposed to be today, but in a 
post on Google+, Torvalds explained that the discovery 

 
of a "subtle pathname lookup bug" has delayed the release.

[Full story]

http://www.theinquirer.net/inquirer/news/2095102/linus-torvalds-delays-linux-launch-subtle-bug?WT.rss_f=&WT.rss_a=Linus+Torvalds+delays+Linux+3.0+launch+due+to+a+subtle+bug

-- 
Paradise is like Hell and neither is too far from you because both are 
creations of your mind and therefore both are already inside you.


-- 
To unsubscribe, e-mail: opensuse-offtopic+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-offtopic+h...@opensuse.org

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] nouveau driver one centos 6

2011-07-21 Thread Jerry Geis
I "wish" to not load the or even install the nouveau driver by default.
I want to use the NVIDIA binary driver.

I have tried a number of things:

1) in my kickstart package section add the line:
-xorg-x11-drv-nouveau

This did not work - it was still installed.

2) use the nvidia installer and it asks to create a modprobe.conf file 
to blacklist
the driver. I said yes thats what I want. I verified the file being 
present and rebooted.
The driver is still loaded "lsmod | grep nou" still showed it present.

3) I tried "rpm -e xorg-x11-drv-nouveau --nodeps". This seeming worked 
however
the files for nouveau were still present. find / | grep nouveau showed 
driver files and more

So - anyone know how to get this off of my machine???
I thought the "-" in the kickstart package section would work, but no.

Thanks so much for any thoughts.

jerry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Linus Torvalds delays Linux 3.0 launch due to a subtle bug (fwd)

2011-07-21 Thread John R. Dennison
On Thu, Jul 21, 2011 at 01:05:25PM +0100, Keith Roberts wrote:
> Kernel news :)

For a kernel that will never be in CentOS-4, CentOS-5 or CentOS-6.




John
-- 
Much of what looks like rudeness in hacker circles is not intended to give
offense. Rather, it's the product of the direct, cut-through-the-bullshit
communications style that is natural to people who are more concerned about
solving problems than making others feel warm and fuzzy.

http://www.tuxedo.org/~esr/faqs/smart-questions.html


pgpHzE7jujokl.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread Earl Ramirez
Hi Jerry,

The following link worked for me.

http://scientificlinuxforum.org/index.php?showtopic=15

On Thu, Jul 21, 2011 at 8:08 AM, Jerry Geis  wrote:

> I "wish" to not load the or even install the nouveau driver by default.
> I want to use the NVIDIA binary driver.
>
> I have tried a number of things:
>
> 1) in my kickstart package section add the line:
> -xorg-x11-drv-nouveau
>
> This did not work - it was still installed.
>
> 2) use the nvidia installer and it asks to create a modprobe.conf file
> to blacklist
> the driver. I said yes thats what I want. I verified the file being
> present and rebooted.
> The driver is still loaded "lsmod | grep nou" still showed it present.
>
> 3) I tried "rpm -e xorg-x11-drv-nouveau --nodeps". This seeming worked
> however
> the files for nouveau were still present. find / | grep nouveau showed
> driver files and more
>
> So - anyone know how to get this off of my machine???
> I thought the "-" in the kickstart package section would work, but no.
>
> Thanks so much for any thoughts.
>
> jerry
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Kind Regards
Earl Ramirez
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread Jeff Allison
You need to exclude it in grub otherwise the graphical boot loads it.
On Jul 21, 2011 10:08 PM, "Jerry Geis"  wrote:
>
> I "wish" to not load the or even install the nouveau driver by default.
> I want to use the NVIDIA binary driver.
>
> I have tried a number of things:
>
> 1) in my kickstart package section add the line:
> -xorg-x11-drv-nouveau
>
> This did not work - it was still installed.
>
> 2) use the nvidia installer and it asks to create a modprobe.conf file
> to blacklist
> the driver. I said yes thats what I want. I verified the file being
> present and rebooted.
> The driver is still loaded "lsmod | grep nou" still showed it present.
>
> 3) I tried "rpm -e xorg-x11-drv-nouveau --nodeps". This seeming worked
> however
> the files for nouveau were still present. find / | grep nouveau showed
> driver files and more
>
> So - anyone know how to get this off of my machine???
> I thought the "-" in the kickstart package section would work, but no.
>
> Thanks so much for any thoughts.
>
> jerry
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] SOLVED: MySQL ERROR - UNKNOWN_MYSQL_USER

2011-07-21 Thread Keith Roberts
On Thu, 21 Jul 2011, Markus Falb wrote:

> To: centos@centos.org
> From: Markus Falb 
> Subject: Re: [CentOS] MySQL ERROR - UNKNOWN_MYSQL_USER
> 
> On 20.7.2011 23:07, Keith Roberts wrote:
>> This is strange behavior because as soon as I start mysqld
>> with a clean error log, I get the following messages:
>>
>> 110720 21:38:47 [Note] /usr/libexec/mysqld: ready for
>> connections.
>> Version: '5.5.14-log'  socket: '/var/lib/mysql/mysql.sock'
>> port: 2500  MySQL Community Server (GPL) by Remi
>>
>> 110720 21:38:48 [Warning] Access denied for user
>> 'UNKNOWN_MYSQL_USER'@'localhost' (using password: NO)
>>
>> The strange things is, AFAIK there are no clients trying to
>> connect to mysql. I shutdown a mysql CLI monitor I had
>> running, and did the restart again.
>>
>> So I'm just wondering why I get this message, when AFAIK
>> there is nothing that should be trying to connect to mysql -
>> unless it's a server daemon running somewhere?
>>
>> Has anyone else come across this funny error message?
>
> Please have a look at the initscript /etc/init.d/mysqld
>
> ...snip
> # Spin for a maximum of N seconds waiting for the server to come up.
> # Rather than assuming we know a valid username, accept an "access
> # denied" response as meaning the server is functioning.
> snap...

Hi Markus.

Thanks for that detailed explanation.

I've checked the /etc/init.d/mysqld file, and like you say, 
it's the mysqld script itself, using the --user=UNKNOWN_MYSQL_USER
option to test the mysql server is up and running.

So at least I know what is causing this error, and the 
reason for it:

TIMEOUT="$STARTTIMEOUT"
while [ $TIMEOUT -gt 0 ]; do
   RESPONSE=`/usr/bin/mysqladmin --socket="$socketfile" 
--user=UNKNOWN_MYSQL_USER ping 2>&1`

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Linus Torvalds delays Linux 3.0 launch due to a subtle bug (fwd)

2011-07-21 Thread Alain Péan
Le 21/07/2011 14:13, John R. Dennison a écrit :
> On Thu, Jul 21, 2011 at 01:05:25PM +0100, Keith Roberts wrote:
>> Kernel news :)
> For a kernel that will never be in CentOS-4, CentOS-5 or CentOS-6.

But a lot of features of future kernels will be backported in CentOS 6 
2.6.32, see CentOS 5.x and 2.6.18...

Alain

-- 
==
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Linus Torvalds delays Linux 3.0 launch due to a subtle bug (fwd)

2011-07-21 Thread Geoff Galitz

And more over, there is nothing earth-shatteringly new in the 3.0 kernel. 
Linus said during the last kernel summit he wanted to change the versioning 
scheme to make it easier for various developers in different realms to track 
version changes.   Don't expect anything super-cool for us on the 
sysadmin/user side as a direct result of the 3.x kernel.

Of course, incremental changes are usually welcome for stability and device 
driver support.







 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Linus Torvalds delays Linux 3.0 launch due to a subtle bug (fwd)

2011-07-21 Thread John R. Dennison
On Thu, Jul 21, 2011 at 02:25:32PM +0200, Alain Péan wrote:
> But a lot of features of future kernels will be backported in CentOS 6 
> 2.6.32, see CentOS 5.x and 2.6.18...

So?  The delay mentioned doesn't impact the CentOS kernels at all.
Features will be backported when he releases 2.6.3X, err, 3.0 as needed.

People that are interested in following kernel developments have a
wealth of resources on the net to make use of, both in the form of mailing
lists and also web sites, forums, etc.

There has been a great deal of off-topic noise on this list in the past few
weeks, of which this is only the most recent example.  It's becoming
more a time sink and less a useful source of information.

How about this list return to _CentOS_ _specific_ discussions?




John

-- 
Much of what looks like rudeness in hacker circles is not intended to give
offense. Rather, it's the product of the direct, cut-through-the-bullshit
communications style that is natural to people who are more concerned about
solving problems than making others feel warm and fuzzy.

http://www.tuxedo.org/~esr/faqs/smart-questions.html


pgplybKUkvDsI.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread Scott Robbins
> 
> On Thu, Jul 21, 2011 at 8:08 AM, Jerry Geis  wrote:
> 
> I "wish" to not load the or even install the nouveau driver by default.
> I want to use the NVIDIA binary driver.
> 

I'm pretty sure that the elrepo driver is the binary driver. 

http://elrepo.org

gives instructions on enabling it, then just install the driver.  It
will do the blacklisting of noveau and all the rest for you.  




-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Xander: I wish dating was like slaying. You know, simple, direct,
stake through the heart, no muss, no fuss. 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Linus Torvalds delays Linux 3.0 launch due to a subtle bug (fwd)

2011-07-21 Thread Alain Péan
Le 21/07/2011 14:36, John R. Dennison a écrit :
> How about this list return to _CentOS_ _specific_ discussions? John

I agree it is not, but I was answering on the fact that (part of it) 
will "never been included in CentOS 6".

Alain

-- 
==
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fyi: RHEL 5.7 is out

2011-07-21 Thread Always Learning

On Thu, 2011-07-21 at 11:11 +0200, Rainer Traut wrote:

> it seems redhat has just pushed RHEL 5.7 out.
> I see amoung others:
> 
> kernel-2.6.18-274.el5.x86_64.rpm
> redhat-release-5Server-5.7.0.3.x86_64.rpm

Thanks Rainer.

The dilemma is whether to upgrade from 5.6 to 6.1 or stay with 5.x as
more 5.x versions (5.8, 5.9, 5.10 etc. might be possible). For me the
only negative aspect of 5.x is old kernel 2.6.18 whereas 6.x is 2.6.32?

Is there any easy method of discovering Red Hat's 5.x intentions
post-5.7 ?

Will the Centos volunteers, who do a marvellous job, be willing to
convert any future 5.x versions in addition to the 6.x versions,
effectively giving them a double workload in addition to their normal
full-time paying-jobs ?


-- 
With best regards,

Paul.
England,
EU.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fyi: RHEL 5.7 is out

2011-07-21 Thread Eric Viseur
Granted CentOS 4 continued getting updates while CentOS 5 was out, I guess
we can hope this will continue with CentOS 5 getting updates while CentOS 6
is now out.

2011/7/21 Always Learning 

>
> On Thu, 2011-07-21 at 11:11 +0200, Rainer Traut wrote:
>
> > it seems redhat has just pushed RHEL 5.7 out.
> > I see amoung others:
> >
> > kernel-2.6.18-274.el5.x86_64.rpm
> > redhat-release-5Server-5.7.0.3.x86_64.rpm
>
> Thanks Rainer.
>
> The dilemma is whether to upgrade from 5.6 to 6.1 or stay with 5.x as
> more 5.x versions (5.8, 5.9, 5.10 etc. might be possible). For me the
> only negative aspect of 5.x is old kernel 2.6.18 whereas 6.x is 2.6.32?
>
> Is there any easy method of discovering Red Hat's 5.x intentions
> post-5.7 ?
>
> Will the Centos volunteers, who do a marvellous job, be willing to
> convert any future 5.x versions in addition to the 6.x versions,
> effectively giving them a double workload in addition to their normal
> full-time paying-jobs ?
>
>
> --
> With best regards,
>
> Paul.
> England,
> EU.
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fyi: RHEL 5.7 is out

2011-07-21 Thread Alain Péan
Le 21/07/2011 14:47, Eric Viseur a écrit :
> Granted CentOS 4 continued getting updates while CentOS 5 was out, I 
> guess we can hope this will continue with CentOS 5 getting updates 
> while CentOS 6 is now out.

There were two versions of RHEL that were supported, 4.x and 5.x. For a 
short time, there are three (4.x, 5.x and 6.x). But in February 2012, 
4.x support will end, and there will again only two versiosn to support.

I don't know if there will another 4.x (4.10) release after 4.9.

Alain

-- 
==
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: [opensuse-offtopic] Microsoft struggles to get Hyper-V drivers in Linux kernel (fwd)

2011-07-21 Thread Always Learning

On Thu, 2011-07-21 at 13:03 +0100, Keith Roberts wrote:


> http://www.infoworld.com/d/applications/microsoft-struggles-get-hyper-v-drivers-in-linux-kernel-357

"Microsoft's Hyper-V team is supporting CentOS Linux,"









-- 
With best regards,

Paul.
England,
EU.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] managing a rack full of centos servers

2011-07-21 Thread Les Mikesell
On 7/19/11 6:43 PM, John R Pierce wrote:
>
> its looking like I might need to setup a deployment of a dozen or 2
> basically identical machines, all running pretty much the same sorts of
> stuff.  I have zero experience with the sorts of management tools folks
> use to automate this type of configuration, both initial setup, and
> ongoing management (system updates, user application updates,
> configuration changes, etc).
>
> anyone care to suggest any such tools, maybe some real-world pros and
> cons?   of course, being centos, I prefer FOSS tools.   for various
> reasons, this environment likely will NOT be virtualized (although I may
> emulate a test setup with vmware).

If the server hardware is really identical including disks of the same sizes, 
the fastest way to roll them out is probably clonezilla, which has the big 
advantage of being mostly agnostic toward the target OS.  You can try it out 
with the bootable iso, using sshfs or nfs to connect to network storage for the 
image.  If you like it, set up the drbl server to pxe boot into it.  It is rpm 
packaged, but I ended up using ubuntu on the server because it used to only use 
the server's kernel on the clients and I needed something newer than Centos 
provided for windows machines.  Now I believe you  can configure it to pxe boot 
the image from a current livecd even if you run it on a different server. 
Besides the ability to clone windows and other OS's, it also is good for 
snapshot backups of systems (if you can take them down for the copy) and it 
duplicates everything, including any local installs and config edits.

-- 
   Les Mikesell
lesmikes...@gmail.cm

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fyi: RHEL 5.7 is out

2011-07-21 Thread Brian Mathis
On Thu, Jul 21, 2011 at 8:45 AM, Always Learning  wrote:
> On Thu, 2011-07-21 at 11:11 +0200, Rainer Traut wrote:
>> it seems redhat has just pushed RHEL 5.7 out.
>> I see amoung others:
>>
>> kernel-2.6.18-274.el5.x86_64.rpm
>> redhat-release-5Server-5.7.0.3.x86_64.rpm
>
> Thanks Rainer.
>
> The dilemma is whether to upgrade from 5.6 to 6.1 or stay with 5.x as
> more 5.x versions (5.8, 5.9, 5.10 etc. might be possible). For me the
> only negative aspect of 5.x is old kernel 2.6.18 whereas 6.x is 2.6.32?
>
> Is there any easy method of discovering Red Hat's 5.x intentions
> post-5.7 ?
>
> Will the CentOS volunteers, who do a marvelous job, be willing to
> convert any future 5.x versions in addition to the 6.x versions,
> effectively giving them a double workload in addition to their normal
> full-time paying-jobs ?
>
> Paul.
> England,
> EU.


I don't see how this is a dilemma at all.  If your servers are
installed with the 5.x series, they would and probably should continue
to run using the 5.x series unless they suddenly can no longer perform
whatever tasks you need of them.  If the kernel/OS is meeting all of
your needs, why does the version number matter?

As long as Redhat has committed to support 5.x, you will continue to
get updates for it.  RHEL5 will be supported in some way until 2017.

New major versions of RHEL/CentOS should be viewed as completely
separate lines of product, as opposed to one being a direct upgrade of
the other.


-☙ Brian Mathis ❧-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] high performance open source DHCP solution?

2011-07-21 Thread Peter Kjellström
On Wednesday, July 20, 2011 04:54:21 AM Rogelio wrote:
> The free DHCP solution, ISC, seems to be having scaling issues (i.e.
> handling only about 200 DHCPDISCOVER and 20 DHCPRENEW requests), and I
> was wondering if anyone had any open source suggestions of solutions
> that could scale much better?

In my experience dnsmasq (available in base) is the way to go.

/Peter


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread m . roth
Jerry Geis wrote:
> I "wish" to not load the or even install the nouveau driver by default.
> I want to use the NVIDIA binary driver.

We could approach the developers of nouveau with pitchforks and torches
>
> I have tried a number of things:

There was a blacklist of nouveau on my kernel line in grub.conf, and it
still loaded.
>
> 3) I tried "rpm -e xorg-x11-drv-nouveau --nodeps". This seeming worked
> however the files for nouveau were still present. find / | grep nouveau
> showed driver files and more
>
> So - anyone know how to get this off of my machine???

Try what I did: yum remove, which got, as a dependency,
Jul 20 09:41:08 Erased: xorg-x11-drivers
Jul 20 09:41:08 Erased: xorg-x11-drv-nouveau

I was puzzled to not that the former of the two is an rpm of zero bytes.


  mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread John Hodrien
On Thu, 21 Jul 2011, m.r...@5-cent.us wrote:

> I was puzzled to not that the former of the two is an rpm of zero bytes.

Why puzzled?  I'm guessing it's just an empty RPM with a load of dependencies
as a way of cleaning up the dependency chain.

jh
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: [opensuse-offtopic] Microsoft struggles to get Hyper-V drivers in Linux kernel (fwd)

2011-07-21 Thread m . roth
Always Learning wrote:
> On Thu, 2011-07-21 at 13:03 +0100, Keith Roberts wrote:
>
>> http://www.infoworld.com/d/applications/microsoft-struggles-get-hyper-v-drivers-in-linux-kernel-357
>
> "Microsoft's Hyper-V team is supporting CentOS Linux,"

Lessee, and a) M$ got to be a player thanks to IBM, and b) the default
CentOS X background is white on blue... I'm going to start referring to
CentOS as Little Blue.

Or, to quote from the mouse pads I have sitting around from Penguin
Computing, "Good evening, Mr. Gates, I'll be your server today", on a red
sky over the M$ Campus, and looming like Godzilla... Tux.

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread m . roth
John Hodrien wrote:
> On Thu, 21 Jul 2011, m.r...@5-cent.us wrote:
>
>> I was puzzled to not that the former of the two is an rpm of zero bytes.
>
> Why puzzled?  I'm guessing it's just an empty RPM with a load of
> dependencies as a way of cleaning up the dependency chain.

Ok, I didn't rpm -ql to see what was in it, but as it listed as empty...
and why wouldn't the driver rpm have the dependencies in it?

  mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to remove Microsoft soft raid?

2011-07-21 Thread Robert Heller
At Thu, 21 Jul 2011 07:24:19 -0400 CentOS mailing list  
wrote:

> 
> Have a quad core workstation that was running WinXP_64 that I want to
> blow away and install CentOS 6.  C6 install process finds raid metadata
> associated with sda and sdb, and then excludes them from the rest of the
> installation process.  
> 
> There doesn't appear to be an option for disassembling the raid as part
> of the install process.  I think there should be.
> 
> Any tricks to removing/by-passing the soft raid left over from the
> previous OS?

Is this pure WinXP_64 software RAID or BIOS-assisted 'fakeraid'?  If the
latter, go into the BIOS and change its settings from 'RAID' to 'AHCI'
or other 'native' SATA mode.

The only other thought would be to use a Live CD to clobber the disks
(eg using fdisk or 'dd if=/dev/zero of=/dev/sda' or something). It might
also be possible to get to a shell process with Alt-F2 in the installer
and using fdisk, etc. to clobber the disks -- do this *before* screen
where it asks about partitioning, etc.

> 
> Dave M
> 
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>  

-- 
Robert Heller -- 978-544-6933 / hel...@deepsoft.com
Deepwoods Software-- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments


   
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread John Hodrien
On Thu, 21 Jul 2011, m.r...@5-cent.us wrote:

> John Hodrien wrote:
>> On Thu, 21 Jul 2011, m.r...@5-cent.us wrote:
>>
>>> I was puzzled to not that the former of the two is an rpm of zero bytes.
>>
>> Why puzzled?  I'm guessing it's just an empty RPM with a load of
>> dependencies as a way of cleaning up the dependency chain.
>
> Ok, I didn't rpm -ql to see what was in it, but as it listed as empty...
> and why wouldn't the driver rpm have the dependencies in it?

The driver rpm depends on all the specific driver RPMs.  The 0 byte figure is
because the driver RPM contains no files.  But it means your kickstart (and
the default install groups) can have xorg-x11-drv and doesn't need to be
updated everytime they add a new driver (which'd be pretty annoying).

jh
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: [opensuse-offtopic] Microsoft struggles to get Hyper-V drivers in Linux kernel (fwd)

2011-07-21 Thread John Hinton
On 7/21/2011 8:03 AM, Keith Roberts wrote:
> Not too sure what to think about this, considering M$'s
> track record with OSS and other competitors.
>
> Kind Regards,
>
> Keith Roberts
>
>
They undoubtedly must be trying to figure out a way to add a MacroShaft 
license to the Linux Kernal. LOL!!!

-- 
John Hinton
877-777-1407 ext 502
http://www.ew3d.com
Comprehensive Online Solutions

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fyi: RHEL 5.7 is out

2011-07-21 Thread John Hinton
On 7/21/2011 8:53 AM, Alain Péan wrote:
> Le 21/07/2011 14:47, Eric Viseur a écrit :
>> Granted CentOS 4 continued getting updates while CentOS 5 was out, I
>> guess we can hope this will continue with CentOS 5 getting updates
>> while CentOS 6 is now out.
> There were two versions of RHEL that were supported, 4.x and 5.x. For a
> short time, there are three (4.x, 5.x and 6.x). But in February 2012,
> 4.x support will end, and there will again only two versiosn to support.
>
> I don't know if there will another 4.x (4.10) release after 4.9.
>
> Alain
>
If I'm not mistaken, CentOS at one point was providing 3.X, 4.X and 5.X. 
3.X ended at the EOL as set by upstream, just as it should and just as 
CentOS has stated in their policies/commitments. I expect that 4.X will 
follow that same path, will all updates/upgrades done until the 
predefined EOL, again as set by upstream. 5 and 6 should go down that 
same path. So, look to upstream for EOLs on your version of CentOS and 
expect to do a rebuild of your system at that point. This is one of the 
beauties of how upstream operates and what CentOS emulates. Rest at ease.

If upstream holds true to its aimed for goals, I would predict we might 
see 4.11 or even 4.12 before it goes EOL. But that is just a guess based 
on quarterly updates that sometimes aren't exactly out on the third 
month. Gee, I have a bit of work to do. I think I still have like 4 
version 4 systems running. One will be moved to 6 over the next couple 
of weeks... the rest are easy in comparison.

-- 
John Hinton
877-777-1407 ext 502
http://www.ew3d.com
Comprehensive Online Solutions

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to remove Microsoft soft raid?

2011-07-21 Thread Drew
>From the sounds of it it's fake raid. M$ doesn't leave any signatures
on their raid system that linux will detect. dm/md raid can see
fakeraid signatures in newer versions so the installer may be picking
up on that.

--
Drew

On 07/21/2011, Robert Heller  wrote:
> At Thu, 21 Jul 2011 07:24:19 -0400 CentOS mailing list 
> wrote:
>
>>
>> Have a quad core workstation that was running WinXP_64 that I want to
>> blow away and install CentOS 6.  C6 install process finds raid metadata
>> associated with sda and sdb, and then excludes them from the rest of the
>> installation process.
>>
>> There doesn't appear to be an option for disassembling the raid as part
>> of the install process.  I think there should be.
>>
>> Any tricks to removing/by-passing the soft raid left over from the
>> previous OS?
>
> Is this pure WinXP_64 software RAID or BIOS-assisted 'fakeraid'?  If the
> latter, go into the BIOS and change its settings from 'RAID' to 'AHCI'
> or other 'native' SATA mode.
>
> The only other thought would be to use a Live CD to clobber the disks
> (eg using fdisk or 'dd if=/dev/zero of=/dev/sda' or something). It might
> also be possible to get to a shell process with Alt-F2 in the installer
> and using fdisk, etc. to clobber the disks -- do this *before* screen
> where it asks about partitioning, etc.
>
>>
>> Dave M
>>
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>>
>
> --
> Robert Heller -- 978-544-6933 / hel...@deepsoft.com
> Deepwoods Software-- http://www.deepsoft.com/
> ()  ascii ribbon campaign -- against html e-mail
> /\  www.asciiribbon.org   -- against proprietary attachments
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

-- 
Sent from my mobile device

Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie

"This started out as a hobby and spun horribly out of control."
-Unknown

MGen Dorlan Kwase UFPSFMC
Deputy Judge Advocate General
9th MARDIV Commander, Ret.
Obsidian Fleet
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to remove Microsoft soft raid?

2011-07-21 Thread Phil Schaffner
Drew wrote on 07/21/2011 11:09 AM:
>> From the sounds of it it's fake raid. M$ doesn't leave any signatures
> on their raid system that linux will detect. dm/md raid can see
> fakeraid signatures in newer versions so the installer may be picking
> up on that.

So, erasing the RAID signatures with "dd" in addition to changing the 
BIOS setting, is indicated.

Phil
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Experience with Centos running off usb-stick(s)

2011-07-21 Thread Dennis Jacobfeuerborn
Hi,
I'm trying to build a redundant duo of firewalls/routers/gateways and I'm 
thinking about not putting any disks in them and instead using a usb-stick 
raid-1 as storage.
Has anyone any experience with this? Since the machines will be running 
pretty much only iptables, conntrackd and keepalived there is not going to 
be a lot of disk activity going on and the plan is to do all the logging on 
a remote machine which should reduce the write activity on the sticks to 
almost zero during normal operation.

I've already created a fairly minimal kickstart for such an installation 
but I'm wondering if there are any opinions out there on whether this is a 
feasible approach or if there are any gotchas I'm not aware of.

Regards,
   Dennis
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] managing a rack full of centos servers

2011-07-21 Thread Devin Reade
--On Wednesday, July 20, 2011 11:02:42 PM -0700 RC 
wrote:

> On Wed, 20 Jul 2011 10:07:06 -0600 Devin Reade  wrote:

>> It should be considered as complementing the automated config
>> management tools like cfengine et al, not as a replacement for
>> them (they're doing different jobs).  
> 
> That's not entirely fair.  A little shell scripting and pdsh and pdcp
> can certainly do everything cfengine/puppet can do

I wasn't referring to pdsh/pdcp; I was referring to pconsole.  The 
reason I said complementing is that sometimes it is good to have 
stuff under a configuration management system like cfengine/puppet,
but sometimes you need to run ad-hoc commands, in an identical 
fashion, on lots of similar machines, which pconsole is good at
(subject to the caveats I previously mentioned).

I made no comments on pdsh/pdcp at all, and make no claims on where
it fits in the spectrum.

Devin

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] There is no One True Solution

2011-07-21 Thread Devin Reade
Folks, in many recent threads this pattern has been happening:

   OP:   Any suggestions on how to do ?
   Responder 1:  Look at .
   Responder 2:  Look at .
   Responder 3:  Look at .
   Responder 4:  It doesn't work for me / I don't like that / it's a 
 stupid solution / etc

   

There's nothing wrong with comparing / contrasting different solutions,
but can we please try to remember that every circumstance is different
and that just because someone suggests a solution it doesn't mean
that it's the best for everyone?  Ultimately, only the OP will be
able to figure out what works best for him but having alternatives
can help him get there.

IMNSHO we, as professionals, should have lots of tools in our toolboxes,
understand their pros and cons, not only in isolation but as they 
would apply in the different environments in which we find ourselves.

If you have observations about a solution based on experience by
all means share them (but please qualify the circumstances in which
they apply).  If you don't, file the solution away in your meatware
for future reference.

But if you hear about a solution and it doesn't seem like a good fit
for your particular circumstances, and you're not the OP, can we
please stop hearing the "but it doesn't work for *me* in these
slightly different circumstances" comments?

Devin

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 6 xhci_hcd USB 3 Support

2011-07-21 Thread Kirk Bocek
I'm struggling with the xhci_hcd driver trying to get a NEC Corporation 
uPD720200 USB 3.0 Host Controller working under CentOS 6 x86_64. I've 
documented my efforts in the forums:

https://www.centos.org/modules/newbb/viewtopic.php?topic_id=32237&forum=57

If anyone has any experience with the xhci_hcd driver, please share.

Thanks,
Kirk Bocek
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] centos6 not using /etc/gdm/custom.conf

2011-07-21 Thread Jamieson, Stephen CTR Navair, 5.4.4.4
In CentOS5 you were able to create a server section in /etc/gdm/custom.conf 
such as

[server-Standard]
name=Standard server
command=/usr/bin/Xorg -br -audit 4 -s 15 
chooser=false 
handled=true
flexible=true
priority=0

After this change, Xorg would run with the -br -audit 4 -s 15 options. 

Unfortunately in CentOS6 this is not the case. It completely ignores anything 
put into custom.conf as far as I can tell.  It appears to run with -nr -verbose 
-auth -nolisten tcp by default.  Is there any way to modify this?

Regards,

Stephen Jamieson


smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] how to assign program to run on dedicate CPU ?

2011-07-21 Thread mcclnx mcc
We have CENTOS 5.X on DELL servers.  I know on Windows environment I can use 
"imagecfg.exe" to assign program run on dedicate CPU.

Can anyone tell me how to do this on LINUX?

Thanks.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Memory Usage in Top and System Monitor‏

2011-07-21 Thread Robert Nichols
On 07/20/2011 07:09 PM, Michael McNulty wrote:
> I think I found my problem. I did not realize using /dev/shm as a ramdisk will
> create swap space. Is there a way to prevent the ramdisk from swapping to 
> disk?

Perhaps by not storing so much stuff in it?  That, or adding more RAM.
Seriously, if you're going to fill up a large portion of your available
memory with a ramdisk, demands for memory are going to have to be met by
pushing pages out to swap space.  By default, a ramdisk can grow to up
to half of the available RAM after the kernel has been loaded.  If
programs and I/O buffers need more than the other memory you have
available, what option is there besides swap?

-- 
Bob Nichols "NOSPAM" is really part of my email address.
 Do NOT delete it.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to assign program to run on dedicate CPU ?

2011-07-21 Thread Denniston, Todd A CIV NAVSURFWARCENDIV Crane
> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of mcclnx mcc
> Sent: Thursday, July 21, 2011 14:19
> To: centos@centos.org
> Subject: [CentOS] how to assign program to run on dedicate CPU ?
> 
> We have CENTOS 5.X on DELL servers.  I know on Windows environment I
> can use "imagecfg.exe" to assign program run on dedicate CPU.
> 
> Can anyone tell me how to do this on LINUX?
> 

I should probably have just answered `man taskset`, but the below got
typed too quickly.

CONTROLEDPID=`ps aux |grep 'name of process I want to control`
PROCESSORTORUNON=3
Taskset -p -c $PROCESSORTORUNON $ PROCESSORTORUNON
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Memory Usage in Top and System Monitor?

2011-07-21 Thread Denniston, Todd A CIV NAVSURFWARCENDIV Crane
> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of Robert Nichols
> Sent: Thursday, July 21, 2011 14:32
> To: centos@centos.org
> Subject: Re: [CentOS]Memory Usage in Top and System Monitor?
> 
> On 07/20/2011 07:09 PM, Michael McNulty wrote:
> > I think I found my problem. I did not realize using /dev/shm as a
> ramdisk will
> > create swap space. Is there a way to prevent the ramdisk from
> swapping to disk?
>

> If
> programs and I/O buffers need more than the other memory you have
> available, what option is there besides swap?
> 

"what option is there besides swap [to disk]?"

Compcache, Compressed Caching for Linux?

But last I read, it needed a newer kernel than was in 5.x.
So no I have not tried it. :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos6 not using /etc/gdm/custom.conf

2011-07-21 Thread Frank Cox
On Thu, 21 Jul 2011 14:17:28 -0400
Jamieson, Stephen CTR Navair, 5.4.4.4 wrote:

> Is there any way to modify this?

There are some gdm settings in gconf-editor (yum install gconf-editor and run it
as root) but I don't know how comprehensive they are.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread Ned Slider
On 21/07/11 13:08, Jerry Geis wrote:
> I "wish" to not load the or even install the nouveau driver by default.
> I want to use the NVIDIA binary driver.
>
> I have tried a number of things:
>
> 1) in my kickstart package section add the line:
> -xorg-x11-drv-nouveau
>
> This did not work - it was still installed.
>
> 2) use the nvidia installer and it asks to create a modprobe.conf file
> to blacklist
> the driver. I said yes thats what I want. I verified the file being
> present and rebooted.
> The driver is still loaded "lsmod | grep nou" still showed it present.
>
> 3) I tried "rpm -e xorg-x11-drv-nouveau --nodeps". This seeming worked
> however
> the files for nouveau were still present. find / | grep nouveau showed
> driver files and more
>
> So - anyone know how to get this off of my machine???
> I thought the "-" in the kickstart package section would work, but no.
>
> Thanks so much for any thoughts.
>
> jerry


 From elrepo.org,

yum install kmod-nvidia

will take care of everything for you, and because it's a kABI-tracking 
kmod package you won't need to rebuild the kernel module for each kernel 
update, and yum will automatically take care of future nvidia driver 
updates for you too.

A word of warning - there is a bug [1,2] in 6.0 that means installing 
kmod-nvidia from a kickstart file will *fail* so I would advise 
performing your install and then manually installing kmod-nvidia 
immediately afterwards. Alternatively there is a workaround in the 
elrepo bug report [3] should you really want to do this from a kickstart 
script.

Hope that helps.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=625216
[2] https://bugzilla.redhat.com/show_bug.cgi?id=657257
[3] http://elrepo.org/bugs/view.php?id=98


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos6 not using /etc/gdm/custom.conf

2011-07-21 Thread Dejan
On Thu, Jul 21, 2011 at 11:17, Jamieson, Stephen CTR Navair, 5.4.4.4
 wrote:
> In CentOS5 you were able to create a server section in /etc/gdm/custom.conf 
> such as
>
> [server-Standard]
> name=Standard server
> command=/usr/bin/Xorg -br -audit 4 -s 15
> chooser=false
> handled=true
> flexible=true
> priority=0
>
> After this change, Xorg would run with the -br -audit 4 -s 15 options.
>
> Unfortunately in CentOS6 this is not the case. It completely ignores anything 
> put into custom.conf as far as I can tell.  It appears to run with -nr 
> -verbose -auth -nolisten tcp by default.  Is there any way to modify this?
>

I just installed CentOS 6 on Monday and at least the daemon section was honored:
I have this:
[daemon]
AutomaticLoginEnable=True
AutomaticLogin=mythtv
TimedLoginEnable=true
TimedLogin=mythtv
TimedLoginDelay=30

And my MythTV account logs in without delay on boot and after 30
seconds if you logout and leave the console idle.

Deyan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to assign program to run on dedicate CPU ?

2011-07-21 Thread Ljubomir Ljubojevic
Denniston, Todd A CIV NAVSURFWARCENDIV Crane wrote:
>> -Original Message-
>> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
>> Behalf Of mcclnx mcc
>> Sent: Thursday, July 21, 2011 14:19
>> To: centos@centos.org
>> Subject: [CentOS] how to assign program to run on dedicate CPU ?
>>
>> We have CENTOS 5.X on DELL servers.  I know on Windows environment I
>> can use "imagecfg.exe" to assign program run on dedicate CPU.
>>
>> Can anyone tell me how to do this on LINUX?
>>
> 
> I should probably have just answered `man taskset`, but the below got
> typed too quickly.
> 
> CONTROLEDPID=`ps aux |grep 'name of process I want to control`
> PROCESSORTORUNON=3
> Taskset -p -c $PROCESSORTORUNON $ PROCESSORTORUNON

You meant:
taskset -p -c $PROCESSORTORUNON $CONTROLEDPID

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread Ljubomir Ljubojevic
Ned Slider wrote:
> On 21/07/11 13:08, Jerry Geis wrote:
>> I "wish" to not load the or even install the nouveau driver by default.
>> I want to use the NVIDIA binary driver.
>>
>> I have tried a number of things:
>>
>> 1) in my kickstart package section add the line:
>> -xorg-x11-drv-nouveau
>>
>> This did not work - it was still installed.
>>
>> 2) use the nvidia installer and it asks to create a modprobe.conf file
>> to blacklist
>> the driver. I said yes thats what I want. I verified the file being
>> present and rebooted.
>> The driver is still loaded "lsmod | grep nou" still showed it present.
>>
>> 3) I tried "rpm -e xorg-x11-drv-nouveau --nodeps". This seeming worked
>> however
>> the files for nouveau were still present. find / | grep nouveau showed
>> driver files and more
>>
>> So - anyone know how to get this off of my machine???
>> I thought the "-" in the kickstart package section would work, but no.
>>
>> Thanks so much for any thoughts.
>>
>> jerry
> 
> 
>  From elrepo.org,
> 
> yum install kmod-nvidia
> 
> will take care of everything for you, and because it's a kABI-tracking 
> kmod package you won't need to rebuild the kernel module for each kernel 
> update, and yum will automatically take care of future nvidia driver 
> updates for you too.
> 
> A word of warning - there is a bug [1,2] in 6.0 that means installing 
> kmod-nvidia from a kickstart file will *fail* so I would advise 
> performing your install and then manually installing kmod-nvidia 
> immediately afterwards. Alternatively there is a workaround in the 
> elrepo bug report [3] should you really want to do this from a kickstart 
> script.
> 
> Hope that helps.
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=625216
> [2] https://bugzilla.redhat.com/show_bug.cgi?id=657257
> [3] http://elrepo.org/bugs/view.php?id=98
> 
Workaround from elrepo bug report:

 >I was able to confirm that adding this line to the post section of the 
 >kickstart script before installing the modules fixes the problem:
 >
 >ln -s `awk '{ if ($2 == "/") print $1; }' /etc/fstab` /dev/root


-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to assign program to run on dedicate CPU ?

2011-07-21 Thread Denniston, Todd A CIV NAVSURFWARCENDIV Crane
> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of Ljubomir Ljubojevic
> Sent: Thursday, July 21, 2011 15:11
> To: CentOS mailing list
> Subject: Re: [CentOS] how to assign program to run on dedicate CPU ?
> 
> Denniston, Todd A CIV NAVSURFWARCENDIV Crane wrote:

> > I should probably have just answered `man taskset`, but the below
got
> > typed too quickly.
> >
> > CONTROLEDPID=`ps aux |grep 'name of process I want to control`
> > PROCESSORTORUNON=3
> > Taskset -p -c $PROCESSORTORUNON $ PROCESSORTORUNON
> 
> You meant:
> taskset -p -c $PROCESSORTORUNON $CONTROLEDPID
> 

Yep, yet more evidence that it "got typed to quickly". :)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos6 not using /etc/gdm/custom.conf

2011-07-21 Thread fred smith
On Thu, Jul 21, 2011 at 02:17:28PM -0400, Jamieson, Stephen CTR Navair, 5.4.4.4 
wrote:
> In CentOS5 you were able to create a server section in /etc/gdm/custom.conf 
> such as
> 
> [server-Standard]
> name=Standard server
> command=/usr/bin/Xorg -br -audit 4 -s 15 
> chooser=false 
> handled=true
> flexible=true
> priority=0
> 
> After this change, Xorg would run with the -br -audit 4 -s 15 options. 
> 
> Unfortunately in CentOS6 this is not the case. It completely ignores anything 
> put into custom.conf as far as I can tell.  It appears to run with -nr 
> -verbose -auth -nolisten tcp by default.  Is there any way to modify this?
> 
> Regards,
> 
> Stephen Jamieson

In later Fedora releases, GDM has become less and less functional:
configurability has been removed, more so as releases occur. From my
(known to be flaky) memory, that includes the ability to turn off the
silly list that exposes usernames right on the login screen, the ability
to assign your own wallpaper to the login screen, among other things.

In some releases you can hack your way around whatever the missing
feature is that you're missing by using gconf-editor, in others you can't.

So, my guess is that RHEL/Centos 6 has inherited the later Gnome
"features" that have removed the feature you want.

Fred

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
The Lord is like a strong tower. 
 Those who do what is right can run to him for safety.
--- Proverbs 18:10 (niv) -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Memory Usage in Top and System Monitor‏

2011-07-21 Thread Michael McNulty

--- On Thu, 7/21/11, Robert Nichols  wrote:

> Perhaps by not storing so much stuff in it?  That, or
> adding more RAM. Seriously, if you're going to fill up a large portion of
> your available memory with a ramdisk, demands for memory are going to have
> to be met by pushing pages out to swap space.  By default, a
> ramdisk can grow to up to half of the available RAM after the kernel has been
> loaded.  If programs and I/O buffers need more than the other memory
> you have available, what option is there besides swap?
> 

Actually I am not storing too much stuff in it since there is plenty of free 
memory. That was the point of my earlier posts asking why swap when there is 
plenty of free memory. 

Correct me if I am wrong, but I believe behavior is unused files in /dev/shm 
use swap space? I want to make it so it does not do that since it slows the 
system down 
and since there is plenty of available free memory.
  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos6 not using /etc/gdm/custom.conf

2011-07-21 Thread m . roth
fred smith wrote:
> On Thu, Jul 21, 2011 at 02:17:28PM -0400, Jamieson, Stephen CTR Navair,
> 5.4.4.4 wrote:
>> In CentOS5 you were able to create a server section in
>> /etc/gdm/custom.conf such as
>>

> In later Fedora releases, GDM has become less and less functional:
> configurability has been removed, more so as releases occur. From my
> (known to be flaky) memory, that includes the ability to turn off the
> silly list that exposes usernames right on the login screen, the ability

And that makes it inappropriate for US gov't work (violates official std),
and actually anywhere that you have a concern about security.

> to assign your own wallpaper to the login screen, among other things.

Ah, yes, creeping M$-ism. Just like the urge to make stuff look more and
more like the Evil Empire from Redmond, without the *option* to look like
bloody Linux.

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Memory Usage in Top and System Monitor‏

2011-07-21 Thread Ljubomir Ljubojevic
Michael McNulty wrote:
> --- On Thu, 7/21/11, Robert Nichols  wrote:
> 
>> Perhaps by not storing so much stuff in it?  That, or
>> adding more RAM. Seriously, if you're going to fill up a large portion of
>> your available memory with a ramdisk, demands for memory are going to have
>> to be met by pushing pages out to swap space.  By default, a
>> ramdisk can grow to up to half of the available RAM after the kernel has been
>> loaded.  If programs and I/O buffers need more than the other memory
>> you have available, what option is there besides swap?
>>
> 
> Actually I am not storing too much stuff in it since there is plenty of free 
> memory. That was the point of my earlier posts asking why swap when there is 
> plenty of free memory. 
> 
> Correct me if I am wrong, but I believe behavior is unused files in /dev/shm 
> use swap space? I want to make it so it does not do that since it slows the 
> system down 
> and since there is plenty of available free memory.
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

Could you please use regular reply option? I can now see 3 separate 
threads with the same name,and they are only your thread(s). Thanks

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Using shell variables inside the ftp client

2011-07-21 Thread James B. Byrne
I have a script that opens an ftp connection to a non-*nix system. 
I desire to change directories on the host system using a shell
variable to set the cd directory.  However, I cannot seem to
discover how this is done.

I have tried this:

TARGET=ftp-pickup

ftp
.  .  .

cd $TARGET

This gives the following error:

550 Failed to change directory.

I am using shell variables (put $TEMP_TXFR_FILE $OUTPUT_FILE)
elsewhere in this ftp session as arguments to get and put statements
and I have no problems.  Is there some reason why I cannot use shell
variables as arguments to the cd command?

I am aware the $ is used to invoke .netrc macros but I have none
defined.  In fact I was somewhat surprised, albeit pleasantly, when
the ftp client accepted shell variables as arguments in the get and
put statements.

Is there a way to dynamically define the target of a cd command
inside an ftp session?

-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Memory Usage in Top and System Monitor‏

2011-07-21 Thread Michael McNulty

Sorry, I am new to using the mailing list. I put RE: in the subject line 
thinking it would stay in the same thread but not sure why it did not work. So 
I turned of daily digest to reply and replying directly now. Apologies if this 
reply did not work.


> Date: Thu, 21 Jul 2011 22:35:47 +0200
> From: office@plnet.rsSend
> To: centos@centos.org
> Subject: Re: [CentOS] Memory Usage in Top and System Monitor‏
>
> Michael McNulty wrote:
> > --- On Thu, 7/21/11, Robert Nichols  wrote:
> >
> >> Perhaps by not storing so much stuff in it? That, or
> >> adding more RAM. Seriously, if you're going to fill up a large portion of
> >> your available memory with a ramdisk, demands for memory are going to have
> >> to be met by pushing pages out to swap space. By default, a
> >> ramdisk can grow to up to half of the available RAM after the kernel has 
> >> been
> >> loaded. If programs and I/O buffers need more than the other memory
> >> you have available, what option is there besides swap?
> >>
> >
> > Actually I am not storing too much stuff in it since there is plenty of 
> > free memory. That was the point of my earlier posts asking why swap when 
> > there is plenty of free memory.
> >
> > Correct me if I am wrong, but I believe behavior is unused files in 
> > /dev/shm use swap space? I want to make it so it does not do that since it 
> > slows the system down
> > and since there is plenty of available free memory.
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
>
> Could you please use regular reply option? I can now see 3 separate
> threads with the same name,and they are only your thread(s). Thanks
>
> --
>
> Ljubomir Ljubojevic
> (Love is in the Air)
> PL Computers
> Serbia, Europe
>
> Google is the Mother, Google is the Father, and traceroute is your
> trusty Spiderman...
> StarOS, Mikrotik and CentOS/RHEL/Linux consultant
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using shell variables inside the ftp client

2011-07-21 Thread Always Learning

On Thu, 2011-07-21 at 16:40 -0400, James B. Byrne wrote:

> I have a script that opens an ftp connection to a non-*nix system. 
> I desire to change directories on the host system using a shell
> variable to set the cd directory.  However, I cannot seem to
> discover how this is done.

Check the FTP configuration file on the remote server. There might be a
block to stop you moving-out of your log-on FTP directory.


VSFTP on Centos has this capability so too, I imagine, has other FTP
servers.

-- 
With best regards,

Paul.
England,
EU.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Memory Usage in Top and System Monitorþ

2011-07-21 Thread m . roth
Michael McNulty wrote:
>
> Sorry, I am new to using the mailing list. I put RE: in the subject line
> thinking it would stay in the same thread but not sure why it did not
> work. So I turned of daily digest to reply and replying directly now.
> Apologies if this reply did not work.

Um, you're new to email (or only have used Outlook...). Hit  will
do that. Don't manually put it in.

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos6 not using /etc/gdm/custom.conf

2011-07-21 Thread Tom H
On Thu, Jul 21, 2011 at 2:17 PM, Jamieson, Stephen CTR Navair, 5.4.4.4
 wrote:
>
> In CentOS5 you were able to create a server section in /etc/gdm/custom.conf 
> such as
>
> [server-Standard]
> name=Standard server
> command=/usr/bin/Xorg -br -audit 4 -s 15
> chooser=false
> handled=true
> flexible=true
> priority=0
>
> After this change, Xorg would run with the -br -audit 4 -s 15 options.
>
> Unfortunately in CentOS6 this is not the case. It completely ignores anything 
> put into
> custom.conf as far as I can tell. It appears to run with -nr -verbose -auth 
> -nolisten tcp
> by default. Is there any way to modify this?

Those options are no longer supported in GDM. I think that they were
removed with GDM 2.24 (at the latest, probably 2.22) and C6 is running
GDM 2.30.

You can use

[security]
DisallowTCP=false

in "/etc/gdm/custom.conf" to override the "-nolisten tcp" but I have
no idea about "-br -audit 4 -s 15".

"chooser=false" and "handled=true" are the default (as far as I
remember what they stand for!); no idea about "flexible=true" (I can't
remember what it stands is for!).
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos6 not using /etc/gdm/custom.conf

2011-07-21 Thread Tom H
On Thu, Jul 21, 2011 at 4:29 PM,   wrote:
> fred smith wrote:
>> On Thu, Jul 21, 2011 at 02:17:28PM -0400, Jamieson, Stephen CTR Navair,
>> 5.4.4.4 wrote:
>>
>>> In CentOS5 you were able to create a server section in
>>> /etc/gdm/custom.conf such as
>>
>> In later Fedora releases, GDM has become less and less functional:
>> configurability has been removed, more so as releases occur. From my
>> (known to be flaky) memory, that includes the ability to turn off the
>> silly list that exposes usernames right on the login screen, the ability
>
> And that makes it inappropriate for US gov't work (violates official std),
> and actually anywhere that you have a concern about security.

It's pretty weird that RH didn't change the GNOME upstream default of
exposing the usernames. I presume that RH doesn't care about the
desktop enough in an enterprise setting. It's easy enough to change
with a gconftool-2 invocation but "even" Apple allows its users to
switch from a "click on an icon/name" login to a "type your name"
login within the OS X GUI. The GNOME developers' choices are difficult
to understand, IMHO.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Memory Usage in Top and System Monitor‏

2011-07-21 Thread Robert Nichols
On 07/21/2011 03:20 PM, Michael McNulty wrote:
>
> --- On Thu, 7/21/11, Robert Nichols  wrote:
>
>> Perhaps by not storing so much stuff in it?  That, or
>> adding more RAM. Seriously, if you're going to fill up a large portion of
>> your available memory with a ramdisk, demands for memory are going to have
>> to be met by pushing pages out to swap space.  By default, a
>> ramdisk can grow to up to half of the available RAM after the kernel has been
>> loaded.  If programs and I/O buffers need more than the other memory
>> you have available, what option is there besides swap?
>>
>
> Actually I am not storing too much stuff in it since there is plenty of free 
> memory. That was the point of my earlier posts asking why swap when there is 
> plenty of free memory.
>
> Correct me if I am wrong, but I believe behavior is unused files in /dev/shm 
> use swap space? I want to make it so it does not do that since it slows the 
> system down
> and since there is plenty of available free memory.

A ramdisk does not consume any memory at all until you store stuff
in it, and then it uses only such memory as is required to hold its
current contents, i.e., it will shrink again if stored files are
truncated or removed.  From your comment, I presumed you knew you
were actually storing data in /dev/shm.  If you are not, then you
will have to look elsewhere to see what is sometimes consuming a lot
of memory.

-- 
Bob Nichols "NOSPAM" is really part of my email address.
 Do NOT delete it.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Memory Usage in Top and System Monitorþ

2011-07-21 Thread Michael McNulty

Like I said I turned off daily digest to get the individual emails so I could 
"Hit" . (rather than copy/paste from here and RE: in subject line).

So do you know how to stop ramdisk from swapping to disk when there is plenty 
of available memory? I was using /dev/shm but created my own which I suppose is 
the same thing and have the same issue.

mkdir -p /media/ramdisk
mount -t tmpfs -o size=2000M
mount -t tmpfs -o size=2000M tmpds /media/ramdisk



> Date: Thu, 21 Jul 2011 16:56:58 -0400
> From: m.r...@5-cent.us
> To: centos@centos.org
> Subject: Re: [CentOS] Memory Usage in Top and System Monitorþ
>
> Michael McNulty wrote:
> >
> > Sorry, I am new to using the mailing list. I put RE: in the subject line
> > thinking it would stay in the same thread but not sure why it did not
> > work. So I turned of daily digest to reply and replying directly now.
> > Apologies if this reply did not work.
>
> Um, you're new to email (or only have used Outlook...). Hit  will
> do that. Don't manually put it in.
>
> mark
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Memory Usage in Top and System Monitor‏

2011-07-21 Thread Michael McNulty

Yes I am copying files there but as my first post shows I have plenty of free 
memory so I thought it should not be using swap space.

I guess this is my problem.
http://www.cyberciti.biz/faq/howto-create-linux-ram-disk-filesystem/

"tmpfs (also known as 
shmfs) is a little different from the Linux ramdisk. It allocate memory 
dynamically and by allowing less-used pages to be moved onto swap space.
 ramfs, in contrast, does not make use of swap which can be an advantage
 or disadvantage in many cases."

So it looks like I need to use "ramfs" as described here?  That sound about 
right?


> To: centos@centos.org
> From: rnicholsnos...@comcast.net
> Date: Thu, 21 Jul 2011 16:28:15 -0500
> Subject: Re: [CentOS] Memory Usage in Top and System Monitor‏
>
> On 07/21/2011 03:20 PM, Michael McNulty wrote:
> >
> > --- On Thu, 7/21/11, Robert Nichols wrote:
> >
> >> Perhaps by not storing so much stuff in it? That, or
> >> adding more RAM. Seriously, if you're going to fill up a large portion of
> >> your available memory with a ramdisk, demands for memory are going to have
> >> to be met by pushing pages out to swap space. By default, a
> >> ramdisk can grow to up to half of the available RAM after the kernel has 
> >> been
> >> loaded. If programs and I/O buffers need more than the other memory
> >> you have available, what option is there besides swap?
> >>
> >
> > Actually I am not storing too much stuff in it since there is plenty of 
> > free memory. That was the point of my earlier posts asking why swap when 
> > there is plenty of free memory.
> >
> > Correct me if I am wrong, but I believe behavior is unused files in 
> > /dev/shm use swap space? I want to make it so it does not do that since it 
> > slows the system down
> > and since there is plenty of available free memory.
>
> A ramdisk does not consume any memory at all until you store stuff
> in it, and then it uses only such memory as is required to hold its
> current contents, i.e., it will shrink again if stored files are
> truncated or removed. From your comment, I presumed you knew you
> were actually storing data in /dev/shm. If you are not, then you
> will have to look elsewhere to see what is sometimes consuming a lot
> of memory.
>
> --
> Bob Nichols "NOSPAM" is really part of my email address.
> Do NOT delete it.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using shell variables inside the ftp client

2011-07-21 Thread John R Pierce
On 07/21/11 1:52 PM, Always Learning wrote:
>> I have a script that opens an ftp connection to a non-*nix system.
>> >  I desire to change directories on the host system using a shell
>> >  variable to set the cd directory.  However, I cannot seem to
>> >  discover how this is done.
> Check the FTP configuration file on the remote server. There might be a
> block to stop you moving-out of your log-on FTP directory.

more likely, the ftp program is processing his command lines, and it 
doesn't know anything about $parameter substitution.

I suggest using wget or lftp or similar rather than conventional ftp.



-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] managing a rack full of centos servers

2011-07-21 Thread Marian Marinov
On Thursday 21 July 2011 18:36:17 Devin Reade wrote:
> --On Wednesday, July 20, 2011 11:02:42 PM -0700 RC 
> 
> wrote:
> > On Wed, 20 Jul 2011 10:07:06 -0600 Devin Reade  wrote:
> >> It should be considered as complementing the automated config
> >> management tools like cfengine et al, not as a replacement for
> >> them (they're doing different jobs).
> > 
> > That's not entirely fair.  A little shell scripting and pdsh and pdcp
> > can certainly do everything cfengine/puppet can do
> 
> I wasn't referring to pdsh/pdcp; I was referring to pconsole.  The
> reason I said complementing is that sometimes it is good to have
> stuff under a configuration management system like cfengine/puppet,
> but sometimes you need to run ad-hoc commands, in an identical
> fashion, on lots of similar machines, which pconsole is good at
> (subject to the caveats I previously mentioned).
> 
> I made no comments on pdsh/pdcp at all, and make no claims on where
> it fits in the spectrum.
> 
> Devin
> 
You can actually achieve the same functionality of pdsh/pdcp and pconsole with 
a quite simple bash script :)

  http://multy-command.sourceforge.net/

I think it is a matter of what the admin will prefer to do. When you have a 
lot of identical machines, sometimes it is better to have cfengine/puppet, but 
sometimes it just an overkill to use them if you are the only one 
administrating those machines.

cfengine and puppet have a very good place on machines that are administered 
by a team of people. 

But solutions like pdsh/pconsole and multy-command, in my opinion are more 
suitable when there are only one or two guys administering those machines. 


Marian


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NetApp DataFabric Manager/Sybase/SQLAnywhere on CentOS?

2011-07-21 Thread Matt Garman
On Wed, Jul 20, 2011 at 12:39 PM, James Hogarth  wrote:
>> I am trying to install DFM 4.0.2, and have tried on both CentOS 4.8
>> i386 and CentOS 5.5 x86_64.  I have edited my /etc/redhat-release file
>> to be equal to RHEL's, as the DFM installer immediately aborts if that
>> isn't right.  However, I still have errors during the install:
>>
>
> ...
>
>> Communication error
>> error: %post(NTAPdfm-3.8-6640.i386) scriptlet failed, exit status 1
>>
>>
>
> ...
>
>> Jul 19 12:58:11 lnxsvr41 SQLAnywhere(monitordb): Running Linux
>> 2.6.9-89.0.25.ELsmp #1 SMP Thu May 6 12:28:03 EDT 2010 on X86 (X86_64)
>> Jul 19 12:58:11 lnxsvr41 SQLAnywhere(monitordb): Server built for X86
>> processor architecture Jul 19 12:58:11 lnxsvr41
>> SQLAnywhere(monitordb): Asynchronous IO disabled due to lack of proper
>> OS support
>
>
> You said you tried 4.8 32bit and 5.5 64bit. how about 5.6 32bit?
>
> The era would be about right on C5 and it's obviously looking for
> 32bit libraries and architecture
>
> What do the docs and NetApp say about RHEL support?

Turns out the problem was with our /etc/security/limits.conf setting.
We (by design) limit virtual memory to 2 GB.  Apparently the installer
needs more than that.  So we did a "umask -v unlimited" and the
install worked!

Hope this is helpful for anyone else with the same problem.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Memory Usage in Top and System Monitor‏

2011-07-21 Thread Robert Nichols
On 07/21/2011 04:57 PM, Michael McNulty wrote:
>
> Yes I am copying files there but as my first post shows I have plenty of free 
> memory so I thought it should not be using swap space.
>
> I guess this is my problem.
> http://www.cyberciti.biz/faq/howto-create-linux-ram-disk-filesystem/
>
> "tmpfs (also known as
> shmfs) is a little different from the Linux ramdisk. It allocate memory
> dynamically and by allowing less-used pages to be moved onto swap space.
>   ramfs, in contrast, does not make use of swap which can be an advantage
>   or disadvantage in many cases."
>
> So it looks like I need to use "ramfs" as described here?  That sound about 
> right?

A ramfs is still using memory.  If the remaining memory is
inadequate to satisfy the needs of processes, _something_ is going
to be forced out to swap.  Since that won't be the pages used by the
ramfs, it will be pages in use by processes.  Whether that is better
or worse, from a performance standpoint, than swapping out pages
from your tmpfs files is something you would have to determine, but
there is no free lunch here.

One thing that may be confusing your view of free memory is that a
tmpfs uses pages from the buffer cache, and the 'free' command shows
that usage in the "cached" category.  (No, I didn't realize that,
either.)  This is a place where pages listed as "cached" are _not_
available to satisfy processes' memory requests.  It looks like you
need to run "df -t tmpfs" and add up the numbers in the "Used"
column to see how much memory falls in the category of "looks like
cached, but can't be discarded."

-- 
Bob Nichols "NOSPAM" is really part of my email address.
 Do NOT delete it.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Linus Torvalds delays Linux 3.0 launch due to a subtle bug (fwd)

2011-07-21 Thread 夜神 岩男
On 07/21/2011 09:26 PM, Geoff Galitz wrote:
>
> And more over, there is nothing earth-shatteringly new in the 3.0 kernel.
> Linus said during the last kernel summit he wanted to change the versioning
> scheme to make it easier for various developers in different realms to track
> version changes.   Don't expect anything super-cool for us on the
> sysadmin/user side as a direct result of the 3.x kernel.
>
> Of course, incremental changes are usually welcome for stability and device
> driver support.

He just wrote everyone this morning that he's pushing 3.0 on Monday.

Sometimes I wonder if the CentOS list-land is more about drama and FUD 
than getting anything done or being correct.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos6 not using /etc/gdm/custom.conf

2011-07-21 Thread James Szinger
On Thu, 21 Jul 2011 16:17:10 -0400
fred smith  wrote:
 
> In later Fedora releases, GDM has become less and less functional:
> configurability has been removed, more so as releases occur. From my
> (known to be flaky) memory, that includes the ability to turn off the
> silly list that exposes usernames right on the login screen, the
> ability to assign your own wallpaper to the login screen, among other
> things.

There is a gconf setting to turn off the list of users.  I've haven't
tried it under CentOS 6, but it works under Fedora 14.  I don't know
how to fix the wallpaper except by changing the picture behind RPM's
back.   Or, up until F14, I was using a recompiled version of the 
CentOS 5 gdm rpm---that might work for C6.

Fortunately, the C6 wallpaper is good enough that I don't feel compelled
to tweak it.

> In some releases you can hack your way around whatever the missing
> feature is that you're missing by using gconf-editor, in others you
> can't.

The user list preference was broken for all of Fedora 13.  Blech.

There is a long open gnome bus to restore the gdm setting tool that
went away around 2.22.  The chances of having it back for gnome 2 are
vanishingly small.  I'm not holding my breath for the gnome 3 version
either.

> So, my guess is that RHEL/Centos 6 has inherited the later Gnome
> "features" that have removed the feature you want.

It's a sad day when Mac OS X is easier to customize than a Linux system.

Jim
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS artwork

2011-07-21 Thread James Szinger
Thanks to the CentOS artwork team.  I've found the CentOS artwork to be
nicely done and the CentOS 6 release is up to your usual high
standards.  I really appreciate the desktop background that stays in
the background, and doesn't demand my attention.

Jim
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos