Re: Pan-0.139 won't compile

2013-03-12 Thread Paul van der Zwan

On 12 Mar 2013, at 0:41 , Walter Hurry walterhu...@gmail.com wrote:

 Trying to upgrade /usr/ports/news/pan I get this:
 ___
 mime-utils.cc: In function 'char* pan::__g_mime_iconv_strndup(void*, 
 const char*, size_t, const char*)':
 mime-utils.cc:80: error: invalid conversion from 'char**' to 'const 
 char**'
 mime-utils.cc:80: error:   initializing argument 2 of 'size_t libiconv
 (void*, const char**, size_t*, char**, size_t*)'
 gmake[3]: *** [mime-utils.o] Error 1
 gmake[3]: Leaving directory `/usr/ports/news/pan/work/pan-0.139/pan/
 usenet-utils'
 gmake[2]: *** [all-recursive] Error 1
 gmake[2]: Leaving directory `/usr/ports/news/pan/work/pan-0.139/pan'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/ports/news/pan/work/pan-0.139'
 gmake: *** [all] Error 2
 *** [do-build] Error code 1
 
 Stop in /usr/ports/news/pan.
 *** [build] Error code 1
 ___
 
 What should I do next?

I ran into the same problem. I tried removing the cast on line 80 and now it 
compiles ( and seems to work, no crashes so far.)

Paul


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


Postmap Issue

2011-09-21 Thread Van Der Meulen, Mark
Hi All,

Has anyone seen this error when running postmap on FreeBSD 8.X?

mail# postmap /usr/local/etc/postfix/transport

/libexec/ld-elf.so.1: Shared object libmysqlclient.so.18 not found,
required by postmap

If not, does anyone have some advice on better places to look? Google
search has been fruitless.

 

P.S. mySQL is installed, and postfix was installed with mySQL support.

 

Thanks!

 

Mark

***
Travelex - www.travelex.com

Travelex Outsourcing Pty Limited [Currency Select businesss] is a limited 
company registered in Australia with company number: 127 747 586.

Information in this email including any attachment ('email') is confidential, 
may be privileged and is intended solely for the addressee. Unauthorised 
recipients are requested to preserve the confidentiality of this email, advise 
the sender immediately of any error in transmission, and then delete the email
from the recipient's mailbox without making copies. Any disclosure, copying, 
distribution or action taken, or omitted to be taken, in reliance upon the 
contents of this email by unauthorised recipients is prohibited and may be
unlawful.

Please note that no contracts or commitments may be concluded on behalf of 
Travelex Outsourcing Pty Limited [Currency Select businesss] or its groups of 
companies ('Travelex') by means of email, and no statement or representation 
made in this email is binding on 
behalf of Travelex.

DISCLAIMER: Whilst this message has been scanned for viruses, Travelex 
disclaims any responsibility or liability for viruses contained therein. It is 
therefore recommended that all emails should be scanned for viruses.
***
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Apache 2.2 + PHP5 + SuExec + (fast-cgi or mod_fcgid)

2011-06-29 Thread Van Der Meulen, Mark
I am under the impression that suPHP is the better/more secure way of
running PHP with Apache. In addition you don't need suEXEC to do so. Am
I incorrect in these assumptions? What are the benefits of running PHP
as a CGI(if you don't mind me asking) ?

Mark

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Grant Peel
Sent: Wednesday, 29 June 2011 2:13 PM
To: freebsd-questions@freebsd.org
Subject: Apache 2.2 + PHP5 + SuExec + (fast-cgi or mod_fcgid)

Hello Everyone,

I am researching how to run PHP as CGI with Apache's Suexec module. Up
to
this point we have been using PHP as an Apache mod, but are looking to
move
to the more secure solution.

I am not sure this is exactly the right list top post to so if anyone
knows
a better one please let me know :-)

I am using FreeBSD (8) as the OS, Apache 2.2, PHP5 with several
extensions
installed.

What I am looking for is to have PHP run as a CGI wrapped with suexec,
and
to have the fastcgi module, or, mod_fcgid. I have never set this up
before
so if anyone knows of a usefull 'how-to' that would be great. I have
been
reading through
http://www.cyberciti.biz/faq/freebsd-apache22-fastcgi-php-configuration/
and
it seems to have some good hints.

Of course, once we get this all figured out, I will post a complete step
by
set here.

TIA,

-Grant 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org
***
Travelex - www.travelex.com

Travelex Outsourcing Pty Limited [Currency Select businesss] is a limited 
company registered in Australia with company number: 127 747 586.

Information in this email including any attachment ('email') is confidential, 
may be privileged and is intended solely for the addressee. Unauthorised 
recipients are requested to preserve the confidentiality of this email, advise 
the sender immediately of any error in transmission, and then delete the email
from the recipient's mailbox without making copies. Any disclosure, copying, 
distribution or action taken, or omitted to be taken, in reliance upon the 
contents of this email by unauthorised recipients is prohibited and may be
unlawful.

Please note that no contracts or commitments may be concluded on behalf of 
Travelex Outsourcing Pty Limited [Currency Select businesss] or its groups of 
companies ('Travelex') by means of email, and no statement or representation 
made in this email is binding on 
behalf of Travelex.

DISCLAIMER: Whilst this message has been scanned for viruses, Travelex 
disclaims any responsibility or liability for viruses contained therein. It is 
therefore recommended that all emails should be scanned for viruses.
***

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


Re: Generating a random hostname

2010-03-17 Thread Peter van der Linden

On Mar 17, 2010, at 3:50 PM, Roland Smith wrote:

 openssl rand -base64 18| sed 's|[^[:alpha:]]||g'

That works very well.   My first run included an impressive anglo-saxon 
observation.   To diminish agitating the night shift, I suppose you could 
filter out all the vowels.

Peter, emailing from what was nearly hostname   
wpFUCKOKSFRMIQyCfNBeU___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


pgpsendmail instructions

2009-08-02 Thread Familie van der Schaft
LS,

I am trying to get pgpsenmail working but i can't  figure out what to do.
For example which instance of sendmail can/must  be replaced:

/usr/libexec/sendmail (which is symbolic link)
/usr/sbin/sendmail

in both cases, i get the following message:

/etc/rc.d ./sendmail  restart
sendmail not running? (check /var/run/sendmail.pid).
Starting sendmail.
SENDMAIL refers back to PGPsendmail!
Someone didn't read the installation notes...
/etc/rc.d sendmail forcestart
SENDMAIL refers back to PGPsendmail!
Someone didn't read the installation notes...

But where can i find these instructions (notes).
The man-page (pgpsendmail(8)) does not give any extra info.
Can anybody help me?

Danny.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD HA file cluster possibilities

2009-07-14 Thread Rick van der Zwet

RIck van der Zwet wrote:
I been (re)searching and reading what the options are with regards to 
H(igh) A(vailablility) file storage using FreeBSD, but cannot yet find a 
proper working solution. Any advice welcome!


I like to be able to mirror a full identical disk between two server. So 
in case of hardware failure of server A (Master). Server B (Slave) 
immediately takes over, without any loss of data. The Network 
configuration is easy using ucarp/vppr. But the file system is the hard 
part. Paths I have investigated:


a) ggate  gmirror: Export system on Server B to Server A. Use gmirror 
on Server A to keep identical disks. When the ggated on Server B 
actually goes down, the whole setup freezes, until the ggated is back up 
again. Second on network delays gmirror looses, having to sync all over 
again. Leaving the machine at risk.


The freezing has come to a end, with the patch attached, but is the
patch the right way to go (as C coding is not my strongest point)?

To test:
  # Create backup filesystem  export it
  serverB$ truncate -s100m /root/ha-slave.img
  serverB$ echo 192.168.33.41 RW /root/ha-slave.img  /etc/gg.exports
  serverB$ ggated

  # Apply attached patch
  serverA$ cd /usr/src/sbin/ggate/ggatec
  serverA$ patch  %%ATTACHED_FILE%%
  serverA$ make clean install
  # Local file image
  serverA$ truncate -s 100m /root/ha-master.img
  serverA$ mdconfig -t vnode -f /root/ha-master.img
  #Remote file image
  serverA$ ggatec create  192.168.33.42 /root/ha-slave.img
  # Mirror building
  serverA$ gmirror label hamirror ggate0 md0
  serverA$ newfs /dev/mirror/hamirror
  serverA$ mount /dev/mirror/hamirror /mnt

Note: if you have _not_ applied the patch and you kill ggated on
machineB you will notice machineA freeze when trying to write to
something on /mnt or call `gmirror status'. Same applies if you kill 
ggatec on machineA without patch.


Using net/ucarp I detect failures on serverA and terminate ggated and
mount the image on serverB.
/Rick

--- ggatec.c.orig	2009-07-09 18:27:12.0 +0200
+++ ggatec.c	2009-07-14 10:15:34.0 +0200
@@ -156,7 +156,7 @@
 			break;
 		if (data != sizeof(hdr)) {
 			g_gate_log(LOG_ERR, Lost connection 1.);
-			reconnect = 1;
+			reconnect = 0;
 			pthread_kill(recvtd, SIGUSR1);
 			break;
 		}
@@ -168,7 +168,7 @@
 break;
 			if (data != ggio.gctl_length) {
 g_gate_log(LOG_ERR, Lost connection 2 (%zd != %zd)., data, (ssize_t)ggio.gctl_length);
-reconnect = 1;
+reconnect = 0;
 pthread_kill(recvtd, SIGUSR1);
 break;
 			}
@@ -177,6 +177,7 @@
 		}
 	}
 	g_gate_log(LOG_DEBUG, %s: Died., __func__);
+	g_gate_destroy(unit, 1);
 	return (NULL);
 }
 
@@ -203,7 +204,7 @@
 			if (data == -1  errno == EAGAIN)
 continue;
 			g_gate_log(LOG_ERR, Lost connection 3.);
-			reconnect = 1;
+			reconnect = 0;
 			pthread_kill(sendtd, SIGUSR1);
 			break;
 		}
@@ -223,7 +224,7 @@
 			g_gate_log(LOG_DEBUG, Received data packet.);
 			if (data != ggio.gctl_length) {
 g_gate_log(LOG_ERR, Lost connection 4.);
-reconnect = 1;
+reconnect = 0;
 pthread_kill(sendtd, SIGUSR1);
 break;
 			}
@@ -235,6 +236,7 @@
 		g_gate_ioctl(G_GATE_CMD_DONE, ggio);
 	}
 	g_gate_log(LOG_DEBUG, %s: Died., __func__);
+	g_gate_destroy(unit, 1);
 	pthread_exit(NULL);
 }
 
@@ -410,8 +412,7 @@
 static void
 signop(int sig __unused)
 {
-
-	/* Do nothing. */
+	g_gate_destroy(unit,1);
 }
 
 static void
@@ -420,6 +421,7 @@
 	struct g_gate_ctl_cancel ggioc;
 
 	signal(SIGUSR1, signop);
+	signal(SIGINT, signop);
 	for (;;) {
 		g_gatec_start();
 		g_gate_log(LOG_NOTICE, Disconnected [%s %s]. Connecting...,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

FreeBSD HA file cluster possibilities

2009-07-07 Thread RIck van der Zwet
I been (re)searching and reading what the options are with regards to 
H(igh) A(vailablility) file storage using FreeBSD, but cannot yet find a 
proper working solution. Any advice welcome!


I like to be able to mirror a full identical disk between two server. So 
in case of hardware failure of server A (Master). Server B (Slave) 
immediately takes over, without any loss of data. The Network 
configuration is easy using ucarp/vppr. But the file system is the hard 
part. Paths I have investigated:


a) ggate  gmirror: Export system on Server B to Server A. Use gmirror 
on Server A to keep identical disks. When the ggated on Server B 
actually goes down, the whole setup freezes, until the ggated is back up 
again. Second on network delays gmirror looses, having to sync all over 
again. Leaving the machine at risk.


b) SAN/iSCSI targets/gmirror: [Brainstorm] Have 2 iSCSI storage boxes 
namely C and D. Have Server A run gmirror on the C and D. And let B 
pickup on failure? Does this work?


c) ssync/rsync: This does not suit the needs as it does not provide 
realtime mirroring. Causing data-loss on failure. As rsync/ssync does 
not run in realtime.


d) drbd: http://www.drbd.org/ - Does anyone has a working (alternative) 
setup on FreeBSD?



Any other solution/setup I am missing? Using external hardware/software 
is all-right as long I am able to connect to FreeBSD with it and it 
leaves no single point of failure.


Thanks in advance!
/Rick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Checksum mismatches when csup-ing.

2009-06-23 Thread Paul van der Zwan


On 23 jun 2009, at 05:55, Frank Shute wrote:


On Mon, Jun 22, 2009 at 07:17:40PM +0200, Paul van der Zwan wrote:


The last few days I see a dozens of Checksum mismatches when csup-ing
src-all from cvsup.freebsd.org.
No errors appear on ports-all.
Is there a problem with the cvs repository ?


Most people will use a local mirror as listed in the handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

Check and see if you have the same problem with one of the mirror
sites.



I have tried both cvsup.freebsd.org and cvsup.nl.freebsd.org with both
csup and cvsup and I get checksum mismatches on all attempts.


If you've got the same problem, then your cvsup config file for src
could be up the creek.

I have deleted /usr/sup/src-all/* bun that did not fix the checksum  
errors,

just gave me a lot of SetAttr messages the first run.
If you mean my c{v}sup config file, that hasn't been changed in years  
and
how would an error in that file cause errors on src-all but none on  
ports-all ?




If the problem disappears, then the server is up the creek.

I am stumped, as far as I can tell it's no local config problem, but  
what's causing it?

I have no idea..
Am I the only one seeing these errors ?

Paul



The fact that all errors are on src-all and none on ports-all make me
suspect it is not a local problem on
my system as both end up on the same filesystem here.

Paul

PS I am not on this list so please reply directly as well



Regards,

--

Frank


Contact info: http://www.shute.org.uk/misc/contact.html


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


Re: Checksum mismatches when csup-ing.

2009-06-23 Thread Paul van der Zwan


On 23 jun 2009, at 15:53, Erik Trulsson wrote:


On Tue, Jun 23, 2009 at 02:43:36PM +0200, Paul van der Zwan wrote:


On 23 jun 2009, at 05:55, Frank Shute wrote:


On Mon, Jun 22, 2009 at 07:17:40PM +0200, Paul van der Zwan wrote:


The last few days I see a dozens of Checksum mismatches when csup- 
ing

src-all from cvsup.freebsd.org.
No errors appear on ports-all.
Is there a problem with the cvs repository ?


Most people will use a local mirror as listed in the handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

Check and see if you have the same problem with one of the mirror
sites.



I have tried both cvsup.freebsd.org and cvsup.nl.freebsd.org with  
both

csup and cvsup and I get checksum mismatches on all attempts.


If you've got the same problem, then your cvsup config file for src
could be up the creek.


I have deleted /usr/sup/src-all/* bun that did not fix the checksum
errors,
just gave me a lot of SetAttr messages the first run.
If you mean my c{v}sup config file, that hasn't been changed in years
and
how would an error in that file cause errors on src-all but none on
ports-all ?



If the problem disappears, then the server is up the creek.


I am stumped, as far as I can tell it's no local config problem, but
what's causing it?
I have no idea..
Am I the only one seeing these errors ?



Nope, I am seeing exactly the same thing. (And I am using different  
mirrors

than you are.)
Since I too am only seeing this for src-all and not ports-all I
suspect it may be a problem with the svn-cvs export. (src-all is  
nowadays
maintained in a subversion repository and the changes automatically  
exported
to the cvs repository, while ports-all is still maintained directly  
in the

cvs repository.)


Well at least I am not the only one seeing these errors. I think we can
rule out a local problem and will have to wait for someone to fix this.


Note: I use cvsup to maintain a local copy of the cvs repository.
It is not clear if you too is doing that, or if you use cvsup to  
check out

just the latest version.




I use cvsup/csup to mirror the cvs repo and I do a local cvs checkout.
But until these errors are fixed I will not be doing any checkouts and  
build

for src. I don't think I can trust the repository...


Paul



Paul



The fact that all errors are on src-all and none on ports-all  
make me

suspect it is not a local problem on
my system as both end up on the same filesystem here.

Paul

PS I am not on this list so please reply directly as well





--
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se


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


Checksum mismatches when csup-ing.

2009-06-22 Thread Paul van der Zwan
The last few days I see a dozens of Checksum mismatches when csup-ing  
src-all from cvsup.freebsd.org.

No errors appear on ports-all.
Is there a problem with the cvs repository ?

The fact that all errors are on src-all and none on ports-all make me  
suspect it is not a local problem on

my system as both end up on the same filesystem here.

Paul

PS I am not on this list so please reply directly as well


--
For a successful technology, reality must take precedence over
public relations, for nature cannot be fooled.
Richard P. Feynman


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


cyrus-imapd2.3 in jail

2009-06-06 Thread Familie van der Schaft
Hi there,

I got cyrus-imapd working outside a jail.
But when i want to install it within a jail it won't  start.
What are the extra steps, to get cyrus-imapd working inside a jail. Is there a 
simple howto available?

greetings,

Danny
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cyrus-imapd2.3 in jail

2009-06-06 Thread Familie van der Schaft
Erik,

I recieve the following message:

/usr/local/cyrus/bin ./master -D
No log handling enabled - turning on stderr logging
init_kmem: kvm_openfiles failed: /dev/mem: No such file or directory

I noticed that it is the same message coming from:

/usr/local/cyrus/bin netstat -rn
netstat: kvm not available: /dev/mem: No such file or directory

also within the jail.
There are some sysctl options for the jail, maybe i must turn off or on an
option?
I have the following sysctl options:

security.jail.jailed: 1
security.jail.jail_max_af_ips: 255
security.jail.mount_allowed: 0
security.jail.chflags_allowed: 0
security.jail.allow_raw_sockets: 1
security.jail.enforce_statfs: 2
security.jail.sysvipc_allowed: 0
security.jail.socket_unixiproute_only: 1
security.jail.set_hostname_allowed: 1

I changed the raw_sockets from 0 - 1 (ping and tracroute).
Any ideas?

,Danny

- Original Message - 
From: Erik Norgaard norga...@locolomo.org
To: Familie van der Schaft fam.vandersch...@kpnplanet.nl
Cc: freebsd-questions@freebsd.org
Sent: Saturday, June 06, 2009 11:02 AM
Subject: Re: cyrus-imapd2.3 in jail


 Familie van der Schaft wrote:
  Hi there,
 
  I got cyrus-imapd working outside a jail.
  But when i want to install it within a jail it won't  start.
  What are the extra steps, to get cyrus-imapd working inside a jail. Is
there a simple howto available?

 Try to check logs or start the master process in foreground debug mode
 with flag -D and see where it fails. Could it possibly try loading a
 library that is not accessible from within the jail?

 BR, Erik

 -- 
 Erik N?rgaard
 Ph: +34.666334818/+34.915211157  http://www.locolomo.org







No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.54/2157 - Release Date: 06/05/09
17:55:00

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


Re: cyrus-imapd2.3 in jail

2009-06-06 Thread Familie van der Schaft
Erik,

Thanks for your efforts.
It works!!

,Danny
- Original Message - 
From: Erik Norgaard norga...@locolomo.org
To: Familie van der Schaft fam.vandersch...@kpnplanet.nl
Cc: freebsd-questions@freebsd.org
Sent: Saturday, June 06, 2009 1:06 PM
Subject: Re: cyrus-imapd2.3 in jail


 Familie van der Schaft wrote:
  Erik,
 
  I recieve the following message:
 
  /usr/local/cyrus/bin ./master -D
  No log handling enabled - turning on stderr logging
  init_kmem: kvm_openfiles failed: /dev/mem: No such file or directory
 
  I noticed that it is the same message coming from:
 
  /usr/local/cyrus/bin netstat -rn
  netstat: kvm not available: /dev/mem: No such file or directory
 
  also within the jail.
  There are some sysctl options for the jail, maybe i must turn off or on
an
  option?
  I have the following sysctl options:
 
  security.jail.jailed: 1
  security.jail.jail_max_af_ips: 255
  security.jail.mount_allowed: 0
  security.jail.chflags_allowed: 0
  security.jail.allow_raw_sockets: 1
  security.jail.enforce_statfs: 2
  security.jail.sysvipc_allowed: 0
  security.jail.socket_unixiproute_only: 1
  security.jail.set_hostname_allowed: 1
 
  I changed the raw_sockets from 0 - 1 (ping and tracroute).
  Any ideas?

 Seems like you need to mount a devfs inside the jail,

 # mount -t devfs devfs /path/to/jail/dev

 BR, Erik


 -- 
 Erik N?rgaard
 Ph: +34.666334818/+34.915211157  http://www.locolomo.org







No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.54/2157 - Release Date: 06/05/09
17:55:00

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


kerberos and php5

2009-05-08 Thread Familie van der Schaft
LS,

It seems that KRB5 is not a default implementation within php5.
How can i add KRB5 in php5.

Reg,Danny
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ldapadd Crashed with Segmentation Fault

2009-03-12 Thread Familie van der Schaft
I had the same problem (also slapcat ended with seg fault 11).
And the siolution was to minimize the config options (i did not need all of
them).
I only build OpenLDAP with the SASL,BDB and PERL options and worked for
me

Reg,Danny

- Original Message - 
From: Hong ljf...@sdf.lonestar.org
To: FreeBSD Questions List freebsd-questions@freebsd.org
Sent: Wednesday, March 11, 2009 5:15 AM
Subject: Ldapadd Crashed with Segmentation Fault


 Hi,

 I was playing with OpenLDAP installed on FreeBSD 7.1-RELEASE installed
through
 the port system.

 The configuration file /usr/local/etc/slapd.conf was edited:
 ...
 databasebdb
 #suffix dc=my-domain,dc=com
 #rootdn cn=Manager,dc=my-domain,dc=com
 suffix  dc=example,dc=com
 rootdn  cn=Manager,dc=example,dc=com
 ...

 I created a test LDIF file named test1.ldif:

 dn: dc=example,dc=com
 objectclass: dcObject
 objectclass: organization
 o: Example Company
 dc: example

 dn: cn=Manager,dc=example,dc=com
 objectClass: organizationalRole
 cn: Manager

 Then I used ldapadd to add the new entries in the LDIF file:

 # ldapadd -x -D cn=Manager,dc=example,dc=com -W -f test1.ldif
 Enter LDAP Password:
 adding new entry dc=example,dc=com

 adding new entry cn=Manager,dc=example,dc=com

 Segmentation fault: 11 (core dumped)

 Any idea what went wrong?

 Hong
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org







No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.237 / Virus Database: 270.11.9/1992 - Release Date: 03/09/09
19:20:00

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


RE: [7.1-RELEASE-p2 amd64] NFS mount in fstab hangs during mountcritremote execution

2009-02-10 Thread Arjan van der Oest
Hi Mel,

Sorry for not getting back to you earlier, I have been out of the office
for some time...

 Does this one also have a link UP message after nfs mounting? If not,
then
 there's your culprit: network isn't up at mountcritremote time. You
should 
 mark it 'late' in fstab

The UP message came more or less at the same time. Marking it late fixed
the problem, still leaving me puzzled why the NFS mounts work without
problem on identical machines but not in this one. Anyhow, since it's
not a critical fs, the late option works fine.

Thanks.


-- 
Met vriendelijke groet / Kind Regards,
Worldmax Operations B.V.
 
Arjan van der Oest
Network Design Engineer
 
T.: +31 (0) 88 001 7912
F.: +31 (0) 88 001 7902
M.: +31 (0) 6 10 62 58 46
 
E.: arjan.van.der.o...@worldmax.nl
W.:www.worldmax.nl
W.:www.aerea.nl
GPG: https://keyserver.pgp.com/ (Key ID: 07286F78) fingerprint: 2E9F
3AE2 0A8B 7579 75A9  169F 5D9E 5312 0728 6F78

Internet communications are not secure; therefore, the integrity of this e-mail 
cannot be guaranteed following transmission on the Internet. This e-mail may 
contain confidential information. If you have received this e-mail in error, 
please notify the sender and erase this e-mail. Use of this e-mail by any 
person other than the addressee is strictly forbidden. This e-mail is believed 
to be free of any virus that might adversely affect the addressee's computer 
system; however, no responsibility is accepted for any loss or damage arising 
in any way from its use. All the preceding disclaimers also apply to any 
possible attachments to this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 7.1 release / apache22 / php5

2009-02-08 Thread Familie van der Schaft
LS,

I hav e the same problem with 7.0 release.
The libphp5.so is placed by the php5 port.
When you deinstall php5, make clean, make config (check apache module), make
install,...the libphp5.so is placed in the libexec directory.
Or with clean installation, first install apache22 then php5.

Danny van der Schaft


- Original Message - 
From: Glen Barber glen.j.bar...@gmail.com
To: Jim Pazarena fqu...@ccstores.com; freebsd-questions@freebsd.org
Sent: Tuesday, January 06, 2009 3:33 AM
Subject: Re: 7.1 release / apache22 / php5


 stan wrote:
  On Mon, Jan 05, 2009 at 04:52:10PM -0800, Jim Pazarena wrote:
 
  for some odd reason, with this latest install (7.1), apache22 complains
  that it cannot find libphp5.so
  I usually compile php5 from ports
  and apache22 from ports
  after I think about it, I have never actually placed libphp5.so
anywhere. I
  am not even sure who/what
  causes php5 module to be added to
/usr/local/libexec/apache22/libphp5.so
  it's present on my 7.0 system, and missing on my 7.1 system.
  advice would be much appreciated.
 
 
  I don't know if it's a change, but on the 7.1 machine I just built. the
  lang/php5 port was not configured by default to build the Apache module.
 


 It's been that way as far as I can remember (at least since 6.2-RELEASE).

 -- 
 Glen Barber
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org







No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.10.2/1874 - Release Date: 4-1-2009
16:32

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


RE: [7.1-RELEASE-p2 amd64] NFS mount in fstab hangs during mountcritremote execution

2009-01-30 Thread Arjan van der Oest
Mel wrote:
 - why does the system tries to mount the nfs filesystem from the
fstab
 while nfs_client_enable has been set to no in rc.conf?

Because there is no relation between the two. You could be using a 3rd
party nfs kernel module.

Yes, but I am not. I'm using the default kernel option which I believe
is enabled with the mentioned rc.conf switch, or am I wrong here?

 And more bizarre: when interrupting the 
 mountcritremote script the share has been actually mounted, so it
seems  the 'mount -a -t nfs' command has actually been executed
successfully.

Looks more like the server is not sending a success message or it got

lost in transit. If this is 100% reproducable, look into compatibility 
issues, by scaling down the NFS version for the mount and check
firewall
rules on both ends.

Firewall has been disabled and seems not the problem, since (even with
the firewall enabled) the manual mount works fine. In case of fw
problems this would be a problem too.

Also what puzzles me is the fact that a new identical setup box has no
problem. As I wrote earlier the only difference is that I did not select
the 'enable nfs client' from the sysinstall this time. I have not used
any of the mentioned flags on the second box too, so why does it work on
that machine?

-- 
Met vriendelijke groet / Kind Regards,
Worldmax Operations B.V.
 
Arjan van der Oest
Network Design Engineer

T.: +31 (0) 88 001 7912
F.: +31 (0) 88 001 7902
M.: +31 (0) 6 10 62 58 46
 
E.: arjan.van.der.o...@worldmax.nl
W.:www.worldmax.nl
W.:www.aerea.nl
GPG: https://keyserver.pgp.com/ (Key ID: 07286F78, fingerprint: 2E9F
3AE2 0A8B 7579 75A9  169F 5D9E 5312 0728 6F78)

Internet communications are not secure; therefore, the integrity of this e-mail 
cannot be guaranteed following transmission on the Internet. This e-mail may 
contain confidential information. If you have received this e-mail in error, 
please notify the sender and erase this e-mail. Use of this e-mail by any 
person other than the addressee is strictly forbidden. This e-mail is believed 
to be free of any virus that might adversely affect the addressee's computer 
system; however, no responsibility is accepted for any loss or damage arising 
in any way from its use. All the preceding disclaimers also apply to any 
possible attachments to this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: [7.1-RELEASE-p2 amd64] NFS mount in fstab hangs duringmountcritremote execution

2009-01-30 Thread Arjan van der Oest
I've done some further investigation and this is what happens:

The mountcritremote script executes mount -a -t nfs and times out. If
this script is aborted, the NFS export is mounted later by the mountlate
script with  mount -a -l, this succeeds. This is the reason that the
export is mounted after sending ctrl-d, the initial mount never
succeeds.

From what I can see now this is neither a firewall nor a NFS-version
issue, else it would not succeed in the mountlate script.

I'm still puzzled why on other boxes this is not a problem, while it is
at this box.

-- 
Met vriendelijke groet / Kind Regards,
Worldmax Operations B.V.
 

 
Arjan van der Oest
Network Design Engineer
 
T.: +31 (0) 88 001 7912
F.: +31 (0) 88 001 7902
M.: +31 (0) 6 10 62 58 46
 
E.: arjan.van.der.o...@worldmax.nl
W.:www.worldmax.nl
W.:www.aerea.nl
GPG: https://keyserver.pgp.com/ (Key ID: 07286F78) fingerprint: 2E9F
3AE2 0A8B 7579 75A9  169F 5D9E 5312 0728 6F78

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Arjan van der
Oest
Sent: vrijdag 30 januari 2009 14:36
To: Mel; freebsd-questions@freebsd.org
Subject: RE: [7.1-RELEASE-p2 amd64] NFS mount in fstab hangs
duringmountcritremote execution

Mel wrote:
 - why does the system tries to mount the nfs filesystem from the
fstab
 while nfs_client_enable has been set to no in rc.conf?

Because there is no relation between the two. You could be using a 3rd
party nfs kernel module.

Yes, but I am not. I'm using the default kernel option which I believe
is enabled with the mentioned rc.conf switch, or am I wrong here?

 And more bizarre: when interrupting the 
 mountcritremote script the share has been actually mounted, so it
seems  the 'mount -a -t nfs' command has actually been executed
successfully.

Looks more like the server is not sending a success message or it got

lost in transit. If this is 100% reproducable, look into compatibility 
issues, by scaling down the NFS version for the mount and check
firewall
rules on both ends.

Firewall has been disabled and seems not the problem, since (even with
the firewall enabled) the manual mount works fine. In case of fw
problems this would be a problem too.

Also what puzzles me is the fact that a new identical setup box has no
problem. As I wrote earlier the only difference is that I did not select
the 'enable nfs client' from the sysinstall this time. I have not used
any of the mentioned flags on the second box too, so why does it work on
that machine?

-- 
Met vriendelijke groet / Kind Regards,
Worldmax Operations B.V.
 
Arjan van der Oest
Network Design Engineer

T.: +31 (0) 88 001 7912
F.: +31 (0) 88 001 7902
M.: +31 (0) 6 10 62 58 46
 
E.: arjan.van.der.o...@worldmax.nl
W.:www.worldmax.nl
W.:www.aerea.nl
GPG: https://keyserver.pgp.com/ (Key ID: 07286F78, fingerprint: 2E9F
3AE2 0A8B 7579 75A9  169F 5D9E 5312 0728 6F78)

Internet communications are not secure; therefore, the integrity of this
e-mail cannot be guaranteed following transmission on the Internet. This
e-mail may contain confidential information. If you have received this
e-mail in error, please notify the sender and erase this e-mail. Use of
this e-mail by any person other than the addressee is strictly
forbidden. This e-mail is believed to be free of any virus that might
adversely affect the addressee's computer system; however, no
responsibility is accepted for any loss or damage arising in any way
from its use. All the preceding disclaimers also apply to any possible
attachments to this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org

No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.15/1924 - Release Date:
1/29/2009 5:57 PM

Internet communications are not secure; therefore, the integrity of this e-mail 
cannot be guaranteed following transmission on the Internet. This e-mail may 
contain confidential information. If you have received this e-mail in error, 
please notify the sender and erase this e-mail. Use of this e-mail by any 
person other than the addressee is strictly forbidden. This e-mail is believed 
to be free of any virus that might adversely affect the addressee's computer 
system; however, no responsibility is accepted for any loss or damage arising 
in any way from its use. All the preceding disclaimers also apply to any 
possible attachments to this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


[7.1-RELEASE-p2 amd64] NFS mount in fstab hangs during mountcritremote execution

2009-01-29 Thread Arjan van der Oest
Hi,

I’m puzzled and either I don’t understand the boot rc.d process or there is 
something wrong with it ☺

I have this 7.1-RELEASE-p2 amd64 machine compiled with a GENERIC kernel, so NFS 
support is baked right into the kernel by default. In fsstab I have this entry:

nfs server ip:/data/nfs-shares/S1018SR18 /nfs-mounts/backupsrv   nfs  
rw00

Further, as per the handbook, I’ve set nfs_client_enable to “YES” in the 
rc.conf. During boottime the machine hangs on the console after stating 
“Mounting NFS filesystems:”. I notice that _immediately_ after that line there 
is a console message saying “em0: link state changed to UP”. Then the system 
repeats this line until eternity (well, the max I’ve been waiting has been 30 
minutes), no . appears indicating the system has not yet completed the 'mount 
-a 't nfs' command from the mountcritremote script.

[udp] nfs server ip:/data/nfs-shares/S1018SR18: RPGPROC_MNT: RPC: Timed out

Hitting CTRL-C forces the machine to continue the boot process, aborting the 
mountcritremote script. What strikes me is that the actual NFS share has been 
mounted, although the boot-process seems to indicate otherwise... After doing a 
umount and mount –a –t nfs again the machine has no problem whatsoever.

Something else that puzzles me, when I set the nfs_client_enable=”NO” line in 
the rc.conf, the same happens : console hangs on the mountcritremote script 
until I hit CTRL-C and after that the share has been mounted anyway? Shouldn’t 
the machine ignore nfs filesystems with this rc.conf config? 

I’ve removed the entry in fstab and set a line in rc.local and then the 
boot-process works fine without interruption. 

So I'm currently lost with these questions:

- why does the system tries to mount the nfs filesystem from the fstab while 
nfs_client_enable has been set to no in rc.conf?
- why does the system seems to hang on the mountcritremote script although 
there seems no valid reason for that. I can imagine the network has not been 
fully configured yet when executing (indicated by the link UP message right 
after the mouning NFS filesystems line) but why will the script not continue 
after a few timeouts? And more bizarre: when interrupting the mountcritremote 
script the share has been actually mounted, so it seems the 'mount -a -t nfs' 
command has actually been executed successfully.

Any fingerpoints?

-- 
Met vriendelijke groet / Kind Regards,
Worldmax Operations B.V.
 
Arjan van der Oest
Network Design Engineer

T.: +31 (0) 88 001 7912
F.: +31 (0) 88 001 7902
M.: +31 (0) 6 10 62 58 46
 
GPG: https://keyserver.pgp.com/ (Key ID: 07286F78, fingerprint: 2E9F 3AE2 0A8B 
7579 75A9  169F 5D9E 5312 0728 6F78)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

RE: FreeBSD 7.1, routing tables, rc.conf

2009-01-29 Thread Arjan van der Oest
What exactly do you mean with two routing tables?

-- 
Met vriendelijke groet / Kind Regards,
Worldmax Operations B.V.
 
Arjan van der Oest
Network Design Engineer
 
T.: +31 (0) 88 001 7912
F.: +31 (0) 88 001 7902
M.: +31 (0) 6 10 62 58 46
 
GPG: https://keyserver.pgp.com/ (Key ID: 07286F78) fingerprint: 2E9F 3AE2 0A8B 
7579 75A9  169F 5D9E 5312 0728 6F78
-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of KES
Sent: donderdag 29 januari 2009 17:00
To: questi...@freebsd.org
Subject: FreeBSD 7.1, routing tables, rc.conf

Здравствуйте, Questions.

I have two routing tables.
How to setup two default routes for each routing table in rc.conf?

-- 
С уважением,
 KES  mailto:kes-...@yandex.ru

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

No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.15/1921 - Release Date: 1/28/2009 
6:37 AM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Re[2]: FreeBSD 7.1, routing tables, rc.conf

2009-01-29 Thread Arjan van der Oest
Funny, I wasn't aware of this new option in 7.1, hence my question. From what I 
see some stuff is already modified to use this new option (like ipfw), but 
others require the setfib utility. I'm not sure if you can add routes directly 
from rc.conf, but why not try 'setfib -fib route add xxx' ?

(http://www.freebsd.org/releases/7.1R/errata.html)

-- 
Met vriendelijke groet / Kind Regards,
Worldmax Operations B.V.
 

 
Arjan van der Oest
Network Design Engineer
 
T.: +31 (0) 88 001 7912
F.: +31 (0) 88 001 7902
M.: +31 (0) 6 10 62 58 46
 
GPG: https://keyserver.pgp.com/ (Key ID: 07286F78) fingerprint: 2E9F 3AE2 0A8B 
7579 75A9  169F 5D9E 5312 0728 6F78

-Original Message-
From: KES [mailto:kes-...@yandex.ru] 
Sent: donderdag 29 januari 2009 17:26
To: Arjan van der Oest
Cc: questi...@freebsd.org
Subject: Re[2]: FreeBSD 7.1, routing tables, rc.conf

Здравствуйте, Arjan.

I mean:
options ROUTETABLES=2


Then I do manually:
setfib 0 route add default G.A.T.E1
setfib 1 route add default G.A.T.E2

in rc.conf I can do for FIB0:
defaultrouter=GATE1

How to do same thing for other routing tables?

I exepct next feature to exists:
defaultrouter_fib1=GATE2



AvdO What exactly do you mean with two routing tables?

AvdO -- 
AvdO Met vriendelijke groet / Kind Regards,
AvdO Worldmax Operations B.V.
AvdO  
AvdO Arjan van der Oest
AvdO Network Design Engineer
AvdO  
AvdO T.: +31 (0) 88 001 7912
AvdO F.: +31 (0) 88 001 7902
AvdO M.: +31 (0) 6 10 62 58 46
AvdO  
AvdO GPG: https://keyserver.pgp.com/ (Key ID: 07286F78) fingerprint:
AvdO 2E9F 3AE2 0A8B 7579 75A9  169F 5D9E 5312 0728 6F78
AvdO -Original Message-
AvdO From: owner-freebsd-questi...@freebsd.org
AvdO [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of KES
AvdO Sent: donderdag 29 januari 2009 17:00
AvdO To: questi...@freebsd.org
AvdO Subject: FreeBSD 7.1, routing tables, rc.conf

AvdO Здравствуйте, Questions.

AvdO I have two routing tables.
AvdO How to setup two default routes for each routing table in rc.conf?




-- 
С уважением,
 KES  mailto:kes-...@yandex.ru


No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.15/1921 - Release Date: 1/28/2009 
6:37 AM

Internet communications are not secure; therefore, the integrity of this e-mail 
cannot be guaranteed following transmission on the Internet. This e-mail may 
contain confidential information. If you have received this e-mail in error, 
please notify the sender and erase this e-mail. Use of this e-mail by any 
person other than the addressee is strictly forbidden. This e-mail is believed 
to be free of any virus that might adversely affect the addressee's computer 
system; however, no responsibility is accepted for any loss or damage arising 
in any way from its use. All the preceding disclaimers also apply to any 
possible attachments to this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: [7.1-RELEASE-p2 amd64] NFS mount in fstab hangs duringmountcritremote execution

2009-01-29 Thread Arjan van der Oest
To make it even stranger, a new fresh installed box has no problems with this 
configuration. The difference between these two : on the problem box I enabled 
NFS client during installation with sysinstall, on the working box I've just 
added the nfs_client_enable=YES flag manually to rc.conf.

I would suspect that the sysinstall approach would do the same (as it looks 
like it) but now I suspect sysinstall does something else too that breaks the 
config.

-- 
Met vriendelijke groet / Kind Regards,
Worldmax Operations B.V.
 
Arjan van der Oest
Network Design Engineer
 
T.: +31 (0) 88 001 7912
F.: +31 (0) 88 001 7902
M.: +31 (0) 6 10 62 58 46
 
E.: arjan.van.der.o...@worldmax.nl
W.:www.worldmax.nl
W.:www.aerea.nl
GPG: https://keyserver.pgp.com/ (Key ID: 07286F78) fingerprint: 2E9F 3AE2 0A8B 
7579 75A9  169F 5D9E 5312 0728 6F78
-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Arjan van der Oest
Sent: donderdag 29 januari 2009 10:48
To: freebsd-questions@freebsd.org
Subject: [7.1-RELEASE-p2 amd64] NFS mount in fstab hangs duringmountcritremote 
execution

Hi,

I’m puzzled and either I don’t understand the boot rc.d process or there is 
something wrong with it ☺

I have this 7.1-RELEASE-p2 amd64 machine compiled with a GENERIC kernel, so NFS 
support is baked right into the kernel by default. In fsstab I have this entry:

nfs server ip:/data/nfs-shares/S1018SR18 /nfs-mounts/backupsrv   nfs  
rw00

Further, as per the handbook, I’ve set nfs_client_enable to “YES” in the 
rc.conf. During boottime the machine hangs on the console after stating 
“Mounting NFS filesystems:”. I notice that _immediately_ after that line there 
is a console message saying “em0: link state changed to UP”. Then the system 
repeats this line until eternity (well, the max I’ve been waiting has been 30 
minutes), no . appears indicating the system has not yet completed the 'mount 
-a 't nfs' command from the mountcritremote script.

[udp] nfs server ip:/data/nfs-shares/S1018SR18: RPGPROC_MNT: RPC: Timed out

Hitting CTRL-C forces the machine to continue the boot process, aborting the 
mountcritremote script. What strikes me is that the actual NFS share has been 
mounted, although the boot-process seems to indicate otherwise... After doing a 
umount and mount –a –t nfs again the machine has no problem whatsoever.

Something else that puzzles me, when I set the nfs_client_enable=”NO” line in 
the rc.conf, the same happens : console hangs on the mountcritremote script 
until I hit CTRL-C and after that the share has been mounted anyway? Shouldn’t 
the machine ignore nfs filesystems with this rc.conf config? 

I’ve removed the entry in fstab and set a line in rc.local and then the 
boot-process works fine without interruption. 

So I'm currently lost with these questions:

- why does the system tries to mount the nfs filesystem from the fstab while 
nfs_client_enable has been set to no in rc.conf?
- why does the system seems to hang on the mountcritremote script although 
there seems no valid reason for that. I can imagine the network has not been 
fully configured yet when executing (indicated by the link UP message right 
after the mouning NFS filesystems line) but why will the script not continue 
after a few timeouts? And more bizarre: when interrupting the mountcritremote 
script the share has been actually mounted, so it seems the 'mount -a -t nfs' 
command has actually been executed successfully.

Any fingerpoints?

-- 
Met vriendelijke groet / Kind Regards,
Worldmax Operations B.V.
 
Arjan van der Oest
Network Design Engineer

T.: +31 (0) 88 001 7912
F.: +31 (0) 88 001 7902
M.: +31 (0) 6 10 62 58 46
 
GPG: https://keyserver.pgp.com/ (Key ID: 07286F78, fingerprint: 2E9F 3AE2 0A8B 
7579 75A9  169F 5D9E 5312 0728 6F78)

No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.15/1921 - Release Date: 1/28/2009 
6:37 AM

Internet communications are not secure; therefore, the integrity of this e-mail 
cannot be guaranteed following transmission on the Internet. This e-mail may 
contain confidential information. If you have received this e-mail in error, 
please notify the sender and erase this e-mail. Use of this e-mail by any 
person other than the addressee is strictly forbidden. This e-mail is believed 
to be free of any virus that might adversely affect the addressee's computer 
system; however, no responsibility is accepted for any loss or damage arising 
in any way from its use. All the preceding disclaimers also apply to any 
possible attachments to this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: confirm 99789d88ebe8d000d683289a0bd080f631f0eeae

2008-09-11 Thread Martin Van Der Merwe



 Date: Thu, 11 Sep 2008 13:47:25 -0400
 From: [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Subject: Re: confirm 99789d88ebe8d000d683289a0bd080f631f0eeae
 
 On Thu, 11 Sep 2008 17:42:11 +
 [EMAIL PROTECTED] wrote:
 
 Mailing list subscription confirmation notice for mailing list
 freebsd-questions
 
 We have received a request for subscription of your email address,
 [EMAIL PROTECTED], to the freebsd-questions@freebsd.org mailing list.
 To confirm that you want to be added to this mailing list, simply
 reply to this message, keeping the Subject: header intact.  Or visit
 this web page:
 
 
 http://lists.freebsd.org/mailman/confirm/freebsd-questions/99789d88ebe8d000d683289a0bd080f631f0eeae
 
 
 Or include the following line -- and only the following line -- in a
 message to [EMAIL PROTECTED]:
 
 confirm 99789d88ebe8d000d683289a0bd080f631f0eeae
 
 Note that simply sending a `reply' to this message should work from
 most mail readers, since that usually leaves the Subject: line in the
 right form (additional Re: text in the Subject: is okay).
 
 If you do not wish to be subscribed to this list, please simply
 disregard this message.  If you think you are being maliciously
 subscribed to the list, or have any other questions, send them to
 [EMAIL PROTECTED]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

_
Join the all-new Windows Live Messenger family
http://get.live.com___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: weird restarts when compiling

2008-07-13 Thread Jeroen Ruigrok van der Werven
-On [20080713 10:04], Aggelidis Nikos ([EMAIL PROTECTED]) wrote:
 Look through /var/log/messages.
i get this: Jul 13 09:00:00 apollo newsyslog[1018]: logfile turned
over due to size100K

Then look at /var/log/messages.0.bz2

Also, check `last`.

-- 
Jeroen Ruigrok van der Werven asmodai(-at-)in-nomine.org / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
There is time in life for everything...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD on a Mac

2007-11-09 Thread Arend P. van der Veen
Hi,

Has anybody had success using Parallels on the Mac?  I have been using
it to support windows but had GUI problems with FreeBSD (with X and
xfce4).  They do not support FreeBSD 6.2 (according to their documentation).

Thanks,
Arend

Jerry McAllister wrote:
 On Fri, Nov 09, 2007 at 12:03:30AM +, James Jeffery wrote:
 
 Was wondering.

 Can i put FreeBSD on a Quicksilver G4?

 I know it already has Tiger on it, which is BSD based, but i have no
 use for Tiger at the moment.
 At college were using Windows, and my old BSD box now has windows on
 it so that i can keep
 up with college assignments.

 I still have BSD on the box, but on another partition, i loved FreeBSD
 7, was really getting the
 hang of it and testing out its web server capabilities, its a
 nightmare switching the PC on and
 off just to run a temp web server to test on.

 Is it possible or is there a better solution?
 
 If you have enough disk space, you could either dual boot
 with MS-Win and FreeBSD, or you could run vmware and then
 install both FreeBSD and ms-win virtual machines on it.
 
 jerry
 
 Cheers
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: anyone have a favorite laptop?

2007-09-24 Thread Arend P. van der Veen
We have used Thinkpads for a long time.  I am currently using a T60. 
Never had any problems.


Predrag Punosevac wrote:

Steve Franks wrote:

The freebsd laptop page is a nice resource, but it's a bit heavy on
specifics (i.e. I have a laptop I want to install on), not so good
generally (want to buy a laptop).  So anyone have realworld advice?
I'm not against something used in the 1GHz+ range.

I have a compaq that is %#*!^$.  The pcmcia will not work, the
ndiswrapper for the broadcom panics, etc.  So, compaq is right out
(the've always maintained their poor reputation, no?) - so compaq is
out.  Seems gateway has an equally bad rap

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

IBM ThinkPad you can not go wrong.

T23, T30 or T43 are $200-400 on ebay. If you are rich T60 by far the 
best laptop on the market in my opinion.

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



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


AMD64 vs i386

2007-08-22 Thread Arend P. van der Veen

Hi All,

I have a general question.

We have access to some new AMD64 based Dell Servers with 2 Core Duo 
Xeons.  We are currently using i386 Dell Servers with a core duo 
processor.  I recall from my MS Windows days that when there was the 
shift from 16-bit to 32-bit processors it did take a while for 
applications to support 32 bit.  Sometimes 16-bit applications actually 
ran slower on the 32-bit hardware.  I know this is a loaded question:


- Will the AMD64 based FreeBSD 6.2 distribution with applications such 
as Postgresql, Apache, Python, Tomcat and SBCL be able to take advantage 
of the 64-bit quad processor?


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


ath -- Atheros IEEE 802.11 wireless network driver

2007-08-20 Thread Arend P. van der Veen

Hi,

I have been having some interupt issues with this driver.  If I hook to 
a wireless access point that is week, I get tons of interrupts and kills 
the performance of my laptop.  However, when I us it at home with the 
access point in the same room as my laptop everything works great.  I a 
connect to the same access point using a Windows box (different wireless 
card unfortunetly) I do not have a problem.  I am running


FreeBSD 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #2: Sat Aug  4 23:06:38 
EDT 2007


I am not sure where to start to debug this or if there is a better 
mailing list to send this.


Any suggestions would be great.

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


Tomcat 5.5 installation

2007-08-17 Thread Arend P. van der Veen

Hi,

I have installed Tomcat 5.5.23_1 on FreeBSD 6.2.  I have used Servlets a 
lot in the past but have not used ant.  I am now trying to get this 
development environment to work.  Following the basic portinstall of 
Tomcat on FreeBSD I did the following:


1.  sudo cp /usr/local/tomcat5.5/server/lib/catalina-ant.jar 
/usr/local/share/java/apache-ant/lib


2.  Made a sample project

3.  set manager url in build.xml
property name=manager.url   value=http://localhost:8180/manager/

4.  Chnage permissions in tomcat

cd /usr/local/tomcat5.5]
sudo chown -R www webapps

Once this was done I was able to compile the project and install it using:

ant
ant install

I did notice that it created a new directory in webapps with the new 
application.  So far so good.  If I try to install it again I get an 
error stating that it is already installed.  Again, so far so good.


The problem that I have is if I make changes to the project and reload 
the application using


ant reload

I get the following output:
reload:
   [reload] OK - Reloaded application at context path /hello

This looks ok.  However, when I run it, the changes to the project do 
not show up.  If I look into the directory under webapps, the changes 
have not been moved over.  I have to manually copy the contents from my 
build to webapps under tomcat.


What I am doing wrong.  I am sure that it is someting simple but do not 
seem to figure it out.


Thanks,
Arend


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


Re: Convince me, please!

2007-08-09 Thread Arend P. van der Veen

Latitude wrote:

I'm interested in changing over to FreeBSD from Windows, but I'll have
to say, you guys don't really present a forceful argument to Windows
users of how easy the switch may be.  I get knee-deep in FreeBSD jargon
the second I get to your webpage. I need to see an overwhelming argument
that FreeBSD is a perfectly acceptable alternative for home desktop
users who have previously known only Windows.

For instance, if I download and install FreeBSD, will I instantly have a
desktop windowing environment that I can navigate in while I figure out
what's going on?  Will I have a browser and way to setup an internet
connection right off the bat?  How will I migrate files from other
operating systems?

I understand you guys have been around for a while, but you don't seem
to understand the monumental fear involved in switching operating
systems.  You need to address those concerns head on from the start.  I
need to see several screenshots of apps that I can use as alternatives
to what I have.

Help me (and yourselves) out.

We migrated from Windows to Linux and then to FreeBSD.  We develop and 
deploy web based applications using open source tools.  Our goal was to 
find a reliable trouble-free open source operating system to standardize 
on.  We found that in FreeBSD and have been very happy ever since we 
made the switch.  It is one of our decisions that we never regretted. 
We also use the same release of FreeBSD on our development systems. 
That way, we develop on the same platform that deploy.  We find that 
this helps avoid hassles when it is time to deploy an update.  We do 
have Mac laptops to help support some applications such as Dreamweaver 
that are not available on FreeBSD.



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


Re: Sudo clears the environment variable

2007-08-07 Thread Arend P. van der Veen

[EMAIL PROTECTED] wrote:

On 07/08/07, Olivier Nicole [EMAIL PROTECTED] wrote:

env_reset  now seems to be on by default. you could turn it off if you
need to or fiddle with the env_keep and env_check lists.

That's what I mean, how to turn it off.


I added the line

Defaults !env_reset

to sudoers.  You might want to put more
restrictions on it.


Hi,

After # Defaults specification

We added then line:

Defaults env_keep=*

Is this equivalent?

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


Re: www.freebsd.org down?

2007-08-07 Thread Arend P. van der Veen

Heiko Wundram (Beenic) wrote:
Is anybody else experiencing www.freebsd.org to be down? I just wanted to have 
a look at the online handbook, but couldn't get at it...



I have not been able to access www.freebsd.org all morning also.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portsdb and cvsup

2007-08-06 Thread Arend P. van der Veen
Thanks for your story. The only reason we used -U was that we were not 
sure what they meant got special macros.  The man page for portsdb 
status that you only use -U if you have special macros in 
/etc/make.conf.  All we have in there is version information so I think 
that does not apply to use.


Thanks again,
Arend



Rakhesh Sasidharan wrote:


On Sun, 5 Aug 2007, Arend P. van der Veen wrote:


The approach that I had been using was:

/usr/local/bin/cvsup  -L 0 /usr/sup/supfile
/usr/local/sbin/portsdb -Uu

This had worked great until the emacs22 update.  Now portsdb crashes 
due to the emacs entry in /etc/make.conf.  However, I see very little 
chatter on the lists about this.  I have started to wonder if the bulk 
of the community may be updating their ports differently.  Upon some 
limited research I found that I could use:


/usr/local/bin/cvsup  -L 0 /usr/sup/supfile
/usr/local/sbin/portsdb -Fu

This work fine for me.  I can then use tools such as pkg_version, 
pkg_delete, portinstall and portupgrade without any problems.


My open ended question is what does the rest of the community do to 
update their ports collection?




I don't run portsdb at all. :)

What I figured from the portsdb manpages is that if you don't run it 
manually then it gets run upon using one of the portupgrade tools. I 
don't mind the 30s or so delay that causes and so I don't run portsdb 
manually.


During my first few days with FreeBSD, however, I used to run ''portsdb 
-Fu''. My understanding is that that would fetch the INDEX-6 and update 
INDEX-6.db (since I am on FreeBSD 6.x) but I don't see why I should do 
this coz the INDEX files are updated when I update the ports tree 
anyways! (If I have understood this incorrectly, someone please correct 
me).


I tried ''portsdb -Uu'' just once. To see what it does. Took a long time 
and so I never tried it again. From the manpage I understand that it 
creates/ updates the INDEX files by running the ''make index'' command, 
but the reasoning behind that didn't make sense to me ...


So that's my story.

Regards,
Rakhesh


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


portsdb and cvsup

2007-08-05 Thread Arend P. van der Veen

Hi,

I have recently been having trouble with running portsdb after cvsup.  I 
am running 6.2-RELEASE-p7.


The approach that I had been using was:

/usr/local/bin/cvsup  -L 0 /usr/sup/supfile
/usr/local/sbin/portsdb -Uu

This had worked great until the emacs22 update.  Now portsdb crashes due 
to the emacs entry in /etc/make.conf.  However, I see very little 
chatter on the lists about this.  I have started to wonder if the bulk 
of the community may be updating their ports differently.  Upon some 
limited research I found that I could use:


/usr/local/bin/cvsup  -L 0 /usr/sup/supfile
/usr/local/sbin/portsdb -Fu

This work fine for me.  I can then use tools such as pkg_version, 
pkg_delete, portinstall and portupgrade without any problems.


My open ended question is what does the rest of the community do to 
update their ports collection?


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


Re: emacs22 and portsdb

2007-08-04 Thread Arend P. van der Veen

Hi,

I have been having trouble with emacs22 also.  I am using FreeBSD 
6.2-RELEASE-p7.  I did the upgrade as described in the updating notes. 
I use emacs plus


auctex
slime
quack
emacs-w3m

Everything was upgraded properly.  However, no portsdb -Uu generates 
errors.


Therefore, I have remove EMACS_PORT_NAME=emacs22 from /etc/make.conf and 
now portsdb -Uu works without a problem.  However, if I remove any of 
the ports such as auctex and then reinstall it, portinstall will try to 
install emacs21 again which conflicts with emacs22.


I am stuck.  If I leave EMACS_PORT_NAME=emacs22 in /etc/make.conf then 
dependencies work but portsdb -Uu fails.  If I remove 
EMACS_PORT_NAME=emacs22 from /etc/make.conf then portsdb -Uu works but 
the dependencies are messed up.


I even went as far as to delete emacs with pkg_delete -r emacs-22.1 and 
tried installing everything from scratch.  However the dependencies are 
still messed up.


Does anybody have a solution to this problem?

Thanks,
Arend van der Veen






Matthew Seaman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Duane Winner wrote:


We've been having a problem with generating the ports Index ever since
upgrading to emacs22.

As per /usr/ports/UPDATING, we added EMACS_PORT_NAME=*emacs22* to
/etc/make.conf


Errr --- that should probably read:

EMACS_PORT_NAME=emacs22

You certainly don't need the asterisks there.

In any case, setting this variable will screw up indexing, because a
number of e-lisp ports will try and append the EMACS_PORT_NAME to
their package origin if it is set.  However not all the ports that
do that also have a slave port 'foo-emacs22' hence the problems with
building the INDEX.

The best answer is don't set EMACS_PORT_NAME in /etc/make.conf --
emacs22 is the default now anyhow.  The INDEX will build just fine,
and the various e-lisp packages seem to work OK as well, so long as
you've reinstall all the e-lisp packages once you've upgraded from
emacs21 to emacs22.

Cheers,

Matthew

- --
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGql0a8Mjk52CukIwRCJkgAJ0fh9qkl4eWFQRwrrG8DIwAOqUmlACeMT19
8AWFPYKQdh8Fvko14TCwyxs=
=vZLj
-END PGP SIGNATURE-


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


Firewall

2006-09-21 Thread Hèrvé Simplice van der Eijk
on 1 machine I set up a freebsd 5.4  server  with dhcp, dns, ldap running on 
it.


on an other machine I set up apachy webserver and both are working fine.

when I'm making an http request on a windows client (internet explore) it 
shows my web site.


but since I install ipfw firewall on my freebsd 5.4 (dhcp, dns ldap server) 
my windows client

cant reach my webserver anymore.

Please can somebody tell me wich port I have to open up in my firewall.

_
Gratis 500 foto's per maand uploaden en delen met vrienden? 
http://spaces.live.com


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


help please

2006-09-20 Thread Hèrvé Simplice van der Eijk

Hi everybody,

I recently install freebsd 5.4, bind9, isc-dhcp-server, openldap on my 
machine.
DNS server is working oke, but since I'm running ipfw firewall on the 
machine, my windows client (internet Explorer kan reach my

freeBsd webserver.
can anyone tell me wich protocol and port I have to open up on my ipfw 
firewall

so that windows client kan reach my webserver

_
Zoeken is nog nooit zo eenvoudig geweest! http://toolbar.live.com/

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


Traffic shaping with ipfw/DUMMYNET when using natd

2006-05-24 Thread G-der

I've been setting up ipfw and DUMMYNET to do some traffic shaping on my
network.  Right now to test things out I've basicly put everything into two
categories.  There's traffic from 10.0.10.10 which is lower priority (this
is a download machine) and then there's everything else.

The biggest problem I've runinto is that because natd gets the packets first
thing the only way to catch outgoing traffic is on the internal network
interface.  That is if you want to limit based on which internal machine is
generating the traffic like in my case.  After the divert rule for natd the
src-ip field gets changed to my external ip address.  This has a side effect
of limiting all the traffic on that internal interface, even stuff that is
not bound for the internet.

I've tried playing around a little bit with the bridged, diverted, and
diverted-output commands but can't get any of them to catch the packets.

Is there  a way to limit outgoing traffic based on which machine owns the
traffic internally that doesn't have to be done on the internal interface?
Would it be better practice to scan outgoing traffic before the divert rules
for natd?

   extif=rl0
   intif=rl1

   #INCOMING TRAFFIC
   #Tested max incoming at 5914Kbit/s

   ${fwcmd} pipe 1 config bw 5800Kbit/s
   ${fwcmd} queue 1 config pipe 1 weight 2 #for torrent traffic
   ${fwcmd} queue 5 config pipe 1 weight 10#for everything else

   ${fwcmd} add 1000 queue 1 ip from any to 10.0.10.10 in via ${extif}
   ${fwcmd} add 5000 queue 5 ip from any to any in via ${extif}


   #OUTGOING TRAFFIC
   #Tested max outgoing at 390Kbit/s

   ${fwcmd} pipe 2 config bw 360Kbit/s
   ${fwcmd} queue 6 config pipe 2 weight 2
   ${fwcmd} queue 10 config pipe 2 weight 10
   ${fwcmd} add 6000 queue 6 ip from 10.0.10.10 to any in via ${intif}
   ${fwcmd} add 8000 queue 10 ip from any to any in via ${intif}

Here's the rules, I appreciate the assistance.  Please cc me on reply, I'm
not a regular subscriber.

Thank you

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


automatically starting gnome-2.10

2006-02-26 Thread Hèrvé Simplice van der Eijk

Hallo FreeBSD users

I just install gnome-2.10 on my freebsd 5.4 release machine, and it's 
working,

but I want it to start automatically afther rebooting the system.
I dont want to start it typen startx each time.

please can somebody tell me how can i start gnome2.10 automatically
or what is the syntax in /etc/rc.conf.

thank you.

_
Vind alles terug op je PC: MSN Search Toolbar http://toolbar.msn.nl/

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


Configuring multiple interface card in one box

2006-02-21 Thread Hèrvé Simplice van der Eijk

hallo sir,

I have the privilge to use freebsd 5.4 release
I have 3 network interface card installed in my box

fxp0 with ip address 192.168.0.1 ether mac address: 00:90:27:ce:c3:00
xl0 with ip address 192.168.0.2 ether mac address: 00:10:4b:8c:9b:73
vx0 with ip address 192.168.0.3 ether mac address: 00:20:af:f7:5f:83

and default router is 192.168.0.10

Problem:
pop up message
feb 21 17:43:53 sun kernel: arp 192.168.0.10 is on fxp0 but got reply from 
46:04:ed:10:08:33 on xl0
feb 21 17:44:58 sun kernel: arp 192.168.0.10 is on fxp0 but got reply from 
46:04:ed:10:08:33 on vx0


please can somebody tell me what's going on and how I can fix it

thank you in advanced.

_
Nieuw op MSN Messenger 7.5: Dynamische achtergronden 
http://www1.imagine-msn.com/Messenger/Audio.aspx


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


RE: FXP driver....

2005-08-21 Thread Arjan van der Oest
Hi Ted,

what about a ping from the 845G to the labbox, does that do
the same thing?


Both are lab boxes, I assume you refer to the other AMD box. Yes, all pings
to all destinations, within the subnet, outside the subnet and outside the
entire AS show the same thing. I've been playing around now for some time,
I've disabled the onboard intel NIC (the fxp nic) and the PCI 3com shows the
same result then.

Thanks,

 

Arjan

 

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


RE: FXP driver....

2005-08-21 Thread Arjan van der Oest
Ted,

sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled

Yep, I see the same.
 
Could you post your entire dmesg output, please?

After Daniel's response I've been playing around again, disabling all sort of
controllers. Still no luck so far. I can't post my dmesg at the moment, I've
disabled all comports in the bios a second ago and now the box is compaining
on the console:
 
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
 
It stopped the boot here, and there is nothing to make it reboot from the
keyboard. As I'm working on the console via KVMoIP I need to hit the reboot
switch tonight :) (no, no APC installed).
 
Arjan
 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


increasing latency on idle box with ASUS P4B533VM board

2005-08-19 Thread Arjan van der Oest
Hi,

I've build a new P4 box (1.8Ghz, 512MB mem) based upon a ASUS P4B533VM
motherboard. This board has an Intel 845G chipset and onboard 10/100
mbit/s LAN (fxp driver).

When connected directly to a gateway (in my case an Extreme BD10k) I
observe the following behaviour: a ping to the gateway starts around
1ms and slowly increases in steps of .1 or .2ms to around 10ms. Then
it suddenly drops back to 1ms and the process starts all over again.

I've tried a different NIC (3com, xl driver), new cabling, new
switchport and all gives me the same result. My other labbox (a AMD
2000 XP+ with 3com PCI nic) connected to the same router is showing
normal latency. This gives me the feeling it's some sort of timing
issue on the P4's motherboard itself.

Has anyone seen this before? I've searched the archives and found
little on this topic. Any tips/hints where I can seach for further
clues?

Thanks,

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


increasing latency on idle box with ASUS P4B533VM board

2005-08-19 Thread Arjan van der Oest
Hi,

I've build a new P4 box (1.8Ghz, 512MB mem) based upon a ASUS P4B533VM
motherboard. This board has an Intel 845G chipset and onboard 10/100
mbit/s LAN (fxp driver).

When connected directly to a gateway (in my case an Extreme BD10k) I
observe the following behaviour: a ping to the gateway starts around
1ms and slowly increases in steps of .1 or .2ms to around 10ms. Then
it suddenly drops back to 1ms and the process starts all over again.

I've tried a different NIC (3com, xl driver), new cabling, new
switchport and all gives me the same result. My other labbox (a AMD
2000 XP+ with 3com PCI nic) connected to the same router is showing
normal latency. This gives me the feeling it's some sort of timing
issue on the P4's motherboard itself.

Has anyone seen this before? I've searched the archives and found
little on this topic. Any tips/hints where I can seach for further
clues?

Thanks,

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


RE: increasing latency on idle box with ASUS P4B533VM board

2005-08-19 Thread Arjan van der Oest
Dimitry,

vrijdag 19 augustus 2005 16:19, Dmitry Mityugov
mailto:[EMAIL PROTECTED] wrote:

 Just a shot in the dark but is HT enabled in that P4?

It's an older MB but as far as I can see in the BIOS and the specs on
asus.com it doesn't support HT.

Thanks,

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


RE: FXP driver....

2005-08-19 Thread Arjan van der Oest
Daniel,
 
I haven't used the fxp driver in a while but you can check out the man page
for the driver (man 4 fxp) and it mentions that you can disable autoselect
for media type and speed. I remember reading in an article (I can't locate
the URL) that the autonegotiation between the NIC and switch/router can be a
bottleneck. That would be the easiset thing to check/eliminate. Hope that
helps.

For both the xl and fxp driver (if not, for all?) this would be media
100basetx mediaopt full-duplex and this is standard practise for me :)
 
It doesn't make any difference, neither on the 3com or the intel card :(
 
Thanks,
 
Arjan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how to install on laptop? video issue?

2005-06-19 Thread Peter van der Linden
I want to install FreeBSD 5.4 onto a partition on my 1 year old HP 
laptop.


I've done a lot of Linux distro installs, and sometimes I need to give 
the installer a hint about the graphics card,

typically something  like:

boot: linux vga=771

When I try the FreeBSD installer, the screen goes blank about 5 seconds 
after it starts booting from the CD, typically at the point where it 
switches to X Window in a Linux install.


Is there a similar hint I can give FreeBSD about the type of graphics 
to use?  What are the syntax and choices?

I have googled for this without success.  Thanks,

Peter

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


Re: Will Sempron 754 run with FreeBSD i386?

2005-04-04 Thread Olaf van der Spek
On Apr 4, 2005 3:33 PM, Andrew P. [EMAIL PROTECTED] wrote:
 Gareth Bailey wrote:
  Thanks. Can anyone else comment on the following points?:
 
  The 754 Sempron:
 
  - Will run in FreeBSD 4.11 i386?
  - Will not be faster than Sempron socket A?
 
  Thanks
 
  Gareth
 
 I think you forgot to cc this message to
 freebsd-questions. Anyways, to further
 comment on these issues:
 
 Sempron cores are identical in Socket A and
 Socket 754 versions. Both support only 32-bit

Are you sure?
The s754 versions have an on die memory controller and a K8 core
(although with disabled 64-bit mode), which should make it
significantly faster then the K7 based Sempron on sA.

 instruction sets (i686 in terms of CPUTYPE
 and i386 in terms of MACHINE). Any x86 OS
 will run on Sempron/754 smoothly. Personally,
 I think it's a much better choice than Celeron D.
 
 Sempron/754 might be a little faster than
 it's Socket A version - but that's _only_
 because of the chipsets for Socket 754 are
 more advanced than Socket A ones. I would
 generally recommend using Sempron/754, as
 you could upgrade to Athlon 64 later and
 FreeBSD/x64 then. On the other hand, s754
 will be deprecated in a few years in favour
 of s939.

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


Re: Will Sempron 754 run with FreeBSD i386?

2005-04-04 Thread Olaf van der Spek
On Apr 4, 2005 6:13 PM, Andrew P. [EMAIL PROTECTED] wrote:
  Are you sure?
  The s754 versions have an on die memory controller and a K8 core
  (although with disabled 64-bit mode), which should make it
  significantly faster then the K7 based Sempron on sA.
 
 Yeah, it appears I got a wrong idea from some poor
 article. As a matter of fact, Sempron/sA is based
 on Barton core, while Sempron/s754 is a K8 sister.
 The latter has an on-chip memory controller and
 SSE2 instruction set supported. They are pretty
 same in all other aspects though, and I still
 suppose the perfomance margin is negligible.

Why do you expect so much performance to be lost compared to the Athlon 64 s754?
The Athlon 64 s754 is significantly faster than the Athlon XP.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MySQLd crash: signal 11

2005-04-01 Thread Olaf van der Spek
Hi,

I've got MySQL 4.1 and FreeBSD 4 and have some issues with it crashing.
Does anyone know what could cause this or how it could be solved?

uname -a
FreeBSD greek-torrents.com 4.11-STABLE FreeBSD 4.11-STABLE #0: Tue Feb
 8 22:53:48 CET 2005
[EMAIL PROTECTED]:/usr/src/sys/compile/HOSTING  i386

050331 22:21:00  mysqld restarted
050331 22:21:00  InnoDB: Started; log sequence number 0 43912
/usr/local/libexec/mysqld: ready for connections.
Version: '4.1.10'  socket: '/tmp/mysql.sock'  port: 3306  FreeBSD
port: mysql-server-4.1.10
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=16384
read_buffer_size=258048
max_used_connections=36
max_connections=200
threads_connected=28
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size +
sort_buffer_size)*max_connections = 63214 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

050331 22:21:34  mysqld restarted
050331 22:21:34  InnoDB: Started; log sequence number 0 43912
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I can't get anything from mailing list

2005-01-09 Thread Der
Greg 'groggy' Lehey wrote:
 Did you get your confirmation that you're signed up?
yes, I did.

  Or what??
 Difficult to say.  My guess would be that something went wrong with
 the registration, or that your ISP is dropping the mail.
My Register Procedure:
First, I Subscribe at
http://lists.freebsd.org/mailman/listinfo/freebsd-questions  Subscribing 
to
freebsd-questions
Second, I receive the Confirmation of subscribe request e-mail, and I visit
the web page(http://.../freebsd-questions/CONFIRM_CODE) to confirm my
register by push Subscribe to list freebsd-questions botton
Third, I receive the Welcome to the freebsd-questions mailing list e-mail,
and I can login to my personal management page

What may be omitted by me ??
PS: thank your reply, Greg.  : )


---
Der [EMAIL PROTECTED]

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


I can't get anything from mailing list

2005-01-08 Thread Der
I was join this list yestoday, and I can't get anything from mailing
list.
Is it due to time zone ?? Or what??



---
Der [EMAIL PROTECTED]

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


FreeBSD Port: mozilla-1.6_4,2

2004-06-25 Thread Arend P. van der Veen
Hi,
I have a general question about how to configure mozilla.  I personally 
like to use a window manager like ion.  GNOME is very beautiful but I 
usually do not need all of the additional applications and overhead.   I 
usually install X, ion and Mozilla.   The big problem that I am having 
(and why I am making this post) is that when I configure the system in 
this fashion Mozilla does not look very good.  If I install GNOME 
everything looks great.  I can even run mozilla from ion and it looks 
great.

I have played around with fonts, etc. but it has never had any big 
impact.   I  have found that installing the bitstream-vera fonts help.

Does anybody have an explanation of what is going on here ?  Are there 
some key libraries from GNOME that I need to compile mozilla with ?  I 
would be very interested in any feedback.

I am running FreeBSD 5.2.1, Mozilla 1.6_4.2 and GNOME2-2.6.1.
Thanks in advance,
Arend van der Veen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Bash Startup Files

2004-06-10 Thread Arend P. van der Veen
Hi,
I have been trying to clarify what bash startup files are sourced and when.  
I am using bash-2.05b.007.  I have been hunting around on the web and I have
found the following summary: 

For Login shells:
   On logging in:
  If `|/etc/profile|' exists, then source it.
  If `|~/.bash_profile|' exists, then source it,
 else if `|~/.bash_login|' exists, then source it,
else if `|~/.profile|' exists, then source it.
   On logging out:
  If `|~/.bash_logout|' exists, source it.
For non-login interactive shells:
   On starting up:
  If `|~/.bashrc|' exists, then source it.
For non-interactive shells:
   On starting up:
  If the environment variable |ENV| is non-null, expand the
  variable and source the file named by the value.  If Bash is
  not started in Posix mode, it looks for |BASH_ENV| before
  |ENV|.
(From http://www.cse.unsw.edu.au/help/doc/info/bash/Bash_Startup_Files.html)
Other discussions on this topic essentially state the same thing.
After some testing it is not clear to me if bash under FreeBSD 4.9 is 
working the same way. I have a case where both ~/.profile and ~/.bash_profile 
exist and both are sourced.   This is in contradition to the above statements.

Can anybody point me to information to clarify what bash startup files are sourced
and when ?
Thanks in advance,
Arend van der Veen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ports Collection and FreeBSD 5.2.1

2004-06-03 Thread Arend P. van der Veen
Hi,
I have been recently testing FreeBSD 5.2.1.  I load the initial system 
from CD, install and configure cvsup and then download all of the src 
and port changes.  My supfile is:

*default host=cvsup2.us.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_5_2
*default delete use-rel-suffix compress
src-all
ports-all tag=.
I then execute:
cvsup -g -L 2 /usr/sup/supfile
portsdb -Uu
portsdb returns a lot of warnings about dependency lists.  I do not have 
this problem under 4.10.

Does anybosy have any idea what I am doing wrong or is there something 
different in the ports collection under 5.X.

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


Re: Ports Collection and FreeBSD 5.2.1

2004-06-03 Thread Arend P. van der Veen
I think I figured out the problem that I was having.  I compiled 
portupgrade before I performed a cvsup and rebuilt the kernel.  Now I 
run cvsup, rebuild the kernel, install portupgrade (and pkgtools 
dependency) using make install and then execute portsdb -Uu.

When I perform these steps the problems that I had cleared up.  It was a 
stupid mistake on my part. 

I do have an additional question.  I thought that my cvsup input was 
setup to load the complete ports collection.  Specifically, the line

ports-all tag=.
loads the complete ports collection.  Is this correct ?
Thanks for your help,
Arend
Lowell Gilbert wrote:
Arend P. van der Veen [EMAIL PROTECTED] writes:
 

I have been recently testing FreeBSD 5.2.1.  I load the initial system
from CD, install and configure cvsup and then download all of the src
and port changes.  My supfile is:
*default host=cvsup2.us.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_5_2
*default delete use-rel-suffix compress
src-all
ports-all tag=.
I then execute:
cvsup -g -L 2 /usr/sup/supfile
portsdb -Uu
portsdb returns a lot of warnings about dependency lists.  I do not
have this problem under 4.10.
Does anybosy have any idea what I am doing wrong or is there something
different in the ports collection under 5.X.
   

You don't have the full ports collection.
These warnings have been broken lately, but I believe the plan is to
fix them and make them fatal (so everyone will have to get the full
ports collection if they want to build their own INDEX).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: FreeBSD 5.2.1 on IBM T30

2004-05-30 Thread Arend P. van der Veen
Hi,
Thanks for you input.  I have made some progress.  I had to set 
hw.pci.allow_unsupported_io_range=1 during boot and then added it to 
/boot/loader.   I learned this from:

http://gerda.univie.ac.at/freebsd-laptops
I have not had any problems with ACPI yet but I will keep your 
suggestions in mind.  My next task will be power management, sound and 
cdrom.

Thanks again for you comments.
Arend
Charles Oppermann wrote:
Have you tried disabling ACPI support at the boot loader menu?  My T40 locks
up at a different location during the boot if ACPI is enabled.
Charles Oppermann, [EMAIL PROTECTED],
http://weblogs.asp.net/chuckop/
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arend P. van der
Veen
Sent: Friday, May 28, 2004 7:41 AM
To: [EMAIL PROTECTED]
Subject: FreeBSD 5.2.1 on IBM T30
Hi,
I have just tried to install a fresh distribution of FreeBSD 5.2.1 on a 
IBM T30.   The system locks up with just after:

pccard0: 16-bit PCCard bus on cbb0
cbb0: [MPSAFE]
I have been using this same laptop with FreeBSD 4.9 and 4.10 without any 
problems.

Does anybody have FreeBSD 5.2.1 running on a IBM T30 ?
Thanks in advance,
Arend
 

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


FreeBSD 5.2.1 on IBM T30

2004-05-28 Thread Arend P. van der Veen
Hi,
I have just tried to install a fresh distribution of FreeBSD 5.2.1 on a 
IBM T30.   The system locks up with just after:

pccard0: 16-bit PCCard bus on cbb0
cbb0: [MPSAFE]
I have been using this same laptop with FreeBSD 4.9 and 4.10 without any 
problems.

Does anybody have FreeBSD 5.2.1 running on a IBM T30 ?
Thanks in advance,
Arend
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


GNOME 2.6 and R 1.8.1

2004-04-17 Thread Arend P. van der Veen
Hi,

I use R 1.8.1 (R PROJECT) on FreeBSD 4.9 P5 with GNOME 2.6.0.  When I 
install R it cannot find GNOME.  It does successfully find X11 and
tcltk.  It complains that it can not find:

gnome-config
gnomeConf.sh

When I run R from GNOME the graphic  windows do not have any title bars
and R terminal output gets corrupted.

When I run R from sawfish everything works great.

Does anybody know what gnome port includes gnome-config or gnomeConf.sh?

Has any body been able to successfully run R from gnome ?

Thanks in advance
Arend van der Veen


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


Packages

2004-04-15 Thread Arend P. van der Veen
Hi,

I have a question about ports.  I have a port installed.  I want to make
package for it also.  I find that I must delete the package from my
system first and then go make package.  This is because make package
must install the package first.  

Is there a better way to make a package that does not require me to
uninstall and reinstall it from my system ?

Thanks in advance,
Arend


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