buildworld failing.

2005-05-07 Thread Brian Wolman
Hi all,
   I can't seem to get a buildworld to complete without errors. I 
_just_ went from 4.11 to 5.4 using sources. The buildworld then also had 
errors. The errors are below, as well as a locate for the missing 
libraries. If you go into the directory for 
/usr/local/libexec/mail.local and do make, it compiles just fine and 
then buildwork goes over it. I don't think doing that for each one is 
the best thing to do. I've searched through the web, and went through 
UPDATING again, and did not seem to find anything related. Any help 
would be greatly appreciated.

  Thank you
  Brian
===> libexec/getNAME
===> libexec/getty
===> libexec/mail.local
cc -O -pipe  
-I/usr/src/libexec/mail.local/../../contrib/sendmail/include -I. 
-I/usr/local/include/sasl1 -DSASL   -L/usr/local/lib -o mail.local 
mail.local.o /usr/obj/usr/src/libexec/mail.local/../../lib/libsm/libsm.a 
-lsasl
/usr/obj/usr/src/i386/usr/bin/ld: warning: libpam.so.1, needed by 
/usr/local/lib/libsasl.so, not found (try using -rpath or -rpath-link)
/usr/obj/usr/src/i386/usr/bin/ld: warning: libldap.so.2, needed by 
/usr/local/lib/libsasl.so, not found (try using -rpath or -rpath-link)
/usr/obj/usr/src/i386/usr/bin/ld: warning: liblber.so.2, needed by 
/usr/local/lib/libsasl.so, not found (try using -rpath or -rpath-link)
/usr/local/lib/libsasl.so: undefined reference to `ldap_get_dn'
/usr/local/lib/libsasl.so: undefined reference to `pam_end'
/usr/local/lib/libsasl.so: undefined reference to `pam_authenticate'
/usr/local/lib/libsasl.so: undefined reference to `ldap_unbind'
/usr/local/lib/libsasl.so: undefined reference to `ldap_first_entry'
/usr/local/lib/libsasl.so: undefined reference to `ldap_simple_bind_s'
/usr/local/lib/libsasl.so: undefined reference to `ldap_set_option'
/usr/local/lib/libsasl.so: undefined reference to `ldap_memfree'
/usr/local/lib/libsasl.so: undefined reference to `pam_start'
/usr/local/lib/libsasl.so: undefined reference to `ldap_init'
/usr/local/lib/libsasl.so: undefined reference to `ldap_search_ext_s'
/usr/local/lib/libsasl.so: undefined reference to `ldap_msgfree'
*** Error code 1

Stop in /usr/src/libexec/mail.local.
*** Error code 1
Stop in /usr/src/libexec.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
jasper# locate libpam.so.1
/usr/lib/libpam.so.1
/usr/src/lib/compat/compat4x.alpha/libpam.so.1.bz2.uu
/usr/src/lib/compat/compat4x.i386/libpam.so.1.bz2.uu
jasper# locate libldap.so.2
/usr/local/lib/libldap.so.2
jasper# locate liblber.so.2
/usr/local/lib/liblber.so.2
jasper#
--
Brian Wolman
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


natd opening partition

2010-03-18 Thread Brian Wolman
Hey there, I run a test server here at the house that also runs natd to
share internet across the network. The past few weeks my free space on
/var was running dangerously low. After some investigation, I found out
that the used space was actually an open file, and here is what lsof
showed me:

natd  1736  root4w  VREG   0,84 410420438 23670 /var (/dev/ad4s1d)

Normally, natd is only supposed to open it's log file:

natd 34254  root4w  VREG   0,84   218703 23582 /var/log/alias.log

I've since disabled logging to alias.log and the problem has not
re-occurred, however I would still like to know what I could have done
to cause that, or if maybe it's some kind of bug.

-Brian
___
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 8, serial console problem

2010-03-22 Thread Brian Wolman
FreeBSD 8 uses the uart system to handle serial consoles, I changed mine
over and I've been running into problems since.

I have serial console access during the loader and boot process, but it
freezes right after boot and posting of the date:

Mon Mar 22 22:18:08 EDT 2010

Well, the kernel still outputs to the console, as evident when I plugged
in a keyboard into the usb slot:

ugen1.2:  at usbus1
uhub5:  on usbus1
(server.example.com) (ttyu0)

login: uhub5: 4 ports with 2 removable, bus powered

I typed 'root' and then it froze. Again, I plugged in the keyboard, but
this time I couldn't type anything despite getting another login prompt.
I even echoed to the console and it worked. Finally I typed kldload uart
into my ssh terminal and poof:

FreeBSD/i386 o(server.example.com) (ttyu0)
u
login: jhlgf

e_register: module isa/uart already exists!
Module isa/uart failed to register: 17
module_register: module pci/uart already exists!
Module pci/uart failed to register: 17

I was able to login and everything worked fine.
Notice how uart already exists.. it's compiled into the kernel. Right
now the only way I've come up with to fix my broken console is to
kldload, but I can only do it once per boot. If it breaks after that,
I'm out of luck until I reboot.
___
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"