Installing VMware Tools on FreeBSD 9, amd64
I've installed the compat6x libraries and made a symlink to /lib for libc.so.6 as per some docs I found; however, the vmware tools installation is still failing with: Unable to copy the source file /usr/local/lib/vmware-tools/modules/binary/FreeBSD8.0-amd64/vmxnet.ko to the destination file /boot/modules/vmxnet.ko. The reason being is that /usr/local/lib/vmware-tools/modules/binary/ only contains: FreeBSD6.0-amd64FreeBSD6.0-i386FreeBSD7.0-amd64 FreeBSD7.0-i386 Is this a bug in the vmware install script or have I missed something--or can I use a different option? Thing is, I'm on 9.0 RELEASE. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
7.2 system stuck trying at boot, trying to mount root device
I'm running a modest PC that has FreeBSD-7.2 installed (fairly current build from CVS). Today, I did a shutdown -r to reboot the system. When it returned, the console is reporting: Trying to mount root from ufs:/dev/ad4s1a I've gone through and restored the boot loader, this works fine (it's back to F1 or F2) -- it continues to do this. I also did a proper mount, fsck, and umount under the LiveFS shell, which made no difference. Then I tried a modest binary upgrade just in case. No luck. After Googling around, and not finding much more info than what I did, I figured I would ask here. If I have to, I can ship off the data to another system (after I rebuild) and try to bring all it's functions back (but it's a lot, cyrus, etc). The other messages I see on the console include GEOM output: GEOM_LABEL: Label for provider ad4s1a is ufsid/blahblah then GEOM_LABEL: Label for ufsid/blahblah removed. Anyone know how I can rescue this? Thanks. ___ 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
SSH timeouts from remote connections on 7.1beta
This is a recent phenomenon. I use a Mac client (iTerm) to connect to all my hosts internally. Same network. My connections to the FreeBSD-7.1.x system continually timeout when idle, and I have to re-connect (thankfully, I use screen). It's becoming annoying, and though I've set TcpKeepAlive, it still happens. I'm trying to track this down and understand where the problem is. The connections to my other hosts (Linux and Solaris) are fine - my FreeBSD connections have been fine until recently. Anyone see this happening or have more info. Thanks. /F ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Bellcore MGR lightweight window manager on FreeBSD?
Does anyone remember the lightweight window manager called MGR, from Bellcore? ftp://sunsite.unc.edu/pub/Linux/apps/MGR/!INDEX.html I'm curious if anyone out there has gotten this to run on FreeBSD. I used it on an older system, years ago, and it was pretty effective - and would be useful for low-res environments, etc. Thx... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ZFS mount points
What precautions could I take to prevent users from writing to a portion of a ZFS mount point that might fill up the underlying filesystem that wouldn't impede writes to that ZFS mount point. For example: /foo/bar/volume If some program accidentally started writing to /foo/bar, as far as I understand, it would end up filling / and not the zpool. I could re-do this so that /zpool1 was /foo to mitigate this - though I've already established production mounts pointing to /foo/bar/volume (which is actually zpool1/volume). Would changing zpool1 to /dce create havoc, since I'm NFS exporting /foo/bar/volume. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with gio-fam-backend, portupgrade failing...
I'm having the same type of problems when compiling scanlogd (just posted a separate message about it). I installed the binary *.tbz package from freebsd.org, and that didn't quite work, there are other dependencies it needs. It's been a little frustrating. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compiling scanlogd and dependencies (libnids, et al).... problems.
After a week of trying to resolve these issues, I want to ask if anyone has had luck getting this lot to compile correctly. I am looking to get scanlogd compiled with libnids. This is the last error I get: cc -shared .libs/libgiofam_la-fam-helper.o .libs/libgiofam_la-fam-module.o .libs/libgiofam_la-gfamdirectorymonitor.o .libs/libgiofam_la-gfamfilemonitor.o -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libintl.so -lgio-2.0 /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libfam.so -march=pentium4 -Wl,-soname -Wl,libgiofam.so -Wl,-retain-symbols-file -Wl,.libs/libgiofam.exp -o .libs/libgiofam.so /usr/bin/ld: cannot find -lgio-2.0 gmake: *** [libgiofam.la] Error 1 *** Error code 2 Stop in /usr/ports/devel/gio-fam-backend. *** Error code 1 Stop in /usr/ports/net/libnids. *** Error code 1 I tried installing binary packages from ftp.freebsd.org (not my preferred method) - but it doesn't link even against the binary libnids, tons of errors. This is on a recently updated FreeBSD_7.0 system - two different systems (different configs) have the same problems above. I'd appreciate any pointers - or just info that these are known errors. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Signed binary support in the kernel
Does FreeBSD support signed binaries - similar to what other (Linux, that I've seen) systems can do where the kernel will refuse to run the binary unless it's passes a digital signature test. I'm curious about how this works, if (and how) it could be implemented to help lock down a given system. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache-2.0+PHP5 does not like MySQL-5.x ...
After a long process of figuring out what went wrong, httpd was using a ton of resources when it received a HUP signal (log rotation at midnight). Subsequently, php -v was dumping core things pointed to mysqli.so. Long story short, I downgraded to mysql-4.10, recompiled php5 and dependencies and walla, no more problems. Though I didn't specifically figure out the problem, I'm pretty sure it's MySQL related as that was the only thing that was changed on this system (apart from recompiling dependencies to support the new API). I wonder if someone has run across this and if so, have you found a bug or a solution. Thanks. ___ 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-STABLE Apache 2.0 uses high CPU when restarted....
Mel wrote: On Friday 22 February 2008 04:26:12 Forrest Aldrich wrote: Mel wrote: Your extensions.ini has duplicate and non-existing modules. Start here: mv /usr/local/etc/php/extensions.ini /usr/local/etc/php/extensions.ini.bkp sort -u /usr/local/etc/php/extensions.ini.bkp |while read MOD; do if test -f /usr/local/lib/php/20060613/${MOD##extension=}; then echo $MOD fi done /usr/local/etc/extensions.ini php -v I've done this and still have a problem with PHP5 dumping core: [EMAIL PROTECTED] /usr/ports/lang/php5]# php -v PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Feb 21 2008 21:51:01) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator with Suhosin v0.9.18, Copyright (c) 2002-2006, by Hardened-PHP Project Segmentation fault: 11 (core dumped) I tried compiling this without eAccelerator, got the same problem. I'm now trying it without the Suhosin enhancements to see if that's the problem - sent a copy of this to the PHP5 port maintainer. Sorry, the internet is global and my pumpkin time was up. Suhosin isn't the problem. What the above did is make sure you have no non-existing modules loading and no modules twice. But the sort order was alphabetic and that's why it still dumps core. Some modules depend on eachother and one needs to be loaded before the other or it goes to hell. Nothing else you can do then figure out the correct order. Experience teaches spl, session and mysqli are common culprits. spl before sqlite before pdo_sqlite before session before mysqli before xmlreader *usually* works. I tried this and still having core dumps. This seems like an odd problem that the PHP folk might need to solve somehow. There must be a way to use the php.core file to determine what's causing it to crash... not something I've had much experience with. If I can determine where it's crashing, then I can have a better sense of what needs to be re-ordered. I noticed over time as I upgraded php modules that it did put in duplicate entries... seems like a bug. Thanks for your help, I appreciate it ;-) Forrest ___ 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-STABLE Apache 2.0 uses high CPU when restarted....
Mel wrote: You can, if you see this: (gdb) bt #0 0x28e4fe5c in ?? () #1 0x2855bb83 in pthread_mutex_destroy () from /lib/libc.so.6 #2 0x285e74fd in __tcf_1 () from /usr/local/lib/libaspell.so.16 #3 0x2855a97a in __cxa_finalize () from /lib/libc.so.6 #4 0x285e6e4a in __do_global_dtors_aux () from /usr/local/lib/libaspell.so.16 #5 0x2867a204 in _fini () from /usr/local/lib/libaspell.so.16 In this case, it was the pspell module. __do_global_dtors_aux is usually the problem - destroying the globals it created. Seems I cannot use GDB on this due to : This GDB was configured as i386-marcel-freebsd.../usr/local/etc/php/php.core: not in executable format: File format not recognized I tried doing a strings -a to peek around, but it doesn't tell you much. Thanks... ___ 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-STABLE Apache 2.0 uses high CPU when restarted....
Sorry Mel, I should have looked at the manpage before replying. Here is the output I got: # gdb /usr/local/bin/php php.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd...(no debugging symbols found)... Core was generated by `php'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libcrypt.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.3 Reading symbols from /lib/libm.so.4...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.4 Reading symbols from /usr/local/lib/libxml2.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libxml2.so.5 Reading symbols from /lib/libz.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.3 Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/local/lib/php/20060613/eaccelerator.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/php/20060613/eaccelerator.so Reading symbols from /usr/local/lib/php/20060613/bz2.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/php/20060613/bz2.so Reading symbols from /usr/lib/libbz2.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libbz2.so.2 Reading symbols from /usr/local/lib/php/20060613/calendar.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/php/20060613/calendar.so Reading symbols from /usr/local/lib/php/20060613/pcre.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/php/20060613/pcre.so Reading symbols from /usr/local/lib/php/20060613/ctype.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/php/20060613/ctype.so Reading symbols from /usr/local/lib/php/20060613/spl.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/php/20060613/spl.so Reading symbols from /usr/local/lib/php/20060613/curl.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/php/20060613/curl.so Reading symbols from /usr/local/lib/libcurl.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libcurl.so.4 Reading symbols from /usr/lib/libssl.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.4 Reading symbols from /lib/libcrypto.so.4...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypto.so.4 Reading symbols from /usr/local/lib/php/20060613/dom.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/php/20060613/dom.so Reading symbols from /usr/local/lib/php/20060613/exif.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/php/20060613/exif.so Reading symbols from /usr/local/lib/php/20060613/filter.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/php/20060613/filter.so Reading symbols from /usr/local/lib/libpcre.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpcre.so.0 Reading symbols from /usr/local/lib/php/20060613/ftp.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/php/20060613/ftp.so Reading symbols from /usr/local/lib/php/20060613/gd.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/php/20060613/gd.so Reading symbols from /usr/local/lib/libt1.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libt1.so.5 Reading symbols from /usr/local/lib/libfreetype.so.9...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libfreetype.so.9 Reading symbols from /usr/local/lib/libX11.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libX11.so.6 Reading symbols from /usr/local/lib/libXpm.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXpm.so.4 Reading symbols from /usr/local/lib/libpng.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpng.so.5 Reading symbols from /usr/local/lib/libjpeg.so.9...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libjpeg.so.9 Reading symbols from /usr/local/lib/libXau.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXau.so.6 Reading symbols from /usr/local/lib/libXdmcp.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXdmcp.so.6 Reading symbols from
Re: 6.3-STABLE Apache 2.0 uses high CPU when restarted....
Mel wrote: [ .. ] Could you disable the accelerator? Can't say I've seen this one before. Just add a semi colon ';' in front of the module, leave the order in tact. If it still dumps core, then the imap one. You might have to recompile php and all the modules with debugging support to find out what's being free'd there. Interesting, the extension=eaccelerator.so line went missing in /usr/local/etc/php/extensions.ini, so I added it. NOW all I get is this: # php -v PHP Fatal error: [eAccelerator] eAccelerator 0.9.5.2 can not be loaded twice in Unknown on line 0 but it's not listed twice there. I'll keep looking around do you know where it might be reloading this? Thanks, Forrest ___ 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-STABLE Apache 2.0 uses high CPU when restarted....
Mel, I found the duplicate entry, which was in /usr/local/etc/php.ini: ; Zend Extensions zend_extension=/usr/local/lib/php/20060613/eaccelerator.so eaccelerator.shm_size=16 eaccelerator.cache_dir=/var/eaccelerator eaccelerator.enable=1 eaccelerator.optimizer=1 eaccelerator.check_mtime=1 eaccelerator.debug=0 eaccelerator.filter= eaccelerator.shm_max=0 eaccelerator.shm_ttl=0 eaccelerator.shm_prune_period=0 eaccelerator.shm_only=0 eaccelerator.compress=1 eaccelerator.compress_level=9 I commented out the zend_extension, leaving it in /usr/local/etc/php/extensions.ini. I'll try commenting out imap next. Still getting: # php -v PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Feb 21 2008 22:45:11) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator Segmentation fault: 11 (core dumped) Thanks. ___ 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-STABLE Apache 2.0 uses high CPU when restarted....
I took a shortcut and decided to comment out all extensions but these: extension=mysql.so extension=mysqli.so extension=eaccelerator.so Now I run php -v and get this: # php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/mysqli.so' - /usr/local/lib/php/20060613/mysqli.so: Undefined symbol spl_ce_RuntimeException in Unknown on line 0 /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/eaccelerator.so: Undefined symbol php_session_register_module The mysqli.so is there: -r--r--r-- 1 root wheel 116892 Feb 21 23:45 /usr/local/lib/php/20060613/mysqli.so Could be I need to enable another extension to satisfy the last issue with the variable, though I wonder if this is a hint at what might be wrong... Thanks. ___ 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-STABLE Apache 2.0 uses high CPU when restarted....
Mel wrote: On Friday 22 February 2008 18:36:59 Forrest Aldrich wrote: I took a shortcut and decided to comment out all extensions but these: extension=mysql.so extension=mysqli.so extension=eaccelerator.so Now I run php -v and get this: # php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/mysqli.so' - /usr/local/lib/php/20060613/mysqli.so: Undefined symbol spl_ce_RuntimeException in Unknown on line 0 ^^^ Mysqli needs spl. It uses it's exception code among others. I'm going to remove all of the PHP5 code and extensions and start all over again and see what happens Thanks. ___ 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-STABLE Apache 2.0 uses high CPU when restarted....
Mel, I recompiled php5 with debugging enabled; but it seems the FreeBSD php5-extensions build ignores this flag and compiles the extensions as-is. No option in their makefile. Anyway, here's the output... I don't think it really says much than before. Thanks, Forrest # php -v PHP Warning: PHP Startup: pdf: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: session: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: bz2: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: calendar: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: ctype: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: curl: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: pcre: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: SimpleXML: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: SPL: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: dom: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: exif: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: filter: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: ftp: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: gd: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: gettext: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: gmp: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: hash: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: iconv: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: imap: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHPcompiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: json: Unable to initialize module
Re: 6.3-STABLE Apache 2.0 uses high CPU when restarted....
Mel, etc., I downgraded my system back to MySQL-4.1 (where I had updated to MySQL-5.1) and this has solved the problem. Lesson: don't upgrade your FreeBSD-6.3/Apache-2.0 system to MySQL-5.x without making sure it works first ;-) Of course, there was no way I could have predicted this problem. I suspect it would work fine on Linux, however. I didn't really solve the problem specifically - in terms of the error, but this worked. Thanks for your help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compiling SoGo on FreeBSD
Has anyone had luck compiling the SoGo calendaring server on FreeBSD-6.3? I've found it quite involved and difficult, especially with the GNUstep dependencies. http://www.inverse.ca/english/contributions/sogo.html. Thanks in advance. _F ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
6.3-STABLE Apache 2.0 uses high CPU when restarted....
I recently recomplied the apache20 port (updated) with no compile-time changes. Since that time, I noticed it was hogging 98% of the CPU and hanging. I adjusted the various Max/Min server levels and that seemed to fix it - except at midnight when the logs are rotated and the server is sent a HUP signal. When that happens, all the processes die except one and it hangs at 90% CPU. I kill it off, restart it manually and it behaves fine. Here's a recent output of top : PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 94711 www 1 1170 41036K 13852K RUN0 1:43 98.69% httpd The only thing that has changed on the system is an upgrade from MySQL-4.1 to MySQL-5.1, which I wouldn't expect httpd to be affected by, but I could be wrong. To be sure, I recompiled it, PHP and any dependencies that PHP has, but I'm still seeing the same result. I tried compiling MySQL-5.1 with and without pthreads and see the same CPU consumption issue. I wonder if I've hit a bug or if I've possibly messed something up (as careful as I've been anyway). Thanks, Forrest ___ 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-STABLE Apache 2.0 uses high CPU when restarted....
Derek Ragona wrote: At 08:34 AM 2/21/2008, Forrest Aldrich wrote: I recently recomplied the apache20 port (updated) with no compile-time changes. Since that time, I noticed it was hogging 98% of the CPU and hanging. I adjusted the various Max/Min server levels and that seemed to fix it - except at midnight when the logs are rotated and the server is sent a HUP signal. When that happens, all the processes die except one and it hangs at 90% CPU. I kill it off, restart it manually and it behaves fine. Here's a recent output of top : PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 94711 www 1 1170 41036K 13852K RUN0 1:43 98.69% httpd The only thing that has changed on the system is an upgrade from MySQL-4.1 to MySQL-5.1, which I wouldn't expect httpd to be affected by, but I could be wrong. To be sure, I recompiled it, PHP and any dependencies that PHP has, but I'm still seeing the same result. I tried compiling MySQL-5.1 with and without pthreads and see the same CPU consumption issue. I wonder if I've hit a bug or if I've possibly messed something up (as careful as I've been anyway). Thanks, Forrest What is showing in the apache logs when this happens? -Derek The only thing I see are multiple lines of these errors in error_log: [Thu Feb 21 00:00:12 2008] [error] child process 63633 still did not exit, sending a SIGKILL [Thu Feb 21 00:00:12 2008] [error] child process 63634 still did not exit, sending a SIGKILL [Thu Feb 21 00:00:12 2008] [error] child process 63635 still did not exit, sending a SIGKILL [Thu Feb 21 00:00:12 2008] [error] child process 63636 still did not exit, sending a SIGKILL [Thu Feb 21 00:00:12 2008] [error] child process 63637 still did not exit, sending a SIGKILL [Thu Feb 21 00:00:12 2008] [error] child process 63983 still did not exit, sending a SIGKILL [Thu Feb 21 00:00:12 2008] [error] child process 64048 still did not exit, sending a SIGKILL Which is correct, as the process is not exiting. For some reason it's hanging. The old binary did not do this. I could try another system update today (make/build/install world and recompile the apache executable and dependencies) to see if this solves the problem... Thanks, Forrest ___ 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-STABLE Apache 2.0 uses high CPU when restarted....
Mel wrote: On Thursday 21 February 2008 18:57:38 Forrest Aldrich wrote: Here's a recent output of top : PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 94711 www 1 1170 41036K 13852K RUN0 1:43 98.69% httpd Is this memory rising? If the below suggestion doesn't narrow down the problem, could you look into ktrace(1) and see what it's doing all this time? You could also try to narrow down the problem, by looking at what request was served last by that child. Enable mod_info for that. The only thing I see are multiple lines of these errors in error_log: [Thu Feb 21 00:00:12 2008] [error] child process 63633 still did not exit, sending a SIGKILL [Thu Feb 21 00:00:12 2008] [error] child process 63634 still did not exit, sending a SIGKILL [Thu Feb 21 00:00:12 2008] [error] child process 63635 still did not exit, sending a SIGKILL [Thu Feb 21 00:00:12 2008] [error] child process 63636 still did not exit, sending a SIGKILL [Thu Feb 21 00:00:12 2008] [error] child process 63637 still did not exit, sending a SIGKILL [Thu Feb 21 00:00:12 2008] [error] child process 63983 still did not exit, sending a SIGKILL [Thu Feb 21 00:00:12 2008] [error] child process 64048 still did not exit, sending a SIGKILL Which is correct, as the process is not exiting. For some reason it's hanging. The old binary did not do this. I could try another system update today (make/build/install world and recompile the apache executable and dependencies) to see if this solves the problem... I doubt it would help. I've seen this lots of times when the php module exit code is hanging. At the same time, the php CLI binary should be crashing on exit. Re-order your modules, there's a thread about it in the archives. If it wasn't for that useless piece of crap ht-dig, I'd have a link for you. :p Anyway, to test if it's this problem, run php -v and see if you get coredump. If you don't have CLI available, you could try disabling php in apache and see if the problem persists. THANK YOU. I think this is definitely a good lead to where the problem exists. I am including the output of php -v here. [root]# php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/fileinfo.so' - Cannot open /usr/local/lib/php/20060613/fileinfo.so in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/imagick.so' - Cannot open /usr/local/lib/php/20060613/imagick.so in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/fileinfo.so' - Cannot open /usr/local/lib/php/20060613/fileinfo.so in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/imagick.so' - Cannot open /usr/local/lib/php/20060613/imagick.so in Unknown on line 0 PHP Warning: Module 'zip' already loaded in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/wddx.so' - Cannot open /usr/local/lib/php/20060613/wddx.so in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/sqlite.so' - /usr/local/lib/php/20060613/sqlite.so: Undefined symbol spl_ce_Countable in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/dba.so' - Cannot open /usr/local/lib/php/20060613/dba.so in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/bcmath.so' - Cannot open /usr/local/lib/php/20060613/bcmath.so in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/shmop.so' - Cannot open /usr/local/lib/php/20060613/shmop.so in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/readline.so' - Cannot open /usr/local/lib/php/20060613/readline.so in Unknown on line 0 PHP Warning: Module 'gmp' already loaded in Unknown on line 0 PHP Warning: Module 'bz2' already loaded in Unknown on line 0 PHP Warning: Module 'calendar' already loaded in Unknown on line 0 PHP Warning: Module 'ctype' already loaded in Unknown on line 0 PHP Warning: Module 'curl' already loaded in Unknown on line 0 PHP Warning: Module 'pcre' already loaded in Unknown on line 0 PHP Warning: Module 'SimpleXML' already loaded in Unknown on line 0 PHP Warning: Module 'dom' already loaded in Unknown on line 0 PHP Warning: Module 'exif' already loaded in Unknown on line 0 PHP Warning: Module 'ftp' already loaded in Unknown on line 0 PHP Warning: Module 'gd' already loaded in Unknown on line 0 PHP Warning: Module 'gettext' already loaded in Unknown on line 0 PHP Warning: Module 'gmp' already loaded in Unknown on line 0 PHP Warning: Module 'iconv' already loaded in Unknown on line 0 PHP Warning: Module 'imap' already loaded in Unknown on line 0 PHP
Re: 6.3-STABLE Apache 2.0 uses high CPU when restarted....
Mel wrote: Your extensions.ini has duplicate and non-existing modules. Start here: mv /usr/local/etc/php/extensions.ini /usr/local/etc/php/extensions.ini.bkp sort -u /usr/local/etc/php/extensions.ini.bkp |while read MOD; do if test -f /usr/local/lib/php/20060613/${MOD##extension=}; then echo $MOD fi done /usr/local/etc/extensions.ini php -v I've done this and still have a problem with PHP5 dumping core: [EMAIL PROTECTED] /usr/ports/lang/php5]# php -v PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Feb 21 2008 21:51:01) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator with Suhosin v0.9.18, Copyright (c) 2002-2006, by Hardened-PHP Project Segmentation fault: 11 (core dumped) I tried compiling this without eAccelerator, got the same problem. I'm now trying it without the Suhosin enhancements to see if that's the problem - sent a copy of this to the PHP5 port maintainer. Thanks again, Forrest ___ 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-STABLE Apache 2.0 uses high CPU when restarted....
Mel, I did the recompile (including php5 and php5-extensions) and still get this: # php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/mysqli.so' - /usr/local/lib/php/20060613/mysqli.so: Undefined symbol spl_ce_RuntimeException in Unknown on line 0 PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Feb 21 2008 22:45:11) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator Segmentation fault: 11 (core dumped) Though, I'm able to at least get my website running (which uses PHP) -- it will inevitably crash again when the logs are rotated. Maybe I should consider upgrading to apache22? _F ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Extremely slow authentication via SSH on FreeBSD 6.0
First, thank you to others who posted about this issue. I altered /etc/ssh/sshd_config for UseDNS no, and noticed I get the prompt right away, however it still takes about 15 seconds after authentication to get a shell prompt. This is FreeBSD version: FreeBSD 6.3-PRERELEASE #7: Sat Dec 22 11:12:15 EST 2007 I noticed this behavior after the last system build and install. Prior to that, I didn't see problems like this. I don't see this problem with httpd (apache) etc. The DNS servers my ISP provides are quickly reachable and appear to be caching very well, so I doubt that's the issue. Conversely, and perhaps this is a hint, the GW I log in to has this problem, but if I log in from there to an internal system using the same exact version of FreeBSD, I don't have any problems like this at all. The difference being I also use internal DNS as well as /etc/hosts entries. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cvsup.freebsd.org DNS lookup failure(s)
Anyone else seeing this problem today? Name lookup failure for cvsup.FreeBSD.org: Host name lookup failed Will retry at 07:54:22 Other hosts resolve fine. I did a search on the lists and didn't notice anything about host changes, etc. _F ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bootup/netconfig oddity
The problem ended up being I had the incorrect netmask. They are using here 255.255.0.0 instead of 255.255.255.0 Lowell Gilbert wrote: Forrest Aldrich [EMAIL PROTECTED] writes: I have a freshly-built (cvsup'd today) FreeBSD_6.1 system which fails to set the default router upon boot. I have tried two routers, both on the same /24 segment... network unreachable. These were set using the defaultrouter=xxx.xx.xxx.xx in /etc/rc.conf. However... if I manually use dhclient em0, it works. I wonder if I'm hitting a bug, or ... It sounds like you're trying to set a default router that isn't on a local network. When you *don't* use dhclient on em0, how do you configure it? It needs to have an address and netmask that correspond to the router in order to set a default route through the router. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Bootup/netconfig oddity
I have a freshly-built (cvsup'd today) FreeBSD_6.1 system which fails to set the default router upon boot. I have tried two routers, both on the same /24 segment... network unreachable. These were set using the defaultrouter=xxx.xx.xxx.xx in /etc/rc.conf. However... if I manually use dhclient em0, it works. I wonder if I'm hitting a bug, or ... _F ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Linksys PAP2 with FreeBSD...
Anyone here use the PAP2 on FreeBSD.. perhaps with isc-dhcpd. I plug it in and, despite whatever I configure it to be, it wants to take over the RFC LAN (systems stop routing/responding). I'm gonna continue cracking away at it, but figured I'd ask if someone has seen this problem, etc. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fedora Directory Server Project (release 1.0)
The posted requirements appear to be basic, though I'm wondering if anyone (with sufficient Linux experience) can comment on whether this might be successfully built on FreeBSD. http://directory.fedora.redhat.com/wiki/Main_Page _F ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compiling /usr/src for different machines in one location...
I have a firewall machine that's slower (it's just a firewall) for which I'd like to do a buildworld/buildkernel on another faster machine. The old machine is a 500mhz 686 class machine, the newer is 2.8ghz 686 class. I don't know that I'd need to adjust the CC flags for this, however. It's probably in the handbook (I've searched) on how to do this. My guess is passing flags to make in /usr/src and nfs-mounting that from the older machine to perform an installworld - provided that is possible in single user mode. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OpenAFS for FreeBSD...
I've asked the OpenAFS people about a port to FreeBSD. They recently gained a port to OS X, which I understand has a similar/FreeBSD codebase. Anyone? Original Message Subject:Re: OpenAFS for MAC, etc. Date: Sat, 22 Oct 2005 14:48:48 -0400 From: Jeffrey Altman [EMAIL PROTECTED] Organization: Secure Endpoints Inc. To: Forrest Aldrich Neither Derrick nor Chas use FreeBSD and neither have time to play with it. You need to get someone from the FreeBSD community to care about AFS and port it. If you find an FreeBSD kernel expert, we can provide the AFS assistance to help them. Jeffrey Altman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sysctl or system tweak for symbolic links?
The problem was fairly hidden. It turns out that one of the directories in the PATH of the symbolic link did not have the search bits enabled (permissions). Once that was adjusted, it worked fine. This turns out to be a problem with Apache-2, since it should report a better (unambiguous) error - there is a bug report filed about it. Thanks. Julien Gabel wrote: Using FreeBSD_6.0_Beta4 (applies to Beta2, also). Not related to FreeBSD versions, i think. I'm trying to track down a problem I've been having with apache-2.0.54 not following symbolic links. It's basically come down to my being able to follow the link if it's in the same directory structure (ie: .. or /path/to/..), but fails if the symbolic link is located elsewhere (ie: /usr/local/path/directory) or on another disk. It is the `normal' behaviour for Apache, AFAIK. I wonder if there's a sysctl or other system variable that handles the behavior of or access to symbolic links in this fashion that I may have missed. Seemed like a reasonable conclusion after these tests have been failing, though it could be something else, too. Don't know if it is possible (and advisable) to succeed in following an external link this way. More help/answers may be obtain from the Apache people, since it seems more an httpd configuration trick, than a FreeBSD one. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sysctl or system tweak for symbolic links?
Hi, Using FreeBSD_6.0_Beta4 (applies to Beta2, also). I'm trying to track down a problem I've been having with apache-2.0.54 not following symbolic links. It's basically come down to my being able to follow the link if it's in the same directory structure (ie: .. or /path/to/..), but fails if the symbolic link is located elsewhere (ie: /usr/local/path/directory) or on another disk. I wonder if there's a sysctl or other system variable that handles the behavior of or access to symbolic links in this fashion that I may have missed. Seemed like a reasonable conclusion after these tests have been failing, though it could be something else, too. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Getting ipfw2 on FreeBSD-4.11-STABLE...
I have FreeBSD-4.11-STABLE on one of my systems. I did a buildworld/installworld today - but I still have ipfw and not ipfw2 - even though the manpage says otherwise. It's been a while since I updated this system - I looked through the docs and no mention of this in UPDATING etc. I see in the /usr/src/sbin/ipfw directory a define of -DIPFW2. So before I hack further, I wonder if I messed something up or if there's a switch I must implement to get ipfw2 running on here. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Getting ipfw2 on FreeBSD-4.11-STABLE...
Thanks this worked well. One further question, the manpage doesn't really elaborate much on the use of tables. Particularly, how to utilize them in deny rules. Anyone have better examples, or did I miss something. Thanks. Mike Tancsa wrote: On Thu, 18 Aug 2005 19:12:19 -0400, in sentex.lists.freebsd.questions you wrote: I have FreeBSD-4.11-STABLE on one of my systems. I did a buildworld/installworld today - but I still have ipfw and not ipfw2 - even though the manpage says otherwise. Add IPFW2=TRUE in /etc/make.conf and options IPFW2 #firewall in the kernel I *think* /usr/src/sbin/ipfw make clean;make depend;make;make install should work, and then a make buildkernel should do the trick ---Mike Mike Tancsa, Sentex communications http://www.sentex.net Providing Internet Access since 1994 [EMAIL PROTECTED], (http://www.tancsa.com) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NOINET, etc.
Ah, the wonders of upgrading - /etc/make.conf just needs some updating per the warnings. ;-) Sorry for the line noise. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dhclient on FreeBSD-4.10
I'm having a problem with dhclient on FreeBSD-4.10, where I can't seem to get it to work properly. My ISP uses DHCP (Comcast), and I want to use my own named instance, opting to forward to theirs. According to the dhclient.conf manpage, I should be able to do either of these: interface fxp0 { prepend domain-name-servers 192.168.1.1; } # supersede domain-name-servers 127.0.0.1; # supersede domain-name-servers 192.168.1.1; And I've tried both, they do not work. So, either I'm doing something wrong (very likely) or I've run across a bug. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/etc/resolv.conf and your ISP
I can think of a few ways to resolve this, but I thought to ask here. I have Comcast for my ISP, and of course DHCP changes /etc/resolv.conf during each update -- lately, they've been screwing things up bigtime, such that I simply use my own named instance. My question is: how to reliably keep your own nameserver in /etc/resolv.conf, and get around the frequent protocol updates that change/nullify your mods to /etc/resolv.conf. Perhaps just a regular script that does a diff and patch of it, or simply copies over the file you want regularly. Not elegant but it would work. I also wonder about creating a dhclient-exit script that would update certain services automatically when your IP changes. Thx. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /etc/resolv.conf and your ISP
Also of note... if you change the bits on the file to nochg, so it can't be updated, Comcast will detect this and disable your connection (it happened to me). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Powering down FreeBSD 5
Can FreeBSD be configured to actually power off the machine, rather than sit with Press any key to reboot. We're redeploying some servers, and we'd like them to be powered on individually, not powered up upon plug-in to the power cable. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using USB2.0 hard drives (performance) on FreeBSD 5.3
I need extra disk space on one of my machines (in short order). So I decided to experiment with attaching a USB2.0 hard drive (Maxtor OneTouch) to the system (SIIG PCI controller). I use a OneTouch on my Windows/XP sytem and it works really well. I wanted to explore placing my mailstore on an external USB2.0 drive - would be easy to port the data to another system if I needed. However, in experimenting with replicating some data (via rsync), I'm wondering if this is a bad idea. While rsyncing data over the wire to the USB2.0 drive (mirroring some data, basically), the shell response to something like ls would hang (eventually completed, but much later). I wonder if someone can advise about the use of this drive for that purpose (mailstore) and if there may be some tunables I would need to tweak to get better performance. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
WRITE_DMA timeouts
I have a test machine with FreeBSD-5.3 RC2. It only has 2 drives (ATA). I am seeing this error (intermittently): ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=3239915 ad0: FAILURE - WRITE_DMA timed out Though the system seems to otherwise be working just fine. This used to be a Windows/XP system for a long time, and I never had any trouble. So I wonder what the above can be indicative of (ie: bad cabling, or?). Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WRITE_DMA timeouts
Sorry, I should have specified the system. This is an older Compaq AP200. I've not idea what controller it's using on the motherboard, but can try Googling to find out. The processor is 500mhz, and has a reasonable amount of RAM. Again, this problem I'm seeing on /dev/console is intermittent. But the system otherwise appears to be peforming fine. It has 2 10krpm 10gb drives (IDE). Anyone else seeing this problem? The last build of this system was Oct 24th, I can CVSup and rebuild if there have been some corrections ? Forrest On 11/05/04 01:22 PM, Forrest Aldrich sat at the `puter and typed: I have a test machine with FreeBSD-5.3 RC2. It only has 2 drives (ATA). I am seeing this error (intermittently): ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=3239915 ad0: FAILURE - WRITE_DMA timed out Though the system seems to otherwise be working just fine. This used to be a Windows/XP system for a long time, and I never had any trouble. So I wonder what the above can be indicative of (ie: bad cabling, or?). [EMAIL PROTECTED] I was hoping this was a thing of the past. I've seen this a lot with 5.2.1, but I usually ended up with a siezed system. I don't see how the fact that you had XP on the system could affect FreeBSD. Exactly what ATA controller do you have? I've run into trouble with the Intel ICH5 SATA controller in a new Dell Dimension 8300. I received *lots* of suggestions that the drive was bad (as per the little sniglet at the bottom), but that isn't the problem - it passed every utility I was able to put it through. BTW, my drive is a brand new WD 160 Gig. After days of googling, I found only a few suggestions that the problem was the scheduler and/or the HT processor. I turned HT off in the bios, and it still locks up - especially when shutting down. I've put the hardware through dozens of checks and tests, and there are absolutely no problems except when running FreeBSD with the disk under load. Even XP didn't lock up like this. I've been holding this new Dell in limbo for nearly 4 months waiting for this exact problem to get fixed. I *really* hate to do it, but I'm going to have to consider Linux if this doesn't get resolved in 5.3. And it looks like it isn't. I know I could get the code and work on it myself, but I'm not a driver engineer, and as much as I'd like to, I don't have the time to learn it right now. Good luck. Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org Ô¿Ô¬ Default, n.: The hardware's, of course. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
XFS for FreeBSD
I've been able to locate some postings that suggested there was an effort to get SGI's XFS ported to FreeBSD -- along with some concerns about licensing (GPL) issues. I'd like to get more information - is there an official project, who's heading it up, etc. etc. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
When your dynamic IP changes...
For the most part, my cable system stays on 24x7, thus my IP address remains the same (often for the duration of a year). However there are times when unpredictable things happen, such as outages, that will cause your IP to change. I have a number of internal and external dependencies that rely upon this IP address. For the most part, I've not had to change these much - however, when it happens, it's a PITA. - ipfw rules - mysql tables - apache configuration - /etc/hosts - named.conf (possibly) and more. Including needing to update external DNS, which could be addressed by using a dyndns.org name, and set your DNS to that hostname. I could whip up a script using M4 to dynamically change the ipfw rules and point /etc/rc.conf to a different script. I'm curious if anyone else has come up with a nifty scheme to make this less painful when it happens -- other than the obvious idea of getting a provider that supports fixed IP addresses ;-) Someone suggested to me the GNU CFEngine, too -- seems a bit complex for this task, though. Thanks... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Automating FreeBSD Installation(s)...
I've read several articles out there that address different means to automate (or standardize, for internal purposes) FreeBSD installations. One article (which was older) spoke of scripting sysinstall via an install.cfg with some custom pkg modules to do edits. The other, exploiting the PXE capability of the newer (Intel) NICs. I'm interested in what people are doing now - what has had the better success rate, etc.I realize this is all dependent upon one's environment - mine will be more ISP-related, but will require some flexibility for different servers. I've also heard of people utilizing GNU CFEngine for this type of procedure, which I find interesting - it's a complex package, but seems to be very functional if you have time/patience to apply it. Thanks... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apple 1gz Server -- FreeBSD?
We have a 1gz Apple 1U server here -- and I'm wondering if we could run a *BSD on it, other than Darwin. Anyone have some info? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Customized/automated FreeBSD Installations....
I've been Googling for some information on this (and the Handbook). We have a scenario whereby we'll be building (over time) several mostly-identical systems. There are similar tasks that will need to be performed on those systems (copying over accounts, passwords, homedirectories), and certain *.conf changes, etc. There has to be a decent way to accomplish this, other than manually per-system or having to build a make-release with some customizations. I have seen GNU CFEngine, but it seems like overkill. I'd appreciate some recommendations/pointers. Thanks! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Blocking SMTP traffic based upon RBL....
There are probably dangerous consequences to doing something like this improperly; however, there is a project out there called PacketBL: http://wiki.duskglow.com/index.php/Packetbl It's for Linux only, unfortunately -- however I like the idea. It interfaces with the packet filtering system and selectively blocks SMTP (port 25, configurable) traffic based upon RBLs etc. I wonder if there is a similar way to accomplish this with FreeBSD/ipfw... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
iSCSI support in FreeBSD?
Is there planned iSCSI support in FreeBSD 4 or 5. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compiling Apache (port) apache13-mod_ssl and apache13-mod_perl ... ?
This has to be a FAQ, but I've not found it yet. When compiling the port version of Apache, what trick can be used to get both mod_ssl and mod_perl compiled into the server. Regarding mod_php4 .. the port enables a php4_options file, but I don't see provisions anywhere (except for manually editing the Makefile) for any of the --enable-x configure options. Pointers appreciated. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Recommended Motherboards for FreeBSD 4.x and 5.x
Hi there, I'm interested in what motherboards most recommend now for higher performance FreeBSD 4.x and 5.x systems. I've a SOYO Dragon Platinum, with SATA and have had several problems, such that I will replace it with something better -- perhaps ASUS? Feedback appreciated. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
TIMEOUT READ_DMA
I am building a new system that has SATA drives in it (Silicon Image). Got this error today, which caused the system to freeze. The motherboard is SOYO Dragon Platinum. Anyone know what the problem might be? ad4: Timeout READ_DMA ... LBA=156301425 _F ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Perl 5.6 vs Perl 5.8 (install)
I have FreeBSD-CURRENT installed and it places Perl-5.6 on the system. It's not clear to me whether it's safe to pkg_delete this in favor of Perl-5.8 (which I want to install). I tried searching the list archive and didn't find anything (yet). Anyone accomplish this? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Perl 5.6 vs Perl 5.8 (install)
Thanks Kris. Does the basic installation of 5.6 have any dependency modules? I hear there is a way with CPAN to port those over to a new perl installation. Kris Kennaway wrote: On Thu, May 13, 2004 at 11:33:27PM -0400, Forrest Aldrich wrote: I have FreeBSD-CURRENT installed and it places Perl-5.6 on the system. It's not clear to me whether it's safe to pkg_delete this in favor of Perl-5.8 (which I want to install). I tried searching the list archive and didn't find anything (yet). Anyone accomplish this? Yes, this is safe. You just have to reinstall any perl modules that were built against perl 5.6, since they will stop working when you remove perl 5.6. Kris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Trouble with FreeBSD 5.2.1 and SATA
I posted a message recently about troubles encountered with FreeBSD-5.x and my SATA drives, controlled by an on-board Silicon Image chip. I understand there were some code glitches in between and thus my update via CVS and subsequent rebuild of the system created a problem. However, just to be sure, I brought my machine in to the shop to be tested. Windows/XP has no problem booting up and it recognizes the drives. So I returned the machine here and have tried to reinstall FreeBSD-5.2.1-RELEASE and am now encountering more problems. When I partition the drives, I make sure that all 4 (SATA) drives are consumed by FreeBSD and that newfs (added -b 16384 -f 2048 options to some partitions) is performed. The listing of drives is in reverse order: ad10 ad4 ad6 ad8 (I think that was the correct prefix) I first selected 4 as the root drive, and selected the standard MBR. When the installation was complete, I rebooted and the boot process couldn't find a valid partition and I was left at the boot prompt. I reinstalled, using 10 as the root drive, again selecting standard MBR for each drive (just to be sure) and the same thing happened: invalid partition, etc. Clearly the boot record is being read, as I'm at the boot prompt. I did run into an error I've reported before, where FreeBSD complains about the disk's geometry, and says it is using something more likely -- as I recall, that was the right route to go - as I entered in what I see in the SOYO BIOS and it still complains. I'm stumped as to what the problem could be at this point; any assistance in resolving this would be appreciated. I know I should have gone with SCSI and I probably wouldn't be having these problems now ;-) But this is what I have.The SATA drives are 80gb's (less prone to problems). Thanks, Forrest ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with FFS and directories of over 1000 entries....
I understand that FFS has some performance problems in directory/file structures that have over 1000 entires... though I'm not sure this applies to FFS under FreeBSD-5.x. Can someone comment on this? Forrest ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD filesystem performance in Enterprise
Curious how FreeBSD ffs performs in Enterprise-level environments (ie: email stores that send 100's of thousands of messages per day) versus other filesystems like XFS (I heard thre's a port going on for FreeBSD..?), ReiserFS, et al. Is there a FAQ that covers some of this and the various tuning issues one might consider (filesystem and kernel). This applies either disk-alone or across a raid array, etc.I'm interested in hearing others experiences (good and bad). Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD filesystem performance in Enterprise
Not trying to start a holy war - just looking into hard facts to support some systems I'm designing. FFS will either work, or it won't. Black or white. The type of I/O I'm talking about will be in the 100's of thousands of email messages (probably more) per day... obviously the underlying OS, filesystem tuning, hardware are also an issue. I'm simply trying to gain some insight into other's experience with FFS, etc. Thanks. Derrick Ryalls wrote: Curious how FreeBSD ffs performs in Enterprise-level environments (ie: email stores that send 100's of thousands of messages per day) versus other filesystems like XFS (I heard thre's a port going on for FreeBSD..?), ReiserFS, et al. Is there a FAQ that covers some of this and the various tuning issues one might consider (filesystem and kernel). This applies either disk-alone or across a raid array, etc.I'm interested in hearing others experiences (good and bad). You are almost starting a holy war :) I believe hotmail used to be hosted on FreeBSD until it was bought out by MS, that should be a decent volume indicator. I run a very small email list server and it works fine on a p200. I did see a noticable jump in speed when I switched the mail service from sendmail to qmail, so it is also dependant on what you will run. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Number 9 PC Revolution Card and SGI 1600SW
Does anyone have a working X config for the Number 9 PC Revolution IV card along with the SGI 1600SW Monitor (flatpanel). I've given up trying to tweak it. This is on FreeBSD-5.2.1... the stock monitor database is rather minimal. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Radeon 9800 XT 256 in FreeBSD 4.x or 5.x
I'm about to install/build a new FreeBSD system... but am curious if anyone has gotten a sufficient driver for this card. ATI provides one for Linux, of course... (frustrating) but not FreeBSD. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Geometry Incorrect on FreeBSD-5.2.1 installation
I've a SOYO Dragon Platinum Edition motherboard, with SATA drives. According to FreeBSD's installation process, my geometry is incorrectly set. So, I did as it asked, rebooted into the BIOS and retrieved the figures: Cylinders: 38309 Head: 16 Pre: 0 LandZone: 38308 Sectors:255 I selected the G command from sysinstall's menu to set the geometry manually: 38309/16/255 (cyl/hd/sector) and it still insists the figures are wrong. It's defaulting back to what it believes is correct: 9729 cylinders 255 heads 63 sectors These are 80gb SATA drives. The BIOS is set to run in IDE Enhanced mode (I believe). I did a test installation and it worked, except the dreaded GRUB loader (from a linux test install) keeps coming up (fdisk /mbr does NOT get rid of it)... I don't know if that's the cause of this problem (doubtful). Any clues as to what might be wrong? The BIOS is AMI/Phoenix, and is up-to-date. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mod_perl with FreeBSD (stock perl vs perl 5.8 port)
I'm working with mod_perl-1.x *current* on FreeBSD-4.9. For some time, I've had some difficulty getting this lot to work correctly, as an OBJ (non-DSO). During the compile, I get a slew of Dynaloader-related errors in the linking process. So today, I tried testing the compile using the SYSTEM perl (/usr/bin/perl) and the compile completed fine, without any errors. It sounds to me like Dynaloader is not being compiled correctly in this configuration - that's all I can take a guess at. I wonder if anyone else has had this problem with FreeBSD-4.x and mod_perl. There must be a way to correct this. Thanks, Forrest ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mod_perl with FreeBSD (stock perl vs perl 5.8 port)
No, use /usr/bin/perl (SYSTEM) versus /usr/local/bin/perl and adjust my makepl_args file accordingly. At 06:39 AM 1/26/2004, you wrote: Forrest Aldrich asked on Mon Jan 26, 2004: I'm working with mod_perl-1.x *current* on FreeBSD-4.9. For some time, I've had some difficulty getting this lot to work correctly, as an OBJ (non-DSO). During the compile, I get a slew of Dynaloader-related errors in the linking process. So today, I tried testing the compile using the SYSTEM perl (/usr/bin/perl) and the compile completed fine, without any errors. It sounds to me like Dynaloader is not being compiled correctly in this configuration - that's all I can take a guess at. I wonder if anyone else has had this problem with FreeBSD-4.x and mod_perl. There must be a way to correct this. What do you mean by 'using the SYSTEM perl' - did you uninstall the port, change the environment, or do something else? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB 2.0 / FreeBSD 4.x
Will there be support for USB 2.0 in FreeBSD 4.x, or must I update to FreeBSD 5.x and use ehci. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IPFW XML output?
Has anyone considered enabling ipfw to output XML? This might be useful for stats gathering/display, etc. _F ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mysterious manpage *roff problems solved (SOLUTION)
I had posted recently regarding a mysterious problem I had with my manpage subsystem not working properly. This has been a problem for quite some time. After analyzing ktrace/kdump outputs, removing any conflicting *roff files in /usr/local/bin and /usr/local/share, we still couldn't get it working. Interestingly, there are no indications of *roff in /var/db/pkg, so I have no idea how it ended up under /usr/local to begin with. The solution, thanks to Larry Rosenman [EMAIL PROTECTED], was to backup my /usr/src/sys/i386/conf file and rm -rf the entire /usr/src and /usr/obj trees, then re-CVSup (putting back my kernel config) and rebuild/reinstall the system. It was a pickle - as the problem just didn't seem obvious. So, somewhere along the line something got munged up in the /usr/src directory. I hope this solution helps someone out there that may get bitten by this. And again thanks to Larry. Forrest ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Nroff error
Can someone explain what this error might be: nroff -man nasm.1 nasm.man troff: fatal error: can't find macro file tty-char *** Error code 1 Long-standing issue on the system I'm using -- it affects usage of manpages (they don't work). Can't figure it out... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nroff error
Hi Larry, I seem to have this file: -r--r--r-- 1 root wheel 5102 Nov 9 22:24 /usr/share/tmac/tty-char.tmac -r--r--r-- 1 root wheel 1551 Nov 9 22:24 /usr/share/tmac/tty.tmac This has been a problem for a long time - none of my manpages work at all. I've tried reinstalling (makeworld/installworld,e tc) to no avail. Also, if I remove /usr/local/share/groff, I get more errors. So I think something is just plain wrong. I've tested my MANPATH and looked at /etc/manpath.config, and don't see problems. I'm getting to the point where I'm losing time by not having some manpages available, etc. Thanks, Forrest At 03:32 PM 11/11/2003, you wrote: --On Tuesday, November 11, 2003 15:28:03 -0500 Forrest Aldrich [EMAIL PROTECTED] wrote: Can someone explain what this error might be: nroff -man nasm.1 nasm.man troff: fatal error: can't find macro file tty-char *** Error code 1 Long-standing issue on the system I'm using -- it affects usage of manpages (they don't work). Can't figure it out... The following file is probably missing (drop the /stable/ from the path): /stable/usr/share/tmac/tty-char.tmac It can (probably) be copied from: /stable/usr/src/contrib/groff/tmac/tty-char.tmac ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nroff error
Yes, I have actually. And this makes it even more mysterious. Check this out: bash-2.05b# truss -o /tmp/truss.out man perl Formatting page, please wait...troff: fatal error: can't find macro file tty-char Done. bash-2.05b# cat /tmp/truss.out bash-2.05b# truss -o /tmp/truss.out man sh bash-2.05b# truss -o /tmp/truss.out man bash I get that error first, then each subsequent returns nothing... and /tmp/truss.out is empty. Forrest At 03:56 PM 11/11/2003, Larry Rosenman wrote: One idea... Have you tried truss(1)'ing the man command to see what files it's looking for? truss -o /tmp/truss.out man xxx ? --On Tuesday, November 11, 2003 15:45:11 -0500 Forrest Aldrich [EMAIL PROTECTED] wrote: Hi Larry, I seem to have this file: -r--r--r-- 1 root wheel 5102 Nov 9 22:24 /usr/share/tmac/tty-char.tmac -r--r--r-- 1 root wheel 1551 Nov 9 22:24 /usr/share/tmac/tty.tmac This has been a problem for a long time - none of my manpages work at all. I've tried reinstalling (makeworld/installworld,e tc) to no avail. Also, if I remove /usr/local/share/groff, I get more errors. So I think something is just plain wrong. I've tested my MANPATH and looked at /etc/manpath.config, and don't see problems. I'm getting to the point where I'm losing time by not having some manpages available, etc. Thanks, Forrest At 03:32 PM 11/11/2003, you wrote: --On Tuesday, November 11, 2003 15:28:03 -0500 Forrest Aldrich [EMAIL PROTECTED] wrote: Can someone explain what this error might be: nroff -man nasm.1 nasm.man troff: fatal error: can't find macro file tty-char *** Error code 1 Long-standing issue on the system I'm using -- it affects usage of manpages (they don't work). Can't figure it out... The following file is probably missing (drop the /stable/ from the path): /stable/usr/share/tmac/tty-char.tmac It can (probably) be copied from: /stable/usr/src/contrib/groff/tmac/tty-char.tmac ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nroff error
LOL Check this out: bash-2.05b# gdb man bash GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-unknown-freebsd...(no debugging symbols found)... /usr/local/etc/openldap/bash: No such file or directory. (gdb) and this: bash-2.05b# manpath /usr/share/man:/usr/local/man:/usr/share/perl/man:/usr/share/openssl/man:/usr/local/lib/perl5/5.00503/man:/usr/X11R6/man Makes absolutely no sense to me. At 03:56 PM 11/11/2003, Larry Rosenman wrote: One idea... Have you tried truss(1)'ing the man command to see what files it's looking for? truss -o /tmp/truss.out man xxx ? --On Tuesday, November 11, 2003 15:45:11 -0500 Forrest Aldrich [EMAIL PROTECTED] wrote: Hi Larry, I seem to have this file: -r--r--r-- 1 root wheel 5102 Nov 9 22:24 /usr/share/tmac/tty-char.tmac -r--r--r-- 1 root wheel 1551 Nov 9 22:24 /usr/share/tmac/tty.tmac This has been a problem for a long time - none of my manpages work at all. I've tried reinstalling (makeworld/installworld,e tc) to no avail. Also, if I remove /usr/local/share/groff, I get more errors. So I think something is just plain wrong. I've tested my MANPATH and looked at /etc/manpath.config, and don't see problems. I'm getting to the point where I'm losing time by not having some manpages available, etc. Thanks, Forrest At 03:32 PM 11/11/2003, you wrote: --On Tuesday, November 11, 2003 15:28:03 -0500 Forrest Aldrich [EMAIL PROTECTED] wrote: Can someone explain what this error might be: nroff -man nasm.1 nasm.man troff: fatal error: can't find macro file tty-char *** Error code 1 Long-standing issue on the system I'm using -- it affects usage of manpages (they don't work). Can't figure it out... The following file is probably missing (drop the /stable/ from the path): /stable/usr/share/tmac/tty-char.tmac It can (probably) be copied from: /stable/usr/src/contrib/groff/tmac/tty-char.tmac ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Trouble using the man subsystem
I posted about this a while ago. For some time, I've had a broken manpage system on my FreeBSB box. Currently, it's at FreeBSD-4.9. The symptoms are: sometimes I get an error about not being able to locate tmac for tty-char. Though I can find that in /usr/local/share/groff, etc. Most times, I will do man command and the prompt just returns. Nothing, nada. I'm absolutely puzzled, because a reinstall (makeworld/buildworld) does NOT resolve the problem.I cannot see there to be any odd environment variables, however this suggests there may be a configuration issue somewhere.I'm out of ideas, and wonder if anyone out there has suggestions about where to look, how to fix this. Thanks, Forrest ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problems with groff
Why would this be happening, and how can I fix this - the man subsystem hasn't been working because of this for a while. This is FreeBSD-4.9-Prerelease: # gdb man man GNU gdb 4.18 (FreeBSD) This GDB was configured as i386-unknown-freebsd...(no debugging symbols found)... /usr/share/tmac/man: No such file or directory. And when I go to run a manpage, I sometimes get this error: # man troff Formatting page, please wait...troff: fatal error: can't find macro file tty-char Done. But clearly tty-char is in: # ls -l /usr/share/tmac/tty-char.tmac -r--r--r-- 1 root wheel 5102 Sep 10 11:16 /usr/share/tmac/tty-char.tmac This can't be that difficult to fix... where is the problem? Installing again from /usr/src doesn't make any different here, so I wonder if it's a config issue? _F ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Groff installation problem (FreeBSD-4.8)
I've verified, after a few system rebuilds, that the groff installation is doing something wrong. The end result is the general failure of the manpage subsystem. Here's what's happening: The general error I'll get when attempting to process any manpage (via man or just groff/nroff) is: troff: fatal error: can't find macro file tty-char Running an strace on nroff shows: [ snip ] sigaction(SIGSYS, {SIG_DFL}, NULL) = 0 read(10, #!/bin/sh\n# Emulate nroff with g..., 1023) = 1023 break(0x80c3000)= 0 break(0x80c4000)= 0 read(10, se $1 in\n-c)\n opts=\$op..., 1023) = 1023 read(10, _BIN_PATH=/usr/bin}\nexport GROFF..., 1023) = 112 stat(/usr/bin/groff, {st_mode=S_IFREG|0555, st_size=50544, ...}) = 0 fork() = 6379 getpgrp(0troff: fatal error: can't find macro file tty-char ) = 6377 --- SIGCHLD (Child exited) --- wait4(-1, [WIFEXITED(s) WEXITSTATUS(s) == 1], 0x2, NULL) = 6379 read(10, , 1023) = 0 exit(1) = ? I note that /usr/local/share/groff contains: # ls /usr/local/share/groff/*/* /usr/local/share/groff/1.19/eign /usr/local/share/groff/1.19/font: devX100 devX75 devasciidevhtml devlbp devps devX100-12 devX75-12 devdvi devlatin1 devlj4 devutf8 whereas under /usr/share/groff_font, we have also: # ls /usr/share/groff_font devX100 devX75-12 devdvi devlatin1 devps devX100-12 devasciidevhtml devlbp devutf8 devX75 devcp1047 devkoi8-r devlj4 moving /usr/local/share/groff has the result of this error: groff: can't find `DESC' file groff:fatal error: invalid device `ascii' Another strace I performed: # strace /usr/bin/troff -man [ snip ] open(/usr/local/share/groff/site-font/devps/ZDR, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/local/share/groff/1.19/font/devps/ZDR, O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=4863, ...}) = 0 read(3, name ZDR\ninternalname ZapfDingba..., 8192) = 4863 break(0x80e)= 0 read(3, , 8192) = 0 close(3)= 0 gettimeofday({1060784231, 392758}, NULL) = 0 access(/etc/localtime, R_OK) = 0 open(/etc/localtime, O_RDONLY)= 3 fstat(3, {st_mode=S_IFREG|0444, st_size=1250, ...}) = 0 read(3, TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0\3\0..., 7944) = 1250 close(3)= 0 getpid()= 5467 (ppid 5466) break(0x80e3000)= 0 open(/usr/local/share/groff/site-font/devps/TR, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/local/share/groff/1.19/font/devps/TR, O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=7531, ...}) = 0 read(3, name TR\ninternalname Times-Roman..., 8192) = 7531 break(0x80e4000)= 0 break(0x80e5000)= 0 break(0x80e7000)= 0 break(0x80ea000)= 0 break(0x80ee000)= 0 read(3, , 8192) = 0 close(3)= 0 open(/usr/local/lib/groff/site-tmac/troffrc, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/local/share/groff/site-tmac/troffrc, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/local/share/groff/1.19/tmac/troffrc, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/local/home/forrie/home/an.tmac, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/local/lib/groff/site-tmac/an.tmac, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/local/share/groff/site-tmac/an.tmac, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/local/share/groff/1.19/tmac/an.tmac, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/local/home/forrie/home/tmac.an, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/local/lib/groff/site-tmac/tmac.an, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/local/share/groff/site-tmac/tmac.an, O_RDONLY) = -1 ENOENT (No such file or directory) open(/usr/local/share/groff/1.19/tmac/tmac.an, O_RDONLY) = -1 ENOENT (No such file or directory) write(2, /usr/bin/troff: fatal error: can..., 54/usr/bin/troff: fatal error: can't find macro file an ) = 54 exit(1) So, it seems clearly that something is wrong with the installation. I've tried recompiling from /usr/src/gnu/usr.bin/groff and installing, as well as multiple CVSup updates, to no avail. What is wrong? _F ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Groff issues with latest FreeBSD-4.x build
Hi there, When I do that, the same exact thing happens... and it's not making any sense to me. What database(s) are dependent upon by man? # zcat /usr/share/man/man1/ls.1.gz |nroff -man troff: fatal error: can't find macro file tty-char Forrest At 11:21 PM 8/1/2003, you wrote: Forrest Aldrich [EMAIL PROTECTED] writes: I just rebuilt the entire system from CVS, and still get this problem: # man man Formatting page, please wait...troff: fatal error: can't find macro file tty-char Done. This can't be that complex of an issue, which is probably why I'm still figuring it out. Doesn't the 'man' command need to find its tmac files in /usr/share/tmac? If so, then there's something wrong with the man configuration somewhere (something I'm not familiar with). Any pointers would really be appreciated, nobody else responded. Hmm. Not exactly my thing, but what happens if you try the formatting directly? zcat /usr/share/man/man1/ls.1.gz |nroff -man ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Groff issues with latest FreeBSD-4.x build
Hi there, Thanks for responding (sorry for the late reply, have been busy this weekend). I've not really changed anything with the system, which is what is perplexing. I've done a full cvsup and makeworld/installworld at least 3 times since this problem began, and it still happens. I have no idea why, and I presumed that there must be a bug in CVS. What else can I look at Thanks, Forrest At 12:26 PM 7/20/2003, Lowell Gilbert wrote: Forrest Aldrich [EMAIL PROTECTED] writes: The errors continue with port builds: nroff -man nasm.1 nasm.man troff: fatal error: can't find macro file tty-char *** Error code 1 But I see in /usr/share/tmac: tmac.tty-char Has anyone else run across this bug. Apparently not. Is this a matter of rebuilding an index somewhere. I don't believe so. What else have you updated lately? What versions of the system are you running? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Groff issues with latest FreeBSD-4.x build
The errors continue with port builds: nroff -man nasm.1 nasm.man troff: fatal error: can't find macro file tty-char *** Error code 1 But I see in /usr/share/tmac: tmac.tty-char Has anyone else run across this bug. Is this a matter of rebuilding an index somewhere. _F ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Recent build of FreeBSD with groff problems.... (manpages)
Since about 2 days ago, successive rebuilds of FreeBSD-4.8 (current CVS) have resulted in a faulty manpage system, with errors like: Formatting page, please wait...troff: fatal error: can't find macro file tty-char Done. Groff sometimes complains about ascii device, etc. What's the scoop? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Bellcore MGR Windows Manager to FreeBSD?
Curious if anyone knows of a port of the free (and compact) Bellcore MGR window manager to FreeBSD. I seem to recall hearing it was ported to FreeBSD-2.x, but that was quite some time ago. It was originally a free replacement for the old UNIX-PC wmgr system. Thanks... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
BusLink USB Drive Support?
I have an older 6gb BusLink USB 1.0 drive that could handle some backup configs. Per chance is there a way to use this under FreeBSD-4.8? Thx... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
BusLink USB Drive Support? (follow-up)
Someone had asked me to post the output of usbdevs: addr 1: UHCI root hub, Intel addr 2: USB-ATAPI4 Bridge Controller, BUSlink Inc. So the system sees the USB hard drive. But it's not clear whether I can actually use this as a filesystem or not. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HP C1537A DAT specs
Has anyone used the HP C1537A L706 on FreeBSD - it should work fine in default mode - but I'm curious about compression modes available, etc. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SCSI Tape (sa) coniguration
I attached a basic 4mm tape drive (SCSI-2) to my system, which is detected by the kernel. But mt reports the device(s) are not configured.Here is dmesg: sa0 at ahc1 bus 0 target 6 lun 0 sa0: HP C1537A L706 Removable Sequential Access SCSI-2 device sa0: 10.000MB/s transfers (10.000MHz, offset 15) I'm curious what the problem might be. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mfs/ramdisk performance issues
I did some reading through other posts, and wanted to get some more input about this. In a mail gateway configuration, several people have suggested that using a tmpfs (or mfs, depending upon your flavor of Unix) would provide a performance increase (i/o). Though someone argued (on a list posting) that the buffering on normal disk operation would probably be better. Can someone shed some light on this. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
GECOS field question (names)
I've a user that has a funny last name, which is separated by a real (space). Because of this, most programs will parse it as having a first, middle, last. Is there some fancy way I can get this joined without cosmetically altering it to have another character to join it (like a hard space, etc)? Thanks To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
YahooPOPs
Sorry, forgot the URL to the project, which is at http://yahoopops.sourceforge.net/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
FS options for FreeBSD
I'm looking for different filesystem options for FreeBSD. I'm ripping apart a Linux machine that's running a mail service which utilizes the reiserfs for performance gain. Since that's not available for FreeBSD (I ran across some flames about it, actually) - I wonder what alternatives exist out there, etc. Pointers/reference appreciated. Thanks. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message