Re: [CentOS] missing run-parts in /etc/crontab

2011-07-22 Thread Andy Holt
> http://www.linuxtopia.org/online_books/rhel6/rhel_6_migration_guide/rhel_6_migration_ch04s13.html

Horse's mouth better?  The EL 6.1 version is at

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Migration_Planning_Guide/ch04s14.html

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


Re: [CentOS] Access denied false positive

2011-07-22 Thread Andy Holt
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf 
> Of Kaplan, Andrew H.
> Sent: 22/07/2011 14:34
> To: CentOS mailing list
> Subject: [CentOS] Access denied false positive
> 
> 
> Hi there -- 
>
> One of our servers is running the 5.3 32-bit release. When a user logs into 
> the system via an SSH terminal connection, 
> he first sees an "Access denied" message, and then gets a password prompt. He 
> is able to enter the password, and 
> log into the system without issue. It appears the error message is a false 
> positive. 
>
> A check of the messages and secure log files did not show anything apparent. 
> What would cause this message to 
> occur? 

I get that when I'm using PuTTY with pageant, automatically presenting an ssh 
key, which the server I'm connecting to doesn't
recognise.

Maybe something like that?

Andy

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


Re: [CentOS] Source Device Driver during installation in CentOS 6

2011-07-12 Thread Andy Holt
> On: 12/07/2011 01:22, Kaushal Shriyan wrote:
> ... Basically how do i force the installer
> to type linux dd at boot prompt.

At the installer menu, press ESC, then you get the boot: prompt, where you can 
then type 'linux dd'.

hth Andy

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


Re: [CentOS] 6.0 text-mode installer broken?

2011-07-12 Thread Andy Holt
> > Someone posted that you can use VNC to install CentOS 6.
> 
> and this has WHAT to do with low ram installs?

It means you get to do a graphical install, which you otherwise can't if you 
don't have enough RAM i.e. less than 652MB.

hth Andy

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


Re: [CentOS] Centos 6 Server has no GUI

2011-07-12 Thread Andy Holt
> On 11/07/2011 16:46, I wrote:
> What caught me out (_doesn't_ sounds like it did you though), 
> was that the CentOS 6 x86_64 installer chose to do a text-based
> install, through lack of support for the graphics card, I 
> guess (this is inside VMware Server 1.0!).  The text-based 
> install does
> not give you a choice of the kind of stuff to install, you 
> just seem to get 'minimal'.

Or in fact, as someone just pointed out in another thread, make sure you have 
>652MB of RAM, and then the graphical installer _will_
be used, even under VMware Server 1.0.

Andy

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


Re: [CentOS] Installing from CD

2011-07-12 Thread Andy Holt
> On 12/07/2011 06:42, Mogens Kjaer wrote:
> On 07/12/2011 01:11 AM, david wrote:
> >5)  The line-by-line notation during bootstrap is no longer
> > shown.  This makes it difficult to detect where hangups occur during
> > the bootstrap process.  Is there a way to display those 
> > notations in real time?
> 
> Yes, edit /boot/grub/grub.conf and remove "rhgb quiet".
> 
> Mogens

Or just hit ESC during boot, and the pretty blue bar disappears and you get 
back the normal display of booting stuff.

hth Andy

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


Re: [CentOS] Centos 6 Server has no GUI

2011-07-11 Thread Andy Holt
> -Original Message-
> From: Keith Beeby
> Sent: 11/07/2011 16:38
> To: CentOS mailing list
> Subject: Re: [CentOS] Centos 6 Server has no GUI
> 
> Hi,
> 
> Thanks everyone, yes server has no GUI by default, so should 
> have added a install time, now working by adding later
> 
> Thanks
> 
> Keith

What caught me out (_doesn't_ sounds like it did you though), was that the 
CentOS 6 x86_64 installer chose to do a text-based
install, through lack of support for the graphics card, I guess (this is inside 
VMware Server 1.0!).  The text-based install does
not give you a choice of the kind of stuff to install, you just seem to get 
'minimal'.

I had much better luck after reading through the install guide (here:
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/index.html
 ).  Booted off the iso, hit 
and then at the boot prompt: linux vnc.  I could then use a VNC client to do 
the nice graphical install.

hth someone   Andy

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


Re: [CentOS] CentOS on the HP MicroServer

2011-07-07 Thread Andy Holt
> -Original Message-
> From: Timothy Murphy
> Sent: 03/07/2011 10:52
> To: centos@centos.org
> Subject: [CentOS] CentOS on the HP MicroServer
> 
> I'm been running two HP MicroServers as home-servers under CentOS-5.6
> for 2 months, and have been very happy with their performance.
> I'm wondering if there are many other MicroServer/CentOS users around?

I'm running C 5 x86_64 (currently 5.5) on mine.  Given it the full 8GB of ECC 
RAM.  I've put the drive it came with (the 160GB) into the optical drive bay, 
so it now shows as hdb.  I've got 4 x 1.5TB in the main slots, showing as 
sda-sdd.  They are hot swap under C 5, with the kernel happily doing whatever 
it does when a drive is plugged/unplugged.  I've got them as a 3 disk ZFS 
RAID-Z array, with the fourth as a spare, under zfs-fuse.  The write perf isn't 
great, but most access is over Samba and my wireless / distinctly under par 
gigabit network, so it serves me well.  And we love snapshots and all those 
other lovely ZFS features, so that outweighs anything else.  Also running 
Squeezebox server and an old version of VMware Server, with a couple of VMs 
(not under ZFS - that would be too slow).

Looking forward to C 6!  Glad to hear that SL 6 works OK.

Andy

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


[CentOS] CentOS 5.5 x64, HP ProLiant Microserver and eSATA

2011-05-27 Thread Andy Holt
Hello all.

Not sure how many people here also frequent the CentOS forums, so apologies for 
the 'cross post'.

I know some here are using CentOS on HP's ProLiant Microserver, so if anyone's 
tried eSATA on their box, please let me know.  Perhaps best to reply over at 
the forum - 
https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=31558&forum=39

Thanks  Andy

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


Re: [CentOS] xargs with max each line / argument

2011-05-17 Thread Andy Holt
> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of neubyr
> Sent: 17/05/2011 06:36
> To: CentOS mailing list
> Subject: [CentOS] xargs with max each line / argument
> 
> How do I pass xargs input one line at a time to subsequent command?
> For example I want to install rubygems by reading a text file as shown
> below, however the arguments are getting passed all at once to the
> 'gem install' command. I hace tried -L (max-lines) and -n (max args)
> options, but it didn't work. What's missing here?? Any help?
> 
> $ cat gem.list.1
> mkrf
> rake
> xmlparser
> 
> $ awk '{ print $0 }' gem.list.1 | xargs -L 1 -0 -I name sudo 
> gem install name
> ERROR:  could not find gem mkrf
> rake
> xmlparser
>  locally or in a repository
> 
> 
> thanks,
> neuby.r

Hi.

As others have mentioned, a simple cat or use of < into xargs will simplify 
things.  The max-args switch _is_ the one you are
looking for:

--max-args=max-args, -n max-args

Spceifically:

cat gem.list.1 | xargs --max-args=1 sudo gem install

will do what you want, I think - please test it first.  You could add 
--interactive to xargs to help with this, or even just:

cat gem.list.1 | xargs --max-args=1 echo sudo gem install

which will just dump the commands that would be run (using echo).

hth   Andy

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


Re: [CentOS] Identifying physical disks

2011-05-03 Thread Andy Holt
> -Original Message-
> From: centos-boun...@centos.org On Behalf Of Jussi Hirvi
> Sent: 30/04/2011 10:31
> To: CentOS mailing list
> Subject: [CentOS] Identifying physical disks
> 
> I am sure this is really simple.
> 
> I have a setup of 2 disks (sda, sdb) which are outwardly 
> identical, and 
> are mirrors of each other. Together they form 3 raid1 devices. Both 
> disks can boot.
> 
> Now sda has bad sectors, and I should replace it. But which 
> one of the 
> physical disks is sda??
> 
> The machine boots fine from either one of the disks, (and the booting 
> disk of course is always called sda).
> 
> In the messages log I see entries like this:
> 
> Apr 29 02:21:07 a134-224 kernel: ata2: SATA link up 3.0 Gbps (SStatus 
> 123 SControl 300)
> 
> By noticing which SATA link (ata1, ata2) is up and which is 
> down, I can 
> find out which physical disk is connected to ata1 and which to ata2.
> 
> If both disks are connected, will the hd in ata1 become sda, 
> and the hd 
> in ata2 become sdb??
> 
> - Jussi

How about:

ls -l /dev/disk/by-id

which on my system gives me:

lrwxrwxrwx 1 root root  9 Mar  6 14:34 scsi-SATA_SAMSUNG_HD154UIS1XWJ1BZ900317 
-> ../../sdc
lrwxrwxrwx 1 root root  9 Mar  6 14:34 scsi-SATA_SAMSUNG_HD154UIS1XWJ1BZ900318 
-> ../../sdb
lrwxrwxrwx 1 root root  9 Mar  6 14:34 scsi-SATA_SAMSUNG_HD154UIS1XWJ9CZA00454 
-> ../../sdd

which are my three identical Samsung HD154UI disks.  Their serial numbers are 
the S1XWJ... bits at the end.

hth  Andy









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