Re: [CentOS] Live CD boot for KVM guest. How?

2011-10-20 Thread Müfit Eribol
On 19.10.2011 21:07, Ljubomir Ljubojevic wrote:
> Vreme: 10/19/2011 06:34 PM, Müfit Eribol piše:
>> Hi,
>>
>> My host and guest are CentOS 6. The guest is going to be a web server in
>> production. I am trying to resize (extend) of the base partition of my
>> guest.  But I can of course start the installation of CentOS 6 guest all
>> over again with a larger image size. However, just for the sake of
>> better understanding I an trying to solve things not to be end up in a
>> dead end after some years.
>>
>> 1. I created a guest CentOS 6 with 12G total disk (on a iscsi drive). No
>> Desktop, just for terminal use. No LVM, just a simple basic partitioning.
>> 2. Later I wanted to increase the size of total image to 200G.
>> 3. I managed to resize the image to 200G on my iscsi drive. So, there is
>> 188G unallocated/unformatted volume within the guest image.
>>
>> Now, the hardest part. I have to resize the partition. I have been
>> trying to find a way to do that. A search on Google showed that GParted
>> is tool to do that. I had to install all Desktop and X as Gparted is a
>> GUI tool. Installed vncserver. Then, I found out that GParted can not
>> resize the live guest. So, I downloaded GParted Live CD.
>>
>> Now, the questions:
>>
>> 1. If it was a physical machine I would boot from the CD. If I can boot
>> it from host CDROM but then how should I operate on a specific guest?
>> What is the easiest way to access GUI of the guest if I boot from Live CD.
>> 2. I am wondering if a simple LVM route at the beginning would be
>> preferred. Changing size of the iscsi volume on my NAS is easy. I
>> thought there was no need for more complication, so went with basic
>> /boot / and swap partitions. Is resizing partitions for LVM easier than
>> basic partitioning (without LVM)?
>> 3. Is there a specific tool in KVM suit which performs resizing
>> partition within the image? Or as I prefer command line tools, is there
>> a way to achieve resizing without any graphical tool like GParted? With
>> GParted I had to install all the X and Gnome files, vncserver which
>> otherwise I don't need.
>>
>> I would appreciate any information/hint/experience.
>>
>> All the best.
> Hi.
>
> My view is:
>
> a) Use LVM so you can manipulate size of partition(s). Resizing etx4
> partitions is horrible job, long and dangerous.
>
> b) You can mount ISO image file of any CD via Guests VirtualCD, no need
> to mess with physical CD/DVD drives. There is System Rescue CD, CentOS
> LiveCD (I have one 5.3 with mdadm raid support and bunch of tools,I will
> soon be making 6.1 version) or Hiren's Boot CD - Parted. Root partition
> needs offline resize since extX partitions can not be mounted at the
> time of the resizing.
>
> c) All text-based resize tools require higher knowledge and/or
> experience, like alignment to sectors and similar mambo-jumbo. When you
> need to make it happen on production server without experimentation and
> you have done it only once 3 years ago it IS mambo-jumbo.
>
> d) As far as I know, KVM can not mount virtual hard drives, so meesing
> with them is not an option, unless you use "raw" partition on the Host
> (still haven't tried it).
>

It is good to know at the very beginning that LVM is the way to go. So, 
I am reinstalling the server with LVM. It is good to know about it so early.

Just for learning, could you please provide some more info about booting 
up the LiveCD ISO image (uploaded to the host) to work on a guest? How 
is the command line?

Thank you for your kind help.

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


Re: [CentOS] Live CD boot for KVM guest. How?

2011-10-20 Thread Müfit Eribol
On 19.10.2011 23:12, Theo Band wrote:
> On 10/19/2011 08:15 PM, John R Pierce wrote:
>> On 10/19/11 9:34 AM, Müfit Eribol wrote:
>>> My host and guest are CentOS 6. The guest is going to be a web server in
>>> production. I am trying to resize (extend) of the base partition of my
>>> guest.  But I can of course start the installation of CentOS 6 guest all
>>> over again with a larger image size. However, just for the sake of
>>> better understanding I an trying to solve things not to be end up in a
>>> dead end after some years.
>> rather than resizing the system 'drive', I woudl have simply created
>> ANOTHER logical drive mapped to the guest, and create a new file system
>> on it, moving the stuff thats filling up your base disk (/home ?
>> /var/www ?) to it, then remounting it as the 'new' /home or /var/www or
>> whatever
> Agree.
> But if your system disk is now bigger, you can also create a new
> partition (even while the system is live) and use this new partition.
> And I would still use LVM for this new partition. This does not really
> add much complexity. It does add a lot of flexibility. The steps are:
>
> parted /dev/sda
> mkpart p ext2  
>
> pvcreate /dev/sda2 (your new second new partition?)
> vgcreate vg /dev/sda2
> lvcreate vg -n test -L 10G
> mkfs.ext4 /dev/vg/test
>
> The volume group does not need to be assigned completely and leaves some
> room to carve new partitions in the future. Also the snapshot feature
> allows to create consistent backups if needed.
>
> I even think you can used parted to change you system partition. Simply
> delete the partition and recreate with the exact same starting sector.
> One mistake and you will loose a lot though, so why would you even try?
>
> Theo
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
Thank you for your support.

I perfectly understand that LVM is the way to go.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C6 compatible wireless printers?

2011-10-20 Thread nux
Bowie Bailey writes:

> On 10/19/2011 3:47 PM, Patrick Lists wrote:
>> On 10/19/2011 09:40 PM, n...@li.nux.ro wrote:
>>> Hi,
>>>
>>> Any success stories with C6 and wireless printers? Or maybe horror stories
>>> and what products to avoid?
>>>
>>> I'm looking at some HPs on amazon right now, some quite cheap, ~ £50, not
>>> bad. Ideally they should have easy to refill cartridges.
>> I have an HP OfficeJet Pro L7780 which works fine (wirelessly & via 
>> Ethernet) with CentOS 5 so I would assume it should work with CentOS 6 
>> too. It's definitely not in the 50 pound range though.
> 
> We have a Samsung ML-2525W.  I haven't tried it with CentOS, but one guy
> here did set it up on Ubuntu without any problems and there are Linux
> drivers available on their website.  (We are using it on a wired
> network, but aside from the initial printer setup, there shouldn't be
> any differences)
> 
> This is a b&w laser printer.  You didn't specify whether you were
> looking for a laser or an inkjet.

Thanks all for the answers, sorry for not being more specific. I'm 
looking for an inkjet printer for home use. I think I got the idea, anyway. 
Thanks. :)

--
Nux!
www.nux.ro
 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba + Openldap

2011-10-20 Thread Al
I would just need to add those attributes in openldap?  I'm not very 
experienced, that is why I asked for howto/tutorials... I've been building an 
openldap and samba environment in a staged virtual system, so I can get a 
better understanding on how it all works.  It seems to me I would have to add 
additional attributes to all those users and load the samba.schema onto the 
master server, then go on the samba server and configure it to use ldap?  I'm 
not so sure, I guess it'll take some time for me to figure it all out...

On Oct 19, 2011, at 1:31 PM, Craig White wrote:

> 
> On Oct 19, 2011, at 8:16 AM, Al wrote:
> 
>> This isn't what I was talking about ... Let me be a little more specific ... 
>> I've got an openldap system configured, just need to setup Samba to use 
>> openldap to allow them to access there shells via Windows Explorer.  They 
>> usually login via SSH, but want to have the ability to copy things over to 
>> the Windows without using SFTP.
> 
> I can't see how that actually matters because you want them to gain access to 
> the samba server using their accounts and samba requires both a POSIX & a 
> SAMBA user and the logical place for a SAMBA user is to have their SAMBA 
> attributes in the same LDAP record.
> 
> At that point, they could easily mount a SAMBA share on their Windows box 
> using the same account (though Windows passwords use a Windows compatible 
> hashed password). Basically, the user account in LDAP has both POSIX & SAMBA 
> attributes including userPassword (POSIX) and sambaNTPassword (SAMBA) and 
> group memberships that may be one or both (though I tend to create groups 
> that are both).
> 
> The easiest way to demonstrate is to use my own setup...
> 
> # ldapsearch -x '(uid=craig)' -D uid=craig,ou=people,dc=azapple,dc=com -W
> Enter LDAP Password: 
> # extended LDIF
> #
> # LDAPv3
> # base  (default) with scope subtree
> # filter: (uid=craig)
> # requesting: ALL
> #
> 
> # craig, people, azapple.com
> dn: uid=craig,ou=people,dc=azapple,dc=com
> sambaPwdMustChange: 2147483647
> labeledURI: http://linuxserver/horde/kronolith/fb.php?c=craig
> sambaSID: S-1-5-21-1423820788-2381578139-XX-1000
> calFBURL: http://srv2.azapple.com/horde/kronolith/fb.php?c=craig
> sambaPasswordHistory: 
> 
> displayName: Craig White
> sambaMungedDial: 1
> shadowMax: 9
> sambaLogonScript: logon.bat
> sambaProfilePath: \\SRV2\profiles\craig
> cn: Craig White
> uidNumber: 1000
> shadowWarning: 7
> sambaPrimaryGroupSID: 1423820788-2381578139-XX-513
> sambaAcctFlags: [U  ]
> gecos: Craig White
> shadowLastChange: 15199
> sambaPwdLastSet: 1313206319
> mail: cr...@azapple.com
> userPassword:: REMOVED...
> sambaLMPassword: REMOVED
> uid: craig
> sambaPwdCanChange: 1313206319
> sambaHomePath: \\SRV2\homes\craig
> homeDirectory: /home/craig
> description: Craig is a local user
> objectClass: posixAccount
> objectClass: shadowAccount
> objectClass: person
> objectClass: inetOrgPerson
> objectClass: sambaSamAccount
> objectClass: top
> objectClass: calEntry
> gidNumber: 100
> sambaDomainName: AZAPPLE
> givenName: Craig
> sambaHomeDrive: h:
> sambaNTPassword: REMOVED
> sn: White
> loginShell: /bin/bash
> 
> # search result
> search: 2
> result: 0 Success
> 
> # numResponses: 2
> # numEntries: 1
> ___
> 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] Backup live system

2011-10-20 Thread ken
Though I've worked with enterprise systems, I'm not familiar with FOOS 
backup software.  Which of those recommended would allow me to backup a 
system while users are active on it?  If it matters the system uses LVM. 
I'd also like to be able to avoid needing the network if possible. 
That is, I'd plug in a disk into a USB port and backup the system onto 
that... again, while the system is live.

Thanks much.

-- 
War is a failure of the imagination.
 --William Blake

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


Re: [CentOS] Backup live system

2011-10-20 Thread m . roth
ken wrote:
> Though I've worked with enterprise systems, I'm not familiar with FOOS
> backup software.  Which of those recommended would allow me to backup a
> system while users are active on it?  If it matters the system uses LVM.
> I'd also like to be able to avoid needing the network if possible.
> That is, I'd plug in a disk into a USB port and backup the system onto
> that... again, while the system is live.
>
There's always rsync - that's what we use.

 mark
> --
> War is a failure of the imagination.
>  --William Blake

Like that sigfile.



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


Re: [CentOS] Backup live system

2011-10-20 Thread Les Mikesell
On Thu, Oct 20, 2011 at 9:52 AM, ken  wrote:
> Though I've worked with enterprise systems, I'm not familiar with FOOS
> backup software.  Which of those recommended would allow me to backup a
> system while users are active on it?  If it matters the system uses LVM.
>    I'd also like to be able to avoid needing the network if possible.
> That is, I'd plug in a disk into a USB port and backup the system onto
> that... again, while the system is live.


It is rare for linux applications to lock files, so almost all backup
tools will work on an active system, catching the files in whatever
state happens to appear in the filesystem.  However, database-type
applications will have their own requirements to preserve consistency
across tables in the snapshot.

Tar/dump/cpio/rsync are all good for copying data.  If you want
something that can completely reconstruct your system, look at
http://rear.sourceforge.net/ (also in EPEL) which should meet you need
exactly.  But, anytime someone mentions backups, I like to plug
backuppc.  It does use the network (and another machine) and it won't
restore a bootable disk, but it generally takes care of itself and
makes sure you always have backup copies with little effort.
(http://backuppc.sourceforge.net/ and EPEL).

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


Re: [CentOS] Samba + Openldap

2011-10-20 Thread Arun Khan
On Thu, Oct 20, 2011 at 8:02 PM, Al  wrote:
> I would just need to add those attributes in openldap?  I'm not very 
> experienced, that is why I asked for howto/tutorials... I've been building an 
> openldap and samba environment in a staged virtual system, so I can get a 
> better understanding on how it all works.  It seems to me I would have to add 
> additional attributes to all those users and load the samba.schema onto the 
> master server, then go on the samba server and configure it to use ldap?  I'm 
> not so sure, I guess it'll take some time for me to figure it all out...

Yes, you have to add the samba.schema to your openLDAP setup.  The
schema automatically brings in the user attributes.  You will need to
populate them for the Samba specific attributes.  Indeed, doing it in
a virtual machine is a good way to learn about the LDAP+Samba
integration.

As some one else has suggested, smb-ldap tools does the user
management work for both Unix and Samba.  LAM is a PHP based web app
to manage your LDAP setup, it does support the SAMBA extensions.

HTH,

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


[CentOS] CentOS-announce Digest, Vol 80, Issue 8

2011-10-20 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-2011:1383 CentOS 5 x86_64 cvs FASTTRACK  Update
  (Johnny Hughes)
   2. CEBA-2011:1383 CentOS 5 i386 cvs FASTTRACK Update (Johnny Hughes)
   3. CESA-2011:1380 Critical CentOS 5 i386 java-1.6.0-openjdk
  Update (Johnny Hughes)
   4. CESA-2011:1380 Critical CentOS 5 x86_64   java-1.6.0-openjdk
  Update (Johnny Hughes)
   5. CESA-2011:1385 Moderate CentOS 5 i386 kdelibs Update
  (Johnny Hughes)
   6. CESA-2011:1385 Moderate CentOS 5 x86_64 kdelibs   Update
  (Johnny Hughes)


--

Message: 1
Date: Wed, 19 Oct 2011 17:44:10 +
From: Johnny Hughes 
Subject: [CentOS-announce] CEBA-2011:1383 CentOS 5 x86_64 cvs
FASTTRACK   Update
To: centos-annou...@centos.org
Message-ID: <20111019174410.ga19...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2011:1383 

Upstream details at : http://rhn.redhat.com/errata/RHBA-2011-1383.html

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

x86_64:
d2d661a31425a255bebbed69b767a4f0  cvs-1.11.22-9.el5.x86_64.rpm
a3bb5e880398696f22c21cc60757e343  cvs-inetd-1.11.22-9.el5.x86_64.rpm

Source:
b496b948c4323e2d9f5dc33c31b83f9c  cvs-1.11.22-9.el5.src.rpm


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



--

Message: 2
Date: Wed, 19 Oct 2011 17:44:10 +
From: Johnny Hughes 
Subject: [CentOS-announce] CEBA-2011:1383 CentOS 5 i386 cvs FASTTRACK
Update
To: centos-annou...@centos.org
Message-ID: <20111019174410.ga19...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2011:1383 

Upstream details at : http://rhn.redhat.com/errata/RHBA-2011-1383.html

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

i386:
c637bc159fb8f3dc9f8cef05b389d62e  cvs-1.11.22-9.el5.i386.rpm
e15f386f8ada62ac5272ff0b051d8637  cvs-inetd-1.11.22-9.el5.i386.rpm

Source:
b496b948c4323e2d9f5dc33c31b83f9c  cvs-1.11.22-9.el5.src.rpm


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



--

Message: 3
Date: Wed, 19 Oct 2011 21:07:19 +
From: Johnny Hughes 
Subject: [CentOS-announce] CESA-2011:1380 Critical CentOS 5 i386
java-1.6.0-openjdk Update
To: centos-annou...@centos.org
Message-ID: <20111019210719.ga29...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2011:1380 Critical

Upstream details at : https://rhn.redhat.com/errata/RHSA-2011-1380.html

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

i386:
2a9257de63e8d6912120d260a78c7b54  
java-1.6.0-openjdk-1.6.0.0-1.23.1.9.10.el5_7.i386.rpm
1413a1ec73bee83f83185f9c83a3fe94  
java-1.6.0-openjdk-demo-1.6.0.0-1.23.1.9.10.el5_7.i386.rpm
a14519952cbe6758f9891e96a2e145ef  
java-1.6.0-openjdk-devel-1.6.0.0-1.23.1.9.10.el5_7.i386.rpm
e814dc90241eb5e158609a2c31a80858  
java-1.6.0-openjdk-javadoc-1.6.0.0-1.23.1.9.10.el5_7.i386.rpm
d8afc1d46f2dc1a2ad011d52cce06dd9  
java-1.6.0-openjdk-src-1.6.0.0-1.23.1.9.10.el5_7.i386.rpm

Source:
2ec7cfb0b849e273740803810cab22bf  
java-1.6.0-openjdk-1.6.0.0-1.23.1.9.10.el5_7.src.rpm


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



--

Message: 4
Date: Wed, 19 Oct 2011 21:07:19 +
From: Johnny Hughes 
Subject: [CentOS-announce] CESA-2011:1380 Critical CentOS 5 x86_64
java-1.6.0-openjdk Update
To: centos-annou...@centos.org
Message-ID: <20111019210719.ga29...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2011:1380 Critical

Upstream details at : https://rhn.redhat.com/errata/RHSA-2011-1380.html

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

x86_64:
dcd51b2589fe34fe74e8526907ae431a  
java-1.6.0-openjdk-1.6.0.0-1.23.1.9.10.el5_7.x86_64.rpm
75ab7dff52bb89a11a51a780c13a1913  
java-1.6.0-openjdk-demo-1.6.0.0-1.23.1.9.10.el5_7.x86_64.rpm
6ba489fa66b8e7597af400445262843b  
java-1.6.0-openjdk-devel-1.6.0.0-1.23.1.9.10.el5_7.x86_64.rpm
76818199a1750d786972de9a447ba0a0  
java-1.6.0-openjdk-javadoc-1

Re: [CentOS] Backup live system

2011-10-20 Thread Benjamin Hackl
On Thu, 20 Oct 2011 10:52:15 -0400
ken  wrote:

> If it matters the
> system uses LVM. I'd also like to be able to avoid needing the
> network if possible. That is, I'd plug in a disk into a USB port and
> backup the system onto that... again, while the system is live.

If it should be an exact copy you can also do this via LVM snapshots

e.g. http://www.howtoforge.com/linux_lvm_snapshots

Brgds


-- 
Freundliche Gruesse/Best Regards
Benjamin Hackl
IT/Administration

Media FOCUS Research Ges.m.b.H.
Maculangasse 8, 1220 Wien Austria
Tel: +43 1 258 97 01-295
b.ha...@focusmr.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Failed dependencies for libxslt-ruby on CentOS 6

2011-10-20 Thread Trey Dockendorf
On Wed, Oct 19, 2011 at 10:21 AM, Trey Dockendorf wrote:

> I'm trying to install a gem named Fabulator on CentOS 6 CR x86_64.  It's
> failing on libxslt-ruby. This is the error I get when trying the gem
> manually...
>
> --
> # gem install libxslt-ruby --no-rdoc --no-ri
> Building native extensions.  This could take a while...
> ERROR:  Error installing libxslt-ruby:
> ERROR: Failed to build gem native extension.
>
> /usr/bin/ruby extconf.rb
> checking for ruby/io.h... no
> checking for inflate() in -lz... yes
> checking for iconv_open() in -liconv... no
> checking for libiconv_open() in -liconv... no
> checking for libiconv_open() in -llibiconv... no
> checking for iconv_open() in -llibiconv... no
> checking for iconv_open() in -lc... yes
> checking for xmlXPtrNewRange() in -lxml2... yes
> checking for libxml/xmlversion.h... no
> checking for libxml/xmlversion.h in
> /opt/include/libxml2,/usr/local/include/libxml2,/usr/include/libxml2... yes
> checking for xsltApplyStylesheet() in -lxslt... yes
> checking for xslt.h... no
> checking for xslt.h in
> /opt/include/libxslt,/usr/local/include/libxslt,/usr/include/libxslt... yes
> checking for exsltRegisterAll() in -lexslt... yes
> checking for exslt.h... no
> checking for exslt.h in
> /opt/include/libexslt,/usr/local/include/libexslt,/usr/include/libexslt...
> yes
> *** extconf.rb failed ***
> Could not create Makefile due to some reason, probably lack of
> necessary libraries and/or headers.  Check the mkmf.log file for more
> details.  You may need configuration options.
>
> Provided configuration options:
> --with-opt-dir
> --without-opt-dir
> --with-opt-include
> --without-opt-include=${opt-dir}/include
> --with-opt-lib
> --without-opt-lib=${opt-dir}/lib
> --with-make-prog
> --without-make-prog
> --srcdir=.
> --curdir
> --ruby=/usr/bin/ruby
> --with-zlib-dir
> --without-zlib-dir
> --with-zlib-include
> --without-zlib-include=${zlib-dir}/include
> --with-zlib-lib
> --without-zlib-lib=${zlib-dir}/lib
> --with-iconv-dir
> --without-iconv-dir
> --with-iconv-include
> --without-iconv-include=${iconv-dir}/include
> --with-iconv-lib
> --without-iconv-lib=${iconv-dir}/lib
> --with-xml2-dir
> --without-xml2-dir
> --with-xml2-include
> --without-xml2-include=${xml2-dir}/include
> --with-xml2-lib
> --without-xml2-lib=${xml2-dir}/lib
> --with-xslt-dir
> --without-xslt-dir
> --with-xslt-include
> --without-xslt-include=${xslt-dir}/include
> --with-xslt-lib
> --without-xslt-lib=${xslt-dir}/lib
> --with-exslt-dir
> --without-exslt-dir
> --with-exslt-include
> --without-exslt-include=${exslt-dir}/include
> --with-exslt-lib
> --without-exslt-lib=${exslt-dir}/lib
> --with-zlib
> --without-zlib
> --with-iconvlib
> --without-iconvlib
> --with-iconvlib
> --without-iconvlib
> --with-libiconvlib
> --without-libiconvlib
> --with-libiconvlib
> --without-libiconvlib
> --with-clib
> --without-clib
> --with-xml2lib
> --without-xml2lib
> --with-xsltlib
> --without-xsltlib
> --with-exsltlib
> --without-exsltlib
> extconf.rb:114: undefined method `find_by_name' for
> Gem::Specification:Class (NoMethodError)
>
>
> Gem files will remain installed in
> /usr/lib/ruby/gems/1.8/gems/libxslt-ruby-1.0.8 for inspection.
> Results logged to
> /usr/lib/ruby/gems/1.8/gems/libxslt-ruby-1.0.8/ext/libxslt/gem_make.out
> --
>
> I have installed libxslt and libxslt-devel via yum.  I'm running ruby-1.8.7
> and gem-1.3.7.   Listing the gems available for xslt, and what catches my
> eye is the x86-mingw32 items.  Looking on CentOS 5 I found the package
> "mingw32-iconv" in EPEL, but am unsure if that is what would solve this.  If
> it is, then could I simply build a CentOS 6 RPM from the SRPM for CentOS 5?
> --
> # gem search xslt --both
>
> *** LOCAL GEMS ***
>
> libxslt-ruby19 (0.9.8)
> ruby-xslt (0.9.8)
>
> *** REMOTE GEMS ***
>
> blackwinter-libxslt-ruby (1.0.1)
> libxslt-ruby (1.0.8 ruby x86-mingw32, 0.9.6 x86-mswin32-60)
> libxslt-ruby-r19mingw1 (0.9.7)
> libxslt-ruby19 (0.9.8)
> polyrex-xslt (0.1.0)
> rexslt (0.1.4)
> ruby-xslt (0.9.8)
>
>
>
> The gem I'm trying to install, fabulator, has the following dependencies...
> -
>
> # gem dependency fabulator --both
> Gem fabulator-0.0.16
>   RedCloth (>= 4.2.0, runtime)
>   activesupport (>= 2.3.0, runtime)
>   libxml-ruby (>= 1.1.3, runtime)
>   libxslt-ruby (>= 0.9.7, runtime)
>   radius (>= 0.6.1, runtime)
>
>
> Please let me know what other information may be useful in 

[CentOS] What happened to 6.1

2011-10-20 Thread Jerry Geis
  Hi gang - Love CentOS - you guys to a fabulous job.

It has been a while since I saw any update...
I went to twitter.com/centos nothing there,
twitter.com/centos6 nothing there,
went to the qa calendar stuff nothing there.

Last I saw was something in September saying all
RPM's are built and doing ISO's. Then nothing.

I know the whole story about its ready when its ready and
I'm all for that... Its simply I went looking today and saw no
status and was wondering what happened. Perhaps I am looking
in the wrong place.

Thanks!

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


Re: [CentOS] What happened to 6.1

2011-10-20 Thread m . roth
Jerry Geis wrote:
>   Hi gang - Love CentOS - you guys to a fabulous job.
>
> It has been a while since I saw any update...
> I went to twitter.com/centos nothing there,
> twitter.com/centos6 nothing there,
> went to the qa calendar stuff nothing there.
>
> Last I saw was something in September saying all
> RPM's are built and doing ISO's. Then nothing.

Oddly enough, my manager just walked in a couple hours ago, and asked me
why I thought there hadn't been any updates to our 6.0 boxen.

Everything's being rolled into the CR repo, so there do not appear to be
any "ordinary" 6.0 updates.

mark, annoyed, and having to install 300+ package updates
to the 6.0 systems, and hope nothing breaks*

* On the other hand, maybe I'll see annoyance fixes, like Pidgen, that
pops *under* other windows, the quirky screen handling in rxvt, and, oh
yes, the "yes" buttons lack of attention after I click "logout" from the
menu.

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


Re: [CentOS] Backup live system

2011-10-20 Thread Brian Mathis
On Thu, Oct 20, 2011 at 10:52 AM, ken  wrote:
> Though I've worked with enterprise systems, I'm not familiar with FOOS
> backup software.  Which of those recommended would allow me to backup a
> system while users are active on it?  If it matters the system uses LVM.
>    I'd also like to be able to avoid needing the network if possible.
> That is, I'd plug in a disk into a USB port and backup the system onto
> that... again, while the system is live.
>
> Thanks much.


Others have said that file are not locked on Linux, so you can back
them up anyway, but this is surely not your point.

The only way to get a consistent backup is to create a snapshot and
back that up.  If this is a VM you should be able to make a snapshot
and then back up the VM files.  LVM is a good way to do it on both
physical and virtual machines, but there are a few caveats:

- You need free PEs on the volume group.  When you make an LVM
snapshot it needs this extra space to store the changed blocks while
the snapshot is in existence.  Most default LVM installs do not
reserve spare PEs for this.  The amount of free PEs you need is
completely dependent on how many changes get made to the volume while
the snapshot exists.  If you run out of PEs, the behavior is
undefined.

- There is a huge performance penalty.  As long as any snapshot
exists, there is at least a 50% performance hit.  If this is a high
performance database server, you might not be able to afford it.  Make
sure to do your backup on slow times.

The howtoforge link seems to cover most of the mechanics.


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


Re: [CentOS] haproxy ssl

2011-10-20 Thread Pasi Kärkkäinen
On Tue, Oct 18, 2011 at 08:34:13AM -0400, Brian Mathis wrote:
> 
> You cannot use haproxy with SSL.  You need to terminate the SSL
> connection before reaching haproxy, such as (already mentioned) using
> apache as a front end proxy.  
>

apache.. or stunnel, or stux, or nginx, or ..

-- Pasi

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


Re: [CentOS] Live CD boot for KVM guest. How?

2011-10-20 Thread Ljubomir Ljubojevic
Vreme: 10/20/2011 10:22 AM, Müfit Eribol piše:
> On 19.10.2011 21:07, Ljubomir Ljubojevic wrote:
>> Vreme: 10/19/2011 06:34 PM, Müfit Eribol piše:
>>> Hi,
>>>
>>> My host and guest are CentOS 6. The guest is going to be a web server in
>>> production. I am trying to resize (extend) of the base partition of my
>>> guest.  But I can of course start the installation of CentOS 6 guest all
>>> over again with a larger image size. However, just for the sake of
>>> better understanding I an trying to solve things not to be end up in a
>>> dead end after some years.
>>>
>>> 1. I created a guest CentOS 6 with 12G total disk (on a iscsi drive). No
>>> Desktop, just for terminal use. No LVM, just a simple basic partitioning.
>>> 2. Later I wanted to increase the size of total image to 200G.
>>> 3. I managed to resize the image to 200G on my iscsi drive. So, there is
>>> 188G unallocated/unformatted volume within the guest image.
>>>
>>> Now, the hardest part. I have to resize the partition. I have been
>>> trying to find a way to do that. A search on Google showed that GParted
>>> is tool to do that. I had to install all Desktop and X as Gparted is a
>>> GUI tool. Installed vncserver. Then, I found out that GParted can not
>>> resize the live guest. So, I downloaded GParted Live CD.
>>>
>>> Now, the questions:
>>>
>>> 1. If it was a physical machine I would boot from the CD. If I can boot
>>> it from host CDROM but then how should I operate on a specific guest?
>>> What is the easiest way to access GUI of the guest if I boot from Live CD.
>>> 2. I am wondering if a simple LVM route at the beginning would be
>>> preferred. Changing size of the iscsi volume on my NAS is easy. I
>>> thought there was no need for more complication, so went with basic
>>> /boot / and swap partitions. Is resizing partitions for LVM easier than
>>> basic partitioning (without LVM)?
>>> 3. Is there a specific tool in KVM suit which performs resizing
>>> partition within the image? Or as I prefer command line tools, is there
>>> a way to achieve resizing without any graphical tool like GParted? With
>>> GParted I had to install all the X and Gnome files, vncserver which
>>> otherwise I don't need.
>>>
>>> I would appreciate any information/hint/experience.
>>>
>>> All the best.
>> Hi.
>>
>> My view is:
>>
>> a) Use LVM so you can manipulate size of partition(s). Resizing etx4
>> partitions is horrible job, long and dangerous.
>>
>> b) You can mount ISO image file of any CD via Guests VirtualCD, no need
>> to mess with physical CD/DVD drives. There is System Rescue CD, CentOS
>> LiveCD (I have one 5.3 with mdadm raid support and bunch of tools,I will
>> soon be making 6.1 version) or Hiren's Boot CD - Parted. Root partition
>> needs offline resize since extX partitions can not be mounted at the
>> time of the resizing.
>>
>> c) All text-based resize tools require higher knowledge and/or
>> experience, like alignment to sectors and similar mambo-jumbo. When you
>> need to make it happen on production server without experimentation and
>> you have done it only once 3 years ago it IS mambo-jumbo.
>>
>> d) As far as I know, KVM can not mount virtual hard drives, so meesing
>> with them is not an option, unless you use "raw" partition on the Host
>> (still haven't tried it).
>>
>
> It is good to know at the very beginning that LVM is the way to go. So,
> I am reinstalling the server with LVM. It is good to know about it so early.
>
> Just for learning, could you please provide some more info about booting
> up the LiveCD ISO image (uploaded to the host) to work on a guest? How
> is the command line?
>
> Thank you for your kind help.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>

Sorry, I do not use command line for KVM. I use my Desktop to connect to 
Servers KVM Domain:

Virtual Machine Manager -> File -> Add New Connection -> Fill: 
Hipervisor: QEMU/KVM; Connect to remote host; Metod: SSHl username + 
password; Hostname: xxx

And you should have full access to your servers KVM domain.

But even if you need to use command line, I am sure you will be able to 
find it by googling for "kvm linux boot from cd command line".

Also check out CentOS-virt mailing list Archive (on this same mailing 
list server).

http://www.linux-kvm.org is official site for KVM.

-- 

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