Re: [CentOS] Benefits of VMWare 2.0 over 1.x?

2009-10-30 Thread Bazy
On Thu, Oct 29, 2009 at 9:27 PM, Les Mikesell  wrote:
> MHR wrote:
>> I've been running VMWare Server 1.x for some time now, currently on
>> 1.08, and I've been pretty satisfied with it.
>>
>> I was wondering if any of you fellow VMWare users are seeing any
>> significant benefit to moving to the 2.0 release.
>
> I haven't tried doing anything new or different - the main thing is that
> you don't have to rebuild the kernel module on every kernel update - and
> I think the clock may be more stable for the VM guests.
>
>> I'm running CentOS 5.4 with Linux 2.6.18-164.el5 #1 SMP x86_64 on an
>> AMD 7750 64x2 with 4GB of RAM
>
> If you are going to change anything, you might want to consider
> installing ESXi natively on the hardware and run even your main Centos
> host as a VM under it.  I have some setups where most of the work is
> done on the Centos host which also exports it's home directory via NFS
> and one or more guests map the same home directory for some specialized
> things.  I haven't decided if ESXi would be a win for that setup or not.
>
> --
>   Les Mikesell
>    lesmikes...@gmail.com
>

Hello MHR,
I agree with Les on this. If your server is dedicated for VMware you
should use ESXi. Take a look at its features:
http://www.vmware.com/products/esxi/features.html. ESXi is much better
then VMware server 1.x or 2.x and it's free.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Infrastructure HELP!

2009-10-30 Thread Karanbir Singh
On 10/29/2009 05:59 PM, Neil Aggarwal wrote:
>
> If you want speed, use RAID 10.
>

Neil, you have been on the list long enough to know howto use it and 
work with the other people on the list, so keeping that in mind - dont 
top post.

most of the stuff coming from you just breaks the thread.

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


Re: [CentOS] Infrastructure HELP!

2009-10-30 Thread Karanbir Singh
On 10/29/2009 06:11 PM, Neil Aggarwal wrote:
> Also, when you move to a hosted solution, I would appreciate
> your considering my company for it.

I would highly recommend people consider companies that contribute and 
help with the project rather than those that dont.

Also, lets keep the soliciting for business off this list please.

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


[CentOS] CentOS 5.4 :: partitionable RAID1

2009-10-30 Thread Adrian Sevcenco
Hi! Did anyone tried this on 5.4? having a look on 
http://wiki.centos.org/HowTos/Install_On_Partitionable_RAID1

is would seem that that mkinitrd patch is no longer required.
Can someone ack this?
Thanks,
Adrian


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


Re: [CentOS] Infrastructure HELP!

2009-10-30 Thread ML
Karan,

>> Also, when you move to a hosted solution, I would appreciate
>> your considering my company for it.
>
> I would highly recommend people consider companies that contribute and
> help with the project rather than those that dont.
>
> Also, lets keep the soliciting for business off this list please.

Didn't you just contradict yourself?

How can we support companies that contribute and help the project if  
we don't know what each others companies do and specialize in?

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


Re: [CentOS] Infrastructure HELP!

2009-10-30 Thread Karanbir Singh
On 10/30/2009 10:49 AM, ML wrote:
>> Also, lets keep the soliciting for business off this list please.
>
> Didn't you just contradict yourself?
>
> How can we support companies that contribute and help the project if
> we don't know what each others companies do and specialize in?

No, not really. I dont want to see this list converted into something 
that is used to solicit for business.

my first comment is something generic that needs to get wider airing in 
the open source marketplaces - support the companies that in turn 
contribute - not at an individual level - to the projects directly.

Maybe we need to be more public about who is doing what for the project 
- although at the moment its mostly hosting companies, and they are all 
listed at www.centos.org/mirrors

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


Re: [CentOS] printers... (HP)

2009-10-30 Thread Per Qvindesland
Hi

What is the model number?

Regards
Per Qvindesland

At Thursday, 29-10-2009 on 20:27 "Robert"  wrote:

m.r...@5-cent.us wrote:
> I can't remember if I asked here - I've got more than one printer,
HP,
> laser, builtin JetDirect. When I go there in a browser, I see the
basic
> thing, but I can't get to the networking page. It says that it
wants a
> password, no user name. It doesn't accept anything. Last week, a
co-worker
> reset one to factory defaults... and it comes up with the same
thing.
> Looking around on the Web, I don't see anything about a default
password.
>
> Clues for the poor?
>
> mark
> 
You might find something at 
http://articles.techrepublic.com.com/5100-10878_11-1054861.html

or even at
http://www.irongeek.com/i.php?page=security/networkprinterhacking

No guarantee! I use Brother.
___
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] Default ACL question (EXECUTE BIT)

2009-10-30 Thread Jorge Fábregas
On Thursday 29 October 2009 10:32:30 pm nate wrote:
> It's been eons since I played with acls, but I thought you can
> only view acls via getfacl(or other similar commands) ls -l doesn't
> do anything to show acls, only unix-style permissions.

Hello nate,

Yes, I use getfacl to see the ACLs but in this case I used a "default ACL" 
that sets "regular permissions" on new files and thus any new file won't have 
actually an ACL. In my case, the new file looks like:

-rw--- 1 joe joe 0 Oct 29 21:14 testFile.txt

If It had any ACL on it... a plus sign would appear at the end of the 
permission bits, like this:

-rw---+ 1 joe joe 0 Oct 29 21:14 testFile.txt

Best regards,
Jorge
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] printers... (HP)

2009-10-30 Thread mark
Hi,

Per Qvindesland wrote:
> 
> What is the model number?

A 1300 something, but I solved it - the "hard reset".

mark
> 
> Regards
> Per Qvindesland
> 
> At Thursday, 29-10-2009 on 20:27 "Robert"  wrote:
> 
> m.r...@5-cent.us wrote:
>> I can't remember if I asked here - I've got more than one printer,
> HP,
>> laser, builtin JetDirect. When I go there in a browser, I see the
> basic
>> thing, but I can't get to the networking page. It says that it
> wants a
>> password, no user name. It doesn't accept anything. Last week, a
> co-worker
>> reset one to factory defaults... and it comes up with the same
> thing.
>> Looking around on the Web, I don't see anything about a default
> password.
>> Clues for the poor?
>>
>> mark
>>
> You might find something at 
> http://articles.techrepublic.com.com/5100-10878_11-1054861.html
> 
> or even at
> http://www.irongeek.com/i.php?page=security/networkprinterhacking
> 
> No guarantee! I use Brother.
> ___
> 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


-- 
"This GOP has the moral certitude of Errol Flynn at a convention of underage
bargirls in Bangkok." - seen on truthout.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] resolv.conf rewritten every reboot. How to figure out who and why?

2009-10-30 Thread ken
On 10/29/2009 04:03 PM Dave wrote:
> On Thu, Oct 29, 2009 at 9:00 AM, Meenoo Shivdasani  > wrote:
> 
> 
> BOOTPROTO=bootp is triggering it.
> 
> 
> I'm confused. I just rebooted another machine with 'BOOTPROTO=bootp' in
> /etc/sysconfig/network-scripts/ifup-eth, it did not rewrite
> /etc/resolv.conf.
> 
> 

I haven't followed the entire discussion, but do you have correct
settings in /etc/sysconfig/networking/devices/ifcfg-eth0 (or whatever
the NIC is) and the two relevant files in
/etc/sysconfig/networking/profiles/default/ ??

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


Re: [CentOS] resolv.conf rewritten every reboot. How to figure out who and why?

2009-10-30 Thread Phil Savoie
ken wrote:
> On 10/29/2009 04:03 PM Dave wrote:
>> On Thu, Oct 29, 2009 at 9:00 AM, Meenoo Shivdasani > > wrote:
>>
>>
>> BOOTPROTO=bootp is triggering it.
>>
>>
>> I'm confused. I just rebooted another machine with 'BOOTPROTO=bootp' in
>> /etc/sysconfig/network-scripts/ifup-eth, it did not rewrite
>> /etc/resolv.conf.
>>
>> 
> 
> I haven't followed the entire discussion, but do you have correct
> settings in /etc/sysconfig/networking/devices/ifcfg-eth0 (or whatever
> the NIC is) and the two relevant files in
> /etc/sysconfig/networking/profiles/default/ ??
> 
> hth,
> ken

To add to Ken's answer...  The setting is PEERDNS in the
/etc/sysconfig/network-scripts/ifcfg-eth? file.  If PEERDNS is set to
"yes" then the resolv.conf file will be rewritten on every reboot.  If
set to "no" then the resolv.conf should not change.

BTW, I have not read the OP's original post and basing my answer just on
the subject line.

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


Re: [CentOS] RAM errors after kernel-update

2009-10-30 Thread Michael Schumacher
Hi,

to finish that story:
The error was actually produced by a faulty motherboard. Tyan replaced
it without much trouble. Be advised that MEMTEST86+ couldn't find the
problem.


> thanks for your immediate response. I will replace the board, but I am
> wondering what the error message actually means?

>> Oct 16 14:07:36 xenserver1 kernel: EDAC MC0: UE row 0, channel-a= 0
>> channel-b= 1 labels "-": NON-FATAL recoverable (Branch=0 DRAM-Bank=0
>> Buffer ID = 0 RDWR=Read RAS=0 CAS=0 NON-FATAL recoverable Err=0x2000
>> (FB-DIMM Configuration Write error on first attempt))

> I understand that the system logs an error if the configuration data
> is written into the RAM-configuration.

> The error happens precisely once a second.

> Why the * would the kernel reprogram the RAM configuration once every
> second?

-- 
Mit freundlichen Grüßen
Michael Schumacher
mailto:michael.schumac...@pamas.de


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


Re: [CentOS] Default ACL question (EXECUTE BIT)

2009-10-30 Thread Ross Walker
On Oct 30, 2009, at 7:13 AM, Jorge Fábregas   
wrote:

> On Thursday 29 October 2009 10:32:30 pm nate wrote:
>> It's been eons since I played with acls, but I thought you can
>> only view acls via getfacl(or other similar commands) ls -l doesn't
>> do anything to show acls, only unix-style permissions.
>
> Hello nate,
>
> Yes, I use getfacl to see the ACLs but in this case I used a  
> "default ACL"
> that sets "regular permissions" on new files and thus any new file  
> won't have
> actually an ACL. In my case, the new file looks like:
>
> -rw--- 1 joe joe 0 Oct 29 21:14 testFile.txt
>
> If It had any ACL on it... a plus sign would appear at the end of the
> permission bits, like this:
>
> -rw---+ 1 joe joe 0 Oct 29 21:14 testFile.txt

Umask always applies on the top-level unix perms. The 077 mask is  
sensible here, making the owner the only one with access if the ACL is  
clobbered.

The + means there are ACLs/xattrs below, you need to use getfacl to  
see them.

-Ross

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


Re: [CentOS] CentOS 5.4 :: partitionable RAID1

2009-10-30 Thread Joe Pruett
> Hi! Did anyone tried this on 5.4? having a look on 
> http://wiki.centos.org/HowTos/Install_On_Partitionable_RAID1
> is would seem that that mkinitrd patch is no longer required.
> Can someone ack this?

i just looked at the mkinitrd on my stock 5.4 system and it does not seem 
to have patches in it to cope with the new mdx_dx format.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Stripe vs Cylinder alignement...

2009-10-30 Thread John Doe
Hi,

I modified my kickstart to do some custom partioning and formating in a 
pre-install script.
I am trying to align the partitions on the RAID stripe (and format with a 
correct stride).
But, sfdisk complains that it does not start/end on a cylinder boundary (used 
-L option to limit complaining).
Since the cylinder size is not a multiple of the stripe size, I cannot align on 
both.
I tried to align the begining on the stripe and the end on the end of a 
cylinder, but sfdisk still compains...
Basicaly, I have a 128KB (256 sectors) stripe, and 255*32 = 8160 sectors 
cylinders.
What I am doing is:
begin = ( begin / 256 ) * 256
end = ( end / 8160 ) * 8160 -1
So, for my first partition (96MB):
  begin=256
  size = ( ( 96 * 1024 * 2 ) / 8160 ) * 8160 = 195840 sectors
  end = 195840 - 1 - 256 = 195583
Any idea what I am doing wrong in my calculations or logic?

Thx,
JD


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


[CentOS] 5.4 kernel versions?

2009-10-30 Thread Rob Kampen

Please excuse a possibly dumb question.
Prior to the release of CentOS 5.4 I believe two updated 5.4 kernels 
were released as part of 5.3

2.6.18-164.el5 and 2.6.18-164.2.1.el5
Now that 5.4 is released we have just the 2.6.18-164.el5 kernel.
Now the dumb question - what happened to the updated kernel?
I now have workstations running 5.4 with the 164.2.1.el5 as they get yum 
update run regularly, however I do not reboot my servers as often and 
now find these do not have the later kernel.

If some kind soul would please enlighten me.
Rob
<>___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 5.4 kernel versions?

2009-10-30 Thread Karanbir Singh
On 10/30/2009 02:52 PM, Rob Kampen wrote:
> If some kind soul would please enlighten me.

rpm -qa --last

164.2.1 was never released in the 5.3/updates

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


Re: [CentOS] 5.4 kernel versions?

2009-10-30 Thread Rob Kampen

Karanbir Singh wrote:

On 10/30/2009 02:52 PM, Rob Kampen wrote:
  

If some kind soul would please enlighten me.



rpm -qa --last

164.2.1 was never released in the 5.3/updates

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

Sorry - I missed that as my workstations use the .plus kernel.
Thanx
Rob
<>___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Stripe vs Cylinder alignement...

2009-10-30 Thread John Doe
> So, for my first partition (96MB):
>   begin=256
>   size = ( ( 96 * 1024 * 2 ) / 8160 ) * 8160 = 195840 sectors
>   end = 195840 - 1 - 256 = 195583

Oops, I meant:

  begin = 256
  size = 96 * 1024 * 2 = 196608 sectors
  end = ( ( begin + size ) / 8160 ) * 8160 - 1 = 195839
  aligned_size = end - begin + 1 = 195584

Maybe... I am a bit confused  ^_^

JD


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


Re: [CentOS] 5.4 kernel versions?

2009-10-30 Thread Stephen Harris
On Fri, Oct 30, 2009 at 10:52:55AM -0400, Rob Kampen wrote:
> Prior to the release of CentOS 5.4 I believe two updated 5.4 kernels 
> were released as part of 5.3
> 2.6.18-164.el5 and 2.6.18-164.2.1.el5
> Now that 5.4 is released we have just the 2.6.18-164.el5 kernel.
> Now the dumb question - what happened to the updated kernel?

It's in the updates tree (for 32bit, anyway, so I'd expect 64bit)

  kernel-2.6.18-164.2.1.el5.i686.rpm

Arrived around 4 days ago.

-- 

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


[CentOS] Problem YUM Centos 5

2009-10-30 Thread Adriano Frare
Dear Friends,

Today , I ran command yum update and  I received follow error below.

=== BEGIN =
Loaded plugins: fastestmirror
Determining fastest mirrors
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 229, in user_main
errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 104, in main
result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 343, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, 
self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 554, in doCommand
return base.search(extcmds)
  File "/usr/share/yum-cli/cli.py", line 691, in search
for (po, keys, matched_value) in matching:
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1593, in 
searchGenerator
for sack in self.pkgSack.sacks.values():
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 591, in 

pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 434, in 
_getSacks
self.repos.populateSack(which=repos)
  File "/usr/lib/python2.4/site-packages/yum/repos.py", line 223, in 
populateSack
self.doSetup()
  File "/usr/lib/python2.4/site-packages/yum/repos.py", line 71, in doSetup
self.ayum.plugins.run('postreposetup')
  File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 176, in run
func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/fastestmirror.py", line 181, in 
postreposetup_hook
all_urls = FastestMirror(all_urls).get_mirrorlist()
  File "/usr/lib/yum-plugins/fastestmirror.py", line 333, in get_mirrorlist
self._poll_mirrors()
  File "/usr/lib/yum-plugins/fastestmirror.py", line 376, in _poll_mirrors
pollThread.start()
  File "/usr/lib/python2.4/threading.py", line 416, in start
_start_new_thread(self.__bootstrap, ())
thread.error: can't start new thread
= END =


How I do solve it?

Thnaks

Adriano

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


Re: [CentOS] Stripe vs Cylinder alignement...

2009-10-30 Thread Blake Hudson
Cylinders are largely logical - even in magnetic disks you have no way 
of knowing if the logical cylinder matches up with the physical 
construct of a cylinder on the disk medium - in any modern(15 years ?) 
disk they won't. Don't worry about cylinders, just align your fs to the 
stripe/sector.

Obviously, the concept of a cylinder starts to go out the window with 
RAID, SSD's, etc.

More information about partition alignment here - 
http://www.ocztechnologyforum.com/forum/showpost.php?p=335049&postcount=134

--Blake

 Original Message  
Subject: [CentOS] Stripe vs Cylinder alignement...
From: John Doe 
To: centos@centos.org
Date: Friday, October 30, 2009 9:45:59 AM
> Hi,
>
> I modified my kickstart to do some custom partioning and formating in a 
> pre-install script.
> I am trying to align the partitions on the RAID stripe (and format with a 
> correct stride).
> But, sfdisk complains that it does not start/end on a cylinder boundary (used 
> -L option to limit complaining).
> Since the cylinder size is not a multiple of the stripe size, I cannot align 
> on both.
> I tried to align the begining on the stripe and the end on the end of a 
> cylinder, but sfdisk still compains...
> Basicaly, I have a 128KB (256 sectors) stripe, and 255*32 = 8160 sectors 
> cylinders.
> What I am doing is:
> begin = ( begin / 256 ) * 256
> end = ( end / 8160 ) * 8160 -1
> So, for my first partition (96MB):
>   begin=256
>   size = ( ( 96 * 1024 * 2 ) / 8160 ) * 8160 = 195840 sectors
>   end = 195840 - 1 - 256 = 195583
> Any idea what I am doing wrong in my calculations or logic?
>
> Thx,
> JD
>
>
>   
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   

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


[CentOS] crontab won't work

2009-10-30 Thread Niki Kovacs
Hi,

I have a strange problem here. I have two servers, one dedicated 
webserver, and a local backup server.

On the webserver I have this :

[r...@12569hpv163154:~] # crontab -l
00 22 * * * /usr/local/bin/sauvegarde-pmbccps.sh

This launches a backup script every day at 22:00, and it works as expected.

Now here's what I have on the local backup server :

[r...@grossebertha:~] # crontab -l
24 17 * * * /usr/local/bin/sauvegarde.sh

Here, the script /usr/local/bin/sauvegarde.sh basically launches an 
incremental backup with rsync over SSH. The script is executable OK, it 
works very well when launched by hand on the command line... except cron 
won't start it. Here for example I tried to launch it on 17:24. Nothing. 
I checked the machine 'date', it's OK.

Now I don't have the slightest clue why this doesn't work. What's the 
magic word here ?

Cheers,

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


[CentOS] Keeping iptables in sync across multiple machines

2009-10-30 Thread Karanbir Singh
hi,

Just wondering what people use / recommend to keep multiple machines in 
sync with their iptables policy.

What I use at the moment:

1) Puppet, to setup and manage a fairly complex per service type ruleset 
that is then maintained on the remote machines by puppet ( in that it 
brings together all the various bits of iptables snippets based on what 
manifests and roles are deployed to a machine, then builds a firewall 
locally on the mchine ). We also use something similar, but at a much 
simpler level within the .centos.org infrastructure. Problem with this 
is that unless one is familliar with the whole stack of machine 
state/policy management, its quite intimidating. Which then means that 
there is plenty of breakage, which in turn then means I need to maintain 
and run a complete set of VM's that emulate the production environment ( 
including their IP's ) and run cross VM tests before stuff gets rolled 
out. So yes, large hole and lots of potential for non-related issues to 
impact release. Some people even argue that having a release based 
workflow for firewall's is not good, I'd like to disagree :)

2) In another setup, I use puppet to basically just manage static 
/etc/sysconfig/iptables files. Pretty low tech, and very easy to cause 
damage since testing-rollout-deploy is impossible. But the other guy who 
also needs to manage these seems to find it easy.

3) Yet another setup I've used in the past was with a svn repo and using 
a post-commit hook, run some tests followed by clusterssh! to deploy the 
iptables files and restart services. Finally replaced that with a slack 
based deployment, since that allowed me to atleast run some santity 
tesing and rollback if I ended up locking 'core' host. The problem 
ofcourse was that its not easy to test remote inbound connections this 
way ( without using a proxy, but then the proxy creates another layer of 
problems and flakyness ).

4) Physically logging into machines to make policy changes(!) I do this 
for my laptop's :)

5) Using a 'git pull' from cron on a bunch of machines, and using a 
central git repository. Each machine would then do a iptables reload, 
the only advantage of this over (3) is that I can use metainfo like 
TAG's and ROLE's in the commit log's, and have only specific machines 
react to specific changes. Flip side: needing to track and build a 
knowledgebase around these TAG's meant that I almost never ever use 
this, and prefer to just have firewall policy that mostly works for the 
whole set of machines I run this on.

So, what I am looking for really is feedback on what people are using in 
the wild on multiple machines, and bonus points for people who only use 
tools and mechanisms already built into the CentOS [base] repo.

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


[CentOS] adding SAN "diskspace" to CentOS system residing on VMware

2009-10-30 Thread ken
Hey, group,

I've got a system installed on a VMware VM.  The SAN administrator
allocated me more disk space from the (EMC) SAN and I need ultimately to
create another partition to mount on the filesystem.  Two (initial)
questions about this:

What steps do I need to take prior to creating a new partition with
fdisk?  (The SAN space, BTW, is connected through VMware.)

The OS is already residing on a logical volume.  Is there any compelling
reason to bringing the new partition into lvm (aside from the ease of
resizing it... something I don't anticipate us doing)?  Or should I
simply create an ext3 partition and mount that?

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


Re: [CentOS] 5.4 kernel versions?

2009-10-30 Thread NiftyCluster Tom Mitchell
On 10/30/09, Rob Kampen  wrote:
> Please excuse a possibly dumb question.
> Prior to the release of CentOS 5.4 I believe two updated 5.4 kernels
> were released as part of 5.3
> 2.6.18-164.el5 and 2.6.18-164.2.1.el5
> Now that 5.4 is released we have just the 2.6.18-164.el5 kernel.
> Now the dumb question - what happened to the updated kernel?
> I now have workstations running 5.4 with the 164.2.1.el5 as they get yum
> update run regularly, however I do not reboot my servers as often and
> now find these do not have the later kernel.
> If some kind soul would please enlighten me.
> Rob

If you do not reboot the new kernel never activates.

Almost the same with libs and binaries.
If an old binary is running then the update is not magically activated.
For libs and binaries it is possible that the old buggy bits to
continue to run at the same time that new version is available or
running.   Some interesting actions with programs like
firefox, apache, python and other plugin friendly programs might be
observed.

Some programs/ services like sshd do force a restart on the live system
to side step some of these risks when reinstalled or updated.

It does pay to inspect the announcements, change log and release notes
so a reboot
is not delayed and the system left open to risk.

-- 
NiftyCluster
T o m   M i t c h e l l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Stripe vs Cylinder alignement...

2009-10-30 Thread NiftyCluster Tom Mitchell
On 10/30/09, John Doe  wrote:
> Hi,
>
> I modified my kickstart to do some custom partioning and formating in a
> pre-install script.
> I am trying to align the partitions on the RAID stripe (and format with a
> correct stride).
> But, sfdisk complains that it does not start/end on a cylinder boundary
> (used -L option to limit complaining).
> Since the cylinder size is not a multiple of the stripe size, I cannot align
> on both.
> I tried to align the begining on the stripe and the end on the end of a
> cylinder, but sfdisk still compains...
> Basicaly, I have a 128KB (256 sectors) stripe, and 255*32 = 8160 sectors
> cylinders.
> What I am doing is:
> begin = ( begin / 256 ) * 256
> end = ( end / 8160 ) * 8160 -1
> So, for my first partition (96MB):
>   begin=256
>   size = ( ( 96 * 1024 * 2 ) / 8160 ) * 8160 = 195840 sectors
>   end = 195840 - 1 - 256 = 195583
> Any idea what I am doing wrong in my calculations or logic?
>

Logic!  Well not logic but knowledge about the physical layer inside the disk.

Most disks today do not have a constant number of blocks
per track/ cylinder.   Most disk partitioning tools just guess
and do some rounding.   There can be one, two or even three
zones on the surface with different blocks per track on each.

One strategy is to look at the buffer setup and size of a disk
and match stripe sizes to work with memory not blocks per cylinder.
Note that a drive with an 8MB buffer uses some for read and some
for write.   Some research or testing can expose the ratio.

Another strategy is to partition devices exactly the same.

LBA (Logical block addressing) hides the physical layer




-- 
NiftyCluster

T o m   M i t c h e l l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] adding SAN "diskspace" to CentOS system residing on VMware

2009-10-30 Thread Jon Moore
On Fri, Oct 30, 2009 at 2:10 PM, ken  wrote:
> Hey, group,

Hi.

> What steps do I need to take prior to creating a new partition with
> fdisk?  (The SAN space, BTW, is connected through VMware.)

How's the storage being exported?

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


Re: [CentOS] crontab won't work

2009-10-30 Thread Dianne Yumul

On Oct 30, 2009, at 9:29 AM, Niki Kovacs wrote:

Now here's what I have on the local backup server :

[r...@grossebertha:~] # crontab -l
24 17 * * * /usr/local/bin/sauvegarde.sh


You may have checked already, but make sure that crond is running,  
i.e. /sbin/service crond status. I get crond (pid 1706) is running


Thanks,

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


Re: [CentOS] crontab won't work

2009-10-30 Thread nate
Niki Kovacs wrote:

> Now I don't have the slightest clue why this doesn't work. What's the
> magic word here ?

You check the cron log? maybe it ran it just had an error so
it didn't produce the results you expected.

It's also good to send STDOUT/STDERR to a file for easier debugging
of cron stuff.

Also note that cron takes a minute to load the config, so for
example if it was :23 after the hour and you put in a new entry to
run at :24 after the hour it likely will not run. Just thought to
toss that in in the event you tried something like that.

nate


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


Re: [CentOS] Problem YUM Centos 5

2009-10-30 Thread Dianne Yumul

On Oct 30, 2009, at 8:43 AM, Adriano Frare wrote:


Dear Friends,

Today , I ran command yum update and  I received follow error below.

=== BEGIN =
Loaded plugins: fastestmirror
Determining fastest mirrors
Traceback (most recent call last):
 File "/usr/bin/yum", line 29, in ?
   yummain.user_main(sys.argv[1:], exit_code=True)
 File "/usr/share/yum-cli/yummain.py", line 229, in user_main
   errcode = main(args)



Whenever yum gets weird I usually run "yum clean all" and everything  
gets better.  CentOS 5.4 is out so if you haven't upgraded yet, check  
the release notes before running your next "yum update."


Thanks,

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


Re: [CentOS] Stripe vs Cylinder alignement...

2009-10-30 Thread Robert Heller
At Fri, 30 Oct 2009 11:14:54 -0500 CentOS mailing list  
wrote:

> 
> Cylinders are largely logical - even in magnetic disks you have no way 
> of knowing if the logical cylinder matches up with the physical 
> construct of a cylinder on the disk medium - in any modern(15 years ?) 
> disk they won't. Don't worry about cylinders, just align your fs to the 
> stripe/sector.

Cylinders only ever existed (as a *physicly mapped* thing) with MFM,
RLL, and early IDE hard drives (IDE drives grew out of 'hard cards',
which were MFM/RLL drives bolted to a XT (pre/early ISA) expansion card
with a MFM/RLL drive controller). (And yes, floppies. Not sure about
CD/DVD-ROMS, but that is a completely different can of worms.)  SCSI
disks *never* had any physical mapping for cylinders, heads, OR
sectors.  The SCSI command protocol uses LBA addressing and has from
day one.  At this point, CHS addressing is pretty much a BIOS 'fantasy'
for any modern disks.

> 
> Obviously, the concept of a cylinder starts to go out the window with 
> RAID, SSD's, etc.
> 
> More information about partition alignment here - 
> http://www.ocztechnologyforum.com/forum/showpost.php?p=335049&postcount=134
> 
> --Blake
> 
>  Original Message  
> Subject: [CentOS] Stripe vs Cylinder alignement...
> From: John Doe 
> To: centos@centos.org
> Date: Friday, October 30, 2009 9:45:59 AM
> > Hi,
> >
> > I modified my kickstart to do some custom partioning and formating in a 
> > pre-install script.
> > I am trying to align the partitions on the RAID stripe (and format with a 
> > correct stride).
> > But, sfdisk complains that it does not start/end on a cylinder boundary 
> > (used -L option to limit complaining).
> > Since the cylinder size is not a multiple of the stripe size, I cannot 
> > align on both.
> > I tried to align the begining on the stripe and the end on the end of a 
> > cylinder, but sfdisk still compains...
> > Basicaly, I have a 128KB (256 sectors) stripe, and 255*32 = 8160 sectors 
> > cylinders.
> > What I am doing is:
> > begin = ( begin / 256 ) * 256
> > end = ( end / 8160 ) * 8160 -1
> > So, for my first partition (96MB):
> >   begin=256
> >   size = ( ( 96 * 1024 * 2 ) / 8160 ) * 8160 = 195840 sectors
> >   end = 195840 - 1 - 256 = 195583
> > Any idea what I am doing wrong in my calculations or logic?
> >
> > Thx,
> > JD
> >
> >
> >   
> > ___
> > 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
> 
>  

-- 
Robert Heller -- 978-544-6933
Deepwoods Software-- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
hel...@deepsoft.com   -- http://www.deepsoft.com/ModelRailroadSystem/

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


Re: [CentOS] Problem YUM Centos 5

2009-10-30 Thread Karanbir Singh
On 10/30/2009 03:43 PM, Adriano Frare wrote:
>File "/usr/lib/python2.4/threading.py", line 416, in start
>  _start_new_thread(self.__bootstrap, ())
> thread.error: can't start new thread
> = END =
>
>
> How I do solve it?
>

how much ram do you have ? how much of that is available to yum ?


-- 
Karanbir Singh : http://www.karan.org/  : 2522...@icq
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Syslog do not work

2009-10-30 Thread Tim_Davis

Guys, attached is copy of both the  i) /etc/sysconfig/syslog
   ii) /etc/syslog.conf
I have a Centos ver5.3

The syslog is not working and also I installed Webmin, also it does not
work,
this is what the error is "

   
 Info Internet Explorer cannot display the webpage "
   
 icon   
   

   

Thanks
1.
[r...@bart ~]# cat /etc/sysconfig/syslog
# Options to syslogd
# -m 0 disables 'MARK' messages.
# -r enables logging from remote machines
# -x disables DNS lookups on messages recieved with -r
# See syslogd(8) for more details
SYSLOGD_OPTIONS="-m0 -r"
# Options to klogd
# -2 prints all kernel oops messages twice; once for klogd to decode, and
#once for processing with 'ksymoops'
# -x disables all klogd processing of oops messages entirely
# See klogd(8) for more details
KLOGD_OPTIONS="-x"
#
SYSLOG_UMASK=077
# set this to a umask value to use for all log files as in umask(1).
# By default, all permissions are removed for "group" and "other".

2
[r...@bart ~]# cat /etc/syslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;news.none;authpriv.none;cron.none
/var/log/messages

# The authpriv file has restricted access.
authpriv.*  /var/log/secure

# Log all the mail messages in one place.
mail.*  -/var/log/maillog

# TIM stuff
*.*;local7.debug;local4.warnings/var/log/tim

# Cisco Stuff
local7.*/var/log/cisco

# Log cron stuff
cron.*  /var/log/cron

# Everybody gets emergency messages
*.emerg *

# Save news errors of level crit and higher in a special file.
uucp,news.crit  /var/log/spooler

# Save boot messages also to boot.log
local7.*/var/log/boot.log

#
# INN
#
news.=crit/var/log/news/news.crit
news.=err /var/log/news/news.err
news.notice   /var/log/news/news.notice
[r...@bart ~]#

3

[r...@bart ~]# ls
anaconda-ks.cfg  install.log webmin-1.490-1.noarch.rpm
Desktop  install.log.syslog
firstboot.1256071953.31  tim.txt
[r...@bart ~]#

=
Tim Davis  PMP, CCNP, CNE-5
CBCA
10900 Hampshire Ave. S.
Bloomington, MN 55438
tim_da...@cbca.com

http://twitter.com/tdalago
952-903-6304
=


NOTICE: The information contained in this electronic message, and any 
attachments accompanying this transmission, may be legally privileged and/or 
confidential and protected health information. This information is intended 
only for the use of the individual(s) and/or entity identified above. The 
authorized recipient of this information is prohibited from disclosing this 
information to any other party unless required to do so by law or regulation 
and is required to protect the information after its stated need has been 
fulfilled. 
If you are not the intended recipient, or an employee or agent responsible to 
deliver it to the intended recipient, you are hereby notified that any 
disclosure, printing, copying, forwarding, or distributing of this information 
is strictly prohibited. 
If you have received this communication in error, please notify the sender 
immediately, by telephone or return fax/email, to advise of wrongful receipt 
and confirm your understanding of this Notice. Thank You.

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


Re: [CentOS] Problem YUM Centos 5

2009-10-30 Thread m . roth
Dianne wrote:
> On Oct 30, 2009, at 8:43 AM, Adriano Frare wrote:
>>
>> Today , I ran command yum update and  I received follow error below.
>>
>> === BEGIN =
>> Loaded plugins: fastestmirror
>> Determining fastest mirrors
>> Traceback (most recent call last):
>>  File "/usr/bin/yum", line 29, in ?
>>yummain.user_main(sys.argv[1:], exit_code=True)
>>  File "/usr/share/yum-cli/yummain.py", line 229, in user_main
>>errcode = main(args)
>> 
>
> Whenever yum gets weird I usually run "yum clean all" and everything
> gets better.  CentOS 5.4 is out so if you haven't upgraded yet, check
> the release notes before running your next "yum update."

I literally figured that out yesterday - I'm rolling out the 5.3->5.4
upgrades. One thing though - on some servers that still had 5.2, yum
crashed on sfpio I then did yum update yum, and it stopped
dying; though it still failed. *Then* I did yum clean all, and then yum -y
update worked like a charm.

Wish there was a  way to tell yum "answer q (rpm default action) to all
questions"

mark

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


Re: [CentOS] crontab won't work

2009-10-30 Thread m . roth
Dianne wrote:
> On Oct 30, 2009, at 9:29 AM, Niki Kovacs wrote:
>> Now here's what I have on the local backup server :
>>
>> [r...@grossebertha:~] # crontab -l
>> 24 17 * * * /usr/local/bin/sauvegarde.sh
>
> You may have checked already, but make sure that crond is running,
> i.e. /sbin/service crond status. I get crond (pid 1706) is running
>
Check the environment. You've got the full environment; cron doesn't.

  mark

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


Re: [CentOS] Problem YUM Centos 5

2009-10-30 Thread Tru Huynh
On Fri, Oct 30, 2009 at 02:35:23PM -0600, m.r...@5-cent.us wrote:
> 
> I literally figured that out yesterday - I'm rolling out the 5.3->5.4
> upgrades. One thing though - on some servers that still had 5.2, yum
> crashed on sfpio I then did yum update yum, and it stopped
> dying; though it still failed. *Then* I did yum clean all, and then yum -y
> update worked like a charm.
http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.3
you should really read the release notes...
especially the recommended procedure.

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B


pgpSvH8dtPKPm.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 5.4 kernel versions?

2009-10-30 Thread NiftyCluster Tom Mitchell
On 10/30/09, Stephen Harris  wrote:
> On Fri, Oct 30, 2009 at 10:52:55AM -0400, Rob Kampen wrote:
>> Prior to the release of CentOS 5.4 I believe two updated 5.4 kernels
>> were released as part of 5.3
>> 2.6.18-164.el5 and 2.6.18-164.2.1.el5
>> Now that 5.4 is released we have just the 2.6.18-164.el5 kernel.
>> Now the dumb question - what happened to the updated kernel?
>
> It's in the updates tree (for 32bit, anyway, so I'd expect 64bit)
>
>   kernel-2.6.18-164.2.1.el5.i686.rpm
>
> Arrived around 4 days ago.
>
> --
>
> rgds
> Stephen
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
NiftyCluster
T o m   M i t c h e l l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iptables -d fqdn instead of IP

2009-10-30 Thread Robert Spangler
On Thursday 29 October 2009 19:57, Ryan Lynch wrote:

>  No offense, Robert, but I don't think yours is a very helpful
>  statement. 

I think it is about time you get off my back!

>  When someone asks about alternative web servers, do we just 
>  tell them "Best bet is to stay with Apache"? That's just an opaque
>  personal prejudice, and it doesn't give the guy asking the question
>  any new or helpful information.

It was an opinion and yes there were other replies that told him what he 
needed to know.  Don't assume I don't know anything.

>  I can definitely think of cases where using FQDNs is a better choice,

Please do explain.  On second thought never mind because I am really not 
interested.

>  and I have some examples from my own personal experience. So I don't
>  believe that you can say there is a "best" method, for all situations.

Yes I can.  Host information can be spoofed.  So can IP Addresses.  Here is 
the point you are missing, if he is going to connect to your system then he 
is going to do it via IP address not using his FQDN and the network could 
care less about FQDN.  Packets are not routed using FQDN they are routed via 
IP Address and Mac's.  So while FQDN is an option it is not as reliable as 
the IP Address.  So what are you going to do now a reverse lookup?  How often 
do they match what you are looking for these days?  Not often.

You can always create a packet that says you are this or that but without the 
true IP address you'll never get a response which means you will never get 
connected.

>  You might be ignorant of the applicable use cases, but that doesn't
>  mean they don't exist.

Ahh yes, you understand everyone problem and have the perfect solution.  
Please excuse me old wise one.  What an @ss.

Do not bother to respond on the list as you are just wasting everyones time.


-- 

Regards
Robert

Linux User #296285
http://counter.li.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] adding SAN "diskspace" to CentOS system residing on VMware

2009-10-30 Thread Alexander Dalloz
ken schrieb:
> Hey, group,
> 
> I've got a system installed on a VMware VM.  The SAN administrator
> allocated me more disk space from the (EMC) SAN and I need ultimately to
> create another partition to mount on the filesystem.  Two (initial)
> questions about this:

Given with "VMware VM" you mean a virtual machine on an ESX(i) system
and that the admin just increased the disk size for the VM, you will see
the additional disk space using fdisk / cfdisk as unallocated space.
Either increase your LVM or create a new partition.

> What steps do I need to take prior to creating a new partition with
> fdisk?  (The SAN space, BTW, is connected through VMware.)
> 
> The OS is already residing on a logical volume.  Is there any compelling
> reason to bringing the new partition into lvm (aside from the ease of
> resizing it... something I don't anticipate us doing)?  Or should I
> simply create an ext3 partition and mount that?

Depends much on the purpose of the additional space. Generally LVM makes
it very easy to increase any of the existing LVMs / mountpoints.

> Thanks much.

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


[CentOS] RAID 10 on Install?

2009-10-30 Thread ML
Hi All,

How can I RAID 10 on install? (the names myRAID1 and myRAID2 are just  
for example purposes)

I select a custom layout

/dev/sda, sdb, sdc, sdd are listed...

I create a partition of Software RAID on each of sda, sdb, sdc, sdd

Create a swap partition on sda?

Click RAID and take sda and sdc and RAID 1 to myRAID1

Click RAID and take sdb and sdd and RAID 1 to myRAID2

Click RAID and take myRAID1 and myRAID2 and RAID0 to MYRAID

This leads me down to swap. If I create swap on sda, then dont sdb,  
sdc, sdd then all have unused space of the size of swap on sda?

What is the rule of thumb for Swap these days. Back a long time ago it  
was double the RAM in the machine.but that was a long time ago,  
what is best now?

Thanks for the chat!
-Jason
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RAID 10 on Install?

2009-10-30 Thread nate
ML wrote:
> Hi All,
>
> How can I RAID 10 on install? (the names myRAID1 and myRAID2 are just
> for example purposes)

3rd time this question has been asked in the past few weeks, I believe
the answer is not using the normal installer. I believe if you make
a custom installer with the right modules you can do it by hand in
the console before the installer loads.

Another way which I've suggested and should work is use LVM to
do the striping between two RAID 1 volumes, certainly not as "clean"
as a real RAID 1+0, but you should be able to do it from the
regular installer.

The best way is probably to use a hardware controller.

> What is the rule of thumb for Swap these days. Back a long time ago it
> was double the RAM in the machine.but that was a long time ago,
> what is best now?

Depends on your needs, I generally use 1GB of swap for most systems that
have up to 4GB of ram, beyond that I use 4GB of swap for most everything
else.

I do have nagios checks that will alert if the system has more than
10% of swap in use.

In my opinion swap is an emergency resource only, the performance
hit is so huge that if your actively swapping 4GB your system is
going to be in an unusable state.

For all of my physical systems I also set /proc/sys/vm/swappiness to
0 to reduce the likely hood of the system going into swap. Virtual
systems running in VMware at least are more likely to go into
swap because of memory ballooning so I don't adjust the swappiness
setting on them away from the default.

nate


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


Re: [CentOS] RAID 10 on Install?

2009-10-30 Thread ML
Nate,

>> How can I RAID 10 on install? (the names myRAID1 and myRAID2 are just
>> for example purposes)
>
> 3rd time this question has been asked in the past few weeks, I believe
> the answer is not using the normal installer. I believe if you make
> a custom installer with the right modules you can do it by hand in
> the console before the installer loads.
>
> Another way which I've suggested and should work is use LVM to
> do the striping between two RAID 1 volumes, certainly not as "clean"
> as a real RAID 1+0, but you should be able to do it from the
> regular installer.
>
> The best way is probably to use a hardware controller.

People went back and forth on the list saying that if a hardware  
controller was out of the budget right now RAID 10 would be the best  
solution.

It seems that the installer wont let you create two RAID1 with the  
same mount-pount and it looks like you have to specify one. I dont see  
how to do this and I dont know how to make a custom installer for this.

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


Re: [CentOS] Problem YUM Centos 5

2009-10-30 Thread mark
Tru Huynh wrote:
> On Fri, Oct 30, 2009 at 02:35:23PM -0600, m.r...@5-cent.us wrote:
>> I literally figured that out yesterday - I'm rolling out the 5.3->5.4
>> upgrades. One thing though - on some servers that still had 5.2, yum
>> crashed on sfpio I then did yum update yum, and it stopped
>> dying; though it still failed. *Then* I did yum clean all, and then yum -y
>> update worked like a charm.
> http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.3
> you should really read the release notes...
> especially the recommended procedure.

*I* didn't do the upgrade from 5.2 to 5.3 on most of our systems. I was 
assuming that they, like the other systems, were 5.3, and didn't check. AFAIK, 
I was upgrading from 5.3 to 5.4.

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


Re: [CentOS] adding SAN "diskspace" to CentOS system residing on VMware

2009-10-30 Thread James A. Peltier
On Fri, 30 Oct 2009, Alexander Dalloz wrote:

> Given with "VMware VM" you mean a virtual machine on an ESX(i) system
> and that the admin just increased the disk size for the VM, you will see
> the additional disk space using fdisk / cfdisk as unallocated space.
> Either increase your LVM or create a new partition.
>
>> What steps do I need to take prior to creating a new partition with
>> fdisk?  (The SAN space, BTW, is connected through VMware.)
>>
>> The OS is already residing on a logical volume.  Is there any compelling
>> reason to bringing the new partition into lvm (aside from the ease of
>> resizing it... something I don't anticipate us doing)?  Or should I
>> simply create an ext3 partition and mount that?
>
> Depends much on the purpose of the additional space. Generally LVM makes
> it very easy to increase any of the existing LVMs / mountpoints.
>
>> Thanks much.
>
> Alexander
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

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

Treat your password like your toothbrush.  Don't let anybody
else use it, and get a new one every six months.
  - Clifford Stoll
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RAID 10 on Install?

2009-10-30 Thread Neil Aggarwal
> How can I RAID 10 on install?

Does anyone know if this approach:
http://www.howtoforge.com/install-ubuntu-with-software-raid-10

Will work for CentOS?

Neil

--
Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com
CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU
1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime 

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


Re: [CentOS] Syslog do not work

2009-10-30 Thread Robert Spangler
On Friday 30 October 2009 16:34, tim_da...@cbca.com wrote:

>  The syslog is not working

Is it rumnning?  check it with

ps -ef | grep syslogd

>  and also I installed Webmin, also it does not 
>  work,
>  this is what the error is "
>
>   Info Internet Explorer cannot display the webpage "
>   icon

How are you logging into webmin?  url?


-- 

Regards
Robert

Linux User #296285
http://counter.li.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Syslog do not work

2009-10-30 Thread Craig White
On Fri, 2009-10-30 at 15:34 -0500, tim_da...@cbca.com wrote:
> Guys, attached is copy of both the  i) /etc/sysconfig/syslog
>ii) /etc/syslog.conf
> I have a Centos ver5.3
> 
> The syslog is not working and also I installed Webmin, also it does not
> work,
> this is what the error is "
>   
>  
>  Info Internet Explorer cannot display the webpage "  
>  
>  icon 
>  
>   
>  
> 
> Thanks
> 1.
> [r...@bart ~]# cat /etc/sysconfig/syslog
> # Options to syslogd
> # -m 0 disables 'MARK' messages.
> # -r enables logging from remote machines
> # -x disables DNS lookups on messages recieved with -r
> # See syslogd(8) for more details
> SYSLOGD_OPTIONS="-m0 -r"
> # Options to klogd
> # -2 prints all kernel oops messages twice; once for klogd to decode, and
> #once for processing with 'ksymoops'
> # -x disables all klogd processing of oops messages entirely
> # See klogd(8) for more details
> KLOGD_OPTIONS="-x"
> #
> SYSLOG_UMASK=077
> # set this to a umask value to use for all log files as in umask(1).
> # By default, all permissions are removed for "group" and "other".
> 
> 2
> [r...@bart ~]# cat /etc/syslog.conf
> # Log all kernel messages to the console.
> # Logging much else clutters up the screen.
> #kern.* /dev/console
> 
> # Log anything (except mail) of level info or higher.
> # Don't log private authentication messages!
> *.info;mail.none;news.none;authpriv.none;cron.none
> /var/log/messages
> 
> # The authpriv file has restricted access.
> authpriv.*  /var/log/secure
> 
> # Log all the mail messages in one place.
> mail.*  -/var/log/maillog
> 
> # TIM stuff
> *.*;local7.debug;local4.warnings/var/log/tim
> 
> # Cisco Stuff
> local7.*/var/log/cisco
> 
> # Log cron stuff
> cron.*  /var/log/cron
> 
> # Everybody gets emergency messages
> *.emerg *
> 
> # Save news errors of level crit and higher in a special file.
> uucp,news.crit  /var/log/spooler
> 
> # Save boot messages also to boot.log
> local7.*/var/log/boot.log
> 
> #
> # INN
> #
> news.=crit/var/log/news/news.crit
> news.=err /var/log/news/news.err
> news.notice   /var/log/news/news.notice
> [r...@bart ~]#
> 
> 3
> 
> [r...@bart ~]# ls
> anaconda-ks.cfg  install.log webmin-1.490-1.noarch.rpm
> Desktop  install.log.syslog
> firstboot.1256071953.31  tim.txt
> [r...@bart ~]#

1 - did you restart syslog after making changes?

/sbin/service sysylog restart

2 - is webmin running ?

# netstat -an |grep 1
tcp0  0 0.0.0.0:1   0.0.0.0:*
LISTEN
udp0  0 0.0.0.0:1   0.0.0.0:*

assuming that you are running IE on a Windows computer (not on the
CentOS server), did you access via?

http://IP_ADDRESS_OF_CENTOS_SERVER:1

  ^^^
 ||  ||
 ||   webmin uses port 1000
http unless you
had perl-Net-SSLeay package installed and then it would be https

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


[CentOS] Adverts in the mailing list; was: Infrastructure HELP!

2009-10-30 Thread R P Herrold
On Thu, 29 Oct 2009, Neil Aggarwal wrote:

> Also, when you move to a hosted solution, I would appreciate
> your considering my company for it.
>
>   Neil

When stuff like this moves out of the sig and into the body of 
the message as a direct solicitation, and (as it seems to me) 
a person is camping on the mailing list with fast but not 
necessarily thoughtful asnwers, they are spamming the list, 
and stepping over the bounds of proper conduct.

My opinion, and for what it is worth, sent in my personal 
email, rather than a @centos.org one

May I ask that you not repeat this approach, please?

-- Russ herrold

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


[CentOS] Inquiry:External USB modem and Remote PC Access?

2009-10-30 Thread R P Herrold
On Tue, 27 Oct 2009, John R Pierce wrote:

> Netscape?  Try NCSA Mosaic...   Where I lived, the best my modem would
> do most of the time 19-21kbps... Gopher and/or UUCP was more useful.

We regularly test web apps with lynx, elinks and w3m -- I 
opened a ticket on that just yesterday with one of my 
developers, and seek w3m conformance

As a result, usability on cell phone (pda, etc) browsers, 
which are somewhat sketchy, is also good

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


[CentOS] anyone tried firefox 3.5 under centos 5.4

2009-10-30 Thread R P Herrold
On Mon, 26 Oct 2009, Jim Perrin wrote:

> On Mon, Oct 26, 2009 at 8:17 AM, Janez Kosmrlj
>  wrote:
>
> Works fine for me using rpms (rebuilt from the src.rpms) on http://mharris.ca/
>
> They're basically slightly altered fedora rpms. You have to read the
> spec to see the build arguments required, but they work fine.

and indeed, for people just seeking binaries that archive is 
mentioned at:
http://wiki.centos.org/AdditionalResources/Repositories

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