[CentOS] External Dial-up Modem

2011-09-26 Thread Graham Johnston
I am having an issue with Centos 6 and an external USRobotics modem.  We
use the modem as part of a last resort SMS paging system.

 

Across multiple Dell servers, different models, I can't not get the
modem to respond to simple AT commands while using Minicom.  At the same
time if I connect the server to a console port on a switch I can
successfully access the switches serial console.  So I know the serial
port itself is working.  The modem still works fine if connected to a
Centos 5 server.

 

Any thoughts?

 

Graham Johnston

Network Planner
Westman Communications Group
204.717.2829

johnst...@westmancom.com  

 

P think green; don't print this email.

 

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


Re: [CentOS] this is strange and dark

2011-09-26 Thread Alain Péan
Le 26/09/2011 01:44, Johnny Hughes a écrit :
> If he is complaining about 6.0CR ... we are getting close to releasing
> many of those packages.  Should be a bunch in the next 2 days.  Then the
> rest of the 6.1 updates to date couple of days after that.
>
> Of course, that assumes no issues.

Hi Johnny,

Thanks for the information. I understand that you want to stay cautious 
concerning possible problems that may arise.
But I am confident, that, if you say this, you think there is a good 
hope to achieve this goal.

Alain

-- 
==
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==

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


Re: [CentOS] Hacking Issue

2011-09-26 Thread m . roth
Theo Band wrote:
> On 09/26/2011 01:02 PM, Jennifer Botten wrote:
>>
>> I am having an issue with someone accessing our server via a SIP/VOIP
>> connection. I have changed my iptables rules to drop all UDP traffic
>> from and too this IP address, but this traffic seems to still run
>> through my server. These are the iptables rules that I current have on
>> the server.
>>
>> -A INPUT -i eth0 -s 209.61.231.42 -p udp -j DROP
>>
>> -A INPUT -i eth0 -d 209.61.231.42 -p udp -j DROP
>>
>>
> If your SIP server needs to be accessed from any IP address, consider to
> use fail2ban. Easy to setup and it will block access to your SIP server
> after so many false attempts.
> I started using fail2ban to prevent the logs (Asterisk) from cluttering
> failed logons.

Let me chime in: *yes* to fail2ban. We use it here at work, and it works,
and is very good. Not too hard to configure for basic usage, either, but
very extensible.

 mark

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


Re: [CentOS] External Dial-up Modem

2011-09-26 Thread Bill Campbell
On Mon, Sep 26, 2011, Graham Johnston wrote:
>I am having an issue with Centos 6 and an external USRobotics modem.  We
>use the modem as part of a last resort SMS paging system.
>
>Across multiple Dell servers, different models, I can't not get the
>modem to respond to simple AT commands while using Minicom.  At the same
>time if I connect the server to a console port on a switch I can
>successfully access the switches serial console.  So I know the serial
>port itself is working.  The modem still works fine if connected to a
>Centos 5 server.
>
>Any thoughts?

Which device are you using for the serial connection.  It should be
/dev/ttyS0 or similar to provide the correct modem control signals.  The
modem probably won't respond unless the DTR (Data Terminal Ready) line is
up.  It's been quite a while since I had to look at the modems on our
system that runs HylaFAX and dialup connections,

Bill
-- 
INTERNET:   b...@celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186  Skype: jwccsllc (206) 855-5792

The only freedom which deserves the name, is that of pursuing our own good
in our own way, so long as we do not attempt to deprive others of theirs,
or impede their efforts to obtain it. -- John Stuart Mill, 1859
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] External Dial-up Modem

2011-09-26 Thread m . roth
Graham Johnston wrote:
> I am having an issue with Centos 6 and an external USRobotics modem.  We
> use the modem as part of a last resort SMS paging system.
>
> Across multiple Dell servers, different models, I can't not get the
> modem to respond to simple AT commands while using Minicom.  At the same
> time if I connect the server to a console port on a switch I can
> successfully access the switches serial console.  So I know the serial
> port itself is working.  The modem still works fine if connected to a
> Centos 5 server.

I'd think that there may be some default settings in minicom that need to
be different for that specific modem.

   mark

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


Re: [CentOS] External Dial-up Modem

2011-09-26 Thread Les Mikesell
On Mon, Sep 26, 2011 at 11:20 AM, Graham Johnston
 wrote:
> I am having an issue with Centos 6 and an external USRobotics modem.  We
> use the modem as part of a last resort SMS paging system.
>
>
>
> Across multiple Dell servers, different models, I can't not get the
> modem to respond to simple AT commands while using Minicom.  At the same
> time if I connect the server to a console port on a switch I can
> successfully access the switches serial console.  So I know the serial
> port itself is working.  The modem still works fine if connected to a
> Centos 5 server.
>

I normally use ckermit (available from epel) for serial port access
because you can 'set carrier off' before connect so it doesn't hang
waiting for the carrier detect line to come up and because it has a
scripting language that works the same over tcp (handy if you move
your modems to a terminal server).  I assume you know that the cable
needs to be different for modem and console connections.  You might
also loop DTR to DCD, but then you won't know when the connections
drop.

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


Re: [CentOS] Finding i/o bottleneck

2011-09-26 Thread Les Mikesell
On Mon, Sep 26, 2011 at 11:15 AM, Nicolas Ross
 wrote:
>>> In the meen time, I'd still like to find a tool to know what files are
>>> requeted to the filesystem and what ones are being waited for...
>>>
>>
>> atop and iotop are tools that do that...when the kernel has been
>> appropriately patched or the kernel is of an appropriate version...
>
> I did used these utilities, while it can help see what processes are
> generating IO, it doesn't show what files on the file system are being asked
> or waited for.
>
> Basicly, what I'm searching is an equivalent for fs_usage on Mac OS X, or
> tcpdump, but on a bloc device...

Not sure what those do, but lsof should show what files are open, and
'strace -p process_id' would show the system calls issued by a
process.

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


Re: [CentOS] External Dial-up Modem

2011-09-26 Thread Graham Johnston
yeah, ttyS0.

Graham Johnston
Network Planner
Westman Communications Group
204.717.2829
johnst...@westmancom.com

think green; don't print this email.


-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of 
Bill Campbell
Sent: Monday, September 26, 2011 12:14 PM
To: centos@centos.org
Subject: Re: [CentOS] External Dial-up Modem

On Mon, Sep 26, 2011, Graham Johnston wrote:
>I am having an issue with Centos 6 and an external USRobotics modem.  We
>use the modem as part of a last resort SMS paging system.
>
>Across multiple Dell servers, different models, I can't not get the
>modem to respond to simple AT commands while using Minicom.  At the same
>time if I connect the server to a console port on a switch I can
>successfully access the switches serial console.  So I know the serial
>port itself is working.  The modem still works fine if connected to a
>Centos 5 server.
>
>Any thoughts?

Which device are you using for the serial connection.  It should be
/dev/ttyS0 or similar to provide the correct modem control signals.  The
modem probably won't respond unless the DTR (Data Terminal Ready) line is
up.  It's been quite a while since I had to look at the modems on our
system that runs HylaFAX and dialup connections,

Bill
-- 
INTERNET:   b...@celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186  Skype: jwccsllc (206) 855-5792

The only freedom which deserves the name, is that of pursuing our own good
in our own way, so long as we do not attempt to deprive others of theirs,
or impede their efforts to obtain it. -- John Stuart Mill, 1859
___
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] Finding i/o bottleneck

2011-09-26 Thread Nicolas Ross
>> I did used these utilities, while it can help see what processes are
>> generating IO, it doesn't show what files on the file system are being 
>> asked
>> or waited for.
>>
>> Basicly, what I'm searching is an equivalent for fs_usage on Mac OS X, or
>> tcpdump, but on a bloc device...
>
> Not sure what those do, but lsof should show what files are open, and
> 'strace -p process_id' would show the system calls issued by a
> process.

Thanks, that might be usefull. I'ill just have to find a way to strace 
multiple process at once and find the usefull info among that load of 
data...

Nicolas 

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


Re: [CentOS] Finding i/o bottleneck

2011-09-26 Thread Les Mikesell
On Mon, Sep 26, 2011 at 1:47 PM, Nicolas Ross
 wrote:
>>> I did used these utilities, while it can help see what processes are
>>> generating IO, it doesn't show what files on the file system are being
>>> asked
>>> or waited for.
>>>
>>> Basicly, what I'm searching is an equivalent for fs_usage on Mac OS X, or
>>> tcpdump, but on a bloc device...
>>
>> Not sure what those do, but lsof should show what files are open, and
>> 'strace -p process_id' would show the system calls issued by a
>> process.
>
> Thanks, that might be usefull. I'ill just have to find a way to strace
> multiple process at once and find the usefull info among that load of
> data...

Note that if what is really happening is that different processes are
frequently accessing the same disk in different locations (a fairly
likely scenario) the time will be mostly taken by the head seeks in
between and may be hard to pin down.

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


Re: [CentOS] Files being modified in /bin/

2011-09-26 Thread Jeremy Sanders
Micky L Martin wrote:

> No Jeremy, reformatting is nonsensical, like doing anything without
> finding cause of the problem is!
> You have to check out prelink if you still don't know about it, it can be
> something amazing or ridiculous.
> In my case, all evidence points to prelink!

Think you got the name wrong - I'm Jeremy. You're replying to Mark. I agree 
reformatting is premature.

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


Re: [CentOS] Finding i/o bottleneck

2011-09-26 Thread Nicolas Ross
>>> Not sure what those do, but lsof should show what files are open, and
>>> 'strace -p process_id' would show the system calls issued by a
>>> process.
>>
>> Thanks, that might be usefull. I'ill just have to find a way to strace
>> multiple process at once and find the usefull info among that load of
>> data...
>
> Note that if what is really happening is that different processes are
> frequently accessing the same disk in different locations (a fairly
> likely scenario) the time will be mostly taken by the head seeks in
> between and may be hard to pin down.

I found the -f option to strace is able to attach to the forked child of a 
parent process, so I will be using that in my debuging in conjunction 
witgh -e to filter out only the calls I want to see...

But indeed, that might be hard to find. In one case, I want to see what 
files are opened / accessed on a gfs2 volume over a fiber channel link to a 
raid-1 array, and the controler is supposed to intelligent enough to 
distribute the read access across the 2 disks. And in the other case, it's 
an ssd, so seek time should be 0. 

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


Re: [CentOS] Files being modified in /bin/

2011-09-26 Thread Les Mikesell
On Mon, Sep 26, 2011 at 9:27 AM, Micky L Martin  wrote:
> No Jeremy, reformatting is nonsensical, like doing anything without finding
> cause of the problem is!
> You have to check out prelink if you still don't know about it, it can be
> something amazing or ridiculous.
> In my case, all evidence points to prelink!

rpm -Va should show you all the files that have changed since being
installed (via rpm or yum...).  And it should know about prelink.

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


[CentOS] Hard I/O lockup with EL6

2011-09-26 Thread Benjamin Smith
I'm trying to figure out why 2 machines have a "hard I/O lock" on the HDD when 
running EL6. 

I have 4 identical machines, all were stable with EL5. 2 work great with EL6, 
2 do not. I've checked momtherboard BIOS versions and settings, SAS controller 
BIOS versions and settings, they are the same between the working and non-
working systems. 

When booting a non-working system, it boots straight up to the boot prompt 
(runlevel 3) without issue, and everything works fine. When the machine sits 
idle for a period of time (ranging from 15 minutes or so and up) the HDD 
becomes unreadable/unwritable and the system is useless for any purpose and 
must be hard restarted with a full power cycle - it won't even shut down. 

Since nothing is logged, I've had precious little information to diagnose 
with. After several attempts to find out what's going on, I find the following 
emitted to the screen: 

mpt2sas0: diag reset: FAILED 
mpt2sas0: diag reset: FAILED 
mpt2sas0: diag reset: FAILED 
end_request: I/O error, dev sda, sector 226972349
Buffer I/O error, device sda5, logical block 2719747
sd 0:0:0:0rejecting I/O to offline device 
sd 0:0:0:0rejecting I/O to offline device 
sd 0:0:0:0rejecting I/O to offline device 

This is NOT due to a faulty HDD: I've tried new hard disks, SATA/SAS, I've 
swapped hard disks with an identical working unit and verified that the working 
unit remains working and the failing unit continues to fail. I've reformatted 
and re-installed EL6 numerous times with consistent results. 

Googling this error returned very little useful information: where should I go 
now? Below, please find outputs of dmesg and lspci. I've compared outputs of 
dmesg between working and nonworking systems, the output of anything with 
"mpt" at the beginning is identical except for different IRQ ports. 

Dump of dmesg: 
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.32-71.29.1.el6.x86_64 (mockbu...@c6b5.bsys.dev.centos.org) 
(gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Mon Jun 27 
19:49:27 BST 2011
Command line: ro root=UUID=3653eebb-f6b7-4e90-8365-26f4eccaa960 rd_NO_LUKS 
rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 
KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet acpi=off
KERNEL supported cpus:
  Intel GenuineIntel
  AMD AuthenticAMD
  Centaur CentaurHauls
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009dc00 (usable)
 BIOS-e820: 0009dc00 - 000a (reserved)
 BIOS-e820: 000e - 0010 (reserved)
 BIOS-e820: 0010 - bf7d (usable)
 BIOS-e820: bf7d - bf7e (reserved)
 BIOS-e820: bf7ed000 - c000 (reserved)
 BIOS-e820: e000 - f000 (reserved)
 BIOS-e820: fed2 - fed4 (reserved)
 BIOS-e820: fee0 - fee01000 (reserved)
 BIOS-e820: 0001 - 00044000 (usable)
DMI present.
AMI BIOS detected: BIOS may corrupt low RAM, working around it.
e820 update range:  - 0001 (usable) ==> (reserved)
e820 update range:  - 1000 (usable) ==> (reserved)
e820 remove range: 000a - 0010 (usable)
last_pfn = 0x44 max_arch_pfn = 0x4
MTRR default type: uncachable
MTRR fixed ranges enabled:
  0-9 write-back
  A-B uncachable
  C-C write-protect
  D-D uncachable
  E-E3FFF write-protect
  E4000-E7FFF write-through
  E8000-EBFFF write-protect
  EC000-E write-through
  F-F write-protect
MTRR variable ranges enabled:
  0 base 0 mask C write-back
  1 base 4 mask FC000 write-back
  2 base 0C000 mask FC000 uncachable
  3 disabled
  4 disabled
  5 disabled
  6 disabled
  7 disabled
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
original variable MTRRs
reg 0, base: 0GB, range: 16GB, type WB
reg 1, base: 16GB, range: 1GB, type WB
reg 2, base: 3GB, range: 1GB, type UC
total RAM covered: 16384M
Found optimal setting for mtrr clean up
 gran_size: 64K chunk_size: 64K num_reg: 5  lose cover RAM: 
0G
New variable MTRRs
reg 0, base: 0GB, range: 2GB, type WB
reg 1, base: 2GB, range: 1GB, type WB
reg 2, base: 4GB, range: 4GB, type WB
reg 3, base: 8GB, range: 8GB, type WB
reg 4, base: 16GB, range: 1GB, type WB
e820 update range: c000 - 0001 (usable) ==> (reserved)
last_pfn = 0xbf7d0 max_arch_pfn = 0x4
initial memory mapped : 0 - 2000
init_memory_mapping: -bf7d
 00 - 00bf60 page 2M
 00bf60 - 00bf7d page 4k
kernel direct mapping tables up to bf7d @ 1-15000
init_memory_mapping: 0001-00044000
 01 - 044000 page 2M
kernel direct mapping tables up to 44000 @ 13000-25000
RAMDISK: 37515000 - 37fefb62
No NUMA configuration found
Faking a node

Re: [CentOS] Finding i/o bottleneck

2011-09-26 Thread Les Mikesell
On Mon, Sep 26, 2011 at 2:02 PM, Nicolas Ross
 wrote:
 Not sure what those do, but lsof should show what files are open, and
 'strace -p process_id' would show the system calls issued by a
 process.
>>>
>>> Thanks, that might be usefull. I'ill just have to find a way to strace
>>> multiple process at once and find the usefull info among that load of
>>> data...
>>
>> Note that if what is really happening is that different processes are
>> frequently accessing the same disk in different locations (a fairly
>> likely scenario) the time will be mostly taken by the head seeks in
>> between and may be hard to pin down.
>
> I found the -f option to strace is able to attach to the forked child of a
> parent process, so I will be using that in my debuging in conjunction
> witgh -e to filter out only the calls I want to see...
>
> But indeed, that might be hard to find. In one case, I want to see what
> files are opened / accessed on a gfs2 volume over a fiber channel link to a
> raid-1 array, and the controler is supposed to intelligent enough to
> distribute the read access across the 2 disks. And in the other case, it's
> an ssd, so seek time should be 0.

Not sure how gfs2 deals with client caching, but in other scenarios
it's probably easier to just throw a lot of ram in the system and let
the filesystem cache do its job.  You still have to deal with
applications that need to fsync(), though.

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


Re: [CentOS] Firewalling outbound connections...

2011-09-26 Thread John R Pierce
On 09/26/11 9:15 AM, John Doe wrote:
> Hi,
>
> would anyone know a soft to firewall outbound connections (applications 
> phoning home, etc...).
> It would detect an unknown (to him) app that tries to connect to the outside 
> world and it would popup a allow/deny request...AppArmor might be a bit 
> overkill...
> Anyone have any experience with Systrace, TuxGuardian or Zorp GPL...?

properly configured selinux would prevent any unauthorized applications 
from making network connections, but I dunno anything about popups, my 
linux systems all run headless.





-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

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


Re: [CentOS] Files being modified in /bin/

2011-09-26 Thread m . roth
Jeremy Sanders wrote:
> Micky L Martin wrote:
>
>> No Jeremy, reformatting is nonsensical, like doing anything without
>> finding cause of the problem is!
>> You have to check out prelink if you still don't know about it, it can
>> be something amazing or ridiculous.
>> In my case, all evidence points to prelink!
>
> Think you got the name wrong - I'm Jeremy. You're replying to Mark. I
> agree reformatting is premature.

Oh, I was *not* recommending reformatting; you can install over, without
reformatting, though it always says that it's not recommended.

  mark

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


Re: [CentOS] Hard I/O lockup with EL6

2011-09-26 Thread m . roth
Benjamin Smith wrote:
> I'm trying to figure out why 2 machines have a "hard I/O lock" on the HDD
> when
> running EL6.
>
> I have 4 identical machines, all were stable with EL5. 2 work great with
> EL6, 2 do not. I've checked momtherboard BIOS versions and settings, SAS
> controller BIOS versions and settings, they are the same between the
> working and non-working systems.
>
> When booting a non-working system, it boots straight up to the boot prompt
> (runlevel 3) without issue, and everything works fine. When the machine
> sits idle for a period of time (ranging from 15 minutes or so and up) the
> HDD becomes unreadable/unwritable and the system is useless for any
> purpose and must be hard restarted with a full power cycle - it won't
> even shut down.

Not quite grasping at straws here, but a) have you checked
/var/log/message for memory or drive errors? Maybe memtest86? b) diffed
dmesg between working and dying machines?

One more thing: should we assume you were trying to do things, when they
die, from the console? I ask because I note that you're using the e1000e
driver, which was just the subject of a thread here.

 mark

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


Re: [CentOS] Hard I/O lockup with EL6

2011-09-26 Thread Benjamin Smith
On Monday, September 26, 2011 12:36:19 PM m.r...@5-cent.us wrote:
> a) have you checked
> /var/log/message for memory or drive errors? 

Looked through the logs, there's *nothing* I can find that's out of sorts. When 
the IO problem happens, nothing can be written. 

> Maybe memtest86? 

I replaced all the RAM from working/non-working machines. In several cases 
where replacing RAM resolved the issue,  memtest didn't indicate any problems, 
so I'm not inclined to trust it. 

> b) diffed
> dmesg between working and dying machines?

Other than the IRQ difference noted earlier, visual scan revealed no 
differences 
involving mpt2. 

> 
> One more thing: should we assume you were trying to do things, when they
> die, from the console? I ask because I note that you're using the e1000e
> driver, which was just the subject of a thread here.

I'm familiar with the stale EL6 e1000e driver. I've been using one included by 
yum from elrepo. Manually downloaded RPM so that ethernet works before doing a 
yum -y update. I've been assuming this was unrelated. 

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


Re: [CentOS] Hard I/O lockup with EL6

2011-09-26 Thread Brian McKerr
Have you checked the cables you are using ?


On Tue, Sep 27, 2011 at 6:09 AM, Benjamin Smith wrote:

> On Monday, September 26, 2011 12:36:19 PM m.r...@5-cent.us wrote:
> > a) have you checked
> > /var/log/message for memory or drive errors?
>
> Looked through the logs, there's *nothing* I can find that's out of sorts.
> When
> the IO problem happens, nothing can be written.
>
> > Maybe memtest86?
>
> I replaced all the RAM from working/non-working machines. In several cases
> where replacing RAM resolved the issue,  memtest didn't indicate any
> problems,
> so I'm not inclined to trust it.
>
> > b) diffed
> > dmesg between working and dying machines?
>
> Other than the IRQ difference noted earlier, visual scan revealed no
> differences
> involving mpt2.
>
> >
> > One more thing: should we assume you were trying to do things, when they
> > die, from the console? I ask because I note that you're using the e1000e
> > driver, which was just the subject of a thread here.
>
> I'm familiar with the stale EL6 e1000e driver. I've been using one included
> by
> yum from elrepo. Manually downloaded RPM so that ethernet works before
> doing a
> yum -y update. I've been assuming this was unrelated.
>
> --
> 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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Finding i/o bottleneck

2011-09-26 Thread Dennis Jacobfeuerborn
On 09/26/2011 09:02 PM, Nicolas Ross wrote:
 Not sure what those do, but lsof should show what files are open, and
 'strace -p process_id' would show the system calls issued by a
 process.
>>>
>>> Thanks, that might be usefull. I'ill just have to find a way to strace
>>> multiple process at once and find the usefull info among that load of
>>> data...
>>
>> Note that if what is really happening is that different processes are
>> frequently accessing the same disk in different locations (a fairly
>> likely scenario) the time will be mostly taken by the head seeks in
>> between and may be hard to pin down.
>
> I found the -f option to strace is able to attach to the forked child of a
> parent process, so I will be using that in my debuging in conjunction
> witgh -e to filter out only the calls I want to see...
>
> But indeed, that might be hard to find. In one case, I want to see what
> files are opened / accessed on a gfs2 volume over a fiber channel link to a
> raid-1 array, and the controler is supposed to intelligent enough to
> distribute the read access across the 2 disks. And in the other case, it's
> an ssd, so seek time should be 0.

You could try systemtap:
http://sourceware.org/systemtap/examples/

In your case this script could be useful:
http://sourceware.org/systemtap/examples/io/iotime.stp

"The script watches each open, close, read, and write syscalls on the 
system. For each file the scripts observes opened it accumulates the amount 
of wall clock time spent in read and write operations and the number of 
bytes read and written. When a file is closed the script prints out a pair 
of lines for the file. Both lines begin with a timestamp in microseconds, 
the PID number, and the executable name in parentheses. The first line with 
the "access" keyword lists the file name, the attempted number of bytes for 
the read and write operations. The second line with the "iotime" keyword 
list the file name and the number of microseconds accumulated in the read 
and write syscalls."

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


Re: [CentOS] Hard I/O lockup with EL6

2011-09-26 Thread Benjamin Smith
On Monday, September 26, 2011 02:00:52 PM Brian McKerr wrote:
> Have you checked the cables you are using ?

There are none - it's a front-loaded hot-swap rackmount. The systems are 
stable under EL5. 

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


Re: [CentOS] Hard I/O lockup with EL6

2011-09-26 Thread Devin Reade
--On Monday, September 26, 2011 12:11:47 PM -0700 Benjamin Smith
 wrote:

> I'm trying to figure out why 2 machines have a "hard I/O lock" on the HDD
> when  running EL6. 

I _won't_ chime in with a "check your ".  Instead here's a
potentially useless datapoint:

I have an older but still usuable 32 bit 686 class machine that was formerly
a production machine running Fedora Core 6.  Its services were migrated
off a while back and I decided I'd use it as a test of CentOS 6. For
this test I needed a few disks in RAID6 and the motherboard only had
two SATA ports so I added a multiport PCI SATA card (a model that 
has served me well in the past).

Short version:  Although the install went fine, trying to run CentOS 6
on this with a four disk RAID6 (with the first 200MB of each disk in 
RAID1 for /boot, the remainder as RAID6 with LVM on top) resulted in 
an unstable system.  After some unpredictable amount of time (anywhere
from 15 minutes to days) the system would lock up hard.  Unfortunately 
I don't recall if the error messages were identical to yours, but it
seems eerily familiar.

I did the usual tricks about swapping out drive controllers, disks, 
using different combinations of onboard vs addon SATA, memtest86,
increased power supply capacity, etc.  No dice.

I eventually ended up getting new hardware for the task (an HP
MicroServer) and so far the new machine seems to be stable enough
running CentOS 6 in the RAID1 /boot + RAID6 LVM configuration.  I've
not had the chance yet to go back and experiment with the old 
machine under C6.

Unfortunately in trying to use C6 on the old machine I wound up with
far too many changed variables to figure out where the problem was.
Despite that, my gut tells me that it's not a hardware problem.

Devin

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


Re: [CentOS] Hard I/O lockup with EL6

2011-09-26 Thread Benjamin Smith
On Monday, September 26, 2011 02:42:18 PM Devin Reade wrote:
> --On Monday, September 26, 2011 12:11:47 PM -0700 Benjamin Smith
> Unfortunately in trying to use C6 on the old machine I wound up with
> far too many changed variables to figure out where the problem was.
> Despite that, my gut tells me that it's not a hardware problem.

Thanks for the feedback. Unfortunately, these aren't ancient 686 systems, they 
are 1-ish year old 8-core Intel Xeons with 32 GB of ECC RAM apiece. I can't 
justify replacing them, especially since two of the four are happily 
deliverying gorgeous performance! 


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


Re: [CentOS] Hard I/O lockup with EL6

2011-09-26 Thread Scott Silva
on 9/26/2011 3:13 PM Benjamin Smith spake the following:
> On Monday, September 26, 2011 02:42:18 PM Devin Reade wrote:
>> --On Monday, September 26, 2011 12:11:47 PM -0700 Benjamin Smith
>> Unfortunately in trying to use C6 on the old machine I wound up with
>> far too many changed variables to figure out where the problem was.
>> Despite that, my gut tells me that it's not a hardware problem.
>
> Thanks for the feedback. Unfortunately, these aren't ancient 686 systems, they
> are 1-ish year old 8-core Intel Xeons with 32 GB of ECC RAM apiece. I can't
> justify replacing them, especially since two of the four are happily
> deliverying gorgeous performance!
>
>
Cane in late, but I suppose you tried the standards like re-seating anything 
that is removable? Cards, memory, etc...


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


Re: [CentOS] Hard I/O lockup with EL6

2011-09-26 Thread Devin Reade
--On Monday, September 26, 2011 03:13:09 PM -0700 Benjamin Smith
 wrote:

> Thanks for the feedback. Unfortunately, these aren't ancient 686 systems,
> they  are 1-ish year old 8-core Intel Xeons with 32 GB of ECC RAM apiece.
> I can't  justify replacing them, especially since two of the four are
> happily  deliverying gorgeous performance! 

No doubt.  

My comment about replacing it was just a statement about what happened
in my case (since fighting with old hardware is not exactly a valuable use
of my time).  It wasn't a suggestion.

The post itself was not much more than "you're not the only person
seeing something wonky".  Mine is unfortunately lacking in hard data.

Devin

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


Re: [CentOS] data recovery

2011-09-26 Thread Ross Walker
On Sep 26, 2011, at 11:18 AM, Paras pradhan  wrote:

> Hi Lamar,
> 
> On Mon, Sep 26, 2011 at 5:53 AM, Lamar Owen  wrote:
>> On Friday, September 23, 2011 04:29:39 PM Paras pradhan wrote:
>>> This is a SAN drive mounted. I have checked with my storage
>>> administrator if this has been re mapped or any similar events and he
>>> verified that nothing has happened...(I trust him)
>> 
>> May I ask what sort of SAN?  Fibre Channel or iSCSI?  Are there any access 
>> controls (such as EMC's Access Logix or zoning in the switch) in place to 
>> prevent multiple initiators connecting to a particular LUN?
> 
> Its a Hitachi OpenV fibre channel SAN (4Gbps HBA). My storage admin
> checked if this LUN can be accessible by others and he found no other
> hosts have access to it.
> 
>> 
>> SAN attachment mildly complicates things; I've seen some odd LUN reshuffling 
>> before, but it was an older FLARE than what I'm currently running on our 
>> Clariions and it was something that was a corner case but was fixed in a 
>> later NDU, and it had to do with Access Logix (I don't remember the Primus 
>> number right off, as it has been several years now).
> 
> reshuffling here means automatically changing disk's geometry as I am
> having an issue? It would be interesting to know if this can happen.
> 
>> 
>> If the SAN OS keeps event logs you could try to correlate with the event; 
>> beyond that you may just have to do some testing.
>> 
>> As you say, someone somewhere had to do a repartition; the hard part is 
>> determining where the error is.  Good luck.
> 
> 
> Here are some new additional info :
> 
> My colleague mounted this LUN to a different host and we found the
> same partitions over there too which is normal.
> 
> I dd a 1st device to a file and opened the image file with bvi and
> found some hosts name, VG name etc etc. in there. Then he ran a
> recovery tool (R studio) in all three devices and was able to recover
> most of this data.
> So my question is: if the LUN has been re partitioned for ex: say to
> install windows , why am i seeing our data in these newly created
> partitions? Is it possible to see data in a reapportioned drive?

Might it be possible you ran KVM on the host and accidentally set the guest 
disk to /dev/sda?

-Ross

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


Re: [CentOS] Hard I/O lockup with EL6

2011-09-26 Thread Ross Walker
On Sep 26, 2011, at 3:11 PM, Benjamin Smith  wrote:

> I'm trying to figure out why 2 machines have a "hard I/O lock" on the HDD 
> when 
> running EL6. 
> 
> I have 4 identical machines, all were stable with EL5. 2 work great with EL6, 
> 2 do not. I've checked momtherboard BIOS versions and settings, SAS 
> controller 
> BIOS versions and settings, they are the same between the working and non-
> working systems. 
> 
> When booting a non-working system, it boots straight up to the boot prompt 
> (runlevel 3) without issue, and everything works fine. When the machine sits 
> idle for a period of time (ranging from 15 minutes or so and up) the HDD 
> becomes unreadable/unwritable and the system is useless for any purpose and 
> must be hard restarted with a full power cycle - it won't even shut down. 
> 
> Since nothing is logged, I've had precious little information to diagnose 
> with. After several attempts to find out what's going on, I find the 
> following 
> emitted to the screen: 
> 
> mpt2sas0: diag reset: FAILED 
> mpt2sas0: diag reset: FAILED 
> mpt2sas0: diag reset: FAILED 
> end_request: I/O error, dev sda, sector 226972349
> Buffer I/O error, device sda5, logical block 2719747
> sd 0:0:0:0rejecting I/O to offline device 
> sd 0:0:0:0rejecting I/O to offline device 
> sd 0:0:0:0rejecting I/O to offline device 
> 
> This is NOT due to a faulty HDD: I've tried new hard disks, SATA/SAS, I've 
> swapped hard disks with an identical working unit and verified that the 
> working 
> unit remains working and the failing unit continues to fail. I've reformatted 
> and re-installed EL6 numerous times with consistent results. 
> 
> Googling this error returned very little useful information: where should I 
> go 
> now? Below, please find outputs of dmesg and lspci. I've compared outputs of 
> dmesg between working and nonworking systems, the output of anything with 
> "mpt" at the beginning is identical except for different IRQ ports. 

Tried upgrading BIOS?

Errors during idle periods might point to C-State or P-State compatibility 
issues.

You could try disabling the power management (Speedstep) in the BIOS and see if 
that makes a difference.

-Ross

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


Re: [CentOS] Sort logfiles on common lines?

2011-09-26 Thread Dotan Cohen
On Sun, Sep 25, 2011 at 22:43, John R Pierce  wrote:
> uniq can count occurances.  will require two sorts.  one to get all
> similar errors adjacent, the other to sort by count order.   instead of
> using field selects, lets just clip the timestamps off up front...
>
>   cut -c 17- | sort | uniq -c | sort -rn
>
> (17- means from char 17 on... I may have miscounted)
>

Thank you John! That is perfect! I'm going through the uniq manpage
now. Have a great night!

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Perl module installed via CPAN but its is not found

2011-09-26 Thread TE Dukes
Hello,

I am trying to rebuild a zoneminder rpm. It calls for the module
perl(Sys::Mmap). I installed via CPAN but when I run rpmbuild --rebuild
zoneminder-xx, it tells me the above module is needed.

Seems I ran into this once before and fixed it, but I can't remember what I
did. I have searched for two days now and can't find anything of help.

TIA

Eddie

PS If I can get this zoneminder rpm to rebuild, I will post the location for
d/l. It is zoneminder 1.24.4

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


[CentOS] x86_64.rpm v. i686.rpm

2011-09-26 Thread TE Dukes
Just curious why there are two types of rpms for some packages. Just got my
first 64 bit machine. Which should I be installing? Both?

TIA

Eddie

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


Re: [CentOS] Sort logfiles on common lines?

2011-09-26 Thread Dotan Cohen
On Sun, Sep 25, 2011 at 23:34, John R. Dennison  wrote:
> Actually you are 2 full point releases behind; current is 5.7.  I would
> strongly suggest you update.
>

Thanks. I will mention that to the sysadmin.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Perl module installed via CPAN but its is not found

2011-09-26 Thread Scott Silva
on 9/26/2011 4:32 PM TE Dukes spake the following:
> Hello,
>
> I am trying to rebuild a zoneminder rpm. It calls for the module
> perl(Sys::Mmap). I installed via CPAN but when I run rpmbuild --rebuild
> zoneminder-xx, it tells me the above module is needed.
>
> Seems I ran into this once before and fixed it, but I can't remember what I
> did. I have searched for two days now and can't find anything of help.
>
> TIA
>
> Eddie
>
> PS If I can get this zoneminder rpm to rebuild, I will post the location for
> d/l. It is zoneminder 1.24.4
Remember... When building RPM's, the dependencies ALSO need to come by rpm, 
not CPAN.


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


Re: [CentOS] x86_64.rpm v. i686.rpm

2011-09-26 Thread Scott Silva
on 9/26/2011 4:36 PM TE Dukes spake the following:
> Just curious why there are two types of rpms for some packages. Just got my
> first 64 bit machine. Which should I be installing? Both?
>
> TIA
>
> Eddie
Because a 64 bit machine can also run 32 bit programs. So the default seems to 
pull in several 32 bit rpms also... It doesn't really hurt to let both 
install, it just takes space.


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


Re: [CentOS] Perl module installed via CPAN but its is not found

2011-09-26 Thread TE Dukes
 

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of Scott Silva
> Sent: Monday, September 26, 2011 7:50 PM
> To: centos@centos.org
> Subject: Re: [CentOS] Perl module installed via CPAN but its 
> is not found
> 
> on 9/26/2011 4:32 PM TE Dukes spake the following:
> > Hello,
> >
> > I am trying to rebuild a zoneminder rpm. It calls for the module 
> > perl(Sys::Mmap). I installed via CPAN but when I run rpmbuild 
> > --rebuild zoneminder-xx, it tells me the above module is needed.
> >
> > Seems I ran into this once before and fixed it, but I can't 
> remember 
> > what I did. I have searched for two days now and can't find 
> anything of help.
> >
> > TIA
> >
> > Eddie
> >
> > PS If I can get this zoneminder rpm to rebuild, I will post the 
> > location for d/l. It is zoneminder 1.24.4
> Remember... When building RPM's, the dependencies ALSO need 
> to come by rpm, not CPAN.

That makes sense. Never thought about that. I wasn't able to find an rpm but
did find the .spec file. Think Dag Wieers had it but I don't know how to
make an rpm from it.

Thanks!

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


Re: [CentOS] Perl module installed via CPAN but its is not found

2011-09-26 Thread TE Dukes
 

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of TE Dukes
> Sent: Monday, September 26, 2011 8:06 PM
> To: 'CentOS mailing list'
> Subject: Re: [CentOS] Perl module installed via CPAN but its 
> is not found
> 
>  
> 
> > -Original Message-
> > From: centos-boun...@centos.org
> > [mailto:centos-boun...@centos.org] On Behalf Of Scott Silva
> > Sent: Monday, September 26, 2011 7:50 PM
> > To: centos@centos.org
> > Subject: Re: [CentOS] Perl module installed via CPAN but its is not 
> > found
> > 
> > on 9/26/2011 4:32 PM TE Dukes spake the following:
> > > Hello,
> > >
> > > I am trying to rebuild a zoneminder rpm. It calls for the module 
> > > perl(Sys::Mmap). I installed via CPAN but when I run rpmbuild 
> > > --rebuild zoneminder-xx, it tells me the above module 
> is needed.
> > >
> > > Seems I ran into this once before and fixed it, but I can't
> > remember
> > > what I did. I have searched for two days now and can't find
> > anything of help.
> > >
> > > TIA
> > >
> > > Eddie
> > >
> > > PS If I can get this zoneminder rpm to rebuild, I will post the 
> > > location for d/l. It is zoneminder 1.24.4
> > Remember... When building RPM's, the dependencies ALSO need 
> to come by 
> > rpm, not CPAN.
> 
> That makes sense. Never thought about that. I wasn't able to 
> find an rpm but did find the .spec file. Think Dag Wieers had 
> it but I don't know how to make an rpm from it.
> 
> Thanks!

Good grief, I found the rpm!! Guess my filter on rpm.pbone got me.

Have rebuilt the src.rpm now lets see if it installs and works!!

Thanks!!

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


[CentOS] zoneminder-1.24.4-3.el6.x86_64.rpm

2011-09-26 Thread Thomas Dukes
For all interested, I have rebuilt the src rpm for zoneminder-1.24.4, fedora
15.

Its up and running on CentOS 6.0. Gonna have to d/l some files. Most of mine
came from rpm.pbone.net

The link is:
http://palmettoshopper.com/zoneminder/zonminder-1.24-3.el6.x86_64.rpm

Eddie

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


Re: [CentOS] zoneminder-1.24.4-3.el6.x86_64.rpm

2011-09-26 Thread TE Dukes
 

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of Thomas Dukes
> Sent: Monday, September 26, 2011 9:40 PM
> To: 'CentOS mailing list'
> Subject: [CentOS] zoneminder-1.24.4-3.el6.x86_64.rpm
> 
> For all interested, I have rebuilt the src rpm for 
> zoneminder-1.24.4, fedora 15.
> 
> Its up and running on CentOS 6.0. Gonna have to d/l some 
> files. Most of mine came from rpm.pbone.net
> 
> The link is:

http://palmettoshopper.com/zoneminder/zoneminder-1.24.4-3.el6.x86_64.rpm

Ooops, link corrected. Sorry!

> 
> Eddie

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


Re: [CentOS] zoneminder-1.24.4-3.el6.x86_64.rpm

2011-09-26 Thread Joseph L. Casale
>http://palmettoshopper.com/zoneminder/zoneminder-1.24.4-3.el6.x86_64.rpm
>
>Ooops, link corrected. Sorry!

That's on the end of one my last todo lists for a company I work for. I gave it 
a go a couple times
but had hardware issues with the card I was using in CentOS 5. Care to post the 
srpm?

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


Re: [CentOS] zoneminder-1.24.4-3.el6.x86_64.rpm

2011-09-26 Thread TE Dukes
 

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of Joseph L. Casale
> Sent: Monday, September 26, 2011 9:51 PM
> To: 'CentOS mailing list'
> Subject: Re: [CentOS] zoneminder-1.24.4-3.el6.x86_64.rpm
> 
> >http://palmettoshopper.com/zoneminder/zoneminder-1.24.4-3.el6
> .x86_64.rp
> >m
> >
> >Ooops, link corrected. Sorry!
> 
> That's on the end of one my last todo lists for a company I 
> work for. I gave it a go a couple times but had hardware 
> issues with the card I was using in CentOS 5. Care to post the srpm?
> 
> Thanks!
> jlc

Here ya go:
ftp://ftp.muug.mb.ca/mirror/fedora/linux/updates/testing/15/SRPMS/zoneminder
-1.24.4-3.fc15.src.rpm

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


[CentOS] RTL8111/8168B always 100mbps

2011-09-26 Thread Muhammad Panji
Dear All,
I have an onboard Realtek RTL8111/8168B NIC. from lspci -vv :

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)

It is detected, but why the speed is always 100Mbps, already change
cable but still no luck. I use ethtool and from the output it seems
that system know that this NIC support gigabit speed :


    Supported link modes:   10baseT/Half 10baseT/Full
    100baseT/Half 100baseT/Full
    1000baseT/Full
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full
    100baseT/Half 100baseT/Full
    1000baseT/Full

have change the driver r8169 with r8168 and follow the guide on CentOS
wiki http://wiki.centos.org/AdditionalResources/HardwareList/RealTekRTL8111b
but still it only get 100Mbps speed.

I user kernel 2.6.18-274.3.1.el5 and 2.6.18-274.3.1.el5-PAE. on
another machine with the same specs I use kernel  2.6.18-238.9.1.el5
and the gigabit speed works.

Any idea why this happened and how to solve it? Thank you.
Regards,





--
-
Muhammad Panji
http://www.panji.web.id                         http://www.kurungsiku.com
http://sumodirjo.wordpress.com          http://www.kurungsiku.web.id

http://www.linuxbox.web.id
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] zoneminder-1.24.4-3.el6.x86_64.rpm

2011-09-26 Thread Joseph L. Casale
>ftp://ftp.muug.mb.ca/mirror/fedora/linux/updates/testing/15/SRPMS/zoneminder
>-1.24.4-3.fc15.src.rpm

My bad, thought you had to modify the spec...
There were some recent changes to a bz I was following that got resolved which
got me thinking now that CentOS 6 is out I should get this done.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Hard I/O lockup with EL6

2011-09-26 Thread Emmanuel Noobadmin
On 9/27/11, Benjamin Smith  wrote:
> When booting a non-working system, it boots straight up to the boot prompt
> (runlevel 3) without issue, and everything works fine. When the machine sits
> idle for a period of time (ranging from 15 minutes or so and up) the HDD
> becomes unreadable/unwritable and the system is useless for any purpose and
> must be hard restarted with a full power cycle - it won't even shut down.

I'm thinking I might have a similar problem with my test install of
EL6. Initially I had dismissed it as a one-off but it has apparently
locked up again. I'll be visiting it physically later and maybe have
more information to share. However, it is also a 3400-series Xeon, the
rest of the hardware are all cheaper hardware.

What drives are you using in these servers?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RTL8111/8168B always 100mbps

2011-09-26 Thread Emmanuel Noobadmin
On 9/27/11, Muhammad Panji  wrote:
> Dear All,
> I have an onboard Realtek RTL8111/8168B NIC. from lspci -vv :
>
> 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
>
> It is detected, but why the speed is always 100Mbps, already change
> cable but still no luck. I use ethtool and from the output it seems
> that system know that this NIC support gigabit speed :

What network switch is this connected to? Does it work if you disable
auto-negotiation and force the link speed to 1Gbps?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] openvpn + bridge utils in CentOS 6

2011-09-26 Thread 唐建伟
Hi all,

I just intalled openvpn + bridge in CentOS 6, but i get strange problems:

the remote PCs cannot get the local PCs'  MACs and also, the local PCs
cannot get the remote PCs' MACs

but when i run "brctl showmacs br0"  it will list all the MACs and also "
brctl show" will show that all the correct adapters are in br0

SELinux disabled

any ideas?


-- 
Tang Jianwei
System Administrator
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Hard I/O lockup with EL6

2011-09-26 Thread Benjamin Smith


On Monday, September 26, 2011 10:16:14 PM Emmanuel Noobadmin wrote:
> On 9/27/11, Benjamin Smith  wrote:
> > When booting a non-working system, it boots straight up to the boot
> > prompt (runlevel 3) without issue, and everything works fine. When the
> > machine sits idle for a period of time (ranging from 15 minutes or so
> > and up) the HDD becomes unreadable/unwritable and the system is useless
> > for any purpose and must be hard restarted with a full power cycle - it
> > won't even shut down.
> 
> I'm thinking I might have a similar problem with my test install of
> EL6. Initially I had dismissed it as a one-off but it has apparently
> locked up again. I'll be visiting it physically later and maybe have
> more information to share. However, it is also a 3400-series Xeon, the
> rest of the hardware are all cheaper hardware.
> 
> What drives are you using in these servers?

The drives are confirmed irrelevant. SATA/SAS with different manufacturers make 
no differents; it's not a factor. 

However, I did eventually find update instructions for how to update x8si6f 
motherboard (having the SAS 2008 chipset) chipset that matches the board I 
have. I've (roughly) followed the instructions and have achieved a full 8 
hours of uptime - already well ahead of expectations. If it lasts 48 hours, 
I'll consider it a success, and will post details here so that other techies 
can find it. 

http://www.servethehome.com/howto-flash-supermicro-x8si6f-lsi-sas-2008-
controller-lsi-firmware/

I wish you the best of luck! 

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


Re: [CentOS] Video capture on CentOS (6)

2011-09-26 Thread Mathieu Baudier
> Could anybody recommend a not-too-expensive video capture cards (PCI,
> USB, fireWire, ...) which would be well supported (drivers easily
> available in base, ElRepo, or not too complicated to build).

Answering my own question for future reference: the GRABBY video
capture card by TERRATEC worked out of the box on CentOS 6.

It is very small, connects via USB and offers S-Video input + standard
audio R/L and video input.
It cost around 40 EUR in a consumer shop (Saturn) in the "digitalize
your old VHS video etc." section.

lsusb output:
Bus 001 Device 005: ID 0ccd:0096 TerraTec Electronic GmbH

Input can be visualized using VLC (from RPMForge) and Video4Linux 2
capture device.

Cheers,

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


[CentOS] Rsync CR repo for CentOS 6? was [CentOS-announce] CentOS-6.0 Continuous Release i386 and x86_64

2011-09-26 Thread Mathieu Baudier
> - Baseurl for the CR repo is set to only use centos.org internal
>  machines, this is to reduce the amount of time we need to spend in
>  seeding and then managing external mirrors.

Is it possible to synchronize locally the CR repo?

We usually synchronize all repositories in our internal network via
the third-party mirrors, but since the CR repo won't be available
there, it would be nice to be able to rsync directly from centos.org
(and it would remove some load on it)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] openvpn + bridge utils in CentOS 6

2011-09-26 Thread Минтаиров Михаил


27.09.2011, 09:52, "唐建伟" :
> Hi all,
>
> I just intalled openvpn + bridge in CentOS 6, but i get strange problems:
>
> the remote PCs cannot get the local PCs'  MACs and also, the local PCs
> cannot get the remote PCs' MACs
>
> but when i run "brctl showmacs br0"  it will list all the MACs and also "
> brctl show" will show that all the correct adapters are in br0
>
> SELinux disabled
>
> any ideas?
>

First of all you should check routing table of remote hosts. If  everything is 
correct, try to monitor br0, and other devises(ethX) by "tcpdump -n -i [device 
name]". 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Video capture on CentOS (6)

2011-09-26 Thread hadi motamedi
On 9/27/11, Mathieu Baudier  wrote:
>> Could anybody recommend a not-too-expensive video capture cards (PCI,
>> USB, fireWire, ...) which would be well supported (drivers easily
>> available in base, ElRepo, or not too complicated to build).
>
> Answering my own question for future reference: the GRABBY video
> capture card by TERRATEC worked out of the box on CentOS 6.
>
> It is very small, connects via USB and offers S-Video input + standard
> audio R/L and video input.
> It cost around 40 EUR in a consumer shop (Saturn) in the "digitalize
> your old VHS video etc." section.
>
> lsusb output:
> Bus 001 Device 005: ID 0ccd:0096 TerraTec Electronic GmbH
>
> Input can be visualized using VLC (from RPMForge) and Video4Linux 2
> capture device.
>
> Cheers,
>
> Mathieu
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
Do you want something like MATLAB Simulink video and image acquisition toolbox?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh reverse DNS failure

2011-09-26 Thread Rudi Ahlers
On Sun, Sep 25, 2011 at 2:13 PM, Timothy Murphy  wrote:
> I use dyndns's (free) service to access a remote machine
> with a dynamic IP address.
> The machine is running under CentOS-6.0.
>
> I can ssh into the address given me by dyndns (*.homelinux.com),
> but when I do this I get the warning
> "reverse mapping checking getaddrinfo for" *
>  "failed - POSSIBLE BREAK-IN ATTEMPT!"
>
> This doesn't really matter,
> as I normally use OpenVPN for accessing this site -
> the dyndns method is a safety precaution in case openvpn doesn't work.
>
> But I'm wondering if it is possible to stop the warning?
> I've tried various recipes google gave me,
> eg adding "UseDNS no" to /etc/ssh/sshd_config on the remote machine
> (and re-starting sshd),
> but none of them has worked,
>
>
> --

Add the DynDNS hostnane to the localmachine, i.e:


192.168.0.10 mybox.homelinux.net


and see if that helps?



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Hello from RAQport Please remove this post

2011-09-26 Thread Alex Bajan
Dear Centos, 

We did never receive the Server back from Australia

And this forum is not to post incorrect disputes information from the users
regarding some other companies.

Link below

http://lists.centos.org/pipermail/centos/2007-September/043643.html

 Sincerely 



Alex Lech Bajan
Principal
RAQport Inc.
2004 North Monroe Street
Arlington Virginia 22207
703-528-0114 voice
703-652-0993 voice 2
800-695-6200 toll free
sa...@raqport.com  
http://raqport.com


Providing solutions with Centos, Proxmox, OpenVZ, BlueQuartz, and BlueOnyx.
We ship worldwide, or can provide colocation in our Arlington VA Datacenter
We can migrate your old worn out Cobalt RaQ 3/4/550/Qube systems to
BlueQuartz 
or BlueOnyx running on Proxmox VE or OpenVZ.

Please let us know if you have any questions?
 

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


Re: [CentOS] Hello from RAQport Please remove this post

2011-09-26 Thread John Hodrien
On Mon, 26 Sep 2011, Alex Bajan  wrote:

> Dear Centos,
>
> We did never receive the Server back from Australia
>
> And this forum is not to post incorrect disputes information from the users
> regarding some other companies.
>
> Link below
>
> http://lists.centos.org/pipermail/centos/2007-September/043643.html

I highly recommend raking up four year old poor feedback on your business,
it's a surefire way to get ahead of your competition.

Now sssh.

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


Re: [CentOS] Hello from RAQport Please remove this post

2011-09-26 Thread Hakan Koseoglu
On 26 September 2011 11:02, John Hodrien  wrote:
> I highly recommend raking up four year old poor feedback on your business,
> it's a surefire way to get ahead of your competition.
Considering that they only managed to complain about this after four
years shows an interesting take on speedy response to customers I
wonder Maybe they really misunderstood Streisand effect? :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SSH in and my terminal keystrokes are weird.......

2011-09-26 Thread Craig White
On Sun, 2011-09-25 at 22:58 -0500, Les Mikesell wrote:
> On Sun, Sep 25, 2011 at 10:20 PM, Todd  wrote:
> > Craig,
> >>
> >> iTerm2 is a better solution (not perfect... just much better than
> >> Terminal.app and fewer time spent in the penalty box for using Mac OS X.
> >
> > Thanks, this actually solved everything. All the terminal issues I was
> > having.
> 
> Depending on what you are doing, you might also like running freenx on
> the server and using the NX client from www.nomachine.com to have a
> full linux GUI desktop on the Mac - which works pretty well even if
> you just open terminal windows in it.

and I do that too but still Macintosh key bindings get in the way and
I've had to go with a modified ~/.Xmodmap to approach my expectations.

Also the screen dimensioning of the No Machine Macintosh client just
seems not to work at all and I end up with a full screen connection
despite any attempts at configuration which then requires an arbitrary
resizing.

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


Re: [CentOS] This doesn't make sense

2011-09-26 Thread Lamar Owen
On Saturday, September 24, 2011 06:34:15 AM Christopher Chan wrote:
> Ah...you're supposed to use do-release-upgrade and not 'apt dist-upgrade'

If that is what is called by the gui distribution upgrade button, it has done 
similar things to a few installs I have had to repair.

> Ubuntu ain't Debian. It's something worse and requires uber hacks to get 
> around crap. Them uber hacks are loaded in do-release-upgrade.

Been there, broke that.

> Pound Ubuntu properly pal. Giving examples of unsupported processes 
> ain't pounding it properly.

TMTOWTDI.

If it's not supported it shouldn't be enabled and easily (ab)used.  This is 
part of the reason you have to add a boot argument to get CentOS to do a 
version upgrade; it's known to not work properly, and thus is semi-hidden.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Hello from RAQport Please remove this post

2011-09-26 Thread Christopher Hawker
What a way to find problems... I would suggest submitting a bug report
but seeing as how delayed you might me Alex with replying to a post
made over 4 years, it would be a waste of time, because the bug is
within your abilities to provide a response in a timely manner. I do
not believe that even the very best CentOS coders and engineers are
able to code and apply a patch to that type of bug.

Regards,
Christopher Hawker
IT Operations Manager
Stevens Security Group Pty Ltd

4 Currong Street
South Wentworthville
NSW 2145
Australia

Phone: +61 478 241 896

On 9/26/11, Alex Bajan  wrote:
> Dear Centos,
>
> We did never receive the Server back from Australia
>
> And this forum is not to post incorrect disputes information from the users
> regarding some other companies.
>
> Link below
>
> http://lists.centos.org/pipermail/centos/2007-September/043643.html
>
>  Sincerely
>
>
>
> Alex Lech Bajan
> Principal
> RAQport Inc.
> 2004 North Monroe Street
> Arlington Virginia 22207
> 703-528-0114 voice
> 703-652-0993 voice 2
> 800-695-6200 toll free
> sa...@raqport.com
> http://raqport.com
>
>
> Providing solutions with Centos, Proxmox, OpenVZ, BlueQuartz, and BlueOnyx.
> We ship worldwide, or can provide colocation in our Arlington VA Datacenter
> We can migrate your old worn out Cobalt RaQ 3/4/550/Qube systems to
> BlueQuartz
> or BlueOnyx running on Proxmox VE or OpenVZ.
>
> Please let us know if you have any questions?
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
 If you have any questions, please do not hesitate to call me on +61 478 241
896.

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


Re: [CentOS] data recovery

2011-09-26 Thread Lamar Owen
On Friday, September 23, 2011 04:29:39 PM Paras pradhan wrote:
> This is a SAN drive mounted. I have checked with my storage
> administrator if this has been re mapped or any similar events and he
> verified that nothing has happened...(I trust him)

May I ask what sort of SAN?  Fibre Channel or iSCSI?  Are there any access 
controls (such as EMC's Access Logix or zoning in the switch) in place to 
prevent multiple initiators connecting to a particular LUN?

SAN attachment mildly complicates things; I've seen some odd LUN reshuffling 
before, but it was an older FLARE than what I'm currently running on our 
Clariions and it was something that was a corner case but was fixed in a later 
NDU, and it had to do with Access Logix (I don't remember the Primus number 
right off, as it has been several years now).  

If the SAN OS keeps event logs you could try to correlate with the event; 
beyond that you may just have to do some testing.

As you say, someone somewhere had to do a repartition; the hard part is 
determining where the error is.  Good luck.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Hacking Issue

2011-09-26 Thread Jennifer Botten
Hi,

 

I am having an issue with someone accessing our server via a SIP/VOIP
connection. I have changed my iptables rules to drop all UDP traffic from
and too this IP address, but this traffic seems to still run through my
server. These are the iptables rules that I current have on the server.

-A INPUT -i eth0 -s 209.61.231.42 -p udp -j DROP

-A INPUT -i eth0 -d 209.61.231.42 -p udp -j DROP

 

Regards

 

 

Jennifer Botten

ETECH

 

 

 

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


Re: [CentOS] Hacking Issue

2011-09-26 Thread Jorge Fábregas
On 09/26/2011 07:02 AM, Jennifer Botten wrote:
> -A INPUT -i eth0 -d 209.61.231.42 -p udp -j DROP

This needs to be:

-A OUTPUT -i eth0 -d 209.61.231.42 -p udp -j DROP

...if you want to drop packets initiated from your system to that
ip...which doesn't make any sense if you're dropping all the incoming
connection from that ip.

 On why are you still getting packets from that ip... perhaps there's
also TCP traffic?  If you want to completely drop packets from that ip
simply remove the protocol argument like this:

-A INPUT -i eth0 -s 209.61.231.42 -j DROP

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


Re: [CentOS] Hacking Issue

2011-09-26 Thread Jennifer Botten
-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of Jorge Fábregas
Sent: 26 September 2011 01:09 PM
To: centos@centos.org
Subject: Re: [CentOS] Hacking Issue

On 09/26/2011 07:02 AM, Jennifer Botten wrote:
> -A INPUT -i eth0 -d 209.61.231.42 -p udp -j DROP

This needs to be:

-A OUTPUT -i eth0 -d 209.61.231.42 -p udp -j DROP

...if you want to drop packets initiated from your system to that
ip...which doesn't make any sense if you're dropping all the incoming
connection from that ip.

 On why are you still getting packets from that ip... perhaps there's
also TCP traffic?  If you want to completely drop packets from that ip
simply remove the protocol argument like this:

-A INPUT -i eth0 -s 209.61.231.42 -j DROP

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

Hi Jorge,

I am blocking UDP and TCP from that IP. I also have an OUTPUT rule however
mine has the -o eth0 as the -i eth0 does not work.

Regards
Jennifer

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


Re: [CentOS] Hacking Issue

2011-09-26 Thread Jorge Fábregas
On 09/26/2011 07:45 AM, Jennifer Botten wrote:
> I am blocking UDP and TCP from that IP. I also have an OUTPUT rule however
> mine has the -o eth0 as the -i eth0 does not work.

Yes, I had it wrong.  For the OUTPUT chain you use the -o ethX. Perhaps
you have an ALLOW rule for udp or some other criteria BEFORE the actual
DROP?   How do you determine that it is not working?

Also, please follow the common rules when posting :)

1) don't use html
2) quote properly (look at how I am replying)

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


Re: [CentOS] data recovery

2011-09-26 Thread John Doe
From: Paras pradhan 

> On Fri, Sep 23, 2011 at 3:17 PM, John R Pierce  
> wrote:
>>  On 09/23/11 12:33 PM, m.r...@5-cent.us wrote:
>>>  Paras pradhan wrote:
  >  Number  Start   End     Size   File system  Name
  >      Flags
  >    1      17.4kB  134MB   134MB               Microsoft 
> reserved
  >  partition  msftres
  >    2      135MB   134GB   134GB  ntfs         Basic data 
> partition
  >    3      134GB   1100GB  965GB               Basic data 
> partition
>>>  
>>>  Looks to me as though someone started to install Windows on top of your
>>>  box. This isn't partition data magically changed - best guess is 
> someone
>>>  started, then stopped, realizing it was the wrong box they were working
>>>  on.
>>  ay-yup, thats EXACTLY what it looks like.   a NEWER version of Windows
>>  at that.
> You mean the newer windows will create the partition schema as we are
> seeing it now? And you think its the automatic partitioning by windows
> if somebody has the access to this?

That looks lvery much ike my Windows laptop oem partitioning scheme...
1. The hidden boot partition for a recovery install
2. The main partition (ntfs)
3. The hidden recovery data partition

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


Re: [CentOS] disk partitioning: 6.0 install to harddrive using liveCD

2011-09-26 Thread John Doe
From: "cen...@trodman.com" 

> I'm planning to set up a test Centos 6.0 box (has CDROM, but no
> DVD) with these partions:

Why not use the netinstall or minimal CDs...?

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


Re: [CentOS] SSH in and my terminal keystrokes are weird.......

2011-09-26 Thread Les Mikesell
On Mon, Sep 26, 2011 at 5:02 AM, Craig White  wrote:
>
>> Depending on what you are doing, you might also like running freenx on
>> the server and using the NX client from www.nomachine.com to have a
>> full linux GUI desktop on the Mac - which works pretty well even if
>> you just open terminal windows in it.
> 
> and I do that too but still Macintosh key bindings get in the way and
> I've had to go with a modified ~/.Xmodmap to approach my expectations.
>
> Also the screen dimensioning of the No Machine Macintosh client just
> seems not to work at all and I end up with a full screen connection
> despite any attempts at configuration which then requires an arbitrary
> resizing.

Mine seem to open at the previous session size (normally I am
re-connecting to a session originally started from a windows NX
client) but the mac version does permit resizing where windows only
snaps to the specified or available size and can't be changed without
reconnecting.  The only really odd thing I see is that sometimes the
mac window behavior (must click on title bar to focus, etc.) sticks
even when the session is picked up under windows again.

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


Re: [CentOS] Problems with Intel Ethernet and module e1000e

2011-09-26 Thread John Doe
From: Volker Poplawski 

> I'm facing a serious problem with the e100e kernel module for Intel 
> 82574L gigabit nics on Centos 6.

I had pbms with my Intel 1000e too.
Installed elrepo's kmod-e1000e and so far so good...

http://elrepo.org/tiki/kmod-e1000e

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


Re: [CentOS] Problems with Intel Ethernet and module e1000e

2011-09-26 Thread Patrick Lists
On 09/23/2011 12:54 PM, Volker Poplawski wrote:
> Hi all,
>
> I'm facing a serious problem with the e100e kernel module for Intel
> 82574L gigabit nics on Centos 6.

I have also had problems with an Intel Gbit nic in a Dell Optiplex 760 
using the e1000 module. If it would come up it would come up at 100Mbit 
speed. Only unplugging the LAN cable en reinserting it in the switch 
would sometimes result in the proper 1Gb speed. After replacing the 3Com 
Gbit switch with a DLink Gbit switch things started to work ok.

As suggested, you could try out the e1000 kernel module form elrepo (if 
it works, good for you) but you may want to look into the switch too.

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


[CentOS] Files being modified in /bin/

2011-09-26 Thread Micky L Martin
For the binary experts.

I have a situation here. Something hideously but continuously is modifying
the /bin/ executables as common as coreutils and net-tools.
I can verify that from md5sum. First thing I checked was 'ls' and it has a
checksum mismatch. So I removed it and reinstalled it. Then I moved the file
somewhere else to cross bisect it.

I did a hexdump on original ls file and the modified file, and there was
some 700 lines of hex code additional in the modified file.
Then I set a cron to check and do md5sum on all system files and after half
an hour, I go a report back. Files modified.

This time when checked the hex dump of newly and earlier modified files,
they were the same. Exact same!

Because rpm and rpmverify also seemed to have been modified so I cannot
trust 'rpm -V' package verification.

Already did lsof and process tracing but to no avail. Does anyone have any
idea how to find that culprit?


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


Re: [CentOS] Files being modified in /bin/

2011-09-26 Thread Jeremy Sanders
Micky L Martin wrote:

> Because rpm and rpmverify also seemed to have been modified so I cannot
> trust 'rpm -V' package verification.
> 
> Already did lsof and process tracing but to no avail. Does anyone have any
> idea how to find that culprit?

Are you sure it's not prelink that's modifying the files? You can google how 
to disable this.

Boot from a CD to check the checksums or run rpm if you want a clean 
environment.

Jeremy


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


Re: [CentOS] Files being modified in /bin/

2011-09-26 Thread Rob Kampen

Jeremy Sanders wrote:

Micky L Martin wrote:

  

Because rpm and rpmverify also seemed to have been modified so I cannot
trust 'rpm -V' package verification.

Already did lsof and process tracing but to no avail. Does anyone have any
idea how to find that culprit?



Are you sure it's not prelink that's modifying the files? You can google how 
to disable this.
  

Any comments or thoughts from the list as to the benefit of prelink?
does the system performance change if this is disabled?
It causes issues with aide also.
Boot from a CD to check the checksums or run rpm if you want a clean 
environment.


Jeremy


___
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] I can't connect to /dev/ttyS0

2011-09-26 Thread Keith Roberts
On Sun, 25 Sep 2011, Michel Donais wrote:

> To: CentOS mailing list 
> From: Michel Donais 
> Subject: Re: [CentOS] I can't connect to /dev/ttyS0
> 
>> You first need to double-check that /dev/ttyS0 is actually
>> the correct serial COM port you have the modem connected to.
>
>> Please look under System->Hardware and then click the 16550A-compatible
>> COM port in the LH pane.
>
>> Then in the RH pane click on 'Advanced', and find the serial.device string
>> or linux.device_file.
>
>> This will be something like:
>> linux.device_file  strlist /dev/ttySx where x == 0|1|2|3 serial.device
>> strlist /dev/ttySx where x == 0|1|2|3
>
>> Please can you share with us what the reason was for the
>> problem, so others with similar problems can be enlighted,
>> including myself?
>
> Well it's a bit ennoying.
> I've done all the given check list and got nearly no answer for a solution.
> So I decided to open the box to see that the serial device connector was
> partly unplug from the mother board; so it was the source of my problem.
>
> I put it back in palce and it was done.

Ah - Thanks for that Michel - very informative. That's 
probably one of the last tings I would have taken a look at.

So it was actually a hardware problem - not a software one.

I'm Very pleased you were able to identify and fix the 
problem :)

Kind Regards,

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Files being modified in /bin/

2011-09-26 Thread Micky L Martin
So apparently prelink was running.
I disabled it in /etc/sysconfig/prelink and ran 'prelink -ua' to undo the
linking.

I just stumbled upon a document (attached) describing how Linux used to have
a.out   and now the ELF.

Though I never knew that prelink actually modifies the files and thought of
it as a cache library or something. Literally modifies!!

So, I assume the problem is solved as ls seems to have reverted back but if
not then it may be an LKM kit :|






On Mon, Sep 26, 2011 at 6:29 AM, Rob Kampen wrote:

> Jeremy Sanders wrote:
>
>> Micky L Martin wrote:
>>
>>
>>
>>> Because rpm and rpmverify also seemed to have been modified so I cannot
>>> trust 'rpm -V' package verification.
>>>
>>> Already did lsof and process tracing but to no avail. Does anyone have
>>> any
>>> idea how to find that culprit?
>>>
>>>
>>
>> Are you sure it's not prelink that's modifying the files? You can google
>> how to disable this.
>>
>>
> Any comments or thoughts from the list as to the benefit of prelink?
> does the system performance change if this is disabled?
> It causes issues with aide also.
>
>  Boot from a CD to check the checksums or run rpm if you want a clean
>> environment.
>>
>> Jeremy
>>
>>
>> __**_
>> 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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] This doesn't make sense

2011-09-26 Thread Christopher Chan
On Monday, September 26, 2011 06:40 PM, Lamar Owen wrote:

> If it's not supported it shouldn't be enabled and easily (ab)used.  This is 
> part of the reason you have to add a boot argument to get CentOS to do a 
> version upgrade; it's known to not work properly, and thus is semi-hidden.

Now that's pounding Ubuntu properly. But it will fall on deaf ears. 
Complain on the list and they will tell you that it is YOUR fault 
because you did not read the documentation or bother to google how to 
dist-upgrade before doing 'apt-get dist-upgrade'. With such devs, 
where's the 'community' or who is the 'community'?

If that's what some folks here want over too tired to communicate devs, 
be our guest eh Lamar?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problems with Intel Ethernet and module e1000e

2011-09-26 Thread Hakan Koseoglu
On 26 September 2011 13:54, Patrick Lists  wrote:
> On 09/23/2011 12:54 PM, Volker Poplawski wrote:
>> Hi all,
>>
>> I'm facing a serious problem with the e100e kernel module for Intel
>> 82574L gigabit nics on Centos 6.
>
> I have also had problems with an Intel Gbit nic in a Dell Optiplex 760
> using the e1000 module. If it would come up it would come up at 100Mbit
> speed. Only unplugging the LAN cable en reinserting it in the switch
> would sometimes result in the proper 1Gb speed. After replacing the 3Com
> Gbit switch with a DLink Gbit switch things started to work ok.
The fact that once you had changed to an other switch it had started
to work points the blame to the 3Com switch. Funnily enough, about 10
years ago I would get the same kind of issues with 3Com network cards
and switches talking to each other (on 100Mbit!). Disabling the
auto-handshake and forcing the link to a particular speed would fix
the problem.

Try forcing the link speed with ethtool or similar utilities.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
"What part of 'ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn'
don't you understand?"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problems with Intel Ethernet and module e1000e

2011-09-26 Thread m . roth
Patrick Lists wrote:
> On 09/23/2011 12:54 PM, Volker Poplawski wrote:
>> Hi all,
>>
>> I'm facing a serious problem with the e100e kernel module for Intel
>> 82574L gigabit nics on Centos 6.
>
> I have also had problems with an Intel Gbit nic in a Dell Optiplex 760
> using the e1000 module. If it would come up it would come up at 100Mbit
> speed. Only unplugging the LAN cable en reinserting it in the switch
> would sometimes result in the proper 1Gb speed. After replacing the 3Com
> Gbit switch with a DLink Gbit switch things started to work ok.
>
> As suggested, you could try out the e1000 kernel module form elrepo (if
> it works, good for you) but you may want to look into the switch too.

Hmmm, we had a problem like that, but in our case, it was the NIC. If
someone's already asked this - I didn't read the list over the weekend -
ignore the request, but if not, while it's not working, what's the o/p of
ethtool eth

mark

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


Re: [CentOS] Problems with Intel Ethernet and module e1000e

2011-09-26 Thread Micky L Martin
In our case, it was the driver.
Google e1000e-1.6.2.tar.gz


On Mon, Sep 26, 2011 at 6:56 AM,  wrote:

> Patrick Lists wrote:
> > On 09/23/2011 12:54 PM, Volker Poplawski wrote:
> >> Hi all,
> >>
> >> I'm facing a serious problem with the e100e kernel module for Intel
> >> 82574L gigabit nics on Centos 6.
> >
> > I have also had problems with an Intel Gbit nic in a Dell Optiplex 760
> > using the e1000 module. If it would come up it would come up at 100Mbit
> > speed. Only unplugging the LAN cable en reinserting it in the switch
> > would sometimes result in the proper 1Gb speed. After replacing the 3Com
> > Gbit switch with a DLink Gbit switch things started to work ok.
> >
> > As suggested, you could try out the e1000 kernel module form elrepo (if
> > it works, good for you) but you may want to look into the switch too.
>
> Hmmm, we had a problem like that, but in our case, it was the NIC. If
> someone's already asked this - I didn't read the list over the weekend -
> ignore the request, but if not, while it's not working, what's the o/p of
> ethtool eth
>
>mark
>
> ___
> 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] Files being modified in /bin/

2011-09-26 Thread m . roth
Jeremy Sanders wrote:
> Micky L Martin wrote:
>
>> Because rpm and rpmverify also seemed to have been modified so I cannot
>> trust 'rpm -V' package verification.
>>
>> Already did lsof and process tracing but to no avail. Does anyone have
>> any idea how to find that culprit?
>
> Are you sure it's not prelink that's modifying the files? You can google
> how to disable this.
>
> Boot from a CD to check the checksums or run rpm if you want a clean
> environment.

Don't really know about prelink, but I strongly agree with the last
suggestion: boot from a CD, or USB key, or something *other* than your
hard drive - your comments strongly suggest that you've been infected. You
*do* have backups of your configuration and data (and home directories,
etc)? If so, you might want to do a reinstall without formatting... and
then, and only then, rerun grub-install.

  mark

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


Re: [CentOS] Hacking Issue

2011-09-26 Thread Keith Roberts
On Mon, 26 Sep 2011, Jennifer Botten wrote:

> To: centos@centos.org
> From: Jennifer Botten 
> Subject: [CentOS] Hacking Issue
> 
> Hi,
>
>
>
> I am having an issue with someone accessing our server via a SIP/VOIP
> connection. I have changed my iptables rules to drop all UDP traffic from
> and too this IP address, but this traffic seems to still run through my
> server. These are the iptables rules that I current have on the server.
>
> -A INPUT -i eth0 -s 209.61.231.42 -p udp -j DROP
>
> -A INPUT -i eth0 -d 209.61.231.42 -p udp -j DROP

You might find it helps to analyse this traffic with a 
network analyser, like Wireshark. That would allow you to 
see in almost real time what is happening on the line.

Kind Regards,

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Files being modified in /bin/

2011-09-26 Thread Micky L Martin
No Jeremy, reformatting is nonsensical, like doing anything without finding
cause of the problem is!
You have to check out prelink if you still don't know about it, it can be
something amazing or ridiculous.
In my case, all evidence points to prelink!


To the guys using prelink and having experience with it.
So I did a further study and found out that it possesses some issues.

First it doesn't randomly address the data making applications prone to perl
security attacks. Secondly, it way of keeping track of address maps is
awkward which becomes a few weeks older till it gets updated.
Thirdly, its 'a very old styled' application. It was written back in 90's
when computers were slow to make them fast. But with today's extraneous
processing age, its effects are long vanishing.
Lastly, I see a lot of people remove it in post installation process. Many
claim it sucks as it creates more problems than what it is supposed to do.

As I occasionally do a minimal install so I am not sure how it got installed
on this very box. Seems like 'yum update' or the kickstart did it.
But anyhow I disabled it already and I am gonna benchmark the system for
performance; needless to day, it will be removed from my desk.

It did pop like a jack in a box :P!








On Mon, Sep 26, 2011 at 7:11 AM,  wrote:

> Jeremy Sanders wrote:
> > Micky L Martin wrote:
> >
> >> Because rpm and rpmverify also seemed to have been modified so I cannot
> >> trust 'rpm -V' package verification.
> >>
> >> Already did lsof and process tracing but to no avail. Does anyone have
> >> any idea how to find that culprit?
> >
> > Are you sure it's not prelink that's modifying the files? You can google
> > how to disable this.
> >
> > Boot from a CD to check the checksums or run rpm if you want a clean
> > environment.
>
> Don't really know about prelink, but I strongly agree with the last
> suggestion: boot from a CD, or USB key, or something *other* than your
> hard drive - your comments strongly suggest that you've been infected. You
> *do* have backups of your configuration and data (and home directories,
> etc)? If so, you might want to do a reinstall without formatting... and
> then, and only then, rerun grub-install.
>
>  mark
>
> ___
> 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] Hacking Issue

2011-09-26 Thread Micky L Martin
I would use an '-I' instead of '-A' if its a case of blocking an intruder.

You can use tcpdump and 'ss -l' as well.

Check out the application logs, try to see what's the intruder is up to!




On Mon, Sep 26, 2011 at 7:14 AM, Keith Roberts  wrote:

> On Mon, 26 Sep 2011, Jennifer Botten wrote:
>
> > To: centos@centos.org
> > From: Jennifer Botten 
> > Subject: [CentOS] Hacking Issue
> >
> > Hi,
> >
> >
> >
> > I am having an issue with someone accessing our server via a SIP/VOIP
> > connection. I have changed my iptables rules to drop all UDP traffic from
> > and too this IP address, but this traffic seems to still run through my
> > server. These are the iptables rules that I current have on the server.
> >
> > -A INPUT -i eth0 -s 209.61.231.42 -p udp -j DROP
> >
> > -A INPUT -i eth0 -d 209.61.231.42 -p udp -j DROP
>
> You might find it helps to analyse this traffic with a
> network analyser, like Wireshark. That would allow you to
> see in almost real time what is happening on the line.
>
> Kind Regards,
>
> Keith Roberts
>
> -
> Websites:
> http://www.karsites.net
> http://www.php-debuggers.net
> http://www.raised-from-the-dead.org.uk
>
> All email addresses are challenge-response protected with
> TMDA [http://tmda.net]
> -
> ___
> 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] data recovery

2011-09-26 Thread Paras pradhan
Hi Lamar,

On Mon, Sep 26, 2011 at 5:53 AM, Lamar Owen  wrote:
> On Friday, September 23, 2011 04:29:39 PM Paras pradhan wrote:
>> This is a SAN drive mounted. I have checked with my storage
>> administrator if this has been re mapped or any similar events and he
>> verified that nothing has happened...(I trust him)
>
> May I ask what sort of SAN?  Fibre Channel or iSCSI?  Are there any access 
> controls (such as EMC's Access Logix or zoning in the switch) in place to 
> prevent multiple initiators connecting to a particular LUN?

Its a Hitachi OpenV fibre channel SAN (4Gbps HBA). My storage admin
checked if this LUN can be accessible by others and he found no other
hosts have access to it.

>
> SAN attachment mildly complicates things; I've seen some odd LUN reshuffling 
> before, but it was an older FLARE than what I'm currently running on our 
> Clariions and it was something that was a corner case but was fixed in a 
> later NDU, and it had to do with Access Logix (I don't remember the Primus 
> number right off, as it has been several years now).

reshuffling here means automatically changing disk's geometry as I am
having an issue? It would be interesting to know if this can happen.

>
> If the SAN OS keeps event logs you could try to correlate with the event; 
> beyond that you may just have to do some testing.
>
> As you say, someone somewhere had to do a repartition; the hard part is 
> determining where the error is.  Good luck.


Here are some new additional info :

My colleague mounted this LUN to a different host and we found the
same partitions over there too which is normal.

I dd a 1st device to a file and opened the image file with bvi and
found some hosts name, VG name etc etc. in there. Then he ran a
recovery tool (R studio) in all three devices and was able to recover
most of this data.
So my question is: if the LUN has been re partitioned for ex: say to
install windows , why am i seeing our data in these newly created
partitions? Is it possible to see data in a reapportioned drive?

Thanks
Paras.


> ___
> 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] data recovery

2011-09-26 Thread m . roth
Paras pradhan wrote:

> Here are some new additional info :
>
> My colleague mounted this LUN to a different host and we found the
> same partitions over there too which is normal.
>
> I dd a 1st device to a file and opened the image file with bvi and
> found some hosts name, VG name etc etc. in there. Then he ran a
> recovery tool (R studio) in all three devices and was able to recover
> most of this data.
> So my question is: if the LUN has been re partitioned for ex: say to
> install windows , why am i seeing our data in these newly created
> partitions? Is it possible to see data in a reapportioned drive?

Partitioning doesn't overwrite the disk. I'm not familiar with R studio,
so I don't know if you're saying that whole directories reappeared, or
whether it found and relinked the files, and added them to the directory
structure.

mark

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


Re: [CentOS] Hacking Issue

2011-09-26 Thread Theo Band
On 09/26/2011 01:02 PM, Jennifer Botten wrote:
>
> Hi,
>
>  
>
> I am having an issue with someone accessing our server via a SIP/VOIP
> connection. I have changed my iptables rules to drop all UDP traffic
> from and too this IP address, but this traffic seems to still run
> through my server. These are the iptables rules that I current have on
> the server.
>
> -A INPUT -i eth0 -s 209.61.231.42 -p udp -j DROP
>
> -A INPUT -i eth0 -d 209.61.231.42 -p udp -j DROP
>
>
If your SIP server needs to be accessed from any IP address, consider to
use fail2ban. Easy to setup and it will block access to your SIP server
after so many false attempts.
I started using fail2ban to prevent the logs (Asterisk) from cluttering
failed logons.

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


[CentOS] Firewalling outbound connections...

2011-09-26 Thread John Doe
Hi,

would anyone know a soft to firewall outbound connections (applications phoning 
home, etc...).
It would detect an unknown (to him) app that tries to connect to the outside 
world and it would popup a allow/deny request...AppArmor might be a bit 
overkill...
Anyone have any experience with Systrace, TuxGuardian or Zorp GPL...?


Thx,
JD

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


Re: [CentOS] Finding i/o bottleneck

2011-09-26 Thread Nicolas Ross
>> In the meen time, I'd still like to find a tool to know what files are
>> requeted to the filesystem and what ones are being waited for...
>>
>
> atop and iotop are tools that do that...when the kernel has been
> appropriately patched or the kernel is of an appropriate version...

I did used these utilities, while it can help see what processes are 
generating IO, it doesn't show what files on the file system are being asked 
or waited for.

Basicly, what I'm searching is an equivalent for fs_usage on Mac OS X, or 
tcpdump, but on a bloc device...

Thanks, 

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