Re: [CentOS] lm_sensors

2012-01-31 Thread Philippe Naudin
Le mar 31 jan 2012 05:33:33 CET, Fajar Priyanto a écrit:

> Hi all :)
> Using lm_sensors, I can see few temperature indicator.
> 
> M/B Temp:+39°C  (low  =   +15°C, high =   +40°C)   sensor = thermistor
> CPU Temp:+33°C  (low  =   +15°C, high =   +45°C)   sensor = thermistor
> Temp3:   +53°C  (low  =   +15°C, high =   +45°C)   sensor = diode
> 
> What is that Temp3? It's the hottest.
> Which one is the best to use if I want to use lm_sensor as a general
> indicator of my server room temperature?
> (my request to buy a Mini Goose temperature monitor is still pending).

I use the temperature of the UPS :
$ upsc onduleurgeneral...@onduleur.lasb ups.temperature
023.0
(http://www.networkupstools.org/)

I have checked : it is a quite correct, if heavy, thermometer !

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


[CentOS] Htaccess management with GUI

2012-01-31 Thread Jussi Hirvi
My webhotel client wants to be able to manage password protection of 
their website with GUI. They need to create and destroy directories, set 
.htaccess authentication, and create usernames and passwords.

There seem to be a number of tools that do this, more or less:

http://www.debianhelp.co.uk/htaccessweb.htm

However, I have not found any good comparisons or reviews. Has anyone 
tested this kind of tools?

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


Re: [CentOS] LSi Logic SCSI controller driver

2012-01-31 Thread Helmut Drodofsky

Type is LSI53C1030 which is mentioned in
http://www.redhat.com/archives/rhl-list/2007-April/msg02661.html

Helmut Drodofsky


-Ursprüngliche Nachricht-
Von: centos-boun...@centos.org [mailto:centos-boun...@centos.org] Im 
Auftrag von John R Pierce
Gesendet: Freitag, 27. Januar 2012 18:07
An: centos@centos.org
Betreff: Re: [CentOS] LSi Logic SCSI controller driver

On 01/27/12 7:40 AM, Helmut Drodofsky wrote:
> I have found a lot of discussions concerning the LSI Logic scsi driver.
>
> E.g.:
> https://lkml.org/lkml/2010/4/26/335
> https://bugzilla.kernel.org/show_bug.cgi?id=16547
> http://www.redhat.com/archives/rhl-list/2007-April/msg02661.html
>
>
> VMware ESXI was updated on 28. April 2011.
>
> Is this bug fixed in CentOS 6? RHEL 6 beta: the bug was included so
> far as I have read.

which ?  those 3 bug reports/discussions are talking about 3 completely 
different drivers for 3 different cards.what LSI SCSI card do you have?





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

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

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


[CentOS] libz.so.1 => not found

2012-01-31 Thread Dvorkin, Asya
Hello,

We have an older AFS server, which was running Centos 5.5.  It hasn't been 
updated in a while because of the plans to move it to another server, but it 
never happened.

Thus, we've decided to upgrade it to 5.7…

I did yum clean all and yum update.  Everything ran smoothly and no issues.  
After the reboot, zlib.so.1 can no longer be found.   /usr/lib64/zlib.so.1 is a 
symbolic link to /lib64/zlib.so.1, but the file does not exist.  Because of 
this, ssh/yum/rpm do not work…

I've been googling, but can't find a solid answer.  This is a production server 
and I need to have it up and running as soon as possible…

Any ideas?

Thank you!
Asya
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] confidence in partitioning tool (6.2)

2012-01-31 Thread Larry Martell
On Mon, Jan 30, 2012 at 10:15 PM, Arun Khan  wrote:
> On Mon, Jan 30, 2012 at 9:57 PM, Ken godee  wrote:
 On Mon, Jan 30, 2012 at 8:14 AM, Larry Martell
 wrote:
> I have a Windows 7 laptop that I want to make dual boot with CentOS
> 6.2. My plan was to use the Windows Disk Management tool to partition
> the disk, but I do not have the needed admin rights on the box to use
> that. Has anyone used the partitioning tool that comes with 6.2 to do
>>> 
>>
>> Maybe a little different answer than you're looking for
>>
>> But why not install VMware Workstation (free)?
>>
>> Unless there's some specific reason,
>
> The OP does not have admin rights to the Windows OS.  I presume he
> would need it to install any piece of software (I use Virtual Box).

I can't even defrag the disk without admin rights :-(

I'm going to make one more push to get admin, and if not, just go
ahead and install CentOS and see what happens.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] libz.so.1 => not found

2012-01-31 Thread Dvorkin, Asya
Sorry, i meant to say /usr/lib64/libz.so.1 is missing…

Thank you for all your help,
Asya


On Jan 31, 2012, at 7:29 AM, Dvorkin, Asya wrote:

> Hello,
> 
> We have an older AFS server, which was running Centos 5.5.  It hasn't been 
> updated in a while because of the plans to move it to another server, but it 
> never happened.
> 
> Thus, we've decided to upgrade it to 5.7…
> 
> I did yum clean all and yum update.  Everything ran smoothly and no issues.  
> After the reboot, zlib.so.1 can no longer be found.   /usr/lib64/zlib.so.1 is 
> a symbolic link to /lib64/zlib.so.1, but the file does not exist.  Because of 
> this, ssh/yum/rpm do not work…
> 
> I've been googling, but can't find a solid answer.  This is a production 
> server and I need to have it up and running as soon as possible…
> 
> Any ideas?
> 
> Thank you!
> Asya

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


Re: [CentOS] libz.so.1 => not found

2012-01-31 Thread Dennis Jacobfeuerborn
This is what things look like on one of my systems:

[root@centos57 ~]# cat /etc/redhat-release
CentOS release 5.7 (Final)
[root@centos57 ~]# ls -l /usr/lib64/libz.so*
lrwxrwxrwx 1 root root 21 Jan 31 02:47 /usr/lib64/libz.so.1 -> 
../../lib64/libz.so.1
lrwxrwxrwx 1 root root 25 Jan 31 02:47 /usr/lib64/libz.so.1.2.3 -> 
../../lib64/libz.so.1.2.3
[root@centos57 ~]# ls -l /lib64/libz.so*
lrwxrwxrwx 1 root root13 Jan 31 02:47 /lib64/libz.so.1 -> libz.so.1.2.3
-rwxr-xr-x 1 root root 83280 May 11  2011 /lib64/libz.so.1.2.3

If the symlink is missing you could try to manually recreate it.

Regards,
   Dennis

On 01/31/2012 01:38 PM, Dvorkin, Asya wrote:
> Sorry, i meant to say /usr/lib64/libz.so.1 is missing…
>
> Thank you for all your help,
> Asya
>
>
> On Jan 31, 2012, at 7:29 AM, Dvorkin, Asya wrote:
>
>> Hello,
>>
>> We have an older AFS server, which was running Centos 5.5.  It hasn't been 
>> updated in a while because of the plans to move it to another server, but it 
>> never happened.
>>
>> Thus, we've decided to upgrade it to 5.7…
>>
>> I did yum clean all and yum update.  Everything ran smoothly and no issues.  
>> After the reboot, zlib.so.1 can no longer be found.   /usr/lib64/zlib.so.1 
>> is a symbolic link to /lib64/zlib.so.1, but the file does not exist.  
>> Because of this, ssh/yum/rpm do not work…
>>
>> I've been googling, but can't find a solid answer.  This is a production 
>> server and I need to have it up and running as soon as possible…
>>
>> Any ideas?
>>
>> Thank you!
>> Asya
>
> ___
> 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] Antwort: Re: libz.so.1 => not found

2012-01-31 Thread Andreas Reschke
centos-boun...@centos.org schrieb am 31.01.2012 13:38:09:

> "Dvorkin, Asya"  
> Gesendet von: centos-boun...@centos.org
> 
> 31.01.2012 13:38
> 
> Bitte antworten an
> CentOS mailing list 
> 
> An
> 
> CentOS mailing list 
> 
> Kopie
> 
> Thema
> 
> Re: [CentOS] libz.so.1 => not found
> 
> Sorry, i meant to say /usr/lib64/libz.so.1 is missing…
> 
> Thank you for all your help,
> Asya
> 
> 
> On Jan 31, 2012, at 7:29 AM, Dvorkin, Asya wrote:
> 
> > Hello,
> > 
> > We have an older AFS server, which was running Centos 5.5.  It 
> hasn't been updated in a while because of the plans to move it to 
> another server, but it never happened.
> > 
> > Thus, we've decided to upgrade it to 5.7…
> > 
> > I did yum clean all and yum update.  Everything ran smoothly and 
> no issues.  After the reboot, zlib.so.1 can no longer be found.   /
> usr/lib64/zlib.so.1 is a symbolic link to /lib64/zlib.so.1, but the 
> file does not exist.  Because of this, ssh/yum/rpm do not work…
> > 
> > I've been googling, but can't find a solid answer.  This is a 
> production server and I need to have it up and running as soon as 
possible…
> > 
> > Any ideas?
> > 
> > Thank you!
> > Asya
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

Hello Asya,

with "um whatprovides */libz.so.1"

I found following rpms:

zlib-1.2.3-27.el6.x86_64 : The zlib compression and decompression library
Repo: base
Matched from:
Filename: /lib64/libz.so.1



zlib-1.2.3-27.el6.i686 : The zlib compression and decompression library
Repo: base
Matched from:
Filename: /lib/libz.so.1



nxclient-3.5.0-7.x86_64 : NX Client
Repo: own_repo
Matched from:
Filename: /usr/NX/lib/libz.so.1



nxclient-3.5.0-6.x86_64 : NX Client
Repo: own_repo
Matched from:
Filename: /usr/NX/lib/libz.so.1



dropbox-0.7.110-3.el6.rf.x86_64 : Sync and backup files between computers
Repo: rpmforge
Matched from:
Filename: /usr/libexec/dropbox/libz.so.1



dropbox-1.1.27-2.el6.rf.x86_64 : Sync and backup files between computers
Repo: rpmforge
Matched from:
Filename: /usr/libexec/dropbox/libz.so.1



nxclient-3.5.0-7.x86_64 : NX Client
Repo: installed
Matched from:
Filename: /usr/NX/lib/libz.so.1



zlib-1.2.3-27.el6.x86_64 : The zlib compression and decompression library
Repo: installed
Matched from:
Filename: /lib64/libz.so.1



zlib-1.2.3-27.el6.i686 : The zlib compression and decompression library
Repo: installed
Matched from:
Filename: /lib/libz.so.1

 
Hope it helps.

Gruß 
Andreas Reschke


Unix/Linux-Administration
andreas.resc...@behrgroup.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] libz.so.1 => not found

2012-01-31 Thread Dvorkin, Asya

On Jan 31, 2012, at 7:45 AM, Dennis Jacobfeuerborn wrote:

> This is what things look like on one of my systems:
> 
> [root@centos57 ~]# cat /etc/redhat-release
> CentOS release 5.7 (Final)
> [root@centos57 ~]# ls -l /usr/lib64/libz.so*
> lrwxrwxrwx 1 root root 21 Jan 31 02:47 /usr/lib64/libz.so.1 -> 
> ../../lib64/libz.so.1
> lrwxrwxrwx 1 root root 25 Jan 31 02:47 /usr/lib64/libz.so.1.2.3 -> 
> ../../lib64/libz.so.1.2.3
> [root@centos57 ~]# ls -l /lib64/libz.so*
> lrwxrwxrwx 1 root root13 Jan 31 02:47 /lib64/libz.so.1 -> libz.so.1.2.3
> -rwxr-xr-x 1 root root 83280 May 11  2011 /lib64/libz.so.1.2.3
> 
> If the symlink is missing you could try to manually recreate it.
> 
> Regards,
>   Dennis

The problem is that the file itself is missing as well, so no way for me to 
recreate the link.  Actually, libz.1.so.1.2.3 doesn't exist either.

I could try copying the file from another CentOS server, but wanted to hear 
everyone's opinion on that…

Thank you,
Asya

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


Re: [CentOS] libz.so.1 => not found

2012-01-31 Thread Ljubomir Ljubojevic
On 01/31/2012 01:57 PM, Dvorkin, Asya wrote:

> The problem is that the file itself is missing as well, so no way for me to 
> recreate the link.  Actually, libz.1.so.1.2.3 doesn't exist either.
>
> I could try copying the file from another CentOS server, but wanted to hear 
> everyone's opinion on that…
>

It is the only way besides getting the file from he servers backup, or 
manually unpacking the rpm end extracting files.



-- 

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

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


Re: [CentOS] libz.so.1 => not found

2012-01-31 Thread Dennis Jacobfeuerborn
On 01/31/2012 01:57 PM, Dvorkin, Asya wrote:
>
> On Jan 31, 2012, at 7:45 AM, Dennis Jacobfeuerborn wrote:
>
>> This is what things look like on one of my systems:
>>
>> [root@centos57 ~]# cat /etc/redhat-release
>> CentOS release 5.7 (Final)
>> [root@centos57 ~]# ls -l /usr/lib64/libz.so*
>> lrwxrwxrwx 1 root root 21 Jan 31 02:47 /usr/lib64/libz.so.1 ->
>> ../../lib64/libz.so.1
>> lrwxrwxrwx 1 root root 25 Jan 31 02:47 /usr/lib64/libz.so.1.2.3 ->
>> ../../lib64/libz.so.1.2.3
>> [root@centos57 ~]# ls -l /lib64/libz.so*
>> lrwxrwxrwx 1 root root13 Jan 31 02:47 /lib64/libz.so.1 ->  libz.so.1.2.3
>> -rwxr-xr-x 1 root root 83280 May 11  2011 /lib64/libz.so.1.2.3
>>
>> If the symlink is missing you could try to manually recreate it.
>>
>> Regards,
>>Dennis
>
> The problem is that the file itself is missing as well, so no way for me to 
> recreate the link.  Actually, libz.1.so.1.2.3 doesn't exist either.
>
> I could try copying the file from another CentOS server, but wanted to hear 
> everyone's opinion on that…

I'd say try that and as soon as you get yum/rpm working do a "yum reinstall 
zlib" to get the files properly in place again.

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


Re: [CentOS] libz.so.1 => not found

2012-01-31 Thread Dvorkin, Asya
>>> 
>> 
>> The problem is that the file itself is missing as well, so no way for me to 
>> recreate the link.  Actually, libz.1.so.1.2.3 doesn't exist either.
>> 
>> I could try copying the file from another CentOS server, but wanted to hear 
>> everyone's opinion on that…
> 
> I'd say try that and as soon as you get yum/rpm working do a "yum reinstall 
> zlib" to get the files properly in place again.


Thank you!  I've copied the file using USB drive and now the server is up and 
running.  I also did yum reinstall zlib.

Now when I do yum update, it says: No Packages marked for Update

If that's the case, how come /etc/redhat-release still shows CentOS release 5.5 
(Final) ?

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


Re: [CentOS] confidence in partitioning tool (6.2)

2012-01-31 Thread Philippe Naudin
Le mar 31 jan 2012 05:34:21 CET, Larry Martell a écrit:

> ...
> I can't even defrag the disk without admin rights :-(
> 
> I'm going to make one more push to get admin, and if not, just go
> ahead and install CentOS and see what happens.

You can check if there is enough available disk space without
defragmenting, with ntfsresize :
ntfsresize -i /dev/sda1 # or whatever is your ntfs partition
ntfsresize -n --size  /dev/sda1
  These two commands only show/test what can be done, without changing
  anything on the disk.

If you feel ready for the change :
fdisk -l /dev/sda # and keep a copy of the output
ntfsresize --size  /dev/sda1 # this time without -n
fdisk /dev/sda
  Delete the old sda1 and recreate it with the same start and a size at
  least sufficient to hold the resized ntfs. Don't forget to change the
  type of the partition, and activate it.
ntfsresize -fi /dev/sda1 
  If it reports any problem, undo what has been done with fdisk.
  Restart Windows and let it do its FS check.

This has worked for me, but as always : ymmv, be careful.

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


Re: [CentOS] libz.so.1 => not found

2012-01-31 Thread Dvorkin, Asya
> 
> 
> Thank you!  I've copied the file using USB drive and now the server is up and 
> running.  I also did yum reinstall zlib.
> 
> Now when I do yum update, it says: No Packages marked for Update
> 
> If that's the case, how come /etc/redhat-release still shows CentOS release 
> 5.5 (Final) ?
> 
> Asya

I figured it out.  Whoever was in charge of this server before me, added the 
following lines to CentOS-Base.repo

exclude=kernel kernel-devel kernel-PAE-*

Thank you all for your help!

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


Re: [CentOS] confidence in partitioning tool (6.2)

2012-01-31 Thread Marko Vojinovic
On Tuesday 31 January 2012 05:34:21 Larry Martell wrote:
> On Mon, Jan 30, 2012 at 10:15 PM, Arun Khan  wrote:
> > On Mon, Jan 30, 2012 at 9:57 PM, Ken godee  wrote:
> >> Maybe a little different answer than you're looking for
> >> 
> >> But why not install VMware Workstation (free)?
> > 
> > The OP does not have admin rights to the Windows OS.  I presume he
> > would need it to install any piece of software (I use Virtual Box).
> 
> I can't even defrag the disk without admin rights :-(
> 
> I'm going to make one more push to get admin, and if not, just go
> ahead and install CentOS and see what happens.

Beware that resizing a Windows partition which has not been defrag'ed is a Bad 
Idea, and works only if you are lucky enough that Windows didn't use the end-
portion of the partition. Maybe it will work on a freshly installed and not-
ever-seriously-used Windows, but it's a gamble.

If it doesn't work, you're looking at data loss and corruption of the ntfs 
partition (fixing of the latter may require you to have admin privileges...).

If your Windows admin doesn't want to provide you with the privileges, why 
don't you ask him to resize the partition for you?

HTH, :-)
Marko


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


Re: [CentOS] confidence in partitioning tool (6.2)

2012-01-31 Thread Larry Martell
On Tue, Jan 31, 2012 at 7:11 AM, Marko Vojinovic  wrote:
> On Tuesday 31 January 2012 05:34:21 Larry Martell wrote:
>> On Mon, Jan 30, 2012 at 10:15 PM, Arun Khan  wrote:
>> > On Mon, Jan 30, 2012 at 9:57 PM, Ken godee  wrote:
>> >> Maybe a little different answer than you're looking for
>> >>
>> >> But why not install VMware Workstation (free)?
>> >
>> > The OP does not have admin rights to the Windows OS.  I presume he
>> > would need it to install any piece of software (I use Virtual Box).
>>
>> I can't even defrag the disk without admin rights :-(
>>
>> I'm going to make one more push to get admin, and if not, just go
>> ahead and install CentOS and see what happens.
>
> Beware that resizing a Windows partition which has not been defrag'ed is a Bad
> Idea, and works only if you are lucky enough that Windows didn't use the end-
> portion of the partition. Maybe it will work on a freshly installed and not-
> ever-seriously-used Windows, but it's a gamble.

I've found that there is an automated defrag scheduled for 1:45am on
Wednesdays. I probably won't be up then, but perhaps nothing will move
around between then and the morning.

> If it doesn't work, you're looking at data loss and corruption of the ntfs
> partition (fixing of the latter may require you to have admin privileges...).
>
> If your Windows admin doesn't want to provide you with the privileges, why
> don't you ask him to resize the partition for you?

Yeah, I'm in a remote location (at home) and it's a huge company with
centralized admin services and I'm working for a small division, but
perhaps I can get them to remote in and do it. They're just not very
responsive, so it's a slow process.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Htaccess management with GUI

2012-01-31 Thread nux
Jussi Hirvi writes:

> My webhotel client wants to be able to manage password protection of 
> their website with GUI. They need to create and destroy directories, set 
> .htaccess authentication, and create usernames and passwords.
> 
> There seem to be a number of tools that do this, more or less:
> 
> http://www.debianhelp.co.uk/htaccessweb.htm
> 
> However, I have not found any good comparisons or reviews. Has anyone 
> tested this kind of tools?
> 
> - Jussi

webmin

--
Nux!
www.nux.ro

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


Re: [CentOS] confidence in partitioning tool (6.2)

2012-01-31 Thread Ljubomir Ljubojevic
On 01/31/2012 03:21 PM, Larry Martell wrote:
> I've found that there is an automated defrag scheduled for 1:45am on
> Wednesdays. I probably won't be up then, but perhaps nothing will move
> around between then and the morning.
>

Just leave laptop in power and on during the night, or, if you have 
access to the BIOS, change the time in BIOS to 01:35am, and disable 
internet access to the laptop, so it defrags as soon as it is booted.

-- 

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

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


Re: [CentOS] confidence in partitioning tool (6.2)

2012-01-31 Thread John Doe
From: Marko Vojinovic 

> On Tuesday 31 January 2012 05:34:21 Larry Martell wrote:
>>  I can't even defrag the disk without admin rights :-(
>>  I'm going to make one more push to get admin, and if not, just go
>>  ahead and install CentOS and see what happens.
> Beware that resizing a Windows partition which has not been defrag'ed 
> is a Bad Idea, and works only if you are lucky enough that Windows 
> didn't use the end-portion of the partition. Maybe it will work on a freshly 
> installed and not-ever-seriously-used Windows, but it's a gamble.

I do not think that Windows basic defragging tool still moves all files bits to 
the 
begining of the partition...  It believe it just puts the bits of the same file 
in a 
sequential order (maybe also put directories entries at the beginning?) and 
that's it.  Other defrag utilities might do it though.
I would check with a "disk mapper" that displays files location on a disk 
graphically (I think there is maybe one in the sysinternal tools)...

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


Re: [CentOS] confidence in partitioning tool (6.2)

2012-01-31 Thread Philippe Naudin
Le mar 31 jan 2012 07:14:25 CET, John Doe a écrit:

> From: Marko Vojinovic 
> 
> > On Tuesday 31 January 2012 05:34:21 Larry Martell wrote:
> >>  I can't even defrag the disk without admin rights :-(
> >>  I'm going to make one more push to get admin, and if not, just go
> >>  ahead and install CentOS and see what happens.
> > Beware that resizing a Windows partition which has not been defrag'ed 
> > is a Bad Idea, and works only if you are lucky enough that Windows 
> > didn't use the end-portion of the partition. Maybe it will work on a 
> > freshly 
> > installed and not-ever-seriously-used Windows, but it's a gamble.
> 
> I do not think that Windows basic defragging tool still moves all files bits 
> to the 
> begining of the partition...  It believe it just puts the bits of the same 
> file in a 
> sequential order (maybe also put directories entries at the beginning?) and 
> that's it.  Other defrag utilities might do it though.
> I would check with a "disk mapper" that displays files location on a disk 
> graphically (I think there is maybe one in the sysinternal tools)...

Windows defrag doesn't "compact" the FileSystem ; ntfsresize does if
necessary.

Larry should have a look at "man ntfsresize" :
http://linux.die.net/man/8/ntfsresize

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


Re: [CentOS] Htaccess management with GUI

2012-01-31 Thread Mail Lists
On 01/31/2012 09:25 AM, n...@li.nux.ro wrote:
> Jussi Hirvi writes:
>
>> My webhotel client wants to be able to manage password protection of
>> their website with GUI. They need to create and destroy directories, set
>> .htaccess authentication, and create usernames and passwords.
>>
>> There seem to be a number of tools that do this, more or less:
>>
>> http://www.debianhelp.co.uk/htaccessweb.htm
>>
>> However, I have not found any good comparisons or reviews. Has anyone
>> tested this kind of tools?
>>
>> - Jussi
> webmin
>
>
I second this. I use webmin for the exact thing it works great. No guessing.

-- 
Brian - Get the latest Fremont, OH Weather 
http://www.Fremont-OH-Weather.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Htaccess management with GUI

2012-01-31 Thread Jussi Hirvi
On 31.1.2012 16.25, n...@li.nux.ro wrote:
> webmin

I was thinking about that, as I use webmin myself. I think, however, 
that webmin is overkill in this case. At the moment I am testing 
DirectoryPass

http://www.DirectoryPass.com/

...and it looks like nearly perfect for me, except it cannot actually 
create directories. But I think my client can do without. The important 
thing is that DirectoryPass supports multiple directories.

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


Re: [CentOS] libz.so.1 => not found

2012-01-31 Thread John R Pierce
On 01/31/12 6:04 AM, Dvorkin, Asya wrote:
> I figured it out.  Whoever was in charge of this server before me, added the 
> following lines to CentOS-Base.repo
>
> exclude=kernel kernel-devel kernel-PAE-*

FWIW (about US$0.02 before inflation), when I've done that, its almost 
always been because there was a proprietary kernel module on the system 
that wouldn't get updated with the new kernel (and wasn't using that 
auto-kernel-thing, whatever its called).



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

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


[CentOS] timeconfig

2012-01-31 Thread Jerry Geis
There used to be a timeconfig command in 5.X - doesnt seem present in 6.X

yum provides "*/timeconfig"
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
  * base: mirror.us.leaseweb.net
  * extras: mirror.umd.edu
  * updates: mirror.umd.edu
No Matches found

Whats the new command to set the timezone?

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


[CentOS] CentOS-announce Digest, Vol 83, Issue 12

2012-01-31 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. CESA-2012:0070 Moderate CentOS 5 ruby Update (Johnny Hughes)
   2. CESA-2012:0062 Moderate CentOS 6 t1lib Update (Johnny Hughes)
   3. CESA-2012:0059 Moderate CentOS 6 openssl Update (Johnny Hughes)
   4. CESA-2012:0058 Moderate CentOS 6 glibc Update (Johnny Hughes)
   5. CEEA-2012:0065  CentOS 6 openssh Update (Johnny Hughes)
   6. CEBA-2012:0068  CentOS 6 at Update (Johnny Hughes)
   7. CESA-2012:0069 Moderate CentOS 6 ruby Update (Johnny Hughes)
   8. CESA-2012:0070 Moderate CentOS 4 ruby Update (Johnny Hughes)
   9. CESA-2012:0071 Moderate CentOS 4 php Update (Johnny Hughes)


--

Message: 1
Date: Mon, 30 Jan 2012 18:44:29 +
From: Johnny Hughes 
Subject: [CentOS-announce] CESA-2012:0070 Moderate CentOS 5 ruby
Update
To: centos-annou...@centos.org
Message-ID: <20120130184429.ga19...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2012:0070 Moderate

Upstream details at : https://rhn.redhat.com/errata/RHSA-2012-0070.html

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

i386:
5dd6c4089114594cd9088736fa61e1484a3fe8230a48e36b86b988ca2d3890f5  
ruby-1.8.5-22.el5_7.1.i386.rpm
9ca857739feb2c02c0e59740c95f82c0385609ed171e3e4edf01f11fbeba8a10  
ruby-devel-1.8.5-22.el5_7.1.i386.rpm
2b29a6d8ad6a2193c9b9f24fcbd276c8184cce725f5ed3b30957def3308cb1b2  
ruby-docs-1.8.5-22.el5_7.1.i386.rpm
eb3a525d60654e8a173aeb2e5675eaccd388ad354c19e8a88c91062b51cf4ca0  
ruby-irb-1.8.5-22.el5_7.1.i386.rpm
5f83e1986e94bf001d5f5fe837ee0ba10043dd03e60af1cffd293e0c129d1d17  
ruby-libs-1.8.5-22.el5_7.1.i386.rpm
3f831a4f09fc44a7274d1c50c32abc1c2783473cdd14cbd1744b5d51efdde55f  
ruby-mode-1.8.5-22.el5_7.1.i386.rpm
fea94faafa6210d8bbe1b42f0d35a1630227e87724741fe39bc9701c2a138464  
ruby-rdoc-1.8.5-22.el5_7.1.i386.rpm
e28720c4e8adffdc626fcf1a5bac467219e7e8cb3246a46b79e35054489be73a  
ruby-ri-1.8.5-22.el5_7.1.i386.rpm
07525ec4730e0830d935ceeb9656f23c5dddaac98e88a55b0ec0edf8da826f3f  
ruby-tcltk-1.8.5-22.el5_7.1.i386.rpm

x86_64:
10c28448c7e73c2be59d5c69191a116e3c43e426b21d6254bdc7baa0789f5bbb  
ruby-1.8.5-22.el5_7.1.x86_64.rpm
9ca857739feb2c02c0e59740c95f82c0385609ed171e3e4edf01f11fbeba8a10  
ruby-devel-1.8.5-22.el5_7.1.i386.rpm
48f4e081af44b3ded22893a084a7c75c161f86e5bc46175e036fcbb812176abf  
ruby-devel-1.8.5-22.el5_7.1.x86_64.rpm
a0357ecaac795085a8ce61858aa0c20ec699eead9bba47d0190b17f5595b75fa  
ruby-docs-1.8.5-22.el5_7.1.x86_64.rpm
37f7818297f883c56c0c8a32b63513eeab0e547324771ea0220bece56a0d0890  
ruby-irb-1.8.5-22.el5_7.1.x86_64.rpm
5f83e1986e94bf001d5f5fe837ee0ba10043dd03e60af1cffd293e0c129d1d17  
ruby-libs-1.8.5-22.el5_7.1.i386.rpm
1a274803ecefb2ca4c158172ef6a23aeccd9737ce67634f3aaa9e10196d3f512  
ruby-libs-1.8.5-22.el5_7.1.x86_64.rpm
9ff4bb726162a240a060a69b5b6496a9e94de089f0bb377c940662e506c4035a  
ruby-mode-1.8.5-22.el5_7.1.x86_64.rpm
c8d5bad5ebb7e50f1bc014da76fc41f206ca271f0cba916b142daed92ef6649d  
ruby-rdoc-1.8.5-22.el5_7.1.x86_64.rpm
51bb4f9650efc155c3b8e529961b101cde2fe776ee9c2852aacd170dac5ab4b3  
ruby-ri-1.8.5-22.el5_7.1.x86_64.rpm
90890636b2b744fc0bfe5d0331e11a0a4f7249491c9653f142bf1618279684c5  
ruby-tcltk-1.8.5-22.el5_7.1.x86_64.rpm

Source:
91e75d13f1de3968c5b55c60e581c2ba2a9520bfc043d35fb9ef76f72a5a4c1b  
ruby-1.8.5-22.el5_7.1.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net



--

Message: 2
Date: Mon, 30 Jan 2012 20:25:25 +
From: Johnny Hughes 
Subject: [CentOS-announce] CESA-2012:0062 Moderate CentOS 6 t1lib
Update
To: centos-annou...@centos.org
Message-ID: <20120130202525.ga23...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2012:0062 Moderate

Upstream details at : https://rhn.redhat.com/errata/RHSA-2012-0062.html

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


i386:
b4665e1919352a1ee1416e0e6f4224845aad3aabb01300ef91971cab5e2db40e  
t1lib-5.1.2-6.el6_2.1.i686.rpm
4944c1b655fc832f49b1cb271ef17f7a604448493362a9e093a3ef1b5a804326  
t1lib-apps-5.1.2-6.el6_2.1.i686.rpm
242f6aa0d888b9852b52707d0ba1ad8923fd2a598a27cbd7eb57690b1f0b9dee  
t1lib-devel-5.1.2-6.el6_2.1.i686.rpm
00a409ba4ebb97fe634b948fbd669b555dd614f3fcfd5f9716762e4fac355fb8  
t1lib-static-5.1.2-6.el6_2.1.i686.rpm

x86

Re: [CentOS] timeconfig

2012-01-31 Thread Roberto Alvarado
cp -f /usr/share/zoneinfo/YOURTIMEZONE /etc/localtime

:D



On 01/31/2012 01:57 PM, Jerry Geis wrote:
> There used to be a timeconfig command in 5.X - doesnt seem present in 6.X
>
> yum provides "*/timeconfig"
> Loaded plugins: fastestmirror, refresh-packagekit
> Loading mirror speeds from cached hostfile
>* base: mirror.us.leaseweb.net
>* extras: mirror.umd.edu
>* updates: mirror.umd.edu
> No Matches found
>
> Whats the new command to set the timezone?
>
> jerry
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

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


Re: [CentOS] timeconfig

2012-01-31 Thread Mikolaj Walkiewicz
try maybe

$tzselect

On Tue, Jan 31, 2012 at 6:08 PM, Roberto Alvarado wrote:

> cp -f /usr/share/zoneinfo/YOURTIMEZONE /etc/localtime
>
> :D
>
>
>
> On 01/31/2012 01:57 PM, Jerry Geis wrote:
> > There used to be a timeconfig command in 5.X - doesnt seem present in 6.X
> >
> > yum provides "*/timeconfig"
> > Loaded plugins: fastestmirror, refresh-packagekit
> > Loading mirror speeds from cached hostfile
> >* base: mirror.us.leaseweb.net
> >* extras: mirror.umd.edu
> >* updates: mirror.umd.edu
> > No Matches found
> >
> > Whats the new command to set the timezone?
> >
> > jerry
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Best regards/Pozdrawiam,

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


Re: [CentOS] mod_rails under Apache under Centos 6

2012-01-31 Thread James B. Byrne

On Mon, January 30, 2012 12:12, Boris Epstein wrote:
> Hello listmates,
>
> For some reason we don't seem to be able to launch a
> Ruby-on-rails
> application ( http://www.redmine.org/ ) on a CentOS 6
> machine under Apache.
> Nor can I find a mod_rails as a separate package for it.
> Would anyone have
> any idea what we might be doing wrong?
>
> Thanks.
>
> Boris.

There is no mod-rails rpm package for any distro that I am
aware of.  Mod-rails is a rubygem available from
http://rubygems.org/ and is named passenger.  You will
need Rubygems installed, which is part of the default
ruby-1.8.7 package install on CentOS-6.

Installing mod-rails has two parts: First install the
passenger gem (# gem passenger).  Next, run the
appropriate build command for the httpd server that you
are using, Apache or Nginx (#
passenger-install-apache2-module).  You will require a
complete http development build environment for this to
work.

See http://www.modrails.com/install.html.

This question really belongs on the
rubyonrails-t...@googlegroups.com mailing list.

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

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


Re: [CentOS] libz.so.1 => not found

2012-01-31 Thread Ljubomir Ljubojevic
On 01/31/2012 05:52 PM, John R Pierce wrote:
> On 01/31/12 6:04 AM, Dvorkin, Asya wrote:
>> I figured it out.  Whoever was in charge of this server before me, added the 
>> following lines to CentOS-Base.repo
>>
>> exclude=kernel kernel-devel kernel-PAE-*
>
> FWIW (about US$0.02 before inflation), when I've done that, its almost
> always been because there was a proprietary kernel module on the system
> that wouldn't get updated with the new kernel (and wasn't using that
> auto-kernel-thing, whatever its called).

dkms


-- 

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

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


[CentOS] rsync from rescue boot

2012-01-31 Thread Les Mikesell
If I boot a 5.7 install disk with 'linux rescue selinux=0', let it
start the network and detect the installed system, ssh seems to work,
but rsync fails with "rsync:  connection unexpectedly closed (0 bytes
received so far) [receiver]).   Shouldn't it work as long as the
underlying ssh connection works?  It doesn't prompt for the ssh
password and using -essh doesn't change it.

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


Re: [CentOS] rsync from rescue boot

2012-01-31 Thread nux
Les Mikesell writes:

> If I boot a 5.7 install disk with 'linux rescue selinux=0', let it
> start the network and detect the installed system, ssh seems to work,
> but rsync fails with "rsync:  connection unexpectedly closed (0 bytes
> received so far) [receiver]).   Shouldn't it work as long as the
> underlying ssh connection works?  It doesn't prompt for the ssh
> password and using -essh doesn't change it.
> 

Les,

What commands are you using exactly? To or from the rescued host? Also, are 
you using ssh non-standard ports?

--
Nux!
www.nux.ro

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


Re: [CentOS] rsync from rescue boot

2012-01-31 Thread Les Mikesell
On Tue, Jan 31, 2012 at 12:29 PM,   wrote:
> Les Mikesell writes:
>
>> If I boot a 5.7 install disk with 'linux rescue selinux=0', let it
>> start the network and detect the installed system, ssh seems to work,
>> but rsync fails with "rsync:  connection unexpectedly closed (0 bytes
>> received so far) [receiver]).   Shouldn't it work as long as the
>> underlying ssh connection works?  It doesn't prompt for the ssh
>> password and using -essh doesn't change it.
>>

>
> What commands are you using exactly? To or from the rescued host? Also, are
> you using ssh non-standard ports?

It is from the rescued host - basically a:
rsync -essh otherhost:/path .

ssh otherhost 'cd /path && tar -cf - ' | tar -xvf -
seems to be working, so it is not related to network connectivity or ssh.

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


Re: [CentOS] rsync from rescue boot

2012-01-31 Thread nux
Les Mikesell writes:

> On Tue, Jan 31, 2012 at 12:29 PM,   wrote:
>> Les Mikesell writes:
>>
>>> If I boot a 5.7 install disk with 'linux rescue selinux=0', let it
>>> start the network and detect the installed system, ssh seems to work,
>>> but rsync fails with "rsync:  connection unexpectedly closed (0 bytes
>>> received so far) [receiver]).   Shouldn't it work as long as the
>>> underlying ssh connection works?  It doesn't prompt for the ssh
>>> password and using -essh doesn't change it.
>>>
> 
>>
>> What commands are you using exactly? To or from the rescued host? Also, are
>> you using ssh non-standard ports?
> 
> It is from the rescued host - basically a:
> rsync -essh otherhost:/path .
> 
> ssh otherhost 'cd /path && tar -cf - ' | tar -xvf -
> seems to be working, so it is not related to network connectivity or ssh.

That's odd, try rsync -e 'ssh -v' to get some more details.
Also you will want to use some parameters to rsync (like -av or maybe even 
-z for compression etc).

--
Nux!
www.nux.ro

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


[CentOS] Red Hat extends production lifecycle for EL5/6

2012-01-31 Thread Karanbir Singh
https://access.redhat.com/support/policy/updates/errata/

This will be of interest to pretty much everyone on the list.

"Red Hat offers support throughout four life-cycle phases—called
Production 1, 2, and 3, and an Extended Life Phase—for each major
release of Red Hat Enterprise Linux. With Red Hat Enterprise Linux 5 and
Red Hat Enterprise Linux 6, Red Hat offers 10 years of Production Phase
support from the initial product release date or general availability"


-- 
Karanbir Singh
+44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
ICQ: 2522219| Yahoo IM: z00dax  | Gtalk: z00dax
GnuPG Key : http://www.karan.org/publickey.asc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Load Balance between 2 NIC

2012-01-31 Thread Roberto Cantalapiedra
Hi,

I have a server with 2 NIC and 2 different ISP.
The idea is configure a Load Balance with these 2 providers.
I reviewed: http://lartc.org/lartc.html#LARTC.RPDB.MULTIPLE-LINKS but I
would like to know if this is a good method to use with CentOS 6.

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


Re: [CentOS] libz.so.1 => not found

2012-01-31 Thread Ljubomir Ljubojevic
On 01/31/2012 02:20 PM, Dvorkin, Asya wrote:
> Thank you!  I've copied the file using USB drive and now the server is up and 
> running.  I also did yum reinstall zlib.
>
> Now when I do yum update, it says: No Packages marked for Update
>
> If that's the case, how come /etc/redhat-release still shows CentOS release 
> 5.5 (Final) ?
>

You can use "yum history" set of commands to see what was don by yum, 
and to revert the upgrade, repeat it, etc.

yum history list
yum history info 
yum history help - for full list of commands


-- 

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

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


Re: [CentOS] Red Hat extends production lifecycle for EL5/6

2012-01-31 Thread Ljubomir Ljubojevic
On 01/31/2012 08:32 PM, Karanbir Singh wrote:
> https://access.redhat.com/support/policy/updates/errata/
>
> This will be of interest to pretty much everyone on the list.
>
> "Red Hat offers support throughout four life-cycle phases—called
> Production 1, 2, and 3, and an Extended Life Phase—for each major
> release of Red Hat Enterprise Linux. With Red Hat Enterprise Linux 5 and
> Red Hat Enterprise Linux 6, Red Hat offers 10 years of Production Phase
> support from the initial product release date or general availability"
>
>

And Red Hat Enterprise Linux 3 & Red Hat Enterprise Linux 4 have 7 years 
of Production Phase support


-- 

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

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


Re: [CentOS] rsync from rescue boot

2012-01-31 Thread Les Mikesell
On Tue, Jan 31, 2012 at 1:07 PM,   wrote:

>>>
>>> What commands are you using exactly? To or from the rescued host? Also, are
>>> you using ssh non-standard ports?
>>
>> It is from the rescued host - basically a:
>> rsync -essh otherhost:/path .
>>
>> ssh otherhost 'cd /path && tar -cf - ' | tar -xvf -
>> seems to be working, so it is not related to network connectivity or ssh.
>
> That's odd, try rsync -e 'ssh -v' to get some more details.
> Also you will want to use some parameters to rsync (like -av or maybe even
> -z for compression etc).

I'm getting a
usage: ssh  [bunch of ssh options]
like it is giving the wrong command line to ssh. Or maybe the lack of
an /etc/ssh/ssh_config in this environment is breaking it, although my
own ssh commands and connections seem to work.  I haven't done the
chroot into the installed mount since I was planning to overwrite it.

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


Re: [CentOS] GUI login issues over NFS

2012-01-31 Thread Michael Weiner
On Fri, Jan 27, 2012 at 9:28 AM, Tru Huynh  wrote:
> no other idea for the moment.

Tru -

I think i *MAY* have this figured out. When you do 'ibrix_fs -i' is
compatibility set to no? If so, are you a 64-bit client only shop? I
am wondering if our having the 64-bit mode set is causing the
problems.

[root@lri-brix01 temp]# ibrix_fs -i
FileSystem: ibrix
=
Total Segments:  24
STATE :  Mounted
Mirrored? :  No
Compatible?   :  No

My test, was to build a duplicate workstation as a 64-bit CentOS and
configure it the same as the 32-bit CentOS workstation. And low and
behold, i was ABLE  to log in to a mounted $HOME directory from the
ibrix system using NIS authentication. And i noticed that the
compatibility is set to no, so its a 64-bit enabled filesystem.

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


Re: [CentOS] rsync from rescue boot

2012-01-31 Thread Les Mikesell
On Tue, Jan 31, 2012 at 1:50 PM,   wrote:
> 
>>> That's odd, try rsync -e 'ssh -v' to get some more details.
>>> Also you will want to use some parameters to rsync (like -av or maybe
>>> even
>>> -z for compression etc).
>>
>> I'm getting a
>> usage: ssh  [bunch of ssh options]
>> like it is giving the wrong command line to ssh. Or maybe the lack of
>> an /etc/ssh/ssh_config in this environment is breaking it, although my
>> own ssh commands and connections seem to work.  I haven't done the
>> chroot into the installed mount since I was planning to overwrite it.
>
> Any chance that either your system, or the rescued system, are blocking
> it, because it doesn't know who your host, or your host doesn't know the
> rescued host?
>
> I'd try chrooting and restarting sshd.

No, I'm trying to have rsync make an outbound connection over ssh from
the rescue environment and getting what looks like an argument error
from ssh.   Ssh itself works and I can connect to the same target if I
run it directly, and the exact same rsync command lines work from a
normal host.  Either rsync isn't setting up the remote command right,
or ssh isn't allowing it and giving a bad error message.

The goal here was basically to clone a running machine into a new
VMware image booted into rescue mode.  Maybe there's a better way to
do that anyway.  The source is using RAID1 drives in a layout that the
VMware converter won't handle.   The tar | tar copy seems to be mostly
OK with a little tweaking of fstab, etc.  I'm going to give 'ReaR'
(from EPEL) a try too - it is supposed to do most of the grunge work
for you but you have to intervene manually if you want to change the
disk layout.

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


Re: [CentOS] rsync from rescue boot

2012-01-31 Thread Ljubomir Ljubojevic
On 01/31/2012 09:47 PM, Les Mikesell wrote:
> No, I'm trying to have rsync make an outbound connection over ssh from
> the rescue environment and getting what looks like an argument error
> from ssh.   Ssh itself works and I can connect to the same target if I
> run it directly, and the exact same rsync command lines work from a
> normal host.  Either rsync isn't setting up the remote command right,
> or ssh isn't allowing it and giving a bad error message.

How about something like

tar cvf - . | gzip -c -1 | ssh user@host cat ">" remotefile.gz

to get the filesystem across the ssh?


-- 

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

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


Re: [CentOS] rsync from rescue boot

2012-01-31 Thread Les Mikesell
On Tue, Jan 31, 2012 at 3:14 PM, Ljubomir Ljubojevic  wrote:
> On 01/31/2012 09:47 PM, Les Mikesell wrote:
>> No, I'm trying to have rsync make an outbound connection over ssh from
>> the rescue environment and getting what looks like an argument error
>> from ssh.   Ssh itself works and I can connect to the same target if I
>> run it directly, and the exact same rsync command lines work from a
>> normal host.  Either rsync isn't setting up the remote command right,
>> or ssh isn't allowing it and giving a bad error message.
>
> How about something like
>
> tar cvf - . | gzip -c -1 | ssh user@host cat ">" remotefile.gz
>
> to get the filesystem across the ssh?

I'm going the other direction (originating the command from the rescue
host), but yes, tar works over ssh, and and ssh works by itself.  The
part that doesn't work is ssh when invoked by rsync, either by default
or with an explicit '-essh' argument, and the error message looks like
an ssh argument error so it doesn't even prompt for the password.

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


Re: [CentOS] rsync from rescue boot

2012-01-31 Thread Ljubomir Ljubojevic
On 01/31/2012 10:58 PM, Les Mikesell wrote:
> On Tue, Jan 31, 2012 at 3:14 PM, Ljubomir Ljubojevic  wrote:
>> On 01/31/2012 09:47 PM, Les Mikesell wrote:
>>> No, I'm trying to have rsync make an outbound connection over ssh from
>>> the rescue environment and getting what looks like an argument error
>>> from ssh.   Ssh itself works and I can connect to the same target if I
>>> run it directly, and the exact same rsync command lines work from a
>>> normal host.  Either rsync isn't setting up the remote command right,
>>> or ssh isn't allowing it and giving a bad error message.
>>
>> How about something like
>>
>> tar cvf - . | gzip -c -1 | ssh user@host cat ">" remotefile.gz
>>
>> to get the filesystem across the ssh?
>
> I'm going the other direction (originating the command from the rescue
> host), but yes, tar works over ssh, and and ssh works by itself.  The
> part that doesn't work is ssh when invoked by rsync, either by default
> or with an explicit '-essh' argument, and the error message looks like
> an ssh argument error so it doesn't even prompt for the password.
>

I meant to suggest that you pipe your data over the ssh tunnel. I know 
you are smart enough to use your tool of choice instead of tar 
specifically.

-- 

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

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


Re: [CentOS] rsync from rescue boot

2012-01-31 Thread Les Mikesell
On Tue, Jan 31, 2012 at 4:01 PM,   wrote:
>> On Tue, Jan 31, 2012 at 3:14 PM, Ljubomir Ljubojevic 
>> wrote:
>>> On 01/31/2012 09:47 PM, Les Mikesell wrote:
 No, I'm trying to have rsync make an outbound connection over ssh from
 the rescue environment and getting what looks like an argument error
 from ssh.   Ssh itself works and I can connect to the same target if I
 run it directly, and the exact same rsync command lines work from a
 normal host.  Either rsync isn't setting up the remote command right,
 or ssh isn't allowing it and giving a bad error message.
> 
>> I'm going the other direction (originating the command from the rescue
>> host), but yes, tar works over ssh, and and ssh works by itself.  The
>> part that doesn't work is ssh when invoked by rsync, either by default
>> or with an explicit '-essh' argument, and the error message looks like
>> an ssh argument error so it doesn't even prompt for the password.
>
> AUGH! I think I have it: are the versions of rsync on the rescue instance
> and the other server the same?

It's not getting that far.  I'm getting an error trying to start the
local ssh.  And at this point I have working VM from the tar copy,
_except_ that it isn't matching a driver to the virtual NIC.  I'm glad
I'm not restoring a real backup with a dead machine here...

Since I don't need this today, I think I'll  try ReaR to see if it
gets it right.  It builds a bootable iso that is supposed to
re-install on bare metal.

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


Re: [CentOS] Antwort: Re: libz.so.1 => not found

2012-01-31 Thread Johnny Hughes
On 01/31/2012 06:45 AM, Andreas Reschke wrote:
> centos-boun...@centos.org schrieb am 31.01.2012 13:38:09:
>
>> "Dvorkin, Asya"  
>> Gesendet von: centos-boun...@centos.org
>>
>> 31.01.2012 13:38
>>
>> Bitte antworten an
>> CentOS mailing list 
>>
>> An
>>
>> CentOS mailing list 
>>
>> Kopie
>>
>> Thema
>>
>> Re: [CentOS] libz.so.1 => not found
>>
>> Sorry, i meant to say /usr/lib64/libz.so.1 is missing…
>>
>> Thank you for all your help,
>> Asya
>>
>>
>> On Jan 31, 2012, at 7:29 AM, Dvorkin, Asya wrote:
>>
>>> Hello,
>>>
>>> We have an older AFS server, which was running Centos 5.5.  It 
>> hasn't been updated in a while because of the plans to move it to 
>> another server, but it never happened.
>>> Thus, we've decided to upgrade it to 5.7…
>>>
>>> I did yum clean all and yum update.  Everything ran smoothly and 
>> no issues.  After the reboot, zlib.so.1 can no longer be found.   /
>> usr/lib64/zlib.so.1 is a symbolic link to /lib64/zlib.so.1, but the 
>> file does not exist.  Because of this, ssh/yum/rpm do not work…
>>> I've been googling, but can't find a solid answer.  This is a 
>> production server and I need to have it up and running as soon as 
> possible…
>>> Any ideas?
>>>
>>> Thank you!
>>> Asya
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
> Hello Asya,
>
> with "um whatprovides */libz.so.1"
>
> I found following rpms:
>
> zlib-1.2.3-27.el6.x86_64 : The zlib compression and decompression library
> Repo: base
> Matched from:
> Filename: /lib64/libz.so.1
>
>
>
> zlib-1.2.3-27.el6.i686 : The zlib compression and decompression library
> Repo: base
> Matched from:
> Filename: /lib/libz.so.1
>
>
>
> nxclient-3.5.0-7.x86_64 : NX Client
> Repo: own_repo
> Matched from:
> Filename: /usr/NX/lib/libz.so.1
>
>
>
> nxclient-3.5.0-6.x86_64 : NX Client
> Repo: own_repo
> Matched from:
> Filename: /usr/NX/lib/libz.so.1
>
>
>
> dropbox-0.7.110-3.el6.rf.x86_64 : Sync and backup files between computers
> Repo: rpmforge
> Matched from:
> Filename: /usr/libexec/dropbox/libz.so.1
>
>
>
> dropbox-1.1.27-2.el6.rf.x86_64 : Sync and backup files between computers
> Repo: rpmforge
> Matched from:
> Filename: /usr/libexec/dropbox/libz.so.1
>
>
>
> nxclient-3.5.0-7.x86_64 : NX Client
> Repo: installed
> Matched from:
> Filename: /usr/NX/lib/libz.so.1
>
>
>
> zlib-1.2.3-27.el6.x86_64 : The zlib compression and decompression library
> Repo: installed
> Matched from:
> Filename: /lib64/libz.so.1
>
>
>
> zlib-1.2.3-27.el6.i686 : The zlib compression and decompression library
> Repo: installed
> Matched from:
> Filename: /lib/libz.so.1
>
>

And specifically for 5.7:

zlib-1.2.3-4.el5.x86_64 : The zlib compression and decompression library.
Repo: installed
Matched from:
Other   : Provides-match: /usr/lib64/libz.so.1





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


Re: [CentOS] Quantum scalar i40 tape partitions

2012-01-31 Thread David G . Miller
Xinhuan Zheng  writes:

> 
> Hi All,
> 
> I have a Quantum scalar i40 tape library. I need to configure it to TWO tape
partition libraries, e.g.,
> library_a and library_b, so that each library has its own tape drive. Then
connect this physical tape
> library to two different CentOS servers so that each server can see its own
media changer and tape drive. I
> once had a successful configuration on one host but NOT on the other. One host
sees the media changer and one
> tape drive, while the other host only sees the tape drive. After I delete tape
partitions and re-create
> them both servers are totally screwed up. This is CentOS 5.7 kernel 
> 2.6.18-274.
> 
> On one server:
> 
> # cat /proc/scsi/scsi
> Attached devices:
> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>   Vendor: HP   Model: Ultrium 5-SCSI   Rev: Z58Z
>   Type:   Sequential-AccessANSI SCSI revision: 06
> Host: scsi0 Channel: 00 Id: 00 Lun: 01
>   Vendor: QUANTUM  Model: Scalar i40-i80   Rev: 135G
>   Type:   Medium Changer   ANSI SCSI revision: 03
> 
> # mtx -f /dev/sg0 inquiry
> mtx: Request Sense: Long Report=yes
> mtx: Request Sense: Valid Residual=no
> mtx: Request Sense: Error Code=70 (Current)
> mtx: Request Sense: Sense Key=Illegal Request
> mtx: Request Sense: FileMark=no
> mtx: Request Sense: EOM=no
> mtx: Request Sense: ILI=no
> mtx: Request Sense: Additional Sense Code = 25
> mtx: Request Sense: Additional Sense Qualifier = 00
> mtx: Request Sense: BPV=no
> mtx: Request Sense: Error in CDB=no
> mtx: Request Sense: SKSV=no
> INQUIRY Command Failed
> 
> # mtx -f /dev/sg1 inquiry
> mtx: Request Sense: Long Report=yes
> mtx: Request Sense: Valid Residual=no
> mtx: Request Sense: Error Code=70 (Current)
> mtx: Request Sense: Sense Key=Illegal Request
> mtx: Request Sense: FileMark=no
> mtx: Request Sense: EOM=no
> mtx: Request Sense: ILI=no
> mtx: Request Sense: Additional Sense Code = 25
> mtx: Request Sense: Additional Sense Qualifier = 00
> mtx: Request Sense: BPV=no
> mtx: Request Sense: Error in CDB=no
> mtx: Request Sense: SKSV=no
> INQUIRY Command Failed
> 
> On the other server:
> 
> tape drive (/dev/st0 not even present).
> 
> Can someone please help?
> 
> Thanks,
> 
> - xinhuan
> 
Some observations and some questions:

1) You would probably do better asking for this kind of help on a more
tape-centric or even Quantum specific forum.

2) If I read your description correctly, you have one tape changer with two
physical drives.  You can partition the library but there is still only one
changer.  That could be the problem.

3) You don't say how you attach the library to the servers.  I'm guessing fibre
channel through a FC switch.  Is this correct?  With the correct software both
servers could end up seeing the library as their own this way.

4) You can try doing a "rmmod sg" followed by a "modprobe sg".  This will result
in your systems resensing the SCSI bus.

Cheers,
Dave



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


[CentOS] Double Copies Double Copies

2012-01-31 Thread Mark LaPierre
Hey Y'all, why am I getting double copies of every email on this list 
today when it wasn't happening yesterday?  Isn't happening on any of my 
other email.

-- 
 _
°v°
   /(_)\
^ ^  Mark LaPierre
Registerd Linux user No #267004
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How does a linux DHCP machine inform DNS of its name and obtained address

2012-01-31 Thread Jerry Geis
I am using a number of DHCP devices on a network. Working fine with 
CentOS  5 x86_64.
My question is now how do I tell the DNS (after I get my DHCP address) 
about my devices
name and IP address so that others can find me by my machine name?

I thought that was an automatic thing - but it appears not.

Thanks,

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


Re: [CentOS] How does a linux DHCP machine inform DNS of its name and obtained address

2012-01-31 Thread Les Bell

Jerry Geis  wrote:

>>
My question is now how do I tell the DNS (after I get my DHCP address)
about my devices name and IP address so that others can find me by my
machine name?
<<

I wrote this years ago, so it might need updating, but the basics should
still be the same.

http://www.lesbell.com.au/Home.nsf/web/Dynamic+DNS+Updates+with+TSIG+for+Security?OpenDocument

Best,

--- Les Bell
[http://www.lesbell.com.au]
Tel: +61 2 9451 1144


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


Re: [CentOS] How does a linux DHCP machine inform DNS of its name and obtained address

2012-01-31 Thread Marko Vojinovic
On Tuesday 31 January 2012 22:06:53 Jerry Geis wrote:
> I am using a number of DHCP devices on a network. Working fine with
> CentOS  5 x86_64.
> My question is now how do I tell the DNS (after I get my DHCP address)
> about my devices
> name and IP address so that others can find me by my machine name?

What you want is called "Dynamic DNS" (or DDNS for short), and it needs to be 
active on the DNS server, if it is to work. You cannot make that work only by 
configuring the client.
 
> I thought that was an automatic thing - but it appears not.

It is not automatic by default because in principle it can represent a 
security vulnerability, if not used properly.

HTH, :-)
Marko


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