Re: [CentOS] Server hangs after installing KVM

2013-06-27 Thread Guy Boisvert
Le 2013-06-27 11:18, Tru Huynh a écrit :
>
> Can you rule out a conflict with the LSI card? ie removing it completely.
>
> CentOS 6.4 without installing the virtualisation tool works?
>
> Bios version at latest available version?
>
> Cheers,
>
> Tru

I just installed Ubuntu 12.04 LTS on the serveur with KVM and it works.  
Ubuntu kernel is 3.2.0-29-generic x86_64.

So if other identical servers we have works with CentOS 6.4 and the same 
LSI card, the difference i see for now is the firmware version...Didn't 
had a chance to really compare but it seems to have a few new parameters 
in the problematic server's BIOS.  I tried to change all of them before 
coming here.

I'm opening a tech support case with Supermicro.

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


Re: [CentOS] Server hangs after installing KVM

2013-06-27 Thread Guy Boisvert
Le 2013-06-27 10:39, Reindl Harald a écrit :
>
> Am 27.06.2013 16:26, schrieb Guy Boisvert:
>> As for Supermicro, i was using Tyan before but their support (and
>> associated website) was very bad (last time i used it was 2 years ago,
>> maybe it's better now, dunno...).  If we exclude Supermicro and Tyan,
>> i'm not sure were i could go for "OEM" servers.  I don't like HP, Dell,
>> etc.: Expensive and they use a lot of "for them only" parts + they try
>> to sell packages that are often not what i want
> your choice - you get what you pay for
>
> these days someone buys a HP Pro Liant with a vSphere license
> or install VMware ESXi in the  free version and install his
> operating systems on top of it which is a scaleable solution
> and can be upgraded to a cluster with HA, SAN storages whatever
> without ever re-install the guest systems
>
> but you get what you paied for...

I kicked out VMWare and their "Windoze" tools i hate (i know that now 
they offer a VM with command line tools).  I'm not saying VMWare is not 
good though, it's just i hate their tools.  On top of that, it can cost 
a lot of money.  But they have the features!

I moved to KVM and i'd say i like it a lot.  I'm planning to test OpenStack.

For storage, big names (3Par, Netapp, etc) offer nice things but it is 
rather expensive.  I'm testing iSCSI servers with DRDB, STONITH, etc.

Idea is to use commodity hardware and standard software.  Nothing new 
and i'm not against commercial solution with support and all. It's just 
we try to offer affordable and open solutions.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server hangs after installing KVM

2013-06-27 Thread Guy Boisvert
Le 2013-06-27 10:08, m.r...@5-cent.us a écrit :
> Hi, there,
>
> Guy Boisvert wrote:
>>   I just received a Supermicro server back from factory repair.
>> Installed CentOS 6.3 x86_64 fresh from DVD (tried with 6.4, same
>> result).  Everything goes fine until i install Virtualization* yum
>> groups.  Virtualization is enabled in BIOS.  Server boots, CentOS loads
>> and i have even a login prompt.  If i'm fast enough to enter login name
>> and password, shell works for about 10 sec.  Then, it seems to hang.
>> Pressing CTRL-C seems to work as i see it on screen (CTRL-C text).
>>
>>   I'm used to Xen in CentOS 5 where we can choose a non-Xen kernel at
>> boot time.  With CentOS 6 and KVM, i'm kinda lost!  I Googled a lot and
> The "choose a kernel" is the grub menu, and unless you've disabled it, you
> can still do it. Try hitting any key as soon as you see the "about to boot
> ... in x sec"
>
> I'd boot to single usermode (s at the end of the kernel line), and check
> the logs.
>
> And I really, *REALLY* don't like Supermicro. We've got a large bunch of
> servers from Penguin, who's all Supermicro, and we've sent a ton back for
> repair, as well as doing things here, *and* several of those sent back
> were sent back more than once.
>
> Luck.
>
>mark

Thanks for your response Mark.

I was able to get the Grub menu but there was only one kernel choice.  
I'll try in single user mode and get back here.

As for Supermicro, i was using Tyan before but their support (and 
associated website) was very bad (last time i used it was 2 years ago, 
maybe it's better now, dunno...).  If we exclude Supermicro and Tyan, 
i'm not sure were i could go for "OEM" servers.  I don't like HP, Dell, 
etc.: Expensive and they use a lot of "for them only" parts + they try 
to sell packages that are often not what i want.

Thanks again.

Guy Boisvert, ing.
IngTegration inc.
http://www.ingtegration.com

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


[CentOS] Server hangs after installing KVM

2013-06-27 Thread Guy Boisvert
Hi,

 I just received a Supermicro server back from factory repair. 
Installed CentOS 6.3 x86_64 fresh from DVD (tried with 6.4, same 
result).  Everything goes fine until i install Virtualization* yum 
groups.  Virtualization is enabled in BIOS.  Server boots, CentOS loads 
and i have even a login prompt.  If i'm fast enough to enter login name 
and password, shell works for about 10 sec.  Then, it seems to hang.  
Pressing CTRL-C seems to work as i see it on screen (CTRL-C text).

 I'm used to Xen in CentOS 5 where we can choose a non-Xen kernel at 
boot time.  With CentOS 6 and KVM, i'm kinda lost!  I Googled a lot and 
didn't find anything to disable KVM / select a a non-KVM kernel a boot 
up time.  The server has been repaired but i'm not sure if there is 
still other problems that prevent KVM to work.  I know that they 
installed the last BIOS version.  I have other identical servers that 
works well with KVM.  I tried to disable all i saw for virtualization 
support in BIOS, result is the same.  I did memtest86 tests without problem.

Here are the specs:

Supermicro 6026T-3RF (mainboard X8DT3-S)
BIOS 03/17/12 15:50:21 Ver 2.1
Xeon E5520
Kingston 12 Gig RAM (Triple Channel)
LSI 9240-8i

 What should i do to debug this?  Any pointers, URL, etc would be 
greatly appreciated!


Thanks all.


Guy Boisvert, ing.
IngTegration inc.
http://www.ingtegration.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Sluggish server with big array [SOLVED]

2013-01-20 Thread Guy Boisvert
Le 2013-01-15 10:35, Paul Heinlein a écrit :
> On Tue, 15 Jan 2013, Guy Boisvert wrote:
>
>> I have a couple of samba shares from the 11 TB array (all of them 
>> are on the 11TB array).  The strange behavior is that if i "ls -al 
>> /home/data", i have to wait 7-8 seconds to see the output. If i do a 
>> simple ls, output is instantaneous.  I see about the same delay when 
>> i access the samba shares from the server (related ?).  I don't know 
>> where to start with this!
>
> This sounds like it might be an issue with cacheing user info.
>
> Do you have a remote authentication server, e.g., LDAP? Are you 
> running nscd or sssd? Does re-starting the cacheing daemon help?
>


Hi Paul,

 You were right: I turned off SMB, NMB & Winbind and ls -al on the 
large array become fast as usual.  Digging a little deeper, i found that 
some of the sub-directories in /home/data had been restored from another 
server and that they showed in unknown group "10432" in ls -al .  So i 
just did:

[root@radium home]# chgrp -R "domain users"  /home/data

 So in conclusion, it seems that my "ls -al" on the filesystem 
containing unknown GID translated into queries to Active Directory and 
for whatever reason, resulted in a delay of several seconds (like 10-15 
seconds).

Thanks Paul again.


Guy Boisvert
IngTegration inc.
http://www.ingtegration.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Sluggish server with big array

2013-01-15 Thread Guy Boisvert
Le 2013-01-15 10:35, Paul Heinlein a écrit :
> On Tue, 15 Jan 2013, Guy Boisvert wrote:
>
>> I have a couple of samba shares from the 11 TB array (all of them 
>> are on the 11TB array).  The strange behavior is that if i "ls -al 
>> /home/data", i have to wait 7-8 seconds to see the output. If i do a 
>> simple ls, output is instantaneous.  I see about the same delay when 
>> i access the samba shares from the server (related ?).  I don't know 
>> where to start with this!
>
> This sounds like it might be an issue with cacheing user info.
>
> Do you have a remote authentication server, e.g., LDAP? Are you 
> running nscd or sssd? Does re-starting the cacheing daemon help?


Hi Paul,

 Samba is hooked to Active Directory using Winbind.  sssd is off and 
nscd doesn't seems to be there.  As for AD (Active Directory), a simple 
getent passwd shows all local accounts and very quickly the AD 
accounts.  I read in the Ubuntu mailing lists that there seemed to be 
some bugs with EXT4 and large arrays (very slow mounts). There was a 
message saying that finally the slow mount problems was fixed with 
kernel 3.6!

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


[CentOS] Sluggish server with big array

2013-01-15 Thread Guy Boisvert
0HS-pUKq-dClZwM
   LV Write Accessread/write
   LV Creation host, time radium.canal.qc.ca, 2012-11-28 15:52:17 -0500
   LV Status  available
   # open 1
   LV Size10.42 TiB
   Current LE 2732799
   Segments   1
   Allocation inherit
   Read ahead sectors auto
   - currently set to 256
   Block device   253:2

   --- Logical volume ---
   LV Path/dev/vg_radium/lv_root
   LV Namelv_root
   VG Namevg_radium
   LV UUIDLp5Mkd-Ht2J-XBfF-Yafx-w1HY-nIlN-1771T3
   LV Write Accessread/write
   LV Creation host, time radium.canal.qc.ca, 2012-11-28 13:57:36 -0500
   LV Status  available
   # open 1
   LV Size50.00 GiB
   Current LE 12800
   Segments   1
   Allocation inherit
   Read ahead sectors auto
   - currently set to 256
   Block device   253:0

   --- Logical volume ---
   LV Path/dev/vg_radium/lv_home
   LV Namelv_home
   VG Namevg_radium
   LV UUIDVCvRSg-x1On-9GgR-09we-yIx6-uMvi-dYO2UZ
   LV Write Accessread/write
   LV Creation host, time radium.canal.qc.ca, 2012-11-28 13:57:40 -0500
   LV Status  available
   # open 1
   LV Size443.59 GiB
   Current LE 113560
   Segments   1
   Allocation inherit
   Read ahead sectors auto
   - currently set to 256
   Block device   253:3

   --- Logical volume ---
   LV Path/dev/vg_radium/lv_swap
   LV Namelv_swap
   VG Namevg_radium
   LV UUIDGZorIv-iovS-n2S2-JkSe-bDUl-kwhk-E6potz
   LV Write Accessread/write
   LV Creation host, time radium.canal.qc.ca, 2012-11-28 13:58:01 -0500
   LV Status  available
   # open 1
   LV Size5.91 GiB
   Current LE 1514
   Segments   1
   Allocation inherit
   Read ahead sectors auto
   - currently set to 256
   Block device   253:1


I did directly over lvm:
mkfs.ext4 /dev/vg_radium2/lv_data


[root@radium ~]# parted
GNU Parted 2.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) select /dev/sdb
Using /dev/sdb
(parted) print
Error: /dev/sdb: unrecognised disk label


/etc/fstab
=
/dev/mapper/vg_radium-lv_root   / ext4
defaults,acl1 1
UUID=2169688f-e830-458d-b31e-25aa0dc9c753   /boot ext4
defaults1 2
/dev/mapper/vg_radium-lv_home   /home ext4
defaults1 2
/dev/mapper/vg_radium-lv_swap   swap swap
defaults0 0
tmpfs   /dev/shm tmpfs   
defaults0 0
devpts  /dev/pts devpts  
gid=5,mode=620  0 0
sysfs   /sys sysfs   
defaults0 0
proc/proc proc
defaults0 0
/dev/mapper/vg_radium2-lv_data /home/data  ext4 
defaults,acl,noatime0 3




Sorry for the long post!


Guy Boisvert
IngTegration inc.
http://www.ingtegration.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.6 - Samba server + Windows error 233

2011-06-13 Thread Guy Boisvert
Le 2011-04-29 14:03, Guy Boisvert a écrit :
> Le 2011-04-27 13:44, Ryan Wagoner a écrit :
>> On Wed, Apr 27, 2011 at 10:53 AM, Guy Boisvert
>>wrote:
>>> Hi!
>>>
>>>   I have upgraded my servers yesterday to CentOS 5.6 via yum update.
>>> Everything went smoothly except that i have client workstations not part of
>>> the domain that are not able to access the samba server anymore.  The samba
>>> server is part of the domain.  We recently added Windows 2008 R2 DC.
>>> Everything was working smoothly until the CentOS update.
>> If I remember correctly with a Windows 2008 DC you need to use the
>> samba3x packages.
>>
>> Ryan
> Thanks Ryan.
>
> I will try it next weekend and report back to the list.
>
> If there is a Samba3X, this is oubiously for something.
>
> I was forced to change our DCs to Winblows 2008 and it turned into a big
> mess here (Samba freaking, DNS instability, Exchange 2010 doing its best
> to force us upgrading to Outlook 2010, etc etc etc)!

Sorry for the long delay, had a crash and my Thunderbird files were 
corrupt...

So, i confirm that Samba-3X fixed my problem.

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


Re: [CentOS] CentOS 5.6 - Samba server + Windows error 233

2011-04-29 Thread Guy Boisvert
Le 2011-04-27 13:44, Ryan Wagoner a écrit :
> On Wed, Apr 27, 2011 at 10:53 AM, Guy Boisvert
>   wrote:
>> Hi!
>>
>>  I have upgraded my servers yesterday to CentOS 5.6 via yum update.
>> Everything went smoothly except that i have client workstations not part of
>> the domain that are not able to access the samba server anymore.  The samba
>> server is part of the domain.  We recently added Windows 2008 R2 DC.
>> Everything was working smoothly until the CentOS update.
> If I remember correctly with a Windows 2008 DC you need to use the
> samba3x packages.
>
> Ryan

Thanks Ryan.

I will try it next weekend and report back to the list.

If there is a Samba3X, this is oubiously for something.

I was forced to change our DCs to Winblows 2008 and it turned into a big 
mess here (Samba freaking, DNS instability, Exchange 2010 doing its best 
to force us upgrading to Outlook 2010, etc etc etc)!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 5.6 - Samba server + Windows error 233

2011-04-27 Thread Guy Boisvert

Hi!

I have upgraded my servers yesterday to CentOS 5.6 via yum update.  
Everything went smoothly except that i have client workstations not part 
of the domain that are not able to access the samba server anymore.  The 
samba server is part of the domain.  We recently added Windows 2008 R2 
DC.  Everything was working smoothly until the CentOS update.


I had a Win7 Workstation that i had success connecting when using 
the "net use" command:


net use g: \\sambaserver\share /user:domain\username

The mapping worked right away and didn't even asked for the password.  
Normally, before the CentOS upgrade, i'd put \\sambaserver in the UNC 
line of the Windows Explorer and i'd get a box asking for credentials.  
Entering "domain\username" as user and giving the password in the 
password line was working.  Not anymore.


I have another XP workstation on another subnet (router wide open) and 
the mapping with the command line as specified above doesn't even work.  
For this subnet, i have to use the IP address because the workstations 
on it use a DNS which isn't aware or active directory (and cannot change 
this).



samba-3.0.33-3.29.el5_6.2
samba-common-3.0.33-3.29.el5_6.2

Here is my smb.conf:
===
[global]
workgroup = DOMAINNAME
realm = DOMAINNAME.COM
server string = Servername File Server
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
security = ADS
encrypt passwords = yes
passdb backend = tdbsam
password server = *
preferred master = No
local master = No
domain master = No
cups options = raw
hosts allow = 10.0.2., 10.0.3., 127., 10.0.4.40
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*Password* %n\n *Re-enter*new*password*%n\n 
*Password*changed*

username map = /etc/samba/smbusers
unix password sync = Yes
log level = 1
syslog = 0
log file = /var/log/samba/%m
max log size = 50
smb ports = 139
name resolve order = bcast hosts
time server = Yes
printcap name = CUPS
show add printer wizard = No
add user script = /usr/sbin/useradd -m '%u'
delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/sbin/usermod -G '%g' '%u'
add machine script = /usr/sbin/useradd -s /bin/false -d /tmp '%u'
shutdown script = /var/lib/samba/scripts/shutdown.sh
abort shutdown script = /sbin/shutdown -c

# separate domain and username with '\', like DOMAIN\username
winbind separator =+
# use uids from 1 to 2 for domain users
idmap uid = 1-2
# use gids from 1 to 2 for domain groups
idmap gid = 1-2
# allow enumeration of winbind users and groups
winbind enum users = yes

[homes]
comment = Home Directories
read only = No
browseable = No
writable = yes

[Videotheque]
comment = Fichiers MPEG2
path = /home/Samba/Videotheque
read only = No
available = Yes
        public = Yes
writable = yes
admin users = domainname+user1,domainname+user2,domainname+user3




TIA,


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


Re: [CentOS] IPV4 is nearly depleted, are you ready for IPV6?

2010-12-08 Thread Guy Boisvert

Le 2010-12-08 07:41, Steve Clark a écrit :

On 12/07/2010 04:31 PM, John R. Dennison wrote:

On Tue, Dec 07, 2010 at 11:51:16AM -0500, Brunner, Brian T. wrote:
   

LOL twice, I'll top-post!  (I hate M$ Office, but I'm stuck with it)
 

Really?  In blatant disregard for the published guidelines for
use on this and other centos.org mailing lists?  How very
sporting of you.

http://www.centos.org/modules/tinycontent/index.php?id=16



John
   
   
Why do we bottom post? People have said so you can read what has been 
already written before you reply.
But all the time people  out big sections. That IMHO defeats the 
reason for bottom posting.


No IMHO.

You snip a text and keep important stuff so people can better understand 
your answer.


With bottom posting, you have the text in the normal read order.

I am a tech support engineer and all i can say is that top posting is 
very irritating, i receive like 400 e-mail a day...  Reading long posts 
reverse is a nightmare.


You may have reason to resist bottom posting like using Outlook (which 
has many default like not respecting anything: Standards, posting order, 
etc).  But that's an entire other story...




Guy Boisvert
Senior tech support engineer
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Superblock Problem [SOLVED]

2010-07-13 Thread Guy Boisvert
  Le 2010-07-02 09:35, Guy Boisvert a écrit :
>
>   Yes i tried to boot with the other kernels, same result. I'll check
> device.map soon (i'm offsite now).
>
> Thanks.
>

Finally, i decided to download the latest CentOS version DVD and do an 
upgrade. I booted from the DVD, typed "linux upgrade" and voilà!  The 
server rebooted and worked as expected.

Is there anybody on the list that could explain why it happened?  Maybe 
there was a couple of "yum update" containing kernel updates without 
reboot.  I cannot think for now of anything other than that.

Guy Boisvert
IngTegration inc.


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


Re: [CentOS] Superblock Problem

2010-07-02 Thread Guy Boisvert
  Le 2010-07-01 17:32, m.r...@5-cent.us a écrit :
>> cat /mnt/sysimage/boot/grub/menu.lst
>> ===
>> #boot=/dev/md0
>> default=0
>> timeout=5
>> splashimage=(hd0,0)/grub/splash.xpm.gz
>> hiddenmenu
>> title CentOS (2.6.18-164.10.1.el5xen)
>>   root (hd0,0)
>>   kernel /xen.gz-2.6.18-164.10.1.el5
>>   module /vmlinuz-2.6.18-164.10.1.el5xen ro root=/dev/md1 rhgb
>> quiet
>>   module /initrd-2.6.18-164.10.1.el5xen.img
>> title CentOS (2.6.18-164.10.1.el5)
>>   root (hd0,0)
>>   kernel /vmlinuz-2.6.18-164.10.1.el5 ro root=/dev/md1 rhgb quiet
>>   initrd /initrd-2.6.18-164.10.1.el5.img
> 
> First, have you tried booting with the second one, or do you require xen?
>
> Second, I find it odd, since the kernel I have with 5.5 is
> 2.6.18-194.3.1.el5 (well, the initial install gave me 2.6.18-194.el5, but
> this was the first upgrade).
>
> Finally, it's almost as though grub were not correctly installed - have
> you checked /boot/grub/device.map?
>
>      mark

Hi Mark,

 Yes i tried to boot with the other kernels, same result. I'll check 
device.map soon (i'm offsite now).

Thanks.

Guy Boisvert
IngTegration inc.

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


[CentOS] Superblock Problem

2010-07-01 Thread Guy Boisvert
cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Disk /dev/md3: 2097 MB, 2097348608 bytes
2 heads, 4 sectors/track, 512048 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

== END   fdisk -l ==

== BEGIN blkid ==
/dev/md3: TYPE="swap"
/dev/md0: UUID="085a2fe2-a28b-4c82-aae8-d4711a73f824" TYPE="ext3"
/dev/md1: UUID="4e26e66d-b4f3-45e3-8307-e13358b13610" TYPE="ext3"
/dev/sdb3: UUID="4e26e66d-b4f3-45e3-8307-e13358b13610" TYPE="ext3"
/dev/sdb2: TYPE="swap"
/dev/sdb1: UUID="085a2fe2-a28b-4c82-aae8-d4711a73f824" TYPE="ext3"
/dev/sda3: UUID="4e26e66d-b4f3-45e3-8307-e13358b13610" TYPE="ext3"
/dev/sda2: TYPE="swap"
/dev/sda1: UUID="085a2fe2-a28b-4c82-aae8-d4711a73f824" TYPE="ext3"
== END   blkid ==


Tried to boot from different kernels, same result.  I searched Google 
and read something about superblock being "repeted" to many places on 
the filesystem but didn't tried anything because of bad explanations and 
fear of srewing up the partition.

I already backed up the important stuff to another server.  I'd like to 
know if it's possible to fix that problem quickly, if not i'll 
re-install it.  But i'd like to know the fix anyway so if it appends 
again, would know what to do!

Thanks!

Guy Boisvert
IngTegration inc.


-- 
Guy Boisvert, ing.
IngTegration inc.
http://www.ingtegration.com

AVIS DE CONFIDENTIALITÉ : ce message peut contenir des
renseignements confidentiels appartenant exclusivement à
IngTegration Inc. ou à ses filiales. Si vous n'êtes pas
le destinataire indiqué ou prévu dans ce  message (ou
responsable de livrer ce message à la personne indiquée ou
prévue) ou si vous pensez que ce message vous a été adressé
par erreur, vous ne pouvez pas utiliser ou reproduire ce
message, ni le livrer à quelqu'un d'autre. Dans ce cas, vous
devez le détruire et vous êtes prié d'avertir l'expéditeur
en répondant au courriel.

CONFIDENTIALITY NOTICE : Proprietary/Confidential Information
belonging to IngTegration Inc. and its affiliates may be
contained in this message. If you are not a recipient
indicated or intended in this message (or responsible for
delivery of this message to such person), or you think for
any reason that this message may have been addressed to you
in error, you may not use or copy or deliver this message to
anyone else. In such case, you should destroy this message
and are asked to notify the sender by reply email.

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


Re: [CentOS] NMS Opinions

2009-12-22 Thread Guy Boisvert
Brendan Minish wrote:
> On Tue, 2009-12-22 at 02:36 +, Joseph L. Casale wrote:
>   
> Take a look at zenoss too, I am in the process of deploying it as a
> replacement for a rather elderly and under-resourced Nagios server 
> Liking it a lot so far 
> http://www.zenoss.com/
> there's good help on IRC too 
> freenode #zenoss 
>  
> regards
> Brendan 
>   

I don't know now but i couldn't define relations manually about 2 years 
ago.  It was a major PITA as if a router fails, you don't want to get 
500 alarms for all the devices behind it.

It was supposed to auto discover and do relationship by itself but 
wasn't able to do it properly with our network: Many VLANs and router / 
firewall using trunking, etc.


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Samba, ADS & Winbind Separator on CentOS 5.4

2009-12-14 Thread Guy Boisvert
Hi!

I have a little problem with Samba.  I have an ADS integrated CentOS 
5.4 server.  I had frequent access problem when M$ users create 
directories and files.  So i thought to force users' persmissions by way 
of the "force user" parameter in smb.conf.

First problem is that the forced users i want to apply are ADS users 
and named like "MYDOMAIN#Joe" in passwd file.  When i use this name in 
smb.conf, i get this error when i run testparm: "ERROR: the 'winbind 
separator' parameter must be a single character.", even if i used 
"winbind separator =#".  If i use "winbind separator =\" and name my 
users like "MYDOMAIN\Joe" in smb.conf, i have no error but users cannot 
access the share.

Actually, i know that "#" is sometimes used for comments on the 
config file and "\" is sometimes used to escape characters.  Now, what 
should i do to fix the problem?  Change Winbind config to use another 
character?  Use some kind of escaped character in smb.conf?  I'm a 
little lost!


Thanks!


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Docx format ?

2009-11-26 Thread Guy Boisvert
John R Pierce wrote:
> m.r...@5-cent.us wrote:
>   
>> Yep, as well as .xlsx
>>
>> But, I mean, you know all the *pressing* and Important reasons that M$ had
>> to change the file format
>>   
>> 
>
> FWIW, the new formats are XML based, albeit compressed.  in most 
> theories, this is a good idea for portability.
>
> the old file formats were proprietary, complex and full of ugliness from 
> 20 years of extensions and variations (.DOC was used by MS Word for 
> MSDOS circa 1985).   Yes, I know, MS did their own XML 'open' document 
> format, not the one everyone else is using, but at least being XML, its 
> readily decodable.
>   

Sorry but M$ supposedly "open" format isn't.  If M$ would have wanted to 
be really Open, it would have chosen ODF or develop OOXML in an open 
manner...  I have many clients that lived the Office nightmare where the 
Office versions are not able to perfectly render files between them, 
where the "compatibility plugins" don't translate 100%, etc.  All that 
to force clients to buy new version of Office, the "Admiral Ship" of M$.

This is the "spread like a virus and bug the others" method...  New PCs 
of my clients were sold with Office 2007 while the older PCs had 2003.  
Technical documents were loosing formatting, no matter what we tried.  
We called M$ and we were told to call Dell because Office was OEM.  We 
call Dell and they said to call M$... Finally, Dell was forced to do 
something but they said they would do something they're not supposed: 
Sell us Office 2007 OEM for the older PCs...  But still, it doesn't cure 
the problem with our 2500 technical spec sheets that were done with 
Office 2007...

I pushed a lot for my clients to adopt Open Office but they told me it 
isn't "standard" and that they would't be able to work with other 
companies that, in majority, were using "standard" M$ Office!!!  So here 
we have FUD, misundertanding of the word "standard" and users that freak 
out because they don't know Open Office...  M$ and users at their best...

See:
http://www.freesoftwaremagazine.com/articles/odf_ooxml_technical_white_paper
(there is a link for the PDF version on top of this article: 
http://www.freesoftwaremagazine.com/node/2138/pdf)



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


Re: [CentOS] SVN hell! [RESOLVED]

2009-10-11 Thread Guy Boisvert
Peter Hinse wrote:
> Am 12.10.09 01:05, schrieb Guy Boisvert:
> 
>> [r...@svn ~]# ll /var/www/svn
>> total 16
>> drwxr-xr-x 7 apache apache 4096 Oct 11 11:40 applitv
>> drw-rw-r-- 7 apache apache 4096 Oct 11 10:31 repos
> 
> My repos directory has permissions 0750 - try to change into each
> directory as user apache und touch files there as suggested by Ian.
> 
> Peter.

Bingo!  You were right on it Peter!  Thanks!

I dunno why i didn't see it before but /var/www/svn was 0550...

There are days like that, where it's like you can't see your noze in 
your own face...


Apologies to the list for all this and thanks to everybody that helped me.


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SVN hell!

2009-10-11 Thread Guy Boisvert
Clint Dilks wrote:
>   
> Hi,
> 
> There have still situations where permissive mode is not the same as 
> disabled.  I suggest that you try disabling to see if the the behavior 
> is different.

vim /etc/selinux/config
==> SELINUX=disabled

Rebooted, then same result:
===
(Firefox: http://10.0.4.32/svn/applitv)
This XML file does not appear to have any style information associated 
with it. The document tree is shown below.

−



Could not open the requested SVN filesystem




[r...@svn ~]# tail -6 /var/log/httpd/error_log
[Sun Oct 11 18:56:26 2009] [error] [client 10.0.2.4] (20014)Internal 
error: Can't open file '/var/www/svn/applitv/format': Permission denied
[Sun Oct 11 18:56:26 2009] [error] [client 10.0.2.4] Could not fetch 
resource information.  [500, #0]
[Sun Oct 11 18:56:26 2009] [error] [client 10.0.2.4] Could not open the 
requested SVN filesystem  [500, #13]
[Sun Oct 11 18:56:26 2009] [error] [client 10.0.2.4] Could not open the 
requested SVN filesystem  [500, #13]
[Sun Oct 11 18:56:26 2009] [error] [client 10.0.2.4] File does not 
exist: /var/www/html/favicon.ico
[Sun Oct 11 18:56:29 2009] [error] [client 10.0.2.4] File does not 
exist: /var/www/html/favicon.ico




[r...@svn ~]# ll /var/www/svn/applitv
total 56
drwxr-xr-x 2 apache apache 4096 Oct 11 11:58 conf
drwxr-xr-x 2 apache apache 4096 Oct 11 11:40 dav
drwxr-sr-x 5 apache apache 4096 Oct 11 11:40 db
-r--r--r-- 1 apache apache2 Oct 11 11:40 format
drwxr-xr-x 2 apache apache 4096 Oct 11 11:40 hooks
drwxr-xr-x 2 apache apache 4096 Oct 11 11:40 locks
-rw-r--r-- 1 apache apache  229 Oct 11 11:40 README.txt

[r...@svn ~]# ll /var/www/svn
total 16
drwxr-xr-x 7 apache apache 4096 Oct 11 11:40 applitv
drw-rw-r-- 7 apache apache 4096 Oct 11 10:31 repos


So i'm stumped!


Maybe i'll have to use the advice from Les Mikesell & Ian Wilson and 
configure SourceForge...

Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SVN hell!

2009-10-11 Thread Guy Boisvert
Ian Wilson wrote:
> Hi Guy;
> 
> 
> On Sun, Oct 11, 2009 at 5:41 PM, Guy Boisvert  
> wrote:
>> What i find very strange is this:
>> =
>> [r...@svn mnt]# ll /var/www/svn/applitv/format
>> -r--r--r-- 1 apache apache 2 Oct 11 11:40 /var/www/svn/applitv/format
> 
> Do you have SELinux enabled?
> 
> Also, what are the permissions on the underlying directory
> (/var/www/svn/applitv)
> 
> Also, I would recommend updating the version of your subversion and
> mod_dav_svn that's currently installed;  there was a security
> vulnerability that could result in some nastyness (details at:
> http://freshmeat.net/articles/red-hat-updated-subversion-packages-fix-multiple-security-issues
> )
> 
> Ian
> 


[r...@svn ~]# cat /selinux/enforce
0
[r...@svn ~]#

So it's permissive mode (0).  I checked that before posting!  Thanks for 
your hint anyway.

As for updating subversion and mod_dav_svn, i have the latest versions 
from CentOS repositories and this server is only for internal use so i 
don't think i'll do it for now.  Thanks again for the hint.


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] SVN hell!

2009-10-11 Thread Guy Boisvert
Hi!

I'm trying to install SVN on a latest version of CentOS (5.3).  I just 
did:

yum install subversion
yum install mod_dav_svn


Then i edited /etc/httpd/conf.d/subversion.conf

and here is the content:


DAV svn
SVNParentPath /var/www/svn

# Limit write permission to list of valid users.

   # Require SSL connection for password protection.
   # SSLRequireSSL

   AuthType Basic
   AuthName "SVN 1"
   AuthUserFile /etc/svn/svn-auth-conf
   Require valid-user




After, i did:
=
mkdir -p //var/www/svn/applitv
svnadmin create /var/www/svn/applitv
svn mkdir file://localhost/var/www/svn/applitv/trunk -m "create"
svn mkdir file://localhost/var/www/svn/applitv/branches -m "create"
svn mkdir file://localhost/var/www/svn/applitv/tags -m "create"
chown -R apache:apache /var/www/svn


Finally, i created the AUTH file:
=
htpasswd -cm /etc/svn/svn-auth-conf user1
htpasswd -m /etc/svn/svn-auth-conf user2




I use the following URL to connect to the server:
=
http://10.0.4.32/svn/applitv



And i receive the following response:
=
This XML file does not appear to have any style information associated 
with it. The document tree is shown below.

−



Could not open the requested SVN filesystem




In the log /etc/httpd/conf.d/subversion.conf, i have:
=
[Sun Oct 11 15:48:39 2009] [error] [client 10.0.2.98] (20014)Internal 
error: Can't open file '/var/www/svn/applitv/format': Permission denied
[Sun Oct 11 15:48:39 2009] [error] [client 10.0.2.98] Could not fetch 
resource information.  [500, #0]
[Sun Oct 11 15:48:39 2009] [error] [client 10.0.2.98] Could not open the 
requested SVN filesystem  [500, #13]
[Sun Oct 11 15:48:39 2009] [error] [client 10.0.2.98] Could not open the 
requested SVN filesystem  [500, #13]
[Sun Oct 11 15:48:39 2009] [error] [client 10.0.2.98] Could not fetch 
resource information.  [403, #0]
[Sun Oct 11 15:48:39 2009] [error] [client 10.0.2.98] (2)No such file or 
directory: The URI does not contain the name of a repository.  [403, 
#190001]


What i find very strange is this:
=
[r...@svn mnt]# ll /var/www/svn/applitv/format
-r--r--r-- 1 apache apache 2 Oct 11 11:40 /var/www/svn/applitv/format

The "format" file (which contains the value "5") is readable.

I searched a lot on Google but i still can't figure out what's going on. 
  Any help would be appreciated!


MISC INFOS:
===
[r...@svn www]# uname -a
Linux svn.[removed].com 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:47:32 EDT 
2009 i686 athlon i386 GNU/Linux
(Guest running under Xen CentOS X64 Host)

[r...@svn www]# cat /etc/issue
CentOS release 5.3 (Final)

httpd-2.2.3-22.el5.centos.2
mod_dav_svn-1.4.2-4.el5_3.1


Thanks!

Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Testing and monitoring hardware RAID

2009-05-28 Thread Guy Boisvert
Dianne Yumul wrote:
> 
> I checked the Adaptec site again and found a link to the Adaptec  
> Storage Manager.
> I don't know how I missed that, thanks for the push in the right  
> direction.
> Hopefully it works.
> 
> Thanks,
> 
> dianne

Hi,

I use the Adaptec Storage manager under CentOS 5 (with Adaptec 3405 
HBA).  It seems to be decent (functionality wise) but i saw that it 
works under Java...  My deception was great when i saw that.  I had 
numerous problems with Java and management tools on the past.  I just 
hope i wont't have to fight with Java all over again...


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dual-boot with WinXP, CentOS already installed

2009-04-17 Thread Guy Boisvert
Toby Bluhm wrote:
> Kai Schaetzl wrote:
>> Sorin Srbu wrote on Fri, 17 Apr 2009 09:37:53 +0200:
>>
>>> How do you mean broken?
>> Sorin, why do you think I replied to you? The person using the broken 
>> configuration is "David G. Miller".
> 
> I didn't know who you were talking about either. It's good to point out 
> the problem, but maybe next time leave some text clue as to whom you are 
> referring.
> 
> 


Yeah, i second that.  I was wondering if you were talking about me 
because i use TBird too...



Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dual-boot with WinXP, CentOS already installed

2009-04-17 Thread Guy Boisvert
Sorin Srbu wrote:
> 
> Isn't reinstalling GAG the same thing as reinstalling grub. What's the
> incentive so to speak? Is GAG so much better, or just easier to work with
> than grub?
> 

Easier.  GAG has its own boot media (diskette or cd).  It has a 
graphical interface and is very easy.



Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dual-boot with WinXP, CentOS already installed

2009-04-17 Thread Guy Boisvert
Sorin Srbu wrote:
> 
> Apparantely Windows can bork up after a while if the system files aren't on
> C:. I was thinking the Windows installer will see the linux partitions and
> try to name them C: and D: etc, thus Windows will be installed on E: or F:,
> which might not go down well with some programs.
> 

Unless you install Linux on FAT, Winblows won't see it.



Guy Boisvert, ing
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dual-boot with WinXP, CentOS already installed

2009-04-16 Thread Guy Boisvert
Toby Bluhm wrote:
> David G. Miller wrote:
> 
> I installed Win7 beta on the open partition at the end of my laptop disk 
> and had to dd restore the mbr so I could boot to Centos again.
> 
> It's amazing that after all these years of multi-booting PCs, MS still 
> arrogantly stomps all over your setup. Idiots.
> 

Winblows tries to do its best not to ask anything to the user and decide 
by itself.  No wonder why tons of worms are spreading under Winblows! 
One have to say that a large part of this is due to bad design but 
trying to do everything in place of average Joe is wrong.

And everybody know how arrogant M$ can be!  I just hope they continue to 
produce ultra heavy crap like Vista!  Majority of my clients refuse to 
go Vista, thanks Macro$haft!


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dual-boot with WinXP, CentOS already installed

2009-04-16 Thread Guy Boisvert
David G. Miller wrote:
> "Sorin Srbu"  wrote:
> 
> The problem with suggestions to just install Windows and then either use 
> another boot loader or repair the grub installation is that you are 
> stuck doing that work through Windows.

GAG is a standalone boot disquette / boot CD.  It doesn't need Winblows 
or anything eles.  It just installs itself on MBR and the boot media 
contain the config utility with the "write to MBR" function.

You just have to instruct Linux to put all its stuff to its partition. 
I'm not very familiar with all the Linux boot stuff, so i can't comment 
on how to do it for somebody that had Linux installed first.  I'm sure 
somebody on the list can give us infos about it and using GAG on MBR 
afterward.


Guy Boisvert, ing.
IngTegration inc.

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


Re: [CentOS] Dual-boot with WinXP, CentOS already installed

2009-04-16 Thread Guy Boisvert
Kai Schaetzl wrote:
> Sorin Srbu wrote on Thu, 16 Apr 2009 14:08:57 +0200:
> 
>> Basically, what would I need to change in the how-to from apcmag.com above??
> 
> It's like that tutorial says. Forget about backing up grub.conf. This is 
> nonsense. You want to make a backup before changing it, just in case, but not 
> because of the XP installation.
> After the installation you have to reinstall grub with "grub-install" (from a 
> live disk) and add the chainloader stuff to grub.conf.
> 
> mount /dev/sda2 /mnt/linux (if that is where you linux resides)
> grub-install --root-directory=/mnt/linux /dev/sda
> (if you want to install it to the partition use sda2 instead of sda, then the 
> partition has to be active, so that you can boot from it)
> 
> Instead of using grub-install you can backup the mbr before the installation 
> and then restore it afterwards. You can easily get bad results from that if 
> you mistype, though.
> 
> 
> Kai
> 


When i install multi-boot machines, i prefer to use GAG boot manager.

http://gag.sourceforge.net/

It installs itself on the MBR (it's tiny) and all you have to do is tell
Linux to install its boot stuff on its own partition.

As for Winblows, it always wipes the boot record and replace with its
own crap.  No problem, let Winblows install itself and after everything
is done, just re-install GAG, configure the menu items and you're all set.


Guy Boisvert, ing.
IngTegration inc.

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


Re: [CentOS] Dual-boot with WinXP, CentOS already installed

2009-04-16 Thread Guy Boisvert
Kai Schaetzl wrote:
> Sorin Srbu wrote on Thu, 16 Apr 2009 14:08:57 +0200:
> 
>> Basically, what would I need to change in the how-to from apcmag.com above??
> 
> It's like that tutorial says. Forget about backing up grub.conf. This is 
> nonsense. You want to make a backup before changing it, just in case, but not 
> because of the XP installation.
> After the installation you have to reinstall grub with "grub-install" (from a 
> live disk) and add the chainloader stuff to grub.conf.
> 
> mount /dev/sda2 /mnt/linux (if that is where you linux resides)
> grub-install --root-directory=/mnt/linux /dev/sda
> (if you want to install it to the partition use sda2 instead of sda, then the 
> partition has to be active, so that you can boot from it)
> 
> Instead of using grub-install you can backup the mbr before the installation 
> and then restore it afterwards. You can easily get bad results from that if 
> you mistype, though.
> 
> 
> Kai
> 


When i install multi-boot machines, i prefer to use GAG boot manager.

http://gag.sourceforge.net/

It installs itself on the MBR (it's tiny) and all you have to do is tell 
Linux to install its boot stuff on its own partition.

As for Winblows, it always wipes the boot record and replace with its 
own crap.  No problem, let Winblows install itself and after everything 
is done, just re-install GAG, configure the menu items and you're all set.


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB, AutoMount & VNC

2009-03-28 Thread Guy Boisvert
Frank Thommen wrote:
> Guy Boisvert wrote:
>> Hi,
>>
>>  It make senses if you're running a box headless (it will be headless 
>> soon, now i'm testing it with K+V+M attached).  We're using a CentOS box 
>> to plug USB Flash drive & external hard drive into it.  The CentOS box 
>> is then used to FTP the content of these external drives to a Winblows 
>> box, all that filtered by a firewall between the 2 boxes.  Only FTP is 
>> allowed.
>>
>>  Doing some tests on the CentOS box, i saw that if i log into the 
>> console, then the local session and the remote VNC sessions will see the 
>> drives automounted.  If i log out of the console, then the VNC session 
>> won't see anything.  It's like the automount works only if somebody is 
>> logged at the console.
> 
> I assume that with "console" you mean X11/desktop manager.  In this case 
> Gnome or KDE handle the mounting of removable devices for you.  The 
> automounter hasn't anything to do with it.

Yes, X11/DM, logged locally on the "physical" console.  Thanks for the 
hint on automount.

> 
> If you want the automounter to handle removable devices, then you'll 
> have to add appropriate automounter map entries.  Something like
> 
> /etc/auto.master:
> /media /etc/auto.media
> 
> /etc/auto.media:
> usb:/dev/sda1
> 
> 
> or you could use a program map like the following (not my invention, I 
> took this from the autofs mailing list):
> 
> -
> #!/bin/sh
> if ntfs-3g.probe /dev/sda1; then
>   echo "-fstype=ntfs-3g,other-opts :/dev/sda1"
> else
>   echo "-fstype=vfat,other-opts :/dev/sda1"
> fi
> -
> 
> You'll probably find other examples on the net.
> 
> I'm not sure if such an automounter setup collides with Gnome/KDE 
> automounting.
> 
> Cheers
> 
>  frank

Thanks for your help Frank.

The problem i have is that it won't necessarily be the same devices 
plugged to this box and the user could even plug many devices at the 
same time.

So i read many articles on the net but i'm kinda lost about where to 
start for this problem.

Anyway, i'm still reading an thanks again for your help!


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB, AutoMount & VNC

2009-03-27 Thread Guy Boisvert
MHR wrote:
> On Fri, Mar 27, 2009 at 6:35 AM, Guy Boisvert  
> wrote:
>> Hi!
>>
>>I'm trying to figure out how to make automount do its job when nobody
>> is logged at the console and the user access the server by VNC.  Does
>> anybody knows how to make CentOS automount USB Hard Drives / Pendrive
>> when accessed by VNC?
>>
> 
> Could you describe the problem a little more clearly?  Separation of
> console from USB-accessible hardware, how VNC fits in in this
> scenario, etc.
> 
> It sounds like someone wants to log in remotely (VNC), plug in a
> (local) USB device and access it (remotely), which doesn't make sense
> to me.
> 
> Thanks.
> 
> mhr
> ___

Hi,

It make senses if you're running a box headless (it will be headless 
soon, now i'm testing it with K+V+M attached).  We're using a CentOS box 
to plug USB Flash drive & external hard drive into it.  The CentOS box 
is then used to FTP the content of these external drives to a Winblows 
box, all that filtered by a firewall between the 2 boxes.  Only FTP is 
allowed.

Doing some tests on the CentOS box, i saw that if i log into the 
console, then the local session and the remote VNC sessions will see the 
drives automounted.  If i log out of the console, then the VNC session 
won't see anything.  It's like the automount works only if somebody is 
logged at the console.

Hope i was clearer.  Thanks!


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] USB, AutoMount & VNC

2009-03-27 Thread Guy Boisvert
Hi!

I'm trying to figure out how to make automount do its job when nobody 
is logged at the console and the user access the server by VNC.  Does 
anybody knows how to make CentOS automount USB Hard Drives / Pendrive 
when accessed by VNC?


Thanks!



Guy Boisvert, ing
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Streaming video with Centos 5.2...how to?

2009-03-17 Thread Guy Boisvert
Thiago Avelino wrote:
> VLS = http://www.videolan.org/doc/streaming-howto/en/
> 
> 2009/3/17 Gilbert Sebenste :
>> Hello all,
>>
>> I am a noob to streaming video, and I have a file I'd like to stream (a
>> .wmv file...sorry. ;-)  ). In any case, how can I do this on my website
>> using Centos 5.2 and Apache 2.2.8, rather than making people download a
>> 20 MB video? Can someone point me to some URL's and some software?
>>
>> Thanks for any help, I greatly appreciate it!
>>
>> Gilbert

Thiago, i'm asking you kindly to refrain from top posting!  Thanks!

http://www.centos.org/modules/tinycontent/index.php?id=16
http://www.caliburn.nl/topposting.html


For the OP, do you want live streaming or on demand?  For On Demand, we 
use Darwin Streaming Server (Open Source) on CentOS.  We 
encode/re-encode our files in MP4.  The server is able to stream MP3 too.

For Live streaming, we use (alas..) Winblows WME (Winblows2003).  We 
take our live feed in SDI and feed it into an Osprey 560 card.


For me, i'd like to go further and replace the WME server by something 
that would run on CentOS.  Presently, we push 4 streams: 1 low res, 1 
medium res, 1 High res and 1 audio only.

The problem we have (apart from being Winblows...) is that the damn 
Micro$loth stuff is a nightmare to administer.  No remote status, binary 
logs, etc!

I checked VLC and it is a very good piece of software but i'm not sure 
it would fit the bill in the above scenario.

I'd like to have statistics, remote control, SNMP trap in case of 
problem, etc.

As for compression, we need something easy for our clients that are just 
standard users with about no computer knowledge.  That means that the 
stream should use a format that is supported right out of the box or 
easily added.  Unfortunately, majority of clients are using Winblows... 
  I heard about Flash Streaming but still didn't find anything that 
would run on Linux (as a streaming server).

Does anybody knows something that would do using CentOS ?  Any good idea 
will be appreciated !


Thanks!

Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Programming ressources

2009-01-09 Thread Guy Boisvert
Hi!

It may be a little OT but i'm searching for a c/c++ programmer for the 
development of a remote controlled multimedia player that would run 
under CentOS with Aja OEM card.  We'd use this player in our fully 
automatic TV broadcast system.

We currently have a player (developed in house) that works mostly ok on 
Winblows but it lacks many features like remote monitoring (SNMP or 
something like that), fault management, etc.  The code is not documented 
and there are problems migrating from Stradis SDM-275 card to SDM-290, 
from Win2000 to XP, etc.

I was thinking that their should be programmers on the CentOS mailing 
list.  Sorry if i bother other list members with my request.

We are based in Montréal, Province of Quebec, Canada.  Frankly, we have 
to find a Winblows programmer first to evaluate the documentationless 
code we have for our current player.  With the obligation to go digital 
and the fact that we may even have to go HD, we'll want to go Linux and 
get an ultra-stable platform.

It would be nice to evaluate if something like VLC or MPLayer could 
provide the functionality we want too.

If there is some project/job/project site, please let me know.

Please respond offlist.  I'll make a resumé of what i found for the 
list if there is interest for that.


Regards,


Guy Boisvert, ing.
IngTegration inc.

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


Re: [CentOS] Email/GroupWare Suite

2009-01-07 Thread Guy Boisvert
> On Wed, January 7, 2009 3:23 pm, Ed Westphal wrote:
>> I may start a war here, but I'm going to recommend Lotus Notes / Domino
>> as the collaborative software for you. I've had quite a bit of
>> experience with it in a large multi-national company. It can definitely
>> handle all that you may want to throw at it. It does have some draw
>> backs - what doesn't? IBM / Lotus can give your people a great deal of
>> support while they get their legs underneath them. I'm not going to
>> swear to it, but I think they can extend some pretty good terms to
>> public schools. There are all kinds of specialized add-ons as well.
>> Development tools are pretty robust as well.
>>
>> Ed Westphal
>> ___


If you want to see how far you can go with Open Source, you may have a 
look at what HEC (Hautes Études Commerciales) did here in Montreal:

http://www.linuxjournal.com/article/7323
http://www.linuxjournal.com/article/7524


If you want paid software, then you may have a look at Communigate Pro 
which i use at a client's site.  It's not too expansive, can  easily do 
clustering, runs on many OSes (I run it on CentOS 5), has a MAPI plugin 
for Outlook, includes a SIP server, etc.

I have 50 users with about 100 Gigs of mailboxes / Public folders and 
uses standards mbox / mdir as storage, doesn't need SQL, has a good WEB 
interface, etc.  I run data storage off  4 x Seagate SAS 15K 73 Gigs and 
it screams (Adaptec 3405)!  No %iowait at all.  The system runs on a 
Dual Core Opteron 2214 with 4 Gigs RAM (Tyan Transport TA-26 (B3992-E)). 
  It does many other tasks (Corporate FTP, Licence management server, 
SSH Gateway for road warriors, RSync Backup server for Winblows file 
servers, etc) and easily copes with the load.

Backups $ restore are very easy.  Upgrade and migration to another 
server is a breeze.  All is contained in one directory.

I'm in no way associated with Communigate or Tyan, it was just to share 
my experience.

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


Re: [CentOS] FTPS setup problem

2008-12-20 Thread Guy Boisvert
Kai Schaetzl wrote:
> I threw that configuration you posted on a working vsftpd (working without 
> SSL) on CentOS 5 and can only confirm that it doesn't work. One obvious 
> problem is port 990 as ftps wants to connect via port 990. In Filezilla 
> you can choose to use FTPES which seems to connect to port 21 and force an 
> SSL auth. This actually works as you get the certificate displayed to 
> accept it and you can login. However, the directory listing fails. I tried 
> changing to active, disallowing certain protocols etc. It all fails at the 
> same stage.
> The link posted (http://bugs.proftpd.org/show_bug.cgi?id=3094) seems to 
> apply exactly to this situation. So, you simply will not be able to work 
> with a newer Filezilla client against a vsftpd server without this patch.
> 
> Status: Connecting to 192.168.1.232:21...
> Status: Connection established, waiting for welcome message...
> Response:   220 FTP
> Command:AUTH TLS
> Response:   234 Proceed with negotiation.
> Status: Initializing TLS...
> Status: Verifying certificate...
> Command:USER kai
> Status: TLS/SSL connection established.
> Response:   331 Please specify the password.
> Command:PASS 
> Response:   230 Login successful.
> Command:SYST
> Response:   215 UNIX Type: L8
> Command:FEAT
> Response:   211-Features:
> Response:AUTH SSL
> Response:AUTH TLS
> Response:EPRT
> Response:EPSV
> Response:MDTM
> Response:PASV
> Response:PBSZ
> Response:PROT
> Response:REST STREAM
> Response:SIZE
> Response:TVFS
> Response:   211 End
> Command:PBSZ 0
> Response:   200 PBSZ set to 0.
> Command:PROT P
> Response:   200 PROT now Private.
> Status: Connected
> Status: Retrieving directory listing...
> Command:PWD
> Response:   257 "/"
> Command:TYPE I
> Response:   200 Switching to Binary mode.
> Command:PASV
> Response:   227 Entering Passive Mode (192,168,1,232,75,253)
> Command:LIST
> Response:   150 Here comes the directory listing.
> Status: Server did not properly shut down TLS connection
> Error:  Transfer connection interrupted: ECONNABORTED - Connection aborted
> Response:   226 Directory send OK.
> Error:  Failed to retrieve directory listing
> 
> Kai
> 

Hi Kai,

Thanks for your input.  I had problem with SmartFTP too which was 
supposed to work with this setup.  Then, i don't know if i should report 
a bug...

It's just too bad i can't make this work...

Ragards,

Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] FTPS setup problem

2008-12-20 Thread Guy Boisvert
John wrote:
>> He's testing it. Access with Dreamweaver may indeed work.
> 
> Ahh, DW will connect to my my ftp machine but I don't know about sftp. To me
> it is just easier to use DW or Visual Studio internal ftp tools to manage a
> site easier. I will try his config later on just to check it outwith DW.
> 
> JohnStanley
> 

... and SFTP is not the same as FTPS.

Actually, i tried with FileZilla (it seems to have an official bug with 
vsftpd and FTPS) and SmartFTP and both had problems.

So that's why i asked the question to the list.  I dunno if i have 
something wrong with the config, or any other subtility.


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] FTPS setup problem

2008-12-20 Thread Guy Boisvert
John wrote:
> 
> Why are they not using using Dreamweaver to access the ftp site??? This can
> be done! Look at the top menus, Sites | Manage Sites | New | FTP or RDP |
> Then Choose SFTP in the Dropdown Box |.
> 
> JohnStanley
> 

Hi John,

I'd certainly like to but i am at the config/testing stage!  If i can't 
validate vsftpd working ok with SSL/TLS, i won't tell my client to try 
to connect with DreamWeaver.


Guy Boisvert, ing.
IngTegration inc.


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


Re: [CentOS] FTPS setup problem

2008-12-19 Thread Guy Boisvert
John R Pierce wrote:
> Guy Boisvert wrote:
>>  FTPS is supposed to be directly supported by DreamWeaver, so that why 
>> am asking about it.
>>   
> 
> does Dreamweaver support WebDAV over HTTPS as an update method?   this 
> would be a LOT EASIER to get working behind a firewall
> 
> if they can access your website with https/ssl, and you can get mod_dav 
> working, you're in business.
> 

Ok, i'll check that.  I still focus on FTPS for now but i'll have a look 
a WebDAV/HTTPS.


Thanks!


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] FTPS setup problem

2008-12-19 Thread Guy Boisvert
John R Pierce wrote:
> 
> I don't know if you can do that with FTPS...FTP uses a seperate 
> dynamic port for the data socket, and the mode this port is assigned is 
> at the whim of the *client* software, it can either be PORT or PASSIVE 
> mode, this makes NAT address translation of FTP a real mess.AFAIK, 
> FTPS (ftp over ssl) does much the same.
> 
> 
> I quote from Wikipedia...
> 
> 
> The firewall problem
> 
> Because FTP <http://en.wikipedia.org/wiki/File_Transfer_Protocol> is a 

[...]

> cannot decrypt it). Therefore, in many firewalled networks, clear FTP 
> connections will work while FTPS connections will either completely fail 
> or require the use of passive mode (assuming all ports >= 1024 to the 
> server are unfiltered).
> 

Well John, i can't even get it working locally on the same subnet (and 
no, the server doesn't use firewalling)!  I'm not even at the firewall 
access level!


Thanks for the pointer anyway.


Regards,


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] FTPS setup problem

2008-12-19 Thread Guy Boisvert
Alain Reguera Delgado wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Guy Boisvert wrote:
>> Hi!
>>
>>  I'm trying to figure out what's going wrong with a "simple" FTPS setup 
>> and VSFTPD.
> ...
>> When i try, i get this error message:
>>
>> SSL/TLS client handshake failed (Error = 0x80090308)
> 
> How are you trying to connect ? What is the address you are referring to
> access ? Can you use lftp with debug 9 and post the output ?

As i said, i'm trying to connect in FTPS mode with FileZilla and 
SmartFTP to port 21 at the address of my server!


> 
>> Does anybody could give me a pointer on this?
> 
> please, take a lookt at:
> http://wiki.centos.org/HowTos/Chroot_Vsftpd_with_non-system_users
> 
> I would like to hear if this is useful to you.
> 
> Best Regards,


This link is interesting but the problem is not that i don't want to use 
"local" users.  I have no problem with that.  That's the SSL/TLS 
handshake error that i don't figure out.

Thanks!



Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] FTPS setup problem

2008-12-19 Thread Guy Boisvert
Ray Van Dolson wrote:
> 
> To the OP (sorry, jumping into a lot of threads late); what version of
> vsftpd are you using?
> 
> A few months back FileZilla released a new version that "broke" TLS/SSL
> support with a number of FTP servers.  I ran into the problem with
> ProFTPD specifically:
> 
>   http://bugs.proftpd.org/show_bug.cgi?id=3094
> 
> But vsftpd had this issue as well and was patched in v 2.0.7.  I don't
> know if this fix was backported by RH or not
> 
> I also don't know if SmartFTP client would exhibit the same problem.
> You could try an older version of FileZilla (< 3.1.0) to see if it
> works correctly...
> 
> Ray


Hi Ray,

Here are the infos:

vsftpd-2.0.1-6.el4

Linux [server name] 2.6.9-78.0.8.EL #1 Wed Nov 19 19:43:32 EST 2008 i686 
i686 i386 GNU/Linux

CentOS release 4.7 (Final)



I'll try older FileZilla and report back as soon as i find a solution.


Thanks for your help!


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] FTPS setup problem

2008-12-19 Thread Guy Boisvert
Bob Hoffman wrote:
>> When i try, i get this error message:
>>
>> SSL/TLS client handshake failed (Error = 0x80090308)
>>
>>
>>
>> Does anybody could give me a pointer on this?
>>
>>
> 
> I really hope you post the end fulfillment of this problem as I want to do
> ssl with my vsftp and have not gotten around to it.
> 
> Have you tried just restarting vsftp?
> I also find that I had to play with the user list allow/deny to get mine to
> work right.
> 
> Can you, if you take out the ssl stuff, access it via ftp normally?
> 


Hi Bob,

Just to put all this in perspective, i'm not a "green" on CentOS and i 
restarted vsftpd each time i modified my test server (it's very ok that 
you asked!).  I don't consider myself an expert but i'm pretty 
confortable with CentOS.

I can reach easily the server by regular FTP, check my previously 
posted config file and you'll see that i don't force local users to use 
SSL.  For the remote users, i'll redirect port 990 on our firewall to 
port 21 on the server.  I read that vsftpd can't use different ports for 
regular FTP and FTPS so i let it be on port 21, which we use internally.


Thanks!


Guy Boisvert, ing.
IngTegration inc.

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


Re: [CentOS] FTPS setup problem

2008-12-19 Thread Guy Boisvert
John R Pierce wrote:
> Bill Campbell wrote:
>> As a rule, we require external developers to access our servers
>> using OpenVPN which provides a simple means of getting secure
>> access without having to deal with multiple server components.
>>   
> 
> and, at work, our GNOC guys use SSL-VPN's from Juniper, which for 
> business partners are highly restricted such that they can ONLY access 
> the specific server and services they have rights to.   while I'm not in 
> the group that manages this, the guys who do are on my floor, and tell 
> me that the global management console makes managing all this a 
> breeze... we have dozens of firewalls as we're a 5 employee global 
> manufacturing company, this is all under central control.
> 
> you mentioned FTP and FTPS...   I prefer whenever possible to use 
> scp/sftp, as its much easier to forward through a NAT/Masquerade 
> firewall.   I have no idea if Dreamweaver supports this, however.
> 

Hi John,

Good pointers but i'm not sure i'm up to setup a chrooted ssh 
environment.  I tried that a couple of times (not on this network) and 
it wasn't very practical.  I'm not saying i'm an expert at that and it 
may very well be my fault if i found it cumbersome.

    vsftpd is supposed to support FTPS so it would be perfect in my 
situation.


Thanks!


Guy Boisvert, ing.
IngTegration inc.


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


Re: [CentOS] FTPS setup problem

2008-12-19 Thread Guy Boisvert
Bill Campbell wrote:
> On Fri, Dec 19, 2008, Guy Boisvert wrote:
>> Hi!
>>
>>  I'm trying to figure out what's going wrong with a "simple" FTPS setup 
>> and VSFTPD.
>>
>>  I saw references on Google and tried, and tried, and tried... without 
>> success.
>>
>>  I'll start by explaining my situation: I have a WEB development server 
>> behind a firewall.  It's currently only for the intranet.  We now have 
>> an external company that will have to do a new website for us and we 
>> want them to access securely our development server.
>>
>>  Internally, we access it with regular FTP (we use DreamWeaver 8).  In 
>> the references i saw, i'd just add the following lines and it is 
>> supposed to work:
> 
> As a rule, we require external developers to access our servers
> using OpenVPN which provides a simple means of getting secure
> access without having to deal with multiple server components.
> 
> The OpenVPN clients for Windows and OS X are simple to set up,
> well within the capabilities of the average web developer (which
> often aren't extensive :-). 
> 
> Bill


Hi Bill,

It is a very good idea but i can't force them to use it.  The WEB 
Developpers are inside an University and i heard that it's complicated 
to make the IT staff add some stuff like that.

FTPS is supposed to be directly supported by DreamWeaver, so that why 
am asking about it.


Thanks!


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] FTPS setup problem

2008-12-19 Thread Guy Boisvert
Hi!

I'm trying to figure out what's going wrong with a "simple" FTPS setup 
and VSFTPD.

I saw references on Google and tried, and tried, and tried... without 
success.

I'll start by explaining my situation: I have a WEB development server 
behind a firewall.  It's currently only for the intranet.  We now have 
an external company that will have to do a new website for us and we 
want them to access securely our development server.

Internally, we access it with regular FTP (we use DreamWeaver 8).  In 
the references i saw, i'd just add the following lines and it is 
supposed to work:

ssl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=NO
force_local_logins_ssl=NO
ssl_tlsv1=YES
ssl_sslv2=YES
ssl_sslv3=NO
rsa_cert_file=/etc/vsftpd/vsftpd.pem



Here are the previous lines in my vsftpd config:

anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/vsftpd.chroot_list
pam_service_name=vsftpd
userlist_enable=YES
listen=YES
tcp_wrappers=YES


I generated the PEM cert with the following command:

openssl req -x509 -nodes -days 365 -newkey rsa:1024  -keyout 
/etc/vsftpd/vsftpd.pem  -out /etc/vsftpd/vsftpd.pem


I tried to connect with FileZilla without luck.  I heard that FileZilla 
may have a problem with vsftpd in FTPS mode so i downloaded SmartFTP 
which i read should be able to connect.

When i try, i get this error message:

SSL/TLS client handshake failed (Error = 0x80090308)



Does anybody could give me a pointer on this?


Thanks in advance and happy holidays to everybody!


Guy Boisvert, ing
IngTegration inc.

___
Pre-Boxing Day Domain Sales: Hosting + Domain = US$4.95/year
Offer Ends: Dec 31, 2008.http://www.doteasypromo.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] regarding vpn server for 1500 clients

2008-12-17 Thread Guy Boisvert
John R Pierce wrote:
> NiftyClusters T Mitchell wrote
>> It is possible that dedicated Cisco hardware solutions will scale
>> better.  At a minimum they can set a cost base line to validate the
>> value of your Linux solution.
>>
>> Management of clients needs to be expanded.
>>   
> 
> for large scale VPN networks like that, I'd evalulate the 
> Juniper/Netscreen stuff before I'd go Cisco.
> 


Ah yeah?  Could you tell us why you'd go Juniper before Cisco?

Not that i don't like Juniper, i'm just curious about the reason(s) you 
said that.



Guy Boisvert, ing.
IngTegration inc.

___
Pre-Boxing Day Domain Sales: Hosting + Domain = US$4.95/year
Offer Ends: Dec 31, 2008.http://www.doteasypromo.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to connect to a switch with a serial cable? - what command(s) to use?

2008-11-27 Thread Guy Boisvert

Rudi Ahlers wrote:

Hi all,

I see one of our switches doesn't want to respond to HTTPS or SSH
commands, and I know it's connected to a server via a serial cable.
I'm 3 hours drive from that server at the moment, so how can I connect
to it from the Linux server, via SSH?



As a complement of infos on Cisco:


http://www.cisco.com/en/US/products/hw/switches/ps700/products_tech_note09186a008010ff7a.shtml


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to connect to a switch with a serial cable? - what command(s) to use?

2008-11-27 Thread Guy Boisvert

Rudi Ahlers wrote:

Hi all,

I see one of our switches doesn't want to respond to HTTPS or SSH
commands, and I know it's connected to a server via a serial cable.
I'm 3 hours drive from that server at the moment, so how can I connect
to it from the Linux server, via SSH?



Hi Rudi,

First, what brand / model of switch is it?  Cisco? HP?

Cisco & HP support:

- Serial Connection
- Telnet
- Web
- SSH

But be aware that supported connection type varies from model to model 
and with firmware version / config.


For example, on Cisco switches, you won't get SSH if it's not configured 
properly.  On Cisco, serial is always enable out of the box so you can 
configure it.  It takes their "blue cable" (their are models with the 
black one too) and default serial settings are 9600,8,n,1.



Hope this helps.


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how can I stress a server?

2008-11-19 Thread Guy Boisvert

Rudi Ahlers wrote:

John, I know what ECC does. I have 2 Dell PE860 servers with 8GB ECC
DDRII RAM as well, and they're both giving RAM problems. I had top
swap-out the RAM 2 times with the suppliers already, and swapped out a
motherboard on the one of the servers. Honestly, ECC isn't my
favourate to use.


Wow!  Everybody doing serious business wouldn't go without it (i work 
for a couple of Banks and government agencies), but that's your choice 
and i respect that.  But if you want to talk about five 9's, then you'd 
surely go with ECC and other invaluable features like watchdog timer, 
management cards, BIOS serial redirection, chip kill, etc.


It all depend on your needs i agree but don't reject server grade 
hardware so easily!




At the same time, I have about 8 servers with cheap Gigabyte
motherboards and non-ECC RAM, which have been running for close to 4
years now, without any hickups at all.


That's bad stats.  It's not because my neighbour has a problem with his 
Mercedes and that i have no problem with my 4 Hyundai that Hyundai are 
better than Mercedes!!!  Not only that, but sitting 6 adults in a mini 
Hyundai may be possible but we'll be much more confortable in the big 
Mercedes!  Know what i mean?




It's the first time I try the Intel board, since it's supposed to be a
step-up from the desktop boards, and has 4 memory slots as apposed to
only 2.


... and limited by the fanout of the CPU / Chipset... As you put more 
memory, you'll have to relax timing and use proper memory brand that is 
certified for the mainboard.



The server had the same problems when I only had 4GBM RAM (2 slots
used & 2 slots open), so I don't think that the capacitive load is the
problem here. Right now the server is still at the datacentre - which
is 2 hours drive there & back with traffic, so I'm going to get it
later today / tonight, as soon as I've moved all the data across to
the slower gigabyte server, and then I can try the RAM timings thing
in the BIOS.


This could be a chipset problem, bad power supply, and the list goes on.



But, how can I put a LOT of load onto it, and see what's causing the
problem? For all I know, the motherboard could be faulty, or the CPU,
or maybe even the SATA bus?



Putting high load without having hardware monitoring won't tell you much 
IMHO.


I'd first test the power supply.  Then remove everything you can and 
test with Memtest86+ (let's say, overnight, and while you're at it watch 
the power supply under load).


Swap memory with some you know is good.  If the problem persist, you 
could possibly have a chipset problem.



Good luck.


Guy Boisvert, ing
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how can I stress a server?

2008-11-19 Thread Guy Boisvert

Rudi Ahlers wrote:


John, just cause the machines we use to serve web content to our
clients doesn't use the grade of equipment you prefer to use, and can
afford, doesn't mean equipment that other people use is inferior, or
worthless.

I have a problem with one of my machines, and have narrowed down that
it could either be the CPU, RAM or motherboard, but before I take it
back to the suppliers, I need to know what is wrong. They will switch
it on, and see that it works. But it's not taking the load that I
expect it could. In fact, it's not taking the same load as a machine
with a Intel E6750 Core 2 Duo & 4GB RAM. This server should be 2 - 4
times faster & handle 2 - 4 times the load of the E6750, yet it
doesn't and I need to know why. I don't appreciate being told that the
hardware I have if inferior.





Hi Rudy,

	John is a veteran on this list and you could probably learn many things 
from him.  I suggest you read:


http://www.mit.edu/~jcb/tact.html

(that could maybe explain why you seemed irritated by John!)

	By the way, server grade hardware is just that: Meant to serv and 
include specific features for that particular kind of job.  That doesn't 
mean that a workstation board won't be able to do a server job at all. 
Having said that, i manage servers since a long time and i can assure 
you that using serious server hardware with ECC translates in lower 
costs in the long run.


	Sure you can still have problems with server grade hardware!  But then, 
we could try to obtain statistics and MTBF to get a better idea.


	But i find ECC error indicator to be invaluable and there a many other 
features that will help to pinpoint problems rapidly.


	So Rudy, i can understand that you may have hardware problems and 
probably pressure to solve them but IMHO, it's just a classic example of 
TCO.  And i read that you had problems with Dell servers, then try 
something else!  It's OT but can say that i have many Tyan and HP 
servers in production and no problem at all.


Hope you'll solve your problem.

Regards,

Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [Centos] Promise EX16650 under 5.2?

2008-11-19 Thread Guy Boisvert

Karanbir Singh wrote:

Guy Boisvert wrote:
... and we have many problems with that approach which most of the 
time uses Java.


I've never seen one that did use java, having used the proxy's for 
Areca, 3ware, adaptec and MSI.


I have many servers in production (mostly Winblows boxes, i know it's 
bad but it's not my choice!) that have 2-3 of these bad admin apps and 
we have many compatibility problems.


Get a proper raid card ?

- KB


I'm totally with you Karanbir!

I mean, i'm a consultant and i have to live with things i didn't chose!

I'd like to change many hardware at my client's offices but sometimes, 
the budget is just not there.  SMBs are not always up to understand TCO, 
ROI, etc.  I do my best but sometimes, it's difficult!


The guy was talking about Promise and that was the reason i tried to 
warn him about their bad management app and so-so support.


That's it!


Regards,


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [Centos] Promise EX16650 under 5.2?

2008-11-17 Thread Guy Boisvert

Karanbir Singh wrote:

Gordon McLellan wrote:

Does anyone have experience using the Supertrak EX16650 sas controller
under Centos 5.2?


Do you know what the pci id's are for the device ?


The Promise website claims RHEL 5.2 support was added Sept '08.  I
figure the card might very well be detected, but how about the
management gui - it appears to use some sort of web interface, but the
card has no ethernet jack, so it must rely on some special driver to
access this?


most of the time such webui's are run via a proxy app, that you run as 
'root' on the machine and then connect to over the net using your web 
browser. its a common practice that many h/w vendors use these days.





... and we have many problems with that approach which most of the time 
uses Java.


I have many servers in production (mostly Winblows boxes, i know it's 
bad but it's not my choice!) that have 2-3 of these bad admin apps and 
we have many compatibility problems.


For example, i have one server with APC UPS management, AVG Anti-Virus 
management server and Promise Management.  For Promise, i've never been 
able to make work the management interface for the PCI card at the same 
time of the external VTRak Raid chassis.  To explain a little better, i 
have a Promise "RAID" Card (it's fake raid!) and an external VTRAK 15100 
15 SATA disks to SCSI RAID Chassis.  The worst thing is that the VTRak 
has an ethernet port but still requires the crap JAVA application 
running on the server (for management, SNMP, etc)...


AVG Anti-Virus Server had Java problems after installing Promise crap 
and so on...  At least, i found APCUPSD for Win32 and finally, APC UPS 
monitoring is stable. For the rest, i can only cross my fingers...  And 
Promise don't seems to support their hardware very well: Very few 
updates since many years.


I dunno if somebody on this list has advises for these Java Apps 
problems.  Maybe it's just bad coding from these companies.  I had some 
problems on Linux too but at least, it seems that Sun has open up a bit 
support/licensing on Linux.




Regards,

Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RAID on Email Server

2008-10-10 Thread Guy Boisvert

Matt wrote:


Right now its running pretty good but here it is.

10:10:04 AM   CPU %user %nice   %system   %iowait %idle
10:20:01 AM   all 13.87  0.00  2.45 59.20 24.49
10:30:03 AM   all 22.26  0.00  3.68 53.51 20.54
10:40:01 AM   all 20.58  0.00  3.78 55.40 20.24


[ Stuff Deleted ... ]


01:00:01 PM   all 11.53  0.00  2.38 20.96 65.12
Average:  all 17.49  0.00  4.03 46.29 32.19

A while after the reboot it straightened its self out.  Yesterday "w"
was indicatining load average of like 120 or more at times.  Today
after reboot all is good.

Matt


Hi Matt,

Your %iowait seems high.

I had %iowait comparable to you with a single 200 Gigs 7200 RPM IDE drive.

Now we've upgraded this server: Opteron 2216 with 4 Gigs RAM, CentOS 64 
v5.2) and an Adaptec 3405 plus 4 x 73 Gigs Seagate 15K RPM (RAID 10). 
No more %iowait!  I benched it at about 140 MB/s and random r/w are very 
good on these drives.


We have 55 employees running Outlook connecting to Communicate with 
MAPI.  The dataset is about 100 Gigs.  Communigate use MBOX files for 
storage.



Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba 3.0.28/3.0.32

2008-10-09 Thread Guy Boisvert

Alexander Georgiev wrote:

2008/10/9 Guy Boisvert <[EMAIL PROTECTED]>:

Joseph L. Casale wrote:

XP Home don't have:

- The RDP server
- Offline Folders
- Dual CPU Support
- Greater Access Control (shares, files & folders)
- Multi-Language interface


Another annoyance is the lack of "address bar" in the Winblows Explorer.
 It's very handy to be able to type UNC name in address bar.


It does have "address bar". At least my copy of Windows XP Home has it.
Regarding Dual CPU Support - "Windows Task Manager" shows 2 separate
CPU Usage Histories for the CPU, which is Core3 CPU T7200. It has
hyperthreading or something.

Best regards.
Alex


The list is from M$ "specs".  It says "Dual CPU" (meaning dual socket), 
not "Dual core" which is a single socket CPU!


As for the address bar, it may have changed with service packs and 
updates, i dunno.  The one i have here won't do that!



Regards,


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba 3.0.28/3.0.32

2008-10-09 Thread Guy Boisvert

Joseph L. Casale wrote:

XP Home was purposefully "crippled" by MS so it lacks networking features
in XP Pro and Win2k Pro.


Yawn...
Are you informed well enough to know how it was "crippled" as you say?
I think not, it may not be a member of a Windows domain. That's it.
It costs less. That's fair?

I wonder if you apply your analogy to RH? They have Red Hat Enterprise
Linux Advanced Platform versus Red Hat Enterprise Linux? Big price diff
there? Is that RH "crippling" their Linux?


XP Home don't have:

- The RDP server
- Offline Folders
- Dual CPU Support
- Greater Access Control (shares, files & folders)
- Multi-Language interface


Another annoyance is the lack of "address bar" in the Winblows Explorer. 
 It's very handy to be able to type UNC name in address bar.



Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Home NAS device

2008-09-06 Thread Guy Boisvert

Rob Townley wrote:
On Fri, Sep 5, 2008 at 12:35 PM, Les Mikesell <[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>> wrote:


Joseph L. Casale wrote:

The Dlink DNS-323 looks exactly what you are asking of


What a procedure to hack that thing!

The problem I see with going the all-in-one NAS route is
that down the
road, there's always some function you'd like to add -
but you can't.
You've hit the limitations of the box.


That's why I want to put straight Linux on it:)

As fun as hacking that thing would be, I might just buy one of
the tiny
boards, but for the price if I brick the DNS-323 it would still
be fun
and I wouldn't really care!




http://www.readynas.com/wp-content/uploads/2008/06/readynas_specs.swf
 



I had the ReadyNAS NV+ and finally sold it because i found it too slow 
and too choppy.  To reach its full potential, which on paper is supposed 
to be able to transfer around 30 MBps (i never go that), you have to use 
jumbo frames and gigabit ethernet.


The problem is that the CPU is very slow.  The ReadyNAS was supposed to 
offer shell access but it never happened during the time i had it.  The 
ReadyNAS was one of the fastest on the market if not the fastest.  Then 
Infrant was bought by Netgear.


Sure it had many cool features like their X-Raid technology.  The casing 
was slick and solid.  I used it for storing my music (i do disk jockey) 
and the ReadyNAS was choppy.  It seems to be weak at multitasking 
requests (playing a song while searching for another).  Playing Music 
was glitching while i was doing a "filesystem search", not cool for a DJ!


I replaced the thing by an Asus micro-ATX mainboard and an Athlon Dual 
Core 4600+ i had here (there's so cheap now!).  I took the 4 hard drives 
i had on the ReadyNAS (Western-Digital 500 Gigs RAID Edition) and i do 
software Raid 5 with CentOS 5: the result is very good (transfer around 
35-40 MB/s and the cpu usage is low).  I experienced the Samba problem 
that made "disconfort" to Winblows XP but it's fixed now with the update 
of Samba.


If you're not into performance, one of these boxes could do it but don't 
expect something zippy.  Don't expect high transfer rate.


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Hard disk, format, filesystem SOLVED

2008-08-16 Thread Guy Boisvert

Jussi Hirvi wrote:

Les Mikesell <[EMAIL PROTECTED]> escribio (15.8.2008 20:01)

I would have just used fdisk instead of partd.  If you are adding this
to a raid, you don't need a filesystem, just a partition of the right
size.  The contents are going to be wiped by the raid sync anyway.


Thanks for comment. Fdisk was recommended me by another experienced user
too, so there is probably a good reason. Though I don't know, what's wrong
with using parted. 


BTW, this problem partition was not the raid1 partition, but a copy of the
boot partition on the startup disk. In case the boot disk ever fails, I hope
I can make the 2nd disk bootable by just installing grub.

- Jussi 



I had this same boot problem you had and i found the following script 
made by Alex Tkachenko (Thanks Alex!):



== CUT HERE 
#!/bin/sh
#
# Update MBR on both mirror drives
# (grub/swraid has problems updating the slave, # as of RHEL3)
# Should be run after grub rpm updates as well
#
# By Alex Tkachenko 

ADMINDIR=/root/admin



if [ ! -d $ADMINDIR ]
then
echo $ADMINDIR does not exists.
echo Creating $ADMINDIR for storing boot sector backups...
mkdir -p $ADMINDIR
else
echo $ADMINDIR exists.
fi


BOOT_ARRAY=`df /boot | awk '/dev/{print $1}'`

# Select only active disks (skip spares)
DISKS=`mdadm --query --detail /dev/md0 | awk '/active sync/{print $7}'| 
sed '

s@/dev/@@g
s/,/ /g
s/[0-9]//g
'`

for d in $DISKS
do

cat 

Re: [CentOS] Missing dependencies : SOLVED

2008-07-30 Thread Guy Boisvert

Johnny Hughes wrote:

Guy Boisvert wrote:

Hi!

I have a new shiny CentOS 5.2 server freshly installed.  I wanted 
to install VMWare Server but the installer wants to compile a module.


I thought, no problem: Let's install compiler and libraries.  So i 
did:


yum groupinstall "Development Libraries" "Development Tools"


But i end up with:
==
--> Processing Dependency: libsqlite3.so.0 for package: rpm-devel
--> Finished Dependency Resolution
Error: Missing Dependency: libidn = 0.4.6-1.2.el5.rf is needed by
package libidn-devel
Error: Missing Dependency: libsqlite3.so.0 is needed by package rpm-devel
Error: Missing Dependency: libidn.so.11 is needed by package curl
Error: Missing Dependency: libsqlite.so.0()(64bit) is needed by package
sqlite-devel
Error: Missing Dependency: sqlite = 2.8.17-1.el5.rf is needed by package
sqlite-devel
Error: Missing Dependency: libsqlite3.so.0 is needed by package rpm-libs


you have got some system files replaced by .rf (rpmforge) files ... 
looks like you added a 3rd party repo without setting up yum-priorities 
and some important files (sqlite*) were replaced





Thanks Johnny.

Indeed i have RPMForge (which i never used yet, well some files were 
pumped from there because of my mistake described below!).


Soon after install, i did:  yum install yum-priorities


==> I don't know where i read that but i thought that the default 
priority level was 10 (maybe i was drunk!!!).  So rpmforge repo was set 
to 11 !!!  The default is 99, not 10!


==> So finally, i just edited /etc/yum.repos.d/CentOS-Base.repo

and added line: priority=1
to sections: [base] & [updates]

After, i did:

yum groupinstall "Development Libraries" "Development Tools"

to find out that i had to remove packages:

yum remove subversion-1.5.0-0.1.el5.rf xulrunner-1.9.0.1-1.el5_2

Which were newer than in CentOS repos.


After removing Subversion & Xulrunner, Developpement Tools & Development 
Libraries installed just fine.



Thanks again for your help!

Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Missing dependencies

2008-07-30 Thread Guy Boisvert

Hi!

	I have a new shiny CentOS 5.2 server freshly installed.  I wanted to 
install VMWare Server but the installer wants to compile a module.


I thought, no problem: Let's install compiler and libraries.  So i did:

yum groupinstall "Development Libraries" "Development Tools"


But i end up with:
==
--> Processing Dependency: libsqlite3.so.0 for package: rpm-devel
--> Finished Dependency Resolution
Error: Missing Dependency: libidn = 0.4.6-1.2.el5.rf is needed by
package libidn-devel
Error: Missing Dependency: libsqlite3.so.0 is needed by package rpm-devel
Error: Missing Dependency: libidn.so.11 is needed by package curl
Error: Missing Dependency: libsqlite.so.0()(64bit) is needed by package
sqlite-devel
Error: Missing Dependency: sqlite = 2.8.17-1.el5.rf is needed by package
sqlite-devel
Error: Missing Dependency: libsqlite3.so.0 is needed by package rpm-libs



What's really missing and why it doesn't seem to be in the repo?


Thanks!



Guy Boisvert, ing.
IngTegration inc.

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


Re: [CentOS] Windows XP fixmbr from Centos?

2008-07-30 Thread Guy Boisvert

Robert Moskowitz wrote:

Kai Schaetzl wrote:

Robert Moskowitz wrote on Wed, 30 Jul 2008 08:29:01 +0100:

I am still dead on my corporate system, and the XP boot CD I brought 
won't boot.  And so far I have not found anyone here at the IETF 
meeting that happens to have one in their bag of tricks...



If this is an XP system and the MBR set by XP, then you can boot with 
the (any!) XP CD/DVD into the rescue console and use fixmbr command. 
I know that, but so far I have not found anyone here at the IETF meeting 
that has one.  I mean, who carries such a CD with them to a week-long 
meeting?  I have a couple of options to pursue still.  LIke the network 
helpdesk vendor who is local...


However, you indicated earlier there is some encryption in place, I 
don't know if that is already in effect at MBR level. If it is, this 
method or the one mentioned in the article won't help.
  
My corporate tech guy told me the first step is to get a standard XP mbr 
back on the system, and then he believes he can talk me through getting 
the encryption working again.

Kai

  


Freedos with command "fdisk /mbr" ?

There are a couple of hurdles with this, mainly:

1) If you have SATA drive (or SCSI or...), freedos may not be able to 
see the drive


2) I don't know if freedos has an updated version of fdisk that has no 
addressing limitation (main not be a showstopper anyway)



Anyway, just a quick tought.


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Native Command Queueing

2008-07-24 Thread Guy Boisvert

Scott Silva wrote:

on 7-24-2008 6:51 AM Matt spake the following:

Is there anyway to enable NCQ on CentOS 4.6?  I guess anouther
question is on a somewhat high activity mail server with a single
SATA2 drive will it do any good?

Matt
I doubt it will make a BIG difference, but you might be looking for 
trouble running a highly active server of any kind on a single spindle.




I have a Communigate mail server that was running on a single WD 200 
Gigs IDE (7200 RPM).  Communigate uses separate mbox files for storage, 
very easy for backup / restore.


I was monitoring it with SAR and there was very high level of IOWait, 
meaning the drive was having a hard time.


Context:

35 Users Running Outlook with Communigate MAPI Plugin
80 Gigs dataset (Total)
Public folder with about 50 Gigs of stuff

We replaced the server with a Tyan Transport TA-26.  We put an Adaptec 
3405 (4 ports Unified SATA/SAS adapter) and 4 Seagate 15K SAS 73 Gigs 
drives (RAID 10).  No more iowaits even if now there is 50 users.


I don't know about your context but running on a single drive is 
dangerous for data loss anyway.


Hope this helped!


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Ideas for stopping ssh brute force attacks

2008-07-21 Thread Guy Boisvert

Michael Gabriel wrote:


just wanted to get some feedback from the community. Over the last few
days I have noticed my web server and email box have attempted to ssh'd to
using weird names like admin,appuser,nobody,etc None of these are
valid users. I know that I can block sshd all together with iptables but
that will not work for us. I did a little research on google and found
programs like sshguard and sshdfilter. Just wanted to know if anyone had
any experience with anything like these programs or have any other advice.
I really appreciate it.



I don't know if anybody on this list tried SPA (Single Packet 
Authorization):


http://www.linuxjournal.com/article/9565


As another person mentioned earlier, the idea of using VPN is very good.

I use pfSense and the VPN server inside gives the connecting user an 
address on a virtual subnet.  Each user is given a distinct fixed ip 
address.  Then it's easy to setup firewall rules based on what you allow 
the user to do.  I do 10 Mbps symmetric with a "recycled" 1U Dell 
PowerEdge 350 (PIII/800, 512 Megs RAM).  We do QoS (we have 1 WME 
Streaming Server, 1 Darwin Streaming On Demand Server, FTP, DNS, SMTP, 
etc).  The CPU usage is very low.  I love pfSense a lot.  The only thing 
i struggled a little was when i tried to authenticate the user with 
Active Directory (M$ IAS = RADIUS).  It works but i have yet to find a 
way to assign a fixed address to each user.  I can do this if i use 
pfSense integrated user manager (for VPN).


In another place, i use a CentOS box as a remote gateway using SSH.  I 
changed the SSH Port, use DenyHost, force SSH V2 and forbid password 
login (SSH Key login mandatory).  I even got a VBS script for our 
Winblows users that uses plink (member of the PuTTY Family) to connect, 
authenticate with keys and launch RDP Terminal to connect to the 
Winblows Terminal Server (all this automated).  The only prompt the user 
has is for entering his remote login name (the user must know it or the 
connection will be refused).


I did an installer (with Nullsoft's NSIS) so allowed Winblows users can 
install easily all this: The installer creates icons, protect SSH keys 
(NTFS Encryption), etc... The installer is protected by a password.



Hope this helped!


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT - Windows slowdown?

2008-07-18 Thread Guy Boisvert

Rudi Ahlers wrote:

Rainer Duffner wrote:

Guy Boisvert wrote:


A discussion about slowliness or not of Winblows SP3 is *SURELY* off 
topic in the CentOS list!  I still don't know how the original poster 
came with all this in the CentOS list.  I mean, for Winblows stuff, 
i'd post to a Winblows list first!


Because the idiot-density is usually lower on a non-Windoze-list.
This happens everywhere. On "good" lists, people come-up with all 
sorts of questions for all sorts of problems after they realize that a 
bunch of people who actually know their stuff hang around.


This list is not too busy - it's still a bearable volume. But I admit 
I don't read everything.


Rainer
___
I actually got kicked off a local Linux list for asking something 
similar, had some issues with a MS Exchange server (which is more an 
STMP / IP transport problem than MS specific) and some ppl on the list 
decided I should be kicked off for it.


On the other side of the coin, MS wanted to charge me close to $100 
/hour for support. Go figure.




I can imagine that the knowledge level can effectively be lower in 
Winblows lists.  It's as simple as to who is headed Winblow$ in general. 
(There are idiots everywhere and even if sometimes they know a lot about 
something but that's another subject!)


Macroshaft focus on sucking money out of the mass and Linux is aiming to 
something else.


This list is about CentOS, we focus on that, it's clear.  Sure there are 
probably a lot of people with high knowledge in Winblows here but let's 
just say again that there are probably many other lists for Redmond's 
"Let's Go Captive and Mess Around Standards" OS.  If i have knowledge in 
Winblows and want to help, i can just subscribe to those lists and "Voilà" !


As for M$ wanting to charge for support, people have to realize that 
sometimes you have to take many parameters into account before choosing 
a server platform.  I'm a consultant and when i speak about TCO and ROI 
to my clients, i often have to fight the misconception that it's always 
easy with Winblows...  Redmond funded some research companies to say 
that Linux TCO was higher than Winblows', let's just say that money can 
buy many things...


Majority of little companies choose Winblows by "default" thinking that 
you just put a server into a closet and forget about it.  They think 
that the receptionist can just click "update" from time to time and 
everything will be ok!  And VARs companies very often pre-install 
Redmond's crap on their hardware (again, buy out by Redmond)...


Then one could probably say that if you get support for Linux, it could 
be as expansive as Winblows (hourly based) and that's true.  But i 
always return to the root of the difference and illustrate the 
"techniques" used by Redmond to modify standards, to get clients 
captive, etc.  I still have to live with "the M$ Office mess" everyday, 
good illustration of Redmond's "low blow" tactics (specifically in this 
case, the horror story about their closed source data file format that 
they use to push you to the latest version).  Or even, think about their 
prohibitive license fees (Win2003 CALs are now in excess of 100$ per seat)!


Ok, enough for evidences about Redmond...


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT - Windows slowdown?

2008-07-18 Thread Guy Boisvert

Martyn Hare wrote:


This is so barely on topic it's just plain _wrong_, but it's the only
thing I can give useful input on based on [bad] experience.  That said
it's not _that_ offtopic given Xen can run Windows and CentOS includes
Xen technology ;-)




Then this list could become the list of about anything, providing that 
Xen can run many other OS!


I'd say that for Winblows / Xen problems, you could just submit to Xen 
list then.


A discussion about slowliness or not of Winblows SP3 is *SURELY* off 
topic in the CentOS list!  I still don't know how the original poster 
came with all this in the CentOS list.  I mean, for Winblows stuff, i'd 
post to a Winblows list first!



So thanks for your help but next time, please DNFTT!


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT - Windows slowdown?

2008-07-16 Thread Guy Boisvert

Dennis McLeod wrote:

I've installed it on a half dozen machines here as part of a test. No issues
that I can see.
All are XP Pro with SP2 and some IE6, some IE7. All upgraded to IE7 after,
if they were IE6. 
I DID take images (Clonezilla!) of those machines before I installed

Just a habit I got into years ago. (Taking images before major changes, not
Clonezilla. I used to use Imagecast...)

Dennis



-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Robert - elists

Sent: Wednesday, July 16, 2008 7:59 AM
To: 'CentOS mailing list'
Subject: RE: [CentOS] OT - Windows slowdown?


Applying SP3 to my daughter's laptop has killed performance to the 
point of being almost unusable.  Restore Points seem to be 
lost, so I 

can't go back to before it.

Anne

Anne

Sp3 doesn't kill performance if applied to a fresh install 
before any "other" updates or apps are applied / installed


Installing sp3 on top of sp2 "just because" is realistically 
not a good thing...


 - rh



Hey guys, could you please move this thread where it should be: In a 
Winblows mailing list...  I don't think that the CentOS mailing list is 
the right place to discuss about Winblows...



On top of that, top posting is irritating at best.


http://www.centos.org/modules/tinycontent/index.php?id=16
(item 2, "Guidelines for CentOS Mailing List posts")



Thanks for your understanding and have a great day.


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how do I find out which nameserver returns a DNS query?

2008-07-07 Thread Guy Boisvert

Ken Price wrote:
>> Please do not top post!  It makes life harder in mailing lists.
>>
>>
>> http://www.centos.org/modules/tinycontent/index.php?id=16
>> (item 2, "Guidelines for CentOS Mailing List posts")
>>
>>
>> I didn't include the last replies but it's all messed up.
>
>
> Dude.  Give me a break.  I was just quick-replying and not thinking.
> Reply privately next time.
>
> -Ken

Hi Ken,

	I didn't want to be rude or anything.  It's just that those top posting 
are coming again and again.  It makes threads harder to read and the 
posting guidelines to the CentOS list are public and well defined.


	I thank you for your help.  But people have to realize that these 
guidelines are not just for fun or temporary.  The more people know 
about it, the better it is for the sake of the list.  That's why i'll CC 
to the list, it's good for people that don't know about the guidelines. 
 Maybe you were not aware of them, now you are and thanks for that.


Regards,


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how do I find out which nameserver returns a DNS query?

2008-07-07 Thread Guy Boisvert

Ken Price wrote:
DIG tells you which server returned the results.  Look for the SERVER 
line, should be third from the bottom.  If you want to query specific 
nameservers directly, use dig like this:


dig @ns1.myserver domainname.com
dig @ns2.myserver domainname.com

etc, etc.

-Ken




Hi Ken,

Please do not top post!  It makes life harder in mailing lists.


http://www.centos.org/modules/tinycontent/index.php?id=16
(item 2, "Guidelines for CentOS Mailing List posts")


I didn't include the last replies but it's all messed up.


Thanks !


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] settings up cheap a NAS / SAN server, is it possible?

2008-06-29 Thread Guy Boisvert

Les Mikesell wrote:


Are you pricing the low end NAS boxes (like Buffalo 
Linkstation/Terastation, etc.)?  It might be hard to beat that if all 
you want is a file server.  Most run Linux of some sort on ARM or PPC 
processors and may need to be hacked to add NFS or support >2gig files.






I had an Infrant ReadyNAS NV+ last year (Now Netgear) which was supposed 
to be one of the fastest on the market (Cost about 800$ without drives). 
 A cheaper home made NAS beated it hands down (Software RAID 5).  See 
last paragraph of:


http://lists.centos.org/pipermail/centos/2008-April/097623.html

The ReadyNAS was a cool little NAS with many services but i found it 
slow and choppy.  It was a nice little case and the homebrew NAS was 
bigger indeed.  But the homebrew has power to spare and can do much 
more.  The ReadyNAS was supposed to get shell access but never made it 
before i sold it (WEB Manager only when i had it).



Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] remote access info please

2008-06-19 Thread Guy Boisvert

Monty Shinn wrote:

Gary wrote:

Hi ya'll,

I built a new CentOS 5.1 server for a client, housing a Lotus Notes / 
Domino
server, and various other virtualized IBM software server guests, and 
soon

will have to physically move that server to another distant location.

My question is that I will need secure access to those servers via X, not
just the C/L terminal. What do you recommend for a good secure CentOS
program which would do this. Would also want to access via a high 
port, but
I am sure just about any program will allow this to be manually 
configured.


Thanks for your help and input.



Gary,

You can run X apps over ssh if you use the >> -Y << option.  You can 
also configure ssh to use a non-standard port in it's config page.


I also believe you can port (tunnel?) VNC through ssh, but I have only 
heard about that, so I may be off here.  VNC is part of the standard 
CentOS distribution.


HTH,

Monty



Personaly, i use TightVNC and portable PuTTY (USB Key) for Winblows.  It 
works ok.  And the port forwarding thing is easy.  I'm not sure if the 
CentOS' vncserver support compression though (performance is OK for what 
i do).



On the server, edit the file ~/.vnc/xstartup and uncomment the lines (as 
indicated in the first line comment):


# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER   <=== This
exec /etc/X11/xinit/xinitrc <=== and This



Then start the VNC server on the server (first time, it will ask for a 
password which you will use when connecting with TightVNC viewer), for 
example:


vncserver :20 -depth 16 -geometry 1152x864 -name ServerName:MyUserName

where

:20 = the # of the terminal (i arbitrarly choose 20, you can start 
multiple on the same machine and choose whatever you want)


-depth 16: Color bit depth

-geometry 1152x864 = Whatever you see fit

-name = A string that will appear in the window title of the VNC client.



Then, while connected with PuTTY, connect TightVNC viewer to: 
"localhost:20" (without quotes).



To kill the VNC server: vncserver -kill :20


Some more infos there:

http://lists.centos.org/pipermail/centos/2006-November/072254.html


Guy Boisvert, ing.
IngTegration inc.

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


Re: [CentOS] tzdata, Greenwich zone: URGENT!

2008-06-04 Thread Guy Boisvert

Johnny Hughes wrote:


I use UTC

make sure that the file /etc/sysconfig/clock says this:
#---start cut
ZONE="UTC"
UTC=true
ARC=false
#---end cut

Copy the file /usr/share/zoneinfo/UTC to /etc/localtime

set the time via an ntp server with the command (if ntp is installed):

ntpdate -s 0.centos.pool.ntp.org

Then you should always be at the correct time.

NOTE:  If you do not have the correct time zone in the 
/etc/sysconfig/clock file then on the next update, you will get the 
reset to the timezone that is there and not the one you manually copied in.


The UTC time zone is also available on install as a selection.

Thanks,
Johnny Hughes




Thanks Johnny!  Great info.

	I edited the /etc/sysconfig/clock file and did what you said.  I did 
also: cp -p /usr/share/zoneinfo/UTC /etc/localtime.  I'll probably 
schedule a reboot, just to be sure all is clean.  NTPd is already running.


	Checking /usr/share/zoneinfo/, i saw GMT, GMT0, GMT-0, GMT+0, UTC & 
Greenwich.  Does anybody knows the differences between all these or 
could provide a link to a reference?  I found some infos but nothing 
that explains the subtlety.


	I made a diff and they are binary different.  I just want to understand 
better what happened to us and the "time" thing!


Regards,

Guy Boisvert, ing.
IngTegration inc.

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


Re: [CentOS] tzdata, Greenwich zone: URGENT!

2008-06-03 Thread Guy Boisvert

Anne Wilson wrote:

On Tuesday 03 June 2008 14:57:29 Karanbir Singh wrote:

Guy Boisvert wrote:

Hi!

It appears that there have been some changes to tzdata recently. We
run an application that needs the server to stay at GMT. Previously, we
used the Casablanca timezone but now there seems to be a 1 hour
difference to GMT. I checked the London zone and they seem to change
time too.

Looks like you were never on GMT / UTC - but on British Time, Which in
the summer is one hour off GMT

Where/how is the system clock set?  My server appears to have the system clock 
on GMT/UTC and KDE on British Time.



Anne



Hi!

	Thanks for all the fast responses!  I didn't know about the internals 
of the tzdata, the symlinks and the potential problems that Rick 
reported.  So finally, before the 1st response arrived from the list, i 
decided to do a "brute force" downgrade.


I downloaded the previous CentOS tzdata file from:

http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/tzdata

and did an rpm -ivh --force tzdata-2007k-2.el4.noarch.rpm

	I rebooted the server and everything went ok!  I didn't have the time 
to explain my case but for the sake of completeness, here it is:


1) Our application is for TV broadcasting.  We have a complete in-house 
developped automatic broadcasting system.


2) We have two players (1 active, 1 standby) that run on Windows 2000 
Server platform.  There are 3 deamons: Copy service (from the big 
multi-terabyte library to local "cache" of 200 gigs), Broadcaster 
(playlist maker) and Player.  The former 2 services read data from 
PostgreSQL database on CentOS x64 4.6.  As is said, the Broadcaster 
service read from the database and make the playlist then send it to the 
player.  Copier make check what it needs locally and act accrodingly. 
It managed a kind of big local cache.


3) The broadcast schedule is entered with a JAVA application that writes 
the time and date in GMT/UTC time in the database.  The JAVA application 
knows the local time and the offset and write accordingly, adding the 
amount of time required (we are in Montreal so it's GMT-4 or GMT-5) to 
"reach" GMT+0.


4) The database servers have always been in Casablanca zone and until 
today, it seems that it was never changing time.  1st of june, tzdata 
was updated by a yum update and since then, it was only a question of 
time before we'de be offset.  Playlists are looked up and made for 36 
hours so today was panic day!


5) Stumbling across the problem, i read many strange things while 
Googling, related to what Rick said in his post to the list: localtime 
file, symlinks, etc.  I was kinda lost!



Practically, as i said, i tried to find the GMT zone doing a 
system-config-date to no avail... I was shocked!  We shouldn't be the 
only one to have this need!


So, as i decode from what i received in response to my initial post, and 
correct me if i'm wrong, all that does system-config-date is to copy a 
file from /usr/share/zoneinfo/... into /etc/localtime ? (and maybe set a 
couple of symlinks?).


And if i do what Marcelo said:

cp  /usr/share/zoneinfo/right/Etc/GMT-0 /etc/localtime

am i cleared from future updates / changes in timezones?  I simply want 
the server to stay at GMT+0 and never change timezone.


I'm waiting for advice from experts!

And would it be possible to include "GMT+0" in system-update-date ? 
What is strange on top of all that is that the time of the schedule 
seems to be stored on the database relative to the local time of the 
server...  I'll have that checked by the programmers!



Many thanks to Marcelo, Rick, Karambir & Anne!


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] tzdata, Greenwich zone: URGENT!

2008-06-03 Thread Guy Boisvert

Hi!

It appears that there have been some changes to tzdata recently.  We
run an application that needs the server to stay at GMT.  Previously, we
used the Casablanca timezone but now there seems to be a 1 hour
difference to GMT.  I checked the London zone and they seem to change
time too.

I tried to change the zone to GMT with system-config-date (i'm using
command line remotely) but didn't find the Greenwich zone!  Is there any
way to fixed this ?


[EMAIL PROTECTED] ~]$ date
Tue Jun  3 14:10:21 WEST 2008
[EMAIL PROTECTED] ~]$ date -u
Tue Jun  3 13:10:24 UTC 2008


Thanks in advance.


Guy Boisvert, ing.
IngTegration inc.


P.S.: As i'm writing this, our application just started to desync !!! 
HOW CAN I ROLL BACK TZDATA  I Googled all over without finding any 
way to do it!

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


Re: [CentOS] RAID5 or RAID50 for database?

2008-05-23 Thread Guy Boisvert

Linux wrote:

On Fri, May 23, 2008 at 8:28 AM, Guy Boisvert <[EMAIL PROTECTED]> wrote:

"More intelligently designed" -> Could you please tell us more on this one?


Simple answer: Open Source (and for a long time) I guess you know what
it means. But I wander if source of Adaptec raid controller's firmware
is opened in recent years.



Well, i respect Open Source (and your opinion) very much but your 
comparison imply that you had access to Adaptec's code!  Maybe you 
really had access, i don't know.  If it's the case, then thanks you for 
having shared this knowledge.





Not easily recoverable?  I did recovery many time without a hitch (Adaptec,
3Ware, LSI, PERC)!


Try recovering 3Ware failed disks with Adaptec then. Nearly every
vendor has his own way in details. Yes, mostly documented but not
interchangable. And I do not mean only RAID-1.



You're talking about failed disks or controller?

With controller, easy with my backups (or backup card).  People with no 
tolerance to failing controller arrange things accordingly like i do.


With disks, irrelevant.





As for RAID 10 with 3 disks, mmm... go see:

http://en.wikipedia.org/wiki/Redundant_array_of_independent_disks


mdadm Raid-10 is neither 1+0 nor 0+1. So 3 disks is enough to supply a
minimum level of redundancy. You should have 2 copies of each stripes
on either 2 of 3 disks. But in 3 disk configuration loss of 2 disk
means total loss. Go check with man mdadm.




Well, educate me (and maybe others) M8.  I learn things everyday and i 
like it.  How would you do RAID10 with 3 disks?  I know how to do it 
with at least 4, then 6 and so on.


As for RAID-10, more below.



Well, my parents taught me understanding what I read better than you
(although I'm not a native English speaker)


Well, english is neither my native language!  As for reading, i'm not 
that bad but i may have misunderstood what you really meant.  In that 
case, please forgive me!  I didn't meant to be rude or anything.






Hey, have a nice day "Linuxito" !


Thanks buddy.

And for referance, try reading this [1]

I do not want to start a flame, just sharing my experience with
different hardwares. This comparison about software-hardware raid
excludes SAN and other external RAID solutions. Externally attached
storage is outside the scope of this discussion. Externally connected
solutions can obviously be SAN, software RAID, hardware RAID, or a
combination thereof. [1]

[1] http://linux.yyz.us/why-software-raid.html


I agree that the compatibility is great with software RAID.  However, 
there are some limitations at least in performance (Bus saturation, etc).


I "tried to read" your reference (the URL you kindly provided me, 
thanks) and, quote:


"When the top array is a RAID 0 (such as in RAID 10 and RAID 50) most 
vendors omit the "+", though RAID 5+0 is clearer."


"RAID 1+0: mirrored sets in a striped set (minimum four disks; even 
number of disks) provides fault tolerance and improved performance but 
increases complexity. The key difference from RAID 0+1 is that RAID 1+0 
creates a striped set from a series of mirrored drives. In a failed disk 
situation RAID 1+0 performs better because all the remaining disks 
continue to be used. The array can sustain multiple drive losses so long 
as no mirror loses both its drives."



So they say, and correct me if i'm wrong, that RAID10 is a RAID 1 of 
RAID 0.  A mirror of stripe sets.  You said it's not that, i lost you on 
this one.



   |-- Mirror |
   |  |

  -- D1a-- D1b
  | |
  | Striped | Striped
  | |
  -- D2a-- D2b
  | |
  ...   ...
  |         |
  -- Dna-- Dnb


So that's why i don't get what you mean by RAID10 with 3 disks.  Please 
explain.



Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RAID5 or RAID50 for database?

2008-05-22 Thread Guy Boisvert

Linux wrote:


And stick with md-raid 10 (also known as software raid) because it is
much more intelligently designed than any
closed-source-embedded-raid-controller.


"More intelligently designed" -> Could you please tell us more on this one?



i
Nowadays hardware raid frightens me because of the need to have spare
raid-controllers for every hardware-raid-configuration I have. They
are neither interchangable nor easily recoverable.

md-raid 10 can be established with any number of disks (at least 3 but
better check with google)



Not easily recoverable?  I did recovery many time without a hitch 
(Adaptec, 3Ware, LSI, PERC)!


As for RAID 10 with 3 disks, mmm... go see:

http://en.wikipedia.org/wiki/Redundant_array_of_independent_disks


Lastly, it's kinda strange that your name is "Linux": Maybe you're young 
and your parents decided to honor this great OS!  Well, i may name my 
next children "Cento" !!! ;-)



Hey, have a nice day "Linuxito" !


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RAID5 or RAID50 for database?

2008-05-22 Thread Guy Boisvert
Jason Clark wrote:
> You're going to need two RAID controllers and 6 drives to do RAID 50.
> RAID 50  will be faster, but costs more in drives and controllers.
> 
> 
> 
> Jason
> www.cyborgworkshop.org
> 
> 
> mcclnx mcc wrote:
>> we have DELL 6800 server with 12 internal disks in it.  O.S. is CENTOS
>> 4.6 and SCSI control card is PERC 4e/di.
>>
>> We plan to configure 4 disks (5,8,9,10) as RAID5 or RAID50.  This
>> logical volume will be use as file systems and store database backup files.
>>
>> Can anyone tell me which one is better on performance?
>>

1st, Jason, please do not top post!  It makes life harder in mailing lists.


http://www.centos.org/modules/tinycontent/index.php?id=16
(item 2, "Guidelines for CentOS Mailing List posts")


You do not need two (2) raid controllers unless you want to have
redundancy at the controller level.  Adaptec, 3Ware, etc do RAID 50.
For RAID 50, you need at least 6 disks.

http://en.wikipedia.org/wiki/RAID


For database, i'd go with RAID 10.  As pointed out Joseph in a previous
post, RAID 5 rebuilding would slows the array down.

As for RAID 10, i didn't make extensive benchmarks but here are the
rough results i got with Adaptec 3405 and four (4) Seagate 15K SAS drives:


RAID 5: Read = 170 MiB/s
Write =  135 MiB/s

RAID 10: Read = 170 MiB/s
 Write = 160 MiB/s

And the difference gap (write) should increase in favor of RAID 10 as
one add disks (provided that the controller use more PCI-e lane than the
Adaptec 3405 which use 4 lanes or even using the PCI-X bus).  RAID 5
uses XOR calculation.


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] samba question

2008-05-22 Thread Guy Boisvert

david chong wrote:

Hi,

I am running Centos5.1, trying to configure samba now. I am quite new
in this area and hope help from the list.

I could not connect to it from a windows xp pc

From the console, I log in and do a



smbclient -L localhost -U%


Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.25b-0.el5.4]

Sharename   Type  Comment
-     ---
samba   Disk
IPC$IPC   IPC Service (Samba 3.0.25b-0.el5.4)
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.25b-0.el5.4]

Server   Comment
----
ANTIOCH  Samba 3.0.25b-0.el5.4

WorkgroupMaster
----
MYGROUP  ANTIOCH

Could you pls help.
Thanks

David


Hi David,

I recommend you this: http://www.samba.org/samba/docs/man/Samba-Guide/

This is IMHO an excellent guide made by the good folks at samba.org.

Very basically, you need to edit /etc/samba/smb.conf and define your 
shares there.  The default file is abundantly commented.


You can have your server validate the accesses using locally stored 
samba/users accounts or even validate with a SMB/CIFS PDC (Winblows or 
Samba).


Hope this helped a bit!


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: clustered mail server?

2008-05-18 Thread Guy Boisvert

Tom Diehl wrote:

On Sun, 18 May 2008, Guy Boisvert wrote:




Well, i just hope you don't have anything secret or sensitive...
With their "search power", it's very easy to automate the info
harvesting!


If you are sending secret or sensitive information via unencrypted
email you already have a bigger problem then weather or not google is
harvesting info. Email by design is insecure. Why anyone would
believe otherwise is unclear to me. If you are encrypting it than I
would argue that it does not matter if google tries to harvest
information from it.

Regards,

Tom Diehl[EMAIL PROTECTED]Spamtrap address



Good point.  Does Google supports encryption?

On top of that, "Echelon" is listening...  As for unencrypted emails, 
it's child play.



Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] clustered mail server?

2008-05-18 Thread Guy Boisvert

Ruslan Sivak wrote:

David G. Mackay wrote:
I'm not sure why nobody has asked this yet, but why not try hosted GMail 
instead?  It's free and you can use it with your domain name.  We 
currently run a linux based mail server, but are thinking of migrating 
over to hosted GMail, and have one so for a few clients already with no 
problems.


Russ




Well, i just hope you don't have anything secret or sensitive...  With 
their "search power", it's very easy to automate the info harvesting!


I'm not saying they do it, but they surely have the technology.


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Best Motherboard

2008-05-15 Thread Guy Boisvert

Stephen John Smoogen wrote:

On Thu, May 15, 2008 at 5:44 PM, Guy Boisvert <[EMAIL PROTECTED]> wrote:


The only downside is that sometimes, it takes time to get them.  It's like
Tyan has problem producing enough for market demand.



Actually from my understanding its sort of the 'opposite'. Market
demand for white-box motherboards has gotten less over time as the
'cost' of selling them has gone up versus buying a finished built
system from a VAR. So companies like Tyan etc make more money making
the boards indirectly for VARs than they do from selling their own
boards.

Its sort of like the car engine companies of the 1900's. As time went
on they made smaller and smaller batches of specialized engines
because the companies they had sold them to either bought them up or
just had them make large batches of Ford/GM/etc engines exclusively.



Yeah, that's possible.  They could have big contracts with VARs.

I saw some Dell workstations with special models of Asus mainboards, 
which are not supported by Asus!  You have to rely on the VARs for support.



Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Top Posting

2008-05-15 Thread Guy Boisvert

Bob Taylor wrote:

On Wed, 2008-05-14 at 16:48 -0500, Doug Tucker wrote:

On Wed, 2008-05-14 at 15:56 -0500, Scott Nelson wrote:

On May 14, 2008, at 3:48 PM, Doug Tucker wrote:


...all but dead...I run a usenet server here, had 3 logins last
month...user base is over 4000...


I *think* Scott wrote:
Usenet is almost dead but e-mail lists abound (you are using one).   
Same concepts.

I know, but my point was, since we all use email to read email lists,
let's get off the old usenet etiquette, and use email etiquette, which
you will find yourself in the very minute minority that replies bottom
post.  


Doug, you *still* are missing the point! The *rules* written in the days
of Usenet are *still* applicable today. Why? Because the reason for
their existence hasn't changed. Originally there was Usenet *groups* now
there are email lists. What's the difference? The names.

Bob



I second Bob on that!  I do a lot of support and top posting is a 
*PITA*.  It's like reading a book from bottom to top, right to left! 
It's "doable" but nor very confortable IMHO.


I'm not saying i have absolute truth, just sharing the view of somebody 
that do tech support since 15 years.



Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: tar spanning

2008-05-15 Thread Guy Boisvert

John R Pierce wrote:

Guy Boisvert wrote:
It seems that after all those years of Outlook problems, some are just 
into "extreme sports"...



actually, Outlook Express, and its follow-on Windows Mail, have been FAR 
more standards compliant than Outlook itself ever was or will be.
Outlook Express was originally MS Internet Mail and News, aka MSIMN, 
which in fact was still the name of the executable last I looked.  

I've been using Mozilla Thunderbird this past couple years, and I've got 
a few complaints about it, too (mainly, switching from plaintext to html 
formatted or visa versa is an ugly process and doesn't handle the 
conversion at all well at edit time)


You have all my admiration to be "extreme enough" to deal with M$ stuff! 
  I lost patience with them long time ago and i **HATE** the way they 
are always play dirty with standards.


The current Outlook Express could be the best in the world, i wouldn't 
use it!  I know, i shouldn't say that... It's just that i can't stand M$ 
way of doing things and i don't see them change in the next century!



Well, sorry John for my rant, it came deep from my heart!

And yes, Thunderbird is not perfect as 100% of the software on the planet!


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Best Motherboard

2008-05-15 Thread Guy Boisvert

John R Pierce wrote:

Simon Jolle sjolle wrote:

On 05/15/2008 04:24 PM, Sam Drinkard wrote:
 
   About 2 years ago, I build a server 

[...]

What are the advantages of building your own server comparing with
products from HP, Dell and IBM? Is it cheaper?

I never heard of DIY server hardware market.
  


Well, there is always the category of home servers...  in my case, these 
are usually handmedown PCs, old, too slow to be a modern desktop, but 
perfectly usefull as firewalls, DNS/mail/web servers, etc.   My current 
home server is a 10 year old P2 450Mhz rock solid board. But, I'd 
never use something like this in a business where its mission critical.


I, for one (an opinionated one at that:D) do NOT recommend homebrewing 
proper rackmount servers from raw parts...  storage integration issues 
alone can break a project like that.


there's a middle ground... folks like Intel and Tyan make 'server 
bases', or kit servers, which comes with the rack chassis, hotswap 
backplanes, disk drive trays, mainboard and power supply, you just 
supply the CPUs, RAM, disk drives, and any extra cards you need.


6 or so years ago I built up and deployed a pair of Intel SE7501WV2 2U 
kits in my development lab at work, with dual xeon 2.8ghz and 3GB ram.   
these machines have run flawlessly running RHEL/CentOS.   My department 
had no capital budget, and we could get these kit servers on 'expense' 
money, then populate them with our 'misc' budget.fully configured 
these were way under 1/2 what we'd have paid for a comparable HP or 
Dell.   This would be the equivalent system with today's chipset and 
CPUs, 
http://developer.intel.com/design/servers/platforms/SR1500-2500/index.htm 
(the SR2500AL).  The SKU SR2500ALLXR (2U, mobo, 1 of 2 PSUs, and 5 x 
SATA/SAS 3.5" hotswap backplane)  goes for $1300-1600 street prices 
(wow, just about what I paid for the SE7501WV2 6 years ago! hmmm, when I 
bought mine, the slimline CD was standard, now its optional, oh well)


these Intel server kits are even setup so you can 'brand' them for VAR 
applications, they have downloads that let you put your own name on the 
BIOS startup and so forth.   In fact, the SE7501 2U servers I have were 
branded by Sun when they initially reentered the x86 server market, as 
the SunFire V65x


What you get with a brand name server (HP, Dell, etc) is a warranty and 
onsite support.This is critical to some deployments and sites, and 
fairly superfluous to others.


The company i work for used to buy only Dell servers which aren't bad. 
Support is generally good and they even have a repository for Linux. 
Since i'm in charge, we don't buy Dell anymore for various reason:


1) They costs more than server barebone and in our case, we don't really 
need to pay a premium for a service we don't need.  I prefer to have a 
couple of spare servers that i can do tests while not in production


2) Dell, as the others VARs, uses a lot of non standard hardware parts. 
 So if you want to replace let's say a mainboard (when out of 
warranty), you'll have to pay a premium to get it.


3) Right now, we have about 5 Dell PowerEdge 2550 and they are not 
supported anymore by Dell (i know, it's old!).  They don't have the 
admin tools for CentOS (and Upstream) and i think it's the same for 
other distributions.  So support is good for the first years, after a 
while, they seem to drop it.



So now, we buy Tyan barebone.  The last batch was 2U Tyan Transport 
TA-26 (B3992-E).  This model use a Broadcom Serverworks chipset, support 
Registered ECC DDR2 RAM up to 64 Gigs and has 2 sockets F for Opteron 
CPU.  CentOS works great right out of the box (we use Adaptec 3405 or 
3805 SAS/SATA controllers).  The mainboard is standard E-ATX and can be 
upgraded or put on another machine.  This model has 8 SAS/SATA hot swap 
backplane.


The only downside is that sometimes, it takes time to get them.  It's 
like Tyan has problem producing enough for market demand.


I have a couple of other servers that i built with Antec rackmount 
chassis and the same mainboard.


My advice: Go with VARs if you have special requirements and/or want 
premium service.  Go with server barebones if you have access to 
hardware competent tech people inside your company.


As for Intel or AMD for CPU, i buy 90% AMD because if they don't 
survive, just watch the prices skyrocket as Intel would be alone.  AMD 
is selling at competitive price so no hurt here.  The new line of low 
power Opteron are great IMHO.


As a last note, i don't have any affiliation with Tyan and i think you 
could get comparable hardware from SuperMicro and the likes.  Choose 
your hardware for Linux, not the opposite!



Hope this helped a bit.


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: tar spanning

2008-05-15 Thread Guy Boisvert

Scott Silva wrote:

on 5-15-2008 10:06 AM MHR spake the following:
On Thu, May 15, 2008 at 6:56 AM, John R Pierce 
 wrote:

outlook supports imap, doesn't it?  I have my wife setup with Microsoft
Windows Mail (Vista, fka outlook express) using imap on gmail, and it 
works

/great/

she gets the best of both worlds, it maintains copies of her folders 
locally
AND on the gmail server, and synchronizes each time she connects so 
that she

can look up stuff in her email when she's offline.

the imap 'folders' she creates in windows mail are in fact filters on 
gmail.


OMG!

Did I read this right?  John, YOUR wife uses (random unflattering
gagging noises inserted here) WINDOW$???

I'm shocked!  Shocked, I tell you!  I may not get anything else done 
today!





mhr

Is it still funny if you have unmatched tags?



It seems that after all those years of Outlook problems, some are just 
into "extreme sports" and up to the challenge of keeping their machine 
stable with this  CRAP  !!!


Not to mention that crapware coming from Redmond breaks standards and 
gives headaches to many support people like me...  But hey, we're 
(support people) supposed to get profit from that, that's Redmond's 
business model... It's just that i fell bad when i abuse people, Redmond 
has no problem with that whatsoever !


Anyway, NOMB but i'm shocked too!

I wish great luck to your wife, she's very courageous !  Living in those 
"both worlds" is just to dangerous for me!



Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Interface bonding?

2008-04-11 Thread Guy Boisvert

Timothy Selivanow wrote:

On Thu, 2008-04-10 at 11:24 +0100, Michael Simpson wrote:

Certainly the 2900 will support 802.3ad or LACP natively.

i found this which may be of use

<http://wiki.oracle.com/page/Cisco+Systems+IOS-based+switches-+interface+bonding+and+trunking?t=anon>


So, as it turns out, it's a 2900XL, which does not support 802.3ad or
LACP at all, just a proprietary port channeling for switch interconnect
as far as I can tell.

I suppose that leaves me with just using pure software (for now, I have
an 8 port Intel Pro 100 at home that I'll look at...), but I'm unable to
get the increased throughput using mode=0.  I did notice, however, while
I was on the switch console it kept complaining about the interfaces
flapping and re-learning addresses.  My network guy here at work said
that it was bad and either the switch or the bond(s) is misconfigured
somewhere.  Any hints as to where and or what kinds of things I should
be looking at?


--Tim


Hi!

LACP is a part of 802.3ad.

Cisco 2900XL supports 802.1Q, ISL, EtherChannel, LACP, etc.  Depending 
on the age of the switch and the version and category of IOS used, the 
LACP support may be there.  Cisco has many IOS versions for the hardware 
you have.


http://www.cisco.com/warp/public/620/1.html


As for protocols support, it's hard to beat Cisco.


You may have a look at:

http://www.cisco.com/warp/public/473/140.pdf
http://www.cisco.com/en/US/products/hw/switches/ps607/products_configuration_example09186a0080094789.shtml



Hope this helped!


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] question on RAID performance

2008-04-10 Thread Guy Boisvert

John J. Lee wrote:

On Thu, Apr 10, 2008 at 6:43 PM, Jerry Geis <[EMAIL PROTECTED]> wrote:

Hi all,

 I was wonder what experiences there are out there with using RAID-X for
 performance increases. I do use RAID-1 (2 disks) but am interested in
 attemtps to gain higher R/W performance. Do the RAID-5's etc give
noticeable
 performace increases?

 A significant help for me was using ccache for compiling programs. That was
 a real performance increase.

 Thanks for any suggestions/opinions.

 jerry

>
>
> If you want to higher R/W performance, you should go for raid0.
> raid0 fragments the data into the number of disks and distributes them.
> It gains a big performance.  One drive fails, however, all data gone.
> raid5's benefit is not the speed but the effective space usage with
> the least data redundancy.
> Bitwise parity calculation consumes lots of processing power.  So
> raid5 is the least choice in terms of performance.
>
> -john
>


I had about the same interrogation a couple of months ago.  I had to 
upgrade a mail server that was using a single IDE drive to store about 
90 Gigs of mail, served by Communigate Pro on CentOS 4.6 (32 bits).  The 
server was starting to crawl with high %iowait.  The drive was simply a 
regular Western-Digital 7200 RPM 200 Gigs drives.  Imagine the random 
access load, which is simply too much for a drive which is designed to 
handle single user load.


I finally set for 4 x Seagate SAS 73 Gigs 15000 RPM on RAID 10.  The 
performance is very good.  About 150-160 MiB/s througput R/W.  We use an 
Adaptec 3405 (Unified SAS/SATA Crontroller, CentOS stock drivers) on a 
new Tyan Transport TA26 (B3992-E), 4 Gig RAM, Opteron 2214 & CentOS 5 
x86_64.


I made tests with the same server in RAID 5.  Read throughput was about 
the same but write was slightly lower (XOR Calculation) at about 135 
MiB/s which is still real good.  I chose RAID 10 because i had enough 
space with 146 Gigs RAID 10 and i wanted absolute throughput for our 50 
e-mail users which use Outlook with Communigate MAPI Plugin.  Sometimes 
they click on a big public sub-directory and sync between Outlook and 
the server takes place (local caching).  The user are very satisfied and 
CentOS 5 is rock solid, providing a very good service since 2 months. 
The previous server run for about 3 years without any problem, providing 
excellent service even if it was running on modest hardware: Athlon XP 
2500, Asus A7V600, 1 Gig RAM.


On another little project (friend's media file server), i assembled a 
cheap server with Asus M2N-e, Athlon Dual Core 4600+, 1 Gig DDR2 667 RAM 
, 40 Gigs IDE system drive and 4 x Western-Digital 500 Gigs RAID Editon 
(7200 RPM) data array.  I used CentOS 5 x86_64 software RAID 5 (4 x 500 
Gigs) and managed to get 35-40 MiB/s write throughput, which was much 
more than what he got using Intel ICH-8 RAID 5 on his Windoze PC (same 
drives).  The Athlon DC 4600 handles the XOR very easily (low cpu usage) 
and the bottleneck seems to be on the bus (Regular PCI  bus, 132 MiB/s 
max combined).  He's absolutely satisfied with his new CentOS 5 Samba 
server.  Combine that with WebMIN and a couple of scripts, he's stunned 
by how it's easy to use his server!  I still wonder how people are 
paying for Winblows Home server...



Hope this helped a bit!


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Enterprise-class monitoring system for CentOS and Win2k3 server

2008-02-05 Thread Guy Boisvert

Sean Carolan wrote:

I tried to use Zenoss for monitoring a small network (about 5 subnets)
and i had really a hard time with relationships (a version of sept 2007).



>
> Did you use the 'enterprise' or the OS version?
>


Open source.  Sorry, i forgot to mention it.

Does the OS version is crippled up to prevent relationships !?!  IMHO, 
relationships are simply mandatory!  But they can do whatever they want 
and we simply do the same!



Guy Boisvert
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Enterprise-class monitoring system for CentOS and Win2k3 server

2008-02-05 Thread Guy Boisvert

Sean Carolan wrote:

You might take a look at OpenNMS and ZenOSS.  I'm not sure if either
could do everything you're asking for out of the box however.


Thanks, ZenOSS just might fit the bill.


I tried to use Zenoss for monitoring a small network (about 5 subnets) 
and i had really a hard time with relationships (a version of sept 2007).


Zenoss seems to get its relationships when it scans the network and 
components by itself.  I was unable to edit and set relationships 
manually.  I was flooded by emails!


I finally gave up en went for Nagios in which i have full control.

I heard that the Zenoss team was supposed to work on that eventually.


Regards,


Guy Boisvert
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Protection for removable hard drive

2008-01-25 Thread Guy Boisvert

Bowie Bailey wrote:

Brian Mathis wrote:

On Jan 24, 2008 4:54 PM, Bowie Bailey <[EMAIL PROTECTED]> wrote:

My apologies if this is a bit off topic...

I am going to start doing backups to removable hard drives and I
will need to send these hard drives to an off-site storage
facility.  I am looking for some way to protect the drives after I
pull them out of the system.  I was hoping to find some kind of
clamshell enclosure similar to what is used with external hard
drives, but so far I haven't found anything.  Do you guys know of
anything like this?  How do you protect your removable drives when
they are not in the computer? 


--
Bowie

When you buy drives at retail, they come packed in about 3 inches of
foam on all sides around.  If you have any of those boxes laying
around with the foam, use that.  Also make sure to put them in
anti-static bags.


Good idea, but I generally by OEM drives and they come packed in
bubble wrap and foam peanuts.  Besides, I was hoping for something a bit
smaller than those boxes.




Hi!

	You may have a look at Pelican cases.  They may have a model that'll 
fit your needs.


http://pelican.com/calculator.php


I use some of these cases and i'm very satisfied.  They are almost 
unbreakable, waterproof and they have a safety pressure valve.



Regards,


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


Re: [CentOS] How can i share my WAN ip to my LAN?

2008-01-22 Thread Guy Boisvert

Guy Boisvert wrote:

Anne Wilson wrote:

On Tuesday 22 January 2008 14:52:19 Alain Spineux wrote:

Of course the main idea is to avoid to have a non firewall dedicated
linux (like centos is) configured by
someone without to much network knowledge be in front of Internet.


I'd really recommend going for the router.  They are not very 
expensive and easier to set up than most dsl modems.  A built-in 
firewall comes with most, and better ones have easily configured 
port-forwarding if/when you come to need it.  My Netgear DG634G has 
all that and wireless too.  And the best thing is that it has a really 
good we-based interface (most use web-based, but not all are good in 
terms of well-explained and easy to configure).


Anne



If you want to go with this kind of router (cheap, wireless, simple), i 
would then recommend a Linksys WRT-54GL (The trailing "L" is very 
important, about 50$) and replace the stock firmware with DD-WRT (GPL). 
 DD-WRT is real nice, simple and have a lot of interesting features. It 
is less flexible than the solutions below.


You could go with OpenWRT and the same Linksys WRT-54GL if you're a 
Linux savvy.


If you have an old PC laying around, i'd then recommend pfSense.  I have 
 pfSense firewalls on some sites and it runs very very well.


If you prefer to go with SBC (Single Board Computer like a Soekris 
net45xx/net48xx or WRAP board), then you have a choice between mOnOwall 
and pfSense (and many others but those 2 are simple yet powerful).


I have a couple of SBC boxes installed at my clients' offices running 
mOnOwall (WRAP SBC Boards) and they do a very good job.  They are very 
energy efficient with small footprint.


Finally, you could go for a used Cisco Router (something like a 2600 
series) if you like Cisco like a do.  But it's not an easy solution, 
it's very command line centric and you could have a hard time decrypting 
the very large command list of IOS (and getting used to it).



Hope this helped.


Guy Boisvert
IngTegration inc.



Replying to mmyself, i want to add that wireless could be more 
problematic with mOnOwall and pfSense.  Those 2 are based on BSD and 
you'd have to check compatibility list vs. BSD version before buying.



Guy Boisvert
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How can i share my WAN ip to my LAN?

2008-01-22 Thread Guy Boisvert

Anne Wilson wrote:

On Tuesday 22 January 2008 14:52:19 Alain Spineux wrote:

Of course the main idea is to avoid to have a non firewall dedicated
linux (like centos is) configured by
someone without to much network knowledge be in front of Internet.


I'd really recommend going for the router.  They are not very expensive and 
easier to set up than most dsl modems.  A built-in firewall comes with most, 
and better ones have easily configured port-forwarding if/when you come to 
need it.  My Netgear DG634G has all that and wireless too.  And the best 
thing is that it has a really good we-based interface (most use web-based, 
but not all are good in terms of well-explained and easy to configure).


Anne



If you want to go with this kind of router (cheap, wireless, simple), i 
would then recommend a Linksys WRT-54GL (The trailing "L" is very 
important, about 50$) and replace the stock firmware with DD-WRT (GPL). 
 DD-WRT is real nice, simple and have a lot of interesting features. 
It is less flexible than the solutions below.


You could go with OpenWRT and the same Linksys WRT-54GL if you're a 
Linux savvy.


If you have an old PC laying around, i'd then recommend pfSense.  I have 
 pfSense firewalls on some sites and it runs very very well.


If you prefer to go with SBC (Single Board Computer like a Soekris 
net45xx/net48xx or WRAP board), then you have a choice between mOnOwall 
and pfSense (and many others but those 2 are simple yet powerful).


I have a couple of SBC boxes installed at my clients' offices running 
mOnOwall (WRAP SBC Boards) and they do a very good job.  They are very 
energy efficient with small footprint.


Finally, you could go for a used Cisco Router (something like a 2600 
series) if you like Cisco like a do.  But it's not an easy solution, 
it's very command line centric and you could have a hard time decrypting 
the very large command list of IOS (and getting used to it).



Hope this helped.


Guy Boisvert
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help with file descriptors

2007-11-28 Thread Guy Boisvert

Garrick Staples wrote:

Compile it, run it, viola!
===> Voila!  (French is my first language!  Trying to help for your 
french here!)


Um, merci bueco?




Merci beaucoup!  (Thanks a lot!)




Actually, i found that the code should read:

#include 
  #include 

  int main (void) {
printf("current file limit: %d\n",getdtablesize());  <=== Added ()
exit (0);
  }


I got 300 000, it's what i have in /etc/sysctl.conf.


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


Re: [CentOS] Help with file descriptors

2007-11-28 Thread Guy Boisvert

Richard Karhuse wrote:

On Nov 28, 2007 3:55 PM, Guy Boisvert <[EMAIL PROTECTED]> wrote:


Garrick Staples wrote:

On Wed, Nov 28, 2007 at 03:03:30PM -0500, Guy Boisvert alleged:

Hi all!

 I have a problem with CentOS 4.4 and Communigate Pro 5.0.9.  As

our

user number grows, we are seeing "too many files open" error messages

in

Communigate logs.

 I spoke with Communigate tech support and they asked me to

increase

 the number of file descriptors which i did.  I put 128000 as a

script i

made to check Communigate open files reported as high as 99000.As i
checked the Communigate log file, it reported that it "sees" 1024
"available" file descriptors.

  :



When I saw this, "ulimit -n" immediately came to mind 
(and is usually 1024 -- the maximun # of files that any given
process can have open).  [See "man ulimit".]

If this runs as non-root, it won't be able to take the limit
higher 

Hope this helps (and is not completely off-base)

   -rak-




Hi!

I think you may have missed my other posts.  Here what i have:

[EMAIL PROTECTED] ~]# ulimit -n
30
[EMAIL PROTECTED] ~]#   cat /proc/sys/fs/file-max
30
[EMAIL PROTECTED] ~]# grep nofile /etc/security/limits.conf
*   -   nofile  30


(I pushed it up a lot as you can see!)

I have a script (using lsof) that runs every 10 minutes and i saw 
Communigate's file descriptors as high as 100 000.  But Communigate tech 
support guy told me that lsof gives the total used by all threads of 
Communigate, which duplicate the info and add up.  Communigate is using 
64 threads right now.


Mr. Garrick Staples kindly came with C code to check the number returned 
by the function "getdtablesize" which Communigate is supposed to use. 
CentOS 4.4 returns:


current file limit: 134513392

... and Communigate 5.0.9 gets only 1024 supposedly by using the same 
call!  This explains why i get "too many files open in this process", 
with about 40 users using MAPI Plugin under Outlook accessing a 41 Gigs 
public folder...


The tech guy told me that Outlook can open many simultaneous IP 
connections to the server, each connection eating 2 files descriptors.


I'll get the latest version of Communigate we can get with our licence 
(5.0.14) and see how it goes.  I'm very impressed by the quality of the 
information we can get out of this list!



Thanks for your input!

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


Re: [CentOS] Help with file descriptors

2007-11-28 Thread Guy Boisvert

Garrick Staples wrote:

On Wed, Nov 28, 2007 at 03:03:30PM -0500, Guy Boisvert alleged:

Hi all!

	I have a problem with CentOS 4.4 and Communigate Pro 5.0.9.  As our 
user number grows, we are seeing "too many files open" error messages in 
Communigate logs.


	I spoke with Communigate tech support and they asked me to increase 
	the number of file descriptors which i did.  I put 128000 as a script i 
made to check Communigate open files reported as high as 99000.As i 
checked the Communigate log file, it reported that it "sees" 1024 
"available" file descriptors.


Reporting that to Communigate tech support, the guy answered:

"CommuniGate gets this number via getdtablesize() system call. Probably 
in CentOS the table has a fixed size so you need to recompile the kernel 
to expand it. Try upgrading CentOS to 4.5 (or whatever later version is 
available) "



	I'm a little afraid of upgrading the server right away, i don't want 
	to worsen the problem.  Or maybe it's safe to do it. I dunno.


	Is there anybody on the list that can comment on what the 
	Communigate tech support guy said about the "getdtablesize" thing ?


As usual, commercial support is just making things up.  This one is easy to 
actually test.

  #include 
  #include 

  int main (void) {
printf("current file limit: %d\n",getdtablesize);
exit (0);
  }


Compile it, run it, viola!


===> Voila!  (French is my first language!  Trying to help for your 
french here!)




$ gcc getdtablesize.c
$ ./a.out
current file limit: 134513392

(results will vary).




OMG!  Exactly what i needed!  It reminds me when i was coding C on a Sun 
SparcStation 10 about 15 years ago!



I did compile the code and obtained exactly the same number.


Thanks a lot Garrick!


I just replied to the TS guy @ Communigate, i just can't stand to see 
what will be his response!


Regards,

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


Re: [CentOS] Re: Help with file descriptors

2007-11-28 Thread Guy Boisvert

Scott Silva wrote:

on 11/28/2007 12:03 PM Guy Boisvert spake the following:

Hi all!

I have a problem with CentOS 4.4 and Communigate Pro 5.0.9.  As 
our user number grows, we are seeing "too many files open" error 
messages in Communigate logs.


I spoke with Communigate tech support and they asked me to 
increase the number of file descriptors which i did.  I put 128000 as 
a script i made to check Communigate open files reported as high as 
99000.As i checked the Communigate log file, it reported that it 
"sees" 1024 "available" file descriptors.


Reporting that to Communigate tech support, the guy answered:

"CommuniGate gets this number via getdtablesize() system call. 
Probably in CentOS the table has a fixed size so you need to recompile 
the kernel to expand it. Try upgrading CentOS to 4.5 (or whatever 
later version is available) "



I'm a little afraid of upgrading the server right away, i don't 
want to worsen the problem.  Or maybe it's safe to do it. I dunno.


Is there anybody on the list that can comment on what the 
Communigate tech support guy said about the "getdtablesize" thing ?



Thanks in advance!

Guy Boisvert

Was this thread hijacked, or is Thunderbird being stupid again?





Sorry, i dunno what happened.  I reposted it.

Ideed i used Thunderbird but i was on a Winblows WS... (Not always a 
choice depending where you work!)



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


[CentOS] Help with file descriptor

2007-11-28 Thread Guy Boisvert

Hi all!

I have a problem with CentOS 4.4 and Communigate Pro 5.0.9.  As our 
user number grows, we are seeing "too many files open" error messages in 
Communigate logs.


I spoke with Communigate tech support and they asked me to increase 
the number of file descriptors which i did.  I put 128000 as a script i 
made to check Communigate open files reported as high as 99000.As i 
checked the Communigate log file, it reported that it "sees" 1024 
"available" file descriptors.


Reporting that to Communigate tech support, the guy answered:

"CommuniGate gets this number via getdtablesize() system call. Probably 
in CentOS the table has a fixed size so you need to recompile the kernel 
to expand it. Try upgrading CentOS to 4.5 (or whatever later version is 
available) "



I'm a little afraid of upgrading the server right away, i don't 
want to worsen the problem.  Or maybe it's safe to do it. I dunno.


Is there anybody on the list that can comment on what the 
Communigate tech support guy said about the "getdtablesize" thing ?



Thanks in advance!

Guy Boisvert


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


[CentOS] Help with file descriptors

2007-11-28 Thread Guy Boisvert

Hi all!

	I have a problem with CentOS 4.4 and Communigate Pro 5.0.9.  As our 
user number grows, we are seeing "too many files open" error messages in 
Communigate logs.


	I spoke with Communigate tech support and they asked me to increase the 
number of file descriptors which i did.  I put 128000 as a script i made 
to check Communigate open files reported as high as 99000.As i 
checked the Communigate log file, it reported that it "sees" 1024 
"available" file descriptors.


Reporting that to Communigate tech support, the guy answered:

"CommuniGate gets this number via getdtablesize() system call. Probably 
in CentOS the table has a fixed size so you need to recompile the kernel 
to expand it. Try upgrading CentOS to 4.5 (or whatever later version is 
available) "



	I'm a little afraid of upgrading the server right away, i don't want to 
worsen the problem.  Or maybe it's safe to do it. I dunno.


	Is there anybody on the list that can comment on what the Communigate 
tech support guy said about the "getdtablesize" thing ?



Thanks in advance!

Guy Boisvert

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


[CentOS] Traffic control

2007-09-26 Thread Guy Boisvert
Hi all,

I'm searching a CentOS based solution to have a control over the number
of connections to various services depending on overall used bandwidth.

To give you a more accurate representation of what i mean, let's say we
have some live WEB video feeds (M$ WME, embedded in WEB Pages hosted on
an Apache server), a Darwin streaming on demand server (Links on WEB
pages, Apache), FTP server and regular WEB traffic.

I'm already doing traffic shaping so the real time traffic has higher
QoS  (we use pfSense firewall).  The problem, as you know, is that
traffic shaping is not enough to ensure real time traffic will get
through when bandwidth gets maxed out.  The problem arise when the
number of connections to streaming servers gets higher than the capacity
of the link.  I need to limit the number of connections to a safe
maximum.  The link is a symmetric 10 Mbps and we are not in a position
to raise that for now.

I'd see something like a "traffic director" that sense the used
bandwidth and controls the amount of connections to servers.  Is there
something that looks like that in CentOS?  And how to inform the clients
to connect later if their connection is temporarily refused (a timeout
is not very elegant!)?

I heard that their are some commercial products that does about that
but i'm searching for an open source solution if it exists.

Thanks!


Guy Boisvert
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Guy Boisvert
Guy Boisvert wrote:
> 
> On top of that, i'd say that a PC, with whatever processor you could
> put, is able to service a certain amount of interrupts / second.

[Snip...]

> Somebody mentioned pfSense.  I use it and there is an option that can
> boost the performance: Using device polling instead of relying on
> interrupts generated by cards.  I dunno if CentOS has this kind of
> option, the ethernet gurus of this list could provide important
> information on that.
> 
> 
> Hope this helped.
> 
> 
> Guy Boisvert, ing.

I don't like replying to myself, but this paper could give you an idea
of what's going on inside Linux:


http://www.ist-scampi.org/events/workshop-2004/deri.pdf


Regards,

Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Guy Boisvert
Bart Schaefer wrote:
> On 9/9/07, David Hrbác( <[EMAIL PROTECTED]> wrote:
>> how many connections are on the router (/proc/net/ip_conntrack) ?
> 
> This is way off-peak time for us (middle of Sunday night PDT) so I
> suspect looking at this right now is not very useful, but:
> 
> # cat /proc/net/ip_conntrack | wc -l
>   15140
> # cat /proc/net/ip_conntrack | fgrep -v UNREPLIED | wc -l
> 586
> 
>> what's the /proc/sys/net/ipv4/ip_conntrack_max
> 
> # cat /proc/sys/net/ipv4/ip_conntrack_max
> 65536

On top of that, i'd say that a PC, with whatever processor you could
put, is able to service a certain amount of interrupts / second.
Sometimes, you can have also cards / integrated peripherals that are
sharing IRQs and have trouble with it.  So in the case of a PC router,
i'd go into the BIOS setup and disable all the integrated peripheral you
don't use (LPT port, integrated sound card, etc).  Maybe you already did
this, i don't know.

There are some ways to improve performance like what Cisco does: having
line cards doing processing and getting pointers from the main
supervisor card and dealing with traffic locally afterward.  In our PC
case here, this could translate into using at least TCP offloading and
flow control (ethernet level).  Also, consider that not all ethernet
cards are equal and that using 802.1Q (trunking) also change the game.
Good cards have features to deal with all this.

Somebody mentioned pfSense.  I use it and there is an option that can
boost the performance: Using device polling instead of relying on
interrupts generated by cards.  I dunno if CentOS has this kind of
option, the ethernet gurus of this list could provide important
information on that.


Hope this helped.


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


  1   2   >