Re: [CentOS] hello

2011-11-29 Thread LinuxIsOne
On Tue, Nov 29, 2011 at 1:12 PM, Ljubomir Ljubojevic wrote:

I might *seam* hostile, I am certainly strongly opinionated,  but in
> general I avoid attacking people, and will help any way I can. I am 10+
> years in professional IT support, and I am accustomed to give precise
> answers and directions and expect people not to stray one bit so I can
> follow you in my mind (professional deformation and defense system),  so
> as long as you follow what I suggest I will help you land on the moon.
> If you do not follow them, I will chuck you like an old shoe.
>

 That is a great thing that you are having 10+ years of experience, great.
And yes you perfectly seem hostile (with this email too). Your answers
might be precise and directions could also be good but way of handling
newbies is something poor, however, this point I am chucking (like an old
shoe). Though there are numerous people who have more than 15+ years of
experience and I have never seen them (or anyone of them) talking like this
but still have seen them landing people and newbies on moon. Moreover,
while your suggestions could be (I don't know much about Linux till now)
good but following them requires you too to be gentle in words, be
respectful to everyone [even to newbies, they too are persons, ;)- ], and
in return you would get respect. I always respect everyone and I know more
than 100+ people (having experiences 15+ years in information technology)
and I always pay them respect, but simultaneously I talk politely to any
newbie of any field, and it doesn’t harm me ever.

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


Re: [CentOS] qemu-kvm failed after update from CR repo

2011-11-29 Thread Emmett Culley
On 11/29/2011 01:47 AM, Lars Hecking wrote:
> 
>> kernel-2.6.32-131.17.1.el6.x86_64 (after update and currently)
> 
>   Maybe you're running into this issue?
> 
>http://lists.centos.org/pipermail/centos-virt/2011-November/002713.html
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
> 
I doubt that.  All VMs are booting now with the latest CR kernel 
(2.6.32-131.17.1).  And it appears that bug is about xen not qemu.

I will clone the host and experiment some to narrow down the problem to a 
specific package.  Right now none of the CR repo libvirt or qemu packages are 
installed on the host.  So I really do not know for sure which is the bad guy.

Emmett

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


Re: [CentOS] megaraid/PERC

2011-11-29 Thread Kenneth Porter
--On Tuesday, November 29, 2011 3:35 PM -0500 m.r...@5-cent.us wrote:

> Dell server

Dell has a fairly active Linux server mailing list. You might want to copy 
your question there:




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


Re: [CentOS] megaraid/PERC

2011-11-29 Thread Denniston, Todd A CIV NAVSURFWARCENDIV Crane
> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of m.r...@5-cent.us
> Sent: Tuesday, November 29, 2011 15:36
> To: CentOS mailing list
> Subject: [CentOS] megaraid/PERC
> 
> I've got two drives from a now-dead server, they were RAIDed, a
mirror,
> I'd assume. I need to see if there's anything on them I need to
> transfer
> to the replacement, so I just shoved them into another Dell server,
> with a
> PERC 5 controller - I think that's what the dead one had. I fired up
> MegaRAID storage manager... but can't see any way to tell it to
> recreate
> that RAID. Anyone done this?
> 

Recent experience indicates... if the machine had any kind of warranty
with Dell, an authorized owner/technician should call Dell before doing
ANYTHING more with the drives.


With the dell system I was working with, I was walked through booting
into the raid controller software (bios level prior to OS boot) and
having THAT reassemble the array.


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


Re: [CentOS] megaraid/PERC

2011-11-29 Thread Scott Silva
on 11/29/2011 12:35 PM m.r...@5-cent.us spake 
the following:
> I've got two drives from a now-dead server, they were RAIDed, a mirror,
> I'd assume. I need to see if there's anything on them I need to transfer
> to the replacement, so I just shoved them into another Dell server, with a
> PERC 5 controller - I think that's what the dead one had. I fired up
> MegaRAID storage manager... but can't see any way to tell it to recreate
> that RAID. Anyone done this?
>
>  mark
If they were mirrored, you should just be able to mount one and see what you 
can find. If they were striped, then you would need a controller


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


Re: [CentOS] megaraid/PERC

2011-11-29 Thread m . roth
Craig White wrote:
> On Nov 29, 2011, at 2:09 PM, m.r...@5-cent.us wrote:
>> Craig White wrote:
>>> On Nov 29, 2011, at 1:35 PM, m.r...@5-cent.us wrote:
>>>
 I've got two drives from a now-dead server, they were RAIDed, a
 mirror, I'd assume. I need to see if there's anything on them I need
 to transfer to the replacement, so I just shoved them into another
 Dell server, with a PERC 5 controller - I think that's what the dead
 one had. I fired up MegaRAID storage manager... but can't see any way
 to tell it to recreate that RAID. Anyone done this?
>>> 
>>> I wouldn't waste the time with MSM - I would simply use the BIOS
>>> configuration for the RAID storage which can easily look at the drives
>>> for RAID configuration and load it if it can find it.
>>
>> Sorry, let me give my conditions a bit more: I don't think I can reboot
>> the server - I believe it's currently in use as a development machine by
>> one of the teams, so I can't play around with it.

>> Playing with this thing, I believe I want to create another drive group,
>> not just add another RAID to an existing one, which just seems as though
>> it could get really ugly. But when I click on the controller, I can then
>> get to "Go To" -> controller, which will let me create a new virtual
>> drive, but drive group is all greyed out still. Further, I don't see
>> anything that would let me investigate what the documentation seems to
>> call a "foreign RAID".
>>
>> Hope that gives y'all a better picture of my environment.
> 
> let me see if I get this right... you don't want to play around with a
> server that's in production now but you are perfectly willing to play
> around with a server that's in production mode as long as it doesn't
> involve rebooting?

A development server that's in use is not a production server. Those are
visible to the world. I don't think it's unreasonable to go in, add a
drive group, add these drives to the group, and have it rediscover them
and present them to me. Why is that not a safe thing? Other than the
rediscover the RAID, it's no different than shoving an ordinary drive into
one of the hot swap bays and mounting it under /mnt.

   mark

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


Re: [CentOS] megaraid/PERC

2011-11-29 Thread Craig White

On Nov 29, 2011, at 2:09 PM, m.r...@5-cent.us wrote:

> Craig White wrote:
>> 
>> On Nov 29, 2011, at 1:35 PM, m.r...@5-cent.us wrote:
>> 
>>> I've got two drives from a now-dead server, they were RAIDed, a mirror,
>>> I'd assume. I need to see if there's anything on them I need to transfer
>>> to the replacement, so I just shoved them into another Dell server, with
>>> a PERC 5 controller - I think that's what the dead one had. I fired up
>>> MegaRAID storage manager... but can't see any way to tell it to recreate
>>> that RAID. Anyone done this?
>> 
>> I wouldn't waste the time with MSM - I would simply use the BIOS
>> configuration for the RAID storage which can easily look at the drives for
>> RAID configuration and load it if it can find it.
> 
> Sorry, let me give my conditions a bit more: I don't think I can reboot
> the server - I believe it's currently in use as a development machine by
> one of the teams, so I can't play around with it.
>> 
>> That said, I would suspect that the RAID controllers would have to be
>> identical
>> 
> I believe it's the same kind of controller, so that's ok. I'm using MSM
> for the above reasons, and that the cli isn't installed.
> 
> Playing with this thing, I believe I want to create another drive group,
> not just add another RAID to an existing one, which just seems as though
> it could get really ugly. But when I click on the controller, I can then
> get to "Go To" -> controller, which will let me create a new virtual
> drive, but drive group is all greyed out still. Further, I don't see
> anything that would let me investigate what the documentation seems to
> call a "foreign RAID".
> 
> Hope that gives y'all a better picture of my environment.

let me see if I get this right... you don't want to play around with a server 
that's in production now but you are perfectly willing to play around with a 
server that's in production mode as long as it doesn't involve rebooting?

I think you have a strange notion of safe things to do with a live production 
server.

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


[CentOS] ext3 bug?

2011-11-29 Thread Dennis Jacobfeuerborn
Hi,
on one of my Systems I'm seeing a strange phenomenon. When I do a "ls 
/var/log/named/" that command just freezes. An strace shows that ls is 
endlessly doing this:

...
getdents(3, /* 66 entries */, 32768)= 3888
getdents(3, /* 85 entries */, 32768)= 5000
getdents(3, /* 70 entries */, 32768)= 4128
getdents(3, /* 80 entries */, 32768)= 4696
mremap(0x2b8b2b181000, 311296, 618496, MREMAP_MAYMOVE) = 0x2b8b2b181000
getdents(3, /* 82 entries */, 32768)= 4736
getdents(3, /* 50 entries */, 32768)= 2920
getdents(3, /* 53 entries */, 32768)= 3088
getdents(3, /* 82 entries */, 32768)= 4800
getdents(3, /* 73 entries */, 32768)= 4248
getdents(3, /* 54 entries */, 32768)= 3240
getdents(3, /* 51 entries */, 32768)= 2944
getdents(3, /* 67 entries */, 32768)= 3928
getdents(3, /* 63 entries */, 32768)= 3712
getdents(3, /* 48 entries */, 32768)= 2816
getdents(3, /* 59 entries */, 32768)= 3448
getdents(3, /* 66 entries */, 32768)= 3792
getdents(3, /* 60 entries */, 32768)= 3440
getdents(3, /* 67 entries */, 32768)= 3912
getdents(3, /* 83 entries */, 32768)= 4808
getdents(3, /* 90 entries */, 32768)= 5256
getdents(3, /* 50 entries */, 32768)= 2888
getdents(3, /* 80 entries */, 32768)= 4600
getdents(3, /* 70 entries */, 32768)= 4088
getdents(3, /* 54 entries */, 32768)= 3168
getdents(3, /* 63 entries */, 32768)= 3760
getdents(3, /* 49 entries */, 32768)= 2864
getdents(3, /* 67 entries */, 32768)= 3960
...

The problem is that this directory only really contains two relatively 
small log files. I cannot remove the directory because rm gets stuck with 
the same problem. The only way is to move the directory elsewhere and 
create a new one though apparently after a while the same thing happens.

So I decided to take the system offline and do a fsck. The check went 
through without a single error so apparently the filesystem is fine.

Does anyone have an idea what could be going on here?

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


Re: [CentOS] megaraid/PERC

2011-11-29 Thread m . roth
Craig White wrote:
>
> On Nov 29, 2011, at 1:35 PM, m.r...@5-cent.us wrote:
>
>> I've got two drives from a now-dead server, they were RAIDed, a mirror,
>> I'd assume. I need to see if there's anything on them I need to transfer
>> to the replacement, so I just shoved them into another Dell server, with
>> a PERC 5 controller - I think that's what the dead one had. I fired up
>> MegaRAID storage manager... but can't see any way to tell it to recreate
>> that RAID. Anyone done this?
> 
> I wouldn't waste the time with MSM - I would simply use the BIOS
> configuration for the RAID storage which can easily look at the drives for
> RAID configuration and load it if it can find it.

Sorry, let me give my conditions a bit more: I don't think I can reboot
the server - I believe it's currently in use as a development machine by
one of the teams, so I can't play around with it.
>
> That said, I would suspect that the RAID controllers would have to be
> identical
>
I believe it's the same kind of controller, so that's ok. I'm using MSM
for the above reasons, and that the cli isn't installed.

Playing with this thing, I believe I want to create another drive group,
not just add another RAID to an existing one, which just seems as though
it could get really ugly. But when I click on the controller, I can then
get to "Go To" -> controller, which will let me create a new virtual
drive, but drive group is all greyed out still. Further, I don't see
anything that would let me investigate what the documentation seems to
call a "foreign RAID".

Hope that gives y'all a better picture of my environment.

mark


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


Re: [CentOS] megaraid/PERC

2011-11-29 Thread Craig White

On Nov 29, 2011, at 1:35 PM, m.r...@5-cent.us wrote:

> I've got two drives from a now-dead server, they were RAIDed, a mirror,
> I'd assume. I need to see if there's anything on them I need to transfer
> to the replacement, so I just shoved them into another Dell server, with a
> PERC 5 controller - I think that's what the dead one had. I fired up
> MegaRAID storage manager... but can't see any way to tell it to recreate
> that RAID. Anyone done this?

I wouldn't waste the time with MSM - I would simply use the BIOS configuration 
for the RAID storage which can easily look at the drives for RAID configuration 
and load it if it can find it.

That said, I would suspect that the RAID controllers would have to be identical

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


Re: [CentOS] megaraid/PERC

2011-11-29 Thread Pete Travis
On Nov 29, 2011 1:50 PM,  wrote:
>
> Pete Travis wrote:
> > On Nov 29, 2011 1:36 PM,  wrote:
> >>
> >> I've got two drives from a now-dead server, they were RAIDed, a mirror,
> >> I'd assume. I need to see if there's anything on them I need to
transfer
> >> to the replacement, so I just shoved them into another Dell server,
with
> >> a PERC 5 controller - I think that's what the dead one had. I fired up
> >> MegaRAID storage manager... but can't see any way to tell it to
recreate
> >> that RAID. Anyone done this?
> >
> > Correct me if I'm wrong, but isn't MSM for LSI/3ware cards?
>
> Right, and Dell's PERC is an OEM-rebranded LSI controller. MSM understands
> them fine.
>
> Of course, I don't seem to have the command line tool, and when I click on
> Go To, and try controller, everything is greyed out.
> 
>
> mark
>
>
I thought I might be pointing out the obvious   I'll be on front of a
box with MSM later, will take a look.

___
> 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] megaraid/PERC

2011-11-29 Thread m . roth
Pete Travis wrote:
> On Nov 29, 2011 1:36 PM,  wrote:
>>
>> I've got two drives from a now-dead server, they were RAIDed, a mirror,
>> I'd assume. I need to see if there's anything on them I need to transfer
>> to the replacement, so I just shoved them into another Dell server, with
>> a PERC 5 controller - I think that's what the dead one had. I fired up
>> MegaRAID storage manager... but can't see any way to tell it to recreate
>> that RAID. Anyone done this?
>
> Correct me if I'm wrong, but isn't MSM for LSI/3ware cards?

Right, and Dell's PERC is an OEM-rebranded LSI controller. MSM understands
them fine.

Of course, I don't seem to have the command line tool, and when I click on
Go To, and try controller, everything is greyed out.


 mark

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


Re: [CentOS] megaraid/PERC

2011-11-29 Thread Pete Travis
On Nov 29, 2011 1:36 PM,  wrote:
>
> I've got two drives from a now-dead server, they were RAIDed, a mirror,
> I'd assume. I need to see if there's anything on them I need to transfer
> to the replacement, so I just shoved them into another Dell server, with a
> PERC 5 controller - I think that's what the dead one had. I fired up
> MegaRAID storage manager... but can't see any way to tell it to recreate
> that RAID. Anyone done this?
>
>mark
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

Correct me if I'm wrong, but isn't MSM for LSI/3ware cards?

If the drives didn't come off a PERC, you probably can't recreate the array
on a PERC - I'm sure you know this, but it's worth verification.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to install standard software on systems with heterogeneous hardware?

2011-11-29 Thread Scot P. Floess


Ah OK - sorry if I misunderstood you...

I definitely see your point.  I suppose for me if I have to do something 
more than once, I like automation (like Cobbler).  I do a ton of 
tinkering, trashing machines, spinning up VMs, etc - it just became 
tedious.  Truth be known - initially I spent sooo much time learning 
Cobbler.  But that time has since paid off...


Quite honestly, the way Cobbler is structured - the templating is so very 
easy to learn...I think I spent one morning reading up on it and I was 
proficient enough to denote packages for any given machine (really why I 
responded in the first place)...



On Tue, Nov 29, 2011 at 1:54 PM, Scot P. Floess  wrote:

I seriously recommend it :)  Sorry, I wasn't sure if Les' response was
overly sarcastic ;)


No, I was just wondering about the tradeoff in time spent learning yet
another system-specific template language vs just executing the
commands directly (in windows, in parallel so you don't have to
wait...).For 100+ similar machines I'd expect it to be worth it.
Not that automation isn't good, but if you have the list of packages
you want to install in the first place, it's not all that hard to do
it yourself.

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



Scot P. Floess RHCT  (Certificate Number 605010084735240)
Chief Architect FlossWare  http://sourceforge.net/projects/flossware
   http://flossware.sourceforge.net
   https://github.com/organizations/FlossWare___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] megaraid/PERC

2011-11-29 Thread m . roth
I've got two drives from a now-dead server, they were RAIDed, a mirror,
I'd assume. I need to see if there's anything on them I need to transfer
to the replacement, so I just shoved them into another Dell server, with a
PERC 5 controller - I think that's what the dead one had. I fired up
MegaRAID storage manager... but can't see any way to tell it to recreate
that RAID. Anyone done this?

mark

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


Re: [CentOS] how to install standard software on systems with heterogeneous hardware?

2011-11-29 Thread Les Mikesell
On Tue, Nov 29, 2011 at 1:54 PM, Scot P. Floess  wrote:
> I seriously recommend it :)  Sorry, I wasn't sure if Les' response was
> overly sarcastic ;)

No, I was just wondering about the tradeoff in time spent learning yet
another system-specific template language vs just executing the
commands directly (in windows, in parallel so you don't have to
wait...).For 100+ similar machines I'd expect it to be worth it.
Not that automation isn't good, but if you have the list of packages
you want to install in the first place, it's not all that hard to do
it yourself.

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


Re: [CentOS] how to install standard software on systems with heterogeneous hardware?

2011-11-29 Thread Scot P. Floess
I seriously recommend it :)  Sorry, I wasn't sure if Les' response was
overly sarcastic ;)

If you are interested in Cobbler - I'd be more than happy to give you some
pointers, as well as the kickstart file I use - it should be reusable for
you...especially with CentOS 6.0 and earlier plus Fedora 15 and earlier
(some changes to kickstarts with Fedora 16 - notably  %package needs a 
%end)...

Anyway, I do a ton of virtualization work at home (its a hobby), and I use 
Cobbler for them as well as my four baremetal machines...once you learn it 
- its a huge time savings...and very reusable...

On Tue, 29 Nov 2011, Thomas Burns wrote:

> On Tue, Nov 29, 2011 at 9:37 AM, Scot P. Floess  wrote:
>> sorry, if I over-engineered solution...
>
> I was happy to hear about cobbler, hadn't heard of it before.
> Dave
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Scot P. Floess RHCT  (Certificate Number 605010084735240)
Chief Architect FlossWare  http://sourceforge.net/projects/flossware
http://flossware.sourceforge.net
https://github.com/organizations/FlossWare
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to install standard software on systems with heterogeneous hardware?

2011-11-29 Thread Lamar Owen
On Tuesday, November 29, 2011 01:56:59 PM Johnny Hughes wrote:
> rpm -qa > somefile
> 
> rsync somefile to the other machines and then:
> 
> yum install $(cat somefile)

[Note: Johnny's advice is good, and this reply is more addressed to the OP than 
to Johnny, as he already knows what I'm getting ready to post.  The OP may not.]

This will give all the same versions of the packages, which will mostly work, 
unless a version disappears between the 'rpm -qa' and the 'yum install' 
invocations.  I've had that happen before, so in those instances, I use the 
helpful

rpm -qa --queryformat "%{NAME}.%{ARCH}\n" > somefile

line so that I get the names and the arches, but no versions (arch only needed 
if multilib desired, of course).  Newlines are cosmetic, of course, and aren't 
really required by yum install.  To get a listing of all the --queryformat 
variables, use:

rpm --querytags

and see the rpm man page for more information about --queryformat.

I also tend to sort my package names in the pipeline so that somefile is 
human-readable and that helps when duplicating the major packages between 
versions (I've used that sequence going from one Fedora version to another, for 
instance).

And a backup of /etc/yum.repos.d along with the gpg keys helps get things in 
order.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to install standard software on systems with heterogeneous hardware?

2011-11-29 Thread Thomas Burns
On Tue, Nov 29, 2011 at 9:37 AM, Scot P. Floess  wrote:
> sorry, if I over-engineered solution...

I was happy to hear about cobbler, hadn't heard of it before.
Dave
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to install standard software on systems with heterogeneous hardware?

2011-11-29 Thread Scot P. Floess


I don't know - just trying to help.  I have 4 machines at home...and I use
Cobbler specifically because I want reproducability...well worth the time
I spent to learn it.  When I lost a harddrive in my laptop, I replaced 
it...selected the Cobbler system record for it...and my laptop was ready 
to go reprovisioned and all.


Again, I was just trying to help - sorry, if I over-engineered solution...


On Tue, 29 Nov 2011, Les Mikesell wrote:


On Tue, Nov 29, 2011 at 1:08 PM, Scot P. Floess  wrote:


You could setup Cobbler and koan install the other machines from the
Cobbler server.

Cobbler uses a nice templating engine (Cheetah) and I've managed to use
that within the kickstart file Cobbler serves up to specify packages to
install for a given machine.  So for example on Machine A, I can have the
foo package installed and on Machine B install the bar package...

Cobbler even supports PXE booting clients to get installs started...


How long does it take to learn the templating language compared to
sshing to a few machines in separate windows and pasting in a 'yum
install list_of_packages' command?

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



Scot P. Floess RHCT  (Certificate Number 605010084735240)
Chief Architect FlossWare  http://sourceforge.net/projects/flossware
   http://flossware.sourceforge.net
   https://github.com/organizations/FlossWare___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to install standard software on systems with heterogeneous hardware?

2011-11-29 Thread m . roth
Thomas Burns wrote:
> I've been thinking about ways to proceed if I need to set up 5
> machines with basically identical software but somewhat variable
> hardware. A simple approach would be to just set up my golden system
> and clone the disk, but the hardware differences would probably cause
> problems.

First question: *how* heterogeneous? Do you have 32-bit systems, and
64-bit systems, and Itaintiums?  AMD and Intel? Or are you just talking
about peripherals?
>
> One approach that appeals to me is to install minimal centos on the
> first system, add a few rpms after installation, do my desired config
> file tweaks, then somehow generate an rpm that depends on all the
> post-install rpms and contains my custom versions of the config files

How about building one fully, getting a list of installed packages that
does *not* mention the architecture, then, on each machine, yum -y install
`cat packagelist`? Yes, I am assuming they're bootable, and have yum, but
nothing else - a minimal install.

mark

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


Re: [CentOS] how to install standard software on systems with heterogeneous hardware?

2011-11-29 Thread Les Mikesell
On Tue, Nov 29, 2011 at 1:08 PM, Scot P. Floess  wrote:
>
> You could setup Cobbler and koan install the other machines from the
> Cobbler server.
>
> Cobbler uses a nice templating engine (Cheetah) and I've managed to use
> that within the kickstart file Cobbler serves up to specify packages to
> install for a given machine.  So for example on Machine A, I can have the
> foo package installed and on Machine B install the bar package...
>
> Cobbler even supports PXE booting clients to get installs started...

How long does it take to learn the templating language compared to
sshing to a few machines in separate windows and pasting in a 'yum
install list_of_packages' command?

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


Re: [CentOS] libguestfs-winsupport package for CentOS-6

2011-11-29 Thread James B. Byrne

On Tue, November 29, 2011 06:22, Karanbir Singh wrote:
> On 11/28/2011 07:19 PM, James B. Byrne wrote:
>> Is this available for CentOS and if so then where is
>> this package located?
>
> Its now included in the 6.1/os builds; I'll get it pushed
> into the CR/ repo as well shortly ( but it will be about
> 48 hrs before its visible there ).

I can wait.  I am still experimenting with KVM before
going live and I need to see what trouble putting our
Windows domain controller on a vm is going to cause.

>
> thanks for spotting and reporting the missing bit.
>
> - KB
>
>

Thank you for the quick response.

-- 
***  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] how to install standard software on systems with heterogeneous hardware?

2011-11-29 Thread Scot P. Floess

You could setup Cobbler and koan install the other machines from the 
Cobbler server.

Cobbler uses a nice templating engine (Cheetah) and I've managed to use 
that within the kickstart file Cobbler serves up to specify packages to 
install for a given machine.  So for example on Machine A, I can have the 
foo package installed and on Machine B install the bar package...

Cobbler even supports PXE booting clients to get installs started...

On Tue, 29 Nov 2011, Thomas Burns wrote:

> I've been thinking about ways to proceed if I need to set up 5
> machines with basically identical software but somewhat variable
> hardware. A simple approach would be to just set up my golden system
> and clone the disk, but the hardware differences would probably cause
> problems.
>
> One approach that appeals to me is to install minimal centos on the
> first system, add a few rpms after installation, do my desired config
> file tweaks, then somehow generate an rpm that depends on all the
> post-install rpms and contains my custom versions of the config files
> I tweaked. Then, to set up the other 4 systems, I'd use the kickstart
> file from the first, then yum localinstall my custom rpm, which would
> install all the dependencies and tweak all the config files. I assume
> the centos install would deal with the hardware differences. Does this
> idea make sense? What happens when two different rpms want to provide
> the same config file?
>
> Are there any other simple alternatives I have overlooked? What is the
> best practice when setting up identical software on multiple systems
> with heterogeneous hardware?
>
> mahalo,
> Dave
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Scot P. Floess RHCT  (Certificate Number 605010084735240)
Chief Architect FlossWare  http://sourceforge.net/projects/flossware
http://flossware.sourceforge.net
https://github.com/organizations/FlossWare
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to install standard software on systems with heterogeneous hardware?

2011-11-29 Thread Johnny Hughes
On 11/29/2011 12:37 PM, Thomas Burns wrote:
> I've been thinking about ways to proceed if I need to set up 5
> machines with basically identical software but somewhat variable
> hardware. A simple approach would be to just set up my golden system
> and clone the disk, but the hardware differences would probably cause
> problems.
> 
> One approach that appeals to me is to install minimal centos on the
> first system, add a few rpms after installation, do my desired config
> file tweaks, then somehow generate an rpm that depends on all the
> post-install rpms and contains my custom versions of the config files
> I tweaked. Then, to set up the other 4 systems, I'd use the kickstart
> file from the first, then yum localinstall my custom rpm, which would
> install all the dependencies and tweak all the config files. I assume
> the centos install would deal with the hardware differences. Does this
> idea make sense? What happens when two different rpms want to provide
> the same config file?
> 
> Are there any other simple alternatives I have overlooked? What is the
> best practice when setting up identical software on multiple systems
> with heterogeneous hardware?

If I was doing a thousand machines, i would build an RPM to do it ...
otherwise with just 4, I would just use this on the original:

rpm -qa > somefile

rsync somefile to the other machines and then:

yum install $(cat somefile)

I would then rsync the config files from the other machine to the new one.



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


[CentOS] Trying to read Nepali script on centos

2011-11-29 Thread Thomas Burns
I've got Chinese working, but having trouble with Nepali. Here's what
I have installed:

rpm -qa|grep -i nepal
scim-tables-nepali-0.5.6-7
m17n-db-nepali-1.3.3-48.el5

What else is needed?

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


Re: [CentOS] How to make nodes in my local LAN see each other's names

2011-11-29 Thread John R Pierce
On 11/29/11 10:00 AM, Craig White wrote:
> If you want Dynamic DNS on your LAN, you are going to find that the typical 
> home/SOHO routers are insufficient with short lease times, no memory storage 
> for previously registered DHCP addresses and no ability to actually provide 
> real DNS (other than forwarding to some other DNS server) and thus, no DDNS.

many SOHO firewall/routers incorporate DNSmasq, which is a combination 
DHCP/DNS service that both acts as a caching forwarder for external 
lookups, and provides the local clients with DNS names based on their 
current DHCP registrations.   This works quite nicely for the use case 
of the OP.



-- 
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] how to install standard software on systems with heterogeneous hardware?

2011-11-29 Thread Thomas Burns
I've been thinking about ways to proceed if I need to set up 5
machines with basically identical software but somewhat variable
hardware. A simple approach would be to just set up my golden system
and clone the disk, but the hardware differences would probably cause
problems.

One approach that appeals to me is to install minimal centos on the
first system, add a few rpms after installation, do my desired config
file tweaks, then somehow generate an rpm that depends on all the
post-install rpms and contains my custom versions of the config files
I tweaked. Then, to set up the other 4 systems, I'd use the kickstart
file from the first, then yum localinstall my custom rpm, which would
install all the dependencies and tweak all the config files. I assume
the centos install would deal with the hardware differences. Does this
idea make sense? What happens when two different rpms want to provide
the same config file?

Are there any other simple alternatives I have overlooked? What is the
best practice when setting up identical software on multiple systems
with heterogeneous hardware?

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


Re: [CentOS] hello

2011-11-29 Thread Ljubomir Ljubojevic
Vreme: 11/29/2011 06:22 PM, LinuxIsOne piše:
> Sure and why not, I always give respect but I anticipate the same for
> newbies too, I hope you too would do that. ;)

I might *seam* hostile, I am certainly strongly opinionated,  but in 
general I avoid attacking people, and will help any way I can. I am 10+
years in professional IT support, and I am accustomed to give precise 
answers and directions and expect people not to stray one bit so I can 
follow you in my mind (professional deformation and defense system),  so 
as long as you follow what I suggest I will help you land on the moon. 
If you do not follow them, I will chuck you like an old shoe.

>
>
> On Tue, Nov 29, 2011 at 11:36 AM, Ljubomir Ljubojevicwrote:
>> and use IRC/Forums for "trivial" support, and use
>> this mailing list for more heavier questions and discussions (not
>> producing high mail volume).
>>

There is also Facebook "CentOS group" page: 
https://www.facebook.com/groups/2371797727/ . You and any other member 
of CentOS community are welcome to join us and share info.


-- 

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

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


Re: [CentOS] How to make nodes in my local LAN see each other's names

2011-11-29 Thread Craig White

On Nov 29, 2011, at 9:14 AM, Timothy Madden wrote:

> Hello
> 
> Sorry for the (I guess) simple question, but:
> 
> I have 7 computers under one 8-port router (D-Link DIR-100, firmware 
> v1.13EU) in my network (actually in a sub-network) and they do not see 
> each other's host names.
> 
> The router has the 'DNS relay' option enabled, and all 7 computers use 
> the router as the DNS server, which in turn will forward DNS requests to 
> the ISP DNS server. That way I can understand that simple, plain, 
> default DNS is not enough for my boxes to see each-other's names.
> 
> Windows has a nice (or not) way to resolve the problem: CIFS (Samba) 
> server names are automatically included in the name resolving procedure. 
> I know I can do the same with my CentOS boxes if I install samba on each 
> of them and add 'wins' to the 'hosts: ' line in /etc/nsswitch.conf, but 
> somehow I think installing cifs on every node just to get my local 
> machine names to resolve properly to the IP addresses is not the right 
> way to solve my problem ...
> 
> What is the way to have all computers in my simple network know each 
> other by name ?
> 
> Is it possible to have the name resolving procedure used by the system 
> automatically recognize a new machine added to my network, when I try to 
> access it with right host name, like WINS can ?
> 
> Also, I hear Linux does not have, by default, a cache of resolved names 
> (like Windows does), and I find that to be a sad thing. Why should the 
> default be set so that I contact the ISP DNS server for each and every 
> web page I hit ?
> 
> Is there an easy way to install a caching name server on my each 
> machine, and make sure my system is using /that server/ to resolve names ?

just to clarify some things...

NETBIOS is a rather chatty (ie, noisy/traffic generating) for a local subnet. 
Yes, this can be a convenient way of being able to refer to a computer by its 
name and the price you pay for that convenience is a fair amount of broadcast 
traffic by all computers that support this protocol (Windows, Macintosh or 
Linux using NMBD).

NETBIOS does not in any way provide DNS services. It is relegated to the local 
subnet only and almost always what is designated as non-routed IP space 
(10.x.x.x, 172.16.x.x, 192.168.x.x)

UNIX/Linux has a reasonably simple method for maintaining DNS names in 
/etc/hosts where you can simply set them, ie
192.168.1.1 srv1 srv1.mydomain
192.168.1.2 srv2 srv2.mydomain
etc.
You can also do this on Windows systems - edit 
C:\Windows\System32\drivers\etc\hosts

If you want Dynamic DNS on your LAN, you are going to find that the typical 
home/SOHO routers are insufficient with short lease times, no memory storage 
for previously registered DHCP addresses and no ability to actually provide 
real DNS (other than forwarding to some other DNS server) and thus, no DDNS. 
Thus if you really want to have dynamic DNS on your local LAN, you would want 
to install bind and dhcp packages and configure them (not the easiest thing to 
do but not entirely difficult either).

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


Re: [CentOS] Monitoring services

2011-11-29 Thread Jon Detert
did anyone mention https://www.icinga.org/ ?  I'm a long-time nagios user, but 
just heard about it yesterday.  It is a fork of nagios, has a more modern web 
interface, and nagios plugins are compatible with it.  It looks/sounds good.  
Anyone have experience with it?

- Original Message -
> From: m...@tdiehl.org
> To: "CentOS mailing list" 
> Sent: Tuesday, November 29, 2011 9:53:54 AM
> Subject: Re: [CentOS] Monitoring services
> 
> On Tue, 29 Nov 2011, Rajagopal Swaminathan wrote:
> 
> > Greetings,
> >
> > On Tue, Nov 29, 2011 at 12:05 AM, Paul Heinlein
> >  wrote:
> >> On Sun, 27 Nov 2011, Kenneth Porter wrote:
> >>
> >>> What's available to remotely monitor services?
> >
> > I have deployed Zabbix successfully to remotely monitor about 240+
> > geographically distributed locations connected by ADSSL links (IOW,
> > no
> > fixed IP) for the second largest public transport corporations
> > (next
> > only to Germany) in India successfully.
> >
> > Perhaps, you may consider that.
> 
> Another possibility is http://sourceforge.net/projects/xymon/
> 
> Regards,
> 
> --
> Tom   m...@tdiehl.org Spamtrap address
> me...@tdiehl.org
> ___
> 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] hello

2011-11-29 Thread LinuxIsOne
On Tue, Nov 29, 2011 at 11:36 AM, Ljubomir Ljubojevic wrote:

Right now, there are 50-80 mails per day on this mail list alone,
> without interactive one-sentence mails in 2-3 people conversation.
>
> And there are 1000+ receivers of mail from mailing list (1+ million of
> installations ), not interested in your problems. For them, reading
> interactive mail is FUD, unnecessary junk wasting their time. Imagine
> communication for just 10 beginners asking/posting 20-30 mails (with
> replies of others).
>

Oh I really didn't know this, great!


> So please respect them


Sure and why not, I always give respect but I anticipate the same for
newbies too, I hope you too would do that. ;)


> and use IRC/Forums for "trivial" support, and use
> this mailing list for more heavier questions and discussions (not
> producing high mail volume).
>

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


Re: [CentOS] How to make nodes in my local LAN see each other's names

2011-11-29 Thread Ljubomir Ljubojevic
Vreme: 11/29/2011 05:58 PM, John Doe piše:
> From: Timothy Madden
>> Also, I hear Linux does not have, by default, a cache of resolved names
>> (like Windows does), and I find that to be a sad thing.
>
> Do not be sad!
> At least with CentOS 5, you can install the 'caching-nameserver' package.

What about Avahi (http://en.wikipedia.org/wiki/Avahi_%28software%29)? 
Doesn't it do that?I thought it does.

-- 

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

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


Re: [CentOS] How to make nodes in my local LAN see each other's names

2011-11-29 Thread Les Mikesell
On Tue, Nov 29, 2011 at 10:58 AM, John Doe  wrote:
>
>> Also, I hear Linux does not have, by default, a cache of resolved names
>> (like Windows does), and I find that to be a sad thing.
>
> Do not be sad!
> At least with CentOS 5, you can install the 'caching-nameserver' package.

Your router is probably giving out its own IP as the nameserver and
caching locally anyway.

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


[CentOS] CentOS-announce Digest, Vol 81, Issue 13

2011-11-29 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:1483 CentOS 5 x86_64device-mapper-multipath Update
  (Johnny Hughes)
   2. CEBA-2011:1483 CentOS 5 i386  device-mapper-multipath Update
  (Johnny Hughes)
   3. CEBA-2011:1491  CentOS 5 i386 mkinitrd Update (Johnny Hughes)
   4. CEBA-2011:1491  CentOS 5 x86_64 mkinitrd Update (Johnny Hughes)
   5. CEBA-2011:1482  CentOS 5 i386 openldap Update (Johnny Hughes)
   6. CEBA-2011:1482  CentOS 5 x86_64 openldap Update (Johnny Hughes)
   7. CEBA-2011:1487  CentOS 5 i386 openais Update (Johnny Hughes)
   8. CEBA-2011:1487  CentOS 5 x86_64 openais Update (Johnny Hughes)
   9. CEBA-2011:1488  CentOS 5 i386 glibc Update (Johnny Hughes)
  10. CEBA-2011:1488  CentOS 5 x86_64 glibc Update (Johnny Hughes)


--

Message: 1
Date: Mon, 28 Nov 2011 16:00:06 +
From: Johnny Hughes 
Subject: [CentOS-announce] CEBA-2011:1483 CentOS 5 x86_64
device-mapper-multipath Update
To: centos-annou...@centos.org
Message-ID: <2028160006.ga28...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2011:1483 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2011-1483.html

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

x86_64:
ab306d609e179906da31f9bc3011cd0d  
device-mapper-multipath-0.4.7-46.el5_7.2.x86_64.rpm
b9ae07cf66762bca1a2bb910a291783b  kpartx-0.4.7-46.el5_7.2.x86_64.rpm

Source:
fead60dd621fdd4ab6391e9d7174e3ca  
device-mapper-multipath-0.4.7-46.el5_7.2.src.rpm


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



--

Message: 2
Date: Mon, 28 Nov 2011 16:00:06 +
From: Johnny Hughes 
Subject: [CentOS-announce] CEBA-2011:1483 CentOS 5 i386
device-mapper-multipath Update
To: centos-annou...@centos.org
Message-ID: <2028160006.ga28...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2011:1483 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2011-1483.html

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

i386:
8978d824f071ae84d0c4462abd9c2e50  
device-mapper-multipath-0.4.7-46.el5_7.2.i386.rpm
b2ba4f04c55829753623cc6182ce6836  kpartx-0.4.7-46.el5_7.2.i386.rpm

Source:
fead60dd621fdd4ab6391e9d7174e3ca  
device-mapper-multipath-0.4.7-46.el5_7.2.src.rpm


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



--

Message: 3
Date: Mon, 28 Nov 2011 16:01:11 +
From: Johnny Hughes 
Subject: [CentOS-announce] CEBA-2011:1491  CentOS 5 i386 mkinitrd
Update
To: centos-annou...@centos.org
Message-ID: <2028160111.ga28...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2011:1491 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2011-1491.html

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

i386:
5a74f54650cd4d6014feba1a74278c6d  libbdevid-python-5.1.19.6-71.el5_7.1.i386.rpm
266231e55634d55ae026c24e2356de6d  mkinitrd-5.1.19.6-71.el5_7.1.i386.rpm
5c5791012dfae7b6c4a891a569009ddf  mkinitrd-devel-5.1.19.6-71.el5_7.1.i386.rpm
1edcafd2efdbe2383201e1f51da06594  nash-5.1.19.6-71.el5_7.1.i386.rpm

Source:
4be3b26e57c24625a42b0e0f80e751cb  mkinitrd-5.1.19.6-71.el5_7.1.src.rpm


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



--

Message: 4
Date: Mon, 28 Nov 2011 16:01:11 +
From: Johnny Hughes 
Subject: [CentOS-announce] CEBA-2011:1491  CentOS 5 x86_64 mkinitrd
Update
To: centos-annou...@centos.org
Message-ID: <2028160111.ga28...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2011:1491 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2011-1491.html

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

x86_64:
ac1ade89ac44a8f5438edd73e605d201  
libbdevid-python-5.1.19.6-71.el5_7.1.x86_64.rpm
266231e55634d55ae026c24e2356de6d  mkinitrd-5.1.19.6-71.el5_7.1.i386.rpm
d42416985d24652fe8b2f007c20d01e2  mkinitrd-5.1.19.6-71.el5_7.1.x86_64.rpm
5c5791012dfae7b6c4a891a569009ddf  mkin

Re: [CentOS] How to make nodes in my local LAN see each other's names

2011-11-29 Thread John Doe
From: Timothy Madden 

> The router has the 'DNS relay' option enabled, and all 7 computers use 
> the router as the DNS server, which in turn will forward DNS requests to 
> the ISP DNS server. That way I can understand that simple, plain, 
> default DNS is not enough for my boxes to see each-other's names.

Can't you add local entries to the router...?

> What is the way to have all computers in my simple network know each 
> other by name ?

Setup a local DNS (if your router cannot do it).
Or simply add them to each /etc/hosts
For 7 computers, I would just use /etc/hosts...
Unless you plan to rename them every 5 minutes.

> Also, I hear Linux does not have, by default, a cache of resolved names 
> (like Windows does), and I find that to be a sad thing.

Do not be sad!
At least with CentOS 5, you can install the 'caching-nameserver' package.

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


Re: [CentOS] How to make nodes in my local LAN see each other's names

2011-11-29 Thread Lamar Owen
On Tuesday, November 29, 2011 11:14:16 AM Timothy Madden wrote:
> The router has the 'DNS relay' option enabled, and all 7 computers use 
> the router as the DNS server, which in turn will forward DNS requests to 
> the ISP DNS server. That way I can understand that simple, plain, 
> default DNS is not enough for my boxes to see each-other's names.

Can this router have DNS entries added for local hosts?  Some SOHO type routers 
can do this, but I'm not that familiar with your particular router.

> somehow I think installing cifs on every node just to get my local 
> machine names to resolve properly to the IP addresses is not the right 
> way to solve my problem ...

Indeed.

> What is the way to have all computers in my simple network know each 
> other by name ?

There is no one correct way.  But here are a few possibilities for you:
1.) DNS entries in the D-Link router;
2.) static hostnames in /etc/hosts (you'll need to set the router up to always 
hand out the same IP address for each machine; most SOHO routers can do this, 
but it may not be obvious how to make it work)
3.) Run a separate DHCP and DNS server on the LAN and not use the router (for a 
larger installation this would be the preferred way to do things, but for a 
small number it's not ideal).

> Is it possible to have the name resolving procedure used by the system 
> automatically recognize a new machine added to my network, when I try to 
> access it with right host name, like WINS can ?

Dynamic DNS; your router may be able to do this for you.

> Is there an easy way to install a caching name server on my each 
> machine, and make sure my system is using /that server/ to resolve names ?

Yes.  More than one option exists for this; for CentOS 5 at least you can just 
'yum install caching-nameserver' and 'chkconfig named on' (and then 'service 
named start') and it should come up; I haven't used that setup in some time, 
though, so not sure how nice that plays with DHCP.  There are other options, 
but that is the main one that is in the CentOS distribution's main repo.

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


Re: [CentOS] How can rpm "%{SUMMARY}" not be consistent?

2011-11-29 Thread Bart Schaefer
On Tue, Nov 29, 2011 at 7:53 AM, Denniston, Todd A CIV
NAVSURFWARCENDIV Crane  wrote:
>
> Why does a number in a text string change based on LANG?

There's a separate dictionary of translated text strings (called a
catalog) for each language.  Those translations are looked up and
substituted for the default text based on the locale or language
settings in the environment.  If the number is stored in the catalog
as part of the string, you could see this effect.

It appears that either the catalogs have not been updated along with
the packages that make reference to them (which would be a bug), or
the updated catalogs have not been installed because they are part of
a "language pack" that is not listed as a dependency of all the
packages that refer to it (which likely is a deliberate optimization).
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] hello

2011-11-29 Thread Ljubomir Ljubojevic
Vreme: 11/29/2011 05:00 PM, LinuxIsOne piše:
> On Tue, Nov 29, 2011 at 9:15 AM, Karanbir Singhwrote:
>
> For interactive feedback of this nature, you should consider using the
>> irc channel - that tends to be a lot more tailored to such conversations.
>>
>
> I may be old fashioned, but I've never use the IRC stuff. I prefer emails,
> but yes I came to know that it should be non-interactive if it is a CentOS
> mailing list.
>

Right now, there are 50-80 mails per day on this mail list alone, 
without interactive one-sentence mails in 2-3 people conversation.

And there are 1000+ receivers of mail from mailing list (1+ million of 
installations ), not interested in your problems. For them, reading 
interactive mail is FUD, unnecessary junk wasting their time. Imagine 
communication for just 10 beginners asking/posting 20-30 mails (with 
replies of others).

So please respect them and use IRC/Forums for "trivial" support, and use 
this mailing list for more heavier questions and discussions (not 
producing high mail volume).

-- 

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] How to make nodes in my local LAN see each other's names

2011-11-29 Thread Timothy Madden
Hello

Sorry for the (I guess) simple question, but:

I have 7 computers under one 8-port router (D-Link DIR-100, firmware 
v1.13EU) in my network (actually in a sub-network) and they do not see 
each other's host names.

The router has the 'DNS relay' option enabled, and all 7 computers use 
the router as the DNS server, which in turn will forward DNS requests to 
the ISP DNS server. That way I can understand that simple, plain, 
default DNS is not enough for my boxes to see each-other's names.

Windows has a nice (or not) way to resolve the problem: CIFS (Samba) 
server names are automatically included in the name resolving procedure. 
I know I can do the same with my CentOS boxes if I install samba on each 
of them and add 'wins' to the 'hosts: ' line in /etc/nsswitch.conf, but 
somehow I think installing cifs on every node just to get my local 
machine names to resolve properly to the IP addresses is not the right 
way to solve my problem ...

What is the way to have all computers in my simple network know each 
other by name ?

Is it possible to have the name resolving procedure used by the system 
automatically recognize a new machine added to my network, when I try to 
access it with right host name, like WINS can ?

Also, I hear Linux does not have, by default, a cache of resolved names 
(like Windows does), and I find that to be a sad thing. Why should the 
default be set so that I contact the ISP DNS server for each and every 
web page I hit ?

Is there an easy way to install a caching name server on my each 
machine, and make sure my system is using /that server/ to resolve names ?

Thank you,
Timothy Madden

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


Re: [CentOS] How can rpm "%{SUMMARY}" not be consistent?

2011-11-29 Thread Denniston, Todd A CIV NAVSURFWARCENDIV Crane


> -Original Message-
> From: Denniston, Todd A CIV NAVSURFWARCENDIV Crane
> Sent: Tuesday, November 29, 2011 10:54
> To: 'CentOS mailing list'
> Subject: RE: [CentOS] How can rpm "%{SUMMARY}" not be consistent?
> 
> and for added fun... look at an agg package from epel
> $ export LANG=en_US.UTF-8
> $ rpm -q --qf '"%{VENDOR}","%{NAME}","%{VERSION}","%{VERSION}-
> %{RELEASE}","%{ARCH}","%{SUMMARY}"\n' agg
> "Fedora Project","agg","2.5","2.5-9.el5","i386","Anti-Grain Geometry"
> $ export LANG=
> $ rpm -q --qf '"%{VENDOR}","%{NAME}","%{VERSION}","%{VERSION}-
> %{RELEASE}","%{ARCH}","%{SUMMARY}"\n' agg
> "Fedora Project","agg","2.5","2.5-9.el5","i386","Anti-Grain Geometry
> graphical rendering engine"
> 
> Why does the string length change this dramatically based on LANG?

###And even more fun... try compat-db
$export LANG= ;rpm -q --qf
'"%{VENDOR}","%{NAME}","%{VERSION}","%{VERSION}-%{RELEASE}","%{ARCH}","%
{SUMMARY}"\n'  compat-db
"CentOS","compat-db","4.2.52","4.2.52-5.1","i386","The Berkeley DB
database library for Red Hat Linux 7.x compatibility."
$ export LANG=en_US.UTF-8 ;rpm -q --qf
'"%{VENDOR}","%{NAME}","%{VERSION}","%{VERSION}-%{RELEASE}","%{ARCH}","%
{SUMMARY}"\n'  compat-db
"CentOS","compat-db","4.2.52","4.2.52-5.1","i386","The Berkeley DB
database library for CentOS 2.1 compatibility."

Yep that seems a strange one.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DHCP_HOSTNAME in ifcfg-eth0

2011-11-29 Thread Scot P. Floess

Sounds to me like you want to set up DDNS internally?  I do that for my 
home network - but you need to have both DHCP and DNS working 
together...meaning DHCP needs to be able to update the DNS server with the 
names of the DHCP clients.  I've got a Linksys router and have never 
gotten that to work with it (I haven't tried), but I have a CentOS box 
acting as both my DNS server and DHCP server.  I also spin up VMs that use 
DHCP...my kickstart file actually write the DHCP client name into 
ifcfg-eth0, so when the DHCP clients start up I can refer to them by 
name...



On Tue, 29 Nov 2011, Timothy Madden wrote:

> On 29.11.2011 15:57, Timothy Madden wrote:
>> Hello
>>
>> Is there a way for the dhcp client to send the current host name of the
>> machine when requesting a lease ?
>>
>> Currently I have to include a line like
>>  DHCP_HOSTNAME=appserver2
>> in my /etc/sysconfig/network-scripts/ifcfg-eth0, but I would like to
>> tell the dhcp client to just 'also send the hostname' and then the
>> client to get the current hostname itself, instead of having the name
>> hard-coded in the ifcfg-eth0 file.
>>
>> I am trying to get my router to know the names of all my CentOS
>> machines, as currently I can access none of my CentOS machines by their
>> node name (I get 'unknown host' upon name lookup) and maybe it will help
>> if the router knows all the computer names.
>
> Sorry for the wrong wording: what I want is the DHCP client to send the
> hostname when a lease is requested, but I do not want to give dhclient
> any explicit hostname to be sent.
>
> I want dhclient to read the hostname from `hostname` or from
> /etc/sysconfig/network or any other way, and use that name to send the
> hostname to DHCP server.
>
> Thank you,
> Timothy Madden
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Scot P. Floess RHCT  (Certificate Number 605010084735240)
Chief Architect FlossWare  http://sourceforge.net/projects/flossware
http://flossware.sourceforge.net
https://github.com/organizations/FlossWare
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] hello

2011-11-29 Thread LinuxIsOne
On Tue, Nov 29, 2011 at 9:15 AM, Karanbir Singh wrote:

For interactive feedback of this nature, you should consider using the
> irc channel - that tends to be a lot more tailored to such conversations.
>

I may be old fashioned, but I've never use the IRC stuff. I prefer emails,
but yes I came to know that it should be non-interactive if it is a CentOS
mailing list.

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


Re: [CentOS] DHCP_HOSTNAME in ifcfg-eth0

2011-11-29 Thread Stephen Harris
On Tue, Nov 29, 2011 at 05:52:06PM +0200, Timothy Madden wrote:
> > Currently I have to include a line like
> > DHCP_HOSTNAME=appserver2

> I want dhclient to read the hostname from `hostname` or from 
> /etc/sysconfig/network or any other way, and use that name to send the 
> hostname to DHCP server.

Can't you just do
  DHCP_HOSTNAME=`hostname`
?

Many of the config files are just parsed as shell scripts, so this
might work :-)

-- 

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


Re: [CentOS] How can rpm "%{SUMMARY}" not be consistent?

2011-11-29 Thread Denniston, Todd A CIV NAVSURFWARCENDIV Crane
> -Original Message-
> From: Denniston, Todd A CIV NAVSURFWARCENDIV Crane
> Sent: Wednesday, November 16, 2011 16:37
> To: CentOS mailing list
> Subject: RE: [CentOS] How can rpm "%{SUMMARY}" not be consistent?
> > -Original Message-
> > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org]
On
> > Behalf Of Akemi Yagi
> > Sent: Wednesday, November 16, 2011 11:20
> > To: CentOS mailing list
> > Subject: Re: [CentOS] How can rpm "%{SUMMARY}" not be consistent?
> >
> > On Wed, Nov 16, 2011 at 6:56 AM, John Hodrien
> 
> > wrote:
> > > On Wed, 16 Nov 2011, Akemi Yagi wrote:
> > >
> > >> What you are seeing is indeed odd. I see 'version 3.1' but not
'3.2'
> > >> anywhere on the Summary line of bash. 
> 
> I would have said you also seeing 'version 3.1.' is one of the very
odd
> things, but then I check the bash rpm in a repo and it has 'version
> 3.1.' in the 3.2-32.el5 rpm.
> 

I think I know some of what is causing what is going on now...
After a little testing with a format string of 
 
'"%{VENDOR}","%{NAME}","%{VERSION}","%{VERSION}-%{RELEASE}","%{ARCH}","%
{INSTALLTIME:date}"\n'
I found I got different results based on the LANG environment setting,
which led me to try it with the SUMMARY field too.

###start with a normally configured terminal
$ cd /to/your/CentOS/mirror/
$ locale |grep LANG
LANG=en_US.UTF-8
$ rpm -q \
  --qf
'"%{VENDOR}","%{NAME}","%{VERSION}","%{VERSION}-%{RELEASE}","%{ARCH}","%
{SUMMARY}"\n'  \
  -p 5.7/os/i386/CentOS/bash-3.2-32.el5.i386.rpm
"CentOS","bash","3.2","3.2-32.el5","i386","The GNU Bourne Again shell
(bash) version 3.1."

#now change LANG to what I see from cron
$ export LANG=
$ locale |grep LANG
LANG=
$ rpm -q \
  --qf
'"%{VENDOR}","%{NAME}","%{VERSION}","%{VERSION}-%{RELEASE}","%{ARCH}","%
{SUMMARY}"\n'  \
  -p 5.7/os/i386/CentOS/bash-3.2-32.el5.i386.rpm
"CentOS","bash","3.2","3.2-32.el5","i386","The GNU Bourne Again shell
(bash) version 3.2"

Why does a number in a text string change based on LANG?

and for added fun... look at an agg package from epel
$ export LANG=en_US.UTF-8
$ rpm -q --qf
'"%{VENDOR}","%{NAME}","%{VERSION}","%{VERSION}-%{RELEASE}","%{ARCH}","%
{SUMMARY}"\n' agg
"Fedora Project","agg","2.5","2.5-9.el5","i386","Anti-Grain Geometry"
$ export LANG=
$ rpm -q --qf
'"%{VENDOR}","%{NAME}","%{VERSION}","%{VERSION}-%{RELEASE}","%{ARCH}","%
{SUMMARY}"\n' agg
"Fedora Project","agg","2.5","2.5-9.el5","i386","Anti-Grain Geometry
graphical rendering engine"

Why does the string length change this dramatically based on LANG?


Well I guess I at least know what I need to do to the script to have it
be consistent.

I might even get around to filing a RH bug, because this does not seem
to me to be a correct behavior to me. does anyone here see these changes
as correct behavior (and why)?

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


Re: [CentOS] Monitoring services

2011-11-29 Thread me
On Tue, 29 Nov 2011, Rajagopal Swaminathan wrote:

> Greetings,
>
> On Tue, Nov 29, 2011 at 12:05 AM, Paul Heinlein  wrote:
>> On Sun, 27 Nov 2011, Kenneth Porter wrote:
>>
>>> What's available to remotely monitor services?
>
> I have deployed Zabbix successfully to remotely monitor about 240+
> geographically distributed locations connected by ADSSL links (IOW, no
> fixed IP) for the second largest public transport corporations (next
> only to Germany) in India successfully.
>
> Perhaps, you may consider that.

Another possibility is http://sourceforge.net/projects/xymon/

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DHCP_HOSTNAME in ifcfg-eth0

2011-11-29 Thread Timothy Madden
On 29.11.2011 15:57, Timothy Madden wrote:
> Hello
>
> Is there a way for the dhcp client to send the current host name of the
> machine when requesting a lease ?
>
> Currently I have to include a line like
>   DHCP_HOSTNAME=appserver2
> in my /etc/sysconfig/network-scripts/ifcfg-eth0, but I would like to
> tell the dhcp client to just 'also send the hostname' and then the
> client to get the current hostname itself, instead of having the name
> hard-coded in the ifcfg-eth0 file.
>
> I am trying to get my router to know the names of all my CentOS
> machines, as currently I can access none of my CentOS machines by their
> node name (I get 'unknown host' upon name lookup) and maybe it will help
> if the router knows all the computer names.

Sorry for the wrong wording: what I want is the DHCP client to send the 
hostname when a lease is requested, but I do not want to give dhclient 
any explicit hostname to be sent.

I want dhclient to read the hostname from `hostname` or from 
/etc/sysconfig/network or any other way, and use that name to send the 
hostname to DHCP server.

Thank you,
Timothy Madden

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


Re: [CentOS] Using the CR repo

2011-11-29 Thread Bowie Bailey
On 11/28/2011 7:37 PM, david wrote:
> At 04:32 PM 11/28/2011, you wrote:
>> On Mon, Nov 28, 2011 at 04:07:27PM -0800, david wrote:
>>
>> Please do not top-post to the centos mailing lists - thank you.
>>
>>> Is priority=1 more important than priority=2?  If so, then I already have
>> Yes.  "highest" priority is 0; "lowest" priority is 99.
>>
>>> at priority 1:
>>>   base, centosplus, updates, extras
>>> at priority 3
>>>   cr
>> cr will never be permitted to update base/centosplus/updates/extras
>> currently.
>>
>> I must apologize for my original response; wording was quite confusing,
>> if not outright wrong.
>>
>> It should have read:
>>
>> "Priority must be the same or higher than base/updates; lower numeric values
>> are rated at a higher priority."
> OK.  (bottom posting) ... so the priorities are set correctly, yet CR 
> doesn't show up in the YUM repo listing.  HELP? 

No, your priorities are *not* set correctly.  CR must be at the same or
lower-numbered priority than the base and updates repos.  If base is at
priority 1, then CR should also be at priority 1.

I think the confusion comes in because a lower number means a higher
priority.  In order for the CR repo to update the base packages, it must
have the same or a higher priority (meaning the same or a lower number).

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


Re: [CentOS] hello

2011-11-29 Thread LinuxIsOne
On Tue, Nov 29, 2011 at 9:48 AM, Karanbir Singh wrote:

The point was that mailing lists are not the best place to have such
> interactive conversations - try to use IRC instead, where you can
> actually chat with people in real'ish time and discuss issues etc.
>
> So you should now go away and do a few things : read about what IRC is,
> read the page that explains about the centos channels ( Ljubomir's email
> had that link ). And do those things before you reply to this email.
>

Okay. So mailing lists are for non-interactive conversations okk...and for
knowledge only...

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


Re: [CentOS] hello

2011-11-29 Thread Karanbir Singh
On 11/29/2011 02:47 PM, LinuxIsOne wrote:
> The meaning of saying so was only this that I didn't know what to
> download..., that's all. I guess you would not take it personally (if have
> taken...). Well I am absolutely new in the world of Linux, so it became
> typical for me.

The point was that mailing lists are not the best place to have such
interactive conversations - try to use IRC instead, where you can
actually chat with people in real'ish time and discuss issues etc.

So you should now go away and do a few things : read about what IRC is,
read the page that explains about the centos channels ( Ljubomir's email
had that link ). And do those things before you reply to this email.

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


Re: [CentOS] hello

2011-11-29 Thread LinuxIsOne
On Tue, Nov 29, 2011 at 9:10 AM, LinuxIsOne  wrote:

Oh thanks for the information but since you replied here so I thought, you
> must be knowing, but, as you say, you don't know, so not problem, I just
> download first Live DVD (since already started and also it would give me an
> idea if compatible or not) and then later see the other case. Any other
> knowledgeable person could tell here itself...
>

The meaning of saying so was only this that I didn't know what to
download..., that's all. I guess you would not take it personally (if have
taken...). Well I am absolutely new in the world of Linux, so it became
typical for me.

Rest all, you guys know...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] hello

2011-11-29 Thread LinuxIsOne
On Tue, Nov 29, 2011 at 9:42 AM, Ljubomir Ljubojevic 
wrote:

> IRC chating for CentOS:
> http://www.centos.org/modules/tinycontent/index.php?id=8

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


Re: [CentOS] hello

2011-11-29 Thread Ljubomir Ljubojevic
Vreme: 11/29/2011 03:31 PM, LinuxIsOne piše:
> On Tue, Nov 29, 2011 at 9:15 AM, Karanbir Singhwrote:
>
> For interactive feedback of this nature, you should consider using the
>> irc channel - that tends to be a lot more tailored to such conversations.
>>
>
> Hi,
>
> Didn't get ...? That was I confused in downloadingin LIVE and
> bin-DVD...!
>

IRC chating for CentOS:
http://www.centos.org/modules/tinycontent/index.php?id=8

-- 

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] hello

2011-11-29 Thread LinuxIsOne
On Tue, Nov 29, 2011 at 9:15 AM, Karanbir Singh wrote:

For interactive feedback of this nature, you should consider using the
> irc channel - that tends to be a lot more tailored to such conversations.
>

Hi,

Didn't get ...? That was I confused in downloadingin LIVE and
bin-DVD...!

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


Re: [CentOS] hello

2011-11-29 Thread Karanbir Singh
On 11/29/2011 02:10 PM, LinuxIsOne wrote:
> Oh thanks for the information but since you replied here so I thought, you
> must be knowing, but, as you say, you don't know, so not problem, I just
> download first Live DVD (since already started and also it would give me an
> idea if compatible or not) and then later see the other case. Any other
> knowledgeable person could tell here itself...

For interactive feedback of this nature, you should consider using the
irc channel - that tends to be a lot more tailored to such conversations.

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


Re: [CentOS] hello

2011-11-29 Thread LinuxIsOne
On Tue, Nov 29, 2011 at 8:54 AM, Ljubomir Ljubojevic wrote:

i am taking into account your lack of knowledge. IF LiveDVD lacks some
> of the packages installed by default from installation DVD, then you
> will not know which those packages are. That was the whole point of my
> suggestion to go with regular installation DVD. I haven't got around to
> testing LiveDVD so I do not have the answer.
>
> If you have time to risk it (play/learn) then by all means install from
> LiveDVD. It is not wrong, just might be the longer/harder way of
> reaching the same goal. And it may not be harder at all. Your
> choice/preference.
>
> http://www.centos.org has links to Wiki and Forums, and this mailing
> list is available also, so you can investigate/learn/ask.


Oh thanks for the information but since you replied here so I thought, you
must be knowing, but, as you say, you don't know, so not problem, I just
download first Live DVD (since already started and also it would give me an
idea if compatible or not) and then later see the other case. Any other
knowledgeable person could tell here itself...

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


Re: [CentOS] DHCP_HOSTNAME in ifcfg-eth0

2011-11-29 Thread Barry Brimer
> Is there a way for the dhcp client to send the current host name of the
> machine when requesting a lease ?
>
> Currently I have to include a line like
>   DHCP_HOSTNAME=appserver2
> in my /etc/sysconfig/network-scripts/ifcfg-eth0, but I would like to
> tell the dhcp client to just 'also send the hostname' and then the
> client to get the current hostname itself, instead of having the name
> hard-coded in the ifcfg-eth0 file.

For some reason I think you need to have "HOSTNAME=" in your 
/etc/sysconfig/network file .. meaning make the variable blank.  There is 
also a dhclient option you can create in /etc/dhcp/dhclient-.conf 
something like send fqdn.fqdn  but usually you don't need that 
if your use DHCP_HOSTNAME correctly ...

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


[CentOS] Antwort: DHCP_HOSTNAME in ifcfg-eth0

2011-11-29 Thread Andreas Reschke
centos-boun...@centos.org schrieb am 29.11.2011 14:57:15:

> Timothy Madden  
> Gesendet von: centos-boun...@centos.org
> 
> 29.11.2011 14:57
> 
> Bitte antworten an
> CentOS mailing list 
> 
> An
> 
> centos@centos.org
> 
> Kopie
> 
> Thema
> 
> [CentOS] DHCP_HOSTNAME in ifcfg-eth0
> 
> Hello
> 
> Is there a way for the dhcp client to send the current host name of the 
> machine when requesting a lease ?
> 
> Currently I have to include a line like
>DHCP_HOSTNAME=appserver2
> in my /etc/sysconfig/network-scripts/ifcfg-eth0, but I would like to 
> tell the dhcp client to just 'also send the hostname' and then the 
> client to get the current hostname itself, instead of having the name 
> hard-coded in the ifcfg-eth0 file.
> 
> I am trying to get my router to know the names of all my CentOS 
> machines, as currently I can access none of my CentOS machines by their 
> node name (I get 'unknown host' upon name lookup) and maybe it will help 

> if the router knows all the computer names.
> 
> Thank you,
> Timothy Madden
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

Hi Timothy,
I've in my config file:

DHCP_CLIENT_ID=st00ni0029
DHCP_HOSTNAME=st00ni0029
 
That works for me.

Gruß 
Andreas Reschke


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


[CentOS] DHCP_HOSTNAME in ifcfg-eth0

2011-11-29 Thread Timothy Madden
Hello

Is there a way for the dhcp client to send the current host name of the 
machine when requesting a lease ?

Currently I have to include a line like
DHCP_HOSTNAME=appserver2
in my /etc/sysconfig/network-scripts/ifcfg-eth0, but I would like to 
tell the dhcp client to just 'also send the hostname' and then the 
client to get the current hostname itself, instead of having the name 
hard-coded in the ifcfg-eth0 file.

I am trying to get my router to know the names of all my CentOS 
machines, as currently I can access none of my CentOS machines by their 
node name (I get 'unknown host' upon name lookup) and maybe it will help 
if the router knows all the computer names.

Thank you,
Timothy Madden

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


Re: [CentOS] hello

2011-11-29 Thread Ljubomir Ljubojevic
Vreme: 11/29/2011 02:43 PM, LinuxIsOne piše:
> On Tue, Nov 29, 2011 at 8:23 AM, Ljubomir Ljubojevicwrote:
>> >  My advice is to download LiveDVD for testing porposes, but regular DVD
>> >  for installation. That way you will not miss out on anything from
>> >  regular installation (in case LiveDVD is missing anything).
>> >
> But since if I download the Live DVD, and cannot I install from it itself?
> (If) anything is missing, it could be installed from internet later..., is
> this possible or do I need to consume back the bandwidth for downloading
> non-LIVE image also?
>

i am taking into account your lack of knowledge. IF LiveDVD lacks some 
of the packages installed by default from installation DVD, then you 
will not know which those packages are. That was the whole point of my 
suggestion to go with regular installation DVD. I haven't got around to 
testing LiveDVD so I do not have the answer.

If you have time to risk it (play/learn) then by all means install from 
LiveDVD. It is not wrong, just might be the longer/harder way of 
reaching the same goal. And it may not be harder at all. Your 
choice/preference.

http://www.centos.org has links to Wiki and Forums, and this mailing 
list is available also, so you can investigate/learn/ask.

-- 

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] hello

2011-11-29 Thread LinuxIsOne
On Tue, Nov 29, 2011 at 8:08 AM, Markku Kolkka
wrote:

CentOS hasn't published a Deployment Guide for version 6. The
> package management software hasn't changed significantly from
> version 5. You can see the docs for RHEL6 but you need to figure
> out which parts don't apply to CentOS.
>

Oh I see.

On Tue, Nov 29, 2011 at 8:23 AM, Ljubomir Ljubojevic wrote:


> My advice is to download LiveDVD for testing porposes, but regular DVD
> for installation. That way you will not miss out on anything from
> regular installation (in case LiveDVD is missing anything).
>

But since if I download the Live DVD, and cannot I install from it itself?
(If) anything is missing, it could be installed from internet later..., is
this possible or do I need to consume back the bandwidth for downloading
non-LIVE image also?


> CentOS after installation is exactly what RHEL/upstream distributes, so
> there can/will be missing nVidia/ATI and possibly some other drivers.
> Those can be found in third party repositories
> (http://wiki.centos.org/AdditionalResources/Repositories) so do not
> worry about it, you will be able to set up your PC with all the drivers,
> with little meddling.
>

Oh yes, sure, thanks.

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


Re: [CentOS] hello

2011-11-29 Thread Ljubomir Ljubojevic
Vreme: 11/29/2011 12:39 PM, LinuxIsOne piše:
> On Tue, Nov 29, 2011 at 6:32 AM, Rob Kampenwrote:
>
> Then I should download:
>
> CentOS-6.0-x86_64-LiveDVD.iso
>
> since I would first check if it suits the hardware and then from the same
> DVD (on which I copy the image after downloading, of the above) I would
> install, would it be complete then? Complete in the sense that, it would
> have all the things...(since we are downloading the DVD, it should
> have...)...??
>

My advice is to download LiveDVD for testing porposes, but regular DVD 
for installation. That way you will not miss out on anything from 
regular installation (in case LiveDVD is missing anything).

CentOS after installation is exactly what RHEL/upstream distributes, so 
there can/will be missing nVidia/ATI and possibly some other drivers. 
Those can be found in third party repositories 
(http://wiki.centos.org/AdditionalResources/Repositories) so do not 
worry about it, you will be able to set up your PC with all the drivers, 
with little meddling.

-- 

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] hello

2011-11-29 Thread Markku Kolkka
LinuxIsOne kirjoitti viestissään (lähetysaika tiistai, 29. 
marraskuuta 2011):
> 
> Okay, but I am downloading Cent OS version 6 and you have
>  provided me the link for 5, 

CentOS hasn't published a Deployment Guide for version 6. The 
package management software hasn't changed significantly from 
version 5. You can see the docs for RHEL6 but you need to figure 
out which parts don't apply to CentOS.

-- 
 Markku Kolkka
 markku.kol...@iki.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] hello

2011-11-29 Thread LinuxIsOne
On Tue, Nov 29, 2011 at 7:02 AM, Markku Kolkka
wrote:

If you install from LiveDVD, you will get exactly the same things
> that are available on the Live system before installation. You
> can use the normal CentOS software management tools after
> installation to add packages form software repositories on the
> Internet.
>
> See:
>
> http://www.centos.org/docs/5/html/5.2/Deployment_Guide/pt-pkg-management.html
>  http://wiki.centos.org/AdditionalResources/Repositories
>

Okay, but I am downloading Cent OS version 6 and you have provided me the
link for 5, should I go for CentOS version 5, if it with more people so
that people can support way better than 6?

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


Re: [CentOS] Forget SMB password immediately

2011-11-29 Thread Guitart Francesc
Le 28/11/2011 20:49, Lamar Owen a écrit :
> On Monday, November 28, 2011 01:15:30 PM Les Mikesell wrote:
>> None of which justifies someone else helping to continue a misguided
>> and insecure practice...
>
> Not all systems are Internet connected, and not all sites need the same 
> security; one size does not fit all.
>
> In the OP, we have a basic set of data against which a question was asked:
> 1.) The OP has a NAS (perhaps only able to do SMB for all we know);
> 2.) The OP has inherited a system with an undefined number of users who all 
> share a login on a workstation (which actually is fairly common on the floor 
> of a factory, just to mention one instance of which I have direct knowledge);
> 3.) The system as described allows each user to have a semi-private fileshare;
> 4.) The OP wants to disable credential caching for SMB fileshares from the 
> desktop (at least that's how it sounds).
>
> The request embodied by 4 is not unreasonable, and should be answerable.
>
> To the OP; see the opposite of your problem in this Ubuntu bug report:
> https://bugs.launchpad.net/gnome-keyring/+bug/67189

Thanks for the link. Following the trail I could see several bugs 
reported in bugzilla.gnome.org. The problem I have is related to the 
version of Gnome:

CentOS 5.7: Gnome 2.16 >> Does not work as I expect.
Debian 6: Gnome 2.30.2 >> Works as I expect.
Center 6: Gnome 2.28.2 >> Works as I expect.

Thank you all for your responses.


-- 
Francesc Guitart

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


Re: [CentOS] hello

2011-11-29 Thread Markku Kolkka
LinuxIsOne kirjoitti viestissään (lähetysaika tiistai, 29. 
marraskuuta 2011):
> 
> since I would first check if it suits the hardware and then
>  from the same DVD (on which I copy the image after
>  downloading, of the above) I would install, would it be
>  complete then? Complete in the sense that, it would have all
>  the things.

If you install from LiveDVD, you will get exactly the same things 
that are available on the Live system before installation. You 
can use the normal CentOS software management tools after 
installation to add packages form software repositories on the 
Internet.

See:
 http://www.centos.org/docs/5/html/5.2/Deployment_Guide/pt-pkg-management.html
 http://wiki.centos.org/AdditionalResources/Repositories

-- 
 Markku Kolkka
 markku.kol...@iki.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Forget SMB password immediately

2011-11-29 Thread Guitart Francesc
Le 28/11/2011 17:23, Les Mikesell a écrit :

(...)

> This is a little bit different from normal mounting - that is a
> feature built into the Nautilus file manager.  It will be able to
> copy/paste/edit//execute files from the remote share as internal
> operations and  but it doesn't make them available as part of the file
> system.  In this case access would be limited to the instance of
> Nautilus that made the connection, much like it would with smbclient.

This explanation links perfectly with what happens to me, now I 
understand a little better.

>> I disconnected from the NAS as userB ejecting the volume on the Desktop.
>>
>> Now, from any window of Gnome Desktop I write smb://ip-nas/ and I have
>> access to sharedA and sharedB.
>>
>> In fact, if I do netstat -an I can see four connections to the NAS, two
>> for every user (139 tcp and 445 tcp) what are saying I'm not really
>> disconnected from the NAS.
>>
>> How can I really disconnect from NAS? Or how can I force the password
>> being asked every time I try to access to one shared ressource as
>> happens in Debian?
>
> Logging out of the Gnome desktop should do it, but the whole concept
> seems very wrong.  Even if all the users are working at the same
> console, they should have different logins.

Yes, I had alredy tested and it works, logging out of Gnome disconnect 
from NAS but also kill processes running when I just wanted to release a 
volume SMB.

I know it's not a good solution from the point of view of security, but 
they work like that for a long time and I just recently work here. 
Furthermore I'm not familiar with this machine and the services that 
provide. Also looks set to be replaced within a couple of months, so I 
did not want to spend much time, changing the way users work, and 
risking of breaking something in a compute server used constantly with 
something that has a period of life so short.


-- 
Francesc Guitart

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


Re: [CentOS] hello

2011-11-29 Thread LinuxIsOne
On Tue, Nov 29, 2011 at 6:43 AM, Ljubomir Ljubojevic wrote:

Rajagopal was Totally INCORECT. He did not pay enough attention and made
> a mistake.
>
> You asked about difference between DVD and LiveDVD torrents, not between
> DVD1 and DVD2.
>
> Correct answer:
> - LiveDVD is meant for testing purposes, and it *should* have
> possibility to install system on the hard disk. It can be also used to
> access dead system for repairs or data salvage.
>
> - Regular DVD is for default installation media, consisting of 2 DVD's.
> In default configuration only DVD1 is needed.
>

oh thanks for this explanation. Yes I wanted to know this one only. and
bin-DVD torrent, I guess contains both the DVDs (which separately are
written as DVD1 and DVD2). Okk..but I have to download the LIVE one since I
have to check also(if it gets adapted or not...) Said that, but I don't
know if LIVE DVD is one only or two (but on the website its one, at
http://mirrors.hns.net.in/centos/6.0/isos/x86_64/ and may be after
installation of one DVD it might be downloading things from the net..which
are left aside for which bib-DVD has two parts)

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


Re: [CentOS] net-snmp-5.5-27.el6.i686

2011-11-29 Thread Steve Clark
On 11/28/2011 07:41 PM, Corey Henderson wrote:
> On 11/28/2011 2:13 PM, Steve Clark wrote:
>> Hello,
>>
>> Can someone explain why I don't get a timeout when I use the community 
>> string "public" even if I don't have it
>> defined in my snmpd.conf file. It doesn't return data but it also doesn't 
>> timeout. See example below.
>> ...
>> rocommunity nobody 127.0.0.1
>> ...
>>
>> [root@L703108 pgsql]# snmpwalk -v 1 -c public 127.0.0.1 1.3.6.1.2.1.2.2.1 
>> ifMIB
>>
>> [root@L703108 pgsql]# snmpwalk -v 1 -c xyz 127.0.0.1 1.3.6.1.2.1.2.2.1 ifMIB
>> Timeout: No Response from 127.0.0.1
>>
>> [root@L703108 pgsql]# snmpwalk -v 1 -c nobody 127.0.0.1 1.3.6.1.2.1.2.2.1 
>> ifMIB
>> IF-MIB::ifIndex.1 = INTEGER: 1
>> IF-MIB::ifIndex.2 = INTEGER: 2
>> IF-MIB::ifIndex.3 = INTEGER: 3
>> IF-MIB::ifIndex.4 = INTEGER: 4
>> IF-MIB::ifIndex.5 = INTEGER: 5
>> IF-MIB::ifIndex.6 = INTEGER: 6
>> ...
>>
>>
>>
> The default /etc/snmp/snmpd.conf file comes with this line at the top:
>
> com2sec local   localhost   public
>
> Comment it out, service snmpd reload, and you'll no longer have the problem.
>
That was it - I guess I didn't read the man page well enough. I was providing 
my own config
file with the -c fname option but the default file was being picked up also 
since I didn't also
specify -C option.

Thanks,

-- 
Stephen Clark
*NetWolves*
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.cl...@netwolves.com
http://www.netwolves.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] hello

2011-11-29 Thread Ljubomir Ljubojevic
Vreme: 11/29/2011 12:27 PM, LinuxIsOne piše:
> On Tue, Nov 29, 2011 at 6:14 AM, Rajagopal Swaminathan<
> raju.rajs...@gmail.com>  wrote:
>
> Greetings,
>>
>
> hi, thanks.
>
>
>> Well, you need to download both to complete the installation for
>> multiple languages; especially Indian languages.
>>
>> I don't know about other languages (like cantonese, armenian or croatian).
>>
>
> I am also for Indian languages but which both are you telling? These
> both---
> CentOS-6.0-x86_64-bin-DVD.torrent
>
> and 
> CentOS-6.0-x86_64-LiveCD.torrent
> or something else..? What's the difference but...?
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>

Rajagopal was Totally INCORECT. He did not pay enough attention and made 
a mistake.

You asked about difference between DVD and LiveDVD torrents, not between 
DVD1 and DVD2.

Correct answer:
- LiveDVD is meant for testing purposes, and it *should* have 
possibility to install system on the hard disk. It can be also used to 
access dead system for repairs or data salvage.

- Regular DVD is for default installation media, consisting of 2 DVD's. 
In default configuration only DVD1 is needed.


-- 

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] hello

2011-11-29 Thread LinuxIsOne
On Tue, Nov 29, 2011 at 6:32 AM, Rob Kampen wrote:

Then I should download:

CentOS-6.0-x86_64-LiveDVD.iso

since I would first check if it suits the hardware and then from the same
DVD (on which I copy the image after downloading, of the above) I would
install, would it be complete then? Complete in the sense that, it would
have all the things...(since we are downloading the DVD, it should
have...)...??

Thanks Rob for the explicit clarification.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] hello

2011-11-29 Thread Rob Kampen

LinuxIsOne wrote:

Hello,

I am a Windows convert basically, but as a newbie, thinking of stability
and a virus free OS, and the features like that of a server, I have come
here.

Well said that I am absolutely new, I would know the things in the course
of time, since it is different from my daily job...

Can one please let me know about the difference between the two DVD
torrents:

CentOS-6.0-x86_64-bin-DVD.torrentand
  
this is the torrent for the complete install DVD of CentOS 6.0 - it 
actually loads onto 2 DVDs.

CentOS-6.0-x86_64-LiveCD.torrent(which
  
this is the live CD-ROM version - a boot CD that loads CentOS 6.0 into 
memory and runs directly.

I found at
http://mirrors.hns.net.in/centos/6.0/isos/x86_64/)

Which one I have to download and install? Further at the same page (i.e.,
at http://mirrors.hns.net.in/centos/6.0/isos/x86_64/), there are two more
options of DVD1 and DVD2, so are these two more I have to download?
  

The complete install with multiple language support is on 2 DVDs

Also for what purpose we have 'minimal' and 'netinstall'?
  
Minimal is just the very minimum of packages to have a very basic 
machine running Linux
Netinstall is where the install system gets the installation files 
directly off the internet to complete the installation

Thanks and Regards.
___
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] hello

2011-11-29 Thread LinuxIsOne
On Tue, Nov 29, 2011 at 6:14 AM, Rajagopal Swaminathan <
raju.rajs...@gmail.com> wrote:

Greetings,
>

hi, thanks.


> Well, you need to download both to complete the installation for
> multiple languages; especially Indian languages.
>
> I don't know about other languages (like cantonese, armenian or croatian).
>

I am also for Indian languages but which both are you telling? These
both---
CentOS-6.0-x86_64-bin-DVD.torrent

and 
CentOS-6.0-x86_64-LiveCD.torrent
or something else..? What's the difference but...?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] libguestfs-winsupport package for CentOS-6

2011-11-29 Thread Karanbir Singh
On 11/28/2011 07:19 PM, James B. Byrne wrote:
> Is this available for CentOS and if so then where is this
> package located?  Yum cannot find it in the configured
> repositories and I can seemingly only locate the
> Scientific Linux version through Google.

Its now included in the 6.1/os builds; I'll get it pushed into the CR/
repo as well shortly ( but it will be about 48 hrs before its visible
there ).

thanks for spotting and reporting the missing bit.

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


Re: [CentOS] hello

2011-11-29 Thread Rajagopal Swaminathan
Greetings,

On Tue, Nov 29, 2011 at 4:28 PM, LinuxIsOne  wrote:
> Hello,
>
> I am a Windows convert basically, but as a newbie, thinking of stability
> and a virus free OS, and the features like that of a server, I have come
> here.
>
> Well said that I am absolutely new, I would know the things in the course
> of time, since it is different from my daily job...
>
> Can one please let me know about the difference between the two DVD
> torrents:
>
Well, you need to download both to complete the installation for
multiple languages; especially Indian languages.

I don't know about other languages (like cantonese, armenian or croatian).

Apologies for the spellos.

-- 
Regards,

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


[CentOS] hello

2011-11-29 Thread LinuxIsOne
Hello,

I am a Windows convert basically, but as a newbie, thinking of stability
and a virus free OS, and the features like that of a server, I have come
here.

Well said that I am absolutely new, I would know the things in the course
of time, since it is different from my daily job...

Can one please let me know about the difference between the two DVD
torrents:

CentOS-6.0-x86_64-bin-DVD.torrentand
CentOS-6.0-x86_64-LiveCD.torrent(which
I found at
http://mirrors.hns.net.in/centos/6.0/isos/x86_64/)

Which one I have to download and install? Further at the same page (i.e.,
at http://mirrors.hns.net.in/centos/6.0/isos/x86_64/), there are two more
options of DVD1 and DVD2, so are these two more I have to download?

Also for what purpose we have 'minimal' and 'netinstall'?

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


Re: [CentOS] Monitoring services

2011-11-29 Thread Rajagopal Swaminathan
Greetings,

On Tue, Nov 29, 2011 at 12:05 AM, Paul Heinlein  wrote:
> On Sun, 27 Nov 2011, Kenneth Porter wrote:
>
>> What's available to remotely monitor services?

I have deployed Zabbix successfully to remotely monitor about 240+
geographically distributed locations connected by ADSSL links (IOW, no
fixed IP) for the second largest public transport corporations (next
only to Germany) in India successfully.

Perhaps, you may consider that.


-- 
Regards,

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


Re: [CentOS] qemu-kvm failed after update from CR repo

2011-11-29 Thread Lars Hecking
 
> kernel-2.6.32-131.17.1.el6.x86_64 (after update and currently)
 
 Maybe you're running into this issue?

  http://lists.centos.org/pipermail/centos-virt/2011-November/002713.html

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