Re: FreeBSD-7.0 fails to compile after upgrade
On Tuesday 20 November 2007 09:30:40 Yuri wrote: What about /etc/src.conf and more complete build log (at least whole compiler line)? I don't have /etc/src.conf file. Please see last few build commands below. Versions of relevant commands: cc (GCC) 4.2.1 20070719 [FreeBSD] GNU assembler 2.15 [FreeBSD] 2004-05-23 Yuri cc -fpic -DPIC -I/usr/local/include -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/l ib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../cr ypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -D DSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c / usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/en g_openssl.c -o eng_openssl.So cc -fpic -DPIC -I/usr/local/include -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/l ib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../cr ypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -D DSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c / usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/en g_padlock.c -o eng_padlock.So /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e ng_padlock. c: In function 'padlock_xcrypt_ecb': /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e ng_padlock. c:445: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm ' /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/e ng_padlock. c:445: error: 'asm' operand has impossible constraints *** Error code 1 Yes, that's what I'm talking about, you don't have any optimizations (-Ox) in flags to cc and that's why it fails. Make sure that you don't have CFLAGS set to '' in your environment or elsewhere (cd /usr/src ; make -V CFLAGS will show your current settings). Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mounting a ufs file system in a microslut os
On Monday 19 November 2007 04:32:15 Aryeh M. Friedman wrote: I have microslut vista as a dual boot (before anyone suggests wine please refer to previous threads on amd74 vs. wine) and want to access my FreeBSD file systems from it (and later linux when I install it as a triple boot). It is the only machine on the network so nfs/samba/etc. is not an option... ideas? I'd suggest using Google first: http://ffsdrv.sourceforge.net/ (first result for `windows mount ufs') Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems building fusefs-kmod
On Monday 19 November 2007 04:41:46 Aryeh M. Friedman wrote: === Building for fusefs-kmod-0.3.9.p1_2 === fuse_module (all) /usr/share/mk/bsd.kmod.mk, line 12: can't find kernel source tree I use the source layout described in development(7) and have set SRC_BASE to /usr/src2 (I always buildworld from here not /usr/src). FreeBSD monster 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Nov 15 19:17:50 EST 2007 [EMAIL PROTECTED]:/usr/obj/FreeBSD/FreeBSD-current/src/sys/MONSTER amd64 Looking through /usr/share/mk/bsd.kmod.mk reveals that you need to set SYSDIR to location of your `sys' directory. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems building fusefs-kmod
On Monday 19 November 2007 05:00:39 Aryeh M. Friedman wrote: Yuri Pankov wrote: On Monday 19 November 2007 04:41:46 Aryeh M. Friedman wrote: === Building for fusefs-kmod-0.3.9.p1_2 === fuse_module (all) /usr/share/mk/bsd.kmod.mk, line 12: can't find kernel source tree I use the source layout described in development(7) and have set SRC_BASE to /usr/src2 (I always buildworld from here not /usr/src). FreeBSD monster 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Nov 15 19:17:50 EST 2007 [EMAIL PROTECTED]:/usr/obj/FreeBSD/FreeBSD-current/src/sys/MONSTER amd64 Looking through /usr/share/mk/bsd.kmod.mk reveals that you need to set SYSDIR to location of your `sys' directory. === Vulnerability check disabled, database not found === Found saved configuration for fusefs-kmod-0.3.9.p1_2 = fuse4bsd-0.3.9-pre1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from http://fuse4bsd.creo.hu/downloads/. fuse4bsd-0.3.9-pre1.tar.bz2 100% of 109 kB 974 Bps 00m00s === Extracting for fusefs-kmod-0.3.9.p1_2 = MD5 Checksum OK for fuse4bsd-0.3.9-pre1.tar.bz2. = SHA256 Checksum OK for fuse4bsd-0.3.9-pre1.tar.bz2. === Patching for fusefs-kmod-0.3.9.p1_2 === Applying FreeBSD patches for fusefs-kmod-0.3.9.p1_2 === fusefs-kmod-0.3.9.p1_2 depends on package: fusefs-libs2.4.1 - found === fusefs-kmod-0.3.9.p1_2 depends on executable: deplate - found === Configuring for fusefs-kmod-0.3.9.p1_2 === Building for fusefs-kmod-0.3.9.p1_2 === fuse_module (all) Warning: Object directory not changed from original /usr/ports.workdir/FreeBSD/FreeBSD-current/ports/sysutils/fusefs-kmod /work/fuse4bsd-0.3.9-pre1/fuse_module @ - /FreeBSD/FreeBSD-current/src/sys machine - /FreeBSD/FreeBSD-current/src/sys/amd64/include awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h cc -O2 -fno-strict-aliasing -pipe -march=nocona -march=nocona -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I../include -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c fuse_main.c cc -O2 -fno-strict-aliasing -pipe -march=nocona -march=nocona -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I../include -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c fuse_msg.c cc -O2 -fno-strict-aliasing -pipe -march=nocona -march=nocona -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I../include -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c fuse_dev.c cc -O2 -fno-strict-aliasing -pipe -march=nocona -march=nocona -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I../include -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c fuse_vfsops.c cc -O2 -fno-strict-aliasing -pipe -march=nocona -march=nocona -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I../include -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c fuse_vnops.c cc -O2 -fno
Re: problems building fusefs-kmod
On Monday 19 November 2007 05:39:06 Aryeh M. Friedman wrote: snip I wonder why SRC_BASE is set in port's Makefile and not used at all. Try adding MAKE_ENV+= MOUNT=${SRC_BASE}/sbin/mount to port's Makefile after checks for sbin/mount existence. # New ports collection makefile for:fusefs-kmod # Date created: 08 October 2005 # Whom: Anish Mistry [EMAIL PROTECTED] # # $FreeBSD: ports/sysutils/fusefs-kmod/Makefile,v 1.16 2007/11/15 19:46:42 ru Exp $ # PORTNAME= fusefs DISTVERSION=0.3.9-pre1 PORTREVISION= 2 CATEGORIES= sysutils kld MASTER_SITES= http://fuse4bsd.creo.hu/downloads/ \ http://am-productions.biz/docs/ PKGNAMESUFFIX= -kmod DISTNAME= fuse4bsd-${DISTVERSION} MAINTAINER= [EMAIL PROTECTED] COMMENT=Kernel module for fuse USE_BZIP2= yes BUILD_DEPENDS= fusefs-libs2.4.1:${PORTSDIR}/sysutils/fusefs-libs LINE ADDED *** MAKE_ENV+= MOUNT=${SRC_BASE}/sbin/mount not here .if !defined(NOPORTDOCS) BUILD_DEPENDS+= deplate:${PORTSDIR}/textproc/ruby-deplate .endif MAKE_ENV= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man SRC_BASE?= /usr/src KMODDIR=${PREFIX}/modules MAKE_ARGS= KMODDIR=${KMODDIR} MODULE_PATH=`/sbin/sysctl -n kern.module_path`;${KMODDIR} USE_RC_SUBR=fusefs SETUP= setup.sh MAN8= mount_fusefs.8 TXT_DOCS= doc.text HTML_DOCS= Faq.html \ Implementation.html \ Quickstart.html \ article.css \ deplate-mini.png \ deplate.css \ doc.html \ heading-navbar.css \ home-grey.png \ mailto.png \ next-grey.png \ prev-grey.png \ remote.png \ serif.css \ tabbar-right.css OPTIONS=AUTOSETUP Automatic global config file setup off .include bsd.port.pre.mk .if ${OSVERSION} 60 IGNORE= requires FreeBSD 6 or above. Please consider porting it to 5.x or even 4.x .endif .if !exists(${SRC_BASE}/sys/Makefile) IGNORE= requires the Kernel source to be installed. Set SRC_BASE if it is not in /usr/src .endif .if !exists(${SRC_BASE}/sbin/mount) IGNORE= requires the userland sources to be installed. Set SRC_BASE if it is not in /usr/src .endif but here :-) and correct variant should be: MAKE_ENV+= SYSDIR=${SRC_BASE}/sys MOUNT=${SRC_BASE}/sbin/mount I'll file a PR. .if !defined(WITH_AUTOSETUP) SUB_FILES= pkg-message .endif post-patch: @${REINPLACE_CMD} -e 's/deplate.rb/deplate/g' \ ${WRKSRC}/doc/Makefile post-configure: @${CP} ${LOCALBASE}/include/fuse/fuse_kernel.h ${WRKSRC}/fuse_module post-build: .if !defined(NOPORTDOCS) @cd ${WRKSRC}/doc make plaintext html_chunked .endif pre-install: @${MKDIR} ${KMODDIR} post-install: @${LN} -fs ${PREFIX}/sbin/mount_fusefs /usr/sbin .if defined(WITH_AUTOSETUP) !defined(PACKAGE_BUILDING) @${SED} -e 's|@@PREFIX@@|${PREFIX}|g' \ ${FILESDIR}/${SETUP} ${WRKDIR}/${SETUP} @${ECHO} Modifying global startup config files and loading module...; ${SH} ${WRKDIR}/${SETUP} .else @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} .endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR}/kmod/html .for i in ${TXT_DOCS} @${INSTALL_DATA} ${WRKSRC}/doc/plaintext_out/$i ${DOCSDIR}/kmod .endfor .for i in ${HTML_DOCS} @${INSTALL_DATA} ${WRKSRC}/doc/html_chunked_out/$i ${DOCSDIR}/kmod/html .endfor .endif .include bsd.port.post.mk snip ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KERNEL 7.0 COMPILATION
On Monday 19 November 2007 07:01:32 Norberto Meijome wrote: On Sun, 18 Nov 2007 15:34:45 +0100 Sébastien LEFEVRE [EMAIL PROTECTED] wrote: /usr/src/sys/net/rtsock.c:897: undefined reference to `sctp_addr_change' in_proto.o(.data+0xa8): undefined reference to `sctp_input' in_proto.o(.data+0xb0): undefined reference to `sctp_ctlinput' in_proto.o(.data+0xb4): undefined reference to `sctp_ctloutput' in_proto.o(.data+0xbc): undefined reference to `sctp_init' in_proto.o(.data+0xc8): undefined reference to `sctp_drain' in_proto.o(.data+0xcc): undefined reference to `sctp_usrreqs' in_proto.o(.data+0xdc): undefined reference to `sctp_input' in_proto.o(.data+0xe4): undefined reference to `sctp_ctlinput' in_proto.o(.data+0xe8): undefined reference to `sctp_ctloutput' in_proto.o(.data+0xfc): undefined reference to `sctp_drain' in_proto.o(.data+0x100): undefined reference to `sctp_usrreqs' in_proto.o(.data+0x110): undefined reference to `sctp_input' in_proto.o(.data+0x118): undefined reference to `sctp_ctlinput' in_proto.o(.data+0x11c): undefined reference to `sctp_ctloutput' in_proto.o(.data+0x130): undefined reference to `sctp_drain' in_proto.o(.data+0x134): undefined reference to `sctp_usrreqs' *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Why? Hi Sebastien, If you look closely at all the errors, they all refer to SCTP , which is a newish protocol. It was added by default to 7.0's tree. I suspect you are using an old kernel config file, and you don't have that option, and 7's IPFW needs it. look in /usr/src/sys/conf/NOTES for how it is defined :) good luck, B _ {Beto|Norberto|Numard} Meijome I'm not afraid of dying, I just don't want to be there when it happens. Woody Allen I speak for myself, not my employer. Contents may be hot. Slippery when wet.. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. http://lists.freebsd.org/pipermail/freebsd-questions/2007-November/161773.html Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenEXR portupgrade failure
On Saturday 17 November 2007 13:55:02 Alain G. Fabry wrote: Hi, I'm trying to portupgrade my system and the only ones left are kde and OpenEXR. Apparently OpenEXR needs to be done as dependency for kde. But my portupgrade -R OpenEXR fail. Following is the error message, how can I solve this? /usr/bin/ld: warning: libIlmThread.so.4, needed by /usr/local/lib/libIlmImf.so, may conflict with libIlmThread.so.6 generalInterfaceExamples.o(.text+0x5da): In function `writeGZ2(char const*, half const*, float const*, int, int, Imath::BoxImath::Vec2int const)': : undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int, : bool)' generalInterfaceExamples.o(.text+0x604): In function `writeGZ2(char const*, half const*, float const*, int, int, Imath::BoxImath::Vec2int const)': : undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int, : bool)' generalInterfaceExamples.o(.text+0x797): In function `writeGZ1(char const*, half const*, float const*, int, int)': : undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int, : bool)' generalInterfaceExamples.o(.text+0x7c1): In function `writeGZ1(char const*, half const*, float const*, int, int)': : undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int, : bool)' generalInterfaceTiledExamples.o(.text+0x28c): In function `writeTiled1(char const*, Imf::Array2DGZ, int, int, int, int)': : undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int, : bool)' generalInterfaceTiledExamples.o(.text+0x2b6): more undefined references to `Imf::Channel::Channel(Imf::PixelType, int, int, bool)' follow gmake[1]: *** [imfexamples] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/OpenEXR/work/openexr-1.6.0/IlmImfExamples' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /usr/ports/graphics/OpenEXR. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.1076.1 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=OpenEXR-1.4.0 UPGRADE_PORT_VER=1.4.0 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! graphics/OpenEXR (OpenEXR-1.4.0) (linker error) --- Packages processed: 0 done, 1 ignored, 0 skipped and 1 failed Many thanks, Alain Read 20071008 entry in /usr/ports/UPDATING. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PHP can not find core function
On Wed, Nov 14, 2007 at 01:40:08AM -0500, [EMAIL PROTECTED] wrote: I am trying to evaluate two php billing programs, One gives no errors, syntax or otherwise, the other fails to find the mysql_real_escape_string function. I the later case I assume I have a path problem. It seems that something in the code of the first program is turning off errors. Both programs work on FreeBSD 4.11 and php4. The failing system is FreeBSD 6.2 and php5. My setup: php.conf PHP_VER=5 PHP_VERSION=5.2.4 PHP_SAPI=cli cgi mod php.ini is php.ini-recommended with the following changes: display_errors = On display_startup_errors = On ignore_repeated_source = On track_errors = On include_path = .:/php/includes The following ports are installed: php5-5.2.4_1PHP Scripting Language php5-session-5.2.4_1 The session shared extension for php php5-xml-5.2.4_1The xml shared extension for php phpinfo() shows the configure command as: './configure' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection' '--program-prefix=' '--with-apxs=/usr/local/sbin/apxs' '--with-regex=php' '--with-zend-vm=CALL' '--disable-ipv6' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' I am not sure what else is relevant. I am quite lost, any help is greatly appreciated. _ Douglas Denault http://www.safeport.com [EMAIL PROTECTED] Voice: 301-469-8766 Fax: 301-469-0601 I guess it's not core function and is provided by databases/php5-mysql extension. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0, make buildworld without contrib. old top binary in contrib.
On Wed, Nov 14, 2007 at 10:21:01PM +0100, peceka wrote: Hi, can someone tell me if there is any possibility to do make buildworld without compiling all contrib/ directory? I don't need for example bind9 in base, ipfilter, lukemftp(d). Check src.conf(5) manpage. And why in /usr/src/contrib is very old top binary, 3.5beta12? On http://www.sourceforge.net/projects/unixtop there is top-3.7beta2 where ie. -c option, very helpful, works. Regards, p. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-base upgrade and samba
On Tuesday 13 November 2007 00:53:22 Kurt Buff wrote: On Nov 12, 2007 1:36 PM, Gerard [EMAIL PROTECTED] wrote: On November 12, 2007 at 02:42PM Kurt Buff wrote: According to my portaudit, cups-base has security problems, and I can't get samba going because of it. http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c2514 716c.html According to the above URL, this problem affects v1.3.4, and 1.3.3_1 is the latest port, from the CVSUP I did today, and it errors out when doing a 'portupgrad -aRr' Seems I can't get there from here. Any suggestions on how to move forward with this? Have you tried adding the following to your /etc/make.conf file? DISABLE_VULNERABILITIES=yes -- Gerard Well, that certainly seems to work, but... I'm out of luck on security until someone updates the port, correct? Kurt It is already patched, please see http://lists.freebsd.org/pipermail/cvs-ports/2007-November/137633.html http://lists.freebsd.org/pipermail/cvs-ports/2007-November/137639.html Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Neither linux-firefox nor linux-opera uses java plugin
On Tuesday 13 November 2007 10:02:01 Andrew Pantyukhin wrote: On Sun, Nov 11, 2007 at 05:45:42PM +, Tino Engel wrote: Dear all, Any help concerning the topic as follws would be very appreciated. freebsdangel# uname -a FreeBSD freebsdangel.de 7.0-BETA2 FreeBSD 7.0-BETA2 #0: Sat Nov 10 20:15:45 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 freebsdangel# It seems that this browser-plugin stuff is neverending. All native freebsd browsers refuse to use plugins at all. The linux versions of opera and and firefox correctly recognize the linux-flashplugin7. But the java-plugin is not recognized although having been linked correctly from diablo portsinstall. You can't use native diablo jdk/jre with linux browsers. Try java/linux-sun-* Another related issue: linux-flashplugin9 always segfaults the browser when used. I dunno what to do, I would relly like to be able to watch latest flash movies. This dead body is beaten every other day. Personally, I download flash movies and watch them with mplayer. Other solutions include dedicating your life to petitioning Adobe to stop making money and start porting their software to FreeBSD; and switching to Windows. Latter looks like overkill :-) If you *really* need watch flash9 movies in browser, using WINE with Firefox and FlashPlayer9 can be reasonable choice. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: named make-localhost
On Monday 12 November 2007 10:21:35 Johan Hendriks wrote: In the handbook section 27.6.6.1 it tells me to use make-localhost. 27.6.6.1 Using make-localhost To configure a master zone for the localhost visit the /etc/namedb directory and run the following command: # sh make-localhost If all went well, a new file should exist in the master subdirectory. The filenames should be localhost.rev for the local domain name and localhost-v6.rev for IPv6 configurations. As the default configuration file, required information will be present in the named.conf file. But on my system 7.0 BETA2 there is no such file. Is the handbook out of date or is the file missing. Regards, Johan Hendriks Handbook is out of date, you should already have localhost-forward.db and localhost-reverse.db in /etc/namedb/master/. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: unable to update nvidia-driver
On Sat, Nov 10, 2007 at 09:07:41AM -0600, Jonathan Horne wrote: been trying to portupgrade my nvidia-driver for a few days now, on 7.0b2. i got this error a few days ago, then this morning, i portupgraded xorg-server thinking it might be expecting a piece from there, but stil no joy. same error each time: === Checking if x11/nvidia-driver already installed mv: rename /usr/local/lib/xorg/modules/libwfb.so to /usr/local/lib/xorg/modules/XXX-libwfb.so.%%.xorg-server-1.4_2,1: No such file or directory *** Error code 1 anyone know how to correct this? im scared to uninstall the nvidia-driver that is currently working, for fear the new one might not work at all! cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] Please read /usr/ports/UPDATING. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: flash: linux firefox vs linuxpluginwrapper
On Sun, Nov 11, 2007 at 01:53:40AM +, Tino Engel wrote: icantthinkofone wrote: Philip M. Gollucci wrote: Philip M. Gollucci wrote: John wrote: I've been struggling to get a handle on the FreeBSD system. Making good progress, but then I ran into the fact that Firefox on FreeBSD can't do flash. Definite showstopper, for me. Ok, then I tried to use the linuxpluginwrapper approach, and it didn't work. It made me recall, in reading up on FreeBSD, I did see where somebody installed both Firefox and Linx-firefox. So before I do battle with this Linux wrapper approach, I wondered if I would be better off simply installing the Linux-firefox? Is that easier? More likely to work? http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2007-07/msg01919.html cd /usr/ports/emulators/linux_base-fc6 ; make install clean There is now: cd /usr/ports/emulators/linux_base-f7 ; make install clean which you should use instead -- its newer :) btw, you don't need both native and Linux Firefox. Native Firefox an do flash just fine. ___ Well, how can it? I cannot build linuxpluginwrapper, it alway fails saying: === linuxpluginwrapper-20051113_8 doesn't support ELF symbol versioning, yet.. *** Error code 1 I I am using RELENG_7 on i386. Use www/nspluginwrapper. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can someone please help me get gdmchooser running, again?
On Fri, Nov 09, 2007 at 11:12:20PM -0600, Lane Holcombe wrote: I'm running FreeBSD 6.2-STABLE #1, compiled locally on Tue May 8 16:39:25 CDT 2007 I was able to use gdmchooser on X.org 7.2, but after upgrade to 7.3 (and GDM 2.20.1) she says no serving hosts were found after scanning the local network When I first started this email, I got this from sockstat -l46 | grep 177 lholcombessh-agent 30601 8 udp4 *:177 *:* lholcombegnome-sess 30587 8 udp4 *:177 *:* root Xorg 30570 8 udp4 *:177 *:* root gdm-binary 30569 8 udp4 *:177 *:* root gdm-binary 29955 8 udp4 *:177 *:* Now, after monkeying with it (including a few reboots), I get root gdm-binary 33486 8 udp4 *:177 *:* so it seems that gdm is listening on 177, but the chooser doesn't list the local system as an X server. Instead the chooser reports no serving hosts were found I can log in using the greeter, but I'd really like to use the chooser, as I've got several machines running X, and I'm too cheap to buy extra keyboards, and too lazy to move around the office to do my work :) gdm was compiled WITHOUT IPv6 support, and I've got ipv6_enable=NO in /etc/rc.conf It's gotta be something simple, 'cause I didn't spend much time setting up the chooser originally. But I think I need an extra set of eyes to see what I'm not seeing :) Here is the uncommented part of /usr/local/etc/gdm/custom.conf: [daemon] Greeter=/usr/local/libexec/gdmgreeter RemoteGreeter=/usr/local/libexec/gdmgreeter [security] AllowRemoteRoot=true DisallowTCP=false NeverPlaceCookiesOnNFS=false CheckDirOwner=false [xdmcp] Enable=true [gui] [greeter] IncludeAll=true GraphicalTheme=happygnome-list GraphicalThemeRand=true GraphicalThemes=circles/:happygnome-list/:happygnome [chooser] [debug] Enable=true [servers] 0=Standard [server-Standard] name=Standard server command=/usr/local/bin/X -audit 0 chooser=false handled=true flexible=true priority=0 Thanks for being an extra set of eyes! lane Hi, Lane, please check gdm related issues (IPv6 only) at http://www.nabble.com/remaining-issues-with-gnome-2.20-t4721430.html (taken from thread on gnome@). And sorry if it's not related to your problem. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: syslog time resolution
On Wed, Nov 07, 2007 at 09:29:23PM +0100, Per olof Ljungmark wrote: Hi, I would like to increase the number of decimals reported in logfiles by syslogd(8), anyone knows if it is possible and perhaps a hint on how to do it? tcpdump for instance, has six decimals: 21:25:20.160833 whereas the standard syslog has zero decimal secs. I am only referring to events within a single system so it's not related to clock accuracy. Thanks and sorry if I missed the obvious! --per Guessing on syslogd source (src/usr.sbin/syslogd/syslogd.c, line ~900) time() and ctime() functions are used to get timestamps, which return only full seconds. So, if I'm not mistaken, there's no easy way to get desired behaviour from base's syslogd. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Determine FreeBSD version of binary
On Thu, Nov 08, 2007 at 06:01:40PM +0100, John Smith wrote: Hi, I was wondering if it was possible to determine for what version of FreeBSD a binary was compiled, purely by examining the binary? Any and all help and suggestions are greatly appreciated, Thanks, john Smith May be not entirely correct, but close: ldd binary | grep libc.so libc.so.4 - 4.x, libc.so.5 - 5.x, libc.so.6 - 6x, libc.so.7 - 7.x (and 8-CURRENT at the moment). HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ifconfig -- how to remove address and mask?
On Sun, 2007-10-28 at 21:14 -0700, [EMAIL PROTECTED] wrote: running 6.1, Is there a way to bring an interface down and remove the ipaddr and mask? I've tried ifconfig destroy with no effect, and I'm getting tired of twiddling rc.conf and rebooting... The problem arises when testing a new configuration where an existing interface has an assigned ip addr, and is then changed to be used with pppoe. The routine tables get really confused... Thanks, Gary Try ifconfig interface delete. HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nvidia display driver on amd64
On Mon, 2007-10-29 at 22:32 +, Tino Engel wrote: Dear all, Does anyone see any chance to get the nvidia display driver (with OpenGL support) set up on amd64? Or someone has even succeded? The ports driver tell me they are only for i386, the downloaded driver from nvidia stops with: ld: Relocatable linking with relocations from format elf32-i386-freebsd (nv-kernel.o) to format elf64-x86-64 (nvidia.ko) is not supported *** Error code 1 Stop in /usr/root/src/NVIDIA-FreeBSD-x86-1.0-9639/src. *** Error code 1 Stop in /usr/root/src/NVIDIA-FreeBSD-x86-1.0-9639. That probaly is the same reason, it is just only for i386. So where are the genious porters? Best regards, Tino Engel Yes, binary driver is i386 only. NVIDIA made request for some kernel features for amd64 driver - http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html No news yet (or am I mistaken?). You can also read read long (over 2 years old now) thread here http://www.nvnews.net/vbulletin/showthread.php?t=41545 Be sure to check other similar threads :-) Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port xyz: the grey screen with all the checkboxes is wrong and won't come back
On Sun, 2007-10-28 at 10:13 -0700, Steve Franks wrote: Obviously, 'make clean' doesn't reset the configure screen. Don't know why. I recall there was a faster way to fix this than 'portsnap extract' but I'll be damned if I can remember, and the ports section of the handbook doesn't even mention configure dialogs... I'd love to add a snippet to the handbook to cover this, but the last time I made an offer like that on [EMAIL PROTECTED], it appears to have gone into dev/null... Steve It's documented in ports(7) manpage. Search for config(-*) targets (you want just `make config`, I guess). HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Per-port options in make.conf?
On Mon, 2007-10-22 at 23:32 +0100, Benjamin M. A'Lee wrote: Is there any way to specify options in make.conf on a per-port basis? For example, if I want Vim built without X11, I can specify the WITHOUT_X11 flag, but putting that in make.conf will affect every port. I'm aware it's possible to do it with portupgrade, but I was hoping for a method that would work both with and without portupgrade. Thanks in advance. ports-mgmt/portconf looks like what you want: Portconf is a simple framework to set ports options in an universal way. Knobs set to specific ports are honoured by portmaster, portupgrade, portmanager and 'make install'. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone get Flash 9 working?
On Tue, 2007-10-23 at 13:38 -0400, Mark Moellering wrote: The basic question, has anyone gotten Flash-9 running on FreeBSD ? linux-version? wine version? ^^^ Thanks for idea! :-) I've just installed Firefox 2.0.0.6 and FlashPlayer9 in WINE 0.9.47 and it's working flawlessly so far. FreeBSD 7? anything? I realize this is one of those issues that reappears every few months, however, without Flash 9, it is difficult to do some website development in a pure FreeBSD environment. Thanks in advance Mark Moellering Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: add application names to the drop-down menu??
On Sat, Oct 20, 2007 at 05:16:09PM -0700, Gary Kline wrote: Guys, Can anybodytell me how to add apps to the Gnome drop-down menu beneath the string Applications? (Upper-left-hand corner) gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org Try using deskutils/alacarte, from pkg-descr: Alacarte is a simple freedesktop.org compliant menu editor for GNOME that lets you change your menus, simply and quickly. Just click and type to edit, add, and delete any menu entry. HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hal and groups
On Sat, Oct 20, 2007 at 06:08:08PM +0200, Roberth Sjonøy wrote: Hello, I wish to use hal to mount my dvd roms and usb mass storages, but I can't find the right groups for my user, so I can use as a normal user, anyone who can help me? http://www.freebsd.org/gnome/docs/faq2.html#q19 Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Different DNS responses depending on query source
Jeffrey Goldberg wrote: The host that runs my internal DNS server is down for the count (I've already replaced the power supply on it once, and I don't feel like doing it again). Although I had other uses planned for that machine, the only useful thing it was doing was DNS for a local net and DHCP, the latter I've moved to my firewall box (running m0n0wall). So, until I build a replacement machine, I'd like to run the DNS service on 6.2-RELENG machine on my DMZ. However I have a conflict between providing IPs for the outside world to see, eg n114.ewd.goldmark.org172.64.118.114 versus what I want when querying from the local network, eg, n114.ewd.goldmark.org10.1.10.131 Also there are some internal names (eg, fluffy.ewd.goldmark.org) which shouldn't be advertised to the outside world at all. The obvious answer would be to run two instances of bind, listening on different IPs (possibly using jails). But I don't have an IP address to spare on the DMZ. So is there a way to have bind listening on the only interface and IP address the host can have give different answers depending on where the query comes from? Cheers, -j You can use BIND's view statement: http://www.isc.org/sw/bind/arm94/Bv9ARM.ch06.html#view_statement_grammar HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kernel configuration failure
coriolinus wrote: Actually, that's not the problem. The file which is not found is the compiler itself: gcc34:No such file or directory Maybe you've installed gcc 4.3 from ports, linked /usr/bin/cc to /usr/local/bin/gcc43 and then upgrade gcc? That doesn't seem right: [EMAIL PROTECTED] /usr/src]$ which gcc34 /usr/local/bin/gcc34 [EMAIL PROTECTED] /usr/src]$ su Password: [EMAIL PROTECTED] /usr/src]# which gcc34 /usr/local/bin/gcc34 It's true that I installed gcc 3.4 from ports and put a line in /etc/make.conf: CC=gcc34 . However, it's on the path for both my user and for root; it seems weird that the makefile would lose track of it. Makefile doesn't lose it, it just redefines PATH; try using full path to gcc binary in /etc/make.conf: CC=/usr/local/bin/gcc34 Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freezing, hard locking, and debug.mpsafenet=0
On Mon, 2007-10-08 at 19:43 +0200, Per olof Ljungmark wrote: Elvar wrote: Hi there, snip http://www.freebsdforums.com/forums/showthread.php?t=38765page=1pp=1 http://www.freebsdforums.com/forums/showthread.php?t=38765page=1pp=1 which seemed to describe the same freezing I was having. One person mentioned setting debug.mpsafenet=0 in /boot/loader.conf and not having a problem since doing so. Well, I ended up doing the same thing and it's been about 25 days with not one freeze / lockup. It's my understanding that the ability to even disable this has been taken out of 7.x, I only can hope that it's not an issue in 7.x like it is on some systems in 6.x. So anyway, I hope this helps someone out. Hi, What hardware is this? Sounds very similar to something I've seen too, if it's the samt issue I can confirm it is happening in -CURRENT also. Could someone familiar with -CURRENT perhaps explain why this option (debug.mpsafenet=0) is gone? Per olof This might be the answer: http://lists.freebsd.org/pipermail/freebsd-current/2007-July/075180.html -- Yuri Pankov [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: ssh2 login with public key - not working
On Thu, Aug 30, 2007 at 06:57:54PM +0200, Laszlo Nagy wrote: Hi Laszlo. Isn't it just a matter of adding PasswordAuthentication no to /etc/ssh/sshd_config? [At the server end, Captain Obvious prompts me.] I'll check one of my old systems later but I think that's it... Well, I have other users using public keys for logging in so the sshd config must be correct. This is the only user that doesn't work. I can login by typing in the password but I need to login automatically. Best, Laszlo Have you checked /var/log/auth.log on machine to which you are trying to connect? Yuri pgpMfGKGptc8S.pgp Description: PGP signature
Re: ( Нет темы )
On Wed, Aug 29, 2007 at 05:48:09PM +0300, Nemesis stars wrote: Афигеть посоветовал. Мож мне ещё опирационку сменить? сменить имя? место жительства? странну? Nice :-) Have you tried using wi(4) and ath(4) drivers? They both list this card (though different revisions and hence chipsets). HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot rebuild Sendmail (with sasl2)
On Wed, Aug 29, 2007 at 06:02:01PM +, brad davison wrote: Hello. I am a new FreeBSD user (almost converted from Linux). My company is switching over mail servers from an (expensive and old) Red Hat server to FreeBSD 6.2. I have gotten nearly everything configured and running smoothly except for SMTP AUTH. Before I tried to build in the SASL2 stuff, I had done a full src-all update via cvsup, and at that time, I was able to rebuild sendmail, and rebuild the world. After installing the cyrus-sasl2-saslauthd port, I am now unable to rebuild sendmail and/or The World. Whether I am rebuilding sendmail or the World, I get an error on libsmutil.a. Specifically : make: don't know how to make /usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop after doing a 'find / -name libsmutil.a' libsmutil.a exists at: /usr/obj/usr/src/lib/libsmutil/libsmutil.a I had googled the problem, and 2 years ago this guy had a similar problem. Sendmail with sasl2 build fails. *FIX* Richard Mcintyre rem at thecompanyonline.com Wed May 4 12:03:08 PDT 2005 He pointed to some advice he had found on a mailing list, but did not provide details. Any direction that could assist me would make me EXTREMELY grateful! Thanks! Brad Brad, You haven't provided details on how you are rebuilding sendmail, so I think this link can be helpful: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot rebuild Sendmail (with sasl2)
On Wed, Aug 29, 2007 at 07:00:42PM +, brad davison wrote: Yuri, thank you for your reply. my make.conf: # SASL (cyrus-sasl v2) sendmail build flags... SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 # Adding to enable alternate port (smtps) for sendmail... SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL # added by use.perl 2007-08-28 00:53:33 PERL_VER=5.8.8 PERL_VERSION=5.8.8 saslauthd is installed and running. The process I am using for rebuilding sendmail: I had gone into the /usr/src/lib/libsmutil and did make cleandir make obj make then I went into /usr/src/lib/libsm and did the same thing, those went OK This looks OK. but when going into /usr/src/usr.sbin/sendmail and doing 'make clean make depend' that works OK when doing the 'make' it fails with the libsmutil.a Please try commands, mentioned in handbook: # cd /usr/src/usr.sbin/sendmail # make cleandir make obj make make install Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tcpdump process information
On Tue, Aug 28, 2007 at 07:18:07PM +0400, Edward wrote: Ilias Sachpazidis пишет: Hi, try ettercap. http://ettercap.sourceforge.net/ -IS --- Fraunhofer IGD Department Cognitive Computing Medical Imaging Ilias Sachpazidis phone:+49/(0)/6151/155 507 Fraunhoferstr. 5 fax :+49/(0)/6151/155 480 D-64283 Darmstadt [EMAIL PROTECTED] Germany http://www.igd.fhg.de/~isachpaz --- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edward Sent: Dienstag, 28. August 2007 14:02 To: freebsd-questions@freebsd.org Subject: tcpdump process information Hi there! Is there an utility which can work as usual tcpdump but with process information option? (or something like continually running `sockstat -46` or `fstat | grep internet` or `lsof -i4 -i6` ...etc) i.e. i wanna see which process generate network traffic to trace out some suspicious activity. it would be great if this program will be might to log all what it`ll capture. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] i saw it`s dependencies list.. http://www.freebsd.org/cgi/ports.cgi?query=ettercapstype=all it requires X and so on :( threfore it`s impossible to run it on the most of servers. You can disable building GTK2 frontend by passing WITHOUT_GTK=yes to make (or unchecking GTK option in 'make config' dialog). E.g. [/usr/ports/net-mgmt/ettercap] make WITHOUT_GTK=yes all-depends-list /usr/ports/net/libnet /usr/ports/devel/pcre /usr/ports/converters/libiconv /usr/ports/devel/libltdl15 /usr/ports/devel/libtool15 HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 4.11 binary compatibility (libm.so.2, etc)
On Tue, Aug 28, 2007 at 12:50:34PM -0700, Jon Drukman wrote: I just installed FBSD 6.2, but I have a requirement to use some precompiled binaries from FreeBSD 4.11. They are failing because libm.so.2 is not available. Is there a compatibility package that I can install which will give me the older libraries? I do not have the source code to recompile these applications. -jsd- /usr/ports/misc/compat4x HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 4.11 binary compatibility (libm.so.2, etc)
On Tue, Aug 28, 2007 at 02:23:42PM -0700, Jon Drukman wrote: On 8/28/07, Kris Kennaway [EMAIL PROTECTED] wrote: Have you tried the compat4 port: /usr/ports/misc/compat4x thanks! that got me past one error, now i'm stuck on libcrypt.so.2 is there a port for libcrypt compat? (i didn't find anything obvious by searching on *compat* or *crypt*) It's part of the same freebsd compat ports. It's not in compat4x. On a whim I tried installing compat5x and that provided the missing library. thanks -jsd- It *IS* in compat4x, but not installed by default due to vulnerabilities in OpenSSL, you get more info by issuing `make FORCE_VULNERABLE_OPENSSL=yes` in compat4x's dir. And if you are absolutelly sure that you can live with it, you can force installation of vulnerable libs - please read ports(7) manpage to find out how to do it (just a safety measure on my part :-). HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: un-zipping pkzip files om fbsd
On Thu, Aug 23, 2007 at 09:27:37AM -0400, fbsd2 wrote: I receive a pkzip file created under ms/windows. What can I use under fbsd to un-zip this file? archivers/unzip ? You can also try (bsd)tar in base (libarchive can handle zip files). Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ps2ascii. c.
On Wed, Aug 22, 2007 at 12:35:47AM -0700, Gary Kline wrote: Guys, If this is a re-post, sorry. I thought I mailed this to -questions. Anyway, where are the pdf and pd and other ghostscript converters? I thought these utilities were in the default distribution, but I can't find them. pdfps, pdftoascii, and so forth. thanks in advance for any help, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix They are in print/ghostscript-{afpl,gnu,gpl}, though ghostscript-gpl is preferred one. HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xdm fails! can't find pcidata
On Wed, Aug 22, 2007 at 12:11:47PM -0700, Gary Kline wrote: I just rebooted my DNS server and now X fails. I'm pretty sure I did everything re the xorg instructions in UPDATING. The error message in /var/lob/Xorg.0.log says exactly:: (II) Loader running on freebsd (II) LoadModule: pcidata (WW) Warning, couldn't open module pcidata (II) UnloadModule: pcidata (EE) Failed to load module pcidata (module does not exist, 0) How can I fix this? I find pcidata deep in the /usr/sys/src.../dev directory. Nothing in my KERNCONF=GENERIC file. Insights, anybody?? tia, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix Could you show us what is your ModulePath set to? (either from xorg.conf or from Xorg.0.log, should be /usr/local/lib/xorg/modules). Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade and make options
On Tue, Aug 21, 2007 at 02:23:21AM -0400, Michael S wrote: Good day all, I was wondering how to pass options from portupgrade to make. Say I wanted use -j4 for max. number of jobs. Where should I specify that? When building world it's possible to be done from the command line: make -j4 buildworld. Also is athlon the correct CPUTYPE for AMD Sempron 3400? Thanks in advance, Michael From portupgrade(1) manpage: -m --make-argsSpecify arguments to append to each make(1) com- mand line. -M --make-env Specify arguments to prepend to each make(1) com- mand line. Also check /usr/local/etc/pkgtools.conf for MAKE_* hashes. HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LiveHTTPHeaders
On Thu, 2007-07-26 at 06:57 -0500, Eric wrote: fbsd2 wrote: Looking for LiveHTTPHeaders in port library? Is it spelled some what different? http://livehttpheaders.mozdev.org/ Thats an extension. I dont think it would be in the ports collection. browse to the site above in firefox and install the extension, then restart. All done Actually, there are a lot of extensions located in www/xpi-*, the question is someone who will port it. Check http://wiki.freebsd.org/XPI for more info. Yuri signature.asc Description: This is a digitally signed message part
Re: problem in Manmail Makefile?
On Thu, 2007-08-02 at 02:49 +0400, Geo wrote: Mailman Makefile contains: -- .if defined(WITH_SENDMAIL) MAIL_GID?= mailnull .endif But after installation (FreeBSD 6.2, /usr/ports/mail/mailman) when I send any message to mailman list I receive the error: --- Group mismatch error. Mailman expected the mailwrapper script to be executed as group mailman, but the system's mail server executed the mail script as group mailnull. Try tweaking the mail server to run the script as group mailman, or re-run configure, providing the command line option `--with-mail-gid=mailnull'. -- What (and how!) can I do to set MAIL_GID= mailnull? If I understand I'll describe this in detail for users! Are you sure that you have selected Sendmail in `make config' stage? Check that you have the same output (and if it's indeed the same, then there's really something wrong with args passed to configure by port): [/usr/ports/mail/mailman] make -V WITH_SENDMAIL true [/usr/ports/mail/mailman] make -V MAIL_GID mailnull [/usr/ports/mail/mailman] make -V CONFIGURE_ARGS --prefix=/usr/local/mailman --with-python=/usr/local/bin/python2.5 --with-username=mailman --with-groupname=mailman --with-mail-gid=mailnull --with-cgi-gid=www HTH, Yuri signature.asc Description: This is a digitally signed message part
milter-greylist, spf and ipv6
Hi, I've been recently playing with just established ipv6 tunnel (thanks to all who provided their feedback to IPV6 Tunnel Brokers topic) and have found one problem - mail coming in from ipv6 addresses is greylisted regardless of spf records, for example: addr mx2.freebsd.org[2001:4f8:fff6::35] from [EMAIL PROTECTED] to ... delayed for .. though `freebsd.org descriptive text v=spf1 ip4:69.147.83.53 ip4:69.147.83.54 ip6:2001:4f8:fff6::35 ip6:2001:4f8:fff6::36 ~all' clearly lists this address. Is it limitation of milter-greylist, libspf2 or is there something wrong with my setup? milter-greylist-3.0 libspf2-1.2.5_2 sendmail-8.14.1 from `hostname`.mc: define(`confMILTER_MACROS_HELO', confMILTER_MACROS_HELO``, {verify}'') define(`confMILTER_MACROS_ENVRCPT', confMILTER_MACROS_ENVRCPT``, {greylist}'') INPUT_MAIL_FILTER(`greylist', `S=local:/var/milter-greylist/milter-greylist.sock, F=T, T=R:30s') TIA, Yuri signature.asc Description: This is a digitally signed message part
Re: make and gmake on FreeBSD
On Thu, Jul 26, 2007 at 11:26:28PM +0300, Dima Sorkin wrote: Hi. I have a FreeBSD 6.2, installed it from the distribution disks, no changes by me. There is a make and a gmake installed on it. They report that they are the same programm, but in fact they behave completely different. In fact only gmake behaves like GNU make should behave and only with gmake I succeed to build serious projects. What happens here ? What I the make, where did it come from ? How do I cause to system make behave as gmake ? Thanks, regards, Dima. P.S. see their output: [EMAIL PROTECTED] /usr/home/dsorkin]$ make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-portbld-freebsd6.2 [EMAIL PROTECTED] /usr/home/dsorkin]$ gmake --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-portbld-freebsd6.2 [EMAIL PROTECTED] /usr/home/dsorkin]$ which make /usr/bin/make [EMAIL PROTECTED] /usr/home/dsorkin]$ which gmake /usr/local/bin/gmake [EMAIL PROTECTED] /usr/home/dsorkin]$ diff /usr/bin/make /usr/local/bin/gmake Binary files /usr/bin/make and /usr/local/bin/gmake differ [EMAIL PROTECTED] /usr/home/dsorkin]$ Don't you have shell alias make - gmake, by chance? Try running system make using full path. Yuri pgp3hWCkTbnCg.pgp Description: PGP signature
Re: Portupgrade and mysql5-server
On Wed, Jul 25, 2007 at 11:25:54AM -0400, Ian Lord wrote: Hi, Just a quick question. When there is a new version of mysql5-server port, I use portupgrade -a to update it. Everytime I need to do a /usr/local/etc/rc.d/mysql-server start to start it manually after the upgrade. Shouldn't it be done automatically ? Thanks It shouldn't. If you want it to start automatically, check /usr/local/etc/pkgtools.conf, search for AFTERINSTALL. Yuri pgpKr9qNqtbeB.pgp Description: PGP signature
Re: keyboard layout switching problem
On Wed, Jul 25, 2007 at 10:05:55PM -0700, Andriy Babiy wrote: Hi everybody! After today's upgrade of xkeyboard-config (all ports are up-to-date) I have a problem with switching between English and Russian layouts in KDE. Instead of country flag icon or letters, the err is shown. The keyboard layouts are configured in KDE Control Center. xorg.conf contains the default settings, obtained by X -configure. What can I do to fix the problem? If I can provide more details, please let me know. Thank you in advance. Andriy There are many reports about this problem on different lists, this one should solve it http://lists.freebsd.org/pipermail/freebsd-x11/2007-July/004942.html HTH, Yuri pgpzKGXvd7CRU.pgp Description: PGP signature
Re: firefox 3.0
On Mon, Jul 23, 2007 at 07:53:14PM -0300, Anton Galitch wrote: On 7/23/07, Tsu-Fan Cheng [EMAIL PROTECTED] wrote: Hi, just browser the port directory and discovered that firefox 3.0 is in the system, before i upgrade to that, would like to know if *everything* works fine with this version, especially the flash plugin, thank you !! TFC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] What is the exact location of firefox 3.0 ? I updated the source tree yesterday and I don't have it :S It's in www/firefox-devel. Regarding original question, FWIW, I can't even test it, as it's marked as IGNORE on !i386 (running amd64) :-( Yuri pgpP13CK1oTLo.pgp Description: PGP signature
Re: max resolution with vesa driver on amd64 system running FreeBSD 6.2
On Sat, Jul 14, 2007 at 02:21:09AM -0700, Dino Vliet wrote: Hi folks, I'm having problems with my monitor on freebsd. The vesa driver uses 1024X768 while the monitor is capable of doing 1680x1050. Observed here as well: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nv/+bug/5801 Using the nv driver is no option because it freezes my system and I have to turn the power down to start booting the system again. Am I in a problematic situation now because: 1) Vesa isn't capable of using higher resolutions? 2) I can use NV because the driver isn't ok on my amd64 system 3) Nvidia doesn't provide a FreeBSD version of their nvidia driver on AMD64 based systems? Brgds Not an answer you want but.. Try using xf86-video-nv 2.1.2 (as opposed to 1.2.2.1, which is in ports now). All you need to do is change PORTVERSION to 2.1.2 in x11-drivers/xf86-video-nv/Makefile, delete distinfo and `make fetch makesum install'. HTH, Yuri pgp4IqESdZzkV.pgp Description: PGP signature
Re: creating ftp users!
On Wed, Jul 18, 2007 at 05:30:23PM +0200, Zbigniew Szalbot wrote: Hello, During the installation, select the option to activate inetd and uncomment the ftp line in /etc/inetd.conf. Step 2. Login as root and create your users using the command 'adduser'. Step 3. Using a text editor, such as vi, create the file /etc/ftpchroot and add each user name on I hope I am not hijacking this thread but using this opportunity I would like to ask if a similar thing could be applied to scp connections? BTW - contrary to the original poster I am using FreeBSD ;) Thanks! -- Zbigniew Szalbot Install shells/scponly with WITH_SCP_CHROOT defined, and follow instructions given to you by pkg-message. HTH, Yuri pgpWkrSKVm0Yy.pgp Description: PGP signature
Re: Dual head video cards
On Tue, Jul 17, 2007 at 12:22:51PM +0100, dgmm wrote: Are there any gotchas I should look out for when purchasing a dual head video card? I'm currently looking for a cheap NVidia card with both analogue and digital output to use my old 21 CRT and the new 19 LCD but, as usual, there's very little info other than for Windows in the write ups/reviews. I've never used dual head before so I'm concerned that some cards might share resources to the extent that they are windows only . Maybe I'm seeing potential problems that aren't there? Budget is tight so I don't want to screw up the purchase. Cheap is word I'm looking for :-) -- Dave Nvidia's DualHead works nice, but only with binary Nvidia drivers (which are i386 only). There's some preliminary support for DualHead in xorg's opensource nv driver (starting with version 2.1.0, AFAIK), so it can be used with FreeBSD/amd64, but it doesn't play nice with Xinerama yet. Check Nvidia's documentation and release notes for drivers for more information. HTH, Yuri pgpWbDMeSnVJM.pgp Description: PGP signature
Re: Where's Libtool?
On Tue, Jul 17, 2007 at 12:48:51PM -0500, [EMAIL PROTECTED] wrote: On 17/07/07, Michael B Allen [EMAIL PROTECTED] wrote: I had no problem finding autoconf and automake but where's libtool? If your locate(1) database is up-to-date $ locate libtool should help you there, or $ find /usr/ports -type d -iname *libtool* How does one usually install libtool on FreeBSD? I generlaly let it get pulled in when I install something that needs it, otherwise # cd /usr/ports/devel/libtool15/ make install clean -- -- Just one note though: devel/auto* tools are mainly for ports infrastructure usage, for your own use check devel/gnu-auto* ports. Sorry if this is obvious. HTH, Yuri pgpjZdbsBoTHx.pgp Description: PGP signature
Re: Where's Libtool?
On Tue, Jul 17, 2007 at 02:46:06PM -0400, Michael B Allen wrote: On 7/17/07, Yuri Pankov [EMAIL PROTECTED] wrote: Just one note though: devel/auto* tools are mainly for ports infrastructure usage, for your own use check devel/gnu-auto* ports. Sorry if this is obvious. Ok. This is a problem. I'm trying to build something that is not in ports and it needs libtool. I installed the ports libtool but it did not work. The application I'm trying to build is choking with the following error: configure.in:212: warning: AC_PROG_LIBTOOL is m4_require'd but is not m4_defun'd configure.in:212: AC_PROG_LIBTOOL is required by... configure.in:50: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/local/gnu-autotools/bin/autoconf failed with exit status: 1 Is there a gnu-libtool package? If there is I don't see it. There were a gnu-autoconf and gnu-automake packages but for some reason I don't see libtool in any of the standard packages for 6.2. Any ideas? Mike Check this link http://3v1n0.tuxfamily.org/beryl-backup/wiki/Install/FreeBSD and try to do steps from Add to your PATH /usr/local/gnu-autotools/bin to the end of section (without X11R6 line, of course). HTH, Yuri pgpcLwHYVSgSx.pgp Description: PGP signature
Re: Where's Libtool?
On Tue, Jul 17, 2007 at 03:12:14PM -0400, Michael B Allen wrote: On 7/17/07, Yuri Pankov [EMAIL PROTECTED] wrote: On Tue, Jul 17, 2007 at 02:46:06PM -0400, Michael B Allen wrote: On 7/17/07, Yuri Pankov [EMAIL PROTECTED] wrote: Just one note though: devel/auto* tools are mainly for ports infrastructure usage, for your own use check devel/gnu-auto* ports. Sorry if this is obvious. Ok. This is a problem. I'm trying to build something that is not in ports and it needs libtool. I installed the ports libtool but it did not work. The application I'm trying to build is choking with the following error: configure.in:212: warning: AC_PROG_LIBTOOL is m4_require'd but is not m4_defun'd configure.in:212: AC_PROG_LIBTOOL is required by... configure.in:50: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/local/gnu-autotools/bin/autoconf failed with exit status: 1 Is there a gnu-libtool package? If there is I don't see it. There were a gnu-autoconf and gnu-automake packages but for some reason I don't see libtool in any of the standard packages for 6.2. Any ideas? Mike Check this link http://3v1n0.tuxfamily.org/beryl-backup/wiki/Install/FreeBSD and try to do steps from Add to your PATH /usr/local/gnu-autotools/bin to the end of section (without X11R6 line, of course). I already did that before. As you can see configure ran so the auto-whatever stuff is running. It just can't get the AC_PROG_LIBTOOL macro which I assume is because it can't find libtool. Mike Sorry. There's no gnu-libtool, cause libtool doesn't have multiple versions in devel, I guess, so you'll need devel/libtool, which installs /usr/local/share/aclocal/libtool.m4. If it's already installed, then I don't know why gnu-autotools doesn't find it... Yuri pgp5KIWljw6L6.pgp Description: PGP signature
Re: accessing mysql server remotely
On Mon, Jul 09, 2007 at 11:40:07PM -0400, fbsd2 wrote: Just a general question about mysql remote access. Is it possible to login to my remote mysql server and create a new db table using a file on the local system which contains the definition statements? Thanks Of course, it's possible. It's the same as you would use it locally, with added hostname parameter: mysql -h hostname -u username -p dbname yourfile.sql (that's basic syntax, check mysql(1) manpage). HTH, Yuri pgpjBOBlWiJmy.pgp Description: PGP signature
Re: (no subject)
On Tue, Jul 10, 2007 at 11:08:43AM -0300, [EMAIL PROTECTED] wrote: Hi all, I have a server in a host service that stopped this morning. After a contact with the service support of them, I got the following answer to the problem: [quote] REBOOT SERVER Due to a failed switch replacement FreeBSD did not restore the network link. This is a farly common issue with FreeBSD. I restarted the server and it should be back online shortly. [end quote] It's a P4-3GHz, with the following, probably on-board, ether card: vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xcc00-0xccff mem 0xfdffe000-0xfdffe0ff irq 23 at device 18.0 on pci0 Is this a really known problem? Is there anything I can do to avoid reboot? I have some (local) servers with FBSD and never had such problem. - Marcelo Just a guess - are you using autonegotiation on this NIC? Try to set media type manually using 'media' and 'mediaopt' ifconfig' flags. Yuri pgpSEfdd7ZEHR.pgp Description: PGP signature
Re: trouble with some startup items
On Sun, Jul 08, 2007 at 03:37:10PM -0500, Jonathan Horne wrote: ive been trying to figure out this problem for a while now. i have 2 things that are having trouble starting. apcupsd and samba. i recently noticed, that during start up, they are printed more than once to the console (and to my /var/log/console.log. here is the output of my most recent reboot: Jul 8 15:24:05 athena kernel: Starting syslogd. Jul 8 15:24:05 athena kernel: Initial i386 initialization: Jul 8 15:24:05 athena kernel: . Jul 8 15:24:05 athena kernel: Additional ABI support: Jul 8 15:24:05 athena kernel: linux Jul 8 15:24:07 athena kernel: . Jul 8 15:24:07 athena kernel: Setting date via ntp. Jul 8 15:24:09 athena kernel: 8 Jul 15:24:09 ntpdate[609]: step time server 24.162.39.167 offset 1.666967 sec Jul 8 15:24:09 athena kernel: Starting rpcbind. Jul 8 15:24:09 athena kernel: NFS access cache time=60 Jul 8 15:24:09 athena kernel: Starting mountd. Jul 8 15:24:09 athena kernel: Starting nfsd. Jul 8 15:24:09 athena kernel: Starting apcupsd. Jul 8 15:24:09 athena kernel: Starting apcupsd. Jul 8 15:24:09 athena kernel: Starting local daemons: Jul 8 15:24:09 athena kernel: . Jul 8 15:24:09 athena kernel: Updating motd Jul 8 15:24:09 athena kernel: . Jul 8 15:24:09 athena kernel: Mounting late file systems: Jul 8 15:24:09 athena kernel: . Jul 8 15:24:09 athena kernel: Starting ntpd. Jul 8 15:24:09 athena kernel: Starting usbd. Jul 8 15:24:10 athena kernel: Starting cupsd. Jul 8 15:24:10 athena kernel: Starting cupsd. Jul 8 15:24:10 athena kernel: Removing stale Samba tdb files: Jul 8 15:24:10 athena kernel: . Jul 8 15:24:10 athena last message repeated 7 times Jul 8 15:24:10 athena kernel: done Jul 8 15:24:10 athena kernel: Starting nmbd. Jul 8 15:24:10 athena kernel: Starting smbd. Jul 8 15:24:11 athena kernel: Removing stale Samba tdb files: Jul 8 15:24:11 athena kernel: . Jul 8 15:24:11 athena last message repeated 5 times Jul 8 15:24:11 athena kernel: done Jul 8 15:24:11 athena kernel: Starting nmbd. Jul 8 15:24:11 athena kernel: Starting smbd. Jul 8 15:24:11 athena kernel: Starting snmpd. Jul 8 15:24:11 athena kernel: Starting snmpd. Jul 8 15:24:11 athena kernel: Configuring syscons: Jul 8 15:24:11 athena kernel: blanktime Jul 8 15:24:11 athena kernel: . Jul 8 15:24:11 athena kernel: Starting sshd. Jul 8 15:24:12 athena kernel: Starting cron. Jul 8 15:24:12 athena kernel: Local package initialization: Jul 8 15:24:12 athena kernel: . Jul 8 15:24:12 athena kernel: Additional TCP options: Jul 8 15:24:12 athena kernel: . Jul 8 15:24:12 athena kernel: Starting inetd. Jul 8 15:24:12 athena kernel: Starting background file system checks in 60 seconds. Jul 8 15:24:12 athena kernel: Jul 8 15:24:12 athena kernel: Sun Jul 8 15:24:12 CDT 2007 Jul 8 15:24:19 athena kernel: Jul 8 15:24:19 athena apcupsd[689]: apcupsd FATAL ERROR in bsd-usb.c at line 711 Cannot find UPS device -- For a link to detailed USB trouble shooting information, please see http://www.apcupsd.com/support.html. Jul 8 15:24:19 athena kernel: Jul 8 15:24:19 athena apcupsd[689]: Valid lock file for pid=685, but not ours pid=689 Jul 8 15:24:19 athena kernel: Jul 8 15:24:19 athena apcupsd[689]: apcupsd error shutdown completed also, here is my /etc/rc.conf file. ive double checked it, and these items arent listed twice (not even sure if that would matter if it were). # -- sysinstall generated deltas -- # Fri Jun 16 12:58:58 2006 # Created: Fri Jun 16 12:58:58 2006 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. hostname=athena.dfwlp.com ifconfig_bge0=DHCP devfs_system_ruleset=localrules sshd_enable=YES usbd_enable=YES ntpdate_enable=YES ntpdate_hosts=0.us.pool.ntp.org snmpd_enable=YES inetd_enable=YES inetd_flags=-wW -a 192.168.125.83 ntpd_enable=YES linux_enable=YES rpcbind_enable=YES nfs_server_enable=YES mountd_flags=-r nfs_client_enable=YES # vsftpd_enable=YES cupsd_enable=YES samba_enable=YES apcupsd_enable=YES can anyone give me any guesses as to where i need to take a look as to what could be attempting the 2nd starts of these 2 items? also, simply restarting apcupsd will fail, but if i killall apcupsd then start it fresh, it works for the duration of my uptime (somehow the pid that stays running gets disassociated from the pid file). samba is similar behavior. my windows computer cannot access the samba, until it is restarted (samba restarts normally without any troubles). any clues at all, would be appreciated. cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] It happens because you now have /usr/X11R6 symlinked to /usr/local and local_startup rc variable still points to both. Insert local_startup=/usr/local/etc/rc.d
Re: adding password for root
On Sat, Jul 07, 2007 at 11:15:41AM +0200, Zbigniew Szalbot wrote: Hello, On Sat, 7 Jul 2007 10:48:52 +0200, Zbigniew Szalbot [EMAIL PROTECTED] wrote: Hello, Not sure how it came about but I just realized that my for new FBSD installation root user is without a password. When I log in remotely and want to use chpass to add a password for user root I am presented with vi editor in which I guess I could theoretically insert it. But this process was always interactive. How should I add a password for user root (remote login as root is disabled). Do I need to access that box physically and type it on the console or can I set it remotely? Stupid me. Instead of waiting for your advice I went ahead and entered a password in the vi editor, then saved. Unfortunately, this password is not accepted when I su. Is there any hope for me other than reinstallting the whole system? Thank you! -- Zbigniew Szalbot You'll need physical access. Boot into single user mode, and you shall be able to change password with `passwd`. Don't forget to `mount -a`. HTH, Yuri pgpKDJ4JqcoIW.pgp Description: PGP signature
Re: Ghostscript and options window
On Thu, Jul 05, 2007 at 10:11:21AM +0200, Alberto Rizzi wrote: When I build print/ghostscript-gpl on my 6.2-STABLE I have to choose which driver to build through the GPL Ghostscript driver configuration window. These settings aren't saved anywhere so, each time I upgrade ghostscript, I have to choose which drivers to install How can I set these options only once? You need to pass BATCH=yes to make. How you'll do it depends on ports tools you use - here's example for portconf: print/ghostscript-*: BATCH=yes HTH, Yuri pgpAZWMsHszkb.pgp Description: PGP signature
Re: BIND to listen on all interfaces?
On Wed, Jul 04, 2007 at 03:14:28PM +1000, Mikhail Goriachev wrote: Nejc Škoberne wrote: Hello, I am running BIND (from base system) on my FreeBSD 5.3 machine. The box is connected to outer world via ADSL connection (tun0 device). If the named is started when the machine is connected to the internet, then everything is OK, I get this by saying netstat -n -a: udp4 0 0 X.X.X.X.53 *.* udp4 0 0 127.0.0.1.53 *.* udp4 0 0 10.0.1.3.53*.* but at boot time, the named starts before the PPP connection is started, so the tun0 interface is not up yet. So that's why I get this: udp4 0 0 127.0.0.1.53 *.* udp4 0 0 10.0.1.3.53*.* In BIND manual, it says: If no listen-on is specified, the server will listen on port 53 on all interfaces. I also tried to specify the ADSL IP address in named.conf (it is static), but it is still a no go. I don't have such problems with other daemons! Any ideas? An idea: Assuming you're using ppp, let it restart named after it connects to the Internet. Have a /etc/ppp/ppp.linkup and put the following or similar into it: adsl: ! /etc/rc.d/named restart Read the ppp man pages for further details. Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: www.webanoide.org Another option can be the use of interface-interval: interface-interval The server will scan the network interface list every interface-interval minutes. The default is 60 minutes. The maximum value is 28 days (40320 minutes). If set to 0, interface scanning will only occur when the configuration file is loaded. After the scan, the server will begin listening for queries on any newly discovered interfaces (provided they are allowed by the listen-on configuration), and will stop listening on interfaces that have gone away. (from BIND ARM). HTH, Yuri pgp8CM2KmWqHH.pgp Description: PGP signature
Re: Ports Dir
On Wed, Jul 04, 2007 at 11:02:02AM -0400, Grant Peel wrote: Can one run 'make clean' in the /usr/ports directory in the hope of reducing disk space? -Grant Yes, you can, but it will take significant amount of time. Better approach would be using portsclean (it's in portupgrade package) - you can clean stale `work' dirs, unreferenced distfiles, etc. with it. And to just clean stale `work' dirs you can use something like `rm -rf /usr/ports/*/*/work'. HTH, Yuri pgpAKwi3t7Uea.pgp Description: PGP signature
Re: Ports Dir
On Wed, Jul 04, 2007 at 02:19:51PM -0500, [EMAIL PROTECTED] wrote: On 04/07/07, Robert Huff [EMAIL PROTECTED] wrote: Pablo Mora writes: Can one run 'make clean' in the /usr/ports directory in the hope of reducing disk space? portsclean -CDD portsclean is part of the portupgrade port, not the base system. Not everyone has it installed, or wants to. To the original poster: yes, you can. Mind you, I'm not sure it's the most efficient way - since I have portupgrade installed, I prefer portsclean. Indeed. If you set WRKDIRPREFIX you can merely rm -r $WRKDIRPREFIX/ports. The distfiles can be a bit more difficult to deal with in a sane manner without some sort of add-on tool. -- -- That tool lives in /usr/ports/Tools/scripts and is called distclean.sh, I think :) Yuri pgphsnPzDWQ66.pgp Description: PGP signature
Re: New FreeBSD installation
On Wed, Jul 04, 2007 at 04:16:47PM -0400, Lisa Casey wrote: Hi, First, thanks for the help I got from this list when I was having problems getting FreeBSD to install on a new system. Hard drive cabling was the problem - got that fixed. I have FreeBSD up and running now. I have a couple of questions. When I installed FreeBSD, it automatically installed Sendmail 8.13. I installed cyrus-sasl2 and cyrus-sasl2-saslauthd from ports because I need SMTP auth. Sendmail is running on the box: # ps waux | grep sendmail smmsp 20613 0.0 0.1 3440 2800 ?? Is2:53PM 0:00.00 sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/clientmqueue (sendmail) root 20615 0.0 0.2 4400 3692 ?? Ss2:54PM 0:00.03 sendmail: accepting connections (sendmail) but I cannot send mail through this server using Outlook Express on the Windows computer on my desk (I get a generic error message about the connection to the server has failed nor can I telnet to port 25 on this server. I have noticed that there isn't anything in /etc/rc.conf regarding sendmail (no SENDMAIL_ENABLE=YES etc.) but since sendmail is starting from rc.d perhaps there shouldn't be anything in rc.conf? I'm not sure where to begin trying to figure out why I can't send mail or telnet to port 25. What am I overlooking here? Sendmail will run only local submission if you don't have sendmail_enable=YES in /etc/rc.conf, so you need to add it to make sendmail listen on interfaces other than 127.0.0.1. Regarding SMTP AUTH - you need to recompile sendmail with SASL - http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html Also, when I installed FreeBSD, I installed SSH. Unfortunately, at first I put the wrong IP address on this machine (it conflicted with another server I currently have running). I fixed that. In /var/messages, however, I'm seeing this every 10 minutes or so: Jul 4 16:12:14 mail inetd[423]: ssh/tcp: bind: Address already in use I don't know if this is because I initially setup this server with the wrong IP address on the ethernet interface (and ssh is trying to bind to this wrong IP) or if I'm getting this message because ssh is being started from both rc.d (there is a script in there for ssh) and from /etc/rc.conf (/etc/rc.conf contains sshd_enable=YES) You are starting sshd both as daemon and as inetd service. So either comment out ssh lines in /etc/inetd.conf and restart it or remove sshd_enable=YES from /etc/rc.conf (but be sure to check sshd(8) manpage and search for 'inetd'). Thanks for the help, Lisa CAsey HTH, Yuri pgpjggvTOANim.pgp Description: PGP signature
Re: editing the search path for '#include' preprocessor
On Fri, Jun 29, 2007 at 12:03:11PM +0530, sameer gupta wrote: thanks, however i would like to add more details of my problem: cd /usr/home/sameer/ gcc -o prog1 prog1.c -lelf -I /usr/local/include/libelf In file included from prog1.c:3: /usr/local/include/libelf/libelf.h:31:28: libelf/sys_elf.h: No such file or So you need to specify -I/usr/local/include too. directory In file included from prog1.c:3: /usr/local/include/libelf/libelf.h:185: error: syntax error before '*' token /usr/local/include/libelf/libelf.h:185: warning: data definition has no type or storage class /usr/local/include/libelf/libelf.h:187: error: syntax error before '*' token /usr/local/include/libelf/libelf.h:187: warning: data definition has no type or storage class /usr/local/include/libelf/libelf.h:189: error: syntax error before '*' token /usr/local/include/libelf/libelf.h:189: warning: data definition has no type or storage class /usr/local/include/libelf/libelf.h:194: error: syntax error before '*' token /usr/local/include/libelf/libelf.h:194: warning: data definition has no type or storage class /usr/local/include/libelf/libelf.h:195: error: syntax error before '*' token /usr/local/include/libelf/libelf.h:195: warning: data definition has no type or storage class prog1.c: In function `main': prog1.c:28: error: syntax error before ';' token Compilation exited abnormally with code 1 at Fri Jun 29 17:15:34 :::even though the sys_elf.h exists under the folder i specified using the -I flag while compiling still my compiler cant find the header kindly suggest, regards, sameer On 6/27/07, Roland Smith [EMAIL PROTECTED] wrote: On Wed, Jun 27, 2007 at 03:35:46PM +0530, sameer gupta wrote: hello, i want to add new search path's for including more directories for header files, for that i need to edit the makefile that my gcc compiler uses, however i cant figure out where to find that file, kindly help..i'm a newbie who has just started out You can set environment variables to help GCC find include files and libraries in your shell's startup script. For include files you can set CPATH, for libraries you'll need to set LIBRARY_PATH. See http://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html Both can contain different paths separated by a colon (:). How to set environment variables depends on the shell you use. csh uses the 'set' command, while sh and bash use 'export'. See your shell's manual page for details. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) Yuri pgpDajmEMZdha.pgp Description: PGP signature
Re: Stop in /usr/ports/... error code 1
On Fri, Jun 29, 2007 at 09:27:00AM +0200, zigniew szalbot wrote: Hi, I sometimes make a mistake of selecting wrong options while installing port software which ends in a port not being installed. I never know how to undo it in order to start again from the options selection. I try make clean but that does not fix the issue and I cannot get a given port installed. What is the procedure to delete initial choice of settings to start afresh? Thank you very much in advance! Zbigniew Szalbot You can use 'make config' in port's directory to configure OPTIONS again. This and many other make targets are documented in ports(7) manpage. HTH, Yuri pgpagtJS3dulu.pgp Description: PGP signature
Re: gdk-pixbuf is stat stat stat stating my files
On Fri, Jun 29, 2007 at 01:22:59AM -0700, Rudy Rucker wrote: My desktop is REAL slow. Here is an example that something is awry.. if I run # truss -o /tmp/truss xfce4-tips and click CLOSE immediately when the window is launched (it takes about 60 seconds) the truss file is large (76MB): # ls -s /tmp/truss 76128 /tmp/truss # grep -c '/usr/local/share/icons/gnome' /tmp/truss 531404 # find /usr/local/share/icons/gnome | wc -l 5597 # grep '^stat(//usr/local/share/icons/gnome/22x22/status/stock_volume-min.png' /tmp/truss | grep volume-min | wc -l 125 Things seem to go ape shit after this line in the truss output: open(/usr/local/etc/gtk-2.0/gdk-pixbuf.loaders,O_RDONLY,00) = 5 (0x5) So, here are the questions: why does gdk-pixbuf have to stat every icon 125 times for a total of 500,000+ stats just to launch one little window? I can repeat the process with 'Terminal' and other programs... System info FreeBSD monchichi.monkeybrains.net 6.2-STABLE FreeBSD 6.2-STABLE i386 (running on an AMD) gdk-pixbuf-0.22.0_6 xfce-4.4.1_1 THanks for any tips... running cvsup right now and attempting to upgrade (if possible) pixbuf See gtk-update-icon-cache(1) manpage and try running it as root with -f flag. Permissions on icon-theme.cache files is the reason I can think of. HTH, Yuri pgpTY7B7E0KEl.pgp Description: PGP signature
Re: mod_php4 question
On Thu, Jun 28, 2007 at 08:58:11AM -0300, Peter marshall wrote: I am trying to install mod_php4 using ports. The problem is I do not have a mod_php4 directory. Does a port exist for this? How do you get a port that you do not have a directory for after doing a cvsup? Sorry to ask a bunch of newbie questions. Use lang/php4 and check APACHE Build Apache module box. And for ports, that existed before and doesn't after cvsup, be sure to check /usr/ports/MOVED: www/mod_php4|lang/php4|2006-05-06|Unification of php slave ports HTH, Yuri pgpnA6QHYl80W.pgp Description: PGP signature