Re[2]: Bandwidth Problems with Freebsd 5.x

2006-02-19 Thread Mathieu CHATEAU

Saturday, February 18, 2006, 7:47:05 PM, you wrote:

p Mathieu CHATEAU a écrit :

what about netstat -e on each host ?
(looking for errors)
  

p no errors detected

are you on swicthes ?
Are the switches port on auto or forced ?
  

p I don't know exactly : the servers are hosted by a company. So I think
p they are in autoselect mode.

when doing an ifconfig -a, are you in 100 full duplex ?
  

p Yeah and I tried to forced in all possibles modes. (10/100 and half/full
p duplex)

Are you using proftpd  /wuftpd ?
  

p Proftpd but I made some new tests with HTTP and SCP and it is the same
p problem.

p Regards,
p ptitoliv

You MUST'NT force speed and duplex if the switch is in autoselect !
you will lost 20 to 30% of packets !!

Try autoselect, if you get 100 full, stay in autoselect. (If you force
100 full and the switch is auto, then the switch will be in 100 half
!)

try this:
ping -c 1000 -s 1500 IP_TO_PING

wait for the 1000 ping to go trough. You should not have more than
0,5% of loss (is the servers aren't overload). If it's more or equal
than 0,5%, it comes from the network (cables or switches fault).
Each host would be in 100 full (via autoselect to be sure the conf is
ok on the switch).

Mathieu CHATEAU



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: Bandwidth Problems with Freebsd 5.x

2006-02-19 Thread Mathieu CHATEAU
Hello ptitoliv,

Sunday, February 19, 2006, 6:54:33 PM, you wrote:

p Mathieu CHATEAU a écrit :

try this:
ping -c 1000 -s 1500 IP_TO_PING

wait for the 1000 ping to go trough. You should not have more than
0,5% of loss (is the servers aren't overload). If it's more or equal
than 0,5%, it comes from the network (cables or switches fault).
Each host would be in 100 full (via autoselect to be sure the conf is
ok on the switch).

p I made the tests on the two boxes = 0 % packet loss.

p I man an other interesting test. I try to transfert between the BSD Box
p and a server located at home behind my 1MB/s ADSL Line. Here are the
p results :

FreeBSD box = Workstation at home : 300 kB/s
p Debian box on the same network  = Workstation at home : 950 kB/s.

p This test confirms cleraly that there is a problem with the BSD, I guess.

p Could it be a bug from the VR driver ?

p Regards,
p Ptitoliv

At this point,
a tcpdump while transfering may help.

Are the debian  freebsd on the same segment ?
if so, are they using the same router/gateway ?

did you customize/set up things, like ipfw or set specific things via
sysctl ?

Mathieu CHATEAU


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bandwidth Problems with Freebsd 5.x

2006-02-18 Thread Mathieu CHATEAU
Saturday, February 18, 2006, 3:42:47 PM, you wrote:

p Hello everybody,

p I am writing here because I have a problem with network on freebsd 5.3
p and 5.4. The machines are pluged in a 100 Mbit/s with via rhine network
p cards. On this same LAN  I have a Debian Sarge computer. When I try to
p transferts big files beetween the FreeBSD and the Debian, I see that I
p have an assymetric bandwith :

From Debian to BSD : No problem. The bandwitdh is OK : About 8 MBytes/s
p which is normal for a LAN I guess.
From BSD to Debian : The bandwidth is quite awful = Beetween 300
p KBytes/s to 1Mbyte/s.

p Network have been changed and the problem is still the same. So I
p thought it was a network problem. Then I installed an other FreeBSD on a
p different computer and plugged it in a completely different network and
p the problem is still here. That's why I think there is a thing to
p configure on the BSD system but I don't know why.

p That's why I am looking here for someone who knows this problem and who
p will be able to help me.

p Thank you for your answers

p Best Regards,
p ptitoliv
p ___
p freebsd-questions@freebsd.org mailing list
p http://lists.freebsd.org/mailman/listinfo/freebsd-questions
p To unsubscribe, send any mail to
p [EMAIL PROTECTED]

what about netstat -e on each host ?
(looking for errors)
are you on swicthes ?
Are the switches port on auto or forced ?
when doing an ifconfig -a, are you in 100 full duplex ?
Are you using proftpd  /wuftpd ?

Mathieu CHATEAU

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mysql 5 Cluster FreeBSD

2006-02-16 Thread Mathieu CHATEAU
Hello,

Mysql Cluster is now part of Mysql 5.

Does someone successfully set up a Mysql 5 cluster on FreeBSD 5.4 ?

thanks in advance,
Mathieu CHATEAU

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: Mysql 5 Cluster FreeBSD

2006-02-16 Thread Mathieu CHATEAU
Hello Robert,

thank you for your support !

do you have a mysql cluster on FreeBSD in production ?

do you think it can run on a 2 nodes cluster ?

I am willing fault tolerant system, not high performance (but
 the standard replication master/slave isn't enough fault tolerant for
 me)

thanks!

Thursday, February 16, 2006, 11:09:45 PM, you wrote:

RU Add this to /usr/local/etc/pkgtools.conf in your MAKE_ARGS statement. It's
RU the WITH_NDB=1 switch that will enable building with cluster support, the
RU rest is up to you. Then use the portinstall command to build the port.
RU From there on it is like any other OS to build the MySQL cluster.


RU  MAKE_ARGS = {
RU 'databases/mysql*' = 'WITH_NDB=1 WITH_ARCHIVE=1 BUILD_OPTIMIZED=1
RU WITH_OPENSSL=1',
RU   }



 Hello,

 Mysql Cluster is now part of Mysql 5.

 Does someone successfully set up a Mysql 5 cluster on FreeBSD 5.4 ?

 thanks in advance,
 Mathieu CHATEAU



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: Elegant delete of word ~tmp files in all sub / dirs

2006-01-27 Thread Mathieu CHATEAU
Hello Olivier,

useless to do -r while you search only files (-type f)

the delete function of find seems more apropriate to me

Mathieu CHATEAU



Friday, January 27, 2006, 3:00:50 AM, you wrote:

   removing all the word ~tmp files on our Samba
   server
 
 find /your/file-system -type f -name '*~tmp*' -print0 | xargs -0 rm -f
 
  or something like that.
 
 
 find /your/file-system -type f -name '*~tmp*' -delete

ON Or, Graham wanted something with {}

ON find /your/file-system -type f -name '*~tmp*' -exec /bin/rm -rf {} \;

ON Olivier
ON ___
ON freebsd-questions@freebsd.org mailing list
ON http://lists.freebsd.org/mailman/listinfo/freebsd-questions
ON To unsubscribe, send any mail to
ON [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portupgrade from bin 9.3.1 to 9.3.2

2006-01-14 Thread Mathieu CHATEAU
Hello,

i have done a portupgrade -Rr bind9 on a server.

bind 9.3.1 was in /usr/sbin/named, but
bind 9.3.2 is in /usr/local/sbin/named

Now, i have 2 bind9 version on the same system...

any way to cleanup ? did i miss something ?


Thanks,
Mathieu CHATEAU

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


upgrade of php5-gd

2006-01-14 Thread Mathieu CHATEAU
Hello freebsd-questions,

even with a cvsup of ports 5 minutes ago, i still have the
following errors when i try to upgrade php5-gd from 5.0.4_2 to 5.1.1


[EMAIL PROTECTED]:/usr/ports/graphics/php5-gd] # make install clean
===  Vulnerability check disabled, database not found
===  Found saved configuration for php5-gd-5.0.4_2
===  Extracting for php5-gd-5.1.1
= MD5 Checksum OK for php-5.1.1.tar.bz2.
===  Patching for php5-gd-5.1.1
===  Applying FreeBSD patches for php5-gd-5.1.1
1 out of 1 hunks failed--saving rejects to config.m4.rej
= Patch patch-config.m4 failed to apply cleanly.
*** Error code 1  

I am using FreeBSD 5.4

any clue ?

thanks!
Mathieu CHATEAU

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[RESOLVED] Re[2]: portupgrade from bin 9.3.1 to 9.3.2

2006-01-14 Thread Mathieu CHATEAU
Saturday, January 14, 2006, 12:03:47 PM, you wrote:

DG Hi,
DG On 1/14/06, Mathieu CHATEAU [EMAIL PROTECTED] wrote:
 Hello,

 i have done a portupgrade -Rr bind9 on a server.

 bind 9.3.1 was in /usr/sbin/named, but
 bind 9.3.2 is in /usr/local/sbin/named

 Now, i have 2 bind9 version on the same system...

 any way to cleanup ? did i miss something ?

DG pkg_delete the bind 9.3.2 port installation, and install bind 9.3.2
DG with this option WITH_PORT_REPLACES_BASE_BIND9=YES in your make.conf

DG HTH.


 Thanks,
 Mathieu CHATEAU

DG Regards.


it works, thanks !

/etc/rc.d/named still gives some errors :

/etc/rc.d/named: WARNING: $command_interpreter -c != ELF
[: /usr/sbin/named: unexpected operator
Starting named.

named is started anyway. I have read somewhere that named shoud now be
controlled by rndc directly : why not change named.conf to use rndc to
still have a startup script ?

Mathieu CHATEAU


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: fstab - mount_nfs - -L parameter

2006-01-11 Thread Mathieu CHATEAU
Tuesday, January 10, 2006, 9:19:52 PM, you wrote:

AP On 1/10/06, Mathieu CHATEAU [EMAIL PROTECTED] wrote:
 Hello all,

 I need to mount an nfs volume with the -L params.

 It works great by hand :
 mount_nfs -L server:/share

 but fstab refuses the -L params...

AP really? What does it say? Do you have ro or rw present in the
AP options? Here's my line that works:

AP lan-217:/mnt/200a/mnt/200anfs-L,ro00


Sorry, it was my fault,
i tried L,rw without the -

Thanks man !
Mathieu CHATEAU

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fstab - mount_nfs - -L parameter

2006-01-10 Thread Mathieu CHATEAU
Hello all,

I need to mount an nfs volume with the -L params.

It works great by hand :
mount_nfs -L server:/share

but fstab refuses the -L params...

how to get it work ?


Thanks !
Mathieu CHATEAU

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[RESOLVED]Re: autorespond from port on FreeBSD 5.4

2005-11-29 Thread Mathieu CHATEAU


Sunday, November 27, 2005, 4:34:22 PM, you wrote:

MC hello,

MC I installed the autorespond from ports on a 5.4.

MC If i call the binary, it correctly display the usage.

MC But if i call it the good way like qmail does it, i have got a
MC Segmentation fault (core dumped).

MC does anyone successfully make it works on a 5.4 system ?

MC cheers,
MC Mathieu CHATEAU

MC ___
MC freebsd-questions@freebsd.org mailing list
MC http://lists.freebsd.org/mailman/listinfo/freebsd-questions
MC To unsubscribe, send any mail to
MC [EMAIL PROTECTED]

Qmail is not installed in /var/qmail.

making a symlink in /var/qmail resolved this issue.

-- 
Best regards,
 Mathieumailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.0 in VMware

2005-11-29 Thread Mathieu CHATEAU
 860540808 Hz quality 800
DM Timecounters tick every 1.000 msec
DM ad0: 8192MB VMware Virtual IDE Hard Drive 0001 at ata0-master UDMA33
DM acd0: CDRW VMware Virtual IDE CDROM Drive/0001 at ata1-master UDMA33
DM Trying to mount root from ufs:/dev/ad0s1a
DM ___
DM freebsd-questions@freebsd.org mailing list
DM http://lists.freebsd.org/mailman/listinfo/freebsd-questions
DM To unsubscribe, send any mail to
DM [EMAIL PROTECTED]

Are you running vmware on a notebook ?
I have warning fromm vmware since my processor frequency is changing (
to keep battery)

This may slow of boost cpu/clock throttle inside the VM.

cheers,
Mathieu CHATEAU

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


autorespond from port on FreeBSD 5.4

2005-11-27 Thread Mathieu CHATEAU
hello,

I installed the autorespond from ports on a 5.4.

If i call the binary, it correctly display the usage.

But if i call it the good way like qmail does it, i have got a
Segmentation fault (core dumped).

does anyone successfully make it works on a 5.4 system ?

cheers,
Mathieu CHATEAU

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


autorespond from port on FreeBSD 5.4

2005-11-27 Thread Mathieu CHATEAU
hello,

I installed the autorespond from ports on a 5.4.

If i call the binary, it correctly display the usage.

But if i call it the good way like qmail does it, i have got a
Segmentation fault (core dumped).

does anyone successfully make it works on a 5.4 system ?

cheers,
Mathieu CHATEAU

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: SQUID + antivirus content filter

2005-11-20 Thread Mathieu CHATEAU
Hello Steve,


they stopped squidguard to make dansguardian (a not free one).

You can still find active blacklist (sex, drugs, ...) for squidguard.

here is viralator : http://viralator.sourceforge.net/
it works with squid  squidguard

antivirus supported:
AntiVir
AVP 
RAV 
Inoculate 
Sophos Sweep 
McAfee 
Trend 
Clamav 
Bit Defender (free edition)

cheers,
Mathieu CHATEAU

Friday, November 18, 2005, 10:10:40 PM, you wrote:

SB  

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Vladimir Dvorak
 Sent: Friday, November 18, 2005 11:53 AM
 To: freebsd-questions@freebsd.org
 Subject: SQUID + antivirus content filter
 
 Hello *,
 
 I would like to secure network against themselves with 
 proxy and antivirus solution.
 
 My prerequisities are:
 SQUID, CLAMAV
 
 What software would you recommend for such things ? ( I 
 unsuccesfully tried Viralator in combination with SquidGuard. 
 ) There are other projects like Dansguardian or squid-vscan 
 (which is neccessary to patch squid sources and this is the 
 last step on my production server ).
 Do you know some good howto, solution ?

SB Along with SquidGuard, I've found Dansguardian to be more feature-rich,
SB faster, and the new version has the ability (apparently) to plug-in an
SB anti-virus app.

SB Note I have not tried said version though:

SB http://dansguardian.org

SB It may/may not be free though:

SB DansGuardian 2 is:

SB * free for non-commercial use
SB * not free for installation by 3rd parties charging for installation
SB or support
SB * not free for commercial use
SB * licensed under the GPL
SB * copyright Daniel Barron
SB * is a registered trade mark of Daniel Barron 

SB ...but well worth paying for anyway if need be.

SB Steve

 
 Thank you,
 
 Vladimir
 
 
 ___
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 

SB ___
SB freebsd-questions@freebsd.org mailing list
SB http://lists.freebsd.org/mailman/listinfo/freebsd-questions
SB To unsubscribe, send any mail to
SB [EMAIL PROTECTED]



-- 
Best regards,
 Mathieumailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: SQUID + antivirus content filter

2005-11-20 Thread Mathieu CHATEAU
Hello Steve,


another one : http://www.openantivirus.org/projects.php

cheers,
Mathieu CHATEAU

Friday, November 18, 2005, 10:10:40 PM, you wrote:

SB  

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Vladimir Dvorak
 Sent: Friday, November 18, 2005 11:53 AM
 To: freebsd-questions@freebsd.org
 Subject: SQUID + antivirus content filter
 
 Hello *,
 
 I would like to secure network against themselves with 
 proxy and antivirus solution.
 
 My prerequisities are:
 SQUID, CLAMAV
 
 What software would you recommend for such things ? ( I 
 unsuccesfully tried Viralator in combination with SquidGuard. 
 ) There are other projects like Dansguardian or squid-vscan 
 (which is neccessary to patch squid sources and this is the 
 last step on my production server ).
 Do you know some good howto, solution ?

SB Along with SquidGuard, I've found Dansguardian to be more feature-rich,
SB faster, and the new version has the ability (apparently) to plug-in an
SB anti-virus app.

SB Note I have not tried said version though:

SB http://dansguardian.org

SB It may/may not be free though:

SB DansGuardian 2 is:

SB * free for non-commercial use
SB * not free for installation by 3rd parties charging for installation
SB or support
SB * not free for commercial use
SB * licensed under the GPL
SB * copyright Daniel Barron
SB * is a registered trade mark of Daniel Barron 

SB ...but well worth paying for anyway if need be.

SB Steve

 
 Thank you,
 
 Vladimir
 
 
 ___
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 

SB ___
SB freebsd-questions@freebsd.org mailing list
SB http://lists.freebsd.org/mailman/listinfo/freebsd-questions
SB To unsubscribe, send any mail to
SB [EMAIL PROTECTED]



-- 
Best regards,
 Mathieumailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: Imp Port

2005-11-09 Thread Mathieu CHATEAU
Hello Stephan,


302 means moved temporarly

your index.php may contain a redirection to another url.

i think the good url should be:
http://192.168.0.199/imp/index.php

(did you try it ?)

did you set up imp (config.php) ?

imp use horde (the framework) did you configure it ?


Wednesday, November 9, 2005, 3:52:02 PM, you wrote:

SW Nothing logs to httpd-error
SW but i get this in httpd-access

SW 192.168.0.161 - - [09/Nov/2005:10:53:40 -0400] GET /index.php HTTP/1.1 302
SW 5 - Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; 
SW {13E6E5B2-3CE2-10A1-C9BB-0003F986FE3F})

SW This is displayed in my IE browser when i try to view the web page.
SW The page cannot be displayed
SW Cannot find server or DNS Error
SW Internet Explorer 

SW But http://192.168.0.199/imp/test.php Seems to work.
SW These are the errors i get from that test page.
SW Required IMP Configuration Files
SW config/conf.php: No
SW The file ./config/conf.php appears to be missing. You must generate this
SW file as an administrator via Horde. See horde/docs/INSTALL.

SW Thank You again.


From: Mathieu CHATEAU [EMAIL PROTECTED]
Reply-To: Mathieu CHATEAU [EMAIL PROTECTED]
To: Stephan Weaver [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Imp Port
Date: Tue, 8 Nov 2005 21:06:53 +0100

Hello Stephan,

can you be more precise ?

it a 404 ?

what does say /var/log/httpd-error.log ?

have you registred php in you apache conf ?
(AddType application/x-httpd-php .php .php3 .php4 .php5)

cheers,
Mathieu CHATEAU

Tuesday, November 8, 2005, 8:58:58 PM, you wrote:

SW I have installed imp from the ports.
SW when i try to log on to the imp webpage,
SW [http://192.168.0.199/imp] i just
SW get this page cannot be displayed.

SW What can i do to further troubleshoot this problem?


SW ps. Please email me at [EMAIL PROTECTED] as i am not on the
mailing
SW list.
SW Thank you guys
SW Stephan Weaver

SW
_
SW Don't just search. Find. Check out the new MSN Search!
SW http://search.msn.com/

SW ___
SW freebsd-questions@freebsd.org mailing list
SW http://lists.freebsd.org/mailman/listinfo/freebsd-questions
SW To unsubscribe, send any mail to
SW [EMAIL PROTECTED]



--
Best regards,
  Mathieumailto:[EMAIL PROTECTED]


SW _
SW Don't just search. Find. Check out the new MSN Search! 
SW http://search.msn.click-url.com/go/onm00200636ave/direct/01/




-- 
Best regards,
 Mathieumailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Imp Port

2005-11-08 Thread Mathieu CHATEAU
Hello Stephan,

can you be more precise ?

it a 404 ?

what does say /var/log/httpd-error.log ?

have you registred php in you apache conf ?
(AddType application/x-httpd-php .php .php3 .php4 .php5)

cheers,
Mathieu CHATEAU

Tuesday, November 8, 2005, 8:58:58 PM, you wrote:

SW I have installed imp from the ports.
SW when i try to log on to the imp webpage,
SW [http://192.168.0.199/imp] i just 
SW get this page cannot be displayed.

SW What can i do to further troubleshoot this problem?


SW ps. Please email me at [EMAIL PROTECTED] as i am not on the mailing
SW list.
SW Thank you guys
SW Stephan Weaver

SW _
SW Don't just search. Find. Check out the new MSN Search! 
SW http://search.msn.com/

SW ___
SW freebsd-questions@freebsd.org mailing list
SW http://lists.freebsd.org/mailman/listinfo/freebsd-questions
SW To unsubscribe, send any mail to
SW [EMAIL PROTECTED]



-- 
Best regards,
 Mathieumailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: only see cpu0 working after rebuilding kernel with SMP support

2005-07-23 Thread Mathieu CHATEAU
Hello Lei,

it's working out great now !
thanks :)
=1 was missing in the previous post


Friday, July 22, 2005, 8:15:50 PM, you wrote:

LS This thread helped

LS http://archives.neohapsis.com/archives/freebsd/2005-05/0037.html


LS On 7/22/05, Lei Sun [EMAIL PROTECTED] wrote:
 Yes, I read that security advisory as well, and I see
 
 ---
 NOTE:  For users that are certain that their environment is not affected
 by this vulnerability, such as single-user systems, Hyper-Threading
 Technology may be re-enabled by setting the tunable
 machdep.hyperthreading_allowed.
 ---
 
 so I echo machdep.hyperthreading_allowed  /boot/load.conf, then reboot.
 
 But still only 1 CPU is running.
 
 Thanks in advance :)
 
 Lei
 
 On 7/22/05, Andreas Rudisch cyb.@gmx.net wrote:
  On Fri, 2005-07-22 at 00:12 -0700, Lei Sun wrote:
   Hi,
   I wanted to enable the second logical CPU on my P4 HT. and...
   Something seems to be strange to me as:
  
   All of the processes are running with CPU0 and none is working with CPU1
 
   Here is the steps and places I read and followed
  
   1. I followed the custom kernel documents from
  
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html
  
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
   http://www.freebsddiary.org/smp.php
  
   and compiled the custom kernel
  
   and my kernel config:
   -
   ...
   options SMP
   device  apic# I/O APIC
   ...
   -
  
   2. Then I compiled the custom kernel, and installed it
  
   3. I check the startup output, and found
   SMP: AP CPU #1 Launched!
  
   So my question is, how come in top, only cpu0 is working, and no entry 
   for cpu1?
  
   Thanks in advance:)
  
   Lei
 
 
  Take a look at this:
 
 
 ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc
 
  Andreas.
 
  --
  GnuPG key  : 0xD25FCC81  |  http://cyb.websimplex.de/pubkey.asc
  Fingerprint: D182 6F22 7EEC DD4C 0F6E  564C 691B 0372 D25F CC81
 
 
 
 
 
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.1 (FreeBSD)
 
  iD8DBQBC4LgAaRsDctJfzIERAtX8AJ9fJBbODWbOxymKEFeHNpULtUrecACfYsWG
  IcmXfXCmO9ZpgCxDOlOwQWc=
  =zfk/
  -END PGP SIGNATURE-
 
 
 

LS ___
LS freebsd-questions@freebsd.org mailing list
LS http://lists.freebsd.org/mailman/listinfo/freebsd-questions
LS To unsubscribe, send any mail to
LS [EMAIL PROTECTED]



-- 
Best regards,
 Mathieumailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: only see cpu0 working after rebuilding kernel with SMP support

2005-07-22 Thread Mathieu CHATEAU
Hello Lei,

i agree with you. I have he same trouble.

kern.threads.virtual_cpu: 2
kern.smp.cpus: 2
hw.ncpu: 2
hw.acpi.cpu.cx_supported: C1/0
hw.acpi.cpu.cx_lowest: C1
hw.acpi.cpu.cx_usage: 100.00%
machdep.cpu_idle_hlt: 0
machdep.hlt_cpus: 2
machdep.hlt_logical_cpus: 0
machdep.logical_cpus_mask: 2
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU0
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.1.%desc: ACPI CPU
dev.cpu.1.%driver: cpu
dev.cpu.1.%location: handle=\_PR_.CPU1
dev.cpu.1.%pnpinfo: _HID=none _UID=0
dev.cpu.1.%parent: acpi0

machdep.hlt_cpus: 2 looks strange to me.

any clue ?



Friday, July 22, 2005, 6:47:47 PM, you wrote:

LS Yes, I read that security advisory as well, and I see

LS ---
LS NOTE:  For users that are certain that their environment is not affected
LS by this vulnerability, such as single-user systems, Hyper-Threading
LS Technology may be re-enabled by setting the tunable
LS machdep.hyperthreading_allowed.
LS ---

LS so I echo machdep.hyperthreading_allowed  /boot/load.conf, then 
reboot.

LS But still only 1 CPU is running.

LS Thanks in advance :)

LS Lei

LS On 7/22/05, Andreas Rudisch cyb.@gmx.net wrote:
 On Fri, 2005-07-22 at 00:12 -0700, Lei Sun wrote:
  Hi,
  I wanted to enable the second logical CPU on my P4 HT. and...
  Something seems to be strange to me as:
 
  All of the processes are running with CPU0 and none is working with CPU1
 
  Here is the steps and places I read and followed
 
  1. I followed the custom kernel documents from
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
  http://www.freebsddiary.org/smp.php
 
  and compiled the custom kernel
 
  and my kernel config:
  -
  ...
  options SMP
  device  apic# I/O APIC
  ...
  -
 
  2. Then I compiled the custom kernel, and installed it
 
  3. I check the startup output, and found
  SMP: AP CPU #1 Launched!
 
  So my question is, how come in top, only cpu0 is working, and no entry for 
  cpu1?
 
  Thanks in advance:)
 
  Lei
 
 
 Take a look at this:
 
 ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:09.htt.asc
 
 Andreas.
 
 --
 GnuPG key  : 0xD25FCC81  |  http://cyb.websimplex.de/pubkey.asc
 Fingerprint: D182 6F22 7EEC DD4C 0F6E  564C 691B 0372 D25F CC81
 
 
 
 
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.1 (FreeBSD)
 
 iD8DBQBC4LgAaRsDctJfzIERAtX8AJ9fJBbODWbOxymKEFeHNpULtUrecACfYsWG
 IcmXfXCmO9ZpgCxDOlOwQWc=
 =zfk/
 -END PGP SIGNATURE-
 
 

LS ___
LS freebsd-questions@freebsd.org mailing list
LS http://lists.freebsd.org/mailman/listinfo/freebsd-questions
LS To unsubscribe, send any mail to
LS [EMAIL PROTECTED]



-- 
Best regards,
 Mathieumailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Delete files in directory...

2005-07-19 Thread Mathieu CHATEAU
Hello Casper,


just to say that if you call the command directly from cron,
you must call /bin/rm and not just rm

cheers,

Tuesday, July 19, 2005, 11:50:01 AM, you wrote:


C   Hi,

C   Sorry, simple, stupid q. How to make that what come in directory 
C /usr/files/ for example are erased? Or only put in cron after while do
C rm /usr/files/*?

C tnx,
C Casper

C ___
C freebsd-questions@freebsd.org mailing list
C http://lists.freebsd.org/mailman/listinfo/freebsd-questions
C To unsubscribe, send any mail to
C [EMAIL PROTECTED]



-- 
Best regards,
 Mathieumailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem with setup of dns on freebsd-5.4

2005-07-18 Thread Mathieu CHATEAU
Hello Antoine,

do you have a firewall on the box ?

what about:
 netstat -an | grep LISTEN
 ipfw list
 ps auwx | grep named
 cat /etc/resolv.conf

 cheers,
Monday, July 18, 2005, 11:20:56 PM, you wrote:

AS hello all, 

AS I setup a simple dns server so i can keep all hosts in one place.  The
AS only problem that I have is that from other hosts i am unable to
AS connect to dns server.  When I do a nmap of the dns server, I don't
AS get the port 53.   But when I login to the fbsd system which hosts
AS dns, everything works fine.  I am sure I am missing something in
AS configurtation.   Could you please help?   Thanks for everything



-- 
Best regards,
 Mathieumailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[Carp] both node master

2005-07-02 Thread Mathieu CHATEAU
Hello,

i have got 2 node which have a carp interface.

They are both master :

on the first:
carp0: flags=41UP,RUNNING mtu 1500
inet X.X.105.3 netmask 0xfff8
carp: MASTER vhid 5 advbase 1 advskew 10

on the second:
carp0: flags=41UP,RUNNING mtu 1500
inet X.X.105.3 netmask 0xfff8
carp: MASTER vhid 5 advbase 1 advskew 100
  
netstat -ssp carp gives:
carp:
6 packets received (IPv4)
928918 packets sent (IPv4)

carp:
778051 packets sent (IPv4)


If i sniff the interfaces, i do not see carp packet.
sysctl:
net.inet.carp.allow: 1
net.inet.carp.preempt: 1
net.inet.carp.log: 1
net.inet.carp.arpbalance: 0
net.inet.carp.suppress_preempt: 0


Thank you in advance,
-- 
Best regards,
 Mathieu  mailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mysql vs /var partition...

2005-05-26 Thread Mathieu CHATEAU
Hello,

in your /etc/rc.conf:

mysql_dbdir=/data/mysql

cheers,
Mathieu CHATEAU

Thursday, May 26, 2005, 7:18:43 PM, you wrote:

MV Hi All:

MV My mysql database is growing, it has subsequently filled the /var/db
MV partition to capacity.

MV I tried moving the mysql dir and symlinking it to /var/db/mysql which
MV didn't work.  I also tried mount_null from the /usr partition to the
MV /var/db/mysql folder...in both instances, the mysql server will not start.

MV Is there another way around this problem or do i need to somehow resize
MV my /var partition?


MV ___
MV freebsd-questions@freebsd.org mailing list
MV http://lists.freebsd.org/mailman/listinfo/freebsd-questions
MV To unsubscribe, send any mail to
MV [EMAIL PROTECTED]



-- 
Best regards,
 Mathieumailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FBSD 5.4 netstat -an

2005-05-15 Thread Mathieu CHATEAU
Hello freebsd-questions,

i have 2 freebsd 5.4 running .

On one of them, if if do the classic netstat -an i do NOT see tcp
connection while i can see them on the other..

There are tcp connection on the box, at least me trough ssh (tcpdump
show it).

Any clue ?

thank you

-- 
Best regards,
 Mathieu  mailto:[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]