Re: exporting http proxy
I tried the setenv, it doesnt give any error but when i try to browse using links , error was connection refused, i tried wget www.freebsd.org and it was able to grab On Mon, Feb 23, 2009 at 6:05 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: in links you have proxy in options. for other things export http_proxy=http://proxy; in sh/bash, in csh setenv http_proxy http://proxy; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: hi
instead of editors/pico, try editors/nano -- From: Giorgos Keramidas keram...@ceid.upatras.gr Sent: Sunday, February 22, 2009 5:48 PM To: Saifi Khan saifi.k...@twincling.org Cc: GrimJow Espada grimjow.esp...@gmail.com; freebsd-questions@freebsd.org Subject: Re: hi On Sun, 22 Feb 2009 15:11:46 +, Saifi Khan saifi.k...@twincling.org wrote: Gentoo userland and emerge tools are easier and elegant though not certainly superior to FreeBSD make mechanism. This is based on my personal experience as i heavily use Gentoo Linux and FreeBSD on older hardware. And offcourse, i can easily emerge pine 4.64 on Gentoo but there is no way i can do it on FreeBSD. You can always check out `ports/mail/pine4' from a date before its removal from the ports/ tree and build it on FreeBSD too. If you need help with maintaining a local copy of the relevant ports (`mail/pine4', `mail/pine4-ssl', and `editors/pico') let me know and I'll write a short mini-guide for checking out the ports before their removal and building them as local ports. The source for these ports is no longer maintained, and they may pose a security risk if you use them on multi-user machines --- especially if untrusted users have local shell access --- but if you want to shoot your foot, the Ports tree already provides gun ammo to do that :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: wrong time stamp 1 JAN 1970 on /var/tmp/orbit-user
On Mon, Feb 23, 2009 at 12:26:26PM -0500, Joe Marcus Clarke wrote: On Wed, 2009-02-18 at 15:52 +, Anton Shterenlikht wrote: I use FBSD 6.4-stable alpha. When starting a browser (firefox2 or kazehakase) no window is open, instead: GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: Failed to get connection to session: Failed to execute dbus-launch to autolaunch D-Bus session) and wrong date on /var/tmp/orbit-mexas (my username) % ls -al /var/tmp/ total 28 drwxrwxrwt 7 root wheel 512 18 Feb 15:48 . drwxr-xr-x 25 root wheel 512 18 Feb 14:43 .. srwxrwxrwx 1 mexas wheel0 18 Feb 15:47 dbus-KXVAJaE3A4 srwxrwxrwx 1 mexas wheel0 18 Feb 15:47 dbus-l8TP5ypEB0 srwxrwxrwx 1 mexas wheel0 18 Feb 15:47 dbus-nUZBGPeroY drwx-- 2 root wheel 512 18 Sep 12:50 gconfd-root drwx-- 2 mexas wheel 512 1 Jan 1970 orbit-mexas ^^^ drwx-- 2 root wheel 512 18 Sep 12:50 orbit-root drwxrwxrwt 5 mexas wheel 512 5 Feb 21:23 texfonts drwxrwxrwt 2 root wheel 512 18 Feb 15:48 vi.recover % I've in /etc/rc.conf dbus_enable=YES hald_enable=YES and I've many dbus-launch and dbus-daemon processes: # ps ax|grep dbus 594 ?? Is 0:00.05 /usr/local/bin/dbus-daemon --system 50289 ?? Is 0:00.00 /usr/local/bin/dbus-daemon --fork --print-pid 7 --print-address 9 --sessi 52477 ?? Is 0:00.00 /usr/local/bin/dbus-daemon --fork --print-pid 7 --print-address 9 --sessi 52947 ?? Is 0:00.00 /usr/local/bin/dbus-daemon --fork --print-pid 7 --print-address 9 --sessi 50273 p1 I 0:00.05 dbus-launch --autolaunch c147699dcd782c00b8cb56ec49707d8a --binary-syntax 50285 p1 I 0:00.00 dbus-launch --autolaunch c147699dcd782c00b8cb56ec49707d8a --binary-syntax 52943 p1 I 0:00.06 dbus-launch --autolaunch c147699dcd782c00b8cb56ec49707d8a --binary-syntax 52946 p1 I 0:00.00 dbus-launch --autolaunch c147699dcd782c00b8cb56ec49707d8a --binary-syntax 53487 p2 R+ 0:00.00 grep dbus # each time I try to launch a browser another couple of dbus processes are started, but never exit. Make sure you're starting your X session with dbus-launch. For example: dbus-launch --exit-with-session fvwm I've: % cat $HOME/.xsession dbus-launch --exit-with-session /usr/local/bin/mwm when I connect to the xdm via XDMCP, I can login, but the mouse doesn't respond to clicks, so I cannot start xterm or anything else. % ps ax | grep dbus 594 ?? Is 0:00.00 /usr/local/bin/dbus-daemon --system 905 ?? I 0:00.04 dbus-launch --exit-with-session /usr/local/bin/mwm 908 ?? I 0:00.00 dbus-launch --exit-with-session /usr/local/bin/mwm 909 ?? Is 0:00.00 /usr/local/bin/dbus-daemon --fork --print-pid 7 --pri 965 p0 R+ 0:00.00 grep dbus % many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 ___ 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
How can I see all of error messages about server's situation in a log file ?
I use freebsd7.1-release. Sometimes, when I monitor my server on the monitor, I see some messages which are about inform, warning or kernel messages. But I couldn't see these messages in /var/log/messages. How can I do that ? What do I need to set to this ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How can I see all of error messages about server's situation in a log file ?
Yavuz Maslak wrote: I use freebsd7.1-release. Sometimes, when I monitor my server on the monitor, I see some messages which are about inform, warning or kernel messages. But I couldn't see these messages in /var/log/messages. How can I do that ? What do I need to set to this ? Edit /etc/syslog.conf You will some commented out entries like: #console.info /var/log/console.log Remove the hash, restart syslog (/etc/rc.d/syslogd restart) and these messages will get stored in /var/log/console.log ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What is correct way to enable watchdog?
No, meaning, if a system is unresponsive for 300 seconds, action will be taken. watchdogd will not prevent proper reboots, panics or power failures. Bad wording on my part. What you said is what I meant, and I assume the default action is to reboot the system? Panic, or overheating. Check the dumpdev/dumpdir variables in rc.conf(5). We don't have dumpdev/dumpdir configured in rc.conf. I'll do that. What makes us suspicious is that we have been running this stress test on systems for months without any reboots. We then enable the 300 second watchdog and two systems spontaneously reboot. We've turned it off again and have restarted the stress test and so far no reboots. What we want to know is are these reboots occurring as a result of a watchdog reboot? Is any kind of system log created when the watchdog reboots a system? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Re: What's the simplest way to get a fresh copy of the source code for the system
On Feb 23, 2009 6:41am, Erich Dollansky ocean...@pacific.net.sg wrote: Hi, On Mon, 2009-02-23 at 01:15 +, af300...@gmail.com wrote: My churches web server is having problems compiling world for FreeBSD 7.0-p10 (I believe I just did the csup last night). It gets to this point and then stops with this error: so, you did what you are supposed to do to get the latest source. So, basically, the question for everyone here is, what's the simplest way to get a fresh source code tree so that I can build the world applications? If you want to make sure that nothing damaged is in your way, delete everything under /usr/src except of your configuration file. You also could use this to upgrade to 7.1. I have considered that. There are a few ports installed on this system however, MySQL and Apache being the most important. How does one go about upgrading to a newer release and ensuring that the ports of pristine also when the upgrade is completed. I was thinking of this approach, please advise if I'm mistaken. 1) comment all installed ports from auto-loading in rc.conf 2) upgrade kernel to newest release (7.1) 3) upgrade user land applications 4) csup the ports tree 5) portupgrade -a 6) uncomment the commented lines from rc.conf 7) reboot and hope all works as planned Does this sound appropriate? Andy ___ 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
Pango not found .....
Hiya Im trying to upgrade gnome, but im having a problem upgrading GTK. I get this message checking Pango flags... configure: error: *** Pango not found. Pango built with Cairo support is required *** to build GTK+. See http://www.pango.org for Pango information. Im following the suggestions thats in /usr/ports/UPDATING Ive ran the script gnomelogalyzer.sh, but I get this message -snip The cause of your build failure is not known to gnomelogalyzer.sh ... -snip I go to /usr/ports/x11-toolkits/pango and run make config and I get No options to configure. If anyone can help, I would appreciate it. Kind Regards Brent Clark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
PHP5 and ldap
Since yesterday, I get at $ php --version PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/ldap.so' - Shared object libldap-2.4.so.5 not found, required by ldap.so in Unknown on line 0 I see that my /usr/local/lib/ now contains lrwxr-xr-x 1 root wheel 16 Feb 23 14:09 libldap-2.4.so - libldap-2.4.so.6 -rw-r--r-- 1 root wheel 307762 Feb 23 14:09 libldap-2.4.so.6 etc.. so, only references to libldap-2.4.so.6, but no more libldap-2.4.so.5 Yesterday, I indeed reinstalled apache (with an extra option checked to include some extra module) The # make install clean downloaded openldap-2.4.14 (up to then I had open-ldap-2.3.13) but stopped with === An older version of net/openldap24-client is already installed (openldap -client-2.4.13) You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of net/openldap24-client without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 I did # cd /usr/ports/net/openldap24-client # make deinstall which said: pkg_delete: package 'openldap-client-2.4.13' is required by these other package s and may not be deinstalled (but I'll delete it anyway): apache-2.2.11_3 arts-1.5.10_1,1 cups-base-1.3.9_3 cups-pstoraster-8.15.4_2 dbus-qt3-0.70_2 gconf2-2.24.0 gtk-2.14.7 gutenprint-base-5.1.7_1 gutenprint-cups-5.1.7_3 hplip-2.8.2_3 kde-3.5.10_1 kdeaccessibility-3.5.10 kdeadmin-3.5.10 kdeartwork-3.5.10_1 kdeartwork-3.5.10_1 kdebase-3.5.10_2 kdebase-kompmgr-3.5.10 kdeedu-3.5.10 kdegames-3.5.10 kdegraphics-3.5.10 kdelibs-3.5.10 kdemultimedia-3.5.10 kdenetwork-3.5.10 kdepim-3.5.10_2 kdesdk-3.5.10_1 kdetoys-3.5.10 kdeutils-3.5.10 kdevelop-3.5.3_1 kdewebdev-3.5.10_1,2 koffice-1.6.3_7,2 libgsf-1.14.11 libwpd-0.8.14_1 php5-5.2.8 php5-ctype-5.2.8 php5-dom-5.2.8 php5-extensions-1.2 php5-filter-5.2.8 php5-gd-5.2.8 php5-hash-5.2.8 php5-iconv-5.2.8 php5-json-5.2.8 php5-ldap-5.2.8_1 php5-mysql-5.2.8 php5-mysqli-5.2.8 php5-pdo-5.2.8 php5-pdo_sqlite-5.2.8 php5-posix-5.2.8 php5-session-5.2.8 php5-simplexml-5.2.8 php5-spl-5.2.8 php5-sqlite-5.2.8 php5-tokenizer-5.2.8 php5-xml-5.2.8 php5-xmlreader-5.2.8 php5-xmlwriter-5.2.8 poppler-qt-0.8.7 py25-qt-3.17.4_1,2 qscintilla-1.7.1_4 qt-3.3.8_9 subversion-1.5.5_1 wv2-0.2.3_2 # make reinstall this ended without errors Did I need to update php5? I tried # portsnap fetch # portsnap update # cd /usr/ports/lang/php5 # portupgrade -R php5 this only upgraded my perl to perl-5.8.9_1 but changed nothing to my PHP5 (/usr/local/bin/php same date as weeks ago) So, this did not solve the initial problem also.. I Tried # cd /usr/ports/net/php5-ldap # portupgrade -R php5-ldap [Gathering depends for net/php5-ldap ... done] [Exclude up-to-date packages .. done] macos# macos# make install clean ... === php5-ldap-5.2.8_1 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of net/php5-ldap without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 So php5-ldap was already the last version... What's going wrong and how to solve all that ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP5 and ldap
what does php --versionsay now? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: PHP5 and ldap
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Pieter Donche Sent: Tuesday, February 24, 2009 9:12 AM To: mail.list freebsd-questions Subject: PHP5 and ldap Since yesterday, I get at $ php --version PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/ldap.so' - Shared object libldap-2.4.so.5 not found, required by ldap.so in Unknown on line 0 I see that my /usr/local/lib/ now contains lrwxr-xr-x 1 root wheel 16 Feb 23 14:09 libldap-2.4.so - libldap-2.4.so.6 -rw-r--r-- 1 root wheel 307762 Feb 23 14:09 libldap-2.4.so.6 etc.. so, only references to libldap-2.4.so.6, but no more libldap-2.4.so.5 [snipped] So php5-ldap was already the last version... What's going wrong and how to solve all that ? % ln -s /usr/local/lib/libldap-2.4.so /usr/local/lib/libldap-2.4.so.5 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How can I see all of error messages about server's situation in a log file ?
Sometimes, when I monitor my server on the monitor, I see some messages which are about inform, warning or kernel messages. But I couldn't see these messages in /var/log/messages. by default syslog.conf direct them to many files depending of type. look at syslog.conf and check it, or maybe modify. personally i always change syslog.conf to put all to /var/log/messages How can I do that ? What do I need to set to this ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP5 and ldap
On Tue, 24 Feb 2009, Vasadi I. Claudiu Florin wrote: what does php --versionsay now? the same as before : PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/ldap.so' - Shared object libldap-2.4.so.5 not found, required by ldap.so in Unknown on line 0 PHP 5.2.8 with Suhosin-Patch 0.9.6.3 (cli) (built: Jan 19 2009 08:43:08) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP5 and ldap
Pieter Donche wrote: On Tue, 24 Feb 2009, Vasadi I. Claudiu Florin wrote: what does php --versionsay now? the same as before : PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/ldap.so' - Shared object libldap-2.4.so.5 not found, required by ldap.so in Unknown on line 0 PHP 5.2.8 with Suhosin-Patch 0.9.6.3 (cli) (built: Jan 19 2009 08:43:08) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies I had a similar problem. You not gonna love it, but according to /usr/ports/UPDATING: 20090216: AFFECTS: users of net/openldap24-{client,server} AUTHOR: delp...@freebsd.org OpenLDAP has been upgraded to 2.4.14, which requires a shared library version bump. Therefore, you need to reinstall all ports depending on it. Run something like: # portupgrade -fr net/openldap24-client Regards, Mikhail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Logcheck dependency hell
Hi Greg, On Mon, Feb 23, 2009 at 10:13 PM, Greg Larkin glar...@freebsd.org wrote: I'm the maintainer of security/logcheck, and I apologize for not catching up with my inbox sooner. I just saw your message, and the same issue was reported by someone else a couple of weeks ago. sorry if the subject (the hell part) has been too harsh, it was just a figure of speech. Thanks for the work put in the port and the patch and no need to apologize, the response time is totally acceptable for the price I pay the port maintainer :-). And as far as free support goes, I would like to thank Mel for the detailed help and the pointer to the miscreant (Mk/bsd.port.mk). I have it on my list to update the port to avoid using docbook-to-man. I've been looking to do the same and came across docbook2x (http://docbook2x.sourceforge.net/) which seems to be just perl-dependent - perhaps that might be used instead of the docbook-to-man. However, it's not in the ports tree and the development seems to be stalled (last release March 2007). http://www.linux.org/docs/ldp/howto/DocBook-Install/using.html#AEN600 shows how to install and use it, though. In the mean, please apply the attached patch to your Makefile, and it will prevent all of those deps from getting included in the build. I haven't had the time yet to test it, but as soon as I get to installing logcheck with your patch, I'll let you know the results. Also, please cc the port maintainer when reporting a port-related bug to freebsd-questions@, since not all of them follow the list. The easy way Well, I'm not really what you'd call a port-guru to easily claim dependency a bug and bother the maintainer, especially since I couldn't find an easy way to locate what pulls that dependency to file a useful bug report, but I'll follow your advice in the future. Regards, -- Nino ___ 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
Please, recommend CPU and RAM burn test
Hello! I need to really heavily test a box with 8 cores and 16GB FBDIM RAM. Is there a suitable port for such task? I'd like to point out that i don't want to measure perfomance. I need to really really heavily load the server up to it's maximum. -- Artem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Please, recommend CPU and RAM burn test
Hello! I need to really heavily test a box with 8 cores and 16GB FBDIM RAM. Is there a suitable port for such task? I'd like to point out that i don't want to measure perfomance. I need to really really heavily load the server up to it's maximum. well, not quite a port but there is a CD called Ultimate Boot CD with an app called pc-check if I remember correctly that really streses your RAM, CPU, MOBO, CD/DVD unit, etc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Please, recommend CPU and RAM burn test
Vasadi I. Claudiu Florin wrote: Hello! I need to really heavily test a box with 8 cores and 16GB FBDIM RAM. Is there a suitable port for such task? I'd like to point out that i don't want to measure perfomance. I need to really really heavily load the server up to it's maximum. well, not quite a port but there is a CD called Ultimate Boot CD with an app called pc-check if I remember correctly that really streses your RAM, CPU, MOBO, CD/DVD unit, etc. You could also try sysutils/cpuburn and math/mprime (in torture mode) ___ 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
Current - USB2 - cups and lp devices.
I just rebooted my laptop that I have today's USB2 hopefully with the latest USB compatibility, if I understood the GENERIC kernel correctly. I'm using i386 version, up to date as of this morning. Ports are completely up to date. all etc/dev* stuff is as it was with USB1. With localhost:631 I see Unable to open device file /dev/ulpt0: Operation not permitted. Probably because, there ain't none. Is there something else that I need to do that I didn't do before? This isn't critical. I probably print only a few pages a week but I do want it to work when something is critical. Thanks, ed P.S. Maybe this should be posted on another list rather than questions? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Please, recommend CPU and RAM burn test
I need to really heavily test a box with 8 cores and 16GB FBDIM RAM. make -j generic kernel but it won't full load CPUs and RAM copy GENERIC to 10 other files, do config, and then make depend;make -j in every directory. if any kernel won't build - machine is not OK. while doing this you may do dd if=/dev/yourdisk of=/dev/null bs=1m in parallel from each of your disk to check if disk subsystem works fine under load Is there a suitable port for such task? I'd like to point out that i don't want to measure perfomance. I need to really really heavily load the server up to it's maximum. -- Artem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP5 and ldap
Hi Pieter, Pieter Donche wrote: Since yesterday, I get at $ php --version PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/ldap.so' - Shared object libldap-2.4.so.5 not found, required by ldap.so in Unknown on line 0 have you upgrade openldap the last days (i expect yes)? If yes, read the /usr/ports/UPDATING Bye, Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: desktop app/config
Hi all, I'm replacing some machines and want to setup some stations in the library running FreeBSD- What is the easiest for an XP user to get accustomed to and what config do I need so that when the machine starts (power / boot) it will automatically launch the desktop gui Both KDE and Gnome should feel pretty familiar to an XP user. The handbook has some useful docs: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html See the section about the kde display manager for example. --- Ok so I left the machine running over the weekend to install KDE, And when I got in this morning it said that my disk was out of space- I loaded nothing but the basic freebsd os and nothing other than kde (granted its only a 10 gig drive) but that should be enough for a kde desktop no? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Pango not found .....
Brent Clark wrote: checking Pango flags... configure: error: *** Pango not found. Pango built with Cairo support is required *** to build GTK+. See http://www.pango.org for Pango information. I go to /usr/ports/x11-toolkits/pango and run make config and I get No options to configure. I ran into this as well. There is not a configurable option to build pango with Cairo support. It is a default. Simply rebuilding pango took care of it: $ portupgrade -f pango or $ cd /usr/ports/x11-toolkits/pango $ make make deinstall reinstall ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What is correct way to enable watchdog?
Panic, or overheating. Check the dumpdev/dumpdir variables in rc.conf(5). BTW, what's the difference between setting kern.corefile in /etc/sysctl and these dumpdev/dumpdir variables? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Please, recommend CPU and RAM burn test
On Tuesday 24 February 2009 07:12:06 Artem Kuchin wrote: Hello! I need to really heavily test a box with 8 cores and 16GB FBDIM RAM. Is there a suitable port for such task? I'd like to point out that i don't want to measure perfomance. I need to really really heavily load the server up to it's maximum. sysutils/stress, in your case: stress --vm 32 --vm-bytes 512M --cpu 8 will put it into swap, while cpu's are overloaded. Add --hdd 4 to write 4 1GB files in parallel, should be a nice test ;) Test can be run till interrupt or use -t 300 to timeout after 5 minutes. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP5 and ldap
On Tuesday 24 February 2009 06:36:00 Paul Schmehl wrote: I see that my /usr/local/lib/ now contains lrwxr-xr-x 1 root wheel 16 Feb 23 14:09 libldap-2.4.so - libldap-2.4.so.6 -rw-r--r-- 1 root wheel 307762 Feb 23 14:09 libldap-2.4.so.6 etc.. so, only references to libldap-2.4.so.6, but no more libldap-2.4.so.5 [snipped] So php5-ldap was already the last version... What's going wrong and how to solve all that ? % ln -s /usr/local/lib/libldap-2.4.so /usr/local/lib/libldap-2.4.so.5 Bad bad. Generally, programmers don't bump library versions, breaking backwards compatibility, for fun. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ 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
Problem with speedtouch 330
Hello. I have a problem with Speedtouch 330. I cannot connect with my IPS. In dmesg it is written that the modem_run cannot 'read interrupts'. Regards ppp.conf: default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set ifaddr 10.0.0.1/0 10.0.0.2/0 adsl: set authname mjnys...@webnet24.pl set authkey 53T6gbDt set device !/usr/local/sbin/pppoa2 -vpi 0 -vci 35 -v 1 -d /dev/ugen0 accep chap set sppeed sync set timeout 0 set reconnect 10 100 #enable lqr #set lqrperiod 5 #set radial 15 1000 #set dial add default HISADDR #enable dns ppp.log: Feb 23 20:54:33 HOSTNAME ppp[961]: Phase: Using interface: tun0 Feb 23 20:54:33 HOSTNAME ppp[961]: Phase: deflink: Created in closed state Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE) Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.2/0 Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set authname ***...@webnet24.pl Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set authkey Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set device !/usr/local/sbin/pppoa3 -vpi 0 -vci 35 -v 1 Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: accep chap Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set spped sync Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Warning: set spped: Invalid command Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Warning: set spped: Failed 1 Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set timeout 0 Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: enable lqr Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set lqrperiod 5 Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set radial 15 1000 Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Warning: set radial: Invalid command Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Warning: set radial: Failed 1 Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set dial Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: add default HISADDR Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: Phase: PPP Started (background mode). Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: Phase: bundle: Establish Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: Phase: deflink: closed - opening Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: Phase: deflink: Connected! Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: Phase: deflink: opening - dial Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: Chat: deflink: Dial attempt 1 of 1 Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: Phase: deflink: dial - carrier Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: Phase: deflink: carrier - login Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: Phase: deflink: login - lcp Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: LCP: FSM: Using deflink as a transport Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: LCP: deflink: State change Initial -- Closed Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: LCP: deflink: State change Closed -- Stopped Feb 23 20:54:49 HOSTNAME ppp[1025]: tun0: LCP: deflink: LayerStart Feb 23 20:54:49 HOSTNAME ppp[1025]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped Feb 23 20:54:49 HOSTNAME ppp[1025]: tun0: LCP: ACFCOMP[2] Feb 23 20:54:49 HOSTNAME ppp[1025]: tun0: LCP: PROTOCOMP[2] Feb 23 20:54:49 HOSTNAME ppp[1025]: tun0: LCP: ACCMAP[6] 0x Feb 23 20:54:49 HOSTNAME ppp[1025]: tun0: LCP: MRU[4] 1500 Feb 23 20:54:49 HOSTNAME ppp[1025]: tun0: LCP: MAGICNUM[6] 0x643ab3ca Feb 23 20:54:49 HOSTNAME ppp[1025]: tun0: LCP: QUALPROTO[8] proto c025, interval Feb 23 20:54:58 HOSTNAME ppp[1025]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent Feb 23 20:54:58 HOSTNAME ppp[1025]: tun0: LCP: ACFCOMP[2] Feb 23 20:54:58 HOSTNAME ppp[1025]: tun0: LCP: PROTOCOMP[2] Feb 23 20:54:58 HOSTNAME ppp[1025]: tun0: LCP: ACCMAP[6] 0x Feb 23 20:54:58 HOSTNAME ppp[1025]: tun0: LCP: MRU[4] 1500 Feb 23 20:54:58 HOSTNAME ppp[1025]: tun0: LCP: MAGICNUM[6] 0x643ab3ca Feb 23 20:54:58 HOSTNAME ppp[1025]: tun0: LCP: QUALPROTO[8] proto c025, interval 5000ms Feb 23 20:55:01 HOSTNAME ppp[1025]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent Feb 23 20:55:01 HOSTNAME ppp[1025]: tun0: LCP: ACFCOMP[2] Feb 23 20:55:01 HOSTNAME ppp[1025]: tun0: LCP: PROTOCOMP[2] Feb 23 20:55:01 HOSTNAME ppp[1025]: tun0: LCP: ACCMAP[6] 0x Feb 23 20:55:01 HOSTNAME ppp[1025]: tun0: LCP: MRU[4] 1500 Feb 23 20:55:01 HOSTNAME ppp[1025]: tun0: LCP: MAGICNUM[6] 0x643ab3ca Feb 23 20:55:01 HOSTNAME ppp[1025]: tun0: LCP: QUALPROTO[8] proto c025, interval 5000ms Feb 23 20:55:04 HOSTNAME ppp[1025]: tun0: LCP: deflink: LayerFinish Feb 23 20:55:04 HOSTNAME ppp[1025]: tun0: LCP: deflink: State change Req-Sent -- Stopped Feb 23 20:55:04 HOSTNAME ppp[1025]: tun0: LCP: deflink: State change Stopped -- Closed Feb 23 20:55:04 HOSTNAME ppp[1025]: tun0: Phase: deflink: Disconnected! Feb 23 20:55:04 HOSTNAME ppp[1025]: tun0: Phase: deflink: lcp - logout Feb 23 20:55:04 HOSTNAME ppp[1025]: tun0: Phase: deflink: logout - hangup Feb
Re: desktop app/config
On Tue, 24 Feb 2009 12:08:48 -0500 Jean-Paul Natola jnat...@familycareintl.org wrote: Ok so I left the machine running over the weekend to install KDE, And when I got in this morning it said that my disk was out of space- I loaded nothing but the basic freebsd os and nothing other than kde (granted its only a 10 gig drive) but that should be enough for a kde desktop no? It may be that you need to clean-out the workspaces with rm -rf /usr/ports/*/*/work, and start again. BTW I'd go for KDE3 rather than KDE4. The latter still seems to be very fragile to me, and it needs a fairly up-to-date machine, with and a well supported 3-d graphics card if you want the effects. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: video editor
On Friday 20 February 2009 14:20:45 prad wrote: On Fri, 20 Feb 2009 17:36:19 +0100 t-u-t marshc...@gmail.com wrote: there is versions of hjsplit if u ever used that in windows. i've used a good and simple command line version b4 but i can't remember exactly where it is in ports it maybe hjsplit or lhjsplit. (google to their site). it is lxsplit, but i can't figure out how to work it. i settled on mencoder and installed it from ports since there is no pkg for it. it's a bit of an overkill for my present needs (which have been met) but it looks like something that is worth learning! I've actually had bad experiences with mencoder. Apart from 1200 options in one manpage, converting from one format to another ends premature (missing the last few seconds). While I loath transcode for what it's meant to do (it will always segfault on exit during a typical transcoding run), the avimerge/avisplit tools actually work well and are easy to use. There are similar tools for Ogg media in multimedia/ogmtools. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: video editor
On Tue, 24 Feb 2009 09:17:15 -0900 Mel fbsd.questi...@rachie.is-a-geek.net wrote: I've actually had bad experiences with mencoder. well i've been successful in joining, but i think there was a slight deterioration in quality. i likely didn't use it properly, because i simply followed the instructions on that page i found on the web. i'll be examining things more closely and trying different things with it later. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ 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
saslauthd + pam error
I'm trying to make cyrus work with saslauthd + pam, but having no luck. # imtest -m PLAIN -a test WARNING: no hostname supplied, assuming localhost S: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID AUTH=LOGIN AUTH=PLAIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5 SASL-IR] [myserver] Cyrus IMAP v2.3.13 server ready Please enter your password: C: A01 AUTHENTICATE PLAIN AHRlc3QAamFjaw== S: A01 NO authentication failure Authentication failed. generic failure Security strength factor: 0 In /var/log/auth.log I get the error saslauthd[17624] :do_auth : auth failure: [user=test] [service=imap] [realm=] [mech=pam] [reason=PAM auth error] imtest works fine with DIGEST-MD5 In /usr/local/etc/imapd.conf I have: sasl_pwcheck_method: saslauthd saslauthd is running with -a pam. Where should I look to fix my configuration? -- Janos Dohanics ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP5 and ldap
what the hell is a library 'bump' ?? On Tue, 24 Feb 2009, Mel wrote: On Tuesday 24 February 2009 06:36:00 Paul Schmehl wrote: I see that my /usr/local/lib/ now contains lrwxr-xr-x 1 root wheel 16 Feb 23 14:09 libldap-2.4.so - libldap-2.4.so.6 -rw-r--r-- 1 root wheel 307762 Feb 23 14:09 libldap-2.4.so.6 etc.. so, only references to libldap-2.4.so.6, but no more libldap-2.4.so.5 [snipped] So php5-ldap was already the last version... What's going wrong and how to solve all that ? % ln -s /usr/local/lib/libldap-2.4.so /usr/local/lib/libldap-2.4.so.5 Bad bad. Generally, programmers don't bump library versions, breaking backwards compatibility, for fun. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Please, recommend CPU and RAM burn test
On Tue, Feb 24, 2009 at 6:42 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: I need to really heavily test a box with 8 cores and 16GB FBDIM RAM. make -j generic kernel why not make -j 4x # of CPUs ??? that should over saturate the CPU and memory ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Unix disk utility similar to Victoria ?
On Sat, Jan 31, 2009 at 07:27:38PM +, Dieter wrote: Does anyone know of a Unix utility that can do a scan of connected devices regardless of BIOS status similar to Victoria ? The BUSY state is of particular interest. GUI not required. I tried google, no joy. http://www.msfn.org/board/index.php?showtopic=129263 It's disappointing that I haven't seen any responses to this. I'm curious about the existence of such tools as well. Have you gotten any answers off-list that you can share with those of us on the list who might also like to know? -- Chad Perrin [ content licensed OWL: http://owl.apotheon.org ] Quoth Robert Martin: Would you rather Test-First, or Debug-Later? pgpfYde3cXw1f.pgp Description: PGP signature
Re: Command line video player
On Sat, Feb 21, 2009 at 04:03:15PM +0530, Mehul Ved wrote: Compile it on P1 90MHz? :( I can't install FreeBSD on any other PC. I can totally understand not wanting to compile software on a 90MHz Pentium 1. Why can't you install FreeBSD on any other PC? -- Chad Perrin [ content licensed OWL: http://owl.apotheon.org ] Quoth Jeff Henager: If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology. pgpdUnIF13mlQ.pgp Description: PGP signature
Re: What is correct way to enable watchdog?
On Tuesday 24 February 2009 08:12:11 Peter Steele wrote: Panic, or overheating. Check the dumpdev/dumpdir variables in rc.conf(5). BTW, what's the difference between setting kern.corefile in /etc/sysctl and these dumpdev/dumpdir variables? They are two different things. kern.corefile is used for userland processes. See core(5) for details. Handy if you want to collect all coredumps for review or when large parts of the system are read-only. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What is correct way to enable watchdog?
On Tuesday 24 February 2009 05:25:36 Peter Steele wrote: No, meaning, if a system is unresponsive for 300 seconds, action will be taken. watchdogd will not prevent proper reboots, panics or power failures. Bad wording on my part. What you said is what I meant, and I assume the default action is to reboot the system? If -e cmd is not specified, the daemon will perform a trivial file system check instead. Panic, or overheating. Check the dumpdev/dumpdir variables in rc.conf(5). We don't have dumpdev/dumpdir configured in rc.conf. I'll do that. What makes us suspicious is that we have been running this stress test on systems for months without any reboots. We then enable the 300 second watchdog and two systems spontaneously reboot. We've turned it off again and have restarted the stress test and so far no reboots. What we want to know is are these reboots occurring as a result of a watchdog reboot? Is any kind of system log created when the watchdog reboots a system? This smells more like a bug in watchdog. If that's the case, the crash dumps should point right at it, at which point I'd take it to freebsd-stable or -current, whichever applies to the OS version. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ 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
RELENG_7 != STABLE?
I have this in my /etc/cvsupfile: *default tag=RELENG_7 Yet, when I recompiled world and kernel yesterday, I ended up with this: FreeBSD hostname.utdallas.edu 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #10: Mon Feb 23 18:15:12 CST 2009 r...@utd65257.utdallas.edu:/usr/obj/usr/src/sys/GENERIC i386 I thought that tag got me the STABLE branch? Also, I can now no longer even attach a umass device (much less try to fsck or mount it.) It actually renders X unusable and eventually locks up the machine. The device is detected correctly: kernel: da0 at umass-sim0 bus 0 target 0 lun 0 kernel: umass0: Maxtor Corporation Maxtor 3200, class 0/0, rev 2.00/0.01, addr 2 on uhub5 kernel: da0 at umass-sim0 bus 0 target 0 lun 0 But I see tons of these on the console: kernel: umass0: BBB bulk-in clear stall failed, TIMEOUT kernel: umass0: BBB bulk-out clear stall failed, TIMEOUT kernel: umass0: BBB reset failed, TIMEOUT Apparently the usb(1) code went from bad to worse? -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. ___ 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
WTMP
I have an offline server that is corrupted. I am rtrying to piece through the problem. I have several WTMP files and I am trying to read them. I am using last -f file name | less and am receiving output. However, I do not believe it is the complete output. I say this because when I look at the WTMP in a regular file editor I see many more IP addresses in that file versus the ouput of the last -f file name | less. I am also hitting page down or the down arrow till it says END. Are there any other commands I can run to ensure I am getting the complete output? Also, is there a text file I can review that has the configuration of the initial set up of the server? 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
Re: OT: The official stool for FreeBSD users?
On Monday 23 February 2009 10:56:20 Chad Perrin wrote: On Sun, Feb 22, 2009 at 08:18:16PM -0800, Charles Oppermann wrote: http://www.yankodesign.com/2008/11/07/i-dont-wanna-grow-up-im-a-big-kid-n ow/ I think it might for a great official stool for FreeBSD as soon as the designer's site is usable without Flash. It is, you just miss adblock or similar. Instead of whining, just install www/dummyflash. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Command line video player
On Sat, Feb 21, 2009 at 12:42 AM, Mehul Ved mehul.n@gmail.com wrote: 2) I am not able to find mplayer for 5.5 so I tried to get it's package from 5-RELEASE, which lists lots of dependancies. How do I get mplayer package for 5.5 Hello, Try the ports collection and see if it can build that way. mplayer imho is the very best choice here and yeah, you may have to experiment with options like --hardframedrop and the like: RTFM. :) More information on the ports collection here: http://www.freebsd.org/doc/en/books/handbook/ports-using.html Ports is a system to download and compile software on your system, so it tends to be more useful for older versions of FreeBSD for which package support has been dropped. If ports can get you running then yeah upgrading the machine would be a good call. Sincerely, -daniel -- http://dannyman.toldme.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: PHP5 and ldap
On Tue, Feb 24, 2009 at 07:38:05PM +0100, Pieter Donche wrote: what the hell is a library 'bump' ?? A library bump occurs when the interface to the shared library has changed. This requires a rebuild of dependant applications as the method invocations or the structures used in method invocations to the library have changed. Failure to rebuild may result in sporadic crashes, data corruption and General Bad Things (tm). -- Jonathan Chen j...@chen.org.nz -- With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: RELENG_7 != STABLE?
On Tuesday 24 February 2009 10:07:35 Paul Schmehl wrote: I have this in my /etc/cvsupfile: *default tag=RELENG_7 And your *default prefix? kernel: da0 at umass-sim0 bus 0 target 0 lun 0 kernel: umass0: Maxtor Corporation Maxtor 3200, class 0/0, rev 2.00/0.01, addr 2 on uhub5 kernel: da0 at umass-sim0 bus 0 target 0 lun 0 But I see tons of these on the console: kernel: umass0: BBB bulk-in clear stall failed, TIMEOUT kernel: umass0: BBB bulk-out clear stall failed, TIMEOUT kernel: umass0: BBB reset failed, TIMEOUT Apparently the usb(1) code went from bad to worse? camcontrol rescan 0 -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: RELENG_7 != STABLE?
--On Tuesday, February 24, 2009 14:24:29 -0600 Mel fbsd.questi...@rachie.is-a-geek.net wrote: On Tuesday 24 February 2009 10:07:35 Paul Schmehl wrote: I have this in my /etc/cvsupfile: *default tag=RELENG_7 And your *default prefix? *default host=cvsup12.FreeBSD.org *default base=/usr *default prefix=/usr *default tag=RELENG_7 *default release=cvs *default delete use-rel-suffix *default compress -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What is correct way to enable watchdog?
If -e cmd is not specified, the daemon will perform a trivial file system check instead. So -e has to be provided for the system to reboot? That doesn't seem to jive with our experience. When we first enabled the watchdog, we just went with the defaults--no -e command. The default for the timeout is 16 seconds. We started getting reboots regularly until we increased this value. We decided we didn't need anything as agressive as 16 seconds and went instead with 300 seconds. We still see the reboots, but nowhere near as frequently. This smells more like a bug in watchdog. If that's the case, the crash dumps should point right at it, at which point I'd take it to freebsd-stable or -current, whichever applies to the OS version. Okay, we'll enable dumpdev/dumpdir and see what we get. With 300 seconds though, a system would have to be truly dead before a reboot should occur. But our own application logs show that only four minutes elapsed from the last log we recorded to the first log we recorded after the reboot. Considering it takes 2-3 minutes for a system to boot and our application to start running after the boot, I would think we should see a span of at least 7 minutes in our logs where nothing is recorded. However, the span is only about 4 minutes, which is more or less the same as we'd get if someone went by the box and hit the reset button. So it doesn't look like the watchdog is behaving properly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OT: The official stool for FreeBSD users?
Mel wrote: On Monday 23 February 2009 10:56:20 Chad Perrin wrote: On Sun, Feb 22, 2009 at 08:18:16PM -0800, Charles Oppermann wrote: http://www.yankodesign.com/2008/11/07/i-dont-wanna-grow-up-im-a-big-kid-n ow/ I think it might for a great official stool for FreeBSD as soon as the designer's site is usable without Flash. It is, you just miss adblock or similar. flashblock https://addons.mozilla.org/en-US/firefox/addon/433 Believe it or not it really does reduce rage and frustration at adobe/macromedia refusing to recognise FreeBSD as a real operating system. At least when those little placeholder buttons pop up you can think Hah kept you out you b*stards. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OT: The official stool for FreeBSD users?
On Mon, Feb 23, 2009 at 9:51 AM, Frank Shute fr...@shute.org.uk wrote: On Sun, Feb 22, 2009 at 08:18:16PM -0800, Charles Oppermann wrote: http://www.yankodesign.com/2008/11/07/i-dont-wanna-grow-up-im-a-big-kid-now/ I'd describe it, but I don't want to spoil the surprise. Enjoy. I was thinking of stool in the medical sense shudder I wondered for a minute whether the link was work-safe ;) Sadly, you're not alone here. I was thinking similarly. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
new hardware platform?? :-)
Has any one seen more on this? http://news.cnet.com/8301-17938_105-10170648-1.html Robert Huff ___ 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
Determining scancodes for obscure keyboard to modify keymap
I'm wondering how to go about determining the scancodes for keys on keypress. I am looking to remap an apple usb keyboard (a1048). It has F13-16, 3 volume control keys and an eject key but no scroll lock, num lock, pause/break, etc. I'm wondering how I would go about changing some of these not so useful keys into useful keys. The keymap files in /usr/share/syscons/keymaps seem easy enough to modify but I am unsure of how to determine what the scancodes associated with the actual keys on keypress are. As an interesting aside: in x, control + option (alt) + backspace works to terminate x yet control + option (alt) + Fn (F1, F2, etc.) does not work to switch back to the virtual terminals. dmesg.out Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: new hardware platform?? :-)
On Tue, Feb 24, 2009 at 4:44 PM, Robert Huff roberth...@rcn.com wrote: Has any one seen more on this? http://news.cnet.com/8301-17938_105-10170648-1.html I think I found a new wish-list item for my birthday. ;) -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: RELENG_7 != STABLE?
Paul Schmehl wrote: [snip] *default host=cvsup12.FreeBSD.org *default base=/usr *default prefix=/usr *default tag=RELENG_7 *default release=cvs *default delete use-rel-suffix *default compress Try a different server further up in the hierarchy. I recently had a similar situation with cvsup11 except for me it was the ports tree that was really behind. I think some of these aren't getting updated for some reason or another in the manner they should. Try cvsup3 and/or cvsup2 and see if you get the right bits. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What is correct way to enable watchdog?
Le Tue, 24 Feb 2009 13:01:13 -0800 (PST), Peter Steele pste...@maxiscale.com: If -e cmd is not specified, the daemon will perform a trivial file system check instead. So -e has to be provided for the system to reboot? No, if -e is provided, watchdogd execute the command 'cmd', if the command succeed it resets and restarts the watchdog. Without -e, watchdogd tests a stat(/etc,xxx) syscall. See http://ezine.daemonnews.org/200406/watchdog.html This smells more like a bug in watchdog. If that's the case, the crash dumps should point right at it, at which point I'd take it to freebsd-stable or -current, whichever applies to the OS version. Okay, we'll enable dumpdev/dumpdir and see what we get. If the watchdog is a hardware watchdog, you will not get any log or crash dump, just a hard reset. Which watchdog are you using? Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Determining scancodes for obscure keyboard to modify keymap
Le Tue, 24 Feb 2009 14:28:54 -0700, carnage carnagewash...@gmail.com: I'm wondering how to go about determining the scancodes for keys on keypress. I am looking to remap an apple usb keyboard (a1048). It has F13-16, 3 volume control keys and an eject key but no scroll lock, num lock, pause/break, etc. I'm wondering how I would go about changing some of these not so useful keys into useful keys. The keymap files in /usr/share/syscons/keymaps seem easy enough to modify but I am unsure of how to determine what the scancodes associated with the actual keys on keypress are. I asked for this some times ago without any reply. Finally I added some printf in the kbd driver. I don't remember exactly where, I think it was in the function genkbd_keyaction() in kdb.c (something like printf(%i - , keycode) That's ugly... Is there a better way to get the scancode? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: RELENG_7 != STABLE?
On Tue, Feb 24, 2009 at 08:33:09PM +, Paul Schmehl wrote: --On Tuesday, February 24, 2009 14:24:29 -0600 Mel fbsd.questi...@rachie.is-a-geek.net wrote: On Tuesday 24 February 2009 10:07:35 Paul Schmehl wrote: I have this in my /etc/cvsupfile: *default tag=RELENG_7 And your *default prefix? *default host=cvsup12.FreeBSD.org *default base=/usr It should be '*default base=/var/db', I think. See /usr/share/examples/cvsup/stable-supfile *default prefix=/usr *default tag=RELENG_7 *default release=cvs *default delete use-rel-suffix *default compress Is this complete? In that case the collection is missing. (should be src-all). 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) pgptzQ6JOjg78.pgp Description: PGP signature
Re: Determining scancodes for obscure keyboard to modify keymap
On Tue, Feb 24, 2009 at 02:28:54PM -0700, carnage wrote: I'm wondering how to go about determining the scancodes for keys on keypress. Try xev(1). 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) pgpfjW7e4uPo2.pgp Description: PGP signature
Re: new hardware platform?? :-)
i don't see monitor connector? :) On Tue, 24 Feb 2009, Robert Huff wrote: Has any one seen more on this? http://news.cnet.com/8301-17938_105-10170648-1.html Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Determining scancodes for obscure keyboard to modify keymap
On Tue, Feb 24, 2009, Patrick Lamaizi?re wrote: Le Tue, 24 Feb 2009 14:28:54 -0700, carnage carnagewash...@gmail.com: I'm wondering how to go about determining the scancodes for keys on keypress. I am looking to remap an apple usb keyboard (a1048). It has F13-16, 3 volume control keys and an eject key but no scroll lock, num lock, pause/break, etc. I'm wondering how I would go about changing some of these not so useful keys into useful keys. The keymap files in /usr/share/syscons/keymaps seem easy enough to modify but I am unsure of how to determine what the scancodes associated with the actual keys on keypress are. I asked for this some times ago without any reply. Finally I added some printf in the kbd driver. I don't remember exactly where, I think it was in the function genkbd_keyaction() in kdb.c (something like printf(%i - , keycode) That's ugly... Is there a better way to get the scancode? As somebody else pointed out, xev is your friend. I am attaching the .Xmodmap file I use on OS X to allow the numeric keypad on the Microsoft 4000 natural keybaord to do the Right Thing(tm) (e.g. send numbers when using python curses). BTW: the emacs stuff at the end is supposed to work, but I have not been able to get it to work, but then I've never been able to get my fingers around emacs either -- they've been doing vi for 25+ years, and seem to be untrainable. Bill -- INTERNET: b...@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 A liberal is someone who feels a great debt to his fellow man, which debt he proposes to pay off with your money. -- G Gordon L iddy ! keypad mappings for Apple with Microsoft Natural keyboard keycode 91 = 1 keycode 90 = 0 keycode 92 = 2 keycode 93 = 3 keycode 94 = 4 keycode 95 = 5 keycode 96 = 6 keycode 97 = 7 keycode 99 = 8 keycode 100 = 9 keycode 73 = period keycode 83 = slash keycode 75 = asterisk keycode 86 = minus keycode 77 = plus keycode 84 = Return ! Microsoft Ergonomic 4000 keycode 89 = equal ! emacs mapping keys to Alt clear mod2 keycode 63 = Meta_L keycode 66 = Meta_L add mod2 = Meta_L ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: What is correct way to enable watchdog?
Which watchdog are you using? We are using the default FreeBSD 7.0 watchdog. We've added the line watchdogd_enable=yes to rc.conf to enable it and have modified /etc/rc.d/watchdogd to pass -t 300 to the daemon instead of the default 16. ___ 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
cups-pdf does not print
Hello, I need a whole lot of help with cups-pdf. I've been wrestling with this for about a week without success. There are no error messages when test page printed from CUPS web admin but no output either; there are no error messages from Windows, which is how I plan to use the PDF printer. CUPS works fine with other printers. thanks Cam This is how I set up the cups-pdf printer in the web admin page: device: CUPS-PDF (virtual PDF printer) make: Generic. There is no 'Postscript' option per the Readme file (http://cups-pdf.de) model: Generic-CUPS-PDF printer. There is no 'color Postscript' option. cups-pdf.conf is all default values, except these lines, which are now commented: Out /usr/home/Shiner/PDFs AnonDirName /usr/home/Shiner/PDFs I use these /etc/devfs.rules: [system=10] add path 'unlpt*' mode 0660 group cups add path 'ulpt*' mode 0660 group cups add path 'lpt*' mode 0660 group cups Error log from setting up the printer 'server_PDF' - what is the significance of the inability to write to /var/cache/cups/ppds.dat ? I [24/Feb/2009:16:32:21 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44236) I [24/Feb/2009:16:36:02 -0600] Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44266) I [24/Feb/2009:16:36:06 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44268) I [24/Feb/2009:16:36:08 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44269) I [24/Feb/2009:16:36:08 -0600] Started /usr/local/libexec/cups/daemon/cups-deviced (pid=44270) I [24/Feb/2009:16:36:47 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44285) I [24/Feb/2009:16:36:47 -0600] Started /usr/local/libexec/cups/daemon/cups-driverd (pid=44286) E [24/Feb/2009:16:37:09 -0600] [cups-driverd] Unable to write /var/cache/cups/ppds.dat - Permission denied I [24/Feb/2009:16:38:26 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44293) I [24/Feb/2009:16:38:26 -0600] Started /usr/local/libexec/cups/daemon/cups-driverd (pid=44294) E [24/Feb/2009:16:38:34 -0600] [cups-driverd] Unable to write /var/cache/cups/ppds.dat - Permission denied I [24/Feb/2009:16:39:56 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44301) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF device-uri to cups-pdf:/ (was cups-pdf:/.) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF printer-is-accepting-jobs to 1 (was 1.) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF printer-state to 3 (was 3.) I [24/Feb/2009:16:39:56 -0600] Saving printers.conf... I [24/Feb/2009:16:39:56 -0600] Printer server_PDF modified by root. I [24/Feb/2009:16:39:59 -0600] Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44303) I [24/Feb/2009:16:40:14 -0600] Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44307) I [24/Feb/2009:16:40:14 -0600] [Job 49] Adding start banner page none. I [24/Feb/2009:16:40:14 -0600] [Job 49] Adding end banner page none. I [24/Feb/2009:16:40:14 -0600] [Job 49] File of type application/postscript queued by root. I [24/Feb/2009:16:40:14 -0600] [Job 49] Queued on server_PDF by root. I [24/Feb/2009:16:40:14 -0600] [Job 49] Started filter /usr/local/libexec/cups/filter/pstops (PID 44308) I [24/Feb/2009:16:40:14 -0600] [Job 49] Started backend /usr/local/libexec/cups/backend/cups-pdf (PID 44309) I [24/Feb/2009:16:40:14 -0600] [Job 49] Completed successfully. Error log from CUPS restart and printing a test page to PDF printer: I [24/Feb/2009:15:14:25 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=43763) I [24/Feb/2009:15:15:32 -0600] Scheduler shutting down normally. I [24/Feb/2009:15:15:32 -0600] Saving job cache file /var/cache/cups/job.cache... I [24/Feb/2009:15:15:32 -0600] Listening to :::631 (IPv6) I [24/Feb/2009:15:15:32 -0600] Listening to 0.0.0.0:631 (IPv4) I [24/Feb/2009:15:15:32 -0600] Listening to /var/run/cups.sock (Domain) I [24/Feb/2009:15:15:32 -0600] Loaded configuration file /usr/local/etc/cups/cupsd.conf I [24/Feb/2009:15:15:32 -0600] Using default TempDir of /var/spool/cups/tmp... I [24/Feb/2009:15:15:32 -0600] Configured for up to 100 clients. I [24/Feb/2009:15:15:32 -0600] Allowing up to 100 client connections per host. I [24/Feb/2009:15:15:32 -0600] Using policy default as the default! I [24/Feb/2009:15:15:32 -0600] Full reload is required. I [24/Feb/2009:15:15:33 -0600] Loaded MIME database from '/usr/local/etc/cups': 35 types, 38 filters... I [24/Feb/2009:15:15:33 -0600] Loading job cache file /var/cache/cups/job.cache... I [24/Feb/2009:15:15:33 -0600] Full reload complete. I [24/Feb/2009:15:15:33 -0600] Cleaning out old temporary files in /var/spool/cups/tmp... I [24/Feb/2009:15:15:33 -0600] Listening to :::631 on fd 3... I [24/Feb/2009:15:15:33 -0600] Listening to 0.0.0.0:631 on fd 4... I [24/Feb/2009:15:15:33 -0600] Listening to /var/run/cups.sock on fd 5... I [24/Feb/2009:15:15:33 -0600] Resuming new connection processing... I [24/Feb/2009:15:16:37 -0600] Started
Re: Determining scancodes for obscure keyboard to modify keymap
On Tue, 24 Feb 2009 14:28:54 -0700, carnage carnagewash...@gmail.com wrote: I am looking to remap an apple usb keyboard (a1048). It has F13-16, 3 volume control keys and an eject key but no scroll lock, num lock, pause/break, etc. I'm wondering how I would go about changing some of these not so useful keys into useful keys. I have the same keyboard on a secondary system and would know the answert to your question, too. :-) As I knew from configuring my Sun USB Type 6 keyboard, xev is a good tool to check the keyboard output. It works for the Apple keys next to the space bar, but not for PF13 -- PR16, the volume keys and the eject key - xev doesn't show anything when they're pressed. Maybe you can use my ~/.xmodmaprc for the Sun keyboard, at least for educational purposes. :-) (I'll add the english key names; because I have the german version, I've initially named *them* within the comments.) ! ! $XFree86: xc/programs/Xserver/hw/xfree86/etc/xmodmap.std,v 3.5 1996/12/23 06:47:28 dawes Exp $ ! $XConsortium: xmodmap.std /main/7 1996/02/21 17:48:55 kaleb $ !clear mod3 !clear mod4 add mod4 = Multi_key ! Hilfe / Help keycode 144 = F13 ! Stop / Stop keycode 145 = F14 ! Wiederholen / Again keycode 146 = F15 ! Eigenschaften / Props keycode 147 = F16 ! Zurücknehmen / Undo keycode 148 = F17 ! Vordergrund / Front keycode 149 = F18 ! Kopieren / Copy keycode 150 = F19 ! Öffnen / Open keycode 151 = F20 ! Einsetzen / Insert keycode 152 = F21 ! Suchen / Find keycode 153 = F22 ! Ausschneiden / Cut keycode 154 = F23 ! Ton aus / Entmagnetisieren / Mute / Degauss keycode 141 = F24 ! Leiser / Mehr Kontrast / Lower volume / contrast keycode 142 = F25 ! Lauter / Weniger Kontrast / Raise volume / contrast keycode 143 = F26 ! Ausschalten (Mond) / Switch off (Moon) keycode 140 = F27 ! Meta links / Meta left keycode 115 = Meta_L ! Meta rechts / Meta right keycode 116 = Meta_R ! Compose keycode 117 = Multi_key ! It's easy to find out what the keys send using xev. Then, you can easily assign any key name to them that is present in the symbol file for xkb stuff. Note that this worked with XFree86 and X.org so far, but due to the newest improvements, it may be possible that settings have to be done very differently now... (I've not taken the update yet.) If you got the keys working, please report back to the list. I'd be very interested in using them. They work fine when the keyboard is attached to an iBook. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Determining scancodes for obscure keyboard to modify keymap
Bill Campbell wrote: As somebody else pointed out, xev is your friend. I am attaching the .Xmodmap file I use on OS X to allow the numeric keypad on the Microsoft 4000 natural keybaord to do the Right Thing(tm) (e.g. send numbers when using python curses). Scancodes have nothing (*) to do with keycodes. Xev will be of absolutely no help for remapping if it doesn't see the key at all, which frequently occurs with exotic keys. As Patrick said, you need to dig into the OS keyboard driver to solve the problem when working on the console. On Linux it is easier there are commands to detect and remap scancodes. Getting those keys working under X is still another problem, it may be that you have to hack the keyboard controller of the X server to do that. In other words, it is extremely inconvenient. Windows works directly with scancodes and they can be remapped in the registry, with all the problems this entails. On the other hand one can find scancode documentation on Microsoft site. (*) more precisely there is a partial mapping of scancodes to keycodes. xmodmap manages a second mapping from keycodes to symbols, as recognized by your X applications. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: RELENG_7 != STABLE?
--On Tuesday, February 24, 2009 16:38:56 -0600 Roland Smith rsm...@xs4all.nl wrote: On Tue, Feb 24, 2009 at 08:33:09PM +, Paul Schmehl wrote: --On Tuesday, February 24, 2009 14:24:29 -0600 Mel fbsd.questi...@rachie.is-a-geek.net wrote: On Tuesday 24 February 2009 10:07:35 Paul Schmehl wrote: I have this in my /etc/cvsupfile: *default tag=RELENG_7 And your *default prefix? *default host=cvsup12.FreeBSD.org *default base=/usr It should be '*default base=/var/db', I think. See /usr/share/examples/cvsup/stable-supfile You are correct. I've changed it. *default prefix=/usr *default tag=RELENG_7 *default release=cvs *default delete use-rel-suffix *default compress Is this complete? In that case the collection is missing. (should be src-all). No. I was trying to be economical with the use of bandwidth. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Top returning 0.0% cpu usage
On Mon, Feb 23, 2009 at 03:21:28PM -0800, mojo fms wrote: last pid: 11406; load averages: 0.07, 0.02, 0.00 up 2+20:54:15 15:36:35 23 processes: 1 running, 22 sleeping CPU: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 0.0% idle That is what it is displaying, the load adverage isnt it, its just the CPU stats. It always displays 0.0% all the way across the board with the machine idle or doing any kind of work. Ummm, that's not right. You could try: # cd /usr/src/usr.bin/top/ # make obj make depend make make install You obviously need the source files for that. There's a section in the handbook on how to install them if they're not installed already: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html You want to use cvsup/csup(1) The problem suggests that your world and kernel might not be in sync and a rebuild might be in order. How did you build/install your system? Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cups-pdf does not print
On Tuesday 24 February 2009 19:49:46 Cam wrote: Hello, I need a whole lot of help with cups-pdf. I've been wrestling with this for about a week without success. There are no error messages when test page printed from CUPS web admin but no output either; there are no error messages from Windows, which is how I plan to use the PDF printer. CUPS works fine with other printers. thanks Cam This is how I set up the cups-pdf printer in the web admin page: device: CUPS-PDF (virtual PDF printer) make: Generic. There is no 'Postscript' option per the Readme file (http://cups-pdf.de) model: Generic-CUPS-PDF printer. There is no 'color Postscript' option. cups-pdf.conf is all default values, except these lines, which are now commented: Out /usr/home/Shiner/PDFs AnonDirName /usr/home/Shiner/PDFs I use these /etc/devfs.rules: [system=10] add path 'unlpt*' mode 0660 group cups add path 'ulpt*' mode 0660 group cups add path 'lpt*' mode 0660 group cups Error log from setting up the printer 'server_PDF' - what is the significance of the inability to write to /var/cache/cups/ppds.dat ? I [24/Feb/2009:16:32:21 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44236) I [24/Feb/2009:16:36:02 -0600] Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44266) I [24/Feb/2009:16:36:06 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44268) I [24/Feb/2009:16:36:08 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44269) I [24/Feb/2009:16:36:08 -0600] Started /usr/local/libexec/cups/daemon/cups-deviced (pid=44270) I [24/Feb/2009:16:36:47 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44285) I [24/Feb/2009:16:36:47 -0600] Started /usr/local/libexec/cups/daemon/cups-driverd (pid=44286) E [24/Feb/2009:16:37:09 -0600] [cups-driverd] Unable to write /var/cache/cups/ppds.dat - Permission denied I [24/Feb/2009:16:38:26 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44293) I [24/Feb/2009:16:38:26 -0600] Started /usr/local/libexec/cups/daemon/cups-driverd (pid=44294) E [24/Feb/2009:16:38:34 -0600] [cups-driverd] Unable to write /var/cache/cups/ppds.dat - Permission denied I [24/Feb/2009:16:39:56 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44301) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF device-uri to cups-pdf:/ (was cups-pdf:/.) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF printer-is-accepting-jobs to 1 (was 1.) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF printer-state to 3 (was 3.) I [24/Feb/2009:16:39:56 -0600] Saving printers.conf... I [24/Feb/2009:16:39:56 -0600] Printer server_PDF modified by root. I [24/Feb/2009:16:39:59 -0600] Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44303) I [24/Feb/2009:16:40:14 -0600] Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44307) I [24/Feb/2009:16:40:14 -0600] [Job 49] Adding start banner page none. I [24/Feb/2009:16:40:14 -0600] [Job 49] Adding end banner page none. I [24/Feb/2009:16:40:14 -0600] [Job 49] File of type application/postscript queued by root. I [24/Feb/2009:16:40:14 -0600] [Job 49] Queued on server_PDF by root. I [24/Feb/2009:16:40:14 -0600] [Job 49] Started filter /usr/local/libexec/cups/filter/pstops (PID 44308) I [24/Feb/2009:16:40:14 -0600] [Job 49] Started backend /usr/local/libexec/cups/backend/cups-pdf (PID 44309) I [24/Feb/2009:16:40:14 -0600] [Job 49] Completed successfully. Error log from CUPS restart and printing a test page to PDF printer: I [24/Feb/2009:15:14:25 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=43763) I [24/Feb/2009:15:15:32 -0600] Scheduler shutting down normally. I [24/Feb/2009:15:15:32 -0600] Saving job cache file /var/cache/cups/job.cache... I [24/Feb/2009:15:15:32 -0600] Listening to :::631 (IPv6) I [24/Feb/2009:15:15:32 -0600] Listening to 0.0.0.0:631 (IPv4) I [24/Feb/2009:15:15:32 -0600] Listening to /var/run/cups.sock (Domain) I [24/Feb/2009:15:15:32 -0600] Loaded configuration file /usr/local/etc/cups/cupsd.conf I [24/Feb/2009:15:15:32 -0600] Using default TempDir of /var/spool/cups/tmp... I [24/Feb/2009:15:15:32 -0600] Configured for up to 100 clients. I [24/Feb/2009:15:15:32 -0600] Allowing up to 100 client connections per host. I [24/Feb/2009:15:15:32 -0600] Using policy default as the default! I [24/Feb/2009:15:15:32 -0600] Full reload is required. I [24/Feb/2009:15:15:33 -0600] Loaded MIME database from '/usr/local/etc/cups': 35 types, 38 filters... I [24/Feb/2009:15:15:33 -0600] Loading job cache file /var/cache/cups/job.cache... I [24/Feb/2009:15:15:33 -0600] Full reload complete. I [24/Feb/2009:15:15:33 -0600] Cleaning out old temporary files in /var/spool/cups/tmp... I [24/Feb/2009:15:15:33 -0600] Listening to :::631 on fd 3... I [24/Feb/2009:15:15:33 -0600] Listening to 0.0.0.0:631 on fd 4... I [24/Feb/2009:15:15:33 -0600] Listening to /var/run/cups.sock on fd 5... I [24/Feb/2009:15:15:33
Re: Command line video player
On Wed, Feb 25, 2009 at 12:37 AM, Chad Perrin per...@apotheon.com wrote: Why can't you install FreeBSD on any other PC? Because all the other PC's are in use in the office. This is one older one we managed to pull out of the junk, which was actually in working condition. -- This door is baroquen, please wiggle Handel. (If I wiggle Handel, will it wiggle Bach?) -- Fo... ___ 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
portupgrade question
Hi all: I was doing portupgrade -fa -y remotely via ssh (desktop xp), it worked fine and was still running almost two days (7.1). But suddenly i lost power on my xp station, lost ssh connection to the freebsd7.1 box. What shall i do so that i don't have to start over again? Thanks in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portupgrade question
On Tue, Feb 24, 2009 at 9:13 PM, gahn ipfr...@yahoo.com wrote: Hi all: I was doing portupgrade -fa -y remotely via ssh (desktop xp), it worked fine and was still running almost two days (7.1). But suddenly i lost power on my xp station, lost ssh connection to the freebsd7.1 box. What shall i do so that i don't have to start over again? Next time, use sysutils/screen. You *should* just be able to restart the portupgrade, and (ideally) it should start where it left off. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portupgrade question
Thanks Glen: Never used screen. Does that mean it is too late and I have to start over again? --- On Tue, 2/24/09, Glen Barber glen.j.bar...@gmail.com wrote: From: Glen Barber glen.j.bar...@gmail.com Subject: Re: portupgrade question To: ipfr...@yahoo.com Cc: freebsd general questions freebsd-questions@freebsd.org Date: Tuesday, February 24, 2009, 6:16 PM On Tue, Feb 24, 2009 at 9:13 PM, gahn ipfr...@yahoo.com wrote: Hi all: I was doing portupgrade -fa -y remotely via ssh (desktop xp), it worked fine and was still running almost two days (7.1). But suddenly i lost power on my xp station, lost ssh connection to the freebsd7.1 box. What shall i do so that i don't have to start over again? Next time, use sysutils/screen. You *should* just be able to restart the portupgrade, and (ideally) it should start where it left off. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portupgrade question
On Tue, Feb 24, 2009 at 9:25 PM, gahn ipfr...@yahoo.com wrote: Thanks Glen: Never used screen. Does that mean it is too late and I have to start over again? Note that I said: You *should* just be able to restart the portupgrade, and (ideally) it should start where it left off. Otherwise, yes, it is too late. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portupgrade question
Thanks Glen: So use portupgrade -fa -y again or a bit different knobs? --- On Tue, 2/24/09, Glen Barber glen.j.bar...@gmail.com wrote: From: Glen Barber glen.j.bar...@gmail.com Subject: Re: portupgrade question To: ipfr...@yahoo.com Cc: freebsd general questions freebsd-questions@freebsd.org Date: Tuesday, February 24, 2009, 6:16 PM On Tue, Feb 24, 2009 at 9:13 PM, gahn ipfr...@yahoo.com wrote: Hi all: I was doing portupgrade -fa -y remotely via ssh (desktop xp), it worked fine and was still running almost two days (7.1). But suddenly i lost power on my xp station, lost ssh connection to the freebsd7.1 box. What shall i do so that i don't have to start over again? Next time, use sysutils/screen. You *should* just be able to restart the portupgrade, and (ideally) it should start where it left off. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portupgrade question
On Tue, Feb 24, 2009 at 9:29 PM, gahn ipfr...@yahoo.com wrote: Thanks Glen: So use portupgrade -fa -y again or a bit different knobs? Please stop top-posting. Continue with the command you had already used. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portupgrade question
Glen Barber writes: Never used screen. Does that mean it is too late and I have to start over again? Note that I said: You *should* just be able to restart the portupgrade, and (ideally) it should start where it left off. Not according to my understanding of portupgrade. It's going to try to rebuild every port (-a) whether it needs it or not (-f). Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portupgrade question
On Tue, Feb 24, 2009 at 9:43 PM, Robert Huff roberth...@rcn.com wrote: Glen Barber writes: Never used screen. Does that mean it is too late and I have to start over again? Note that I said: You *should* just be able to restart the portupgrade, and (ideally) it should start where it left off. Not according to my understanding of portupgrade. It's going to try to rebuild every port (-a) whether it needs it or not (-f). Then he should remove the -f flag. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Web or X GUI for pf / isc-dchp3-server
On Mon, 2009-02-23 at 18:54 +0100, Roland Smith wrote: On Mon, Feb 23, 2009 at 11:26:04AM +0200, Jaco le Roux wrote: Hi, Would anyone know if there is any kind of X-style (or web) GUI for FreeBSD applications like pf and isc-dhcp3-server ? The sysutils/webmin port would enable you to configure DHCP and a lot of other things from a browser. There is also a module available for running pfctl: http://www.askey.org/pfctl/ Roland web based pf firewall editor. http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/pfw/ Seen it's demo, haven't used it myself. It is a soon-to-be tested software though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portupgrade question
On Tue, 24 Feb 2009 18:13:19 -0800 (PST) gahn ipfr...@yahoo.com wrote: Hi all: I was doing portupgrade -fa -y remotely via ssh (desktop xp), it worked fine and was still running almost two days (7.1). But suddenly i lost power on my xp station, lost ssh connection to the freebsd7.1 box. What shall i do so that i don't have to start over again? If you know roughly when you started the run you can do something like this: portupgrade -f -y '2009-02-22 12:00' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: openoffice-3.0.1 broken on FreeBSD
Marco Beishuizen wrote: Hi, Trying to run OO-3.0.1 crashes OO with the following error messages and ends into and enless loop trying to restart and crashing again: ... (soffice:2726): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated Xlib: extension Generic Event Extension missing on display :0.0. Xlib: extension Generic Event Extension missing on display :0.0. Xlib: extension Generic Event Extension missing on display :0.0. Xlib: extension Generic Event Extension missing on display :0.0. Xlib: extension Generic Event Extension missing on display :0.0. Xlib: extension Generic Event Extension missing on display :0.0. Xlib: extension Generic Event Extension missing on display :0.0. Xlib: extension Generic Event Extension missing on display :0.0. Xlib: extension Generic Event Extension missing on display :0.0. Xlib: extension Generic Event Extension missing on display :0.0. ... I'm running FreeBSD-7.1-stable with x.org 7.4 with Gnome 2.24. anyone an idea? Thanks in advance Marco Have you had any success getting openoffice working? I have a similar problem with xorg 7.4 and openoffice.org-000310_m1. Upon attempting to run openoffice, I get: $ openoffice.org-OOO310_m1 Xlib: extension Generic Event Extension missing on display :0.0. Xlib: extension Generic Event Extension missing on display :0.0. $ I get no errors, feedback, or dumped cores to let me know what went wrong, but it doesn't launch. If anyone has any info or things to attempt, I'd be glad to hear it. Thanks, Jon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: RELENG_7 != STABLE?
On Tuesday 24 February 2009 14:40:02 Paul Schmehl wrote: --On Tuesday, February 24, 2009 16:38:56 -0600 Roland Smith rsm...@xs4all.nl wrote: On Tue, Feb 24, 2009 at 08:33:09PM +, Paul Schmehl wrote: --On Tuesday, February 24, 2009 14:24:29 -0600 Mel fbsd.questi...@rachie.is-a-geek.net wrote: On Tuesday 24 February 2009 10:07:35 Paul Schmehl wrote: I have this in my /etc/cvsupfile: *default tag=RELENG_7 And your *default prefix? *default host=cvsup12.FreeBSD.org *default base=/usr It should be '*default base=/var/db', I think. See /usr/share/examples/cvsup/stable-supfile You are correct. I've changed it. It shouldn't matter. He just has /usr/sup now, where the collection info resides. *default prefix=/usr *default tag=RELENG_7 *default release=cvs Presence of tag enables checkout mode, so it's not that you have a cvs repo copy. Kernel date tag suggests a reboot, so the only thing that comes to mind is newvers.sh not having done it's job or UNAME_r set in env. sysctl kern.osrelease also shows 7.1-PRERELEASE? No date= present? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: openoffice-3.0.1 broken on FreeBSD
Jon writes: Have you had any success getting openoffice working? I have a similar problem with xorg 7.4 and openoffice.org-000310_m1. Upon attempting to run openoffice, I get: $ openoffice.org-OOO310_m1 Xlib: extension Generic Event Extension missing on display :0.0. Xlib: extension Generic Event Extension missing on display :0.0. $ I get no errors, feedback, or dumped cores to let me know what went wrong, but it doesn't launch. If anyone has any info or things to attempt, I'd be glad to hear it. This is a known item. It appeared with xorg-7.4 because certain functionality has been added to the Xorg libraries but not (yet) to the server. In all other cases where this has appeared, it has been eventually disgnosed as annoying but harmless. Unless hard evidence to the contrary appears, look for problem elsewhere. It also - as far as I know, and I am not an expert - has nothing to do with this: (soffice:2726): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated which is only a warning. (But should still be investigated and fixed.) Robert Huff ___ 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