error compiling php4-domxml

2004-07-25 Thread Antoine Jacoutot
Hi :)

I'm trying to compile php4-domxml without success.
Here is the output from make install, anybody has an idea on how to fix this ?
Thanks in advance.

$ pwd
/usr/ports/textproc/php4-domxml
$ make
===>  Vulnerability check disabled
===>  Found saved configuration for php4-domxml-4.3.8_1
===>  Extracting for php4-domxml-4.3.8_1
>> Checksum OK for php-4.3.8.tar.bz2.
===>  Patching for php4-domxml-4.3.8_1
===>   php4-domxml-4.3.8_1 depends on executable: phpize - found
===>   php4-domxml-4.3.8_1 depends on file: /usr/local/bin/automake - found
===>   php4-domxml-4.3.8_1 depends on file: /usr/local/bin/autoconf - found
===>   php4-domxml-4.3.8_1 depends on file: /usr/local/bin/libtool13 - found
===>   php4-domxml-4.3.8_1 depends on executable: pkg-config - found
===>   php4-domxml-4.3.8_1 depends on shared library: xml2.5 - found
===>  PHPizing for php4-domxml-4.3.8_1
autoheader: `config.h.in' is created
Configuring for:
  PHP Api Version:   20020918
  Zend Module Api No:   20020429
  Zend Extension Api No:   20021010
===>  Configuring for php4-domxml-4.3.8_1
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd5.2.1
checking host system type... i386-portbld-freebsd5.2.1
checking for i386-portbld-freebsd5.2.1-gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking whether cc understands -c and -o together... yes
checking if compiler supports -R... yes
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php 
-I/usr/local/include/php/main -I/usr/local/include/php/Zend 
-I/usr/local/include/php/TSRM
checking for PHP extension directory... /usr/local/lib/php/20020429
checking for re2c... exit 0;
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for DOM support... yes, shared
checking for the location of libz... /usr
checking how to run the C preprocessor... cc -E
checking for libxml version... >= 2.4.14
checking for DOM XSLT support... no
checking for DOM EXSLT support... no
checking for i386-portbld-freebsd5.2.1-ranlib... no
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
loading cache /dev/null within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions ... no
checking if cc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... freebsd5.2.1 ld.so
checking if libtool supports shared libraries... yes

*** Warning: the command libtool uses to detect shared libraries,
*** /usr/bin/file, produces output that libtool cannot recognize.
*** The result is that libtool may fail to recognize shared libraries
*** as such.  This will affect the creation of libtool libraries that
*** depend on shared libraries, but programs linked with such libtool
*** libraries will work regardless of this problem.  Nevertheless, you
*** may want to report the problem to your system manager and/or to
*** [EMAIL PROTECTED]

checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for objdir... .libs
creating libtool
updating cache /dev/null
configure: creating ./config.status
config.status: creating config.h
===>  Building for php4-domxml-4.3.8_1
/bin/sh /usr/local/bin/libtool13 --mode=compile cc  -I. 
-I/usr/ports/textproc/php4-domxml/work/php-4.3.8/ext/domxml -DPHP_ATOM_INC 
-I/usr/ports/textproc/php4-domxml/work/php-4.3.8/ext/domxml/include 
-I/usr/ports/textproc/php4-domxml/work/php-4.3.8/ext/domxml/main 
-I/usr/ports/textproc/php4-domxml/work/php-4.3.8/ext/domxml 
-I/usr/local/include/php -I/usr/local/include/php/main 
-I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM 
-I/usr/local/include/libxml2  -DHAVE_CONFIG_H  -O -pipe -march=pentium4  
-prefer-pic 
-c /usr/ports/textproc/php4-domxml/work/php-4.3.8/ext/domxml/php_domxml.c -o 
php_domxml.lo
mkdir .libs
cc -I. -I/usr/ports/textproc/php4-domxml/work/php-4.3.8/ext/domxml 
-DPHP_ATOM_INC 
-I/usr/ports/textproc/php4-domxml/work/php-4.3.8/ext/domxml/include 
-I/usr/ports/textproc/php4-domxml

Re: UFS2 and ufs2 documentation ?

2004-06-20 Thread Antoine Jacoutot
On Sunday 20 June 2004 01:29, Joe Schmoe wrote:
> Quick question - when I run `mount` or view /etc/fstab in fbsd 5.x, I just
> see "ufs" as the filesystem type.  How can I get some kind of output that
> assures me that those volumes are indeed UFS2 volumes ?  How do I verify
> that ? 

# dumpfs /dev/ad***
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Default make.conf in FreeBSD 5.x?

2004-06-14 Thread Antoine Jacoutot
On Monday 14 June 2004 10:01, Andrew McLaren wrote:
> No, I read the man page :-)  I may be stupid, but I am not lazy :-))  The
> man page also helpfully says "This man page may occasionally be out of
> date" so, while it's a useful document, it is not necessarily the final
> arbiter of correctness.

I never said you were stupid nor lazy...

> What confused me was that /etc/default/make.conf had disappeared.

Well, the thing is I think make.conf disappeared from /etc/defaults because 
there's no default defined for the system.
If you take /etc/defaults/rc.conf for exemple, you can see that cron is 
enabled by default --> you can override this by setting it in /etc/rc.conf ; 
but for make.conf, there's nothing defined, everything is commented by 
default, so there's no overrides.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB 2.0 (ehci) - still buggy?

2004-06-14 Thread Antoine Jacoutot
On Monday 14 June 2004 09:51, AK wrote:
> I have just compiled EHCI into kernel, but have no luck
> on making USB2 working :(  Is USB2 supported or it is still
> buggy on fbsd?

If I compile ehci into the kernel and plug a USB2 Harddrive, my FreeBSD-5.2.1 
box panics, so I guess it is still _very_ buggy.

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


Re: Default make.conf in FreeBSD 5.x?

2004-06-14 Thread Antoine Jacoutot
On Monday 14 June 2004 02:41, Andrew McLaren wrote:
> Apologies in advance for what might be a dumb question - but I have
> searched Readmes, UPDATE, Handbook, FAQ, Google, without finding the answer

Looks like you did not look at the man page.

from make.conf(5):

FILES
 /etc/make.conf
 /usr/doc/Makefile
 /usr/share/examples/etc/make.conf
 /usr/src/Makefile
 /usr/src/Makefile.inc1
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: apache segfault (11)

2004-06-09 Thread Antoine Jacoutot
On Wednesday 09 June 2004 21:32, BSDBoy wrote:
> Looks rather strange to me because I can't find anything offending which
> may cause the child processes to segfault. Could u make deinstall
> apache+plugins, make clean, cvsup the port tree and remake it? Did it
> help???

That was the first thing I did actually...
I even rebuilt the world/kernel.

No change whatsoever :(

I'm really concern about this problem.
Basically what it does is:
- I go on horde/imp login page
- I enter user/pass then click on login
- the browser  does not move for about 30 seconds (until the apache segfault)
- I get the cannot load blablabla.php error
- if I then try again to login, sometimes it works right away, sometimes, I 
get the same problem.

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


RE: apache segfault (11)

2004-06-09 Thread Antoine Jacoutot
Selon BSDBoy <[EMAIL PROTECTED]>:
> Did you use any nonstandard optimizations while compiling apache? Also let

Nope, nothing.

> us know if apache is running in chroot environment. Could u also paste about

No, it is a default install, no chroot.

> 30 lines from the last of the apache log? Also did you portupgrade -a after
> u cvsuped the port tree? uname -a please.

Yes, of course I portugraded :)

uname -a:
FreeBSD mcp.lphp.local 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #0: Tue Jun  8
11:30:17 CEST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MCP  i386

Apache logs:
[Wed Jun  9 16:02:26 2004] [info] mod_unique_id: using ip addr 192.168.0.1
Processing config directory: /usr/local/etc/horde
 Processing config file: /usr/local/etc/horde/httpd.conf.horde
 Processing config file: /usr/local/etc/horde/httpd.conf.imp
 Processing config file: /usr/local/etc/horde/httpd.conf.kronolith
 Processing config file: /usr/local/etc/horde/httpd.conf.mnemo
 Processing config file: /usr/local/etc/horde/httpd.conf.nag
 Processing config file: /usr/local/etc/horde/httpd.conf.turba
[Wed Jun  9 16:02:27 2004] [info] (2)No such file or directory: make_sock: for
port 443, setsockopt: (SO_ACCEPTFILTER)
[Wed Jun  9 16:02:27 2004] [info] (2)No such file or directory: make_sock: for
port 80, setsockopt: (SO_ACCEPTFILTER)
[Wed Jun  9 16:02:27 2004] [info] mod_unique_id: using ip addr 192.168.0.1
[Wed Jun  9 16:02:28 2004] [notice] Apache/1.3.31 (Unix) PHP/4.3.7
mod_ssl/2.8.18 OpenSSL/0.9.7c-p1 configured -- resuming normal operations
[Wed Jun  9 16:02:28 2004] [info] Server built: Jun  9 2004 10:41:36
[Wed Jun  9 16:02:28 2004] [notice] Accept mutex: flock (Default: flock)
[Wed Jun  9 16:07:58 2004] [error] [client 82.120.59.186] request failed: URI
too long
[Wed Jun  9 16:12:07 2004] [notice] child pid 68233 exit signal Segmentation
fault (11)
[Wed Jun  9 16:12:56 2004] [error] [client 192.168.0.2] File does not exist:
/usr/local/www/horde/favicon.ico
[Wed Jun  9 16:34:12 2004] [notice] child pid 68633 exit signal Segmentation
fault (11)
[Wed Jun  9 16:35:12 2004] [notice] child pid 68158 exit signal Segmentation
fault (11)

Thanks for helping.

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


apache segfault (11)

2004-06-09 Thread Antoine Jacoutot
Hi :)

I'm having a very big problem with latest apache from ports under 5.2.1.
First let me say that all my ports are up-to-date.
Now, I use Apache+php+mysql with Horde for webmail.

Since a couple of days, the webmail is almost impossible to use, login in 
takes forever and usually ends with an error page saying couldn't get 
http://www.domain.com/horde/blablabla.php

In the Apache logs (debug), I only get this:
[notice] child pid 68233 exit signal Segmentation fault (11)

I tried to look everywhere but couldn't find a answer for this problem.
The top command issue a regular line, no strange processes eating the CPU...

Any idea ?
Thanks in advance and let me know if you need more information.

apache+mod_ssl-1.3.31+2.8.18_3
php4-4.3.7_1

Regards,

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


Re: Imap Proxy server?

2004-05-25 Thread Antoine Jacoutot
On Tuesday 25 May 2004 20:06, [EMAIL PROTECTED] wrote:
> Hey all,
> I have looked into this before but never really found too much info on
> it.  On one of my FreeBSD boxes I run Squirrelmail.  I was told that
> there is a Imap Proxy server that can be ran on the local box to help
> with some slowness with accessing email.  I have installed the Imap
> Proxy server from the ports but there doesn't seem to be any decent
> documentation.  Also the link to the project site is no longer valid:
> http://www.kuleuven.net/projects/imapproxy/
>
> Has anyone installed / configured this and gotten it to work correctly?

Use http://www.imapproxy.org
It works fine and it is in the portss tree (/usr/ports/mail/up-imapproxy)

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


Re: Manually starting RCng scripts disabled in rc.conf

2004-05-17 Thread Antoine Jacoutot
On Monday 17 May 2004 18:51, Freddie Cash wrote:
> Is it possible to manually run an rcNG-style script with app_enable=NO
> in /etc/rc.conf?
>
> For instance, there are a few services that I don't want running all the
> time on my laptop (like Apache, Squid, DansGuardian) but that I need
> running now and then for development / testing purposes.  As such, I
> have apache_enable="NO" in my rc.conf to prevent Apache from starting
> at boot time.  However, this also means that I cannot manually start
> Apache when I need it running, unless I use apachectl or run the httpd
> binary directly.  And I can't use the RCng script to check the status,
> or restart, or any of the other nice things that RCng gives me.  It
> would be much simpler/nicer if I could use the rcNG script to do this.
>
> Am I missing something simple, or is it just not possible to do what I
> want?  I'd like to use the rc.d scripts to control everything, but if I
> have to enable them all in rc.conf and then manually stop them after
> each boot, I'll most likely end up writing my own non-RCng wrapper
> scripts for each app.  :(

What you could do is comment "apache_enable=yes" in rc.conf when you're not 
using it.
Then if you need to start apache later on, just uncomment the line then do 
a /usr/local/etc/rc.d/apache start

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


Re: The correct way to run "make"

2004-05-14 Thread Antoine Jacoutot
Selon Gerard Samuel <[EMAIL PROTECTED]>:
> Im giving up for now.
> Tried to build mozilla with ->
> make -DWITHOUT_MAILNEWS=yes -DWITHOUT_LDAP=yes -DWITHOUT_CHATZILLA=yes
> install
> and it still has the mail and chatzilla modules installed.
> Maybe Ill experiment with it later (like when Im sleeping)

NO !

do:

make -DWITHOUT_MAILNEWS -DWITHOUT_LDAP -DWITHOUT_CHATZILLA
or
make WITHOUT_MAILNEWS=yes WITHOUT_LDAP=yes WITHOUT_CHATZILLA=yes
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: The correct way to run "make"

2004-05-14 Thread Antoine Jacoutot
On Friday 14 May 2004 19:50, Android66 wrote:
> Often you need to specify values, like for postgresql:
>
> make PREFIX=/some/other/dir

I've never used PREFIX as a make option.
I always use the default which usually is /usr/local (otherwise, I think it is 
defined in the port Makefile).

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


Re: The correct way to run "make"

2004-05-14 Thread Antoine Jacoutot
On Friday 14 May 2004 19:17, Gerard Samuel wrote:
> a)  make --SOMEOPTION=yes
> b)  make --SOMEOPTION=yes
> c)  make SOMEOPTION=yes

I'm not sure there's an "official way", but I think you can use whatever:

make -DOPTION
make OPTION=1
make OPTION=yes
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB problems

2004-05-13 Thread Antoine Jacoutot
Selon andre post <[EMAIL PROTECTED]>:
> How does your Wired memory behave during the time of
> intensive USB traffic?

Well, when scanning for exemple, it starts at "112M Wired" up to "114M Wired"...
so I guess this is ok.

> If my bet is right, you're suffering from the usb
> driver memory leak as outlined in these PRs:
> originally in the 4.x branch:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=31659
> and still not solved in the 5.x branch:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=66324

Thanks.
I hope this is the case since it looks like it will be resolved soon.

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


USB problems

2004-05-13 Thread Antoine Jacoutot
Hi :)

I'm running FreeBSD-5.2.1-p5 and I'm having a problem with USB.
Basically, I have 2 USB ports on my box:
- on one there's a USB2 harddrive (running in USB1.1 compat mode; I did not
compile ehci into the kernel because I was having kernel panic on boot)
- on the other, there's an USB hub connected (with 3 devices connected to the
hub)

After some time (usually around 12 to 24h), the devices on the USB hub are not
accessible anymore and I have to unplugg then replugg the hub power switch
again for the devices to work.
This does _not_ happen when I unplugg the USB harddrive (I unplugged it for like
a week and had no problem).
Note that _all_ my devices have a power switch.

So my questions would be:
- do you know where this problem could come from ?
- do you have any idea how I could maybe send some data to the USB port to keep
it alive ?

Thanks in advance.
Regards,

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


Re: WindowsCE Device (iPAQ) and FreeBSD

2004-04-25 Thread Antoine Jacoutot
On Monday 26 April 2004 00:13, Ralph M. Los wrote:
> Are there any "drivers" or connectors to be able to "talk" (synch, etc)
> to a WinCE device for FreeBSD?

Yes, there is:


$ cd /usr/ports
$ make search name=synce

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


Re: sshd login "error"

2004-04-16 Thread Antoine Jacoutot
On Friday 16 April 2004 20:47, Thomas Beer wrote:
> The DSAauthentication key is for a normal user and
> runs smoothly. If I try to login as root from
> one of the boxes to another (works in both directions)
> I get a password prompt and after entering the root
> password access is granted!??
>
> Am I missing something?

Maybe try to add:

ChallengeResponseAuthentication no

This will disable PAM authentication.

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


Re: sendmail milter support

2004-04-11 Thread Antoine Jacoutot
On Sunday 11 April 2004 14:03, Spades wrote:
> I edited freebsd.mc and added:
> INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, F=,
> T=S:4m;R:4m')
>
> i tried restarting sendmail process but it didn't take effect, so i need to
> make and make install in /etc/mail. i did that and nothing happen.

The easiest thing to do is:
$ cd /etc/mail
$ make
--> edit /etc/mail/`hostname`.mc
$ make
$ make install
$ make restart
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with mouse scroll logitech

2004-04-06 Thread Antoine Jacoutot
On Tuesday 06 April 2004 23:57, Marcelo wrote:
> Hello all,
>
> I have a Logitech optical mouse with scroll, and i've used the scroll
> function in several linux distros, but in freebsd i didnt find the
> solution yet..
>
> Is there any line to add in xf86config file, or other manner to solve
> that?

This is the XF86Config section for my mouse (Logitech WheelMouse), maybe it  
can help you:

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "Auto"
Option  "Device" "/dev/sysmouse"
Option  "ZAxisMapping" "4 5"
EndSection

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


Re: Trans.: Re: gnome long startup

2004-04-06 Thread Antoine Jacoutot
On Tuesday 06 April 2004 02:57, Antoine Jacoutot wrote:
> Yes, the blackholes have been known to cause problems with GNOME
> startup.  First make sure you can do:

Indeed, blackholes were the problem...
It works now. Is there a way to have blackholes enabled and make tthis work 
anyway ?

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


Re: gnome long startup

2004-04-05 Thread Antoine Jacoutot
On Monday 05 April 2004 20:15, Simon Barner wrote:
> do you have a firewall, and if so, are you sure it does not block that
> connection?

Nope, this is a test station within my LAN, there's no firewall on it.

> The same goes for tcpwrappers, so check /etc/hosts.allow and
> /etc/hosts.deny.

I never touched those files, so I don't think there' re the problem.

> I third thing that comes to my mind is /etc/hosts? Is it set up properly,
> e.g.

Yes, and there's also a DNS server on the LAN.

> Does the problem go away, if you create a test user and try to log into
> Gnome? If so, then some of your ~/.* configuration files/directories are
> hosed, and you should be able to fix the problem by moving them away.

No, the problem still occurs.

> If all of the above fails, please provide more information, e.g. FreeBSD
> version, list of installed packages (ls /var/db/pkg), the login manager
> you use. An excerpt from the log you mentioned might also be useful.

Well, I use FreeBSD-5.2.1-p1 and my login manager is gdm2.
But even if I start gnome from console (using .xinitrc), I get the same 
problem. Disabling esd in gnome control center make the problem disapear.
I have no log whatsover except what I said about 127.0.0.1:16001 which 
appeared when I set log_in_vain in rc.conf.

I do have these in my sysctl.conf, do you think this could cause problem:

security.bsd.see_other_uids=0
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1
net.inet.tcp.sendspace=65535
vfs.usermount=1
kern.randompid=2

Thanks.

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


gnome long startup

2004-04-05 Thread Antoine Jacoutot
Hi :)

I have problems when starting gnome if I enable the esd sound server, it takes 
forever for gnome to launch itself.
In my logs, I can see a connexion attempt to 127.0.0.1:16001.

Anyone knows how I could speed up gnome start ?
Thanks.

Regards.

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


mplayer with RTC support

2004-04-02 Thread Antoine Jacoutot
Hi :)

I'm having a problem with mplayer when compiled with RTC.
When I want to view a video, it just hangs mplayer for ever until I "CTRL-C" 
which gives me:
MPlayer interrupted by signal 2 in module: sleep_rtc
I try launching mplayer as root --> same problem; I chmod /dev/rtc to 777 --> 
same problem.

Note that seeing a video with the -nortc option passed to mplayer works fine.
I run FreeBSD-5.2.1-p3.
Here are some output you might need in helping me resolve this issue (note 
that linux emulation is built in the kernel).

$ kldstat
Id Refs AddressSize Name
 1   11 0xc040 37b884   kernel
 21 0xc077c000 33e0 splash_bmp.ko
 31 0xc07cb000 6ea4 snd_emu10k1.ko
 42 0xc07d2000 1e58csnd_pcm.ko
 51 0xc07f1000 1ac8a4   nvidia.ko
 61 0xc099e000 51b48acpi.ko
 71 0xc4714000 2000 rtc.ko

$ pkg_info | grep rtc
rtc-2004.02.24.1_4  Kernel module which provides /dev/rtc device support
$ pkg_info | grep mplayer-gtk
mplayer-gtk-esound-0.92.1 High performance media player/encoder supporting 
many forma

$ cat /boot/loader.conf
bitmap_load="YES"
splash_bmp_load="YES"
bitmap_name="/boot/splash_bmp"
nvidia_load="YES"
snd_emu10k1_load="YES"
kern.hz="2048"

$ mplayer test.avi
MPlayer 0.92.1-3.3.3  (C) 2000-2003 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 
6)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading config file /usr/local/share/mplayer/mplayer.conf: No such file or 
directory
Reading config file /home/ajacoutot/.mplayer/config
Reading /home/ajacoutot/.mplayer/codecs.conf: can't open 
'/home/ajacoutot/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: /home/ajacoutot/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /home/ajacoutot/.mplayer/input.conf: No such file 
or directory
Input config file /usr/local/share/mplayer/input.conf parsed: 52 binds

Playing test.avi
AVI file format detected.
VIDEO:  [XVID]  576x320  24bpp  23.98 fps  1011.9 kbps (123.5 kbyte/s)
Clip info:
 Software: Nandub v1.0rc2
SUB: Detected sub file: test.srt
SUB: Detected subtitle file format: subviewer
SUB: Read 479 subtitles.
SUB: Adjusted 7 subtitle(s).
==
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0.0" => local 
display)
==
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing 
low_delay flag
VDec: vo config request - 576 x 320 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.80:1 - prescaling to correct movie aspect.
VO: [xv] 576x320 => 576x320 Planar YV12
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A:   0.2 V:   0.2 A-V: -0.007 ct:  0.0156/  6   0%  0%  0.0% 1 0 0%

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


cannot create socket for udp6

2004-04-01 Thread Antoine Jacoutot
Hi :)

I was wondering if I could get rid of the following error on bootup:

rpcbind: cannot create socket for udp6
rpcbind: cannot create socket for tcp6

I disabled INET6 in my kernel config file, I guess this why rpcbind is 
complaining, but I did not find a way to start rpcbind binding to ipv4 only.

Thanks in advance.
Regards.

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


Re: Help with pam and ldap please [SOLVED]

2004-03-28 Thread Antoine Jacoutot
On Sunday 28 March 2004 12:58, Per olof Ljungmark wrote:
> openldap21-server portrevision was bumped to 2.1.28 in between and
> apparently that broke my nss configuration. Install of openldap21-server
> 2.1.27 fixed the problem.

Yes, I sent an email about this to the port maintener but got no answer yet.
I guess we'll have to wait until the next port revision to see this issue 
fixed.

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


Re: freebsd, php and gd libary

2004-03-20 Thread Antoine Jacoutot
On Saturday 20 March 2004 10:24, thomas may wrote:
> i installed mod_php4 from ports tree with gd options, but it starts
> automatically a xfree86 installation what i don’t need on my webserver.

You have to build gd without X support:
$ make -DWITHOUT_X11 install clean

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


Re: installing foomatic

2004-03-17 Thread Antoine Jacoutot
On Wednesday 17 March 2004 09:46, Norhisham Khalil wrote:
> PS:  i have foomatic-db and foomatic-db-engine installed
> then what do i do?

You need foomatic-rip which is not part of the ports system.
Have a look at www.linuxprinting.org

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


Re: store freebsd accounts in mysql ???

2004-03-16 Thread Antoine Jacoutot
On Tuesday 16 March 2004 17:38, [EMAIL PROTECTED] wrote:
> I am using freebsd5.2, because i have a large number of users counted by
> ten thousand, use the passwd file to store user accounts and password lead
> to unbearable delay. I want to know if freebsd support store accounts in
> places other than '/etc/passwd' file, best support mysql database for
> passwd database backend. any hints is welcome.
> regards billy
> Naisa Systems,Inc http://www.naisa.net

I think it should works under > 5.1-RELEASE using pam-mysql and libnss-mysql.
I never tested it though, I'm using ldap for authentication.

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


Re: nss_ldap/pam_ldap, what am I missing?

2004-03-13 Thread Antoine Jacoutot
On Saturday 13 March 2004 18:25, Per olof Ljungmark wrote:
> If you have a similar setup working I am very interested in how it was
> accomplished.

Allright, so here is my setup if it can help you;
note that I'm using ldap over SSL with key files.

server:
# /usr/local/etc/ldap.conf
uri ldapi://%2fvar%2frun%2fopenldap%2fldapi/
base dc=domain,dc=com
binddn cn=proxyuser,dc=domain,dc=com
bindpw lphp.org
pam_password ssha
nss_base_passwd ou=People,dc=domain,dc=com?one
nss_base_passwd ou=Computers,dc=domain,dc=com?one
nss_base_shadow ou=People,dc=domain,dc=com?one
nss_base_group  ou=Group,dc=domain,dc=com?one

# /usr/local/etc/nss_ldap.conf
uri ldapi://%2fvar%2frun%2fopenldap%2fldapi/
base dc=domain,dc=com
binddn cn=proxyuser,dc=domain,dc=com
bindpw lphp.org
nss_base_passwd ou=People,dc=domain,dc=com?one
nss_base_passwd ou=Computers,dc=domain,dc=com?one
nss_base_shadow ou=People,dc=domain,dc=com?one
nss_base_group  ou=Group,dc=domain,dc=com?one

client:
# /usr/local/etc/ldap.conf
base dc=domain,dc=com
uri ldaps://server.domain.com
binddn cn=proxyuser,dc=domain,dc=com
bindpw lphp.org
pam_password ssha
nss_base_passwd ou=People,dc=domain,dc=com?one
nss_base_passwd ou=Computers,dc=domain,dc=com?one
nss_base_shadow ou=People,dc=domain,dc=com?one
nss_base_group  ou=Group,dc=domain,dc=com?one
ssl on
tls_checkpeer yes
tls_cacertfile /usr/local/etc/openldap/cacert.pem

# /usr/local/etc/nss_ldap.conf
base dc=domain,dc=com
uri ldaps://server.domain.com
binddn cn=proxyuser,dc=domain,dc=com
bindpw lphp.org
nss_base_passwd ou=People,dc=domain,dc=com?one
nss_base_passwd ou=Computers,dc=domain,dc=com?one
nss_base_shadow ou=People,dc=domain,dc=com?one
nss_base_group  ou=Group,dc=domain,dc=com?one
ssl on
tls_checkpeer yes
tls_cacertfile /usr/local/etc/openldap/cacert.pem

common (client+server):
# /etc/nsswitch.conf
passwd: files ldap
group: files ldap

# /etc/pam.d/ldap
authsufficient  /usr/local/lib/pam_ldap.so

# /etc/pam.d/system
authsufficient  pam_opie.so no_warn 
no_fake_prompts
authrequisite   pam_opieaccess.so   no_warn allow_local
authinclude ldap
authrequiredpam_unix.so no_warn try_first_pass 
nullok
account requiredpam_login_access.so
account requiredpam_unix.so
session requiredpam_lastlog.so  no_fail
passwordrequiredpam_unix.so no_warn try_first_pass
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: nss_ldap/pam_ldap, what am I missing?

2004-03-12 Thread Antoine Jacoutot
Selon Per olof Ljungmark <[EMAIL PROTECTED]>:
> FBSD 5.2.1, nss_ldap/pam_ldap, no joy.
> Have really tried to read available documents, man pages etc., but no avail.
> If I could increase the debug level with pam perhaps it would take me 
> further, could somebody please give a hint on how to?
> The ultimate goal is to create a Samba PDC, but seems far away ay the 
> moment...

I have this kind of setup working perfectly. Tell me what you need.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


problem with USB hub

2004-02-23 Thread Antoine Jacoutot
Hi :)

I use a USB hub with a scanner and a printer plugged-in under FreeBSD-5.2-RC2.
The USB hub is self-powered. After some time of inactivity, the hub turns of 
the ports where my devices are connected which means I cannot access my 
printer nor scanner anymore...
I there a way to tell FreeBSD to send some activity to the USB port where the 
hub is connected to it does not turn off its ports ?
I would really appreciate since the only solution for my printer and scanner 
to work again is to unplug and replug the USB hub.

Thanks in advance.
Regards,

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


Re: Nvidia

2004-02-22 Thread Antoine Jacoutot
On Sunday 22 February 2004 18:29, Uwe Laverenz wrote:
> AFAIK the nvidia drivers don't work with FreeBSD 5.2 anymore. Last time
> I tried was 2 weeks ago with -CURRENT and it did not work. I switched
> back to RELENG_4.

Well... it works great under 5.2.

$ cd /usr/ports/x11/nvidia-driver
$ make install clean

$ uname -a
FreeBSD bsdbox.lphp.local 5.2.1-RC2 FreeBSD 5.2.1-RC2 #0: Sat Feb 21 21:13:50 
CET 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BSDBOX  i386

$ kldstat
Id Refs AddressSize Name
 15 0xc040 41f5dc   kernel
 21 0xc082 1ac8a4   nvidia.ko
 31 0xc09cd000 51b48acpi.ko

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


errors with FAM and KDE

2004-02-21 Thread Antoine Jacoutot
Hi :)

I'm having a problem with FAM under KDE (3.2).
My homedirs are mounted using NFS and regularly, I get the following errors in 
my logs:

kernel: pid 609 (fam), uid 1: exited on signal 6

Everything seems to work fine though, but I'm always concern about errors I 
don't understand.

The homedirs are exported like this:
/home -alldirs -maproot=nobody:nobody -network 192.168.0.0 -mask 255.255.255.0

My users are authenticated using LDAP.

Obviously, there must be a permission problem somewhere (note that local root 
on workstations cannot access users homedirs since it is map to user nobody).

Do you know where this error could come from ?
I'm running 5.2.1-RC2.

Thanks in advance.
Regards,

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


hardware video capture

2004-02-19 Thread Antoine Jacoutot
Hi :)

I was wondering if there was a supported "Hardware Compression Video Capture" 
card under FreeBSD ?

I know that, for exemple, Hauppauge WinTV or the Miro PC TV are supported, but 
these are software compression capture cards. I also know that Zoran cards 
(like Pinnaccle DC10+) are NOT supported...
Not that I'm not looking for DV capture, but regular video (composite or 
S-Video).

Thanks in advance.
Regards,

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


hardware video capture

2004-02-19 Thread Antoine Jacoutot
Hi :)

I was wondering if there was a supported "Hardware Compression Video Capture" 
card under FreeBSD ?

I know that, for exemple, Hauppauge WinTV or the Miro PC TV are supported, but 
these are software compression capture cards. I also know that Zoran cards 
(like Pinnaccle DC10+) are NOT supported...
Not that I'm not looking for DV capture, but regular video (composite or 
S-Video).

Thanks in advance.
Regards,

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


Re: Setting up samba as PDC

2004-02-18 Thread Antoine Jacoutot
On Wednesday 18 February 2004 16:50, BUTTERWORTH,THADDAEUS (HP-Boise,ex1) 
wrote:
> I'm needing to set up my machine as a PDC. When I go to add users using the
> smbpasswd -a username command I get the following error. Does anyone have
> any suggestions on how to fix this error?

Yes:

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


Re: if_tun failed to register (long)

2004-02-16 Thread Antoine Jacoutot
On Monday 16 February 2004 12:05, you wrote:
> check /boot/loader.conf for if_tun_load="YES"
> if so, comment it out. it will not load the module anymore.
> you will rely on the one compiled into kernel.
>
> if this is not the answer to your problem email back.

No, this is not it.
I never added if_tun_load to my loader.conf and anyway, /boot/loader.conf is 
empty.
Thanks.

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


if_tun failed to register (long)

2004-02-16 Thread Antoine Jacoutot
Hi :)

I've been having the same error for months now under FreeBSD-5.x (5.1, 5.2, 
5.2.1-RC2, 5-CURRENT).
It works anyway, but I'm concerned about this error anyway.
When I boot, ppp is started automatically with rc.conf and I get the following 
error on the console:

kernel: module_register: module if_tun already exists!
kernel: Module if_tun failed to register: 17
kernel: can't re-use a leaf (if_tun_debug)

"device tun" is compiled into my kernel but also loaded as a module !!! :

$ kldstat
Id Refs AddressSize Name
 16 0xc040 376afc   kernel
 21 0xc0777000 4d978acpi.ko
 31 0xc467 4000 logo_saver.ko
 41 0xc470f000 4000 if_tun.ko

As I said, everything works, but still, this error is strange.
After looking everywhere without finding any clue about this error, I came to 
the conclusion that it could be my kernel configuration.
Note that also I use kern_securelevel="1".

If you have _any_ idea, I would really appreciate.
This is a brand new system.
Thanks.
Regards,

Antoine

ps:
Here is my KERNELCONF:

machine i386
cpu I686_CPU
ident   MCP
options SCHED_ULE
options INET
options INET6
options FFS
options SOFTUPDATES
options UFS_ACL
options UFS_DIRHASH
options NFSCLIENT
options NFSSERVER
options MSDOSFS
options CD9660
options PROCFS
options PSEUDOFS
options COMPAT_43
options COMPAT_FREEBSD4
options SCSI_DELAY=15000
options KTRACE
options SYSVSHM
options SYSVMSG
options SYSVSEM
options _KPOSIX_PRIORITY_SCHEDULING
options KBD_INSTALL_CDEV
options AHC_REG_PRETTY_PRINT
options AHD_REG_PRETTY_PRINT
options PFIL_HOOKS
device  isa
device  pci
device  fdc
device  ata
device  atadisk
device  atapicd
options ATA_STATIC_ID
device  scbus
device  da
device  atkbdc
device  atkbd
device  psm
device  vga
device  splash
device  sc
device  agp
device  npx
device  sio
device  ppc
device  ppbus
device  miibus
device  rl
device  xl
device  random
device  loop
device  ether
device  ppp
device  tun
device  pty
device  bpf
device  uhci
device  usb
device  ugen
device  ulpt
device  umass
device  uscanner
options IPSTEALTH
options RANDOM_IP_ID
options SC_DISABLE_REBOOT
options CPU_ENABLE_SSE
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=100
options IPDIVERT
options NETGRAPH
options NETGRAPH_ETHER
options NETGRAPH_PPPOE
options NETGRAPH_SOCKET
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make.conf CFLAGS and ports

2004-02-15 Thread Antoine Jacoutot
On Sunday 15 February 2004 21:16, Kris Kennaway wrote:
> We discussed this the other day on this very list..the answer is that
> this is not possible, and the contents of CFLAGS is what will be used
> for port builds (except a few broken ports).

Allright...
So, is there a way to know the defaults CFLAGS used to build the kernel and 
the world ?
Is is "-0 -pipe" or are there no defaults ?
Thanks.

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


make.conf CFLAGS and ports

2004-02-15 Thread Antoine Jacoutot
Hi :)

I was just wondering how CFLAGS were managed with make.conf and ports 
building.
Indeed, today I just realized that what's in make.conf overwrite the default 
build for ports.
I have this in my make.conf:
CFLAGS= -O -pipe

I though those were the right settings for building the world, but, I just 
realized while building kde-3.2 that the ports should build with -O2 (from 
the Mk or Makefile file I guess) but because of what I have in my make.conf, 
it builds like this: -O2 -O -pipe -march=pentium3, and since the last 
optimisation settings wins, kde-3.2 is build with: -O -pipe -march=pentium3.
I suppose this is normal behaviour, but does this mean I have to comment 
CFLAGS everytime I build a port, so that it gets its default optimisation or 
is there another way ?
My dream configuration would be:
CFLAGS= -O -pipe for building the world
CFLAGS= -O -pipe for building ports, EXCEPT if the Makefile and/or Mk build 
instructions give a higher optimisation setting.

I hope this is understandable, my English is poor when coming to explain 
stuffs...

Thanks for reading me.
Regards,

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


Re: USB2 external hard drive too slow ....

2004-02-13 Thread Antoine Jacoutot
On Friday 13 February 2004 16:02, Heinrich Rebehn wrote:
> Hi Ivan,
> did you get any reply to your posting? I am having the same problem:
> Maxtor 250 GB external USB2 drive, Belkin USB2 card, FreeBSD 5.1, but i
> get only < 1MB/sec.
>
> Does FreeBSD support USB 2.0 at all?

Did you add "device ehci" in your kernel config file ?
That's what enable USB2 support if I'm not mistaken.
But beware, I compiled my system (5.2.1-RC2)  with this option and now USB 
crashes totally.

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


net-snmp kvm_read: Bad address

2004-02-13 Thread Antoine Jacoutot
Hi :)

I'm running 5.2.1-RC2 and I have problem with the net/net-snmp port.
I use mrtg to collect stats from localhost snmp and I get those strange logs 
in /var/log/snmpd.log:

Connection from 127.0.0.1
kvm_read(*, 1, 0xbfbfd89c, 4) = -1: kvm_read: Bad address
auto_nlist failed on nswdev at location 1
kvm_read(*, 1, 0xbfbfd89c, 4) = -1: kvm_read: Bad address
auto_nlist failed on nswdev at location 1
Connection from 127.0.0.1
kvm_read(*, 1, 0xbfbfd89c, 4) = -1: kvm_read: Bad address
auto_nlist failed on nswdev at location 1
kvm_read(*, 1, 0xbfbfd89c, 4) = -1: kvm_read: Bad address
auto_nlist failed on nswdev at location 1

I cvsup, rebuilt my world+kernel and the snmpd port, but I still get the same 
problem.
Any idea what could cause this ?

Note that I launch snmpd like this:
/usr/local/sbin/snmpd -p /var/run/snmpd.pid -Lsd 127.0.0.1

Thanks in advance.
Regards,

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


Re: CVSup question, which tag for 4.9-RELEASE?

2004-02-12 Thread Antoine Jacoutot
Selon Bob Collins <[EMAIL PROTECTED]>:
> I am running a few boxes(n) on 4.9-RELEASE and am wondering about
> updating the ports and source. Using CVSup, should I tag src with
> RELENG_4, or RELENG_4_9? And what if any are the differences, that
> are not already noted in the handbook? Up to this point, I have not
> updated the system since install

For your system, use RELENG_4_9; "tag=RELENG_4_9"; this will keep you up to date
with the security fixes.
For the ports, always use CURRENT; "tag=."

> I think I have a rather good grasp of the topic, but there is a little
> confusion on my part. I am thinking if I read correctly, using RELENG_4
> will update to the latest in the 4.x branch and I'll be at 4.9-Current,
> no? And RELENG_4_9 will be only updates to the 4.9 branch?

RELENG_4 will update you to 4-STABLE (the future 4.10 if there's one).

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


Re: DVD playback finally works! =)

2004-02-11 Thread Antoine Jacoutot
On Wednesday 11 February 2004 09:55, Benjamin Walkenhorst wrote:
> Unfortunately, due to devfs, I have to change the permissions for acd0
> and create the link (/dev/dvd) every time the system starts up - is
> there any way to make these changes permanent?

Yes there is.
--> man devfs
--> edit /etc/devfs.conf

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


Re: deactivate slave on first IDE

2004-02-10 Thread Antoine Jacoutot
On Wednesday 11 February 2004 03:00, Gautam Gopalakrishnan wrote:
> I assume you're running 5.2 p2. I had the same problem and it is solved
> by having a cd in the drive while booting. Seems like a known bug and is
> being fixed.

I am running 5.2-p2 indeed...
But having a cd in the drive does not help at all, I already tried it.
Thanks anyway.

Antoine

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


deactivate slave on first IDE

2004-02-10 Thread Antoine Jacoutot
Hi :)

Since my system doesn't boot when my cdrom is plugged in (it hangs after 
timecounter... ; see my previous post), I was wondering if it was possible to 
tell FreeBSD not to "deal" with IDE1-slave (something like "boot -noide2)...
Indeed, in my bios, I set the IDE1-slave to none, but FreeBSD keeps hanging on 
bootup.

Thanks for any hints.

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


Re: snmpd Error opening specified endpoint

2004-02-10 Thread Antoine Jacoutot
On Tuesday 10 February 2004 15:52, Saint Aardvark the Carpeted wrote:
> something else listening on UDP port 161:
> > # netstat -a | grep snm
> > udp4   0  0  *.snmp *.*

Yes, strange, isn't it ?
Especially since this is a brand new system not even connected to the internet 
(I mean, there can't be any rootkit or so...).

> Try running "sockstat | grep 161" and posting the results.

Pfuhh, why didn't I do this before, what an idiot...
I can't reach the server right now, so I'll post the output as soon as I get 
to the box...

> Also, a quick Google for "snmp specified endpoint" turns up a fair
> number of newsgroup messages; some seem to suggest that there may be
> problems with the very latest version of net-snmpd.  By any chance, are
> you compiling a very recent version?

Yes, I've seen all those google posts before asking here, BUT:
- I compiled net-snmp from the ports collection
- the latest port is from January 2nd, so I guess someone would have caught 
this problem before me if it was specifically FreeBSD/port related.

Obviously, there's something wrong on my box...
I'll try to give more information soon.

Thanks.

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


cdrom hangs FreeBSD boot

2004-02-10 Thread Antoine Jacoutot
Hi :)

I'm using FreeBSD-5.2-RELEASE-p2 and I'm experiencing a very serious problem.
When my cdrom is connected (slave on first IDE slot), FreeBSD hangs on boot 
at:

Timecounter "TSC" frequency 2399937676 Hz quality 800
Timecounters tick every 10.000 msec

There's no error, no panic, no messages whatsoever, it just stays like this 
and stop booting.
I set IDE1/slave to NONE is my bios, so the cdrom would not be discovered on 
boot (temporary solution until it works), but I get the same problem... it 
just hangs.
For now, the only solution is to unplug the cdrom... :(
Just to make sure this was not hardware related, Linux and Windows boot fine 
on the same box with the cdrom pluged-in. FreeBSD also boots fine when the 
cdrom is alone (slave or master) on its IDE slot.

If you have any idea I would really appreciate.
Thanks in advance.
Regards,

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


snmpd Error opening specified endpoint

2004-02-10 Thread Antoine Jacoutot
Hi :)

I'm having a problem starting snmpd under FreeBSD-5.2-p2...
I tried several options but I always get some strange errors.
Note that I launch snmpd as root...

---
# snmpd -p /var/run/snmpd.pid -c /usr/local/share/snmp/snmpd.conf -Ls d 
127.0.0.1

snmpd: Error opening specified endpoint "127.0.0.1"
snmpd: Server Exiting with code 1
---
# snmpd -p /var/run/snmpd.pid -c /usr/local/share/snmp/snmpd.conf


snmpd: Error opening specified endpoint "udp:161"
snmpd: Server Exiting with code 1
---
# netstat -a | grep snm
udp4   0  0  *.snmp *.*

# ps ax | grep snmp
--> nothing !!!
---

If you have any idea on what's happening, I would really appreciate.
Thanks in advance.

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


Re: pkg database corrupted ? (LONG)

2004-02-09 Thread Antoine Jacoutot
On Monday 09 February 2004 18:21, Julien Gabel wrote:
> 1/ After ran cvsup(1), have you tried to regenerate the INDEX file in
>addition to INDEX.db?
> # portsdb -Uu
>
> 2/ Then, maybe you can try to re-create all the package database with:
> # pkgdb -fu

Well, as I said in my previous mail, I did all that... well, except "portsdb 
-U" because I though "make index" was kind of the same.
Anyway, I uninstall a package (php4) and reinstalled it... and my database was 
updated correctly.
I really don't know what happened, but it is fixed now.
Thanks.

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


pkg database corrupted ? (LONG)

2004-02-09 Thread Antoine Jacoutot
Hi :)

Somehow, my ports DB got corrupted or something, so I cannot portupgrade 
anymore :(
I updated by cvsup to see if it changed something, but id didn't...
This is the command I issued after cvsuping:
# cd /usr/ports
# make index && portsdb -u && pkgdb -Fvu

If you have any idea, I would really appreciate.
Thanks in advance.
Regards,

Antoine

ps:
Here are some outputs:

---
# pkg_info | awk '{print $1}'
apache+mod_ssl-1.3.29+2.8.16
arc-5.21j
aspell-0.50.4.1_1
autoconf-2.57_1
bison-1.75_2
cclient-2002d,1
clamav-0.65_6
cvsup-without-gui-16.1h
db41-4.1.25_1
drac-1.12
expat-1.95.6_1
gettext-0.13.1
gmake-3.80_2
help2man-1.29
horde-2.2.4_2
imap-uw-2002d,1
isc-dhcp3-server-3.0.1.r12
lha-1.14i_2
libgmp-4.1.2_3
libiconv-1.9.1_3
libltdl-1.5
libmcal-0.7_1
libmcrypt-2.5.7_1
libtool-1.3.5_1
libtool-1.4.3_2
libxml2-2.6.5_1
m4-1.4_1
mimedefang-2.39
mm-1.3.0
mysql-client-3.23.58_1
mysql-server-3.23.58_1
net-snmp-5.1_1
nss_ldap-1.204_5
openldap-client-2.1.26
openldap-server-2.1.26_1
p5-Authen-SASL-2.06
p5-DBI-1.40
p5-Data-ShowTable-3.3
p5-Digest-1.05
p5-Digest-HMAC-1.01
p5-Digest-MD5-2.33
p5-Digest-Nilsimsa-0.06
p5-Digest-SHA1-2.07
p5-HTML-Parser-3.34
p5-HTML-Tagset-3.03
p5-IO-stringy-2.108
p5-MIME-Base64-3.00
p5-MIME-Tools-5.411a_3,1
p5-Mail-SpamAssassin-2.63
p5-Mail-Tools-1.60
p5-Mysql-modules-1.2219
p5-Net-1.17,1
p5-Net-DNS-0.45
p5-Time-HiRes-1.52,1
p5-URI-1.30
pam_ldap-1.6.7_1
pear-Archive_Tar-1.1_1
pear-Auth-1.2.3
pear-Auth_SASL-1.0.1_1
pear-Console_Getopt-1.2
pear-DB-1.5.0.r2_1,1
pear-Date-1.4
pear-HTML_Common-1.2.1
pear-Log-1.8.3
pear-Mail-1.1.2_1
pear-Mail_Mime-1.2.1_4
pear-Net_SMTP-1.2.3_1
pear-Net_Socket-1.0.1_2
pear-PEAR-1.2.1_1
perl-5.6.1_15
php4-4.3.4_6
pkgconfig-0.15.0_1
portupgrade-20040208
python-2.3.3
razor-agents-2.36_3
ruby-1.6.8.2003.10.15
ruby-bdb1-0.2.1
ruby-shim-ruby18-1.8.1.p3
sma-1.4
unarj-2.43_1
unrar-3.30_1,3
unzip-5.50_2
zoo-2.10.1
---
# pkgdb -Fvu
--->  Updating the pkgdb
--->  Checking the package registry database
Checking the origin of cvsup-without-gui-16.1h
Checking the origin of perl-5.6.1_15
Checking the origin of portupgrade-20040208
Checking the origin of ruby-1.6.8.2003.10.15
Checking the origin of ruby-bdb1-0.2.1
Checking the origin of ruby-shim-ruby18-1.8.1.p3
Checking for origin duplicates
Checking cvsup-without-gui-16.1h
Checking perl-5.6.1_15
Checking portupgrade-20040208
Checking ruby-1.6.8.2003.10.15
Checking ruby-bdb1-0.2.1
Checking ruby-shim-ruby18-1.8.1.p3
Regenerating +REQUIRED_BY files
Checking for cyclic dependencies
---
# pkg_info | grep php
php4-4.3.4_6

# portupgrade -f php4
** No such package 'php4' is installed.
---
# ls -l /var/db/pkg/ | awk '{print $9}'

apache+mod_ssl-1.3.29+2.8.16
arc-5.21j
aspell-0.50.4.1_1
autoconf-2.57_1
bison-1.75_2
cclient-2002d,1
clamav-0.65_6
cvsup-without-gui-16.1h
db41-4.1.25_1
drac-1.12
expat-1.95.6_1
gettext-0.13.1
gmake-3.80_2
help2man-1.29
horde-2.2.4_2
imap-uw-2002d,1
isc-dhcp3-server-3.0.1.r12
lha-1.14i_2
libgmp-4.1.2_3
libiconv-1.9.1_3
libltdl-1.5
libmcal-0.7_1
libmcrypt-2.5.7_1
libtool-1.3.5_1
libtool-1.4.3_2
libxml2-2.6.5_1
m4-1.4_1
mimedefang-2.39
mm-1.3.0
mysql-client-3.23.58_1
mysql-server-3.23.58_1
net-snmp-5.1_1
nss_ldap-1.204_5
openldap-client-2.1.26
openldap-server-2.1.26_1
p5-Authen-SASL-2.06
p5-DBI-1.40
p5-Data-ShowTable-3.3
p5-Digest-1.05
p5-Digest-HMAC-1.01
p5-Digest-MD5-2.33
p5-Digest-Nilsimsa-0.06
p5-Digest-SHA1-2.07
p5-HTML-Parser-3.34
p5-HTML-Tagset-3.03
p5-IO-stringy-2.108
p5-MIME-Base64-3.00
p5-MIME-Tools-5.411a_3,1
p5-Mail-SpamAssassin-2.63
p5-Mail-Tools-1.60
p5-Mysql-modules-1.2219
p5-Net-1.17,1
p5-Net-DNS-0.45
p5-Time-HiRes-1.52,1
p5-URI-1.30
pam_ldap-1.6.7_1
pear-Archive_Tar-1.1_1
pear-Auth-1.2.3
pear-Auth_SASL-1.0.1_1
pear-Console_Getopt-1.2
pear-DB-1.5.0.r2_1,1
pear-Date-1.4
pear-HTML_Common-1.2.1
pear-Log-1.8.3
pear-Mail-1.1.2_1
pear-Mail_Mime-1.2.1_4
pear-Net_SMTP-1.2.3_1
pear-Net_Socket-1.0.1_2
pear-PEAR-1.2.1_1
perl-5.6.1_15
php4-4.3.4_6
pkgconfig-0.15.0_1
pkgdb.db
portupgrade-20040208
python-2.3.3
razor-agents-2.36_3
ruby-1.6.8.2003.10.15
ruby-bdb1-0.2.1
ruby-shim-ruby18-1.8.1.p3
sma-1.4
unarj-2.43_1
unrar-3.30_1,3
unzip-5.50_2
zoo-2.10.1
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [5.2] Startup script won't install

2004-01-20 Thread Antoine Jacoutot
On Tuesday 20 January 2004 15:38, Robert Fitzpatrick wrote:
> On Mon, 2004-01-19 at 13:38, Thomas T. Veldhouse wrote:
> Still no luck, it only confirms the placement of the slapd daemon at the
> end of the install. Everything goes well, but no slapd.sh in rc.d. Any
> ideas?

My slapd statup script is in:
/etc/rc.d/slapd
I didn't watch the thread, but did you look there ?

Antoine

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


Re: Fwd: Re: Loading balancing with more than one ISP.

2004-01-20 Thread Antoine Jacoutot
> > On Monday 19 January 2004 17:22, Tillman Hodgson wrote:
> > > You've pretty much wore out the "play with the config files" route.
> > > Let's try getting some data by finding out what is actually happening
> > > so we can figure out what's wrong. Can you post what the traffic on the
> > > other interface looks like when you're trying to go out from
> > > 192.168.0.0/24

All right people, it works :)
In fact, my only mistake was those rules (keep state):

pass in quick all keep state
pass out quick all keep state

My final working configuration:

# /etc/ipnat.rules
map tun1 192.168.0.0/24 -> 0/32 proxy port ftp ftp/tcp
map tun1 192.168.0.0/24 -> 0/32 portmap tcp/udp auto
map tun1 192.168.0.0/24 -> 0/32
map tun0 192.168.1.0/24 -> 0/32 proxy port ftp ftp/tcp
map tun0 192.168.1.0/24 -> 0/32 portmap tcp/udp auto
map tun0 192.168.1.0/24 -> 0/32

# /etc/ipf.rules
pass out quick on tun0 to tun1:@tun1_GW from 192.168.0.0/24 to any
pass in quick all
pass out quick all

Yeah :) I'm happy :)
All right, now I can work on filtering things...

Thanks a lot everybody.

Antoine

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


Re: Loading balancing with more than one ISP.

2004-01-19 Thread Antoine Jacoutot
On Monday 19 January 2004 16:21, Tillman Hodgson wrote:
> When you tcpdump both external interfaces, do the packets on
> the interface that the 1921.68.0.0/24 network is supposed to use look
> like you would expect?

Nope... there's nothing on the external interfaces from the 192.168.0.0/24 
network...
The thing is since there's NAT going on, I get a little lost...
Anyway, I'll keep on trying.
Thanks.

Antoine

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


Re: syslog question

2004-01-19 Thread Antoine Jacoutot
On Monday 19 January 2004 13:09, Didier WIROTH wrote:
> I've this entry in syslog.conf (which is default):
>
> *.err;kern.debug;auth.notice;mail.crit  /dev/console
>
> I would like also to log those messages in a file called for example:
> /var/log/console.critical (I want both, /dev/console and the log file!)
>
> How should I modify the above line to achive this?

For /etc/syslog.conf:

# uncomment this to log all writes to /dev/console to /var/log/console.log
# console.info/var/log/console.log

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


Re: rpc.lockd segfault

2004-01-19 Thread Antoine Jacoutot
Selon Dan Nelson <[EMAIL PROTECTED]>:
> > > install -s -o root -g wheel -m 555   rpc.lockd /usr/sbin
> >   ^^
> > 
> > This strips the debugging symbols.  Run gdb against the version of the
> > binary in the obj/ directory.

Allright, so I rebuilt rpc.lockd with: "-g" and copy the binary to
/usr/sbin/rpc.lockd (without stripping it).
I can't attache gdb to it because rpc.lockd wouldn't work for clients.
So I analysed to core file again and didn't get much info:

Core was generated by `rpc.lockd'.
Program terminated with signal 11, Segmentation fault.
#0  0x0804dd2f in ?? ()
(gdb) quit

Any idea ?
Thanks all for your help.
Oh, by the way, it does not core dump right away, it does sometimes (from 30
minutes to 12 hours).
Regards,

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


Re: Re: Loading balancing with more than one ISP.

2004-01-19 Thread Antoine Jacoutot
On Sunday 18 January 2004 10:36, Antoine Jacoutot wrote:
> ipfw add fwd netconnexion1_gw ip from DMZ/netmask to any
> ipfw add fwd netconnexion2_gw ip from LAN/netmask to any

Allright people.
So I'm still trying to make my setup working (using IPFILTER).
Thanks for the help you gave, I finally ended up to the next configuration:

tun0: 1.2.3.4 --> 111.222.333.444 netmask 0x
tun1: 5.6.7.8 --> 555.666.777.888 netmask 0x

# /etc/ipf.rules
pass out quick on tun0 to tun1:555.666.777.888 from 192.168.0.0/24 to any
pass out quick on tun1 to tun0:111.222.333.444 from 192.168.1.0/24 to any
pass in quick all keep state
pass out quick all keep state

# /etc/ipnat.rules
map tun1 192.168.0.0/24 -> 5.6.7.8/32
map tun0 192.168.1.0/24 -> 1.2.3.4/32

Now, it does NOT work...
192.168.1.0 --> Internet works with no problem (tun0 being the default route 
on the FreeBSD gateway)
192.168.0.0 --> Internet doesn't work :(

What did I miss ?
From what I see, I can't find any mistakes... although there must be one.

Antoine

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


Re: rpc.lockd segfault

2004-01-18 Thread Antoine Jacoutot
On Sunday 18 January 2004 14:59, Gilad Rom wrote:
> install -s uses strip(1), so all your debugging symbols are erased.
> the original binary left in-place  should have debugging symbols.

Thanks you all, it seems to be ok now.
I just have to wait for rpc.lockd to core dump again so I could get more 
information on what's going on.
I'll let you know.

Antoine

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


Re: rpc.lockd segfault

2004-01-18 Thread Antoine Jacoutot
On Saturday 17 January 2004 23:01, Kris Kennaway wrote:
> Unfortunately that doesn't give any information.  You'll need to
> recompile rpc.lockd with GDB debugging symbols (add -ggdb to CFLAGS).
> See the developer's handbook on the website for more information about
> debugging program failures with gdb (specifically, how to obtain a
> useful backtrace).

Well, I recompiled rpc.lockd using -ggdb and -g, but when I launch the 
following command:
$ gdb /usr/sbin/rpc.lockd
... I get:

GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols 
found)...

How come no debugging symbols are found ?

Here is how I compiled rpc.lockd
( CFLAGS= -g -ggdb -O -pipe ):
$ rm -Rf /usr/obj/*
$ cd /usr/src/usr.sbin/rpc.lockd
$ make clean && make obj && make depend && make all install

rm -f nlm_prot_svc.c nlm_prot.h test rpc.lockd kern.o nlm_prot_svc.o lockd.o 
lock_proc.o lockd_lock.o rpc.lockd.8.gz rpc.lockd.8.cat.gz
/usr/obj/usr/src/usr.sbin/rpc.lockd created for /usr/src/usr.sbin/rpc.lockd
rpcgen -L -C -m -o nlm_prot_svc.c /usr/include/rpcsvc/nlm_prot.x
rm -f .depend
mkdep -f .depend -a-I. 
-I/usr/include/rpcsvc  /usr/src/usr.sbin/rpc.lockd/kern.c 
nlm_prot_svc.c /usr/src/usr.sbin/rpc.lockd/lockd.c 
/usr/src/usr.sbin/rpc.lockd/lock_proc.c /usr/src/usr.sbin/rpc.lockd/lockd_lock.c
echo rpc.lockd: /usr/lib/libc.a /usr/lib/librpcsvc.a /usr/lib/libutil.a 
>> .depend
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  
-c /usr/src/usr.sbin/rpc.lockd/kern.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  -c 
nlm_prot_svc.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  
-c /usr/src/usr.sbin/rpc.lockd/lockd.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  
-c /usr/src/usr.sbin/rpc.lockd/lock_proc.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  
-c /usr/src/usr.sbin/rpc.lockd/lockd_lock.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc   -o rpc.lockd 
kern.o nlm_prot_svc.o lockd.o lock_proc.o lockd_lock.o -lrpcsvc -lutil
gzip -cn /usr/src/usr.sbin/rpc.lockd/rpc.lockd.8 > rpc.lockd.8.gz
install -s -o root -g wheel -m 555   rpc.lockd /usr/sbin
install -o root -g wheel -m 444 rpc.lockd.8.gz  /usr/share/man/man8
/usr/share/man/man8/lockd.8.gz -> /usr/share/man/man8/rpc.lockd.8.gz

Thanks a lot for your help.

Antoine

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


Re: Loading balancing with more than one ISP.

2004-01-18 Thread Antoine Jacoutot
On Sunday 18 January 2004 10:54, Chris Knipe wrote:
> I have a service set up, some.host IN A A.A.A.x (i.e. in network A and
> gateway A).  Now, the moment some one from network B connects to the
> service I've setup on network A, the FreeBSD Box will route the reply
> packets out on network B (because of the client's address) and hence, it
> follows a invalid networ path and the connection fails.  The same will also
> happen when someone from Network A tries to connect to a IP on Network

Hum, you're right...
Let me try this also on monday, I'll give you some feedback about how it goes.

Antoine

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


Re: Loading balancing with more than one ISP.

2004-01-18 Thread Antoine Jacoutot
On Sunday 18 January 2004 06:10, Dinesh Nair wrote:
> what i do today is i set the default route to the ISP i am more convinced
> off, with static routes of certain large CIDR address blocks going out to
> the other ISP. i decided on those large blocks after checking the global
> route tables, AS PATH diagrams and experience of link quality. you can do
> this by using tools such as the Looking Glass servers, RouteViews.Org and
> even Netlantis.org for your situation. i'm not running routed,
> zebra/bgpd/ospfd on this at all, since it's all static routes and i can't
> find an ISP ospf/bgp router willing to exchange routes with me.

Same for me...
Anyway, thanks for the explanation :)
I really appreciated.

Antoine

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


Re: Loading balancing with more than one ISP.

2004-01-18 Thread Antoine Jacoutot
On Sunday 18 January 2004 06:15, Dinesh Nair wrote:
> you can do this with IPFW's fwd rulesets.
>
> ipfw add fwd netconnexion1_gw ip from DMZ/netmask to any
> ipfw add fwd netconnexion2_gw ip from LAN/netmask to any

Well, somehow, this never worked for me yet :(
But well, I'll try again on monday :)
Thanks.

Antoine

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


Re: rpc.lockd segfault

2004-01-17 Thread Antoine Jacoutot
On Saturday 17 January 2004 13:38, Antoine Jacoutot wrote:
> I'm having a problem under FreeBSD-5.2-RELEASE.
> I mount my users homedir under NFS and need rpc.lockd.
> Unfortunately, and with no reason nor log, rpc.lockd regularly core dump...
> Any idea where I should start looking.

Here is more information about my problem, using gdb on thecore file:

GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd".
(gdb) core rpc.lockd.core
Core was generated by `rpc.lockd'.
Program terminated with signal 11, Segmentation fault.
#0  0x0804dd2f in ?? ()

I really need help on this issue.
Thanks.

Antoine

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


rpc.lockd segfault

2004-01-17 Thread Antoine Jacoutot
Hi,

I'm having a problem under FreeBSD-5.2-RELEASE.
I mount my users homedir under NFS and need rpc.lockd.
Unfortunately, and with no reason nor log, rpc.lockd regularly core dump...
Any idea where I should start looking.
Thanks.

Antoine

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


Re: Samba 3.x.x on FreeBSD 4.9

2004-01-15 Thread Antoine Jacoutot
On Thursday 15 January 2004 23:18, Tim Aslat wrote:
> I realise this is a maintainer issu, however I would like some
> indication of wether it's a localised problem or if it's common enough
> that something needs to be done about it.

This is how I install samba-devel on my 5-2 boxes without anyu problem:

env CONFIGURE_ARGS=--with-ldap env 
CONFIGURE_ENV="CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib" make 
-DWITHOUT_CUPS -DWITH_QUOTAS -DWITH_MSDFS -DWITH_ACL_SUPPORT -DWITH_LIBICONV 
install clean


Antoine

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


Re: Loading balancing with more than one ISP.

2004-01-15 Thread Antoine Jacoutot
On Thursday 15 January 2004 16:41, Dirk Meyer wrote:
> Thats easy on your router:
> #!/bin/sh
> gateway1="10.10.10.1"
> gateway2="10.10.10.2"
> dmz="10.10.20.0/24"
> lan="10.10.30.0/24"
> ipfw add fwd ${gateway2} ip from ${dmz} to any
> ipfw add fwd ${gateway1} ip from ${lan} to any

Thanks... but the thing is that I already tried this, but I have dynamic IPs 
and I need NAT...
I just sent a new mail to the list, if you can check it out, my configuration 
is explained.

Regards,

Antoine

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


source routing and dynamic @ip

2004-01-15 Thread Antoine Jacoutot
Hi :)

Allright, so, I've been trying to build a routing setup for some weeks now, 
and after looking everywhere and asking for help, I still cannot find the 
answer.
Here is what I want to do: source routing to 2 internet connections. 
Basically, I want net1 to go on the Internet using gateway connection1 and 
net2 to go on the internet using gateway connection2.
You have to know that both internet connections have dynamic IPs and I need 
NAT on both.
So far, these are my not working config files (defaut gateway is 
ip1/connection1).
em0 = inside interface
tun0 = pppoe DSL connection1 (default route)
tun1 = pppoe DSL connection2

--> /etc/ipfw.conf

#!/bin/sh
fwcmd="/sbin/ipfw -q"
ip1=`/sbin/ifconfig tun0 | /usr/bin/awk '/inet / { print $2 }'`
ip2=`/sbin/ifconfig tun1 | /usr/bin/awk '/inet / { print $2 }'`
lan1=192.168.0.0/24
lan2=192.168.1.0/24
${fwcmd} -f flush
${fwcmd} add 100 fwd $ip2 all from $lan2 to any out recv em0 xmit tun0
${fwcmd} add 200 divert 8669 all from $lan2 to any via tun1
${fwcmd} add 300 divert 8668 all from any to any via tun0
${fwcmd} add 400 allow all from any to any

--> /etc/natd_tun0.conf

interface tun0
port 8668
log_denied yes
log_facility security
use_sockets yes
same_ports yes
unregistered_only yes
punch_fw 1:1
dynamic yes

--> /etc/natd_tun1.conf

interface tun1
port 8669
log_denied yes
log_facility security
use_sockets yes
same_ports yes
unregistered_only yes
punch_fw 1:1
dynamic yes

I am really really looking for help here. If you know how to make such a setup 
working, I would appreciate a hand.
Thanks in advance.
Regards,

Antoine

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


Re: Loading balancing with more than one ISP.

2004-01-14 Thread Antoine Jacoutot
On Wednesday 14 January 2004 21:42, Tillman Hodgson wrote:
> If you're using IPFilter, you might be interested in the HOWTO:
>
>   http://www.obfuscation.org/ipf/ipf-howto.html
>
> The section on the "to" keyword is unfortunately very brief.

Yes I already checked this and as you said, it was poor concerning my issue.
Thanks.

Antoine

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


Re: Loading balancing with more than one ISP.

2004-01-14 Thread Antoine Jacoutot
On Wednesday 14 January 2004 19:50, Tillman Hodgson wrote:
> On FreeBSD, source-based routing is done with the IPFW 'fwd' command (or
> the IPFilter 'pass out quick on  to ' syntax) rather that
> using the `route` command. I'm doing that myself (with IPFilter) and it
> works well. It's confusing to set up initially because you have to take
> into account the interaction between normal routing and firewall-based
> source routing. If you're also NAT'ing and using dynamic IPs
> understanding how it all can be made to work is an enlightening
> experience ;-)

Great :)
This is fantastic, this is exactly what I need :)
Now, I have to figure out out do to this for real using ipfilter.
I have a 1 connexion with NAT+dyn IP and another one that's fixed.
I'm impatient to test this.
Thanks a lot !

Antoine

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


Re: Loading balancing with more than one ISP.

2004-01-14 Thread Antoine Jacoutot
On Wednesday 14 January 2004 17:30, Tillman Hodgson wrote:
> I'm a heavy Zebra (migrating to Quagga) user. Using dynamic routing is
> very handy, but it won't solve the problem of balancing load across two
> connections.

Thanks for the feedback :)

> So you can't round-robin between two default gateways. You /can/,
> however, send traffic for different destinations out of different links.
> For example, I send my nightly CVSup traffic and other automated
> downloads out of a regular ADSL link in order to prevent swamping my
> main link.

What I'm hoping to do is find a way to route all paquets coming:
- from DMZ to internet, using NET connexion1
- from LAN to internet, using NET connection2

To be more understandable, something like this:
route add from DMZ defaut em0
route add from LAN defaut em1
--> I know it is not a real command line, it's just to make things clearer.

> If your upstream providers support dynamic routing protocols, then you
> can get that destination information automatically. But that's not the
> same as load balancing, it's best-path selection.

And if it doesn't ?

Anyway thanks a lot for answering.
Regards,

Antoine

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


Re: Loading balancing with more than one ISP.

2004-01-14 Thread Antoine Jacoutot
On Wednesday 14 January 2004 17:00, Ruben de Groot wrote:
> I'm not entirely sure (never used it myself), but I think you can use
> routed(8), depending on the way you connect to your ISPs.

I have one ethernet <--> router and one ethernet <--> dsl modem connections to 
connect to my ISPs.
As you said, you're not sure about routed... Actually, I did not find anyone 
who actually make this configuration worked, everyone tells me that this 
might or might not work.
Anyway, I'm not looking for an howto nor a tutorial, I just want to know if 
there's a software that's able to do this, and then I'll learn it :)

Antoine

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


Re: Loading balancing with more than one ISP.

2004-01-14 Thread Antoine Jacoutot
On Wednesday 14 January 2004 15:46, Simon Gray wrote:
> Easiest way I would of thought would be to use BGP or OSPF under Zebra
> (/usr/ports/net/zebra)(www.zebra.org)
>
> I'm no expert, but the majority if ISPs tend to use BGP and/or OSPF.

Yes, but one said that for BGP you had to work directly ith your ISP and get 
its aggrement and all.
The thing is I need this using 2 differents ISPs.

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


Re: Loading balancing with more than one ISP.

2004-01-14 Thread Antoine Jacoutot
On Wednesday 14 January 2004 14:42, budsz wrote:
> 1. With FreeBSD can do like this?, example with "route(8)"?
> 2. Does FreeBSD support more than 1 as "defaut gateway" in routing table??
> 3. I found some options in /etc/default/rc.conf like "static_routes=",
>if I use "static_routes=" _WITHOUT_ defaut gateway (defaultrouter= in
>/etc/rc.conf) it's possible?
> 4. In that URL using "weight" as prority balancing connection, so in
>FreeBSD how do this?

I've been looking for answers on this for a while but I found nothing nor 
no-one who could tell me if and how it is possible.
Let the list know if you find anything interesting.

Antoine

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


ntpd does not work under 5.2

2004-01-14 Thread Antoine Jacoutot
Hi :)

I'm trying to configure ntpd under 5.2-RELEASE, but I think there might be a 
bug or something. My configuration used to work under 4.x but now I get 
errors.

First:
$ /etc/rc.d/ntpd start
ps: kvm_getprocs: No such process
Starting ntpd.
--> I have no idea what it means

Second (after a few days):
$ cat /var/db/ntp.drift
0.000
--> it obviously does not sync; with ntpdate, it works though

Besides, my box looses something like 30 minutes per day !!!

Here is my /etc/ntp.conf:

server ntp.univ-lyon1.fr prefer
server clepsydra.dec.com
server ntp0.nl.net
driftfile /var/db/ntp.drift
restrict default ignore
restrict 127.0.0.1
restrict 192.168.0.0 mask 255.255.255.0 notrust nomodify notrap

ntpd process:
/usr/sbin/ntpd -p /var/run/ntpd.pid -f /var/db/ntpd.drift

If you have any ideas...
Thanks.
Regards,

Antoine

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


can't re-use a leaf (if_tun_debug)

2004-01-14 Thread Antoine Jacoutot
Hi :)

I just upgraded from 5.1-CURRENT to 5.2-RELEASE today, but I still have the 
same problem I was having before.
When booting the box, I get the following error:

module_register: module if_tun already exists!
Module if_tun failed to register: 17
can't re-use a leaf (if_tun_debug)!

It looks like FreeBSD wants to load the if_tun module but I already have 
"device tun" in my kernel config file.
I deleted /etc/rc.d/* then did a "mergemaster -i" but it did not change 
anything.

Do you have any idea how I could fix this ?
Thanks in advance.
Regards,

Antoine

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


Re: turn off FreeBSD 5.1 machine? completely?

2004-01-10 Thread Antoine Jacoutot
On Saturday 10 January 2004 14:23, hugle wrote:
> Hello all.
> How can I turn off machine completely?
> cause it waits for CTRL+D of root pass..

shutdown -p now

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


routing question

2004-01-09 Thread Antoine Jacoutot
Hello everybody :)

I have a routing question and was wondering if FreeBSD was able to do this.
I have 2 ISPs (so 2 connections).
Can I use only one FreeBSD box as a gateway to:
- route LAN --> INTERNET (using connection 1)
- route DMZ --> INTERNET (using connection 2)
- route LAN --> DMZ (simple routing through the gateway)
The gateway would have either one of the 2 connections as default gateway.
I do not need any kind of load-balance nor failover for now, just routing.

Thanks in advance.
Regards,

Antoine

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


fwbuilder segfault

2004-01-08 Thread Antoine Jacoutot
Hi :)

I wanted to know if anyone was experiencing problems with the fwbuilder port.
I cannot save any rule I created. As soon as I click on save, I get a 
segmentation error.
There's nothing more I can say unless I'm running the latest fwbuilder port 
under FreeBSD-5.2-RC2.
Let me know if there's anything I could try to debug this problem.

Thanks in advance.
Regards,

Antoine

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


Re: Can't find k3b setup program

2003-12-27 Thread Antoine Jacoutot
On Saturday 27 December 2003 19:15, Trey Sizemore wrote:
> I notice there is currently no 'slice' for the CD drives in my fstab
> (for example, mine is /dev/acd0 and not /dev/acd0c)

That is normal.
Here's mine (scsi drives) under 5.2-RC:

/dev/cd0/cdrom  cd9660  ro,noauto   0   0
/dev/cd1/cdrom1 cd9660  ro,noauto   0   0

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


Re: Can't find k3b setup program

2003-12-27 Thread Antoine Jacoutot
On Saturday 27 December 2003 18:31, Trey Sizemore wrote:
> If that's the case, any pointers on getting k3b setup correctly on my
> machine.  I have atapicam enabled in my kernel for my CD drives.

The port has a pkg-message file for it.

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


Re: Can't find k3b setup program

2003-12-27 Thread Antoine Jacoutot
On Saturday 27 December 2003 17:59, Trey Sizemore wrote:
> I have installed k3b from ports, but I can't find the k3b setup program
> to run so I can initialize the CD-RW and CD drives on my machine.
>
> If anyone is running k3b, could you tell me the location of the program?

I think there's none. k3bsetup is Linux only I guess.

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


Re: MRTG and SNMP

2003-12-21 Thread Antoine Jacoutot
On Monday 22 December 2003 02:20, shawn wrote:
>   I'm looking to get MRTG working to monitor the traffic and CPU of a
> server of mine..

Something like this should work:

Target[fxp0]: 1:[EMAIL PROTECTED]:
SetEnv[fxp0]: MRTG_INT_IP="xxx.xxx.xxx.xxx" MRTG_INT_DESCR="fxp0"
MaxBytes[fxp0]: 1250
Title[fxp0]: Lan
Options[fxp0]: nopercent,growright,noinfo
Kilo[fxp0]: 1024
Ylegend[fxp0]: octets/s
WithPeak[fxp0]: dwmy

Target[cpu]: .1.3.6.1.4.1.2021.11.9.0&.1.3.6.1.4.1.2021.11.10.0:[EMAIL PROTECTED]
MaxBytes[cpu]: 100
Title[cpu]: Cpu
Unscaled[cpu]: dwmy
YLegend[cpu]: % cpu (sys+user)
Options[cpu]: nopercent,growright,gauge,noinfo,nobanner

Antoine

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


Re: rdist to update some lines

2003-12-19 Thread Antoine Jacoutot
On Friday 19 December 2003 12:51, Gautam Gopalakrishnan wrote:
> My guess is that you could include a file in make.conf which is
> synced using rsync.

Hum, this sounds like an idea.
I'm going to check on this, thanks.

Antoine

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


rdist to update some lines

2003-12-19 Thread Antoine Jacoutot
Hi :)

I'm actually using rdist for centralized management of certain files 
(/etc/hosts, /etc/motd...).
Is there a way to use rdist (or any other tools alike) too update a file on a 
remote server instead of blindly copying the new file over ?
What I mean is, for exemple, I would like to share some lines in 
/etc/make.conf among my servers (but not the entire file), but all of them 
aren't the same so I do not want /etc/make.conf to be the exact same on all 
my boxes, only like 3 or 4 lines.
Is there a way to do this ?
Note that I already had a look at cfengine which does what I'm asking, but it 
is way too complicated/feature rich for my needs.

I would appreciate any inputs...
Thanks in advance.

Regards,

Antoine

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


Re: how to print a man page

2003-11-28 Thread Antoine Jacoutot
On Friday 28 November 2003 20:10, Ian Todd wrote:
> I have installed a local printer on /dev/lp0. I want to
> print a man page how do i do that? Will it also fit onto
> the page? i dont need to setup the size of my page?Thanks.

$ groff -Tps -man /path/to/man/page/man.1 | lpr -P PS-Printer

Antoine

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


Re: services bootup order

2003-11-27 Thread Antoine Jacoutot
Selon Jean-Baptiste Quenot <[EMAIL PROTECTED]>:
> > I know this  error appears because sendmail  starts before MIMEDefang,
> > so my question is: how can  I make MIMEDefang starts before sendmail ?
> > The MIMEDefang startup script is located under /usr/local/etc/rc.d
> 
> Make a symlink from /etc/rc.d/mimedefang.sh to
> /usr/local/etc/rc.d/mimedefang.sh, as sendmail is started from
> /etc/rc.d in FreeBSD 5.1.

Actually, I just tried this and it does not work.
Sendmail starts before MIMEDefang whatever I try...
Any idea ?

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


Re: poor NFS performance in 5.x

2003-11-27 Thread Antoine Jacoutot
On Thursday 27 November 2003 10:28, Kris Kennaway wrote:
> Try reading the basic documentation that comes with 5.2-BETA, for
> example the /usr/src/UPDATING file, which tells you clearly that
> performance is not expected to be good unless you disable the standard

I've been running CURRENT on test boxes for months, I know that and this is 
not the problem, I have my own compiled kernel without debugging options set.

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


poor NFS performance in 5.x

2003-11-27 Thread Antoine Jacoutot
Hi :)

I upgraded two boxes to FreeBSD-5.2-BETA a week ago and I noticed that NFS 
performance is very slow compared to 4.x-RELEASE.
Before, NFS transfers were between 10 and 12 MB/s and now I don't go past 7 
MB/s.
My exports/mount settings did not change and the hardware is obviously the 
same.
Any idea where I should start looking for resolving this ?
It is important since I'm planning on upgrading some servers in the futur and 
homedir are mounted via NFS.

Thanks in advance.

Antoine

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


Re: Ultra 2 SMP stop in probing devices during install

2003-11-27 Thread Antoine Jacoutot
On Thursday 27 November 2003 09:35, Jens Baedeker wrote:
> i'm pretty new with freebsd. Currently i run a couple of sparc20 with
> OpenBSD. But i want to
> give Freebsd 5.1 a try. Unfortunately i cant get this Ultra2 with 2 CPUs
> working. When boot with
> first install CDROM it recognises the 2 cpus during the bootprocess and
> start probing for devices.
>
> I can stop this probing but then i end up in the OBP prompt again.

I have no idea why this happens, but you could try to boot with acpi disabled.

Antoine

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


Re: services bootup order

2003-11-24 Thread Antoine Jacoutot
On Monday 24 November 2003 16:50, Jean-Baptiste Quenot wrote:
> Make a symlink from /etc/rc.d/mimedefang.sh to
> /usr/local/etc/rc.d/mimedefang.sh, as sendmail is started from
> /etc/rc.d in FreeBSD 5.1.

Wow, it was THAT simple :)
Thanks for the tip...

> You could also disable entirely sendmail, and start postfix in
> /usr/local/etc/rc.d, by making a link to /usr/local/sbin/postfix.  With
> sendmail, I don't think it's possible that way.

Yes but I use sendmail...

Regards.

Antoine

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


services bootup order

2003-11-24 Thread Antoine Jacoutot
Hi :)

When I startup my server, I get the following message:

kernel: WARNING: Xmimedefang: local socket name /var/spool/MIMEDefang/
mimedefang.sock missing

I know this error appears because sendmail starts before MIMEDefang, so my 
question is: how can I make MIMEDefang starts before sendmail ?
The MIMEDefang startup script is located under /usr/local/etc/rc.d

Thanks in advance.

Antoine

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


Re: hard drive bench

2003-11-23 Thread Antoine Jacoutot
On Monday 24 November 2003 00:01, Stefan A. Deutscher wrote:
>  check out bonnie from the ports tree and make sure the test files are
> at least the size of your RAM. Otherwise you'll be measuring the speed
> of the caching system, which is pretty fast on BSD.

Thanks a lot :)

Regards.

Antoine

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


hard drive bench

2003-11-23 Thread Antoine Jacoutot
Hi :)

Is there a hard drive speed measurement available for FreeBSD ?
I don't need anything fancy, just something like "hdparm -t" under Linux.

Thanks.

-- 
Antoine Jacoutot
[EMAIL PROTECTED]
http://www.lphp.org
PGP/GnuPG key: http://www.lphp.org/ressources/ajacoutot.asc

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


Re: tcp wrappers getaddrinfo

2003-11-22 Thread Antoine Jacoutot
Selon Lowell Gilbert <[EMAIL PROTECTED]>:
> Have you modified the rule at line 23 of /etc/hosts.allow?
> Normally, it's 
> ALL : ALL : allow
> which as far as I recall, never does any hostname lookups at all.

No, I never touched this line.
this is why I'm asking some help.
Thanks.

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


tcp wrappers getaddrinfo

2003-11-20 Thread Antoine Jacoutot
Hi :)

I get a lot of those warning messages in my logs.
Is there any way I could tell inetd / tcp wrappers to turn those off ?

inetd[93598]: warning: /etc/hosts.allow, line 23: can't verify hostname: 
getaddrinfo(.imaginet.fr, AF_INET) failed

I know what it means, the only thing I don't know how to achieve is to turn 
this off :)

Thanks in advance.

Antoine

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


kdeinit problem with LDAP users

2003-11-15 Thread Antoine Jacoutot
Hi !

I'm having a problem starting kde (with "exec startkde" in my .xinitrc).
The screen freezes waiting for something that does not seem to load.
I get the following error: kdeinit could't not start, please check your kde
installation.
Now, this happens for my users (homedir mounted with NFS) authenticated with
LDAP, but if I creat a local testuser on the box, kde works fine...
I configured pam.d/system,  pam.d/login ans pam.d/kde for LDAP authentication.
I can login fine, startx... anything but starting KDE.
I also completely rebuilt KDE... doesn't work better.

Any idea ?
Thanks in advance.

-- 
Antoine Jacoutot 
[EMAIL PROTECTED] 
http://www.lphp.org 
PGP/GnuPG key: http://www.lphp.org/ressources/ajacoutot.asc 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD +Samba +OpenLDAP as a Primary Domain controller

2003-11-06 Thread Antoine Jacoutot
Roland Wells wrote:
Any pointers, walk-throughs, warnings or the like would be greatly
appreciated. If you want to see more about our specific situation (which
we have titled "Set Us Free(BSD)", check out:
http://fftechcenter.org/content/articles/setusfreebsd.html
There don't see to be any major issue.
It looks like a lot of people are interested in the topic.
Basically, here is what I have working so far (in a minimal production 
environment of 30 people).

- FreeBSD-CURRENT with dynamic root
- LDAP Unix authentication vithe pam_ldap and nss_ldap --> with 
start_tls on for security
- Samba3 (from the samba-devel port patched for ldap support) PDC for 
Win NT/2k/XP stations; roaming profiles; group mappings; unix/windows 
password synchronisation... LDAP backend using samba3 schema
- UFS2 filesystem with ACLs enabled

I did not have any problem whatsoever yet, but I encourage people 
wanting to use this on a production intensive server to wait for 
5.2-RELEASE at the least.

Antoine

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


Re: NFS client mount options in CURRENT/5.1-

2003-11-06 Thread Antoine Jacoutot
Scott W wrote:

mount -tnfs -orw,rsize=8196,wsize=8196,bg,hard,intr,async sol:/export /mnt
nfs: -o rsize=: option not supported
Try "-r 8196 -w 8196" and have a look at man mount_nfs.

Antoine

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


Re: FreeBSD +Samba +OpenLDAP as a Primary Domain controller

2003-11-05 Thread Antoine Jacoutot
On Wednesday 05 November 2003 22:00, Jason Williams wrote:
> With that in mind, i'd like to use FreeBSD as my Primary Domain Controller.
> What I wanted to know is if anyone had any experiences using a similar
> setup? Are there any limitations with using FreeBSD as a PDC?

What kind of information do you need ?
I have a working 5-CURRENT FreeBSD Samba Domain Controller with LDAP TLS 
back-end for Unix and NT authentication.

Regards.

Antoine

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


Re: mountd/nfs export options

2003-11-04 Thread Antoine Jacoutot
Selon Nathan Kinkade <[EMAIL PROTECTED]>:
> Hmmm ... again, certainly this is an option that has crossed your mind
> already, but would it be impossible or impractical to move
> /exports/share2 to a diff filesystem, such that you could then export
> with different options.  If for some reason share1 and share2 must both

The thing is that I cannot move share1 or share2 away from this filesystem
because of different reasons... the main one would be money.

> /exports/share1 -maproot=nobody:nobody -network 192.168.0.0
> /diff/filesys/share2 -mapall=root:users -network 192.168.0.0

I thank you so much for trying to help me.
Unfortunately, I don't see any resolution to this problem but I'm not desperate,
I'm sure there's a way to do what I need.

One thing I though about:
is it possible to force every writes under /exports/share2 to be GID=users ? I'm
not an expert when it comes to setgid, but maybe I should have a look at it.
Then I could just use:
/exports/share1 /exports/share2 -maproot=nobody:nobody -network 192.168.0.0

And every created files to /exports/share2 would be GID=users... I guess... ?

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


  1   2   3   >