Re: [CentOS] Success moving Xen LVMs from 32 to 64bit host

2010-03-03 Thread Kwan Lowe
On Tue, Mar 2, 2010 at 11:07 PM, Ted Kaczmarek  wrote:
> The network should not have been an issue, are you sure you used the same vm 
> config on both hosts?
> That means the mac address would stay the same, and their should not be any 
> L2 related issues, that
> are related to vm anyway.

It appears to have been my error and the vmware config didn't need to
be changed. I'd originally copied the file unchanged, but on the new
host the network did not seem to be working. If I'd have waited a few
more minutes the switches probably would have caught up.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using USB Tape drive on Centos 5.3 (kernel 2.6.18-164.10.1.el5PAE)

2010-03-03 Thread John R Pierce
Jobst Schmalenbach wrote:
> I use a lot of tapes but never a USB, 

me neither... all the DAT and better tape drives I've ever seen have 
been SCSI (or FC at the high end).  I wonder if that USB DAT72 actually 
has a USB-SCSI chip in it, then the drive is on the SCSI...   no, 
this 
http://h18006.www1.hp.com/products/quickspecs/11883_div/11883_div.html  
says its native USB, huh.   elsewhere onn their site, they say its 
compatible with RHEL 5.4 applications includinig native tar, cpio, and 
no driver is required.  they do have firmware upgrades for the drives, 
and a diagnostic CD you can download.  
http://h2.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=501426&prodTypeId=12169&prodSeriesId=63890&swLang=13&taskId=135&swEnvOID=4006
 





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


Re: [CentOS] [CentOS-virt] Very unresponsive, sometimes stalling domU (5.4, x86_64)

2010-03-03 Thread Timo Schoeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

thus Pasi Kärkkäinen spake:
> On Tue, Mar 02, 2010 at 09:30:50AM +0100, Timo Schoeler wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Hi list,
>>
>> please forgive cross posting, but I cannot specify the problem enough to
>> say whether list it fits perfectly, so I'll ask on both.
>>
>> I have some machines based with following specs (see at the end of the
>> email).
>>
>> They run CentOS 5.4 x86_64 with the latest patches applied, Xen-enabled
>> and should host one or more domUs. I put the domUs' storage on LVM, as I
>> learnt ages ago (what never caused any problems) and is way faster than
>> using file-based 'images'.
>>
>> However, there's something special about these machines: They have the
>> new WD EARS series drives, which use 4K sector sizes. So, I booted a
>> rescue system and used fdisk to start at sector 64 instead of 63 (long
>> story made short: Due to overhead causing the drive to do much more,
>> inefficient writes when starting at sector 63, the performance
>> collapses; with 'normal' geometry (sector 63), the drive achieves about
>> 25MiByte/sec writes, with starting at sector 64 partition, it achieves
>> almost 100MiByte/sec writes):
>>
>> [r...@server2 ~]# fdisk -ul /dev/sda
>>
>> Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
>> 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
>> Units = sectors of 1 * 512 = 512 bytes
>>
>>Device Boot  Start End  Blocks   Id  System
>> /dev/sda1   *  64 2097223 1048580   fd  Linux raid
>> autodetect
>> Partition 1 does not end on cylinder boundary.
>> /dev/sda2 209722418876487 8389632   82  Linux swap / Solaris
>> /dev/sda318876488  1953525167   967324340   fd  Linux raid
>> autodetect
>>
>> On top of those (two per machine) WD EARS HDs there's ``md'' providing
>> two RAID1, /boot and LVM, as well as swap per HD (i.e. non-RAIDed). LVM
>> provides the / partition as well as LVs for Xen domUs.
>>
>> I have about 60 machines running that style and never had any problems.
>> They run like a charm. On these machines, however, domUs are *very*
>> slow, have a steady (!) load of about two -- 50% stating in 'wait' --
>> and all operations take ages, e.g. a ``yum update'' with the recently
>> released updates.
>>
>> Now, can that be due to 4K issues I didn't see, nestet now in LVM?
>>
>> Help is very appreciated.
>>
> 
> Maybe the default LVM alignment is wrong for these drives.. 
> did you check/verify that? 
> 
> See:
> http://thunk.org/tytso/blog/2009/02/20/aligning-filesystems-to-an-ssds-erase-block-size/
> 
> Especially the "--metadatasize" option.

Hi Pasi, hey lists,

thanks for the hint. Following is the 'most important' part of the text:

``So I created a 1 gigabyte /boot partition as /dev/sdb1, and allocated
the rest of the SSD for use by LVM as /dev/sdb2. And that’s where I ran
into my next problem. LVM likes to allocate 192k for its header
information, and 192k is not a multiple of 128k. So if you are creating
file systems as logical volumes, and you want those volume to be
properly aligned you have to tell LVM that it should reserve slightly
more space for its meta-data, so that the physical extents that it
allocates for its logical volumes are properly aligned. Unfortunately,
the way this is done is slightly baroque:

# pvcreate –metadatasize 250k /dev/sdb2
Physical volume “/dev/sdb2″ successfully created

Why 250k and not 256k? I can’t tell you — sometimes the LVM tools aren’t
terribly intuitive. However, you can test to make sure that physical
extents start at the proper offset by using:

# pvs /dev/sdb2 -o+pe_start
PV VG   Fmt  Attr PSize  PFree  1st PE
/dev/sdb2   lvm2 –   73.52G 73.52G 256.00K

If you use a metadata size of 256k, the first PE will be at 320k instead
of 256k. There really ought to be an –pe-align option to pvcreate, which
would be far more user-friendly, but, we have to work with the tools
that we have. Maybe in the next version of the LVM support tools….''

So, after taking care of starting at sector 64 *and* taking care
``pvcreate'' has its 'multiple of 128k', I still have the same problem.

Most interestingly, debian 'lenny' does *not* have this problem. LVM's
PV does *not* have to be like mentioned above.

So, unfortunately, it seems like I'm forced to use debian in this
project, at least on a few machines. *shiver*

> -- Pasi

Timo
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFLjin0fg746kcGBOwRAvp0AKC7TuCnrK63MOiqI8CK+m+XNgDqFgCfRvq+
DjcZJN8mCweY6jvAvTb90hg=
=+E/H
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DHCP client not working with Windows DHCP / dynamic DNS server

2010-03-03 Thread Tony Mountifield
In article <4298.65.102.144.193.1267554884.squir...@webmail.linuxpowered.net>,
nate  wrote:
> Florin Andrei wrote:
> 
> > Is there anything else I can do on my side to make it happen? Any
> > particular options in dhclient.conf or something like that?
> 
> See the man page ?
> 
> DYNAMIC DNS
>The client now has some very limited support for doing DNS
> updates  when  a  lease  is  acquired. This is prototypical, and
> probably doesn't do what you want.   It also only works if you
> happen to have control over your DNS server, which isn't very
> likely.

I think this is describing something different, and is a way for the
DHCP client to directly send a dynamic DNS update to the DNS server.

In the OP's scenario, the DNS entries are updated by the DHCP server
when it grants a lease to a named client. The question is, what info
is the DHCP server receiving from Windows clients to enable this,
that his CentOS client is failing to send?

It might have to come down to sniffing the packets from each and
comparing...

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ImageMagick Bug

2010-03-03 Thread Michael A. Peters
Hello,

I am experience a segfault while trying to use convert between svg and png.

I suspect that the bug I am experiencing is identical to this one:

https://bugzilla.redhat.com/show_bug.cgi?id=472253

I can try the suggested patch myself, but is this the kind of thing that 
maybe could be patched in CentOS plus repository until RHEL has an 
approved patch? The report looks several years old yet there still isn't 
one, which isn't a good sign.

The issue I'm dealing with, on my web site I am moving a lot of the 
currently gd generated dynamic png images to svg but since not all 
browsers support svg, I need to convert from svg to png for a fallback.

I suspect I'm not the only one who wants to do this sort of thing, so 
segfault in convert from svg to gif/png is really something that 
probably should have a fix readily available.

I'm running CentOS 5.x
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] how to open a tcp port?

2010-03-03 Thread hadi motamedi
Dear All
On my CentOS , I want to open tcp port 4965 but my server does not contain
/etc/sysconfig/iptables . Can you please let me know how to open this port ?
Thank you
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DHCP client not working with Windows DHCP / dynamic DNS server

2010-03-03 Thread Benjamin Donnachie
On 3 March 2010 09:53, Tony Mountifield  wrote:
> In the OP's scenario, the DNS entries are updated by the DHCP server
> when it grants a lease to a named client. The question is, what info
> is the DHCP server receiving from Windows clients to enable this,
> that his CentOS client is failing to send?

Probably an active directory domain.  Take a look at the samba net ads
dns register command.

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


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread Samuel Contesse
Hi,

Assumed that iptables has been disabled during installation,
/etc/sysconfig/iptables might not be present on your system. Can you print
iptables running configuration out by using:

iptables ­L

Sam


On 03.03.10 12:05, "hadi motamedi"  wrote:

> Dear All
> On my CentOS , I want to open tcp port 4965 but my server does not contain
> /etc/sysconfig/iptables . Can you please let me know how to open this port ?
> Thank you
> 
> ___
> 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] how to open a tcp port?

2010-03-03 Thread Eero Volotinen
2010/3/3 Samuel Contesse :
> Hi,
>
> Assumed that iptables has been disabled during installation,
> /etc/sysconfig/iptables might not be present on your system. Can you print
> iptables running configuration out by using:
>
> iptables –L
>
> Sam

if iptables is not enabled, then all ports are already open ;)

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


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread hadi motamedi
On Wed, Mar 3, 2010 at 11:14 AM, Samuel Contesse <
samuel.conte...@softcomponent.ch> wrote:

> Hi,
>
> Assumed that iptables has been disabled during installation,
> /etc/sysconfig/iptables might not be present on your system. Can you print
> iptables running configuration out by using:
>
> iptables –L
>
> Sam
>
>
>
> On 03.03.10 12:05, "hadi motamedi"  wrote:
>
>   Dear All
> On my CentOS , I want to open tcp port 4965 but my server does not contain
> /etc/sysconfig/iptables . Can you please let me know how to open this port ?
> Thank you
> --
> ___
> 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
>
>
I issued 'iptables -L' but it is returning just the followings :
'Usage: /etc/rc.d/init.d/iptables
{start|stop|restart|condrestart|status|panic|save}'
Can you please let me know why?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread hadi motamedi
On Wed, Mar 3, 2010 at 11:20 AM, Eero Volotinen wrote:

> 2010/3/3 Samuel Contesse :
> > Hi,
> >
> > Assumed that iptables has been disabled during installation,
> > /etc/sysconfig/iptables might not be present on your system. Can you
> print
> > iptables running configuration out by using:
> >
> > iptables –L
> >
> > Sam
>
> if iptables is not enabled, then all ports are already open ;)
>
> --
> Eero
>  ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


But when I trying to reach this debug port ,as :
#telnet 172.16.17.132 4965
It cannot get through . So if the port is open , why I cannot reach it ?
Thank you
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread Samuel Contesse
You're right but the point is to help him to know wether is firewall is
running or not... If /etc/sysconfig/iptables doesn't exist, iptables might
be running anyway !


On 03.03.10 12:20, "Eero Volotinen"  wrote:

> 2010/3/3 Samuel Contesse :
>> Hi,
>> 
>> Assumed that iptables has been disabled during installation,
>> /etc/sysconfig/iptables might not be present on your system. Can you print
>> iptables running configuration out by using:
>> 
>> iptables ­L
>> 
>> Sam
> 
> if iptables is not enabled, then all ports are already open ;)
> 
> --
> Eero
> ___
> 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] how to open a tcp port?

2010-03-03 Thread Samuel Contesse
Try /sbin/iptables ­L

On 03.03.10 12:26, "hadi motamedi"  wrote:

> 
> 
> On Wed, Mar 3, 2010 at 11:14 AM, Samuel Contesse
>  wrote:
>> Hi,
>> 
>> Assumed that iptables has been disabled during installation,
>> /etc/sysconfig/iptables might not be present on your system. Can you print
>> iptables running configuration out by using:
>> 
>> iptables ­L
>> 
>> Sam 
>> 
>> 
>> 
>> On 03.03.10 12:05, "hadi motamedi"  wrote:
>> 
>>> Dear All
>>> On my CentOS , I want to open tcp port 4965 but my server does not contain
>>> /etc/sysconfig/iptables . Can you please let me know how to open this port ?
>>> Thank you
>>> 
>>> ___
>>> 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
>>> 
>>>  
>>> I issued 'iptables -L' but it is returning just the followings :
>>> 'Usage: /etc/rc.d/init.d/iptables
>>> {start|stop|restart|condrestart|status|panic|save}'
>>> Can you please let me know why?
>>> 
>>>  
>>> 
>>> 
>>> ___
>>> 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] help with a dd bug

2010-03-03 Thread Adrian Buciuman
Hi,

Can somebody reproduce this bug?
http://bugs.centos.org/view.php?id=4220

dd if=/dev/zero of=/dev/my_usb_stick_device_name bs=4096 count=1
can not be stopped with ctrl-c and is not responding to signals

(count=1 can be modified to give you enough time to test)

The bug has been closed with the following comment:
"As said: dd is in an uninteruptable state when you do that. This is not a bug"
This is wrong, because IMHO dd should receive the signal after it
finishes the current read()/write() and returns to user space, but
this is not happening.
How can I reopen the bug?

Thanks

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


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread hadi motamedi
On Wed, Mar 3, 2010 at 11:32 AM, Samuel Contesse <
samuel.conte...@softcomponent.ch> wrote:

> Try /sbin/iptables –L
>
>
> On 03.03.10 12:26, "hadi motamedi"  wrote:
>
>
>
> On Wed, Mar 3, 2010 at 11:14 AM, Samuel Contesse <
> samuel.conte...@softcomponent.ch> wrote:
>
> Hi,
>
> Assumed that iptables has been disabled during installation,
> /etc/sysconfig/iptables might not be present on your system. Can you print
> iptables running configuration out by using:
>
> iptables –L
>
> Sam
>
>
>
> On 03.03.10 12:05, "hadi motamedi"  wrote:
>
> Dear All
> On my CentOS , I want to open tcp port 4965 but my server does not contain
> /etc/sysconfig/iptables . Can you please let me know how to open this port ?
> Thank you
> --
> ___
> 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
>
>
> I issued 'iptables -L' but it is returning just the followings :
> 'Usage: /etc/rc.d/init.d/iptables
> {start|stop|restart|condrestart|status|panic|save}'
> Can you please let me know why?
>
>
>
> --
>
> ___
> 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
>
>
I tried for '/sbin/iptables -L' and please find its output at below :
Chain INPUT (policy ACCEPT)
target prot opt source   destination
Chain FORWARD (policy ACCEPT)
target prot opt source   destination
Chain OUTPUT (policy ACCEPT)
target prot opt source   destination
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread Eero Volotinen
2010/3/3 hadi motamedi :
>
>
> On Wed, Mar 3, 2010 at 11:32 AM, Samuel Contesse
>  wrote:
>>
>> Try /sbin/iptables –L
>>
>> On 03.03.10 12:26, "hadi motamedi"  wrote:
>>
>>
>>
>> On Wed, Mar 3, 2010 at 11:14 AM, Samuel Contesse
>>  wrote:
>>
>> Hi,
>>
>> Assumed that iptables has been disabled during installation,
>> /etc/sysconfig/iptables might not be present on your system. Can you print
>> iptables running configuration out by using:
>>
>> iptables –L
>>
>> Sam
>>
>>
>>
>> On 03.03.10 12:05, "hadi motamedi"  wrote:
>>
>> Dear All
>> On my CentOS , I want to open tcp port 4965 but my server does not contain
>> /etc/sysconfig/iptables . Can you please let me know how to open this port ?
>> Thank you
>> 
>> ___
>> 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
>>
>>
>> I issued 'iptables -L' but it is returning just the followings :
>> 'Usage: /etc/rc.d/init.d/iptables
>> {start|stop|restart|condrestart|status|panic|save}'
>> Can you please let me know why?
>>
>>
>>
>> 
>>
>> ___
>> 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
>>
>
> I tried for '/sbin/iptables -L' and please find its output at below :
> Chain INPUT (policy ACCEPT)
> target prot opt source   destination
> Chain FORWARD (policy ACCEPT)
> target prot opt source   destination
> Chain OUTPUT (policy ACCEPT)
> target prot opt source   destination

All ports are open, but you really need some service to listen that port.

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


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread hadi motamedi
>
> All ports are open, but you really need some service to listen that port.
>
> --
> Eero
>  ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Thank you . So why 'telnet 172.16.17.132 4965' cannot get through ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread Eero Volotinen
2010/3/3 hadi motamedi :
>
>
>>
>>
>> All ports are open, but you really need some service to listen that port.
>>
>> --
>> Eero
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
>
> Thank you . So why 'telnet 172.16.17.132 4965' cannot get through ?

.. you just can not connect to empty ports. You need some
service/daemon/program to listen that port first.

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


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread Spook ZA
On 3 March 2010 13:46, hadi motamedi  wrote:
>
>
>>
>>
>> All ports are open, but you really need some service to listen that port.
>>
>> --
>> Eero
>> ___
>
> Thank you . So why 'telnet 172.16.17.132 4965' cannot get through ?

As Eero said, you need to make sure something is listening on that port.

Try: netstat -ant and look for:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address   Foreign Address
 State
tcp0  0 0.0.0.0:49650.0.0.0:*
 LISTEN

or pipe it to grep if the server is busy (netstat -ant | grep 4965)

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


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread hadi motamedi
>
> .. you just can not connect to empty ports. You need some
> service/daemon/program to listen that port first.
>
> --
> Eero
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Thank you . I got the point . So it seems that some packages missing from my
installation .
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How do I create a new menu category in GNOME ?

2010-03-03 Thread JohnS

On Tue, 2010-03-02 at 10:18 +0100, Niki Kovacs wrote:
> JohnS a écrit :
> 
> > No no No...
> > 
> > Here I found my link I used to do it amnually: It is for system wide...
> > http://wiki.matusov.sk/howto/gnome-menu-edit
> > 
> > This is what I went by to do it so I could include the files in my rpm
> > build, which took a whole afternoon about.  
> 
> Thanks very much for the link! That did the trick. Now I have a shiny 
> new entry 'Medintux' in my 'Applications' menu.
> 
Ok now how you like it?

John

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


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread hadi motamedi
>
> As Eero said, you need to make sure something is listening on that port.
>
> Try: netstat -ant and look for:
>
> Active Internet connections (servers and established)
> Proto Recv-Q Send-Q Local Address   Foreign Address
> State
> tcp0  0 0.0.0.0:49650.0.0.0:*
> LISTEN
>
> or pipe it to grep if the server is busy (netstat -ant | grep 4965)
>
> Regards,
>  Andrew.
>  ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Thank you . How can I distinguish which package is missing from my CentOS
server and try to just add it (rather than trying for a fresh CentOS
re-installation) ? On another machine similar to mine , the output is as :
# netstat -ant |grep 4965
tcp0  0 0.0.0.0:49650.0.0.0:*   LISTEN
# netstat -anp |grep 4965
tcp0  0 0.0.0.0:49650.0.0.0:*
LISTEN  1090/iptrans
# lsof -i |grep 4965
iptrans1090 root   21u  IPv4   1764   TCP *:4965 (LISTEN)
On that machine , the 'telnet ip-addr 4965' can get through . So which
package do I need to add to mine ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How do I create a new menu category in GNOME ?

2010-03-03 Thread Niki Kovacs
JohnS a écrit :

>> Thanks very much for the link! That did the trick. Now I have a shiny 
>> new entry 'Medintux' in my 'Applications' menu.
>>
> Ok now how you like it?
> 

Great. But check for yourself :

http://www.microlinux.fr/images/menugnome.png

Cheers,

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


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread Rajagopal Swaminathan
Greetings,

On Wed, Mar 3, 2010 at 5:51 PM, hadi motamedi  wrote:
>

> # netstat -ant |grep 4965
> tcp    0  0 0.0.0.0:4965    0.0.0.0:*   LISTEN
> # netstat -anp |grep 4965
> tcp    0  0 0.0.0.0:4965    0.0.0.0:*
> LISTEN  1090/iptrans
> # lsof -i |grep 4965
> iptrans    1090 root   21u  IPv4   1764   TCP *:4965 (LISTEN)
> On that machine , the 'telnet ip-addr 4965' can get through . So which

Hati, lets see, you have machine 1 and machine 2

let us say you are sitting on machine 1
you are trying to telnet into machine 2 to port 4965

First sit on machine 2 and do telnet localhost 4965
Are you able to?

If yes, then telnet  4965
If succesful try telnet from machine 1 using telnet  4965

It is on the machine 2 you should be opening up the port 4965

Regards

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


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread Steve Walsh
On 03/03/2010 10:26 PM, hadi motamedi wrote:
>
> I issued 'iptables -L' but it is returning just the followings :
> 'Usage: /etc/rc.d/init.d/iptables 
> {start|stop|restart|condrestart|status|panic|save}'
> Can you please let me know why?
Change directory out of /etc/init.d and into your homedirectory

As Eero has already told you, if iptables is not running, then it cannot 
be blocking ports. Use netstat to see what ports are listening on what 
IP's, and configure your application appropriately.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread Eero Volotinen
2010/3/3 Steve Walsh :
> On 03/03/2010 10:26 PM, hadi motamedi wrote:
>>
>> I issued 'iptables -L' but it is returning just the followings :
>> 'Usage: /etc/rc.d/init.d/iptables
>> {start|stop|restart|condrestart|status|panic|save}'
>> Can you please let me know why?
> Change directory out of /etc/init.d and into your homedirectory
>
> As Eero has already told you, if iptables is not running, then it cannot
> be blocking ports. Use netstat to see what ports are listening on what
> IP's, and configure your application appropriately.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

In some (rare) case selinux can also cause problems.

try to disable selinux using setenforce "0"

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


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread hadi motamedi
>
>
>
> Hati, lets see, you have machine 1 and machine 2
>
> let us say you are sitting on machine 1
> you are trying to telnet into machine 2 to port 4965
>
> First sit on machine 2 and do telnet localhost 4965
> Are you able to?
>
> If yes, then telnet  4965
> If succesful try telnet from machine 1 using telnet  4965
>
> It is on the machine 2 you should be opening up the port 4965
>
> Regards
>
> Rajagopal
>  ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


Thank you for your reply . The actual scenario is as the following :
I have machine#1 that I was in charge of its OS installation and I have
remote access to a similar machine (machine#2) that both are running the
same application program . On machine#2 console (its i...@172.16.17.131) , the
following command can get through:
#telnet 172.16.17.131 4965
But on my machine#1 console (its i...@172.16.17.132) , the following command
cannot get through :
#telnet 172.16.17.132 4965
With respect to the same OS and application installation , I want to know
which package is missing from my OS installation so I try to just add it ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread Benjamin Donnachie
On 3 Mar 2010, at 12:21, hadi motamedi  wrote:

> How can I distinguish which package is missing from my CentOS server

What are you trying to achieve?

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


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread hadi motamedi
>
>
>
> What are you trying to achieve?
>
> Ben
>  ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


I do not want to re-install the OS with all of the packages selected from
the installation media . I am seeking if I can find just the missing package
.
Thank you
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread Rajagopal Swaminathan
Greetings,

On Wed, Mar 3, 2010 at 6:10 PM, hadi motamedi  wrote:



> But on my machine#1 console (its i...@172.16.17.132) , the following command
> cannot get through :
> #telnet 172.16.17.132 4965

is telnetd installed?

is the telnet deamon running on machine #1?

Regards,

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


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread Rajagopal Swaminathan
Greetings,

On Wed, Mar 3, 2010 at 6:20 PM, Rajagopal Swaminathan
 wrote:
> Greetings,
>
> On Wed, Mar 3, 2010 at 6:10 PM, hadi motamedi  wrote:

> is telnetd installed?
>
# yum install telnet-server telnet


> is the telnet deamon running on machine #1?
>
chkconfig telnet on

or
from: 
http://www.cyberciti.biz/faq/how-do-i-turn-on-telnet-service-on-for-a-linuxfreebsd-system/

[quote]
The configuration file for telnet is /etc/xinetd.d/telnet. To enable
telnet server you need to open this file and make sure disable = no
read as disable = yes.
[unquote]

service xinetd restart
or
/etc/init.d/xinetd restart

Hope that helps...

Regards,

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


Re: [CentOS] ImageMagick Bug

2010-03-03 Thread Michael A. Peters
Michael A. Peters wrote:
> Hello,
> 
> I am experience a segfault while trying to use convert between svg and png.
> 
> I suspect that the bug I am experiencing is identical to this one:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=472253
> 
> I can try the suggested patch myself, but is this the kind of thing that 

The patch is for gnome-vfs2, not imagemagick.
I'm guessing that makes it a much stickier proposition since a lot of 
stuff uses gnome-vfs2.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread Michel van Deventer
Hi,

> Greetings,
>
> On Wed, Mar 3, 2010 at 6:20 PM, Rajagopal Swaminathan
>  wrote:
>> Greetings,
>>
>> On Wed, Mar 3, 2010 at 6:10 PM, hadi motamedi 
>> wrote:
>
>> is telnetd installed?
>>
> # yum install telnet-server telnet
>
>
>> is the telnet deamon running on machine #1?
>>
> chkconfig telnet on
>
> or
> from:
> http://www.cyberciti.biz/faq/how-do-i-turn-on-telnet-service-on-for-a-linuxfreebsd-system/
>
> [quote]
> The configuration file for telnet is /etc/xinetd.d/telnet. To enable
> telnet server you need to open this file and make sure disable = no
> read as disable = yes.
> [unquote]
>
> service xinetd restart
> or
> /etc/init.d/xinetd restart
>
Why are you telling him to install a telnetd ??
He's trying to connect to a port using telnet (client) to see if a server
is listening on it.

I doubt by the way if a missing package is the issue.
Please check first if there is a server listening on tcp 4965
netstat -ltpn | grep 4965

the output should show you which application is listening on tcp/4965
if there no output, there's nothing listening and you should fix your
application first (maybe it's not started ?).

If there's something listening on tcp/4965 you can try to use
telnet localhost 4965

to see if you can connect
or use
telnet ip.nu.mb.er 4965

if the application is only listening on a single ip.
use
iptables -L -vnx | grep 4965
to see if theres a firewall rule blocking it (or accepting) if you have
the firewall active (do you?)

Please let us knwo the outcome of these commands

Regards,

Michel


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


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread hadi motamedi
>
>
>
> > is telnetd installed?
>
Yes , it is (as the telnet to ip address on both machines can get through).


> > is the telnet deamon running on machine #1?
> >chkconfig telnet on
> Yes , it is .
>
>read as disable = yes.
>service xinetd restart

I tried to restart the daemon , but still telnet to port 4965 cannot get
through .
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread Benjamin Donnachie
On 3 Mar 2010, at 12:49, hadi motamedi  wrote:

> I do not want to re-install the OS with all of the packages selected
> from the installation media .

I understand that.  What do you want to achieve out of this whole
process?  What service do you expect to interact with over tcp?

Your posts elsewhere state that you are using RedHat 9 - is that
correct?

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


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread Rajagopal Swaminathan
Greetings,


On Wed, Mar 3, 2010 at 6:35 PM, Michel van Deventer
 wrote:
> Hi,
>
> Why are you telling him to install a telnetd ??
> He's trying to connect to a port using telnet (client) to see if a server
> is listening on it.
>

duh.. I missed it.. sorry... /me tired I guess

regards

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


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread Matt Iavarone
On Wed, Mar 3, 2010 at 6:06 AM, hadi motamedi  wrote:
>>
>>
>> > is telnetd installed?
>
> Yes , it is (as the telnet to ip address on both machines can get through).
>
>>
>> > is the telnet deamon running on machine #1?
>> >chkconfig telnet on
>> Yes , it is .
>
>>read as disable = yes.
>>service xinetd restart
>
> I tried to restart the daemon , but still telnet to port 4965 cannot get
> through .
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>

There must be some reason for you to want to connect on that port.
What is it?  Why is that port significant?

If the 'missing' package was installed using yum, try yum list from
each and compare the results.  However, if you don't know that you are
missing an application and just want to telnet for no reason, you are
chasing a problem that doesn't exist.

You can also check /etc/services to see if that is a standard port and
what may be using it.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] help with a dd bug

2010-03-03 Thread Kai Schaetzl
Adrian Buciuman wrote on Wed, 3 Mar 2010 13:32:53 +0200:

> How can I reopen the bug?

It is not a bug, maybe a feature request.
*if* then this is to be reported upstream (= the dd developers), not in a 
distribution.
I suppose it's specifically done this way, so it can't get interrupted 
accidentally. If you really want to kill it there are always ways to kill 
it by killing the process or shell.

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread Les Mikesell
hadi motamedi wrote:
>
> Thank you . How can I distinguish which package is missing from my 
> CentOS server and try to just add it (rather than trying for a fresh 
> CentOS re-installation) ? On another machine similar to mine , the 
> output is as :
> # netstat -ant |grep 4965
> tcp0  0 0.0.0.0:4965 
> 0.0.0.0:*   LISTEN
> # netstat -anp |grep 4965
> tcp0  0 0.0.0.0:4965 
> 0.0.0.0:*   LISTEN  1090/iptrans
> # lsof -i |grep 4965
> iptrans1090 root   21u  IPv4   1764   TCP *:4965 (LISTEN)
> On that machine , the 'telnet ip-addr 4965' can get through . So which 
> package do I need to add to mine ?


The lsof output shows a program named iptrans is listening on 4965.  Try to 
find 
the program using 'locate iptrans' on the machine that has it.  Then use 'rpm 
-q 
--whatprovides pathname' to see what rpm package it was installed from.  If it 
was installed from a yum repository and you have matching repositories set up, 
you should be able to duplicate it on the other machine with 'yum install 
packagename' (and perhaps some configuration afterwards).  I don't recognize 
this program, though.  Are you sure it came from an rpm package?

-- 
   Les Mikesell
lesmikes...@gmail.com

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


[CentOS] New to VM

2010-03-03 Thread David Milholen




What are some min requirements for Hardware and what performance
differences are there in just running another pid for an app?

 
-- 

David Milholen
Project Engineer
501-318-1300
Wireless Etc





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


Re: [CentOS] New to VM

2010-03-03 Thread Les Mikesell
David Milholen wrote:
> What are some min requirements for Hardware and what performance 
> differences are there in just running another pid for an app?

That question is way too general to answer and also depends a bit on what VM 
approach (xen/kvm/vmware server, vmware esxi) you use.  As a rule of thumb, I'd 
expect to lose 10% in overall performance and much more than that from disk 
head 
contention unless you plan the layout very carefully and spread over 
independent 
drives.  You can make some (perhaps more than that) back by overcommitting the 
machines where the load is likely to be bursty and staggered and by having a 
lot 
of RAM for better disk buffering.

-- 
   Les Mikesell
lesmikes...@gmail.com



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


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread m . roth
> hadi motamedi wrote:
>>
>> Thank you . How can I distinguish which package is missing from my
>> CentOS server and try to just add it (rather than trying for a fresh
>> CentOS re-installation) ? On another machine similar to mine , the
>> output is as :

> The lsof output shows a program named iptrans is listening on 4965.  Try

> packagename' (and perhaps some configuration afterwards).  I don't
> recognize this program, though.  Are you sure it came from an rpm package?

google linux iptrans, and it appears to be something for "IP
transparency", which seems to pass along a real IP through something, not
sure if it's a firewall, or a cluster head.

Are you using a cluster?

 mark

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


[CentOS] New Posters

2010-03-03 Thread Geerd-Dietger Hoffmann
Hey

I am currently in the process of getting new posters printed. Now we 
need to agree on a design. I am looking at [1] if people want to design 
something please upload and then we can decide.

Cheers Didi

[1] http://wiki.centos.org/ArtWork/Style/Promo/Posters

-- 
Hoffmann Geerd-Dietger
http://contact.ribalba.de
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread Ross Walker

On Mar 3, 2010, at 7:49 AM, hadi motamedi  wrote:




What are you trying to achieve?

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


I do not want to re-install the OS with all of the packages selected  
from the installation media . I am seeking if I can find just the  
missing package .


Find the 'iptrans' program on the working box and if it was installed  
via RPM you can find the package it came from with:


# rpm -qf 

This will tell you the package it belongs to.

If that doesn't give you anything then you could always read server1's  
installation notes? There are installation notes are there?


-Ross

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


[CentOS] glusterFS

2010-03-03 Thread m . roth
Anyone familiar with it?

If so, a few questions:
   - is there one head server, so that anyone referring to the f/s talks
to that server?
   - how transparent is FUSE to existing programs, or should I just
use NFS?
   - how's the performance?

  mark


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


Re: [CentOS] how to open a tcp port?

2010-03-03 Thread Stephen Harris
On Wed, Mar 03, 2010 at 07:48:41AM -0600, Les Mikesell wrote:
> the program using 'locate iptrans' on the machine that has it.  Then use 'rpm 
> -q 
> --whatprovides pathname' to see what rpm package it was installed from.  If 
> it 
Or simpler:
  rpm -qf pathname

> packagename' (and perhaps some configuration afterwards).  I don't recognize 
> this program, though.  Are you sure it came from an rpm package?

I don't recognise iptrans, either, and port 4965 doesn't appear to be
commonly used.  This could be a site-specific application...

-- 

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


Re: [CentOS] New Posters

2010-03-03 Thread Kai Schaetzl
Geerd-Dietger Hoffmann wrote on Wed, 03 Mar 2010 15:07:15 +:

> [1] http://wiki.centos.org/ArtWork/Style/Promo/Posters

Do you mean that as a template with the "community" text as an example? 
(and the ability to use much bigger text there?)

I think landscape format is not as wide-spread used for posters as 
portrait.

Apart from that it looks fine to me.

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com



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


[CentOS] CentOS-announce Digest, Vol 61, Issue 2

2010-03-03 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-requ...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."


Today's Topics:

   1. CEBA-2010:0127  CentOS 5 x86_64 libXi Update (Karanbir Singh)
   2. CEBA-2010:0127  CentOS 5 i386 libXi Update (Karanbir Singh)
   3. CESA-2010:0126 Important CentOS 5 x86_64 kvm  Update
  (Karanbir Singh)
   4. CESA-2010:0124 Important CentOS 5 i386 systemtap  Update
  (Karanbir Singh)
   5. CESA-2010:0124 Important CentOS 5 x86_64  systemtap Update
  (Karanbir Singh)
   6. CEBA-2009:1623  CentOS 5 i386 conga Update (Karanbir Singh)
   7. CEBA-2009:1623  CentOS 5 x86_64 conga Update (Karanbir Singh)


--

Message: 1
Date: Tue, 2 Mar 2010 17:57:24 +
From: Karanbir Singh 
Subject: [CentOS-announce] CEBA-2010:0127  CentOS 5 x86_64 libXi
Update
To: centos-annou...@centos.org
Message-ID: <20100302175724.ga12...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2010:0127 

Upstream details at : http://rhn.redhat.com/errata/RHBA-2010-0127.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

x86_64:
3ebe43650e5acd054952fe329b4af700  libXi-1.0.1-4.el5_4.i386.rpm
4ccd13b371e6273470078bf6984d4b5b  libXi-1.0.1-4.el5_4.x86_64.rpm
3a08958e0fee533541d7c565b93a2798  libXi-devel-1.0.1-4.el5_4.i386.rpm
88bee7169de14815b40fd52c60dedda2  libXi-devel-1.0.1-4.el5_4.x86_64.rpm

Source:
e39f5237a9eb62cc7586a93ee8c6ac8c  libXi-1.0.1-4.el5_4.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net



--

Message: 2
Date: Tue, 2 Mar 2010 17:57:24 +
From: Karanbir Singh 
Subject: [CentOS-announce] CEBA-2010:0127  CentOS 5 i386 libXi Update
To: centos-annou...@centos.org
Message-ID: <20100302175724.ga12...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2010:0127 

Upstream details at : http://rhn.redhat.com/errata/RHBA-2010-0127.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

i386:
9bfd13906abb08b8ea1066b7c69856ca  libXi-1.0.1-4.el5_4.i386.rpm
15b1c00b6e72ae9f3d485a8ce826fdfb  libXi-devel-1.0.1-4.el5_4.i386.rpm

Source:
e39f5237a9eb62cc7586a93ee8c6ac8c  libXi-1.0.1-4.el5_4.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net



--

Message: 3
Date: Tue, 2 Mar 2010 17:58:25 +
From: Karanbir Singh 
Subject: [CentOS-announce] CESA-2010:0126 Important CentOS 5 x86_64
kvm Update
To: centos-annou...@centos.org
Message-ID: <20100302175825.ga12...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2010:0126 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2010-0126.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

x86_64:
80eec9071001644433c4a526dabcaff8  kmod-kvm-83-105.el5_4.27.x86_64.rpm
cbe4a31b0b830d8e9dd7f41c0c943fd3  kvm-83-105.el5_4.27.x86_64.rpm
1ae97673224f5781c65445c7e5a0e96e  kvm-qemu-img-83-105.el5_4.27.x86_64.rpm
0512100a4083b1d1adaafab343911b69  kvm-tools-83-105.el5_4.27.x86_64.rpm

Source:
61c218b3b4085e61b734831bb023fd9f  kvm-83-105.el5_4.27.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net



--

Message: 4
Date: Tue, 2 Mar 2010 17:59:18 +
From: Karanbir Singh 
Subject: [CentOS-announce] CESA-2010:0124 Important CentOS 5 i386
systemtap   Update
To: centos-annou...@centos.org
Message-ID: <20100302175918.ga13...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2010:0124 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2010-0124.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

i386:
7ad6c7502f5c3ddca129374a98e848f4  systemtap-0.9.7-5.el5_4.3.i386.rpm
0751456116f2904b69ebd17effaf291f  systemtap-client-0.9.7-5.el5_4.3.i386.rpm
4cccafd7c06ad61ac77bed5d2a1b2d5c  systemtap-initscript-0.9.7-5.el5_4.3.i386.rpm
46d13b0848f33c70815d53e1b851d0e3  systemtap-runtime-0.9.7-5.el5_4.3.i386.rpm
f05d799ddfc8570d109b5451f8537ebf  systemtap-sdt-devel-0.9.7-5.el5_4.3.i386.rpm
9d9196838827fe7bf371cb6584b990ab  systemtap-server-0.9.7-5.el5_4.3.i

[CentOS] BMC IPMI configuration on centos 5.4 64 BIT Server

2010-03-03 Thread linux-crazy
Hi all,


  I am implementing two node cluster , but the hardware they given me
contains only the Base Board
Management controller (BMC) . Also I HEARD SOME BMC wont support power
fencing, how can i check my  There is no management port like HP ILO
or Dell DRAC for cluster fencing . This hardware belongs to the vendor
HCL. For BMC Configuration they are providing the exe setup file for
windows to configure IPMI  ip,usernmae and password but there is no
setup tools for centos 5.


 So i want  help from some one in configuring the IPMI from
Operating system level from OpenIpmi tools. if some one provide me the
step by step instruction or how to in configuring the IPMI to use
fence_ipmi on centos 5.4 x86_64 hardware .


Really its very urgent i have to handover the server in next 12 hours.
While googling i also came across the bug in ipmi of centos 5.4 is
there is any way to fix alos help me a lot.


https://bugzilla.redhat.com/show_bug.cgi?id=482913


Thanks in advance

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


Re: [CentOS] help with a dd bug

2010-03-03 Thread Les Mikesell
On 3/3/2010 5:32 AM, Adrian Buciuman wrote:
> Hi,
>
> Can somebody reproduce this bug?
> http://bugs.centos.org/view.php?id=4220
>
> dd if=/dev/zero of=/dev/my_usb_stick_device_name bs=4096 count=1
> can not be stopped with ctrl-c and is not responding to signals
>
> (count=1 can be modified to give you enough time to test)
>
> The bug has been closed with the following comment:
> "As said: dd is in an uninteruptable state when you do that. This is not a 
> bug"
> This is wrong, because IMHO dd should receive the signal after it
> finishes the current read()/write() and returns to user space, but
> this is not happening.
> How can I reopen the bug?

If you want to kill a process that doesn't want to be killed, just send 
it a -9.  If that doesn't do it, it really is stuck in the device driver.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] puzzling md error ?

2010-03-03 Thread Les Mikesell
On 2/28/2010 6:15 PM, Stephen Harris wrote:
> On Sun, Feb 28, 2010 at 02:37:13PM -0800, John R Pierce wrote:
>> And how do I know all these mirror data mismatches are Swap?  does not
>> each mismatch mean the mirrors disagree, which means one of them is
>> wrong.  Which one?  since they aren't timestamped or checksummed (like
>
> This thread is very timely.  I updated my C5.3 to 5.4 last week (not
> sure why it took me so long) and this morning noticed my raid5 was
> resyncing.  5*1Tbyte disks.  The resync took...
>Feb 28 04:22:02 mercury kernel: md: syncing RAID array md3
>Feb 28 16:27:06 mercury kernel: md: md3: sync done.
>
> Performance was bad during this time.  Not terrible from an interactive
> point of view, but a job that normally run from 4am to 10am didn't finish
> until 3pm.
>
> I like the concept of checking the disks are good, but it really
> sounds like there are practical problems (false positives, performance
> degregation) .
>
> So I think /etc/sysconfig/raid-check is going to read
>ENABLED=no

I agree that is is a fairly surprising behavior change for an 
'enterprise' system where the point is mostly to not have surprising 
behavior changes.  On the other hand it is probably a good thing to do 
if you can make the scheduling fit in.

-- 
   Les Mikesell
lesmikes...@gmail.com



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


Re: [CentOS] BMC IPMI configuration on centos 5.4 64 BIT Server

2010-03-03 Thread Joseph L. Casale
>Really its very urgent i have to handover the server in next 12 hours.

Sucks to be you:)

OTOH, I am in a similar boat and have different hardware across a two
cluster and I choose to perform the safest way I could think to fence
with the hardware I have, I wrote a Perl script to drop the ifAdminStatus
of the port that the data runs over on my switch. Aside from power
fencing with a separate device, this is pretty reliable (using drbd, so
no fabric switching options).

I have another nic for mgmt that uses iptables to make sure only ssh
runs through it.

I had to make my own, as the older fence_ifmib didn't do snmpv3, and
the newer one uses a myriad of python deps that aren't in 5.4, but
scheduled for 5.5.

Hit me offllist if you like.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New to VM

2010-03-03 Thread David Milholen




For example if i have 2 ibm Eserver 326 with dual xeon 2.8ghz each with
2 sata 200Gb drives. 
how many virtual machines can be configured on those to run a couple of
mail servers and some network monitoring like ntop/nagios
possibly add domain hosting services on there also?

--dave

Les Mikesell wrote:

  David Milholen wrote:
  
  
What are some min requirements for Hardware and what performance 
differences are there in just running another pid for an app?

  
  
That question is way too general to answer and also depends a bit on what VM 
approach (xen/kvm/vmware server, vmware esxi) you use.  As a rule of thumb, I'd 
expect to lose 10% in overall performance and much more than that from disk head 
contention unless you plan the layout very carefully and spread over independent 
drives.  You can make some (perhaps more than that) back by overcommitting the 
machines where the load is likely to be bursty and staggered and by having a lot 
of RAM for better disk buffering.

  



-- 

David Milholen
Project Engineer
501-318-1300
Wireless Etc





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


Re: [CentOS] New to VM

2010-03-03 Thread Joseph L. Casale
>For example if i have 2 ibm Eserver 326 with dual xeon 2.8ghz each with 2 sata 
>200Gb drives. 

Not much if there's any IO at all, those sata drives will not
do much for performance. I have a variety here of sata and SAS
and even on good controllers, the sata drives obviously just
don't handle much.

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


Re: [CentOS] New to VM

2010-03-03 Thread Les Mikesell
On 3/3/2010 2:40 PM, David Milholen wrote:
> For example if i have 2 ibm Eserver 326 with dual xeon 2.8ghz each with
> 2 sata 200Gb drives.
> how many virtual machines can be configured on those to run a couple of
> mail servers and some network monitoring like ntop/nagios
> possibly add domain hosting services on there also?

That's still not enough information to be useful since there can be 
several orders of magnitude in difference in the load of servers like 
that.  I have a similar vintage machine with 4 gigs RAM and 6 scsi 
drives running 3 low-usage servers under vmware server plus a slightly 
busier mail server on the native host, but that wouldn't work for a busy 
domain, especially if you are doing spam scanning on the email.

In my case I was moving stuff that ran on older pentium 3 boxes with 1 
gig RAM so the VM's were about equivalent.  You'll have trouble doing 
much with just 2 SATA drives, though.

-- 
   Les Mikesell
lesmikes...@gmail.com

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


[CentOS] Install Help

2010-03-03 Thread Slack-Moehrle
Hi All,

I have a new system that is dual AMD's. I have a CentOS 5.4 x64 dvd.

I power on the machine
It boots to the CentOS media I had in the dvd drive
I start the install
it comes up and asks me where I have CentOS, I select 'Local CD' and I get that 
a message saying CentOS install files cannot be found. Strange because it boots 
to it!

What could be the issue? 

I have 1 320gb Sata Drive connected to onboard Sata and that is where I want to 
install.
The DVD drive is connected IDE to the mobo
I have two 3ware raid cards each can handle 8 drives, but I have not put drives 
in yet. I am just trying to make sure everything works before I go that route. 
The 16 drives will be storage only. Linux Software Raid.

Any thoughts?

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


Re: [CentOS] Install Help

2010-03-03 Thread Bo Lynch
On Wed, March 3, 2010 4:17 pm, Slack-Moehrle wrote:
> Hi All,
>
> I have a new system that is dual AMD's. I have a CentOS 5.4 x64 dvd.
>
> I power on the machine
> It boots to the CentOS media I had in the dvd drive
> I start the install
> it comes up and asks me where I have CentOS, I select 'Local CD' and I get
> that a message saying CentOS install files cannot be found. Strange
> because it boots to it!
>
> What could be the issue?
Have you verified that packages actually exists on the DVD?

Bo Lynch

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


Re: [CentOS] Install Help

2010-03-03 Thread Slack-Moehrle

I have used this DVD before for installs on other systems.


- Original Message -
From: "Bo Lynch" 
To: "CentOS mailing list" 
Sent: Wednesday, March 3, 2010 1:22:28 PM
Subject: Re: [CentOS] Install Help

On Wed, March 3, 2010 4:17 pm, Slack-Moehrle wrote:
> Hi All,
>
> I have a new system that is dual AMD's. I have a CentOS 5.4 x64 dvd.
>
> I power on the machine
> It boots to the CentOS media I had in the dvd drive
> I start the install
> it comes up and asks me where I have CentOS, I select 'Local CD' and I get
> that a message saying CentOS install files cannot be found. Strange
> because it boots to it!
>
> What could be the issue?
Have you verified that packages actually exists on the DVD?

Bo Lynch

___
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] SSH Remote Execution - su?

2010-03-03 Thread Tim Nelson
Greetings All-

I'm about to embark on some remote management testing and need a way to login 
to a remote system running CentOS 4.x/5.x via SSH, su to root (using a 
password), then execute a command.

I currently login to the boxes using key based SSH like this:

ssh -i ~/remote_key ad...@$remoteip

Then, I SU to root. However, if I try to do this automatically like this:

ssh -i ~/remote_key ad...@$remoteip 'su -l'

I'm getting:

"standard in must be a tty"

So, how am I able to remote login using SSH, su to root, then execute a command 
as root?

All comments and suggestions welcome. Thanks!

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


Re: [CentOS] SSH Remote Execution - su?

2010-03-03 Thread James Hogarth
On 3 March 2010 21:20, Tim Nelson  wrote:
> Greetings All-
>
> I'm about to embark on some remote management testing and need a way to login 
> to a remote system running CentOS 4.x/5.x via SSH, su to root (using a 
> password), then execute a command.
>
> I currently login to the boxes using key based SSH like this:
>
> ssh -i ~/remote_key ad...@$remoteip
>
> Then, I SU to root. However, if I try to do this automatically like this:
>
> ssh -i ~/remote_key ad...@$remoteip 'su -l'
>
> I'm getting:
>
> "standard in must be a tty"
>
> So, how am I able to remote login using SSH, su to root, then execute a 
> command as root?
>
> All comments and suggestions welcome. Thanks!
>
> --Tim
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Best off configuring sudo for that user (with no password) and make
sure that user has !requiretty in the sudoers configuration.

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


Re: [CentOS] SSH Remote Execution - su?

2010-03-03 Thread Jeremy Rosengren
On Wed, Mar 3, 2010 at 3:36 PM, James Hogarth wrote:

> On 3 March 2010 21:20, Tim Nelson  wrote:
> > Greetings All-
> >
> > I'm about to embark on some remote management testing and need a way to
> login to a remote system running CentOS 4.x/5.x via SSH, su to root (using a
> password), then execute a command.
> >
> > I currently login to the boxes using key based SSH like this:
> >
> > ssh -i ~/remote_key ad...@$remoteip
> >
> > Then, I SU to root. However, if I try to do this automatically like this:
> >
> > ssh -i ~/remote_key ad...@$remoteip 'su -l'
> >
> > I'm getting:
> >
> > "standard in must be a tty"
> >
> > So, how am I able to remote login using SSH, su to root, then execute a
> command as root?
> >
> > All comments and suggestions welcome. Thanks!
> >
> > --Tim
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
>
> Best off configuring sudo for that user (with no password) and make
> sure that user has !requiretty in the sudoers configuration.
>
> James
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Does "ssh -t" help?

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


Re: [CentOS] SSH Remote Execution - su?

2010-03-03 Thread John Kennedy
On Wednesday 03 March 2010 16:20:21 Tim Nelson wrote:
> Greetings All-
> 
> I'm about to embark on some remote management testing and need a way to
>  login to a remote system running CentOS 4.x/5.x via SSH, su to root (using
>  a password), then execute a command.
> 
> I currently login to the boxes using key based SSH like this:
> 
> ssh -i ~/remote_key ad...@$remoteip
> 
> Then, I SU to root. However, if I try to do this automatically like this:
> 
> ssh -i ~/remote_key ad...@$remoteip 'su -l'
> 
> I'm getting:
> 
> "standard in must be a tty"
> 
> So, how am I able to remote login using SSH, su to root, then execute a
>  command as root?
> 
> All comments and suggestions welcome. Thanks!
> 
> --Tim
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
You could use an expect script to ssh to the box then su to root with the 
password. You can have the script ask for the password so it is not hard coded 
or used on the command line. Expect can allow you to interact with the shell 
once you have su'd.
I have used a combination of bash and expect scripting to get stats from 
multiple boxes and it works a treat.
If you need more details/help, let me know.
John
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SSH Remote Execution - su?

2010-03-03 Thread Benjamin Franz
Tim Nelson wrote:
> So, how am I able to remote login using SSH, su to root, then execute a 
> command as root?
>   
You would probably be better off setting up forced-commands-only only 
login for root.  and configuring the /root/.ssh/authorized_keys file 
with the command you want to execute.

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


Re: [CentOS] Install Help

2010-03-03 Thread Les Mikesell
On 3/3/2010 3:17 PM, Slack-Moehrle wrote:
> Hi All,
>
> I have a new system that is dual AMD's. I have a CentOS 5.4 x64 dvd.
>
> I power on the machine
> It boots to the CentOS media I had in the dvd drive
> I start the install
> it comes up and asks me where I have CentOS, I select 'Local CD' and I get 
> that a message saying CentOS install files cannot be found. Strange because 
> it boots to it!
>
> What could be the issue?

Booting works through bios.  After that, the OS drivers have to take 
over.  It sounds like the kernel you booted didn't recognize the dvd 
drive.  That used to be common but I haven't seen it in years.  Is there 
anything unusual about the drive or controller.

> I have 1 320gb Sata Drive connected to onboard Sata and that is where I want 
> to install.
> The DVD drive is connected IDE to the mobo
> I have two 3ware raid cards each can handle 8 drives, but I have not put 
> drives in yet. I am just trying to make sure everything works before I go 
> that route. The 16 drives will be storage only. Linux Software Raid.
>
> Any thoughts?

If you have some other server to hold the image you should be able to do 
a network install.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] splash screen resolution

2010-03-03 Thread Michael Klinosky
I installed CentOS 5.3 on a desktop box, and I'm having a problem with
the splash screen resolution (during bootup).

I suppose that it somehow got configged when I set the GUI's screen (I
run in level 5). I think that, in finding the highest res for the GUI, I
went past the monitor's capability. But it's good now.

During boot, I get a funny 'double' display (2 pointers, 2 sets of
text). I can't find where to change it (thru the gui or manually). And,
yes, I did try searching (on google.com/linux and the CentOS wiki).

I didn't see anything in /boot/grub/grub.conf that would set the res. I 
read about removing 'rhgb'; I tried it, and at least it uses an 
appropriate resolution. But, I'd like to use the graphical boot screen.

How do I fix this?

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


Re: [CentOS] SSH Remote Execution - su?

2010-03-03 Thread Tim Nelson



Tim Nelson 
Systems/Network Support 
Rockbochs Inc. 
(218)727-4332 x105 

- "Jeremy Rosengren"  wrote: 
> 

> On Wed, Mar 3, 2010 at 3:36 PM, James Hogarth < james.hoga...@gmail.com > 
> wrote: 
> 




> On 3 March 2010 21:20, Tim Nelson < tnel...@rockbochs.com > wrote: 
> > Greetings All- 
> > 
> > I'm about to embark on some remote management testing and need a way to 
> > login to a remote system running CentOS 4.x/5.x via SSH, su to root (using 
> > a password), then execute a command. 
> > 
> > I currently login to the boxes using key based SSH like this: 
> > 
> > ssh -i ~/remote_key ad...@$remoteip 
> > 
> > Then, I SU to root. However, if I try to do this automatically like this: 
> > 
> > ssh -i ~/remote_key ad...@$remoteip 'su -l' 
> > 
> > I'm getting: 
> > 
> > "standard in must be a tty" 
> > 
> > So, how am I able to remote login using SSH, su to root, then execute a 
> > command as root? 
> > 
> > All comments and suggestions welcome. Thanks! 
> > 
> > --Tim 
> > ___ 
> > CentOS mailing list 
> > CentOS@centos.org 
> > http://lists.centos.org/mailman/listinfo/centos 
> > 
> 
> Best off configuring sudo for that user (with no password) and make 
> sure that user has !requiretty in the sudoers configuration. 
> 
> James 
> 


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

> 
Does "ssh -t" help? 

YESS. It prevents the tty error from showing up and asks me for a password as 
expected. BUT, how do I then automate the entering of the password? 

John Kennedy mentioned using expect which I've used before but found it to be 
'finnicky'. I may have to look at it again... 

Changing settings such as sudo configuration or ssh config may be daunting 
since I have a large number of systems(150+) that would need to be modified. 
:-/ 

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


Re: [CentOS] Install Help

2010-03-03 Thread Mr. X
> On Wed, March 3, 2010 4:17 pm, Slack-Moehrle wrote:
> > Hi All,
> >
> > I have a new system that is dual AMD's. I have a
> CentOS 5.4 x64 dvd.
> >
> > I power on the machine
> > It boots to the CentOS media I had in the dvd drive
> > I start the install
> > it comes up and asks me where I have CentOS, I select
> 'Local CD' and I get
> > that a message saying CentOS install files cannot be
> found. Strange
> > because it boots to it!
> >
> > What could be the issue?

to double check that the DVD is still OK:
get the mount point from device mapper
>md5sum /media/hdc

and compare result with the value posted on any C5 mirror for your media.

If you still have the iso, setup a network install (requires another machine) 
by mounting the iso and exporting it as nfs. IIRC, the C5 installer won't 
support harddrive installs from media found locally.

On another box:
#mkdir /mnt/repo
#mount -t iso9660 /Path-to/CentOS-5.4-x86_64-bin-DVD.iso /mnt/repo -o loop
#echo "/mnt/repo/ *(sync)" >> /etc/exports
#/etc/init.d/nfs restart

now back at your new dual-AMD setup,
grab the diskboot.img from the /images folder of the DVD/iso.

either dd that IMG file to a USB flash, or boot it with syslinux/memdisk
from a fat32 partition already existing on your new system (not likely), or 
burn the boot.iso to a CD (also found in images).

Using a network install is much faster than via DVD. 

-- 
Mark


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


Re: [CentOS] SSH Remote Execution - su?

2010-03-03 Thread nate
Tim Nelson wrote:
> YESS. It prevents the tty error from showing up and asks me for a password
> as expected. BUT, how do I then automate the entering of the password?
>
> John Kennedy mentioned using expect which I've used before but found it to
> be 'finnicky'. I may have to look at it again...
>
> Changing settings such as sudo configuration or ssh config may be daunting
> since I have a large number of systems(150+) that would need to be modified.
> :-/

Just login as root with ssh keys?

If you needed to somehow block brute force cracking attacks against
the root account either globally disable password auth, or it appears
you can use the option "PermitRootLogin without-password" to restrict
remote root logins via SSH to keys only. I haven't tried this option
myself.

nate


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


[CentOS] SOLVED: Re: Install Help

2010-03-03 Thread Slack-Moehrle

>Booting works through bios.  After that, the OS drivers have to take 
>over.  It sounds like the kernel you booted didn't recognize the dvd 
>drive.  That used to be common but I haven't seen it in years.  Is there 
>anything unusual about the drive or controller.

I replaced the drive and now it works fine.

Before it was a Pioneer DVD-RW made in 2009

Replaced it with an old SONY DVD-R from 2005

Ho, hum.

Thank You.
-Jason
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Recover RAID

2010-03-03 Thread Jeff Sadino
Hello Everyone,

First time CentOS poster :)  I have CentOS 4 installed on the head node of a
Sun Gridengine cluster set up in a RAID.  The head node has four hard
drives, and I assume that drives 1 and 2 are in a raid and then drives 3 and
4 are in another raid.  I was trying to expand the OS partition on drive 1
because it was full.  I took drive 1 out, put it in my Fedora 8 box as a
secondary drive, booted up into Fedora, and saw it had the partition
structure:
/ 8GB
/var 4GB
/swap 1GB
and an "unknown" partition 101.4GB

I did a cp -rfa on the / and /var files for a backup (I know, not the best
way).  Restarted my Fedora into Windows to take a look at it using Paragon
Partition Manger.  Restarted into Fedora and using gparted, formatted the
"unknown" partition as ext3 - I think that is where I made my fatal mistake
- and moved the /swap to the middle of the drive, moved the /var to the
middle and expanded to 10GB, and then expanded / to about 50GB to fill up
the rest.

I had also took drive 2 out of the head node and into my Fedora, and saw it
had the partition structure:
/swap 15GB
and an "unknown" partition 101.4GB

Ok, now when I put everything back into the head node, and reboot, the BIOS
sees all four drives, and from what I can tell, recognizes the first raid
(of drives 3 and 4), but says it can only find one disk for the second raid
(drives 1 and 2).  I can't find any way around this.

Looking at my /etc/raidtab file:
raiddev /dev/md0
raid-level  1
nr-raid-disks   2
nr-spare-disks  0
persistent-superblock 1
device  /dev/sdc1
raid-disk   0
device  /dev/sdd1
raid-disk   1

raiddev /dev/md1
raid-level  0
nr-raid-disks   2
persistent-superblock 1
chunk-size 4
device  /dev/sda4
raid-disk   0
device  /dev/sdb2
raid-disk   1

It says it can bring up md0 ok, but not md1.  Right now, I am going to try
to restore the "unknown" partition that I deleted from drive 1 using the
"unknown" partition from drive 2.

Any ideas on how to get myself out of this mess?  I feel like I really
messed it up good.  This is a server for our work, and we have a couple
years worth of data on it, so I would really like to fix it rather than
reinstall.

Thank you greatly for any help!
Jeff Sadino
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recover RAID

2010-03-03 Thread John R Pierce
Jeff Sadino wrote:
> Hello Everyone,
>
> First time CentOS poster :)  I have CentOS 4 installed on the head 
> node of a Sun Gridengine cluster set up in a RAID.  The head node has 
> four hard drives, and I assume that drives 1 and 2 are in a raid and 
> then drives 3 and 4 are in another raid.  I was trying to expand the 
> OS partition on drive 1 because it was full.  I took drive 1 out, put 
> it in my Fedora 8 box as a secondary drive, booted up into Fedora, and 
> saw it had the partition structure:
> / 8GB
> /var 4GB
> /swap 1GB
> and an "unknown" partition 101.4GB
...


probably LVM.

wow, you made a nice mess.


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


Re: [CentOS] Recover RAID

2010-03-03 Thread Jeff Sadino
Do you think I can copy the unknown partition from the second drive onto the
first drive and have everything work again?

On Wed, Mar 3, 2010 at 4:01 PM, John R Pierce  wrote:

> Jeff Sadino wrote:
> > Hello Everyone,
> >
> > First time CentOS poster :)  I have CentOS 4 installed on the head
> > node of a Sun Gridengine cluster set up in a RAID.  The head node has
> > four hard drives, and I assume that drives 1 and 2 are in a raid and
> > then drives 3 and 4 are in another raid.  I was trying to expand the
> > OS partition on drive 1 because it was full.  I took drive 1 out, put
> > it in my Fedora 8 box as a secondary drive, booted up into Fedora, and
> > saw it had the partition structure:
> > / 8GB
> > /var 4GB
> > /swap 1GB
> > and an "unknown" partition 101.4GB
> ...
>
>
> probably LVM.
>
> wow, you made a nice mess.
>
>
> ___
> 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] Recover RAID

2010-03-03 Thread John R Pierce
Jeff Sadino wrote:
> Do you think I can copy the unknown partition from the second drive 
> onto the first drive and have everything work again?

if there's a md mirror, god knows what will happen when you boot it up 
with both drives present, it oculd decide to mirror the unformatted 
partition to the original, I've seen worse happen when the juju is 
messed with.

I think I'd totally wipe the drive you messed with, like zero it.   Then 
boot up the system in single user with just the one drive you didn't 
hose, and BACK UP EVERYTHING ON IT TO EXTERNAL SAFE MEDIA.  use dump or 
something to do the backup that does a proper inode level backup of each 
volume.   then add the wiped/blank drive, and remirror it with the mdadm 
commands to repair the raid, then reboot to normal mode and see if its 
all safe.






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


Re: [CentOS] Recover RAID

2010-03-03 Thread Christopher Chan

> raiddev /dev/md1
>  raid-level  0
>  nr-raid-disks   2
>  persistent-superblock 1
>  chunk-size 4
>  device  /dev/sda4
>  raid-disk   0
>  device  /dev/sdb2
>  raid-disk   1
>
> It says it can bring up md0 ok, but not md1.  Right now, I am going to
> try to restore the "unknown" partition that I deleted from drive 1 using
> the "unknown" partition from drive 2.
>
> Any ideas on how to get myself out of this mess?  I feel like I really
> messed it up good.  This is a server for our work, and we have a couple
> years worth of data on it, so I would really like to fix it rather than
> reinstall.

Sorry, recovery is impossible at this point. md1 is a raid0 device. 
Since you have toasted one member partition, the whole thing it toast. I 
recommend clubbing whoever set it up in the first place with a clueby4 
and then yourself.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recover RAID

2010-03-03 Thread Christopher Chan
On Thursday, March 04, 2010 10:09 AM, John R Pierce wrote:
> Jeff Sadino wrote:
>> Do you think I can copy the unknown partition from the second drive
>> onto the first drive and have everything work again?
>
> if there's a md mirror, god knows what will happen when you boot it up
> with both drives present, it oculd decide to mirror the unformatted
> partition to the original, I've seen worse happen when the juju is
> messed with.

Well, he messed up a stripe. Zero chance of recovery.


>
> I think I'd totally wipe the drive you messed with, like zero it.   Then
> boot up the system in single user with just the one drive you didn't
> hose, and BACK UP EVERYTHING ON IT TO EXTERNAL SAFE MEDIA.  use dump or
> something to do the backup that does a proper inode level backup of each
> volume.   then add the wiped/blank drive, and remirror it with the mdadm
> commands to repair the raid, then reboot to normal mode and see if its
> all safe.
>

Won't apply. He can kiss md1 good bye.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recover RAID

2010-03-03 Thread Jeff Sadino
Thanks for the insight.  Is there any way to bring it back to life not
necessarily as a raid, but just back up so I can get to the data and have my
license managers working?  What if I edit md1 out of the raidtab file?

Thanks,
Jeff

On Wed, Mar 3, 2010 at 4:12 PM, Christopher Chan <
christopher.c...@bradbury.edu.hk> wrote:

> On Thursday, March 04, 2010 10:09 AM, John R Pierce wrote:
> > Jeff Sadino wrote:
> >> Do you think I can copy the unknown partition from the second drive
> >> onto the first drive and have everything work again?
> >
> > if there's a md mirror, god knows what will happen when you boot it up
> > with both drives present, it oculd decide to mirror the unformatted
> > partition to the original, I've seen worse happen when the juju is
> > messed with.
>
> Well, he messed up a stripe. Zero chance of recovery.
>
>
> >
> > I think I'd totally wipe the drive you messed with, like zero it.   Then
> > boot up the system in single user with just the one drive you didn't
> > hose, and BACK UP EVERYTHING ON IT TO EXTERNAL SAFE MEDIA.  use dump or
> > something to do the backup that does a proper inode level backup of each
> > volume.   then add the wiped/blank drive, and remirror it with the mdadm
> > commands to repair the raid, then reboot to normal mode and see if its
> > all safe.
> >
>
> Won't apply. He can kiss md1 good bye.
> ___
> 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] Recover RAID

2010-03-03 Thread Les Mikesell
Jeff Sadino wrote:
> Thanks for the insight.  Is there any way to bring it back to life not 
> necessarily as a raid, but just back up so I can get to the data and 
> have my license managers working?  What if I edit md1 out of the raidtab 
> file?
> 

The data on a raid0 stripes across both drives as though it were one big 
cylinder.  You aren't going to make md1 work work with one missing.  You should 
be able to recover what was on md0 (a raid1) from either of its members.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recover RAID

2010-03-03 Thread Jeff Sadino
Ok, I'm learning a lot about raids and what to do, and what not to do.
Looking at some info I had before, md1 was 200GB in size, which makes sense,
but it was only 39GB full.  The way I repartitioned drive 1, I probably
overwrote only about 11GB.  Does that make it any easier to recover any
amount of the raid?  Is there some sort of "recover lost partitions" option
in Linux or gparted?

Thank you!
Jeff

On Wed, Mar 3, 2010 at 4:55 PM, Les Mikesell  wrote:

> Jeff Sadino wrote:
> > Thanks for the insight.  Is there any way to bring it back to life not
> > necessarily as a raid, but just back up so I can get to the data and
> > have my license managers working?  What if I edit md1 out of the raidtab
> > file?
> >
>
> The data on a raid0 stripes across both drives as though it were one big
> cylinder.  You aren't going to make md1 work work with one missing.  You
> should
> be able to recover what was on md0 (a raid1) from either of its members.
>
> --
>   Les Mikesell
>lesmikes...@gmail.com
> ___
> 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] New to VM

2010-03-03 Thread David Milholen

Ok,
So the idea on VM is to have plenty of Drive space? Please excuse my 
obvious lack of knowledge on VM but I am so old school just having a 
single server with just a few drives only running a few

Apps like Httpd,mysqld,qmt-plus and dns.
I have managed these for so long on just a couple of machines but 
technology is changing and we are growing as a company and I have heard 
and read great things that can be done with VM.
I have another ibm Eserver with a couple of scsi 15k 50GB drives and 4 
GB of memory that I can configure from scratch to do VM or what ever I need.
I guess I should start by asking how VM is configured and How does 
allocate resources on the server?

BTW I am a big fan of this list and have been for quiet some time.
--Dave


Les Mikesell wrote:

On 3/3/2010 2:40 PM, David Milholen wrote:
  

For example if i have 2 ibm Eserver 326 with dual xeon 2.8ghz each with
2 sata 200Gb drives.
how many virtual machines can be configured on those to run a couple of
mail servers and some network monitoring like ntop/nagios
possibly add domain hosting services on there also?



That's still not enough information to be useful since there can be 
several orders of magnitude in difference in the load of servers like 
that.  I have a similar vintage machine with 4 gigs RAM and 6 scsi 
drives running 3 low-usage servers under vmware server plus a slightly 
busier mail server on the native host, but that wouldn't work for a busy 
domain, especially if you are doing spam scanning on the email.


In my case I was moving stuff that ran on older pentium 3 boxes with 1 
gig RAM so the VM's were about equivalent.  You'll have trouble doing 
much with just 2 SATA drives, though.


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


Re: [CentOS] Recover RAID

2010-03-03 Thread nate
Jeff Sadino wrote:
> Ok, I'm learning a lot about raids and what to do, and what not to do.
> Looking at some info I had before, md1 was 200GB in size, which makes sense,
> but it was only 39GB full.  The way I repartitioned drive 1, I probably
> overwrote only about 11GB.  Does that make it any easier to recover any
> amount of the raid?  Is there some sort of "recover lost partitions" option
> in Linux or gparted?

The partition is just a map, if you can re-create the partition
exactly the way it was before, the data should still be there if
it wasn't overwritten.

But as far as I know there isn't a backup stored of the partition
table, if the disk is exactly the same as the other member, then you
can try duplicating the partition setup using the first disk as
a guide.

I don't know whether or not it will help restore a RAID 0 set,
but may be worth a shot since the situation probably can't get
much worse.

nate


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


Re: [CentOS] Recover RAID

2010-03-03 Thread Christopher Chan
On Thursday, March 04, 2010 11:33 AM, nate wrote:
> Jeff Sadino wrote:
>> Ok, I'm learning a lot about raids and what to do, and what not to do.
>> Looking at some info I had before, md1 was 200GB in size, which makes sense,
>> but it was only 39GB full.  The way I repartitioned drive 1, I probably
>> overwrote only about 11GB.  Does that make it any easier to recover any
>> amount of the raid?  Is there some sort of "recover lost partitions" option
>> in Linux or gparted?
>
> The partition is just a map, if you can re-create the partition
> exactly the way it was before, the data should still be there if
> it wasn't overwritten.

That problem was that he had it formatted as ext3...


>
> But as far as I know there isn't a backup stored of the partition
> table, if the disk is exactly the same as the other member, then you
> can try duplicating the partition setup using the first disk as
> a guide.

+1


>
> I don't know whether or not it will help restore a RAID 0 set,
> but may be worth a shot since the situation probably can't get
> much worse.


Just hope that the ext3 format only hit blocks contain non-essential 
data...and nothing related to filesystem structure and yada, yada
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New to VM

2010-03-03 Thread nate
David Milholen wrote:
> I have managed these for so long on just a couple of machines but
> technology is changing and we are growing as a company and I have heard
> and read great things that can be done with VM.

Really depends on how much usage the systems get, if you are migrating
from physical systems to virtual systems look at the CPU, load, and
i/o(if linux use iostat). I run vmware server on a 5-year old system
which has 2 VMs on it, runs apache, mysql, mail services, dns, and
a bunch of other small things. Works fine, though my typical CPU
usage on the *host* is 5%. Running off a pair of 250GB SATA drives
connected to a 3Ware 8006-2 RAID card. Dual Xeon 3Ghz, 6GB ram, 32-bit.

In my experience most systems like the ones your using hosting
the apps you mention are idle 99%+ of the time, making them perfect
VM candidates.

> I have another ibm Eserver with a couple of scsi 15k 50GB drives and 4
> GB of memory that I can configure from scratch to do VM or what ever I need.
>  I guess I should start by asking how VM is configured and How does
> allocate resources on the server?

Resource allocation depends on the VM technology your using, myself
I am a long time VMware fan/user, so I stick to their stuff, but
no matter what it really depends on how much load your system  will
be under.

>From a VMware perspective, this PDF is informative, but probably
well beyond the scale your operating at, you can get an idea as
to the complexity that "virtualization" entails.

http://portal.aphroland.org/~aphro/vmware/09Q3-perf_overview_and_tier1-pac_nw.pdf

Performance of bare metal hypervisors like VMware ESX will
dramatically outperform the hypervisors that run on top of
another OS(I think they call them "type 2") like VMware server.
But bare metal hypervisors have very strict hardware requirements.
I use VMware server on my own system since the hardware is not
supported by ESX.

At my full time job I run dozens of ESX systems on real hardware,
with a proper SAN and networking infrastructure.

nate

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


Re: [CentOS] New to VM

2010-03-03 Thread David Milholen

Nate,
That pdf resolved a bunch of questions I had..
Thanks, now I have a focus and some new toys to play with.
I am going to configure a VM and have a snapshot of the Native QMT-PLUS 
server and let the VM do all of the backups to the NAS.
If all goes well the goal will be to have a 2 machines and both set up 
to do VM doing replication for the mail services.

--Dave


nate wrote:

David Milholen wrote:
  

I have managed these for so long on just a couple of machines but
technology is changing and we are growing as a company and I have heard
and read great things that can be done with VM.



Really depends on how much usage the systems get, if you are migrating
from physical systems to virtual systems look at the CPU, load, and
i/o(if linux use iostat). I run vmware server on a 5-year old system
which has 2 VMs on it, runs apache, mysql, mail services, dns, and
a bunch of other small things. Works fine, though my typical CPU
usage on the *host* is 5%. Running off a pair of 250GB SATA drives
connected to a 3Ware 8006-2 RAID card. Dual Xeon 3Ghz, 6GB ram, 32-bit.

In my experience most systems like the ones your using hosting
the apps you mention are idle 99%+ of the time, making them perfect
VM candidates.

  

I have another ibm Eserver with a couple of scsi 15k 50GB drives and 4
GB of memory that I can configure from scratch to do VM or what ever I need.
 I guess I should start by asking how VM is configured and How does
allocate resources on the server?



Resource allocation depends on the VM technology your using, myself
I am a long time VMware fan/user, so I stick to their stuff, but
no matter what it really depends on how much load your system  will
be under.

>From a VMware perspective, this PDF is informative, but probably
well beyond the scale your operating at, you can get an idea as
to the complexity that "virtualization" entails.

http://portal.aphroland.org/~aphro/vmware/09Q3-perf_overview_and_tier1-pac_nw.pdf

Performance of bare metal hypervisors like VMware ESX will
dramatically outperform the hypervisors that run on top of
another OS(I think they call them "type 2") like VMware server.
But bare metal hypervisors have very strict hardware requirements.
I use VMware server on my own system since the hardware is not
supported by ESX.

At my full time job I run dozens of ESX systems on real hardware,
with a proper SAN and networking infrastructure.

nate

___
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] BMC IPMI configuration on centos 5.4 64 BIT Server

2010-03-03 Thread Rajagopal Swaminathan
Greetings,

On Thu, Mar 4, 2010 at 12:39 AM, Joseph L. Casale
 wrote:
>>Really its very urgent i have to handover the server in next 12 hours.

If you are in India, get somehow the APC or any other power fencing or
put the authorities on to me I will tell and educate them.

I don't trust HCL much.

Regards,

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


Re: [CentOS] Recover RAID

2010-03-03 Thread Ross Walker
On Mar 3, 2010, at 10:24 PM, Jeff Sadino   
wrote:

> Ok, I'm learning a lot about raids and what to do, and what not to  
> do.  Looking at some info I had before, md1 was 200GB in size, which  
> makes sense, but it was only 39GB full.  The way I repartitioned  
> drive 1, I probably overwrote only about 11GB.  Does that make it  
> any easier to recover any amount of the raid?  Is there some sort of  
> "recover lost partitions" option in Linux or gparted?

Don't you have backups of this data?

You can just re-create the raid0 and restore the data.

-Ross

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


Re: [CentOS] New to VM

2010-03-03 Thread Les Mikesell
David Milholen wrote:
> Ok,
>  So the idea on VM is to have plenty of Drive space?

Not space so much as independently-seeking heads.  Every process on every 
virtual/real machine that shares a physical drive is going to have its own idea 
about where the head is supposed to be at the moment and you end up waiting as 
they fight over it.

> Please excuse my 
> obvious lack of knowledge on VM but I am so old school just having a 
> single server with just a few drives only running a few
> Apps like Httpd,mysqld,qmt-plus and dns.
> I have managed these for so long on just a couple of machines but 
> technology is changing and we are growing as a company and I have heard 
> and read great things that can be done with VM.

On a small scale there are only a couple of advantages.  You can take advantage 
of more powerful hardware by migrating older systems to fewer boxes, 
maintaining 
the old setup and IP addresses, and the virtual machines can be moved around to 
different physical hosts without much regard to hardware differences.

> I have another ibm Eserver with a couple of scsi 15k 50GB drives and 4 
> GB of memory that I can configure from scratch to do VM or what ever I need.
>  I guess I should start by asking how VM is configured and How does 
> allocate resources on the server?

I mostly use VMware Server, but the systems were set up before the ESXi product 
was free.  Starting over, I'd install ESXi on the bare metal, then whatever you 
want as guests.  You do need a windows machines to run the console client for 
ESXi, though.

-- 
   Les Mikesell
lesmiks...@gmail.com

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


Re: [CentOS] Recover RAID

2010-03-03 Thread Jeff Sadino
Backups?  I wish :)  I will now.
But looking closer, that md1 is not my OS partition, just a data partition.
If I take that md1 entry out of the raidtab file and restart the computer, I
would think that it would start up just fine, minus the data partition (and
for the moment neglecting any vital programs that might be installed on that
partition).  My question is when I start the computer back up, in order to
start up without that partition there any more, will the OS write any new
files or anything that will not be reversible?

Thank you again,
Jeff

On Wed, Mar 3, 2010 at 6:40 PM, Ross Walker  wrote:

> On Mar 3, 2010, at 10:24 PM, Jeff Sadino 
> wrote:
>
> > Ok, I'm learning a lot about raids and what to do, and what not to
> > do.  Looking at some info I had before, md1 was 200GB in size, which
> > makes sense, but it was only 39GB full.  The way I repartitioned
> > drive 1, I probably overwrote only about 11GB.  Does that make it
> > any easier to recover any amount of the raid?  Is there some sort of
> > "recover lost partitions" option in Linux or gparted?
>
> Don't you have backups of this data?
>
> You can just re-create the raid0 and restore the data.
>
> -Ross
>
> ___
> 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] Recover RAID

2010-03-03 Thread Christopher Chan
On Thursday, March 04, 2010 01:15 PM, Jeff Sadino wrote:
> Backups?  I wish :)  I will now.

/me hands Jeff a big clueby4 to use on the former admin.


> But looking closer, that md1 is not my OS partition, just a data
> partition.  If I take that md1 entry out of the raidtab file and restart
> the computer, I would think that it would start up just fine, minus the
> data partition (and for the moment neglecting any vital programs that
> might be installed on that partition).  My question is when I start the
> computer back up, in order to start up without that partition there any
> more, will the OS write any new files or anything that will not be
> reversible?

Yes...logs mainly. Most probably not reversible that lot. You may need 
to comment out the entry in /etc/fstab for md1 too. You might see 
messages from services tied to the data partition and if they get in the 
way of start up, just go into single-user mode and disable them...


>
> Thank you again,
> Jeff
>
> On Wed, Mar 3, 2010 at 6:40 PM, Ross Walker  > wrote:
>
> On Mar 3, 2010, at 10:24 PM, Jeff Sadino  >
> wrote:
>
>  > Ok, I'm learning a lot about raids and what to do, and what not to
>  > do.  Looking at some info I had before, md1 was 200GB in size, which
>  > makes sense, but it was only 39GB full.  The way I repartitioned
>  > drive 1, I probably overwrote only about 11GB.  Does that make it
>  > any easier to recover any amount of the raid?  Is there some sort of
>  > "recover lost partitions" option in Linux or gparted?
>
> Don't you have backups of this data?
>
> You can just re-create the raid0 and restore the data.
>
> -Ross
>
> ___
> 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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recover RAID

2010-03-03 Thread Les Mikesell
Jeff Sadino wrote:
> Backups?  I wish :)  I will now.
> But looking closer, that md1 is not my OS partition, just a data 
> partition.  If I take that md1 entry out of the raidtab file and restart 
> the computer, I would think that it would start up just fine, minus the 
> data partition (and for the moment neglecting any vital programs that 
> might be installed on that partition).  My question is when I start the 
> computer back up, in order to start up without that partition there any 
> more, will the OS write any new files or anything that will not be 
> reversible?

You'll need to take the mount point out of /etc/fstab to come up without it.  I 
don't think it even matters that the raid assembly fails but not being able to 
mount everything in fstab is fatal.

-- 
   Les Mikesell
lesmikes...@gmail.com

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


[CentOS] fsck.ext4 huge memory usage

2010-03-03 Thread James A. Peltier
I have a 5.4TB file system, ext4, that currently is reporting problems, 
however, every time I run fsck.ext4 on the file system, it grows to more 
than 17GB.

Can anyone tell me WTF is going on here?  Why is it using so much disk 
space?

-- 
James A. Peltier
Systems Analyst (FASNet), VIVARIUM Technical Director
HPC Coordinator
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.fas.sfu.ca | http://vivarium.cs.sfu.ca
   http://blogs.sfu.ca/people/jpeltier
MSN : subatomic_s...@hotmail.com

TEAMWORK
  There's power in numbers.  Learn to work together.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New to VM

2010-03-03 Thread John R Pierce
Les Mikesell wrote:
> I mostly use VMware Server, but the systems were set up before the ESXi 
> product 
> was free.  Starting over, I'd install ESXi on the bare metal, then whatever 
> you 
> want as guests.  You do need a windows machines to run the console client for 
> ESXi, though.
>   


vmware esxi *so* outperforms vmware server, its not funny.

I've also found server 2.0.x to be a little unstable on several 
different hosts (both windows and linux)


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


Re: [CentOS] SSH Remote Execution - su?

2010-03-03 Thread Chris Geldenhuis
Tim Nelson wrote:
>
>
> Tim Nelson
> Systems/Network Support
> Rockbochs Inc.
> (218)727-4332 x105
>
> - "Jeremy Rosengren"  wrote:
> >
> > On Wed, Mar 3, 2010 at 3:36 PM, James Hogarth 
> mailto:james.hoga...@gmail.com>> wrote:
> >
>
> > On 3 March 2010 21:20, Tim Nelson  > wrote:
> > > Greetings All-
> > >
> > > I'm about to embark on some remote management testing and need
> a way to login to a remote system running CentOS 4.x/5.x via SSH,
> su to root (using a password), then execute a command.
> > >
> > > I currently login to the boxes using key based SSH like this:
> > >
> > > ssh -i ~/remote_key ad...@$remoteip
> > >
> > > Then, I SU to root. However, if I try to do this automatically
> like this:
> > >
> > > ssh -i ~/remote_key ad...@$remoteip 'su -l'
> > >
> > > I'm getting:
> > >
> > > "standard in must be a tty"
> > >
> > > So, how am I able to remote login using SSH, su to root, then
> execute a command as root?
> > >
> > > All comments and suggestions welcome. Thanks!
> > >
> > > --Tim
> > > ___
> > > CentOS mailing list
> > > CentOS@centos.org 
> > > http://lists.centos.org/mailman/listinfo/centos
> > >
> >
> >
> Best off configuring sudo for that user (with no password) and make
> > sure that user has !requiretty in the sudoers configuration.
> >
> > James
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org 
> > http://lists.centos.org/mailman/listinfo/centos
>
>
> >
> Does "ssh -t" help?
>
> YESS. It prevents the tty error from showing up and asks me for a 
> password as expected. BUT, how do I then automate the entering of the 
> password?
>
> John Kennedy mentioned using expect which I've used before but found 
> it to be 'finnicky'. I may have to look at it again...
>
> Changing settings such as sudo configuration or ssh config may be 
> daunting since I have a large number of systems(150+) that would need 
> to be modified. :-/
>
> --Tim
> 
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   
I found that Python expect is far more logical and understandable for 
complex tasks than the expect command.

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


Re: [CentOS] Recover RAID

2010-03-03 Thread Sorin Srbu
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of Jeff Sadino
Sent: Thursday, March 04, 2010 6:15 AM
To: CentOS mailing list
Subject: Re: [CentOS] Recover RAID

Backups?  I wish :)  I will now.
But looking closer, that md1 is not my OS partition, just a data partition. 
If I take that md1 entry out of the raidtab file and restart the computer, I
would think that it would start up just fine, minus the data partition (and
for the moment neglecting any vital programs that might be installed on that
partition).  My question is when I start the computer back up, in order to
start up without that partition there any more, will the OS write any new
files or anything that will not be reversible?


Eh? Raid0 with no backups? For real?

-- 
/Sorin


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


Re: [CentOS] Recover RAID

2010-03-03 Thread Timo Schoeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

thus Sorin Srbu spake:
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
> Of Jeff Sadino
> Sent: Thursday, March 04, 2010 6:15 AM
> To: CentOS mailing list
> Subject: Re: [CentOS] Recover RAID
> 
> Backups?  I wish :)  I will now.
> But looking closer, that md1 is not my OS partition, just a data partition. 
> If I take that md1 entry out of the raidtab file and restart the computer, I
> would think that it would start up just fine, minus the data partition (and
> for the moment neglecting any vital programs that might be installed on that
> partition).  My question is when I start the computer back up, in order to
> start up without that partition there any more, will the OS write any new
> files or anything that will not be reversible?
> 
> 
> Eh? Raid0 with no backups? For real?

Backups are for sissies; running a hara-kiri RAID demands *not* having
backups. Or did the kamikaze pilots have parachutes?

SCNR
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFLj14Efg746kcGBOwRAuicAJ4uNeMpsbc9N0dSbOUe0JFkh4hXrgCeJtbb
b/cpUWfQxgfxTjLPo7TWwsQ=
=t8zn
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recover RAID

2010-03-03 Thread Jeff Sadino
Thanks Timo, that one actually made me laugh!

On Wed, Mar 3, 2010 at 9:15 PM, Timo Schoeler
wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> thus Sorin Srbu spake:
> > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf
> > Of Jeff Sadino
> > Sent: Thursday, March 04, 2010 6:15 AM
> > To: CentOS mailing list
> > Subject: Re: [CentOS] Recover RAID
> >
> > Backups?  I wish :)  I will now.
> > But looking closer, that md1 is not my OS partition, just a data
> partition.
> > If I take that md1 entry out of the raidtab file and restart the
> computer, I
> > would think that it would start up just fine, minus the data partition
> (and
> > for the moment neglecting any vital programs that might be installed on
> that
> > partition).  My question is when I start the computer back up, in order
> to
> > start up without that partition there any more, will the OS write any new
> > files or anything that will not be reversible?
> > 
> >
> > Eh? Raid0 with no backups? For real?
>
> Backups are for sissies; running a hara-kiri RAID demands *not* having
> backups. Or did the kamikaze pilots have parachutes?
>
> SCNR
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.5 (GNU/Linux)
>
> iD8DBQFLj14Efg746kcGBOwRAuicAJ4uNeMpsbc9N0dSbOUe0JFkh4hXrgCeJtbb
> b/cpUWfQxgfxTjLPo7TWwsQ=
> =t8zn
> -END PGP SIGNATURE-
> ___
> 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] Recover RAID

2010-03-03 Thread Timo Schoeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

thus Jeff Sadino spake:
> Thanks Timo, that one actually made me laugh!

I really hope that this wasn't irony from your side. Well, if there's
nothing left, there's still gallows humor...

Timo

> On Wed, Mar 3, 2010 at 9:15 PM, Timo Schoeler
> wrote:
> 
> thus Sorin Srbu spake:
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf
 Of Jeff Sadino
 Sent: Thursday, March 04, 2010 6:15 AM
 To: CentOS mailing list
 Subject: Re: [CentOS] Recover RAID

 Backups?  I wish :)  I will now.
 But looking closer, that md1 is not my OS partition, just a data
> partition.
 If I take that md1 entry out of the raidtab file and restart the
> computer, I
 would think that it would start up just fine, minus the data partition
> (and
 for the moment neglecting any vital programs that might be installed on
> that
 partition).  My question is when I start the computer back up, in order
> to
 start up without that partition there any more, will the OS write any new
 files or anything that will not be reversible?
 

 Eh? Raid0 with no backups? For real?
> Backups are for sissies; running a hara-kiri RAID demands *not* having
> backups. Or did the kamikaze pilots have parachutes?
> 
> SCNR
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFLj2C+fg746kcGBOwRAiCDAJ4u0y0yJWX7F5rVVD1wS30FgaEWLQCffK5D
NETjQfLFLJVZAX9GWVq7rZA=
=GfFm
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recover RAID

2010-03-03 Thread Sorin Srbu
>-Original Message-
>From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf
>Of Timo Schoeler
>Sent: Thursday, March 04, 2010 8:15 AM
>To: CentOS mailing list
>Subject: Re: [CentOS] Recover RAID
>
>>> Backups?  I wish :)  I will now.
>>[...]
>> Eh? Raid0 with no backups? For real?
>
>Backups are for sissies; running a hara-kiri RAID demands *not* having
>backups. Or did the kamikaze pilots have parachutes?

8-)

Or as Linus Torvalds is said to have said; "Real men don't use backups, they
post their stuff on a public ftp server and let the rest of the world make
copies."

;-)
-- 
/Sorin


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