[CentOS] After electric breaking: HARDWARE ERROR Kernel panic

2009-02-13 Thread Vnpenguin
Hi all,
After an electric breaking, my server (Centos 5.2 x86_64 with all
updates) can not boot. The error message on screen is:

---
Memory for crash kernel (0x0 to 0x0) notwithin permissible range
<0>
HARDWARE ERROR
CPU 1: Machine Check Exception:   7 Bank 4: 
RIP 10:<.>
TSC 133eab63c9 ADDR 24fe3d028
This is not a software problem!
Run through mcelog --ascii to decode and contact your hardware vendot
Kernel panic - not syncing: Uncorrected machine check
-

Anyone could tell me how to fix this please ! Help !

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


Re: [CentOS] After electric breaking: HARDWARE ERROR Kernel panic

2009-02-13 Thread John R Pierce
Vnpenguin wrote:
> Hi all,
> After an electric breaking, my server (Centos 5.2 x86_64 with all
> updates) can not boot. The error message on screen is:
>
> ---
> Memory for crash kernel (0x0 to 0x0) notwithin permissible range
> <0>
> HARDWARE ERROR
> CPU 1: Machine Check Exception:   7 Bank 4: 
> RIP 10:<.>
> TSC 133eab63c9 ADDR 24fe3d028
> This is not a software problem!
> Run through mcelog --ascii to decode and contact your hardware vendot
> Kernel panic - not syncing: Uncorrected machine check
> -
>
> Anyone could tell me how to fix this please ! Help !
>   

you have a hardware problem.   something fried on the motherboard, 
possibly the ram, maybe something else..   if the server is on some sort 
of service contract or warranty, call the hardware or support vendor.   
if not, find someone skilled at troubleshooting x86_64 server hardware.

I believe the Machine Check Exception: 7 Bank 4 does seem to indicate 
its a memory ECC issue with DIMM bank 4 on CPU 1 (I'm guessing this is 
an Opteron system?)

you might try booting a memtest86 CD and seeing if that runs.   
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



Re: [CentOS] After electric breaking: HARDWARE ERROR Kernel panic

2009-02-13 Thread Rainer Duffner
John R Pierce schrieb:
>
> you might try booting a memtest86 CD and seeing if that runs.   
>   


Is there a memory-tester that
 - isn't i386-only
 - and goes beyond 4 GB?




Rainer

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


[CentOS] procmail 3.22 on CentOS 5.2

2009-02-13 Thread Robert Grasso
Hello,

I am implementing procmail with postfix on a new SMTP server, I have too many 
.procmailrc from my former sendmail installation and
not enough time to learn maildrop and migrate right now.

It seems that LOGABSTRACT does not work : I don't get the datas LOGABSTRACT 
should prompt in the log, whether I don't set
LOGABSTRACT (default behaviour) or if I set it to "on", "yes" : anyone have 
hints about that ?

Regards

---
Robert GRASSO – System engineer

CEDRAT S.A.
15 Chemin de Malacher - Inovallée - 38246 MEYLAN cedex - FRANCE 
Phone: +33 (0)4 76 90 50 45 - Fax: +33 (0)4 56 38 08 30
mailto:robert.gra...@cedrat.com - http://www.cedrat.com 

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


Re: [CentOS] After electric breaking: HARDWARE ERROR Kernel panic

2009-02-13 Thread John R Pierce
Rainer Duffner wrote:
> John R Pierce schrieb:
>   
>> you might try booting a memtest86 CD and seeing if that runs.   
>>   
>> 
>
>
> Is there a memory-tester that
>  - isn't i386-only
>  - and goes beyond 4 GB?
>
>   

I believe both memtest86 and memtest86+ (a fork) can test over 4GB, 
likely using PAE, but neither is native 64bit yet.

http://www.memtest.org/
and
http://www.memtest86.com/



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


Re: [CentOS] procmail 3.22 on CentOS 5.2

2009-02-13 Thread Ralph Angenendt
Robert Grasso wrote:
> It seems that LOGABSTRACT does not work : I don't get the datas
> LOGABSTRACT should prompt in the log, whether I don't set LOGABSTRACT
> (default behaviour) or if I set it to "on", "yes" : anyone have hints
> about that ?

Works fine here (without having LOGABSTRACT set anywhere):

From angen...@shutdown.br.de  Fri Feb 13 03:15:04 2009
Subject: Cron  /usr/bin/lftp -f /home/angenenr/etc/mirror-b
Folder: /home/angenenr/Mail/mbox/new/1234491304.32687_1.shutdown.br.  881

Cheers,

Ralph


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


Re: [CentOS] tty login hangs

2009-02-13 Thread John Doe

From: Stewart Williams 
> Sometimes (more often than not) when I log in at the physical console
> (e.g. tty1, tty2, etc.) I will be logged in and it stops responding even
> if the shell is not doing anything.
> When this happens I can still switch to another VT with alt+f2 and login
> as normal.
> I don't know if bash, mingetty or whatever process is locking up. If I

Maybe try an strace on the shell to see on what it is stuck...

JD


  

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


Re: [CentOS] After electric breaking: HARDWARE ERROR Kernel panic

2009-02-13 Thread Kay Diederichs
Rainer Duffner schrieb:
> John R Pierce schrieb:
>> you might try booting a memtest86 CD and seeing if that runs.   
>>   
> 
> 
> Is there a memory-tester that
>  - isn't i386-only
>  - and goes beyond 4 GB?
> 
> 
> 
> 
> Rainer

In the past I've been testing a 32 GB server mit memtest86+ , and in 
case of problems it actually found bad RAM all over the range. Whether 
it uses PAE or not I don't know.

HTH,

Kay

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


Re: [CentOS] procmail 3.22 on CentOS 5.2

2009-02-13 Thread Robert Grasso
Thanks. May I ask how do you call it ?

---
Robert GRASSO – System engineer

CEDRAT S.A.
15 Chemin de Malacher - Inovallée - 38246 MEYLAN cedex - FRANCE 
Phone: +33 (0)4 76 90 50 45 - Fax: +33 (0)4 56 38 08 30
mailto:robert.gra...@cedrat.com - http://www.cedrat.com  

> -Message d'origine-
> De : centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] De la part de Ralph Angenendt
> Envoyé : 13 février 2009 11:29
> À : centos@centos.org
> Objet : Re: [CentOS] procmail 3.22 on CentOS 5.2
> 
> Robert Grasso wrote:
> > It seems that LOGABSTRACT does not work : I don't get the datas
> > LOGABSTRACT should prompt in the log, whether I don't set 
> LOGABSTRACT
> > (default behaviour) or if I set it to "on", "yes" : anyone 
> have hints
> > about that ?
> 
> Works fine here (without having LOGABSTRACT set anywhere):
> 
> From angen...@shutdown.br.de  Fri Feb 13 03:15:04 2009
> Subject: Cron  /usr/bin/lftp -f 
> /home/angenenr/etc/mirror-b
> Folder: 
> /home/angenenr/Mail/mbox/new/1234491304.32687_1.shutdown.br.  881
> 
> Cheers,
> 
> Ralph
> 

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


Re: [CentOS] procmail 3.22 on CentOS 5.2

2009-02-13 Thread Robert Grasso
Got it ! I was calling it with extra parameters, (not following the postfix 
default example) looks like it put it into trouble.

Thanks !

---
Robert GRASSO – System engineer

CEDRAT S.A.
15 Chemin de Malacher - Inovallée - 38246 MEYLAN cedex - FRANCE 
Phone: +33 (0)4 76 90 50 45 - Fax: +33 (0)4 56 38 08 30
mailto:robert.gra...@cedrat.com - http://www.cedrat.com  

> 
> Works fine here (without having LOGABSTRACT set anywhere):

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


Re: [CentOS] text processing problem with bash/perl

2009-02-13 Thread Dave Cross
2009/2/13 Robinson Tiemuqinke :
> Hi,
>
> Anyone has some ways for the following text processing problem? I have a text 
> file
> containing two stanzas attached below. I want to uncomment the stanza with
> 'host=localhost' line, while left the other stanza unchanged.
>
> ...
>
> /* udp_send_channel {
>  host=localhost
>  port = 10017
>  ttl = 1
> } */
>
> /* udp_send_channel {
>  host=ganglia100.ec2.example.com
>  port = 10017
>  ttl = 1
> } */

It's pretty simple in Perl. Something like this will work.

#!/usr/bin/perl
use strict;
use warnings;

# Put Perl in "paragraph mode"
$/ = '';

# For each record ...
while (<>) {
  # ... if the record is for localhost ...
  if (/host=localhost/) {
# ... remove the opening comment ...
s|/\*\s*||;
# ... remove the closing comment ...
s|\s*\*/||;
  }

  # ... and print the record.
  print;
}

It's written as a Unix filter, so it reads from STDIN and writes to
STDOUT. Call it like this:

  $ my_filter < input.txt > output.txt


hth,

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


[CentOS] Practical experience with NTLM/Windows Integrated Authentication [Apache]

2009-02-13 Thread Sven
Hi folks

I wish to migrate Windows IIS webserver to CentOS. Killer-Feature is
SSO with Windows Integrated Authentication[0].

Anyone have experience with such a setup and can say a few sentences
how to do that and if its stable?

kind regards
Sven Aluoor

(Please CC me I am not on the list)
[0] http://bayimg.com/image/hanogaabi.jpg
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] tty login hangs

2009-02-13 Thread Richard Karhuse
> From: Stewart Williams 
> > Sometimes (more often than not) when I log in at the physical console
> > (e.g. tty1, tty2, etc.) I will be logged in and it stops responding even
> > if the shell is not doing anything.
> > When this happens I can still switch to another VT with alt+f2 and login
> > as normal.
> > I don't know if bash, mingetty or whatever process is locking up. If I

I assume that you've tried typing  -- just in case of
flow control, yes/no?

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


Re: [CentOS] Practical experience with NTLM/Windows IntegratedAuthentication [Apache]

2009-02-13 Thread John
> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of Sven
> Sent: Friday, February 13, 2009 6:11 AM
> To: CentOS mailing list
> Subject: [CentOS] Practical experience with NTLM/Windows 
> IntegratedAuthentication [Apache]
> 
> Hi folks
> 
> I wish to migrate Windows IIS webserver to CentOS. Killer-Feature is
> SSO with Windows Integrated Authentication[0].
> 
> Anyone have experience with such a setup and can say a few sentences
> how to do that and if its stable?
> 

Now that sounds like a .aspx and .Net Web App which will not run under
CentOS (Apache) (1). But also it depends though on what your wanting to
actually do on Apache. WIA can still work for example running an app under
centos using apache to access MSSQL server. It just totally depends on what
cat your trying to skin. BTW .Net Version 1 which is Mono on CentOS Apache
has somewhat doable functionality. With Apache on Winblows it can parse
.aspx (.Net) requests. That is a lot of code testing to get it to a usable
state and is NOT worth the effort involved in doing so. You can move all
your web apps for example and still have Single Sign On accessing Active
Directory on the winblows PDC.

All in all your best to stay where your at on IIS and start from the ground
up on CentOS and Apache. Some Fast CGI IIS Apps will work under Apache keep
that in mind.

(1) Requires lots worthless work! In other words do not waist your time.

JohnStanley

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


Re: [CentOS] logs such as messages, boot.log, and kernel contained 0 size

2009-02-13 Thread Marcelo Roccasalva
On Thu, Feb 12, 2009 at 11:02 PM, Frank Ling  wrote:
> Hi Marcelo,
>
> Thanks for the comment. I had SELinux disabled. Anyway I tried your trick,
> and it didn't work. Something must went wrong.

Are the files opened?:

# lsof /var/log/*

Can you "strace" the [syslog] pid?

-- 
Marcelo

"¿No será acaso que ésta vida moderna está teniendo más de moderna que
de vida?" (Mafalda)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Nagios: Error: Service check command ... not defined anywhere!

2009-02-13 Thread Alexander Farber
Hello CentOS users,

I have problems posting the question below
to the Nagios mailing list (my subscription is
not accepted for some reason). Has anybody
of you already had this probably frequent
problem with Nagios in CentOS? I can't use
check_squid from command-plugins.cfg (s. below)

Thank you for any hints
Alex


-- Forwarded message --
To: nagios-us...@lists.sourceforge.net


Dear Nagios users,

I'm using:

# cat /etc/*release
CentOS release 5.2 (Final) <-- compatible to RHEL 5.2

# rpm -qa|grep nagios
nagios-3.0.6-1.el5.rf
nagios-plugins-1.4.13-1.el5.rf

and have successfully added monitoring
of 20 other Linux-servers by replicating the
entries from /etc/nagios/objects/localhost.cfg

But now I'm trying to add 2 more things:

1) monitoring Squid
2) monitoring Apache at ports 8080 and 8090

I have found the following 3 lines:

command[check_http]=/usr/lib/nagios/plugins/check_http -H
$HOSTADDRESS$ -I $HOSTADDRESS$
command[check_http2]=/usr/lib/nagios/plugins/check_http -H $ARG1$ -I
$HOSTADDRESS$ -w $ARG2$ -c $ARG3$
...
command[check_squid]=/usr/lib/nagios/plugins/check_http -H
$HOSTADDRESS$ -p $ARG1$  -u $ARG2$  -e 'HTTP/1.0 200 OK'

in the file /etc/nagios/command-plugins.cfg
and have added 1 more line:

command[check_http3]=/usr/lib/nagios/plugins/check_http -p $ARG1$ -I
$HOSTADDRESS$

(after reading "check_http --help").

In my config files I've added:

define host{
   use linux-server
   host_name   ablpdm01
   alias   ablpdm01
   address 10.121.42.100
   }
define service{
   use local-service
   host_name   ablpdm01
   service_description HTTP
   check_command   check_http3!8090
   notifications_enabled   0
   }
..
define host{
   use linux-server
   host_name   ablprx01
   alias   ablprx01
   address 10.121.42.32
   }
define service{
   use local-service
   host_name   ablprx01
   service_description Proxy
   check_command   check_squid!8080
   }

Unfortunately I get errors now:

# nagios -v ../nagios.cfg

Nagios 3.0.6
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 12-01-2008
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
Error: Service check command 'check_http3' specified in service 'HTTP'
for host 'ablpdm01' not defined anywhere!
Error: Service check command 'check_http3' specified in service 'HTTP'
for host 'ablpdm02' not defined anywhere!
Error: Service check command 'check_http3' specified in service 'HTTP'
for host 'ablpdm03' not defined anywhere!
Error: Service check command 'check_squid' specified in service
'Proxy' for host 'ablprx01' not defined anywhere!
   Checked 123 services.
Checking hosts...
   Checked 16 hosts.
Checking host groups...
   Checked 5 host groups.
Checking service groups...
   Checked 0 service groups.
Checking contacts...
   Checked 1 contacts.
Checking contact groups...
   Checked 1 contact groups.
Checking service escalations...
   Checked 0 service escalations.
Checking service dependencies...
   Checked 0 service dependencies.
Checking host escalations...
   Checked 0 host escalations.
Checking host dependencies...
   Checked 0 host dependencies.
Checking commands...
   Checked 24 commands.
Checking time periods...
   Checked 5 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   4

***> One or more problems was encountered while running the pre-flight check...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions.  If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version.  Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.

Does anybody have an idea what's wrong?

Isn't adding command[check_XXX]=YYY
to command-plugins.cfg enough?

I'm especially perplexed by check_squid being
not found even though it's there from the start

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


Re: [CentOS] Nagios: Error: Service check command ... not defined anywhere!

2009-02-13 Thread Rainer Duffner
Alexander Farber schrieb:
> Hello CentOS users,
>
> I have problems posting the question below
> to the Nagios mailing list (my subscription is
> not accepted for some reason). 


You should complain to the administrators of that mailing-list.



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


Re: [CentOS] Nagios: Error: Service check command ... not defined anywhere!

2009-02-13 Thread Alexander Farber
I still think my question isn't offtopic here -
seeing how people discuss procmail/logrotate/etc.

On Fri, Feb 13, 2009 at 2:17 PM, Rainer Duffner  wrote:
> Alexander Farber schrieb:
>> I have problems posting the question below
>> to the Nagios mailing list (my subscription is
>> not accepted for some reason).
>
> You should complain to the administrators of that mailing-list.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Nagios: Error: Service check command ... not defined anywhere!

2009-02-13 Thread John Doe

Alexander Farber schrieb:
> I have problems posting the question below
> to the Nagios mailing list (my subscription is
> not accepted for some reason). 

Still using 2.x here but, isn't there a commands.cfg file with some check_http 
definition?
In doubt, take a working check_xyz and grep it in all the conf files and see if 
you missed any...

JD


  

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


Re: [CentOS] Nagios: Error: Service check command ... not defined anywhere!

2009-02-13 Thread Alexander Farber
Hello,

On Fri, Feb 13, 2009 at 2:31 PM, John Doe  wrote:
> Still using 2.x here but, isn't there a commands.cfg file with some 
> check_http definition?
> In doubt, take a working check_xyz and grep it in all the conf files and see 
> if you missed any...

thanks - yes, I always "grep -ri" for commands.

That is what perplexes me - the file

  # rpm -qf /etc/nagios/command-plugins.cfg
  nagios-plugins-1.4.13-1.el5.rf

contains both check_http and (few lines below) check_squid:

  # grep check_http /etc/nagios/command-plugins.cfg
  command[check_http]=/usr/lib/nagios/plugins/check_http -H
$HOSTADDRESS$ -I $HOSTADDRESS$
  command[check_http2]=/usr/lib/nagios/plugins/check_http -H $ARG1$ -I
  $HOSTADDRESS$ -w $ARG2$ -c $ARG3$
  command[check_squid]=/usr/lib/nagios/plugins/check_http -H
$HOSTADDRESS$ -p $ARG1$  -u $ARG2$  -e 'HTTP/1.0 200 OK'

And still I can use check_http, but can't use check_squid:

  Error: Service check command 'check_squid' specified in service
  'Proxy' for host 'ablprx01' not defined anywhere!

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


Re: [CentOS] Nagios: Error: Service check command ... not defined anywhere!

2009-02-13 Thread John Doe

From: Alexander Farber 
> > Still using 2.x here but, isn't there a commands.cfg file with some 
> > check_http 
> > definition?
> > In doubt, take a working check_xyz and grep it in all the conf files and 
> > see 
> > if you missed any...
> 
> thanks - yes, I always "grep -ri" for commands.
> 
> That is what perplexes me - the file
> 
>   # rpm -qf /etc/nagios/command-plugins.cfg
>   nagios-plugins-1.4.13-1.el5.rf
> 
> contains both check_http and (few lines below) check_squid:
> 
>   # grep check_http /etc/nagios/command-plugins.cfg
>   command[check_http]=/usr/lib/nagios/plugins/check_http -H
> $HOSTADDRESS$ -I $HOSTADDRESS$
>   command[check_http2]=/usr/lib/nagios/plugins/check_http -H $ARG1$ -I
>   $HOSTADDRESS$ -w $ARG2$ -c $ARG3$
>   command[check_squid]=/usr/lib/nagios/plugins/check_http -H
> $HOSTADDRESS$ -p $ARG1$  -u $ARG2$  -e 'HTTP/1.0 200 OK'
> 
> And still I can use check_http, but can't use check_squid:
> 
>   Error: Service check command 'check_squid' specified in service
>   'Proxy' for host 'ablprx01' not defined anywhere!

What I meant was that there should also be a definition in the commands.cfg 
file (if it is like 2.x)...

# grep check_http *
command-plugins.cfg:command[check_http]=/usr/lib/nagios/plugins/check_http -H 
$HOSTADDRESS$ -I $HOSTADDRESS$
command-plugins.cfg:command[check_http2]=/usr/lib/nagios/plugins/check_http -H 
$ARG1$ -I $HOSTADDRESS$ -w $ARG2$ -c $ARG3$
command-plugins.cfg:# Using check_http will allow verification of authenticated 
proxies
command-plugins.cfg:command[check_squid]=/usr/lib/nagios/plugins/check_http -H 
$HOSTADDRESS$ -p $ARG1$  -u $ARG2$  -e 'HTTP/1.0 200 OK'
commands.cfg:# 'check_http' command definition
commands.cfg:command_namecheck_http
commands.cfg:command_line$USER1$/check_http -H $HOSTADDRESS$
commands.cfg:command_line$USER1$/check_http -H $ARG1$ -u 
$ARG2$

JD


  

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


Re: [CentOS] Nagios: Error: Service check command ... not defined anywhere!

2009-02-13 Thread Alexander Farber
On Fri, Feb 13, 2009 at 2:45 PM, John Doe  wrote:
> What I meant was that there should also be a definition in the commands.cfg 
> file (if it is like 2.x)...

Allright - that was it:

I should have added the commands
to the /etc/nagios/objects/commands.cfg
and not to the  /etc/nagios/command-plugins.cfg

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


Re: [CentOS] Nagios: Error: Service check command ... not defined anywhere!

2009-02-13 Thread Rainer Duffner
Alexander Farber schrieb:
> On Fri, Feb 13, 2009 at 2:45 PM, John Doe  wrote:
>   
>> What I meant was that there should also be a definition in the commands.cfg 
>> file (if it is like 2.x)...
>> 
>
> Allright - that was it:
>
> I should have added the commands
> to the /etc/nagios/objects/commands.cfg
> and not to the  /etc/nagios/command-plugins.cfg
>
>   


Well, you can include those, too (I think in nagios.cfg).

I had (like you) assumed, you already included that file.
Always check if the file you use is actually included in the
main-configuration...



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


Re: [CentOS] logs such as messages, boot.log, and kernel contained 0 size

2009-02-13 Thread Frank Ling
Marcelo,

I didn't see open file for /var/log/messages.

Here is the screen output:

[r...@sun ~]# lsof /var/log/*
COMMAND  PID USER   FD   TYPE DEVICESIZE NODE NAME
syslogd 2001 root1w   REG8,6   25323 17653325 /var/log/secure
syslogd 2001 root2w   REG8,6  117544 17653330 /var/log/maillog
syslogd 2001 root3w   REG8,6   13674 17653414 /var/log/cron
syslogd 2001 root4w   REG8,6   0 17653337 /var/log/spooler
syslogd 2001 root5w   REG8,6   0 17653412 /var/log/boot.log
syslogd 2001 root9w   REG8,6  166980 17653308 /var/log/syslog
acpid   2418 root1w   REG8,6   10758 17653423 /var/log/acpid
acpid   2418 root2w   REG8,6   10758 17653423 /var/log/acpid
python  3040 root3w   REG8,6 1187439 17653317 /var/log/denyhosts
python  3040 root5r   REG8,6   25323 17653325 /var/log/secure
[r...@sun ~]# ps aux | grep syslog
root  2001  0.0  0.0   1720   604 ?Ss   Feb12   0:00 syslogd -m 0 -r
 -x
root  8249  0.0  0.0   3908   660 pts/0R+   07:04   0:00 grep syslog
=


Frank



From: Marcelo Roccasalva 
To: CentOS mailing list 
Sent: Friday, February 13, 2009 5:35:51 AM
Subject: Re: [CentOS] logs such as messages, boot.log, and kernel contained 0  
size

On Thu, Feb 12, 2009 at 11:02 PM, Frank Ling  wrote:
> Hi Marcelo,
>
> Thanks for the comment. I had SELinux disabled. Anyway I tried your trick,
> and it didn't work. Something must went wrong.

Are the files opened?:

# lsof /var/log/*

Can you "strace" the [syslog] pid?

-- 
Marcelo

"¿No será acaso que ésta vida moderna está teniendo más de moderna que
de vida?" (Mafalda)
___
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] Nagios: Error: Service check command ... not defined anywhere!

2009-02-13 Thread Alexander Farber
Hello,

On Fri, Feb 13, 2009 at 3:06 PM, Rainer Duffner  wrote:
> Alexander Farber schrieb:
>> I should have added the commands
>> to the /etc/nagios/objects/commands.cfg
>> and not to the  /etc/nagios/command-plugins.cfg
>
> Well, you can include those, too (I think in nagios.cfg).
>
> I had (like you) assumed, you already included that file.
> Always check if the file you use is actually included in the
> main-configuration...

unfortunately you can't put
   cfg_file=/etc/nagios/objects/commands.cfg
into /etc/nagios/nagios.cfg -
it will bail out with an error message.

IMHO it's a bug in nagios-plugins-1.4.13-1.el5.rf

Greetings from Bochum
Alex
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Nagios: Error: Service check command ... not defined anywhere!

2009-02-13 Thread Alexander Farber
Oops a typo - I actually mean:

> unfortunately you can't put
>   cfg_file=/etc/nagios/command-plugins.cfg
> into /etc/nagios/nagios.cfg -
> it will bail out with an error message.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] After electric breaking: HARDWARE ERROR Kernel panic

2009-02-13 Thread Lanny Marcus
On Fri, Feb 13, 2009 at 3:35 AM, John R Pierce  wrote:
> Vnpenguin wrote:
>> After an electric breaking, my server (Centos 5.2 x86_64 with all
>> updates) can not boot. The error message on screen is:
>> Memory for crash kernel (0x0 to 0x0) notwithin permissible range
>> <0>
>> HARDWARE ERROR
>> CPU 1: Machine Check Exception:   7 Bank 4: 
>> RIP 10:<.>
>> TSC 133eab63c9 ADDR 24fe3d028
>> This is not a software problem!
>> Run through mcelog --ascii to decode and contact your hardware vendot
>> Kernel panic - not syncing: Uncorrected machine check

> you have a hardware problem.   something fried on the motherboard,
> possibly the ram, maybe something else..   if the server is on some sort
> of service contract or warranty, call the hardware or support vendor.
> if not, find someone skilled at troubleshooting x86_64 server hardware.

I doubt a warranty will cover electrical damage, but you can ask.
 An insurance policy is more likely to cover this.  :-)Run
Diagnostics on the RAM (which is the reported error) and your
motherboard.  The PSU may also be damaged. Run Diagnostics on the hard
drives, after you get it up and running.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Monthly Newsletter

2009-02-13 Thread Didi
Hey

A friend asked me how he could stay up to date with CentOS and if
there was a newsletter or something. After some research I found that
there was a discussion on the promo list about half a  year ago but
nothing happened.

If you look at :

http://wiki.centos.org/SpecialInterestGroup/Promo/TODO

you can see, that is has to be done :)

Would something like this, be appreciated by the community?
What would people want to see in a newsletter?
Are people interested in doing this?

Personally I was thinking of :
- General information (Like "whats up with 5.3")
- What is happening on the mailing lists / Forum
- Developer interview (Developers would you do that?)
- Tips/Tricks
- Event reports and up coming events
- Word of the Month. Something to lighten up the newsletter.
- Bug fixes
- Ideas welcome

I would be quite happy to contribute to this and it would give people
who want to give something back a nice chance to get public exposure.

Is monthly a good compromise between workload and actuality?

Cheers Didi

-- 
My NEW project : http://www.hacktags.org
My www page: www.ribalba.de
Email / Jabber: riba...@gmail.com
Skype : ribalba
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Nagios: Error: Service check command ... not defined anywhere!

2009-02-13 Thread John Doe

From: Alexander Farber 
> >> I have problems posting the question below
> >> to the Nagios mailing list (my subscription is
> >> not accepted for some reason).
> > You should complain to the administrators of that mailing-list.
> I still think my question isn't offtopic here -
> seeing how people discuss procmail/logrotate/etc.

I think he was just referring to your nagios mailing list problems...

JD


  

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


Re: [CentOS] Monthly Newsletter

2009-02-13 Thread Rainer Duffner
Didi schrieb:
> Hey
>
> A friend asked me how he could stay up to date with CentOS and if
> there was a newsletter or something. After some research I found that
> there was a discussion on the promo list about half a  year ago but
> nothing happened.
>
> If you look at :
>
> http://wiki.centos.org/SpecialInterestGroup/Promo/TODO
>
> you can see, that is has to be done :)
>
> Would something like this, be appreciated by the community?
> What would people want to see in a newsletter?
> Are people interested in doing this?
>
> Personally I was thinking of :
> - General information (Like "whats up with 5.3")
> - What is happening on the mailing lists / Forum
> - Developer interview (Developers would you do that?)
> - Tips/Tricks
> - Event reports and up coming events
> - Word of the Month. Something to lighten up the newsletter.
> - Bug fixes
> - Ideas welcome
>
> I would be quite happy to contribute to this and it would give people
> who want to give something back a nice chance to get public exposure.
>
> Is monthly a good compromise between workload and actuality?
>
>   



FreeBSD does it quarterly:
http://www.freebsd.org/news/status/

But, I have to ask: most of the "development" of CentOS is actually done
upstream, in RHEL, right?



Rainer


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


[CentOS] CentOS-announce Digest, Vol 48, Issue 7

2009-02-13 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

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

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

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


Today's Topics:

   1. CESA-2009:0012 Moderate CentOS 4 s390(x) netpbm - security
  update (Pasi Pirhonen)
   2. CESA-2009:0261 Moderate CentOS 4 s390(x) vnc -security
  update (Pasi Pirhonen)


--

Message: 1
Date: Thu, 12 Feb 2009 19:53:57 +0200
From: Pasi Pirhonen 
Subject: [CentOS-announce] CESA-2009:0012 Moderate CentOS 4 s390(x)
netpbm -security update
To: centos-annou...@centos.org
Message-ID: <20090212175357.gn12...@centos.fi>
Content-Type: text/plain; charset="us-ascii"

CentOS Errata and Security Advisory 2009:0012

https://rhn.redhat.com/errata/RHSA-2009-0012.html

The following updated files have been uploaded and are currently
syncing to the mirrors:

s390:
updates/s390/RPMS/netpbm-10.25-2.1.c4.4.s390.rpm
updates/s390/RPMS/netpbm-devel-10.25-2.1.c4.4.s390.rpm
updates/s390/RPMS/netpbm-progs-10.25-2.1.c4.4.s390.rpm

s390x:
updates/s390x/RPMS/netpbm-10.25-2.1.c4.4.s390x.rpm
updates/s390x/RPMS/netpbm-devel-10.25-2.1.c4.4.s390x.rpm
updates/s390x/RPMS/netpbm-progs-10.25-2.1.c4.4.s390x.rpm


-- 
Pasi Pirhonen - u...@iki.fi - http://pasi.pirhonen.eu/
Top-postings silently ignored
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20090212/0f7ed0fa/attachment-0001.bin
 

--

Message: 2
Date: Thu, 12 Feb 2009 19:54:46 +0200
From: Pasi Pirhonen 
Subject: [CentOS-announce] CESA-2009:0261 Moderate CentOS 4 s390(x)
vnc -   security update
To: centos-annou...@centos.org
Message-ID: <20090212175446.go12...@centos.fi>
Content-Type: text/plain; charset="us-ascii"

CentOS Errata and Security Advisory 2009:0261

https://rhn.redhat.com/errata/RHSA-2009-0261.html

The following updated files have been uploaded and are currently
syncing to the mirrors:

s390:
updates/s390/RPMS/vnc-4.0-12.c4.1.s390.rpm
updates/s390/RPMS/vnc-server-4.0-12.c4.1.s390.rpm

s390x:
updates/s390x/RPMS/vnc-4.0-12.c4.1.s390x.rpm
updates/s390x/RPMS/vnc-server-4.0-12.c4.1.s390x.rpm


-- 
Pasi Pirhonen - u...@iki.fi - http://pasi.pirhonen.eu/
Top-postings silently ignored
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20090212/79754fe6/attachment-0001.bin
 

--

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


End of CentOS-announce Digest, Vol 48, Issue 7
**
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] text processing problem with bash/perl

2009-02-13 Thread Dennis Kaptain

> 

> # Put Perl in "paragraph mode"
> $/ = '';
> 
> # For each record ...

I love this list! Paragraph mode REALLY cleans things up. Although it worked, 
this makes my first attempt look really amateurish.
Be sure to put the definition of $/ inside a code block { } if you are using it 
inside a program or it will cause difficulties in other areas since it is 
defined in main and therefore used everywhere.

#! /usr/bin/perl -w
use strict;

# use this like ./p2 < in.txt > out.txt
# or cat file | ./p2 > out.txt

{
   local $/ = ''; # turn on paragraph mode
   while (<>) {
  if (/localhost/) {
 $_ =~ s/\/\*//;
 $_ =~ s/\*\///;
  }
  print "$_\n";
   }
}


__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] text processing problem with bash/perl

2009-02-13 Thread Robinson Tiemuqinke
Dave,

 Thanks a lot.

--Robinson


--- On Fri, 2/13/09, Dave Cross  wrote:

> From: Dave Cross 
> Subject: Re: [CentOS] text processing problem with bash/perl
> To: "CentOS mailing list" 
> Date: Friday, February 13, 2009, 5:50 AM
> 2009/2/13 Robinson Tiemuqinke :
> > Hi,
> >
> > Anyone has some ways for the following text processing
> problem? I have a text file
> > containing two stanzas attached below. I want to
> uncomment the stanza with
> > 'host=localhost' line, while left the other
> stanza unchanged.
> >
> > ...
> >
> > /* udp_send_channel {
> >  host=localhost
> >  port = 10017
> >  ttl = 1
> > } */
> >
> > /* udp_send_channel {
> >  host=ganglia100.ec2.example.com
> >  port = 10017
> >  ttl = 1
> > } */
> 
> It's pretty simple in Perl. Something like this will
> work.
> 
> #!/usr/bin/perl
> use strict;
> use warnings;
> 
> # Put Perl in "paragraph mode"
> $/ = '';
> 
> # For each record ...
> while (<>) {
>   # ... if the record is for localhost ...
>   if (/host=localhost/) {
> # ... remove the opening comment ...
> s|/\*\s*||;
> # ... remove the closing comment ...
> s|\s*\*/||;
>   }
> 
>   # ... and print the record.
>   print;
> }
> 
> It's written as a Unix filter, so it reads from STDIN
> and writes to
> STDOUT. Call it like this:
> 
>   $ my_filter < input.txt > output.txt
> 
> 
> hth,
> 
> Dave...
> ___
> 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] GFS + Restarting iptables

2009-02-13 Thread MARS websolutions
Dear List,

I have one last little problem with setting up an cluster. My gfs  
Mount will hang as soon as I do an iptables restart on one of the  
nodes..

First, let me describe my setup:

-   4 nodes, all running an updated Centos 5.2 installation
-   1 Dell MD3000i ISCSI SAN
-   All nodes are connected by Dell?s Supplied RDAC driver

Everything is running stable when the cluster is started (tested for a  
week or so), when I did some last changes in my firewall and did an  
iptables restart it all went down after a while. I reproduced the  
issue now several times so I am quite sure it has to do with the  
iptables restart.

I have a custom fence script for our ipoman powerswitch,  which is all  
tested and is working fine.

When I do iptables restart the following will happen:

-   After approx 10 seconds the process gfs_controld will go to 100% cpu  
usage (at all nodes!)
-   I can still access my gfs Mount
-   The Group_tool dump gfs tells me:
--
1234541723 config_no_withdraw 0
1234541723 config_no_plock 0
1234541723 config_plock_rate_limit 100
1234541723 config_plock_ownership 0
1234541723 config_drop_resources_time 1
1234541723 config_drop_resources_count 10
1234541723 config_drop_resources_age 1
1234541723 protocol 1.0.0
1234541723 listen 1
1234541723 cpg 5
1234541723 groupd 6
1234541723 uevent 7
1234541723 plocks 10
1234541723 plock cpg message size: 336 bytes
1234541723 setup done
1234541737 client 6: join /setan gfs lock_dlm mars:setan rw  
/dev/mapper/vg_cluster-lv_cluster
1234541737 mount: /setan gfs lock_dlm mars:setan rw  
/dev/mapper/vg_cluster-lv_cluster
1234541737 setan cluster name matches: mars
1234541737 setan do_mount: rv 0
1234541737 groupd cb: set_id setan 20004
1234541737 groupd cb: start setan type 2 count 4 members 3 2 1 4
1234541737 setan start 3 init 1 type 2 member_count 4
1234541737 setan add member 3
1234541737 setan add member 2
1234541737 setan add member 1
1234541737 setan add member 4
1234541737 setan total members 4 master_nodeid -1 prev -1
1234541737 setan start_participant_init
1234541737 setan send_options len 1296 "rw"
1234541737 setan start_done 3
1234541737 setan receive_options from 3 len 1296 last_cb 2
1234541737 setan receive_journals from 1 to 3 len 320 count 4 cb 2
1234541737 receive nodeid 1 jid 1 opts 1
1234541737 receive nodeid 2 jid 2 opts 1
1234541737 receive nodeid 3 jid 3 opts 1
1234541737 receive nodeid 4 jid 0 opts 1
1234541737 setan received_our_jid 3
1234541737 setan retrieve_plocks
1234541737 notify_mount_client: nodir not found for lockspace setan
1234541737 notify_mount_client: ccs_disconnect
1234541737 notify_mount_client: hostdata=jid=3:id=131076:first=0
1234541737 groupd cb: finish setan
1234541737 setan finish 3 needs_recovery 0
1234541737 setan set /sys/fs/gfs/mars:setan/lock_module/block to 0
1234541737 setan set open /sys/fs/gfs/mars:setan/lock_module/block error -1 2
1234541737 kernel: add@ mars:setan
1234541737 setan ping_kernel_mount 0
1234541738 kernel: change@ mars:setan
1234541738 setan recovery_done jid 3 ignored, first 0,0
1234541738 client 6: mount_result /setan gfs 0
1234541738 setan got_mount_result: ci 6 result 0 another 0  
first_mounter 0 opts 1
1234541738 setan send_mount_status kernel_mount_error 0 first_mounter 0
1234541738 client 6 fd 11 dead
1234541738 setan receive_mount_status from 3 len 288 last_cb 3
1234541738 setan _receive_mount_status from 3 kernel_mount_error 0  
first_mounter 0 opts 1
1234541925 client 6: dump
1234542420 client 6: dump
1234542420 client 7 fd 11 read error -1 9
1234542424 client 6: dump
1234542424 client 7 fd 11 read error -1 9
1234542424 client 8 fd 11 read error -1 9
1234542425 client 6: dump
1234542425 client 7 fd 11 read error -1 9
1234542425 client 8 fd 11 read error -1 9
1234542425 client 9 fd 11 read error -1 9
1234542426 client 6: dump
1234542426 client 7 fd 11 read error -1 9
1234542426 client 8 fd 11 read error -1 9
1234542426 client 9 fd 11 read error -1 9
1234542426 client 10 fd 11 read error -1 9
1234542427 client 6: dump
1234542427 client 7 fd 11 read error -1 9
1234542427 client 8 fd 11 read error -1 9
1234542427 client 9 fd 11 read error -1 9
1234542427 client 10 fd 11 read error -1 9
1234542427 client 11 fd 11 read error -1 9
1234542428 client 6: dump
--
-   After a while the groupd process will hit 100% as well (on all nodes)
-   The gfs Mount will be inaccessible after a while, it hangs when  
trying to open it.
-   Group_tool still shows that all nodes are participating in the  
cluster and gfs service, but no problems are reported..

Does anyone has a clue to fix this completly or at least how to  
recover my system when it happens without a full reboot of the  
complete cluster? I have tried for a lot of hours and im still very  
new to clustering, im just testing it before I want to use it in  
production enviroments.

I really appreciate any help!

Regards,
Sven


Config files/settings:

Re: [CentOS] GFS + Restarting iptables

2009-02-13 Thread Ray Van Dolson
On Fri, Feb 13, 2009 at 06:36:22PM +0100, MARS websolutions wrote:
> Dear List,
> 
> I have one last little problem with setting up an cluster. My gfs  
> Mount will hang as soon as I do an iptables restart on one of the  
> nodes..

Undoubtedly someone else with more experience with GFS will give you an
answer, but to me this makes me think ip_conntrack stuff gets cleared
out and sessions have to reestablish themselves.

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


Re: [CentOS] text processing problem with bash/perl

2009-02-13 Thread David G. Miller
Dennis Kaptain  wrote:

>> > 
>> > Hi,
>> > 
>> > Anyone has some ways for the following text processing problem? I have a 
>> > text 
>> > file containing two stanzas attached below. I want to uncomment the stanza 
>> > with 
>> > 'host=localhost' line, while left the other stanza unchanged.
>> > 
>> > ...
>> > 
>> > /* udp_send_channel {
>> >   host=localhost
>> >   port = 10017
>> >   ttl = 1
>> > } */
>> > 
>> > /* udp_send_channel {
>> >   host=ganglia100.ec2.example.com
>> >   port = 10017
>> >   ttl = 1
>> > } */
>> > 
>> > ...
>> > 
>> > If I use command below then both stanza will be altered... Please help.
>> > 
>> > sed  -i -e '/^\/\* udp_send_channel/, /} \*\// {s/^\/\* 
>> > udp_send_channel/udp_send_channel/g; s/\} \*\//}/g; }'
>> > 
>> > --David
>> > 
>> 
>
> this is probably WAY more than you wanted


A tad simpler:

#! /usr/bin/perl -w
use strict;

my $file;

open FILE, "stuff.txt" or die;

# Undefine the input record separator.

undef $/;

# Slurp the whole file in

$file = ;
close FILE;

# Pattern match on the stanza we want to uncomment and uncomment it.  
You may need to play with
# the white space in the output to get the formatting you want.

$file =~ s?/*\s*udp_send_channel {\n\s*host=localhost\n\s*port = 
10017\n\s*ttl = 1\n\s*} */\n?udp_send_channel {\n  host=localhost\n  
port = 10017\n  ttl = 1\n}?;

# Write the result.

print $file;

#~End of Script~~

Cheers,
Dave

-- 
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce

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


[CentOS] usb network at install time

2009-02-13 Thread Jerry Geis
Hi all,

Is there a way to specify a usb network device at boot time for 
installation?
I have trendnet TU2-ET100 usb network device. I have a motherboard that 
in the 5.2 install disk
the network is not detected. However I want to use all my network 
kickstart files so
I am looking for a way to have a USB network at install time. Is that 
possible?

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


Re: [CentOS] usb network at install time

2009-02-13 Thread John R Pierce
Jerry Geis wrote:
> Hi all,
>
> Is there a way to specify a usb network device at boot time for 
> installation?
> I have trendnet TU2-ET100 usb network device. I have a motherboard that 
> in the 5.2 install disk
> the network is not detected. However I want to use all my network 
> kickstart files so
> I am looking for a way to have a USB network at install time. Is that 
> possible?
>   

according to http://www.linux-usb.org/usbnet/  you need the command 
`modprob gsix` to wake up that device.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] usb network at install time

2009-02-13 Thread Jerry Geis
> according to http://www.linux-usb.org/usbnet/  you need the command 
> `modprob gsix` to wake up that device.

John,

Thanks - the device works after an install with "modprobe asix" sure enough.

But I need to wake it up and the linux boot line when I'm installing?
How do I do that?

jerry

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


Re: [CentOS] Practical experience with NTLM/Windows Integrated Authentication [Apache]

2009-02-13 Thread Kanwar Ranbir Sandhu
On Fri, 2009-02-13 at 12:11 +0100, Sven wrote:
> I wish to migrate Windows IIS webserver to CentOS. Killer-Feature is
> SSO with Windows Integrated Authentication[0].
> 
> Anyone have experience with such a setup and can say a few sentences
> how to do that and if its stable?

I've done this on a few servers at work and it works great.  Stable and
essentially hands off after the initial config. The very first time I
set it up, I had a tough time figuring out all the bits that were
necessary to make it work, but I guess that's true of anything you do
the first time.

You know what the best part is? Nothing was documented. HA!  It's
actually quite horrible.  My plan is to set up the Apache/Windows AD
integration again on another box and to document it at that time.

Your two keys to success:

1. you better have a solid understanding of administering a CentOS 
   system.  You don't have to know Apache inside and out, but good
   grasp of how to configure apache is a plus.

2. make sure your Windows ADS is configured properly. If there's 
   anything that will throw off your project, it's the Windows server.
   Your Windows admin better know his stuff!

Regards,

Ranbir

-- 
Kanwar Ranbir Sandhu
Linux 2.6.27.12-170.2.5.fc10.x86_64 x86_64 GNU/Linux 
21:12:14 up 2 days, 22:59, 4 users, load average: 0.22, 0.21, 0.29 


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


Re: [CentOS] Practical experience with NTLM/Windows Integrated Authentication [Apache]

2009-02-13 Thread Filipe Brandenburger
Hi,

Last year I tried to get this working on a CentOS 4 server, but I
could not get it running.

I used this module at the time:
http://adldap.sourceforge.net/wiki/doku.php?id=mod_auth_ntlm_winbind

I spent some time trying to figure out what was the issue, but
eventually I just gave up. I believe I had some problem on the Samba
config somewhere...

My current job is Linux only so I never tried this again, maybe it
would work under CentOS 5, it might be worth the try...

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