Re: [CentOS] (no subject)

2009-03-14 Thread Ignacio Vazquez-Abrams
On Fri, 2009-03-13 at 20:54 +, wilson mitsui wrote:
> Please ignore this message, my previous atempt failed so i'm trying again.

I don't think this one worked either...

-- 
Ignacio Vazquez-Abrams 


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Unable to use DRBD after a reboot

2009-03-14 Thread Fabian Arrotin
robert mena wrote:
> Hi,
> 
> I have two servers in a drbd primary/secondary setup.   Everything was 
> fine until I had to reboot both servers.
> 
> The primary rebooted first, the secondary assumed fine, but when the 
> (old primary) server got back online it was unable to mount the drbd fs 
> complaining about the modules.
> 
> I've tried to find out the problem but the servers seem to have the same 
> setup
> 
> rpm -qa | grep drbd
> drbd82-8.2.6-1.el5.centos
> kmod-drbd82-8.2.6-2
> 
> Kernel 2.6.18-92.1.22.el5 #1 SMP
> 
> Am I missing something?
> 
> thanks.
> 

Is the drbd module loaded on the failing node ?
kmod-drbd82-8.2.6-2 contains the drbd.ko module (in 
/lib/modules/2.6.18-92.1.13.el5/extra/drbd82/drbd.ko)
When you update your kernel, a /sbin/weak-modules script is called to 
symlink the extras kmods from previous kernels to all install kernels. 
So that means that in your actual 
/lib/modules/2.6.18-92.1.22.el5/weak-updates/drbd82/ folder contains 
symlinks to the original one.
It that the case ? have you manually deleted the old 
/lib/modules/2.6.18-92.1.13.el5/ directory ?

-- 
--
Fabian Arrotin
  idea=`grep -i clue /dev/brain`
  test -z "$idea" && echo "sorry, init 6 in progress" || sh ./answer.sh
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Unable to use DRBD after a reboot

2009-03-14 Thread Akemi Yagi
On Sat, Mar 14, 2009 at 1:42 AM, Fabian Arrotin
 wrote:
> robert mena wrote:
>> Hi,
>>
>> I have two servers in a drbd primary/secondary setup.   Everything was
>> fine until I had to reboot both servers.

>> rpm -qa | grep drbd
>> drbd82-8.2.6-1.el5.centos
>> kmod-drbd82-8.2.6-2
>>
>> Kernel 2.6.18-92.1.22.el5 #1 SMP

> Is the drbd module loaded on the failing node ?
> kmod-drbd82-8.2.6-2 contains the drbd.ko module (in
> /lib/modules/2.6.18-92.1.13.el5/extra/drbd82/drbd.ko)
> When you update your kernel, a /sbin/weak-modules script is called to
> symlink the extras kmods from previous kernels to all install kernels.
> So that means that in your actual
> /lib/modules/2.6.18-92.1.22.el5/weak-updates/drbd82/ folder contains
> symlinks to the original one.
> It that the case ? have you manually deleted the old
> /lib/modules/2.6.18-92.1.13.el5/ directory ?

To find that out, issue the command:

ls -l `find /lib/modules -name drbd.ko`

and make sure all symlinks are there (no red-flashing link).

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


Re: [CentOS] Help setting up multipathing on CentOS 4.7 to an Equallogic iSCSI target

2009-03-14 Thread James Pearson
2009/3/13 Ross Walker :
> With open-iscsi you will need to use multiple iSCSI sessions over
> different subnets and dm-multipath. Configure 2 portal addresses one
> in each subnet. If Equalogics sets the SCSI Ids correctly then dm-
> multipath will match them up. Set a round-robin policy on the paths
> and test/tune accordingly (path delays, # blocks per path, etc).

I have tried using separate subnets on the different interfaces on the
Equallogic box and host - but the client host would still only find
the volume once.

I've now heard back from Dell - and it appears it can't be done with
the software initiator on CentOS4/RHEL4 - but should work with CentOS5

Thanks

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


[CentOS] External USB disk devices cause high load

2009-03-14 Thread Tom Brown
Hi

On a CentOS 4.7 box running on older hardware when i plug an external 
flash disk or similar into the system the device shows up in dmesg but 
it is not usable. The load on the system starts to climb for no apparent 
reason. If i try to look at the partitions on the disk with fdisk it 
just hangs. If the device is removed the load remains high.

Does anyone know what processes are responsible for USB as top is not 
really showing me much.

thanks

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


Re: [CentOS] pop3 attack

2009-03-14 Thread James Pifer
> I use zen.spamhaus.org on my server, so you're welcome to send a test 
> message directly to me off list and see if it bounces or not (you will 
> get greylisted first for 60 seconds)

Sent a test message. Here's what's in maillog:
Mar 14 11:00:28 mailserver sendmail[25108]: n2EF0LTt025094: 
to=, ctladdr= (503/503), 
delay=00:00:07, xdelay=00:00:03, mailer=relay, pri=120391, 
relay=smtp-server.carolina.rr.com. [75.180.132.33], dsn=2.0.0, stat=Sent 
(Message received: 
20090314134107.mzqs7442.cdptpa-omta01.mail.rr@mailserver.obrien-pifer.com)

Been several minutes and no bounce. Guess that's a good thing. 

> It shouldn't if everything is configured correctly. As I said above, to 
> me it looks more like the receiving server is misconfigured. That might 
> be intentional, who knows, but they will get FPs as a result from anyone 
> like yourself who correctly relays mail through their ISP.

That would stink, but appears to be the case. 

Thanks,
James

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


Re: [CentOS] Help setting up multipathing on CentOS 4.7 to an Equallogic iSCSI target

2009-03-14 Thread Ross Walker
On Mar 14, 2009, at 5:50 AM, James Pearson  wrote:

> 2009/3/13 Ross Walker :
>> With open-iscsi you will need to use multiple iSCSI sessions over
>> different subnets and dm-multipath. Configure 2 portal addresses one
>> in each subnet. If Equalogics sets the SCSI Ids correctly then dm-
>> multipath will match them up. Set a round-robin policy on the paths
>> and test/tune accordingly (path delays, # blocks per path, etc).
>
> I have tried using separate subnets on the different interfaces on the
> Equallogic box and host - but the client host would still only find
> the volume once.
>
> I've now heard back from Dell - and it appears it can't be done with
> the software initiator on CentOS4/RHEL4 - but should work with CentOS5

Did they give a reason why?

You could ask on the open-iscsi list too.

I thought if it treated each ip as a separate target portal on the  
initiator you would be able to connect to two "different" targets at  
the same time and let dm-multipath figure out it's the same disk. No?

I think what is happening is open-iscsi (on 4) only recognizes the  
first target sent during a SendTargets request, but the first target  
in the list should always be the one on the current ip address of the  
portal, so if you list each ip address for discovery in theory it  
should discover the target for each ip. Now if Equalogics gives the  
same target list irrespective of the portal ip it's called on then I  
can see where the problem is.

A tcpdump during login/discovery should show this easy. Just look at  
the sendtargets list for each portal in wireshark and if they are in  
the same order then there's your problem.

-Ross

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


Re: [CentOS] pop3 attack

2009-03-14 Thread Chris Boyd

On Mar 13, 2009, at 1:49 PM, Michel van Deventer wrote:

> One way to get around it is to get yourself a VPS (virtual private
> server) for a small amount ($20/month?) and set up your own
> 'smarthost' (maybe together with some friends/coworkers?). You can  
> then
> even use a non-standard port to relay your mail through it and even
> encrypt if you wish.

Or you can put a real box in with one of the colos here:
http://www.vix.com/personalcolo/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cannot get CentOS to install

2009-03-14 Thread Michael Peterson
Scott Silva wrote:
> on 3-11-2009 1:44 PM Michael Peterson spake the following:
>   
>> William L. Maltby wrote:
>> 
>>> On Tue, 2009-03-10 at 16:37 -0500, Michael Peterson wrote:
>>>   
>>>   
 I used google but did not come up with anything current to solve my 
 problem.
 I have not tried any other search engines yet.
 There is not a search for the CentOS list so I am creating a new post.
 
 
>>> See below - it's really hard to find.
>>>
>>>   
>>>   
 I have tested the CentOS 5.2 and RHEL 5.3 CD's and they passed.
 I had to use linux mediacheck ide=nodma to get them to pass.
 The newest releases seem to most times fail with just linux mediacheck.
 
 
>>> Try making the media after padding the iso image with about 300k of
>>> zeros. When you search the archives (there is a search - I'll mention
>>> below) there are a couple of threads about this.
>>>
>>>   
>>>   
 I have tried linux ide=nodma and
 linux text ide=nodma after trying
 linux and
 linux text

 Anaconda fails on both CentOS 5.2 and RHEL 5.3 in all cases.
 
 
>>> With only 512MB or ram you will have to use text mode only, IIRC. Also
>>> in the archives. There's also some threads that mention noacpi, acpi=no
>>> and some other stuff I can't recall.
>>>
>>>   
>>>   
 The system I am trying to install on is running CentOS 3.x.

 The hardware is P4 2.8 CPU, 512 MB RAM, 120GB 3ware IDE/PATA RAID HD, 
 ATI Video, CDRW CD, Dual Nic, Floppy and IDE/PATA Tape drive.

 Please provide any options to the kernel that I should try besides the 
 ones mentioned above that fail.
 
 
 
>>> For your google searches, go to the advanced section and specify
>>> centos.org. That gets what's in the archives. To search directly from
>>> CentOS site, click "Search" on http://centos.org/
>>>
>>> HTH,
>>>   
>>>   
>> The system I am trying to install on boot with out problems or errors on 
>> the 5.2 Live CD.
>> Gui works
>> Firefox and Network work
>>
>> I tried the options mentioned and more and get the same errors.
>> They are:
>>
>> Starting graphical installation ...
>> Traceback (most recent call last):
>> File "/usr/bin/anaconda", line 900, in ? iutil.makeDriveDeviceNodes()
>> File "/usr/lib/anaconda/iutil.py". line 264, in makeDriveDeviceNodes
>> isys.makeDevinode(device, "dev /%s" % (device,))
>> File "/usr/lib/anaconda.isys.py", line 422, inmakeDevInode 
>> _isys.mkdevinode(name,fn)
>> SystemError: (2, 'No such file or directory')
>> install exited abnormally [1/1]
>> sending termination signals ... done
>>
>>
>> The RHEL 5.3 boot disk is the same as above except the line 900 is 924.
>>
>> I have tried text and GUI and ide=nodma pci=noacpi with both.
>> 
> Can you see and write to the hard disks with the Live CD?
>
>
>
>   
> 
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   

The Live CD can see and access the 3ware RAID connected drives.
It is using the swap partition.
I was able to switch to root and remount a file system read-write and 
copy files from one mount point to another.
I then deleted the files with no problem.

I will try to boot CentOS 5.1 CD 1 on Monday and see what results I get.

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


[CentOS] dvd rw not recognized

2009-03-14 Thread Frank Cox
I installed Centos 5.2 on a brand new computer the other day.  It has an Asus
DVD RW drive in it which I used to boot the netboot disk off of to install the
operating system so it found the dvd at that point.

Now k3b tells me that it can't find any drives.

[natha...@jeff ~]$ ll /dev/scd0
brw--- 1 nathalie disk 11, 0 Mar 10 14:00 /dev/scd0
[natha...@jeff ~]$ ll /dev/cdrom*
lrwxrwxrwx 1 root root 4 Mar 10 14:00 /dev/cdrom -> scd0
lrwxrwxrwx 1 root root 4 Mar 10 14:00 /dev/cdrom-sr0 -> scd0
[natha...@jeff ~]$ ll /dev/dvd*
lrwxrwxrwx 1 root root 4 Mar 10 14:00 /dev/dvd -> scd0
lrwxrwxrwx 1 root root 4 Mar 10 14:00 /dev/dvdrw -> scd0
lrwxrwxrwx 1 root root 4 Mar 10 14:00 /dev/dvdrw-sr0 -> scd0
lrwxrwxrwx 1 root root 4 Mar 10 14:00 /dev/dvd-sr0 -> scd0
lrwxrwxrwx 1 root root 4 Mar 10 14:00 /dev/dvdwriter -> scd0
lrwxrwxrwx 1 root root 4 Mar 10 14:00 /dev/dvdwriter-sr0 -> scd0

cdrecord --scanbus tells me this:

1,0,0   100) *
1,1,0   101) '' '' '' Removable vendor
specific 7 unknown/no device 1,2,0  102) *
1,3,0   103) *
1,4,0   104) *
1,5,0   105) *
1,6,0   106) *
1,7,0   107) *

/var/log/messages tells me this:

Mar 10 13:06:22 jeff kernel: sd 1:0:0:0: Attached scsi disk sda
Mar 10 13:06:22 jeff kernel:   Vendor: ASUS  Model: DRW-20B1STRev: 1
.00
Mar 10 13:06:22 jeff kernel:   Type:   CD-ROM ANSI S
CSI revision: 05

dmesg tells me this:

sr0: scsi3-mmc drive: 48x/12x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:1:0: Attached scsi CD-ROM sr0

What am I doing wrong here?


-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help setting up multipathing on CentOS 4.7 to an Equallogic iSCSI target

2009-03-14 Thread nate
Ross Walker wrote:

> You could ask on the open-iscsi list too.
>
> I thought if it treated each ip as a separate target portal on the
> initiator you would be able to connect to two "different" targets at
> the same time and let dm-multipath figure out it's the same disk. No?

You can do this, I'm sure of it. But the catch is this doesn't
aggregate the links, even if you use round robin multipathing at
any particular instant in time your only using one link.

>From the docs from device mapper multipath on CentOS 5.2

Path Group:
A grouping of paths. With DM-MP, only one path group--the
active path group--receives I/O at any time. Within a path
group, DM-MP selects which ready path should receive I/O in a
round robin fashion. Path groups can be in various states (refer to
"Path Group States").

So as far as I can see you can't aggregate paths in CentOS 5.2
multipath either for a single volume. The only way to use more
than one path is to have more than one volume. You could set it
up as active/passive and have each volume "prefer" a different
path, or use round-robin and just know that at some points
in time both volumes will be going down the same path.

I suppose you could aggregate the volumes themselves using LVM
or software RAID, to present a single file system to the OS that
uses more than one path simultaneously depending on what data is
being accessed.

I think you'll probably find the software iSCSI has more serious
performance bottlenecks before your able to max out a 1Gbps link
anyways.

nate


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


Re: [CentOS] running yum from userid

2009-03-14 Thread Robert Moskowitz
Filipe Brandenburger wrote:
> Hi,
>
> On Fri, Mar 13, 2009 at 16:57, Robert Moskowitz  wrote:
>   
>> I added via visudo my userid for authorization of
>> me   ALL(ALL)   NOPASSWD: ALL
>> 
>
> Aren't you missing an "=" in that line? I think it should be:
>
> meALL=(ALL) NOPASSWD: ALL
>
> I wonder how you got passed through visudo though. I tried it without
> the "=" and it said I had a syntax error in that line.
Typo on my part.  I am doing this on another system...


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


[CentOS] Installing php 5.2

2009-03-14 Thread Todd Cary
In reading the help file for yum, I am confused on how to find out if my 
php 4.3 can be updated to php 5.2 using yum.

Any suggestion would be appreciated...

Todd

-- 
Ariste Software
Petaluma, CA 94952

http://www.toddcary.com/aristephotography/

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


[CentOS] php 5.2

2009-03-14 Thread Melinda Odom
Hi,

Is there any news about CentOS 5.2 updating to php 5.2?

Best Regards,
Melinda Odom
Design Hosting, Inc.
Web Design, Web Hosting, & Ecommerce Solutions
479-471-0891 CST
i...@designhosting.biz
http://www.designhosting.biz





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


Re: [CentOS] php 5.2

2009-03-14 Thread Todd Cary
Melinda -

What is the latest version of php that is available?

Todd

Melinda Odom wrote:
> Hi,
>
> Is there any news about CentOS 5.2 updating to php 5.2?
>
> Best Regards,
> Melinda Odom
> Design Hosting, Inc.
> Web Design, Web Hosting, & Ecommerce Solutions
> 479-471-0891 CST
> i...@designhosting.biz
> http://www.designhosting.biz
>
>
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
>   

-- 
Ariste Software
Petaluma, CA 94952

http://www.toddcary.com/aristephotography/

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


Re: [CentOS] php 5.2

2009-03-14 Thread Jim Perrin
On Sat, Mar 14, 2009 at 10:39 PM, Melinda Odom  wrote:
> Hi,
>
> Is there any news about CentOS 5.2 updating to php 5.2?

There have been packages for php 5.2 in the Centos Testing repository
for a while now. They work fine (for me at least), it's just that very
few folks are reporting the functionality, so they aren't moving into
centosplus or more common repositories.

See http://wiki.centos.org/AdditionalResources/Repositories for more information




-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installing php 5.2

2009-03-14 Thread Jim Perrin
On Sat, Mar 14, 2009 at 10:24 PM, Todd Cary  wrote:
> In reading the help file for yum, I am confused on how to find out if my
> php 4.3 can be updated to php 5.2 using yum.

If you have php 4.3, then you have centos4 most likely. There are php5
rpms available to you in the centosplus repository, however it's php
5.1.6, not php 5.2.


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos