Re: [CentOS] tty login hangs

2009-02-15 Thread Stewart Williams
Richard Karhuse wrote:
>> 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-

No I haven't tried this. I will let you know if it works.

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


Re: [CentOS] tty login hangs

2009-02-15 Thread Stewart Williams
John Doe wrote:
> 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

I'll do this when it happens again, but it's been OK for a while.
___
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-15 Thread Christopher Chan
Sven wrote:
> Hi folks
>
> I wish to migrate Windows IIS webserver to CentOS. Killer-Feature is
> SSO with Windows Integrated Authentication[0].
>   
Cor...you are asking for a tough one here.
> Anyone have experience with such a setup and can say a few sentences
> how to do that and if its stable?
>
>   

No experience with apache in particular but for SSO to work, Kerberos 
will have to be involved.

Hmm, a Google on apache kerberos produced this:

http://blog.scottlowe.org/2006/08/10/kerberos-based-sso-with-apache/


Have fun. Oh, I believe this will only work with IE clients on the 
desktop side of things unless Mozilla or whatever else out there has 
kerberos support too.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Suggestion for Server Room monitoring

2009-02-15 Thread Fajar Priyanto
Hi all,
I have a situation like this:
Our little server room is always on. It has an air conditioning unit,
but barely enough.
So sometimes during weekend, the temperature could reach unhealthy
level, like 29 degree Celsius.
Currently, there's no personnel to monitor it 24 hours a day.
I'm thinking of using a tool to monitor the temperature, and then send
sms/email when it reaches certain threshold.
Anyone has an idea? Could be software based or hardware one.
Thank you.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Suggestion for Server Room monitoring

2009-02-15 Thread Christopher Chan
Fajar Priyanto wrote:
> Hi all,
> I have a situation like this:
> Our little server room is always on. It has an air conditioning unit,
> but barely enough.
> So sometimes during weekend, the temperature could reach unhealthy
> level, like 29 degree Celsius.
> Currently, there's no personnel to monitor it 24 hours a day.
> I'm thinking of using a tool to monitor the temperature, and then send
> sms/email when it reaches certain threshold.
> Anyone has an idea? Could be software based or hardware one.
>   

You can get temperature reads of your cpu and motherboard with 
lm_sensors...provided your motherboard's chipset is supported...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Suggestion for Server Room monitoring

2009-02-15 Thread Fajar Priyanto
On Mon, Feb 16, 2009 at 10:04 AM, Christopher Chan
 wrote:
> You can get temperature reads of your cpu and motherboard with
> lm_sensors...provided your motherboard's chipset is supported...

That's a good idea. I'll work on it.
I know it sucks, how about MS Windows, several of the machines run it,
does anyone know similar tool to monitor the temperature?
Thanks.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Suggestion for Server Room monitoring

2009-02-15 Thread Hugh E Cruickshank
From: Fajar Priyanto Sent: February 15, 2009 17:59
> 
> I have a situation like this:
> Our little server room is always on. It has an air conditioning unit,
> but barely enough. So sometimes during weekend, the temperature could
> reach unhealthy level, like 29 degree Celsius. Currently, there's no
> personnel to monitor it 24 hours a day. I'm thinking of using a tool
> to monitor the temperature, and then send sms/email when it reaches
> certain threshold.

One of our hardware suppliers recommended the Liebert/Emerson OpenComms
EM Controller. I have not had a good look at it yet so I can not say
how good it is but you might want to have a look.

HTH

Regards, Hugh

-- 
Hugh E Cruickshank, Forward Software, www.forward-software.com 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Suggestion for Server Room monitoring

2009-02-15 Thread muhammad panji
On Mon, Feb 16, 2009 at 9:11 AM, Fajar Priyanto  wrote:
> On Mon, Feb 16, 2009 at 10:04 AM, Christopher Chan
>  wrote:
>> You can get temperature reads of your cpu and motherboard with
>> lm_sensors...provided your motherboard's chipset is supported...
>
> That's a good idea. I'll work on it.
> I know it sucks, how about MS Windows, several of the machines run it,
> does anyone know similar tool to monitor the temperature?
> Thanks.
what about using monitoring tools like zenoss, groundwork, zabbix etc.
I think the could monitor temperature too.
regards,



-- 
Muhammad Panji
http://sumodirjo.wordpress.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ma78gm and esata

2009-02-15 Thread Jerry Geis
Hi all,

my motherboard ma78gm is working.
I am trying to get working the esata.
I plug in my external driver, power cycle the external drive.
then turn on my machine.
My drive sda is detect as normal. however I dont see anything about any 
other disk.
dmesg didnt show anything.

Is there something special needed to activate the esata drive?

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


Re: [CentOS] ma78gm and esata

2009-02-15 Thread John R Pierce
Jerry Geis wrote:
> Hi all,
>
> my motherboard ma78gm is working.
> I am trying to get working the esata.
> I plug in my external driver, power cycle the external drive.
> then turn on my machine.
> My drive sda is detect as normal. however I dont see anything about any 
> other disk.
> dmesg didnt show anything.
>
> Is there something special needed to activate the esata drive?
>
>   

silly question, is the esata chassis port connected to the 
motherboard?  if so, the esata port should be working just like any 
other sata port.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Suggestion for Server Room monitoring

2009-02-15 Thread Fajar Priyanto
On Mon, Feb 16, 2009 at 10:13 AM, muhammad panji  wrote:
> what about using monitoring tools like zenoss, groundwork, zabbix etc.
> I think the could monitor temperature too.
> regards,

Good to have them. Thanks.

Btw, using lm_sensors, I have the result:
it87-isa-0290
Adapter: ISA adapter
VCore 1:   +1.62 V  (min =  +0.00 V, max =  +4.08 V)
VCore 2:   +2.69 V  (min =  +0.00 V, max =  +4.08 V)
+3.3V: +3.31 V  (min =  +0.00 V, max =  +4.08 V)
+5V:   +4.92 V  (min =  +0.00 V, max =  +6.85 V)
+12V: +12.35 V  (min =  +0.00 V, max = +16.32 V)
-12V: -13.62 V  (min = -27.36 V, max =  +3.93 V)
-5V:   -9.28 V  (min = -13.64 V, max =  +4.03 V)
Stdby: +3.06 V  (min =  +0.00 V, max =  +6.85 V)
VBat:  +0.00 V
fan1: 3443 RPM  (min =0 RPM, div = 8)
fan2:0 RPM  (min =0 RPM, div = 8)
fan3:0 RPM  (min =0 RPM, div = 8)
M/B Temp:+35°C  (low  =  +127°C, high =  +127°C)   sensor = thermistor
CPU Temp:+29°C  (low  =  +127°C, high =  +127°C)   sensor = thermistor
Temp3:   +49°C  (low  =  +127°C, high =  +127°C)   sensor = diode

I think I can write little script based on the info.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ma78gm and esata

2009-02-15 Thread Jerry Geis
>
> Jerry Geis wrote:
> >/ Hi all,
> />/
> />/ my motherboard ma78gm is working.
> />/ I am trying to get working the esata.
> />/ I plug in my external driver, power cycle the external drive.
> />/ then turn on my machine.
> />/ My drive sda is detect as normal. however I dont see anything about any 
> />/ other disk.
> />/ dmesg didnt show anything.
> />/
> />/ Is there something special needed to activate the esata drive?
> />/
> />/   
> /
> silly question, is the esata chassis port connected to the 
> motherboard?  if so, the esata port should be working just like any 
> other sata port.
>   
John,

Yes... it is connected to the motherboard. That would have been what I 
suspected also that
the disk would show up just as any other disk. Very odd. Perhaps I'll 
just wait for 5.3 unless
there is another suggestion.

Side note: I have an amd 6200+ and now an Amd Quad 940. There is 
significant improvement in the 940.
Project compile went from 12 seconds down to 9.
Copying 12GIG file went from 8 minutes down to 5.
So now I'm waiting on 5.3 to see if ext4 helps that even more! Any day I 
hope.

let me know if there are other things to try for the esata. Have a great 
evening.

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-15 Thread Filipe Brandenburger
Hi,

On Sun, Feb 15, 2009 at 19:02, Christopher Chan
 wrote:
> Have fun. Oh, I believe this will only work with IE clients on the
> desktop side of things unless Mozilla or whatever else out there has
> kerberos support too.

No, NTLM auth works in Firefox (at least on Firefox on Windows, I
don't think it will work in other platforms though).

I tested configuring Firefox on Windows to do NTLM auth, and it worked
with the IIS sites my company had. As I said before, unfortunately I
couldn't get Apache on Linux to work with NTLM authentication.

See:
http://www.crossedconnections.org/w/?p=89
http://www.cauldwell.net/patrick/blog/PermaLink,guid,c7f1e799-c4ae-4758-9de7-5c3e7a16f3da.aspx
http://kb.mozillazine.org/Network.automatic-ntlm-auth.trusted-uris

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


[CentOS] network driver at installation time

2009-02-15 Thread Jerry Geis
Is there anyway to load a network driver at installation time. Centos 
5.2 x86_64.

Alternatively, is there a way to do a USB network driver at boot?

Either is fine... Presently I have a rtl 8168 that just hangs at DHCP 
request.
I want to use all the kickstart information I have setup, but need the 
network to work for that.

Any ideas?

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


Re: [CentOS] Suggestion for Server Room monitoring

2009-02-15 Thread Ian Forde
On Mon, 2009-02-16 at 09:59 +0800, Fajar Priyanto wrote:
> Hi all,
> I have a situation like this:
> Our little server room is always on. It has an air conditioning unit,
> but barely enough.
> So sometimes during weekend, the temperature could reach unhealthy
> level, like 29 degree Celsius.
> Currently, there's no personnel to monitor it 24 hours a day.
> I'm thinking of using a tool to monitor the temperature, and then send
> sms/email when it reaches certain threshold.
> Anyone has an idea? Could be software based or hardware one.
> Thank you.

If you've got an APC UPS, there's a chance you can get a temperature
sensor that attaches to it.  That can be checked from Nagios, which can
send alerts when thresholds are reached.  You can also graph temperature
over time (via SNMP) using Cacti, so that you can verify that Nagios is
doing the right thing.  Note that even if you use lm_sensors rather than
an external temperature sensor[1], it's still a good idea to use Nagios
and/or Cacti in conjunction with it.  I believe Nagios has a
check_lmsensors plugin available. ;)

-I

[1] - lm_sensors reports internal temperature, which is usually much
higher than external temperature. So tune your thresholds accordingly...

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


Re: [CentOS] Suggestion for Server Room monitoring

2009-02-15 Thread Robert


Fajar Priyanto wrote:
> Hi all,
> I have a situation like this:
> Our little server room is always on. It has an air conditioning unit,
> but barely enough.
> So sometimes during weekend, the temperature could reach unhealthy
> level, like 29 degree Celsius.
> Currently, there's no personnel to monitor it 24 hours a day.
> I'm thinking of using a tool to monitor the temperature, and then send
> sms/email when it reaches certain threshold.
> Anyone has an idea? Could be software based or hardware one.
> Thank you.
>
>   
Depending on the stakes, you might consider a solution from 
http://www.sensaphone.com/
They have a wide range of units at a wide range of costs.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] network driver at installation time

2009-02-15 Thread Ian Forde
On Sun, 2009-02-15 at 22:34 -0500, Jerry Geis wrote:
> Is there anyway to load a network driver at installation time. Centos 
> 5.2 x86_64.

Yep - it's definitely in the kickstart docs - don't remember where
though...

> Alternatively, is there a way to do a USB network driver at boot?

See above... ;)

> Either is fine... Presently I have a rtl 8168 that just hangs at DHCP 
> request.
> I want to use all the kickstart information I have setup, but need the 
> network to work for that.

>From what I recall, there's an entry to the start of the kickstart
something like "linux ks=whatever dd" or something like that... How to
automate it into unattended kickstart?  I haven't done that yet, so I'm
not sure.

-I

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


Re: [CentOS] network driver at installation time

2009-02-15 Thread Akemi Yagi
On Sun, Feb 15, 2009 at 7:34 PM, Jerry Geis  wrote:
> Is there anyway to load a network driver at installation time. Centos
> 5.2 x86_64.

The driver disks are available. Please check out Section 7 of:

http://wiki.centos.org/AdditionalResources/HardwareList/RealTekRTL8111b

Akemi
___
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-15 Thread Christopher Chan
Filipe Brandenburger wrote:
> Hi,
>
> On Sun, Feb 15, 2009 at 19:02, Christopher Chan
>  wrote:
>   
>> Have fun. Oh, I believe this will only work with IE clients on the
>> desktop side of things unless Mozilla or whatever else out there has
>> kerberos support too.
>> 
>
> No, NTLM auth works in Firefox (at least on Firefox on Windows, I
> don't think it will work in other platforms though).
>   
Okay.
> I tested configuring Firefox on Windows to do NTLM auth, and it worked
> with the IIS sites my company had. As I said before, unfortunately I
> couldn't get Apache on Linux to work with NTLM authentication.
>   
Too bad. However, based on your information I found this on Google:

http://sivel.net/2007/05/sso-apache-ad-1/

Thanks Filipe. Now I guess I can have a crack at this too.


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


Re: [CentOS] network driver at installation time

2009-02-15 Thread Jerry Geis
>
> On Sun, 2009-02-15 at 22:34 -0500, Jerry Geis wrote:
> >/ Is there anyway to load a network driver at installation time. Centos 
> />/ 5.2 x86_64.
> /
> Yep - it's definitely in the kickstart docs - don't remember where
> though...
>
> >/ Alternatively, is there a way to do a USB network driver at boot?
> /
> See above... ;)
>
> >/ Either is fine... Presently I have a rtl 8168 that just hangs at DHCP 
> />/ request.
> />/ I want to use all the kickstart information I have setup, but need the 
> />/ network to work for that.
> /
> >/From what I recall, there's an entry to the start of the kickstart
> /something like "linux ks=whatever dd" or something like that... How to
> automate it into unattended kickstart?  I haven't done that yet, so I'm
> not sure.
>   
Ian,

I am looking at the docs and have not seen how to get a USB network adapter
to be recognized at installation time. Do you know how to do this? I 
have a trendnet et100
device (usb network adapter) that linux supports. I wish to just disable 
the onboard network,
use the usb NIC to do my install, and yum udpates, then re-enable the 
onboard NIC.

My issue is I cannot get the usb NIC to be recognized at installation time?
Is that possible?

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


[CentOS] funny SMS server tips

2009-02-15 Thread Fajar Priyanto
Hi guys,
Hehe.. I thought I want to share this.
In previous email, I said about monitoring server room.
I just realize that we have this quite old sms server appliance in the
room. It's still running though.
I want to setup cronjob from linux machines, to send mail to that sms
server, and it will then send sms to my cell about the machine
condition.
Problem is, nobody knows how to configure the sms server, and there's
no docs beside a little description in the web UI.
Been googling around few hours, but since it's quite old and
proprietary, no good result.

Problem is, the sms server's qmail refuses to work if I use hostname
in the mail like mycell...@sms-server.
If I want to use mycell...@192.168.1.100, sendmail refuses to send it
as "host not found".
So, out of curiosity, I define this in this /etc/hosts:
192.168.1.100   192.168.1.100
And now sending from sendmail to mycell...@192.168.1.100 works!

is it a feature or what? In network convention, all-numeric hostname
is not allowed right?
Hehe.. anyway, now I can monitor my server room using sms.
___
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-15 Thread Sorin Srbu
>-Original Message-
>From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf
>Of Filipe Brandenburger
>Sent: Monday, February 16, 2009 3:58 AM
>To: CentOS mailing list
>Subject: Re: [CentOS] Practical experience with NTLM/Windows Integrated
>Authentication [Apache]
>
>No, NTLM auth works in Firefox (at least on Firefox on Windows, I
>don't think it will work in other platforms though).

It doesn't. NTLM auth to eg Sharepoint sites works fine with Firefox in
Windows. Setting the same things in Firefox under linux and having it login
to sharepoint doesn't.
-- 
/Sorin


smime.p7s
Description: S/MIME cryptographic signature
___
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-15 Thread Christopher Chan

>> No, NTLM auth works in Firefox (at least on Firefox on Windows, I
>> don't think it will work in other platforms though).
>> 
>
> It doesn't. NTLM auth to eg Sharepoint sites works fine with Firefox in
> Windows. Setting the same things in Firefox under linux and having it login
> to sharepoint doesn't.
>   

I don't think any other OS other than Windows has NTLM bindings.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos