Re: ports/net-mgmt/net-snmp (CURRENT) failes on make install
Hi, On Wed, Mar 25, 2009 at 7:25 AM, Matthias Apitz g...@unixarea.de wrote: Hi, # cd /usr/ports/net-mgmt/net-snmp # cvs update ? work cvs update: Updating . cvs update: Updating files cvs update: Updating patches.aout # make install ... installing sysv.h in /usr/local/include/net-snmp/system installing ultrix4.h in /usr/local/include/net-snmp/system installing dragonfly.h in /usr/local/include/net-snmp/system creating directory /usr/local/include/net-snmp/machine installing generic.h in /usr/local/include/net-snmp/machine making installlibs in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib /bin/sh ../libtool --mode=compile cc -I../include -I. -I../snmplib -DNETSNMP_ENABLE_IPV6 -O2 -pipe -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.9/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/lib/perl5/5.8.9/mach/CORE -c -o mib.lo mib.c cc -I../include -I. -I../snmplib -DNETSNMP_ENABLE_IPV6 -O2 -pipe -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.9/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/lib/perl5/5.8.9/mach/CORE -c mib.c -fPIC -DPIC -o .libs/mib.o ../include/net-snmp/library/data_list.h:75: error: nested function 'netsnmp_get_list_node' declared but never defined ../include/net-snmp/library/data_list.h:60: error: nested function 'netsnmp_create_data_list' declared but never defined *** Error code 1 Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib. *** Error code 1 Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1. *** Error code 1 Stop in /usr/ports/net-mgmt/net-snmp. Any ideas? I guess you are running 8.0-CURRENT, a fix was commited about this issue, http://lists.freebsd.org/pipermail/svn-src-all/2009-March/006931.html Hope this helps matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/ ___ 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 Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ 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: X to not blank screen or switch off monitor
Hi, On Wed, Feb 25, 2009 at 5:48 PM, Brent Clark brentgclarkl...@gmail.com wrote: Hiya I got a very minimalistic installation of FreeBSD, so much so that I login on console and just run startx and im presented with twm. The problem I seem to face is that I cant get X and / or freebsd to not blank the screen and / or switch off the monitor. Ive run xset s noblank vbetool dpms on I even set blanktime=NO in /etc/rc.conf. And yet after a period in time of idleness my monitor goes off. I've done a similar setup, add in your xorg.conf Section ServerLayout [...] Option blank time 0 Option standby time 0 Option suspend time 0 Option off time 0 EndSection Section Monitor [...] Option DPMS EndSection So far it works with xorg 7.4 HTH If anyone can help me understand or achieve my objective, i would be most grateful. Kind Regards Brent Clark ___ 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 Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ 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 do dbus hal work?
Hi, On Tue, Oct 14, 2008 at 12:03 AM, Aniruddha [EMAIL PROTECTED] wrote: I'm trying to mount (USB) devices in KDE/Gnome automagically through dbus and hal. I added the following lines to /etc/rc.conf: dbus_enable=YES hald_enable=YES Unfortunately when I insert an USB (NTFS formatted) nothing happens. When I insert a (fat) sdcard in my cardreader still nothing happens. I do think I'm missing something obvious, who know what it is? Do a 'tail -f /var/log/messages' then insert your sd card and see what's going on. The HAL faq may be useful http://www.freebsd.org/gnome/docs/halfaq.html. -- Regards, Aniruddha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nat and firewall
On Fri, Oct 3, 2008 at 5:24 AM, fire jotawski [EMAIL PROTECTED] wrote: On Thu, Oct 2, 2008 at 7:39 PM, Dominique Goncalves [EMAIL PROTECTED] wrote: Hi, On Thu, Oct 2, 2008 at 6:09 AM, fire jotawski [EMAIL PROTECTED] wrote: On Thu, Sep 25, 2008 at 12:10 AM, Kevin Kinsey [EMAIL PROTECTED] wrote: FBSD1 wrote: natd_enable=YES This statement in rc.conf enables ipfw nated function. firewall_nat_enable=YES This is an invalid statement. No such thing as you have here. This is no longer true; he did indeed find firewall_nat_enable in /etc/defaults/rc.conf. The knob seems to have first appeared in February in HEAD and I'm guessing it cues the system to use a new kernel-based nat rather than natd(8), but I've not read anything further about this, as my system isn't as up to date as the OP's. I don't know when this change was MFC'ed, but apparently fairly recently? I suppose we need someone a tad more in the know to straighten that out for us. up to this moment, i do not know if natd and firewall_nat function in the same or different. and is there firewall_nat_flags thing too ? I'll try to explain, natd_* knobs are for natd(8), a daemon firewall_nat_* knobs are for ipfw(8), NAT is processed by the kernel firewall_nat_* was added in the begenning of year in RELENG_7 http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.firewall?r1=1.52.2.2#rev1.52.2.2 The NAT configuration is done by /etc/rc.firewall, you can read this file to know how the configuration is done. This is two different ways to do NAT. I can't speak about performance, kernel vs daemon. many thanks indeed for your clear explanations. so we simply use just one of them but not both, do not we ? Yes. once again, i appreciate all of your kind asistances in my case. with best regards, psr Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nat and firewall
Hi, On Thu, Oct 2, 2008 at 6:09 AM, fire jotawski [EMAIL PROTECTED] wrote: On Thu, Sep 25, 2008 at 12:10 AM, Kevin Kinsey [EMAIL PROTECTED] wrote: FBSD1 wrote: natd_enable=YES This statement in rc.conf enables ipfw nated function. firewall_nat_enable=YES This is an invalid statement. No such thing as you have here. This is no longer true; he did indeed find firewall_nat_enable in /etc/defaults/rc.conf. The knob seems to have first appeared in February in HEAD and I'm guessing it cues the system to use a new kernel-based nat rather than natd(8), but I've not read anything further about this, as my system isn't as up to date as the OP's. I don't know when this change was MFC'ed, but apparently fairly recently? I suppose we need someone a tad more in the know to straighten that out for us. up to this moment, i do not know if natd and firewall_nat function in the same or different. and is there firewall_nat_flags thing too ? I'll try to explain, natd_* knobs are for natd(8), a daemon firewall_nat_* knobs are for ipfw(8), NAT is processed by the kernel firewall_nat_* was added in the begenning of year in RELENG_7 http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.firewall?r1=1.52.2.2#rev1.52.2.2 The NAT configuration is done by /etc/rc.firewall, you can read this file to know how the configuration is done. This is two different ways to do NAT. I can't speak about performance, kernel vs daemon. Hope this helps. thanks in advanced for any helps and hints. regards, psr Kevin Kinsey -- A wise man can see more from a mountain top than a fool can from the bottom of a well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount msdosfs with hal
Hi, On Fri, Sep 19, 2008 at 1:58 AM, ronggui [EMAIL PROTECTED] wrote: Dear all, I want to use hal to auttomount the windows fat32 partition with gnome. after setting gnome_enable=YES, hal automount it, but there is a problem. hal seems to execute mount_msdosfs /dev/xxx /mountpoint, so the encoding is not handled correctly. If I mount it manually, it should be mount_msdosfs -D=CP936 -L=zh_CN.eucCN /dev/xxx /mountpoint. So my question is how to set the things right? I think I need to modify some fdi files, but just can not figure out. You need to add '-L=zh_CN.eucCN' in /system/storage/default_options/vfat/mount_options with gedit. I use this key to add '-o large' to mount correctly my msdosfs partition of 500GB and it works. Hope this helps Thanks in advance. Best -- HUANG Ronggui, Wincent Tel: (00852) 3442 3832 Ph.D. Candidate, CityU of HK Master of sociology, Fudan University, China Bachelor of Social Work, Fudan University, China Personal homepage: http://ronggui.huang.googlepages.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount msdosfs with hal
Hi, On Fri, Sep 19, 2008 at 5:31 PM, ronggui [EMAIL PROTECTED] wrote: You mean by gconf-editor? It is very strange. When I add -L=zh_CN.eucCN to the key, it won't mount any msdosfs anymore. My bad, yes of course it's with gconf-editor. I've just tried with -L=fr_FR.ISO8859-15 and also with L=zh_CN.eucCN and it's still mounting. $ gconftool-2 --get /system/storage/default_options/vfat/mount_options [longnames,-u=,large,-L=fr_FR.ISO8859-15] from my /var/log/messages: Sep 19 23:15:25 FreeGnome kernel: GEOM_LABEL: Label for provider da0s1 is msdosfs/JETDISK. Sep 19 23:15:31 FreeGnome gnome-keyring-daemon[1724]: adding removable location: volume_uuid_33D4_B30C at /usr/home/media/JETDISK___ $ mount|grep msdosfs /dev/msdosfs/JETDISK on /usr/home/media/JETDISK__ (msdosfs, local, nosuid) I'm not sure what's going on in your case sorry. You could try to report your problem at freebsd-gnome@ mailing list but read http://www.freebsd.org/gnome/docs/halfaq.html#q4 before. Don't know if it makes a difference but I use gnome 2.23.92. PS: the default mount_option is [longnames, -u=] Thanks. On Fri, Sep 19, 2008 at 3:05 PM, Dominique Goncalves [EMAIL PROTECTED] wrote: Hi, On Fri, Sep 19, 2008 at 1:58 AM, ronggui [EMAIL PROTECTED] wrote: Dear all, I want to use hal to auttomount the windows fat32 partition with gnome. after setting gnome_enable=YES, hal automount it, but there is a problem. hal seems to execute mount_msdosfs /dev/xxx /mountpoint, so the encoding is not handled correctly. If I mount it manually, it should be mount_msdosfs -D=CP936 -L=zh_CN.eucCN /dev/xxx /mountpoint. So my question is how to set the things right? I think I need to modify some fdi files, but just can not figure out. You need to add '-L=zh_CN.eucCN' in /system/storage/default_options/vfat/mount_options with gedit. I use this key to add '-o large' to mount correctly my msdosfs partition of 500GB and it works. Hope this helps Thanks in advance. Best -- HUANG Ronggui, Wincent Tel: (00852) 3442 3832 Ph.D. Candidate, CityU of HK Master of sociology, Fudan University, China Bachelor of Social Work, Fudan University, China Personal homepage: http://ronggui.huang.googlepages.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. -- HUANG Ronggui, Wincent Tel: (00852) 3442 3832 Ph.D. Candidate, CityU of HK Master of sociology, Fudan University, China Bachelor of Social Work, Fudan University, China Personal homepage: http://ronggui.huang.googlepages.com/ Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 6.3 to 7.0 STABLE upgrade buildworld failures
Hi, On Thu, Jun 5, 2008 at 7:20 PM, Casey Scott [EMAIL PROTECTED] wrote: Can we no longer use make buildworld to upgrade from source builds? Everytime I've tried, I get build errors. I've gotten the impression from a few things I've read that freebsd-update is suppose to be used. I don't want a binary install/upgrade though. I've just sync from CVS with this in the config: *default host=cvsup15.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_7 *default delete use-rel-suffix *default compress src-all Pretty much the same config I've always used, except the RELENG_7. I continually get errors when make buildworld. I went back to the 6.3 source, and successfully make buildworld. My current attempt at buildword with the 7.0 died like this: * === usr.bin/awk (obj,build-tools) yacc -d -o awkgram.c /usr/src/usr.bin/awk/../../contrib/one-true-awk/awkgram.y yacc: 43 shift/reduce conflicts yacc: 85 reduce/reduce conflicts ln -sf awkgram.h ytab.h cc -O -pipe -DHAS_ISBLANK -I. -I/usr/src/usr.bin/awk/../../contrib/one-true-awk -DFOPEN_MAX=64 -I/usr/obj/usr/src/tmp/legacy/usr/include -L/usr/obj/usr/src/tmp/legacy/usr/lib /usr/src/usr.bin/awk/../../contrib/one-true-awk/maketab.c -o maketab === lib/libmagic (obj,build-tools) cc -DHAVE_CONFIG_H -DCOMPILE_ONLY -I/usr/src/lib/libmagic -I/usr/src/lib/libmagic/../../contrib/file -o mkmagic /usr/src/lib/libmagic/../../contrib/file/apprentice.c /usr/src/lib/libmagic/../../contrib/file/funcs.c /usr/src/lib/libmagic/../../contrib/file/magic.c /usr/src/lib/libmagic/../../contrib/file/print.c === usr.sbin/sysinstall (obj,build-tools) cc -o rtermcap /usr/src/usr.sbin/sysinstall/rtermcap.c -ltermcap === gnu/usr.bin/cc/cc_tools (obj,depend,all) make: don't know how to make /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/ansidecl.h. Stop *** Error code 2 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. * The previous attempt died due to a missing tconfig.h. Can anyone shed some light on this please? I can't remember ever having trouble with a buildworld before!! TIA, Casey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Try to remove /usr/obj, if it still does not work run # make cleandir ; make cleandir (yes twice) And don't use -j with make when doing a major upgrade (6.x - 7.x) Hope this helps Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: downgrading /sys/src
Hi, On 5/31/08, Mario Lobo [EMAIL PROTECTED] wrote: This may sound wierd but let me explain why. On last may/26, I added a Sound Blaster Live to my machine and I wanted to activate the midi interface of the emu10kx driver. I know there were some memory and timming problems but I wanted to experiment. So I did a csup to 7_CURRENT (which is the tag I always use) then edited emu10kx to coment out the #if 0 that excludes the midi code. I took the oportunity to coment the drivers I did not need to make the kernel smaller. Recompiled and loaded emu10kx from loader.conf. the Kernel crashed right after the acpi_hpet driver load. But by loading emu10kx later, there was no crash and SB board worked fine. A hunch told me to save kernel.old so I moved it to kernel.good which is: FreeBSD lobo 7.0-STABLE FreeBSD 7.0-STABLE #1: Thu May 22 18:32:28 BRT 2008 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/LOBO i386 After that I went on to make some DVD backups with k3b which ALWAYS worked fine and now, after this upgrade, k3b keeps crashing without finishing. Software and device buffers usage behaved erratically, and even if it doesn't crash, it stops in around 30% with a write error. I lost a few DVDs, since I suspected the DVD+RW may have had something to do with the problem. I recompiled k3b (and the other ports around it) but results were the same. Anyway, after several unsuccessful attempts to correct the problem by removing/re-adding kernel drivers, recompiles and even removing the SB board, I decided to move /boot/kernel to kernel.new, and copied kernel.good to kernel and voilá ! Everything went back to normal and worked fine! What I want to do is to make a copy of my current /src/sys, revert it back to what it was in may/22 (kernel.good) and compare it with the current /src/sys to see what changed that provoked this behavior. I suspect of ata and memory handling changes but it's just a guess. I'd have to have both sources to compare. So my question is: How can I get my /src/sys back to what it was in may/22? can this be done? You could use the 'date=' option in your stable-supfile: *default release=cvs tag=RELENG_7 date=2008052200 man 1 csup for more details Hope this helps Regards. sorry for the long post and thanks -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Help compiling source code
Hi, On Tue, May 13, 2008 at 12:01 AM, Ross Gohlke [EMAIL PROTECTED] wrote: I am a longtime FreeBSD user accustomed to ports. I have never been comfortable compiling source code except under the most vanilla of circumstances (ie, when nothing goes wrong). QUESTION: How can I change pam-pgsql's configure script to find pgsql's libraries? The machine in question is a Powerbook G4 (PowerPC) running Mac OS 10.4.11. I am using MacPorts (equivalent of ports). One small piece of software (available in FreeBSD ports) is a lynchpin of my entire operation - pam-pgsql. Pam-pgsql gives me virtual email users which are easily shared between Postfix and Cyrus IMAP while letting me use my SQL backend of preference - PostgreSQL. There is no macport available for pam-pgsql, so I must compile the source myself. It is not working. My hunch is that the fix is simple - something with paths, because macports installs PostgreSQL at weird paths and the pam-pgsql configure script expects a standard location. ## /opt/local/src/pam-pgsql/configure.in dnl Configure template for pam_pgsql AC_INIT(pam_get_pass.c) AC_CONFIG_HEADER(config.h) dnl Checks for libraries. AC_CHECK_LIB(pam, pam_get_user) dnl Checks for header files. AC_CANONICAL_HOST AC_HEADER_STDC AC_CHECK_HEADERS(syslog.h) AC_CHECK_HEADERS(netdb.h) AC_MSG_CHECKING(for PostgreSQL headers) for d in /usr /usr/local /usr/local/pgsql; do test -f $d/include/libpq-fe.h { AC_SUBST(PGSQL_INC) PGSQL_INC=-I$d/include PG_DIR=$d AC_MSG_RESULT($d/include) } test -f $d/include/postgresql/libpq-fe.h { AC_SUBST(PGSQL_INC) PGSQL_INC=-I$d/include/postgresql PG_DIR=$d AC_MSG_RESULT($d/include/postgresql) } test -f $d/include/postgresql/8.0/libpq-fe.h { AC_SUBST(PGSQL_INC) PGSQL_INC=-I$d/include/postgresql/8.0 PG_DIR=$d AC_MSG_RESULT($d/include/postgresql/8.0) } test -f $d/include/pgsql/libpq-fe.h { AC_SUBST(PGSQL_INC) PGSQL_INC=-I$d/include/pgsql PG_DIR=$d AC_MSG_RESULT($d/include/pgsql) } done old_LDFLAGS=$LDFLAGS LDFLAGS=$LDFLAGS -L$PG_DIR/lib AC_CHECK_LIB(pq, PQexecParams, [AC_SUBST(PGSQL_LIB) PGSQL_LIB=-L$PG_DIR/lib], [AC_MSG_ERROR(could not determine PostgreSQL library location)]) LDFLAGS=$old_LDFLAGS .. ## /opt/local/include/postgresql83/ -rw-r--r--2 root admin600 May 12 12:25 ecpg_config.h -rw-r--r--2 root admin 2776 May 12 12:25 ecpg_informix.h -rw-r--r--2 root admin 2600 May 12 12:25 ecpgerrno.h -rw-r--r--2 root admin 2440 May 12 12:25 ecpglib.h -rw-r--r--2 root admin 2560 May 12 12:25 ecpgtype.h drwxr-xr-x3 root admin102 May 12 12:26 informix drwxr-xr-x8 root admin272 May 12 12:26 internal drwxr-xr-x3 root admin102 May 12 12:26 libpq -rw-r--r--2 root admin 18410 May 12 12:25 libpq-fe.h -rw-r--r--2 root admin 21700 May 12 12:25 pg_config.h -rw-r--r--2 root admin 8954 May 12 12:25 pg_config_manual.h -rw-r--r--2 root admin217 May 12 12:25 pg_config_os.h -rw-r--r--2 root admin814 May 12 12:25 pgtypes_date.h -rw-r--r--2 root admin588 May 12 12:25 pgtypes_error.h -rw-r--r--2 root admin 1485 May 12 12:25 pgtypes_interval.h -rw-r--r--2 root admin 2306 May 12 12:25 pgtypes_numeric.h -rw-r--r--2 root admin 1057 May 12 12:25 pgtypes_timestamp.h -rw-r--r--2 root admin 1837 May 12 12:25 postgres_ext.h drwxr-xr-x 40 root admin 1360 May 12 12:26 server -rw-r--r--2 root admin834 May 12 12:25 sql3types.h -rw-r--r--2 root admin 1267 May 12 12:25 sqlca.h ## /opt/local/lib/postgresql83/ -rwxr-xr-x2 root admin 106392 May 12 12:25 adminpack.so -rwxr-xr-x2 root admin 100444 May 12 12:25 ascii_and_mic.so drwxr-xr-x 25 root admin 850 May 12 12:26 bin -rwxr-xr-x2 root admin 106700 May 12 12:25 cyrillic_and_mic.so -rwxr-xr-x2 root admin 130720 May 12 12:25 dblink.so -rwxr-xr-x2 root admin 425208 May 12 12:25 dict_snowball.so -rwxr-xr-x2 root admin 100448 May 12 12:25 euc_cn_and_mic.so -rwxr-xr-x2 root admin 100540 May 12 12:25 euc_jis_2004_and_shift_jis_2004.so -rwxr-xr-x2 root admin 104952 May 12 12:25 euc_jp_and_sjis.so -rwxr-xr-x2 root admin 100476 May 12 12:25 euc_kr_and_mic.so -rwxr-xr-x2 root admin 105384 May 12 12:25 euc_tw_and_big5.so -rwxr-xr-x2 root admin 118224 May 12 12:25 fuzzystrmatch.so -rwxr-xr-x2 root admin 101164 May 12 12:25 latin2_and_win1250.so -rwxr-xr-x2 root admin 100808 May 12 12:25 latin_and_mic.so -rwxr-xr-x2 root admin69544 May 12 12:25 libecpg.6.0.dylib lrwxr-xr-x1 root admin 17 May 12 12:26 libecpg.6.dylib - libecpg.6.0.dylib -rw-r--r--
Re: Booting from Memory Stick
Hi, On Sat, Mar 1, 2008 at 10:23 PM, [EMAIL PROTECTED] wrote: I am working on getting a FreeBSD system to boot from a USB memory stick. Would it be possible to install the operating system using the following: cd /usr/src make DESTDIR=/mnt/usbdisk world boot0cfg -v -B -o noupdate da0 Or, is there an easier way to do this? Yes, the freesbie2 toolkit (http://www.freesbie.org/) does the job very well. Hope this helps. Thanks, Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPv4 loopback address is missing, why?
Hi, On Feb 16, 2008 6:41 PM, Andrew Falanga [EMAIL PROTECTED] wrote: HI, On my father's computer there isn't an IPv4 loopback address being assigned to the lo0 interface. What would cause this? I've looked at his configs and they're the same as on my system (obviously something is different, but I don't know what). I see in his /etc/defaults/rc.conf the ifconfig_lo0 line is *NOT* commented out or otherwise altered and his file looks the same as mine (at least on this point, I haven't contrasted the two entirely). So, why would his system not be configuring an IPv4 loopback address? After bootup, I can add the address manually using ifconfig. Do you have network_interfaces=something in your /etc/rc.conf ? If so you need also to add lo0. Hope this helps Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Long msg: Unable to enable audio in FreeBSD 6.2 - Chipset VT8233A
Hi, On 10/1/07, Sai Vinob [EMAIL PROTECTED] wrote: Hi all, I'm not able to enable sound on my FreeBSD 6.2 box. I'm trying it here in mailing lists after trying in forumshttp://www.linuxforums.org/forum/everything-bsd/104558-audio-problem-freebsd-6-2-a.html The error message when I click on the speaker icon is: The volume control did not find any elements and/or devices to control. This means either that you don'thave the right GStreamer plugins installed, or that you don't have a sound card configured. My motherboard is Asus K8V-VM Ultra with southbridge VT8233A. It uses a realtek ALC660 codec. Initially, 'kldstat' just showed: Id Refs AddressSize Name 1 10 0xc040 6f6544 kernel 21 0xc0af7000 59f20acpi.ko 31 0xc4364000 16000linux.ko 41 0xc43b9000 17000ng_btsocket.ko 51 0xc43d a000 netgraph.ko 61 0xc43de000 2000 ng_bluetooth.ko and /dev/sndstat did not exist. I then tried 'kldload snd_via8233' and I got this for 'cat /dev/sndstat': #cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: I tried 'kldload snd_driver', the generic case too. But no use. Then I tried loading it as boottime module with 'snd_via8233_load=YES' in the /boot/loader.conf file. The 'kldstat' now shows, Id Refs AddressSize Name 1 12 0xc040 6f6544 kernel 21 0xc0af7000 6170 snd_via8233.ko 32 0xc0afe000 22b88sound.ko 41 0xc0b21000 59f20acpi.ko 51 0xc4368000 16000linux.ko 61 0xc43c6000 17000ng_btsocket.ko 71 0xc43bb000 a000 netgraph.ko 81 0xc43e1000 2000 ng_bluetooth.ko But this did not solve the problem. Looking at the error msg which talked about GStream plugins, I did /usr/sysinstall and from ftp installed whatever GStreamer thing I could find. But nothing helped. Could anyone guide me in activating audio in my box. Save all your chat conversations. Find them online at http://in.messenger.yahoo.com/webmessengerpromo.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] What's the output of dmesg after kldload snd_via8233 ? 'pciconf -vl' could help also to see what's your exact hardware (revision, etc...) Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: D-Link G122 C1 (USB WiFi)
Hi, On 9/28/07, James Jeffery [EMAIL PROTECTED] wrote: Ive tryed for ages to get this USB Wifi card to work with FreeBSD6.2. Many forums are saying its impossible, ive tryed ndis, project evil ect. Has anyone had any success with it? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] There is rum(4) in 7.0-CURRENT according to the manpage it seems to be supported. http://www.freebsd.org/cgi/man.cgi?query=rumapropos=0sektion=0manpath=FreeBSD+7-currentformat=html It's not merged into RELENG_6, but kevlo has made a patch available at http://people.freebsd.org/~kevlo/, you should contact him for more information. HTH, Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CPU Monitoring Software
Hi, On 9/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I was wanting to see what my servers utilize as far as memory, disk, cpu, etc. over a certain time period. Is there some software that I can use? I guess something like the 'top' command that gives an average output over a certain time. I downloaded sysstat for my linux boxes, but it does not want to compile under freebsd. What about using systat(1) ? :-) It's already in the base system. HTH, Regards. Thanks. -- Scott Mayo System Administrator Bloomfield Schools Gun Control: Belief that violent predators willing to ignore laws against robbery, kidnapping, rape, and murder will obey a law telling them that they cannot do so with a gun. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: strange message when login 7.0 CURRENT
Hi, On 9/27/07, vuthecuong [EMAIL PROTECTED] wrote: Everytime when I login to 7.0 CURRENT, this message repeated. Is it harmless or harmful? And how can I solve it? Tnx in advanced Sep 27 22:08:50 hanhnhu login: in openpam_dispatch(): pam_nologin.so: no pam_sm_authenticate() Sep 27 22:08:53 hanhnhu login: in openpam_dispatch(): pam_nologin.so: no pam_sm_setcred() Sep 27 22:09:00 hanhnhu login: in openpam_dispatch(): pam_nologin.so: no pam_sm_setcred() Sep 27 22:09:06 hanhnhu login: in openpam_dispatch(): pam_nologin.so: no pam_sm_authenticate() Sep 27 22:10:54 hanhnhu login: in openpam_dispatch(): pam_nologin.so: no pam_sm_authenticate() Sep 27 22:10:56 hanhnhu login: in openpam_dispatch(): pam_nologin.so: no pam_sm_setcred() There is a note in src/UPDATING about pam_nologin, I don't know if it applies to your problem : 20070610: The pam_nologin(8) module ceases to provide an authentication function and starts providing an account management function. Consequent changes to /etc/pam.d should be brought in using mergemaster(8). Third-party files in /usr/local/etc/pam.d may need manual editing as follows. Locate this line (or similar): authrequiredpam_nologin.so no_warn and change it according to this example: account requiredpam_nologin.so no_warn That is, the first word needs to be changed from auth to account. The new line can be moved to the account section within the file for clarity. Not updating pam.conf(5) files will result in nologin(5) ignored by the respective services. HTH Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disable CTRL+ALT+DELETE
Hi, On 6/4/07, Kenneth Bond [EMAIL PROTECTED] wrote: Hello, I have a quick question regarding disabling the CTRL+ALT+DELETE keystroke sequence used to reboot a system. I understand that you are able to add the following option to the kernel config file and rebuild the kernel: options SC_DISABLE_REBOOT What I'd like to confirm is whether or not using a keymap file and changing the boot entries to nop, and then loading it on each boot through /etc/rc.conf (KEYMAP = /usr/share/syscons/keymap/keymap.kbd) is a viable, secure alternative for disabling the CTRL+ALT+DELETE keystroke sequence. I know it was commonly used with older FreeBSD releases, but I'm not sure whether it is recommended with newer releases. Please advise. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] If you are using FreeBSD =6.2, there is a sysctl knob for disabling CTRL+ALT+DELETE, sysctl hw.syscons.kbd_reboot=0 Take a look at syscons(4) and sysctl(8) for more information. Hope this helps. Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Rebuilding World Failed
Hi, On 4/3/07, Schiz0 [EMAIL PROTECTED] wrote: Hello, I'm running FreeBSD 6.2-Stable. I'm getting errors when I try to rebuild world. I have followed the steps in the handbook at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html I used csup to get the latest updates of both ports-all tag=. and src-all tag=RELENG_6 What I did: -updated via csup -droped to single user mode -cleared out /usr/obj -make -j4 buildworld -make buildkernel KERNCONF=my kern config -make installkernel KERNCONF=my kern config -rebooted into the new kernel; everything worked fine -dropped to single user mode -make installworld During the installworld process I got the following output (Caught with script installworld.out): Script started on Mon Apr 2 23:42:05 2007 # pwd /usr/src # make installworld mkdir -p /tmp/install.hC53vnAg for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep install-info ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.hC53vnAg; done cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.hC53vnAg /usr/obj/usr/src/make.i386/make -f Makefile.inc1 reinstall awk: Permission denied /usr/src/Makefile.inc1, line 101: warning: awk '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }' /usr/include/osreldate.h returned non-zero status echo:Permission denied *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. # exit Script done on Mon Apr 2 23:42:14 2007 Do you have your root partitions (/, /usr ...) in r/w mode ? There is a paragraph in the handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#MAKEWORLD-SINGLEUSER Hope this helps. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disable cntl+alt+del function
Hi, On 1/18/07, Peter Ankerstål [EMAIL PROTECTED] wrote: Sean Murphy wrote: cntl+alt+del at the console without being logged in reboots the server. The server runs through its shutdown procedure and reboots. How do I disable this function? You could compile the kernel with: options SC_DISABLE_REBOOT ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] If you don't want to rebuild your kernel, just change this sysctl knob: hw.syscons.kbd_reboot=0 You need at least 6.1-RELEASE Hope this helps. Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 hangs at mountroot during bootup
Hi, On 9/21/06, Mike Peirson [EMAIL PROTECTED] wrote: Hi all, First off, I'm new to FreeBSD and this mailinglist so I hope I am in the right place. Anyways, right now I am having some problems with FreeBSD booting up. I have tried to install 3 times now and keep getting the same error. When I try to boot into FreeBSD, this eventually comes up: Manual root filesystem specification: fstype:device Mount device using filesystem fstype eg. ufs:da0s1a ? List valid disk boot devices empty line abort manual input Mountroot This seems to be a prompt where I need to specify the location of the root partition, but the problem here is that it hangs or freezes and I cannot input any text. At first I thought it may be a result of FreeBSD not properly recognizing my HDD's geometry but I manually fixed that and it still is giving me this same issue. If anyone has had a similar problem or knows how to fix this I would greatly appreciate any help. I looked through the Handbook and googled this but I haven't found a solution yet. -- Michael Peirson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I guess you are using 6.1-RELEASE if so It's a bug in kbdmux, it was solved after in FreeBSD-STABLE. Booting in 'Safe mode' from the beastie menu, should workarround your hang problem. HTH Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Changing Default Editor in profile
Hi, On 9/8/06, Huy Ton That [EMAIL PROTECTED] wrote: under my home directory for root under .profile I added the line: EDITOR=pico;export EDITOR where no such line existed for EDITOR before; this line exists in my personal account that I use and my default for external launched editors is now pico such that I can edit crontab stuff easily. However, when I ssh in and then su, I try to run crontab only to find it is still booting into 'vi' by default. Any ideas how I can get this loaded? You have to use su -, if you want load your root's environnement. su(1) for more explications. HTH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mounting Sony PSP
Hi, On 8/28/06, Tim Holmes [EMAIL PROTECTED] wrote: I would really like to mount my PSP in FreeBSD so I can on and off load files on my workstation, instead of having to use another, else where. Has anybody been able to mount it? Or have a How-To some place I could use? Thus far all my searches have come up with anything but what I'm looking for. Any help would be greatly appreciated! Thank you! First check if with the dmesg command you can see your PSP, you should read something like this: umass0: USB Solid state disk, rev 1.10/1.00, addr 2 GEOM: create disk da0 dp=0xc2d74850 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Generic Traveling Disk 1.11 Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 126MB (258048 512 byte sectors: 64H 32S/T 126C) Then, you need to mount your PSP with: mount_msdos /dev/da0s1 /mnt/PSP There is a chapter in the handbook about USB device http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html HTH tdh -- +- \./ | Tim Holmes -- [EMAIL PROTECTED]: [EMAIL PROTECTED] (0Y0) | UIN: 17021091 -- AIM: tdh004 -ooO--(_)--Ooo--+- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: linuxulator problem?
Hi, On 8/21/06, Bachilo Dmitry [EMAIL PROTECTED] wrote: I had linux flash plugin 7 working with my native Firefox and everything was ok. Them I've tried to recompile my Firefox with CPUTYPE?=pentium4 in my rc.conf and it seemed to start working faster. Then, as an experiment, I tried to rebuild world. And now, instead of firefox, I get this: %firefox opennet.ru /libexec/ld-elf.so.1: /usr/local/lib/pluginwrapper/flash7.so: Undefined symbol _dlsym I've recompiled linuxflashplugin7, linuxthreads, linuxpluginwrapper, but no use. Maybe i did or didn't something? Is it possible to fix this? You forgot to apply a patch to make flash7 working: $ cat /usr/ports/www/linuxpluginwrapper/pkg-message [...] Please get and apply a dlsym(3) hook patch. http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff This provides _dlsym(3) function to fix dynamic-link error can't find gtk_major_version ad-hoc-ly. cd /usr/src/libexec/rtld-elf/ patch -p2 /path/to/rtld_dlsym_hack.diff make clean all install Then try firefox to see if this works :-) HTH С уважением, Бачило Дмитрий Руководитель отдела системной интеграции ООО Компания СоЛинк ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade from OLD - NEW release
On 5/23/06, Albert Shih [EMAIL PROTECTED] wrote: Le 22/05/2006 à 19:27:47+0200, Dominique Goncalves a écrit Hi, On 5/22/06, Albert Shih [EMAIL PROTECTED] wrote: Hi all From many time I make the upgrade my FreeBSD by using : make -DNO_PROFILE buildowlrd make buildkernel make installkernel reboot/single make -DNO_PROFILE installworld mergemaster reboot Well everything work fine..but I always have some old file in /lib and /usr/lib Can I destroy him without problem ? There are news targets that can help you since FreeBSD 6.1-RELEASE: check-old, delete-old and delete-old-libs [EMAIL PROTECTED] /usr/src]$ make check-old Checking for old files Checking for old libraries Checking for old directories To remove old files and directories run 'make delete-old'. To remove old libraries run 'make delete-old-libs'. HTH Of course that help. Lots of thanks. and on old release (because I've lots of 5.x -- 6.x but I've also lots of 4.x -- 5.x) are the some things like that ? AFAIK, unfortunately only since 6.1-RELEASE according to http://www.freebsd.org/cgi/cvsweb.cgi/src/ObsoleteFiles.inc?f=uonly_with_tag=RELENG_6_1logsort=date Thanks again. Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Tue May 23 01:16:33 CEST 2006 Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade from OLD - NEW release
Hi, On 5/22/06, Albert Shih [EMAIL PROTECTED] wrote: Hi all From many time I make the upgrade my FreeBSD by using : make -DNO_PROFILE buildowlrd make buildkernel make installkernel reboot/single make -DNO_PROFILE installworld mergemaster reboot Well everything work fine..but I always have some old file in /lib and /usr/lib Can I destroy him without problem ? There are news targets that can help you since FreeBSD 6.1-RELEASE: check-old, delete-old and delete-old-libs [EMAIL PROTECTED] /usr/src]$ make check-old Checking for old files Checking for old libraries Checking for old directories To remove old files and directories run 'make delete-old'. To remove old libraries run 'make delete-old-libs'. HTH Lots of thanks. Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Mon May 22 16:24:56 CEST 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Horrible: Apache corrupting files?
On 4/26/06, Ben Paley [EMAIL PROTECTED] wrote: On Tuesday 25 April 2006 17:19, Dominique Goncalves wrote: What version of apache are you using? apache-2.0.55_4 I've already see corruption file when I was tried to share xml podcast between my FreeBSD 6.1 and Sony PSP, with Apache 2.2.0 $ ls -l test.xml -r--r--r-- 1 dom dom 5725 Mar 11 17:47 test.xml before download $ md5 test.xml MD5 (test.xml) = 25ed4336e8906e64bd05ebea990d29a0 after download $ md5 test.xml MD5 (test.xml) = ef0918bc4f7aa323eb6c41768092488e And after each access the MD5sum change ... This sounds exactly like what is happening to me. Does it happen to every file, or just a few? Or just one? Just podcast xml file for the moment. If the problem is Apache, though, it doesn't explain the other problems I've been having, like the corrupted ftp uploads. Perhaps they are unrelated? Or perhaps Apache is not the problem? Or maybe I've been cursed for having an operating system of which the logo is a devil ;-) Try to ask directly on the freebsd-apache mailing list. OK, I'll try that too, thanks for the tip. Cheers, Ben -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
nsswitch.conf with ldap
Hi, I'm trying to use ldap database in /etc/nsswitch.conf but FreeBSD hangs on boot if it needs to bind a system user present in files, my nsswitch.conf: group: files ldap group_compat: nis hosts: files dns networks: files passwd: files ldap passwd_compat: nis shells: files Adding ldap after FreeBSD has started, everything works ok. I've done some test with truss on single user mode with and without ldap in nsswitch.conf and binding a system user present in files and it only works if there is no ldap in nsswitch.conf truss with ldap in nsswitch.conf: http://djdomics.free.fr/FreeBSD/nss-w-ldap.txt truss without ldap in nsswitch.conf: http://djdomics.free.fr/FreeBSD/nss-wo-ldap.txt I use: FreeBSD djdomics.sceen.net 6.0-STABLE FreeBSD 6.0-STABLE #5: Thu Jan 12 00:18:18 CET 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DJDOMICS i386 According to nsswitch.conf(5) The default criteria is to return on ``success'', and continue on any- thing else (i.e, [success=return notfound=continue unavail=continue tryagain=continue]). Why FreeBSD tries to use ldap database if my user system is on files ? Thanks for the help. Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade from bin 9.3.1 to 9.3.2
Hi, On 1/14/06, Mathieu CHATEAU [EMAIL PROTECTED] wrote: Hello, i have done a portupgrade -Rr bind9 on a server. bind 9.3.1 was in /usr/sbin/named, but bind 9.3.2 is in /usr/local/sbin/named Now, i have 2 bind9 version on the same system... any way to cleanup ? did i miss something ? pkg_delete the bind 9.3.2 port installation, and install bind 9.3.2 with this option WITH_PORT_REPLACES_BASE_BIND9=YES in your make.conf HTH. Thanks, Mathieu CHATEAU Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Thanks for FBSD6
Hi, On 12/7/05, Jon Drukman [EMAIL PROTECTED] wrote: Just a note to say thanks to all the hard working people who created FBSD6. I spent an annoying week trying to get some minimal lightweight Linux distros to work out of the box on an ancient laptop that I had lying around. They all had various problems, such as: unable to recognize/configure the wireless ethernet card, or the X server wouldn't come up properly. FBSD6 worked basically out of the box. I had to create a custom script in rc.d to get the wireless to work on boot, but that was about it. basically the meat of the script looks like: ifconfig ath0 ssid my wireless network dhclient ath0 if someone can tell me what /etc/rc.conf options i need to set to duplicate that, that would be cool. i played around with it for a while but never got it to work without my custom script. You can use in /etc/rc.conf: ifconfig_ath0=DHCP ssid your_ssid Read rc.conf(5) for more information. HTH Regards -jsd- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Thanks for FBSD6
You can use in /etc/rc.conf: ifconfig_ath0=DHCP ssid your_ssid That's FreeBSD 5.X and prior way of doing it. The suggested way to config your wirerless is with wpa_supplicant(8). In rc.conf add: wpa_suplicant_enable=YES ifconfig_ath0=DHCP and create wpa_supplicant.conf: network={ ssid=MyWireless mode=11g } According to this documentation http://www.freebsdmall.com/~loader/en_US.ISO8859-1/articles/wireless/article.html this syntax is ok on 6.0, but I don't know if the order of arguments have an importance. Regards. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: commandline audio volume?
Hi, man mixer :) Regards On 6/25/05, Louis LeBlanc [EMAIL PROTECTED] wrote: Silly question, I know, but I can't seem to find the commandline audio volume adjustment command. Lou -- Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) Please send off-list email to: leblanc at keyslapper d.t net Key fingerprint = C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 Van Roy's Law: Honesty is the best policy - there's less competition. -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS and file locking
Hi, I had exactly same problem, to resolve this, use the -L option of mount_nfs. But I don't know how can I add this option in /etc/fstab. Hope this help. Regards. On Sat, 19 Mar 2005 11:42:34 -0500, Philip M. Golllucci [EMAIL PROTECTED] wrote: Hi all, I've got a FreeBSD 6.x -current file server running NFS and I mount lots of things via NFS on other Freebsd 6.x -current servers with an NFS client. I get _lots_ of file locking issues. See below for just one example. I'm wondering, will NFSv4 fix this or switching to samba ? If not, I'd be gratefull for suggestions. Thanks in advance! vegeta# df krillin:/usr/ports 15390126 3159612 1099930422%/usr/ports krillin:/usr/local/apps 15390126 3159612 1099930422%/usr/local/apps krillin:/usr/src 15390126 3159612 1099930422%/usr/src krillin:/usr/obj 15390126 3159612 1099930422%/usr/obj krillin:/usr/home15390126 3159612 1099930422%/usr/home vegeta# cd /usr/ports/www/apache21/ vegeta# make [..] buildconf: Using libtool15.m4 at /usr/local/share/aclocal/libtool15.m4. Creating include/arch/unix/apr_private.h.in ... autom4te259: cannot lock autom4te.cache/requests with mode 2 (perhaps you are running make -j on a lame NFS client?): Operation not supported autoheader259: /usr/local/bin/autom4te259 failed with exit status: 1 Creating configure ... autom4te259: cannot lock autom4te.cache/requests with mode 2 (perhaps you are running make -j on a lame NFS client?): Operation not supported Generating 'make' outputs ... rebuilding rpm spec file rebuilding srclib/apr-util/configure Looking for apr source in ../apr Creating include/private/apu_config.h ... autom4te259: cannot lock autom4te.cache/requests with mode 2 (perhaps you are running make -j on a lame NFS client?): Operation not supported autoheader259: /usr/local/bin/autom4te259 failed with exit status: 1 ./buildconf failed for apr-util -- END -- Philip M. Gollucci Consultant E-Mail: [EMAIL PROTECTED] URL : http://p6m7g8.net/Resume/resume.shtml Phone : 301.254.5198 $Id: .signature,v 1.7 2004/09/05 23:46:37 philip Exp $ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: load average gone boink
Hello, http://lists.freebsd.org/pipermail/freebsd-stable/2005-February/011693.html Regards. On Thu, 10 Feb 2005 17:34:38 +0100, Erik Norgaard [EMAIL PROTECTED] wrote: Just to add some detail, from top: last pid: 749; load averages: 240.76, 395.77, 739.40 up 0+00:05:34 17:33:12 72 processes: 1 running, 71 sleeping CPU states: 0.4% user, 0.0% nice, 0.8% system, 0.0% interrupt, 98.8% idle Mem: 58M Active, 34M Inact, 43M Wired, 44K Cache, 33M Buf, 92M Free Swap: 512M Total, 512M Free PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 601 mysql 200 57680K 25084K kserel 0:01 0.00% 0.00% mysqld 279 bind 200 6092K 5004K kserel 0:01 0.00% 0.00% named 517 root 960 13132K 9964K select 0:01 0.00% 0.00% httpd 725 postfix 960 6668K 4432K select 0:00 0.00% 0.00% smtpd 524 cyrus 960 6540K 3812K select 0:00 0.00% 0.00% master -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb printer-scanner
Hello, I have a PSC 2175 and it's working perfectly with my FreeBSD 5.3 I use the ports hpoj. But the printer/scanner must be detected as ugen device because libusb only use ugen device. To do this i have removed ultp and umass device from the kernel, after rebuild kernel I can see: ugen0: Hewlett-Packard PSC 2170 Series, rev 2.00/1.00, addr 3 Now you can use hpoj ;) Best regards. On Sun, 23 Jan 2005 02:21:01 +0800, Khairil Yusof [EMAIL PROTECTED] wrote: On Tue, 2005-01-18 at 07:49 +0800, Khairil Yusof wrote: On Fri, 2004-12-31 at 21:24 +0300, Andrew Diakin wrote: Hmm.. I setup all ports as described this http://www.freebsddiary.org/cups.php, also I setup print/hpijs port and copy all *.ppd files to /usr/local/share/cups/model printer is connected and usbdevs show him - in cups web admin I setup printer, select device USB Printer #1, then when I try to print test page nothing happens... what I do wrong? Sorry for getting back late on this: I forgot.. that that if using foomatic you need foomatic filter: http://www.linuxprinting.org/download.cgi?filename=foomatic-ripshow=0 Copy it to: /usr/local/libexec/cups/filter/ And set it as executable chmod 700 foomatic-rip -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I do not understand kernel modules
Hello, You can use this options : NO_MODULES=true# do not build modules with the kernel MODULES_WITH_WORLD=true# do not build modules when building kernel in your /etc/make.conf, read /usr/share/examples/etc/make.conf for more options. Regards. On Fri, 21 Jan 2005 00:55:32 +0100, Ramiro Aceves [EMAIL PROTECTED] wrote: Jorn Argelo wrote: On Thu, 20 Jan 2005 13:38:54 +0100, Ramiro Aceves wrote Hello friends. I am a FreeBSD newbie, I am going to ask you a question that I have not been able to solve reading the manual. I am using 5.3 release. I have compiled a custom kernel in my old pentium 75 MHz machine to include the driver for my sound card. I added the following lines to the kernel config file device sound device snd_es137x and compiled the kernel perfectly. (long time ;-) ) But there is something that I do not understand well. When I look at the contents of /boot/kernel/ directory, I found that there are kernel sound modules *.ko for every sound card the kernel supports. Should not there be my sound card module alone? Does It mean that you have to compile all the stuff, even if you are going to use only one kind of sound card? Am I missing something? Your sound card has been build into the kernel itself (which is /boot/kernel/ kernel AFAIK). The *.ko are kernel modules, which you can load using the kldload command. So in case you get a new sound card, find out what driver it supports and you can use kldload yourdriver.ko to get support for your sound card without recompiling your kernel. Yes, I understand now. The problem is that my old pentium machine takes very long time to compile all the modules even if I am not going to use them. I would like to compile only the modules I use, to reduce compiling time. Is that possible? Thanks Cheers, Jorn ___ 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] -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question
Hello, You are probably using the shell by defaut csh, you need to do: # rehash Cheers -- dom On Sat, 18 Dec 2004 00:25:42 -0700, Joel Moross [EMAIL PROTECTED] wrote: ok im trying to install XFree86 I installed The Ports collection the followed the docs.. To build and install XFree86 from the ports collection: # cd /usr/ports/x11/XFree86-4 # make install clean and it installes and cleans. then: Configuration of X11 is a multi-step process. The first step is to build an initial configuration file. As the super user, simply run: In the case of XFree86 type: # XFree86 -configure And this is where i have my problems.. it says XFree86: Command not found. What am i doing wrong??? No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.5.4 - Release Date: 15/12/2004 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cpu temperature
On Tue, 14 Dec 2004 20:33:02 +0100, Lukasz Bigo [EMAIL PROTECTED] wrote: On Tue, 14 Dec 2004 22:19:24 +0800 Spades [EMAIL PROTECTED] wrote: You could try /usr/ports/sysutils/healthd. I can also send You a small PHP script which grabs some ACPI values using sysctl to draw a thermomether (Apache+PHP+GD required), so You could check the CPU temperature with Your browser. :) I'm interrested by your script :-) Cheers -- dom -- There's this old saying: Give a man a fish, feed him for a day. Teach a man to fish, feed him for life. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]