Re: [CentOS] One server not showing SSH port, the other is.

2010-10-12 Thread Phil Schaffner
Ryan Manikowski wrote on 10/11/2010 07:49 PM:
...
> One method to obscure the presence of the ssh daemon would be to use
> port knocking:
> 
> http://dotancohen.com/howto/portknocking.html

Somehow I suspect the OP may have seen that one. :-D

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


Re: [CentOS] security updates

2010-10-12 Thread Phil Schaffner
Keith Keller wrote on 10/12/2010 06:35 PM:
> Somewhat related to this, does anybody know (or have links to) what
> work, if any, is happening with the yum security plugin?  The only
> information I could find was some posts from Karanbir from last year,
> basically saying it was a low priority because it'd be a lot of work.
> (I'd be willing to help if I knew more about what help was needed.)

Getting pretty far OT on an already rambling thread, but if you really 
want to help then centos-devel is the proper place to volunteer.

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


Re: [CentOS] security updates

2010-10-12 Thread Keith Keller
On Tue, Oct 12, 2010 at 06:11:49PM -0400, John Hinton wrote:
> 
> Secure? Yes, as long as you apply the updates as needed. You can always 
> read about why there is a patch and decide if it is applicable to your 
> situation.

Somewhat related to this, does anybody know (or have links to) what
work, if any, is happening with the yum security plugin?  The only
information I could find was some posts from Karanbir from last year,
basically saying it was a low priority because it'd be a lot of work.
(I'd be willing to help if I knew more about what help was needed.)

--keith

-- 
kkel...@wombat.san-francisco.ca.us



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


Re: [CentOS] security updates

2010-10-12 Thread John Hinton
  On 10/11/2010 9:17 AM, John Doe wrote:
> From: Giles Coochey
>
>> On Mon, October 11, 2010 13:36, Ritika Garg wrote:
>>> I can't understand  exactly what these security updates do? Why is there a
>>> need to have a  security update?
>> What is your IP?  :-D
> Keep this information secret, but I think his IP is 127.0.0.1 ...
> And there's no firewall!!!  ;P
>
> JD
Too funny JD!

But, not to mention that for most Linux distros, source is available, so 
finding bugs in theory is easier. This leads to the theory that the code 
has been more deeply tested (snooped) and repaired leading to a most 
robust end product.

Secure? Yes, as long as you apply the updates as needed. You can always 
read about why there is a patch and decide if it is applicable to your 
situation.

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


Re: [CentOS] libsrtp package anywhere?

2010-10-12 Thread Bob Beers
On Tue, Oct 12, 2010 at 5:52 PM, R P Herrold  wrote:
>        https://bugzilla.redhat.com/show_bug.cgi?id=509619
>
> I seem to remember another packaging of this code as well
>
> I have placed a variant that builds trivially on CentOS 5 at:
>        srtp-1.4.4-1orc.src.rpm
> ftp://ftp.owlriver.com/pub/local/ORC/srtp/
>
> -- Russ herrold
>
> -
>
> /home/herrold/rpmbuild/SRPMS/srtp-1.4.4-1orc.src.rpm
> /home/herrold/rpmbuild/RPMS/x86_64/srtp-1.4.4-1orc.x86_64.rpm
> /home/herrold/rpmbuild/RPMS/x86_64/srtp-debuginfo-1.4.4-1orc.x86_64.rpm
> /home/herrold/rpmbuild/RPMS/x86_64/srtp-static-1.4.4-1orc.x86_64.rpm
> /home/herrold/rpmbuild/RPMS/x86_64/srtp-devel-1.4.4-1orc.x86_64.rpm
>

Awesome!  Thanks,

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


[CentOS] libsrtp package anywhere?

2010-10-12 Thread R P Herrold
On Tue, 12 Oct 2010, Bob Beers wrote:

following on myself

'find' indicates it is also carried in FreeSwitch

/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/srtp-1.42.pc
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/.deps/srtp.Plo
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/.deps/srtp+gdoi.Plo
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/doc/libsrtp.pdf
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/srtp.def
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/libsrtp.2010.vcxproj.filters
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/srtp
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/srtp/srtp.c
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/srtp.lo
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/srtp.vcproj
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/libsrtp.2008.vcproj
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/srtp.o
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/include/srtp.h
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/libsrtp.la
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/test/.deps/srtp_driver.Po
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/test/srtp_driver.c
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/libsrtp.2010.vcxproj
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/libsrtp.vcproj
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/srtp-1.42.pc.in
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/.libs/libsrtp.a
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/.libs/libsrtp.lai
/home/herrold/rpmbuild/BUILD/freeswitch-20101012/libs/srtp/.libs/libsrtp.la

and one assumes is maintain as that is an active project

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


[CentOS] libsrtp package anywhere?

2010-10-12 Thread R P Herrold
On Tue, 12 Oct 2010, Bob Beers wrote:

> I'm trying to create an asterisk 1.8 rpm with SRTP.
>
> I found mention of a libsrtp rpm,
> 

first google hit

https://bugzilla.redhat.com/show_bug.cgi?id=509619

I seem to remember another packaging of this code as well

I have placed a variant that builds trivially on CentOS 5 at:
srtp-1.4.4-1orc.src.rpm
ftp://ftp.owlriver.com/pub/local/ORC/srtp/

-- Russ herrold

-

/home/herrold/rpmbuild/SRPMS/srtp-1.4.4-1orc.src.rpm
/home/herrold/rpmbuild/RPMS/x86_64/srtp-1.4.4-1orc.x86_64.rpm
/home/herrold/rpmbuild/RPMS/x86_64/srtp-debuginfo-1.4.4-1orc.x86_64.rpm
/home/herrold/rpmbuild/RPMS/x86_64/srtp-static-1.4.4-1orc.x86_64.rpm
/home/herrold/rpmbuild/RPMS/x86_64/srtp-devel-1.4.4-1orc.x86_64.rpm


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


[CentOS] libsrtp package anywhere?

2010-10-12 Thread Bob Beers
Hi list,

I'm trying to create an asterisk 1.8 rpm with SRTP.

I found mention of a libsrtp rpm,

 in these instructions,

but it is unreachable (by me, anyway).

The libSRTP source is here,
.

Has this already been packaged for CentOS 5?

Thanks,

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


Re: [CentOS] SquashFS: how good is it?

2010-10-12 Thread Boris Epstein
On Tue, Oct 12, 2010 at 3:45 PM, JohnS  wrote:
>
> On Tue, 2010-10-12 at 15:28 -0400, Boris Epstein wrote:
>> On Tue, Oct 12, 2010 at 3:02 PM, Chad Woolley  
>> wrote:
>> > On Tue, Oct 12, 2010 at 12:44 PM, JohnS  wrote:
>> >>
>> >> On Tue, 2010-10-12 at 14:37 -0400, Boris Epstein wrote:
>> >>> Hello listmates,
>> >>>
>> >>> Have any of you used SquashFS?
>> >>>
>> >>> See: http://en.wikipedia.org/wiki/SquashFS
>> >>>
>> >>> We have tried it on small file sets, seems good but if you have
>> >>> experience using it, especially to store/archive lage volumes of
>> >>> files, please share your experience.
>> >>>
>> >>> Thanks.
>> >> ---
>> >> It is used in the making of Live CDs as in Linux.  CentOS Live CD 5 uses
>> >
>> > I was unable to mount it read/write, if that matters.  Error said it
>> > could only be mounted read-only.
>> > ___
>> > CentOS mailing list
>> > CentOS@centos.org
>> > http://lists.centos.org/mailman/listinfo/centos
>> >
>>
>> Yes, SquassFS is a read-only FS. Which is fine for us as we intend to
>> only use it for archiving purposes.
>>
>> Boris.
>
> I think you had better look else where for 4 tera bytes
>
> John
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

John,

You may well be right. As a test I decided to try on about 1.3TB and
see what happens. The mksquashfs command has been running for about an
hour, ate up about 2GB of RAM plus some swap; so far so good.

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


Re: [CentOS] SquashFS: how good is it?

2010-10-12 Thread JohnS

On Tue, 2010-10-12 at 15:28 -0400, Boris Epstein wrote:
> On Tue, Oct 12, 2010 at 3:02 PM, Chad Woolley  wrote:
> > On Tue, Oct 12, 2010 at 12:44 PM, JohnS  wrote:
> >>
> >> On Tue, 2010-10-12 at 14:37 -0400, Boris Epstein wrote:
> >>> Hello listmates,
> >>>
> >>> Have any of you used SquashFS?
> >>>
> >>> See: http://en.wikipedia.org/wiki/SquashFS
> >>>
> >>> We have tried it on small file sets, seems good but if you have
> >>> experience using it, especially to store/archive lage volumes of
> >>> files, please share your experience.
> >>>
> >>> Thanks.
> >> ---
> >> It is used in the making of Live CDs as in Linux.  CentOS Live CD 5 uses
> >
> > I was unable to mount it read/write, if that matters.  Error said it
> > could only be mounted read-only.
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
> 
> Yes, SquassFS is a read-only FS. Which is fine for us as we intend to
> only use it for archiving purposes.
> 
> Boris.

I think you had better look else where for 4 tera bytes

John

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


Re: [CentOS] SquashFS: how good is it?

2010-10-12 Thread Boris Epstein
On Tue, Oct 12, 2010 at 3:02 PM, Chad Woolley  wrote:
> On Tue, Oct 12, 2010 at 12:44 PM, JohnS  wrote:
>>
>> On Tue, 2010-10-12 at 14:37 -0400, Boris Epstein wrote:
>>> Hello listmates,
>>>
>>> Have any of you used SquashFS?
>>>
>>> See: http://en.wikipedia.org/wiki/SquashFS
>>>
>>> We have tried it on small file sets, seems good but if you have
>>> experience using it, especially to store/archive lage volumes of
>>> files, please share your experience.
>>>
>>> Thanks.
>> ---
>> It is used in the making of Live CDs as in Linux.  CentOS Live CD 5 uses
>
> I was unable to mount it read/write, if that matters.  Error said it
> could only be mounted read-only.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Yes, SquassFS is a read-only FS. Which is fine for us as we intend to
only use it for archiving purposes.

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


Re: [CentOS] SquashFS: how good is it?

2010-10-12 Thread Chad Woolley
On Tue, Oct 12, 2010 at 12:44 PM, JohnS  wrote:
>
> On Tue, 2010-10-12 at 14:37 -0400, Boris Epstein wrote:
>> Hello listmates,
>>
>> Have any of you used SquashFS?
>>
>> See: http://en.wikipedia.org/wiki/SquashFS
>>
>> We have tried it on small file sets, seems good but if you have
>> experience using it, especially to store/archive lage volumes of
>> files, please share your experience.
>>
>> Thanks.
> ---
> It is used in the making of Live CDs as in Linux.  CentOS Live CD 5 uses

I was unable to mount it read/write, if that matters.  Error said it
could only be mounted read-only.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SquashFS: how good is it?

2010-10-12 Thread Boris Epstein
On Tue, Oct 12, 2010 at 2:44 PM, JohnS  wrote:
>
> On Tue, 2010-10-12 at 14:37 -0400, Boris Epstein wrote:
>> Hello listmates,
>>
>> Have any of you used SquashFS?
>>
>> See: http://en.wikipedia.org/wiki/SquashFS
>>
>> We have tried it on small file sets, seems good but if you have
>> experience using it, especially to store/archive lage volumes of
>> files, please share your experience.
>>
>> Thanks.
> ---
> It is used in the making of Live CDs as in Linux.  CentOS Live CD 5 uses
> it
>
> John
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

John,

Thanks, I know that. But live CD (under 1GB) is one thing; a large
data set (say, 4TB) could be something else. I'd like to know, among
other things, if SquashFS could be practically used to create an
archive of that size (and compress it as it goes, too).

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


Re: [CentOS] SquashFS: how good is it?

2010-10-12 Thread JohnS

On Tue, 2010-10-12 at 14:37 -0400, Boris Epstein wrote:
> Hello listmates,
> 
> Have any of you used SquashFS?
> 
> See: http://en.wikipedia.org/wiki/SquashFS
> 
> We have tried it on small file sets, seems good but if you have
> experience using it, especially to store/archive lage volumes of
> files, please share your experience.
> 
> Thanks.
---
It is used in the making of Live CDs as in Linux.  CentOS Live CD 5 uses
it

John

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


Re: [CentOS] using Linux as a front-end controller for a SAN?

2010-10-12 Thread James A. Peltier
- Original Message -
| On Tue, Oct 12, 2010 at 8:07 PM, John R Pierce 
| wrote:
| >  On 10/12/10 10:39 AM, Rudi Ahlers wrote:
| >> Hi all,
| >>
| >> I hope someone can shed some light on this for me. Has anyone
| >> tried,
| >> or have experience with, setting up a Linux server to manage a few
| >> NAS
| >> devices and thus make them all visible to the clients as one large
| >> SAN?
| >>
| >> Basically, I'm thinking it would be a good idea to combine the
| >> current
| >> NAS's we have into one large system (typically a SAN?) and then let
| >> the clients all connect to one server (for authentication, LUN
| >> control, etc), but then when they need to access their drives /
| >> devices / LUN's, they get redirected to the specific server
| >> directly.
| >> I'm also thinking it could be a good way to say some IP addresses,
| >> i.e. instead of giving each NAS a public IP, they could all have
| >> private IP's and then everyone just connects to the public IP if
| >> needed. The servers which will access the NAS's will be on the same
| >> physical LAN and will also be on the same private IP subnet to make
| >> it
| >> easier.
| >>
| >> Does anyone know what I'm talking about?
| >
| >
| > how do you plan to implement redundancy on this system? there's a
| > -huge- single point of failure in the middle of what you're talking
| > about.
| >
| 
| True, but then one could setup a HA server for the management server.
| And probably some load balancer(s) to cater for high availability.
| 
| 
| 
| >
| > would this be SAN storage (eg, block storage, like ISCSI, FC) or
| > would
| > it be NAS storage (file storage like NFS, SMB/CIFS) ?
| >
| 
| both? Many NAS devices offer both iSCSI & NFS / SMB / CIFS.
| 
| 
| Ideally, I want to setup a scalable SAN, with reliability in mind on a
| RAID 6 / RAID10 concept, but need each client to only connect to the
| relevant server where his data is stored.
| 
| --
| 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


So your issues to address are going to be:

A) How do I make it reliable (H/A solution of some sort)
B) How do I make it scalable (load balancing of some sort)
C) How do I make it perform well (iSCSI / NFS / SMB / CIFS all in kernel)

You need to know that in your current setup you have more aggregated 
performance across each of the 3 SANs than you would have with a single 
centralized general purpose solution, such as a GNU/Linux head in front of the 
devices.  Are these devices block devices only or do the SAN heads provide 
protocol availability as well.

I tried a similar setup with Solaris 10 ZFS and iSCSI and the performance was 
abysmal.  This was because the iSCSI initiator/server ran in user space.  Very 
busy file systems had very poor performance.  Reclaimation of space after 
deleting snapshots on a file system with lots of snapshots killed disk 
performance, etc.

The GNU/Linux solution had it's own issues around performance and associated 
with the various file systems.  For example, XFS requiring a new UUID be 
generated for snapshotted volumes.  Difficult H/A setups, each with their own 
warts. This is just one example of many!

What you are looking for is something like the FalconStor or Panacas PanFS.  
These products are designed specifically to do these "director" like 
functionality.
 
--
James A. Peltier
Systems Analyst (FASNet), VIVARIUM Technical Director
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.fas.sfu.ca | http://vivarium.cs.sfu.ca
MSN : subatomic_s...@hotmail.com

Does your OS has a man 8 lart?
http://www.xinu.nl/unix/humour/asr-manpages/lart.html


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


[CentOS] SquashFS: how good is it?

2010-10-12 Thread Boris Epstein
Hello listmates,

Have any of you used SquashFS?

See: http://en.wikipedia.org/wiki/SquashFS

We have tried it on small file sets, seems good but if you have
experience using it, especially to store/archive lage volumes of
files, please share your experience.

Thanks.

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


Re: [CentOS] using Linux as a front-end controller for a SAN?

2010-10-12 Thread m . roth
Rudi Ahlers wrote:
> On Tue, Oct 12, 2010 at 8:07 PM, John R Pierce 
> wrote:
>>  On 10/12/10 10:39 AM, Rudi Ahlers wrote:
>>>
>>> I hope someone can shed some light on this for me. Has anyone tried,
>>> or have experience with, setting up a Linux server to manage a few NAS
>>> devices and thus make them all visible to the clients as one large
>>> SAN?
>>>
>>> Basically, I'm thinking it would be a good idea to combine the current
>>> NAS's we have into one large system (typically a SAN?) and then let
>>> the clients all connect to one server (for authentication, LUN

>>> Does anyone know what I'm talking about?
>>
>> how do you plan to implement redundancy on this system?   there's a
>> -huge- single point of failure in the middle of what you're talking
>> about.
>
> True, but then one could setup a HA server for the management server.
> And probably some load balancer(s) to cater for high availability.

Not *quite* sure I get what you want, but *if* I get it right, you might
consider making the NAS into a glusterfs filesystem, and then re-exporting
it from your front-end, and that could be h/a.

 mark

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


Re: [CentOS] using Linux as a front-end controller for a SAN?

2010-10-12 Thread Rudi Ahlers
On Tue, Oct 12, 2010 at 8:07 PM, John R Pierce  wrote:
>  On 10/12/10 10:39 AM, Rudi Ahlers wrote:
>> Hi all,
>>
>> I hope someone can shed some light on this for me. Has anyone tried,
>> or have experience with, setting up a Linux server to manage a few NAS
>> devices and thus make them all visible to the clients as one large
>> SAN?
>>
>> Basically, I'm thinking it would be a good idea to combine the current
>> NAS's we have into one large system (typically a SAN?) and then let
>> the clients all connect to one server (for authentication, LUN
>> control, etc), but then when they need to access their drives /
>> devices / LUN's, they get redirected to the specific server directly.
>> I'm also thinking it could be a good way to say some IP addresses,
>> i.e. instead of giving each NAS a public IP, they could all have
>> private IP's and then everyone just connects to the public IP if
>> needed. The servers which will access the NAS's will be on the same
>> physical LAN and will also be on the same private IP subnet to make it
>> easier.
>>
>> Does anyone know what I'm talking about?
>
>
> how do you plan to implement redundancy on this system?   there's a
> -huge- single point of failure in the middle of what you're talking about.
>

True, but then one could setup a HA server for the management server.
And probably some load balancer(s) to cater for high availability.



>
> would this be SAN storage (eg, block storage, like ISCSI, FC) or would
> it be NAS storage (file storage like NFS, SMB/CIFS) ?
>

both? Many NAS devices offer both iSCSI & NFS / SMB / CIFS.


Ideally, I want to setup a scalable SAN, with reliability in mind on a
RAID 6 / RAID10 concept, but need each client to only connect to the
relevant server where his data is stored.

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


Re: [CentOS] using Linux as a front-end controller for a SAN?

2010-10-12 Thread John R Pierce
  On 10/12/10 10:39 AM, Rudi Ahlers wrote:
> Hi all,
>
> I hope someone can shed some light on this for me. Has anyone tried,
> or have experience with, setting up a Linux server to manage a few NAS
> devices and thus make them all visible to the clients as one large
> SAN?
>
> Basically, I'm thinking it would be a good idea to combine the current
> NAS's we have into one large system (typically a SAN?) and then let
> the clients all connect to one server (for authentication, LUN
> control, etc), but then when they need to access their drives /
> devices / LUN's, they get redirected to the specific server directly.
> I'm also thinking it could be a good way to say some IP addresses,
> i.e. instead of giving each NAS a public IP, they could all have
> private IP's and then everyone just connects to the public IP if
> needed. The servers which will access the NAS's will be on the same
> physical LAN and will also be on the same private IP subnet to make it
> easier.
>
> Does anyone know what I'm talking about?


how do you plan to implement redundancy on this system?   there's a 
-huge- single point of failure in the middle of what you're talking about.


would this be SAN storage (eg, block storage, like ISCSI, FC) or would 
it be NAS storage (file storage like NFS, SMB/CIFS) ?


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


Re: [CentOS] using Linux as a front-end controller for a SAN?

2010-10-12 Thread Rudi Ahlers
On Tue, Oct 12, 2010 at 7:54 PM, Bill Campbell  wrote:
> On Tue, Oct 12, 2010, Rudi Ahlers wrote:
>>Hi all,
>>
>>I hope someone can shed some light on this for me. Has anyone tried,
>>or have experience with, setting up a Linux server to manage a few NAS
>>devices and thus make them all visible to the clients as one large
>>SAN?
>
> I don't know about Linux solutions for this, but I did see what
> appeared to be an interesting solution for this at a WMware
> meeting recently.  Falconstor Software virtualizes SAN storage in
> much the same way VMware virtualizes servers.  My guess is it
> isn't cheap, but reinventing wheels can be expensive too.
>
>        http://www.falconstor.com/
>
> Bill
> --



That's exactly what I had in mind :) Netapp has something similar but
I forgot what it's called. I just don't like buying into,and being
bound to, proprietary systems. And I don't see the worth in buying one
only to find that it doesn't really suit my needs or work as well as I
hoped it would. With Linux (or for that matter Solaris / BSD) I know I
could at least put together something that will suit my needs, and not
the developers ideas of what they think I want



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


Re: [CentOS] SELinux policy for dkim-milter

2010-10-12 Thread Ben McGinnes
On 13/10/10 1:44 AM, Ben McGinnes wrote:
> Hello,
>   Does anyone have a sample SELinux policy for dkim-milter?
> 
> I'm using the configuration from this page:
> 
> http://www.howtoforge.com/set-up-dkim-for-multiple-domains-on-postfix-with-dkim-milter-2.8.x-centos-5.3
> 
> Along with the latest RPM from the link on that page.

Okay, my solution was this:

module dkimlocal 1.0;

require {
type postfix_smtpd_t;
type postfix_cleanup_t;
class tcp_socket { read write };
}

#= postfix_cleanup_t ==
allow postfix_cleanup_t postfix_smtpd_t:tcp_socket { read write };
#EOF

Which was generated from the audit.log.  Simply trying to load it with
"semodule -i dkimlocal.te" failed (magic number error), but doing the
following fixed it:

make -f /usr/share/selinux/devel/Makefile
semodule -i dkimlocal.pp

Special thanks go to Dan Walsh at Red Hat for lending a hand here.


Regards,
Ben

-- 
Ben McGinnes  http://www.adversary.org/  Twitter: benmcginnes
Systems Administrator, Writer, ICT Consultant
Encrypted email preferred - primary OpenPGP/GPG key: 0xA04AE313
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x371AC5BFA04AE313



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using Linux as a front-end controller for a SAN?

2010-10-12 Thread Bill Campbell
On Tue, Oct 12, 2010, Rudi Ahlers wrote:
>Hi all,
>
>I hope someone can shed some light on this for me. Has anyone tried,
>or have experience with, setting up a Linux server to manage a few NAS
>devices and thus make them all visible to the clients as one large
>SAN?

I don't know about Linux solutions for this, but I did see what
appeared to be an interesting solution for this at a WMware
meeting recently.  Falconstor Software virtualizes SAN storage in
much the same way VMware virtualizes servers.  My guess is it
isn't cheap, but reinventing wheels can be expensive too.

http://www.falconstor.com/

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

Democracy is the theory that the common people know what they
want and deserve to get it good and hard. == H.L. Mencken
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] using Linux as a front-end controller for a SAN?

2010-10-12 Thread Rudi Ahlers
Hi all,

I hope someone can shed some light on this for me. Has anyone tried,
or have experience with, setting up a Linux server to manage a few NAS
devices and thus make them all visible to the clients as one large
SAN?

Basically, I'm thinking it would be a good idea to combine the current
NAS's we have into one large system (typically a SAN?) and then let
the clients all connect to one server (for authentication, LUN
control, etc), but then when they need to access their drives /
devices / LUN's, they get redirected to the specific server directly.
I'm also thinking it could be a good way to say some IP addresses,
i.e. instead of giving each NAS a public IP, they could all have
private IP's and then everyone just connects to the public IP if
needed. The servers which will access the NAS's will be on the same
physical LAN and will also be on the same private IP subnet to make it
easier.

Does anyone know what I'm talking about?

-- 
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] CentOS-announce Digest, Vol 68, Issue 6

2010-10-12 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

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

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

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


Today's Topics:

   1. CESA-2010:0742 Moderate CentOS 5 i386 postgresql  Update
  (Karanbir Singh)
   2. CESA-2010:0742 Moderate CentOS 5 x86_64   postgresql Update
  (Karanbir Singh)
   3. CEBA-2010:0716  CentOS 5 i386 conga Update (Karanbir Singh)
   4. CEBA-2010:0716  CentOS 5 x86_64 conga Update (Karanbir Singh)


--

Message: 1
Date: Mon, 11 Oct 2010 16:06:25 +
From: Karanbir Singh 
Subject: [CentOS-announce] CESA-2010:0742 Moderate CentOS 5 i386
postgresql  Update
To: centos-annou...@centos.org
Message-ID: <20101011160625.ga...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2010:0742 Moderate

Upstream details at : https://rhn.redhat.com/errata/RHSA-2010-0742.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

i386:
a2f087dd2963808a1b0001d6917ab5ee  postgresql-8.1.22-1.el5_5.1.i386.rpm
412ae489675af469f079e34df10270c3  postgresql-contrib-8.1.22-1.el5_5.1.i386.rpm
02bc4a270543a089b45f8fbe5e607d36  postgresql-devel-8.1.22-1.el5_5.1.i386.rpm
f4e475082cce5ec1a39d4a062c1a7e59  postgresql-docs-8.1.22-1.el5_5.1.i386.rpm
2fc002db451811bf3fe44b9e5e22811a  postgresql-libs-8.1.22-1.el5_5.1.i386.rpm
9c32ef7a6cae292141a6221b5accb2d0  postgresql-pl-8.1.22-1.el5_5.1.i386.rpm
4667909e671f3b4a7bd73aa8a247a72a  postgresql-python-8.1.22-1.el5_5.1.i386.rpm
b8daa29c5082f871f8eeeb422ce6a631  postgresql-server-8.1.22-1.el5_5.1.i386.rpm
d4edf5e0e060de8651927f4cf46023ea  postgresql-tcl-8.1.22-1.el5_5.1.i386.rpm
026aa585667d56422f5feab3cfea4523  postgresql-test-8.1.22-1.el5_5.1.i386.rpm

Source:
4a2a044075d02bcabcf8221189c3e48d  postgresql-8.1.22-1.el5_5.1.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net



--

Message: 2
Date: Mon, 11 Oct 2010 16:06:25 +
From: Karanbir Singh 
Subject: [CentOS-announce] CESA-2010:0742 Moderate CentOS 5 x86_64
postgresql Update
To: centos-annou...@centos.org
Message-ID: <20101011160625.ga...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2010:0742 Moderate

Upstream details at : https://rhn.redhat.com/errata/RHSA-2010-0742.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

x86_64:
0e1254a1eade7a996020c491a9952d35  postgresql-8.1.22-1.el5_5.1.x86_64.rpm
b98d09b3352570c97471ad3cbc5f3644  postgresql-contrib-8.1.22-1.el5_5.1.x86_64.rpm
848a8db88a0d99f265796dfd97f6080b  postgresql-devel-8.1.22-1.el5_5.1.i386.rpm
2c896cdd9703a590692833f119c12fae  postgresql-devel-8.1.22-1.el5_5.1.x86_64.rpm
701935e781c34fb85c02f7e4359afd2a  postgresql-docs-8.1.22-1.el5_5.1.x86_64.rpm
58ff60ee3cafcc94452c5ec2077073e9  postgresql-libs-8.1.22-1.el5_5.1.i386.rpm
937e99b9179c67ae898ddb884d03f0bf  postgresql-libs-8.1.22-1.el5_5.1.x86_64.rpm
16e442754dfd2a993cc25c8907fe4349  postgresql-pl-8.1.22-1.el5_5.1.x86_64.rpm
4da4a7ed1586f30d5346dc68fd2840e4  postgresql-python-8.1.22-1.el5_5.1.x86_64.rpm
0df21282010775ed76e1c7aac8f25980  postgresql-server-8.1.22-1.el5_5.1.x86_64.rpm
ab12ba6fbe351a0abb47102607123bd2  postgresql-tcl-8.1.22-1.el5_5.1.x86_64.rpm
f97a5bd654e77623050a13fd1cc4a5c1  postgresql-test-8.1.22-1.el5_5.1.x86_64.rpm

Source:
4a2a044075d02bcabcf8221189c3e48d  postgresql-8.1.22-1.el5_5.1.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net



--

Message: 3
Date: Mon, 11 Oct 2010 18:06:05 +
From: Karanbir Singh 
Subject: [CentOS-announce] CEBA-2010:0716  CentOS 5 i386 conga Update
To: centos-annou...@centos.org
Message-ID: <20101011180605.ga1...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2010:0716 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2010-0716.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

i386:
093a78cb38f91231691bc8fdac6d8ed2  luci-0.12.2-12.el5.centos.4.i386.rpm
82f7cdf8a3782f771789bb6e58c4dedc  ricci-0.12.2-12.el5.centos.4.i386.rpm

Source:
79632debd088ae52b4eeb6dbd209120c  conga-0.12.2-12.el5.centos.4.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net



--

Message

Re: [CentOS] Does anyone know where I can get an RPM of pyDB2?

2010-10-12 Thread m . roth
Kevin Thorpe wrote:
>   On 12/10/2010 14:44, John Doe wrote:
>> From: Kevin Thorpe
>>
>>> Sorry to be a pain but I'd really like PyDB2 (DB2 client for python).
>>> IBM only seem to offer the source which won't compile without a copy of
>>> DB2. I only need it to extract some info from a customer site so I
>>> don't
>>> really want to have to get DB2.
>> Not a direct answer but, maybe install:
>> http://www.ibm.com/developerworks/downloads/im/udbexp/
>> and try to compile again.
>> No idea if it will work though...
> I was afraid that was the answer. Similar problems with Oracle. Couldn't
> connect using the Python client without Oracle actually being installed.
> Nice waste of drive space that. Both companies should sponsor 'a major
> North American linux distributor' to package their products properly.

You mean like "Oracle's Unbreakable Linux"? And I thought RH was IBM's
vendor of choice.

mark

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


Re: [CentOS] Does anyone know where I can get an RPM of pyDB2?

2010-10-12 Thread Kevin Thorpe

 On 12/10/2010 14:44, John Doe wrote:

From: Kevin Thorpe


Sorry to be a pain but I'd really like PyDB2 (DB2 client for python).
IBM only seem to offer the source which won't compile without a copy of
DB2. I only need it to extract some info from a customer site so I don't
really want to have to get DB2.

Not a direct answer but, maybe install:
http://www.ibm.com/developerworks/downloads/im/udbexp/
and try to compile again.
No idea if it will work though...
I was afraid that was the answer. Similar problems with Oracle. Couldn't 
connect using the Python client without Oracle actually being installed. 
Nice waste of drive space that. Both companies should sponsor 'a major 
North American linux distributor' to package their products properly.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Samba issue accessing shares by IP address

2010-10-12 Thread Alfred von Campe
We have a strange issue with Samba shares on our CentOS 5.5 systems in that we 
can access the shares by name, but not by IP address.  First a little 
background.  Recently, our domain controllers were upgraded and I had to tweak 
the smb.conf file by changing security from DOMAIN to ADS and adding a setting 
for realm.  My smb.conf file looks like this (names and IP addresses have been 
changed):

[global]
workgroup = OUR_DOMAIN
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody 
-s /bin/false %m$
domain logons = No
domain master = No
security = ADS
encrypt passwords = Yes
password server = server1 server2
username map = /etc/samba/smbusers
usershare max shares = 100
passdb backend = smbpasswd
wins support = No
wins server = 1.2.3.4
name resolve order = lmhosts host wins
log file = /var/log/samba/log.%m
realm = COMPANY.COM
[scratch]
comment = Scratch area for builds
inherit acls = Yes
path = /scratch
read only = No

I also had to rejoin the CentOS systems to the domain by running "net ads join 
-U x" on each system.  I can access the scratch share from any Windows PC 
in our domain without having to authenticate as long as I use the name of the 
CentOS system.  But if I try to use the IP address of a CentOS system I get the 
"The network path was not found" error message. We have some systems in a lab 
from which we need to access the share by IP address.  This worked before the 
recent changes, and I can't figure out which of these changes may have caused 
this.  Any ideas?

TIA for any help,
Alfred

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


[CentOS] SELinux policy for dkim-milter

2010-10-12 Thread Ben McGinnes
Hello,
Does anyone have a sample SELinux policy for dkim-milter?

I'm using the configuration from this page:

http://www.howtoforge.com/set-up-dkim-for-multiple-domains-on-postfix-with-dkim-milter-2.8.x-centos-5.3

Along with the latest RPM from the link on that page.


Regards,
Ben

-- 
Ben McGinnes  http://www.adversary.org/  Twitter: benmcginnes
Systems Administrator, Writer, ICT Consultant
Encrypted email preferred - primary OpenPGP/GPG key: 0xA04AE313
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x371AC5BFA04AE313



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Does anyone know where I can get an RPM of pyDB2?

2010-10-12 Thread John Doe
From: Kevin Thorpe 

> Sorry to be a pain but I'd really like PyDB2 (DB2 client for python). 
> IBM only seem to offer the source which won't compile without a copy of 
> DB2. I only need it to extract some info from a customer site so I don't 
> really want to have to get DB2.

Not a direct answer but, maybe install:
http://www.ibm.com/developerworks/downloads/im/udbexp/
and try to compile again.
No idea if it will work though...

JD


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


Re: [CentOS] yum update error

2010-10-12 Thread Joseph L. Casale
>I've always wondered what the 1: means at the beginning of a package name?

Epoch Tag, see http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-tags.html
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Does anyone know where I can get an RPM of pyDB2?

2010-10-12 Thread Kevin Thorpe
  Sorry to be a pain but I'd really like PyDB2 (DB2 client for python). 
IBM only seem to offer the source which won't compile without a copy of 
DB2. I only need it to extract some info from a customer site so I don't 
really want to have to get DB2.

any ideas?
thanks
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum update error

2010-10-12 Thread Timothy Murphy
Timo Schoeler wrote:


> thus Timothy Murphy spake:
>> For some reason all the perl man pages cause yum errors like
>> -
>> Transaction Check Error:
>>   file /usr/share/man/man1/c2ph.1.gz from install of
>>   perl-5.8.8-32.el5_5.2.x86_64 conflicts with file from package
>>   perl-5.8.8-32.el5_5.1.i386
>> -

> Ran into this, too, recently. I don't know whether it's the
> 'recommended' way, but removing perl-5.8.8-32.el5_5.1.i386 (on a 64bit
> machine), which was possible without removing anything else, and then
> updating (which included the installion of perl-5.8.8-32.el5_5.2.x86_64
> fixed it for me.

Thanks, I followed your advice.
Actually, "sudo yum remove perl-5.8.8-32.el5_5.1.i386"
also removed one version of gnumeric 
(which I don't use on this machine anyway).
---
--> Processing Dependency: libperl.so for package: gnumeric
--> Running transaction check
---> Package gnumeric.i386 1:1.6.3-15.el5.2 set to be erased
---
However, it turns out that there is still a working version of gnumeric
on the machine:
---
[...@helen ~]$ sudo rpm -qf /usr/bin/gnumeric
gnumeric-1.6.3-15.el5.2
---

I've always wondered what the 1: means at the beginning of a package name?

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


Re: [CentOS] updating centOS5.3

2010-10-12 Thread Karanbir Singh
On 10/12/2010 11:29 AM, Ritika Garg wrote:
> I have centOS5.3 installed in the system. I have never updated it but
> now am planning to update. While doing "yum update", is there any
> possibility that the update might hamper the execution of any
> software/application installed on the system? Is there anything
> particular to note before updating the system?

If you are not updating your machine on a regular basis, there will 
always be a long list of updates when you come around to running them. 
So make sure you check what repositories you have enabled, what packages 
are coming from where and what your upgrade process is going to be. 
Usually, doing a 'yum list updates' will tell you whats going to update 
- so study that list, and see if anything in there has an impact on your 
apps and how.

basically : make sure you know whats going to change, and where that 
change is going to come from.

if everything on your machine did not come from rpms / yum-repos : you 
might need to workout a plan to upgrade those components as well ( and 
maybe switch to using rpms for those )


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


Re: [CentOS] updating centOS5.3

2010-10-12 Thread John Doe
From: Rudi Ahlers 

> On Tue, Oct 12, 2010 at 12:40 PM, Karanbir Singh  wrote:
>>  On 10/12/2010 11:33 AM, Rudi Ahlers wrote:
>>> but the process would  probably be the same for both "yum update" and
>>> "yum upgrade" in this  case.
>> Just for completeness sake - 'upgrade' has been deprecated  for a few
>> years now.
> oh, really? I  didn't even know that.. Why is it still available  then?

>From the man page:
  upgrade
  Is the same as the update command with the --obsoletes flag set.

JD


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


Re: [CentOS] updating centOS5.3

2010-10-12 Thread John Doe
From: Ritika Garg 
>I have centOS5.3 installed in the system. I have never updated it but now am 
>planning to update. While doing "yum update", is there any possibility that 
>the 

>update might hamper the execution of any software/application installed on the 
>system? Is there anything particular to note before updating the system? 

I think:
yum clean all && yum update glibc\*
yum clean all && yum update yum\* rpm\* python\*
yum update"

And watch out for the .rpmsave or .rpmnew files...

JD


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


Re: [CentOS] updating centOS5.3

2010-10-12 Thread Karanbir Singh
On 10/12/2010 11:52 AM, Rudi Ahlers wrote:
>> Just for completeness sake - 'upgrade' has been deprecated for a few
>> years now.
> oh, really? I didn't even know that.. Why is it still available then?

One of the core focus for CentOS  platform is to not break stuff for 
people - in this case you got a free win by the fact that the command 
still exists ( mostly as an alias ), so your scripts don't break. So the 
scripts you wrote way back when, continue to work without any user 
interface breakage.

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


Re: [CentOS] updating centOS5.3

2010-10-12 Thread Rudi Ahlers
On Tue, Oct 12, 2010 at 12:40 PM, Karanbir Singh  wrote:
> On 10/12/2010 11:33 AM, Rudi Ahlers wrote:
>> but the process would probably be the same for both "yum update" and
>> "yum upgrade" in this case.
>
> Just for completeness sake - 'upgrade' has been deprecated for a few
> years now.
>
> - KB
> ___



oh, really? I didn't even know that.. Why is it still available then?


r...@master1:[~]$ yum
Loaded plugins: fastestmirror, priorities
You need to give some command
usage: yum [options] COMMAND

List of Commands:


-snip-

update Update a package or packages on your system
upgradeUpdate packages taking obsoletes into account




-- 
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] SOLVED (Re: Openwebmail emergency (Perl))

2010-10-12 Thread Jussi Hirvi
Ok, I found a fix. I had to learn a little perl for that. :-)

The offending file was /var/www/cgi-bin/openwebmail/shared/ow-shared.pm

In that file, at the top of subroutine httpprint:

# ADDED:
 use IO::Compress::Gzip qw(gzip $GzipError) ;

Further down in that subroutine, around line 1175:

# REMOVED:
 my $zhtml=Compress::Zlib::memGzip(join('',@{$r_htmls}));
# ADDED
 my $zhtml;
 my $input = join('',@{$r_htmls});
 gzip  \$input => \$zhtml or die "gzip failed: $GzipError\n";


I will do the same fix to the other occurrences, and trust that it will 
work!!

Many thanks to all, especially David!

- Jussi

-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hi...@greenspot.fi * http://www.greenspot.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] updating centOS5.3

2010-10-12 Thread Karanbir Singh
On 10/12/2010 11:33 AM, Rudi Ahlers wrote:
> but the process would probably be the same for both "yum update" and
> "yum upgrade" in this case.

Just for completeness sake - 'upgrade' has been deprecated for a few 
years now.

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


Re: [CentOS] updating centOS5.3

2010-10-12 Thread Rudi Ahlers
On Tue, Oct 12, 2010 at 12:29 PM, Ritika Garg  wrote:
> I have centOS5.3 installed in the system. I have never updated it but now am
> planning to update. While doing "yum update", is there any possibility that
> the update might hamper the execution of any software/application installed
> on the system? Is there anything particular to note before updating the
> system?
>
> ___


I haven't had any problems in updating CentOS 5.3 to 5.4 or even 5.5
directly. Although I normally use yum upgrade instead of yum update,
but the process would probably be the same for both "yum update" and
"yum upgrade" in this case.

-- 
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] updating centOS5.3

2010-10-12 Thread Ritika Garg
I have centOS5.3 installed in the system. I have never updated it but now am
planning to update. While doing "yum update", is there any possibility that
the update might hamper the execution of any software/application installed
on the system? Is there anything particular to note before updating the
system?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Openwebmail emergency (Perl)

2010-10-12 Thread Jussi Hirvi
On 12.10.2010 10.15, David Hrbáč wrote:
> Try removing perl-IO-Compress-Zlib and install only perl-IO-Compress and
> perl-Compress-Raw-Zlib.

Hm, I don't know what you mean. That seems to be what I have already.

- perl-IO-Compress-Zlib is not installed
   (it seems to be from dries repo, and obsoleted by perl-IO-Compress)
- perl-IO-Compress is already installed   (2.030)
- perl-Compress-Raw-Zlib is already installed (2.030)

- Jussi

-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hi...@greenspot.fi * http://www.greenspot.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Openwebmail emergency (Perl)

2010-10-12 Thread Jussi Hirvi
On 12.10.2010 10.29, David Hrbáč wrote:
> 1) Does it include:
> use Compress::Zlib;
> 2) What repo are you using for Openwebmail?
> 3) You can always use temp hack - disbale gzip -
> "is_http_compression_enabled()"

1) No, this file, /var/www/cgi-bin/openwebmail/shares/ow-shared.pl does 
not include use Compress::Zlib. There are a lot of "use" declarations, 
some referring to other files...

2) the repo was openwebmail

3) If you want to take a look, see the archive at

http://www.greenspot.fi/postilaatikko/

It is a zipped version of /var/www/cgi-bin/openwebmail

Could you give a syntax example of > is_http_compression_enabled()

Would this for example be right:

 my 
$zhtml=is_http_compression_enabled(Compress::Zlib::memGzip(join('',@{$r_htmls})));

- Jussi

-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hi...@greenspot.fi * http://www.greenspot.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LDAP Mail Notice

2010-10-12 Thread sync
On Tue, Oct 12, 2010 at 2:38 PM, Sean Hart  wrote:

>
>
>>>
>>  Maybe what i said is not clear, because my English is too pool . Please
>> forgive me if  my expression is not precise.
>>
>>   Doesn't matter what mail server you use, email is email.
>
>
>>  The following  is my environment :
>>
>> Workspace Environment : CentOS 5.5  64bits  , Using Openldap Server  or
>> 389 LDAP Server
>>
>> Mail Server :  Windows  Mail Server
>>
>> For example :
>>
>> If I create the new account called Tim on LDAP Server  , and his password
>> is 123456 , and his mail address is t...@test.com
>> Then will send an E-mail to him to notice his information , like his name
>> and his passowrd.
>>
>>
>> So Would someone can give some suggestions ?
>>
>  Before we go any further on this, I'd like to give a very serious
> warning.  It is NEVER a good idea to email a password.  Email is, by
> definition, insecure.
>

Thanks for your advice . This is a test for the our company  Intranet .


>
> I'm not familiar with 389 LDAP Server, and after a quick look, it would
> make sense for me to read up on it.  Anyhow, my advice is going to come from
> the OpenLDAP side of things.
>
> I would:
>
>1. Set up OpenLDAP (make sure to get a real certificate and require
>TLS/SSL)
>2. If using Samba, set up the smbldap tools (
>http://en.wikipedia.org/wiki/Smbldap-Tools), can be useful even if not
>using samba...
>3. Start script (I'd use perl, since it's what I'm most familiar with)
>   1. Generate username (either collect from input or generate somehow
>   2. Generate password (There's a sub for that on the page referenced
>   earlier)
>   3. Contemplate making sure that the username is unique, and group
>   membership, etc.
>4. call smbldap-useradd to add the user (add stuff like -m for the
>   mail address, check the smbldap-useradd documentation for handy switches
>   5. Compose body of email to user (this is probably mostly static,
>   but you will most likely want to substitute some variables like 
> username,
>   etc
>   6. send the email (sub on the page earlier)
>   7. I repeat, please don't email passwords...  have them call you for
>   them or something...  email is the least secure thing on the damn planet
>4. Sit back and have a beer, cuz yer done
>
> I'm happy to help if you need more.
>

I found the solution for sending mail to the new account .

It may use the perl script which calls the Net::SMTP module or Mail::Sender
module  or Mail::Sendmail  module to finish that .

And I had a test  just now and this is ok .

Thanks all ..


>
> Cheers,
> Sean
>
>
> ___
> 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] Openwebmail emergency (Perl)

2010-10-12 Thread David Hrbáč
Dne 12.10.2010 9:10, Jussi Hirvi napsal(a):
> 
> sub httpprint {
> my ($r_headers, $r_htmls)=...@_;
> if (is_http_compression_enabled()) {
>my $zhtml=Compress::Zlib::memGzip(join('',@{$r_htmls}));
>if ($zhtml ne '') {
>   print httpheader(@{$r_headers},
>'-Content-Encoding'=>'gzip',
>'-Vary'=>'Accept-Encoding',
>'-Content-Length'=>length($zhtml)), $zhtml;
>   return;
>}
> }
> my $len; foreach (@{$r_htmls}) { $len+=length($_); }
> print httpheader(@{$r_headers}, '-Content-Length'=>$len), @{$r_htmls};
> return;
> }
> 

1) Does it include:
use Compress::Zlib;
2) What repo are you using for Openwebmail?
3) You can always use temp hack - disbale gzip -
"is_http_compression_enabled()"
DH


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


Re: [CentOS] Openwebmail emergency (Perl)

2010-10-12 Thread David Hrbáč
Dne 12.10.2010 9:03, Jussi Hirvi napsal(a):
> On 12.10.2010 9.52, Sean Hart wrote:
>> Not sure if this will help... Have you tried updating perl-IO-Compress?
> 
> It is up-to-date. The whole problem started when I did "yum update" 
> yesterday.
> 
> - Jussi
> 

Try removing perl-IO-Compress-Zlib and install only perl-IO-Compress and
perl-Compress-Raw-Zlib.
DH
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Openwebmail emergency (Perl)

2010-10-12 Thread Sean Hart
  On 10/11/10 11:51 PM, Jussi Hirvi wrote:
> It seems Openwebmail is using Perl-Compress-Zlib from rpmforce, but in
> Centos this is obsoleted by Perl-IO-Compress, and there is a conflict.
>
> This I got when I tried to install the rpmforce package:
>
> [r...@mail log]# yum install perl-Compress-Zlib
> Loaded plugins: fastestmirror, installonlyn
> Loading mirror speeds from cached hostfile
>* addons: ftp.funet.fi
>* base: ftp.funet.fi
>* extras: ftp.funet.fi
>* rpmforge: wftp.tu-chemnitz.de
>* updates: ftp.funet.fi
> Setting up Install Process
> Package perl-Compress-Zlib is obsoleted by perl-IO-Compress, trying to
> install perl-IO-Compress-2.030-2.el5.rf.noarch instead
> Package perl-IO-Compress-2.030-2.el5.rf.noarch already installed and
> latest version
> Nothing to do
In that case, it depends on how brave/desperate you are ;)

First off... You had better have a backup of your system.  If you don't 
already, you've learned a valuable lesson, but still get one RIGHT NOW.

Is there anything on the Openwebmail forums/mailing lists?  I can't 
imagine you are the only one facing this.

Next, you could try removing the conflict or getting the required Zlib 
package (rpm or sourced from cpan) and force install, but I don't really 
recommend.  I don't use Openwebmail, so I can't speak to the 
requirements there.

Good luck,
~Sean

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


Re: [CentOS] Openwebmail emergency (Perl)

2010-10-12 Thread Jussi Hirvi
Thanks. Too bad I cannot speak Perl.

Here's the info:

[r...@mail]# uname -a
Linux mail.greenspot.fi 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:09:20 
EDT 2010 i686 i686 i386 GNU/Linux


[r...@mail]# rpm -q perl-Compress-Raw-Zlib perl-IO-Compress 
perl-IO-Compress-Zlib perl
perl-Compress-Raw-Zlib-2.030-1.el5.rf
perl-IO-Compress-2.030-2.el5.rf
package perl-IO-Compress-Zlib is not installed
perl-5.8.8-32.el5_5.2
[r...@mail tiina]#


This could be caused by something in Openwebmail. I found info that 
whenever memGzip is not successful, it returns undef - this probabvly 
means "undefined subroutine", which is what Openwebmail now tells me.

http://search.cpan.org/~pmqs/IO-Compress-2.030/lib/Compress/Zlib.pm


Maybe this will help - here is the offending Openwebmail function:

sub httpprint {
my ($r_headers, $r_htmls)=...@_;
if (is_http_compression_enabled()) {
   my $zhtml=Compress::Zlib::memGzip(join('',@{$r_htmls}));
   if ($zhtml ne '') {
  print httpheader(@{$r_headers},
   '-Content-Encoding'=>'gzip',
   '-Vary'=>'Accept-Encoding',
   '-Content-Length'=>length($zhtml)), $zhtml;
  return;
   }
}
my $len; foreach (@{$r_htmls}) { $len+=length($_); }
print httpheader(@{$r_headers}, '-Content-Length'=>$len), @{$r_htmls};
return;
}

- Jussi





On 12.10.2010 10.01, David Hrbáč wrote:
> Dne 12.10.2010 8:28, Jussi Hirvi napsal(a):
>> After system update yesterday, Openwebmail now gives an error:
>>
>>> Undefined subroutine&Compress::Zlib::memGzip called at 
>>> /var/www/cgi-bin/openwebmail/shares/ow-shared.pl line 1175.
>>
>> I tried to do
>>
>> perl -MCPAN -e shell
>> install Compress::Zlib
>>
>> But it says Compress::Zlib is up-to-date. What do to?? I cannot find an
>> answer by googling.
>>
>> - Jussi
>>
>
> Hi,
> what's the uname -a and rpm -q perl-Compress-Raw-Zlib perl-IO-Compress
> perl-IO-Compress-Zlib perl.
>
> I have just created testing pl script with Compress::Zlib::memGzip
> running smoothly.
> DH
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hi...@greenspot.fi * http://www.greenspot.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Openwebmail emergency (Perl)

2010-10-12 Thread Jussi Hirvi
On 12.10.2010 9.52, Sean Hart wrote:
> Not sure if this will help... Have you tried updating perl-IO-Compress?

It is up-to-date. The whole problem started when I did "yum update" 
yesterday.

- Jussi

-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hi...@greenspot.fi * http://www.greenspot.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Openwebmail emergency (Perl)

2010-10-12 Thread David Hrbáč
Dne 12.10.2010 8:28, Jussi Hirvi napsal(a):
> After system update yesterday, Openwebmail now gives an error:
> 
>> Undefined subroutine &Compress::Zlib::memGzip called at 
>> /var/www/cgi-bin/openwebmail/shares/ow-shared.pl line 1175.
> 
> I tried to do
> 
> perl -MCPAN -e shell
> install Compress::Zlib
> 
> But it says Compress::Zlib is up-to-date. What do to?? I cannot find an 
> answer by googling.
> 
> - Jussi
> 

Hi,
what's the uname -a and rpm -q perl-Compress-Raw-Zlib perl-IO-Compress
perl-IO-Compress-Zlib perl.

I have just created testing pl script with Compress::Zlib::memGzip
running smoothly.
DH
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos