gtar-1.22_1, lzmautils-4.32.7 and xz-4.999.9
gtar-1.22_1, lzmautils-4.32.7 and xz-4.999.9 pkg_version -vIL= reported today as ports to upgrade: gtar-1.22 needs updating (index has 1.22_1) librsvg2-2.26.0_1 needs updating (index has 2.26.0_2) lzmautils-4.32.7! Comparison failed I have lzmautils-4.32.7 $ pkg_info | grep lzmautils-4.32.7 lzmautils-4.32.7LZMA compression and decompression tools -- What does this Comparaised failed mean ?? I started a portupgrade: # portsnap fetch # portsnap update # portupgrade -yaRrpb | tee /tmp/portupgrade-mail the output reports about gtar-1.22 : ... === gtar-1.22_1 depends on executable: lzop - found === gtar-1.22_1 depends on executable: xz - not found xz-4.999.9beta.tar.gz is fetched from http://tukaani.org/xz/ extracted and installed ... === xz-4.999.9 conflicts with installed package(s): lzmautils-4.32.7 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/archivers/xz. *** Error code 1 Stop in /usr/ports/archivers/gtar. *** Error code 1 Stop in /usr/ports/archivers/gtar. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20090922-22 895-zz3ywq-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gtar-1.22 UPGRADE_PORT_VE R=1.22 make DEPENDS_TARGET=package reinstall --- Updating dependency info --- Modifying /var/db/pkg/kde-3.5.10_2/+CONTENTS --- Modifying /var/db/pkg/kdeutils-3.5.10_2/+CONTENTS --- Restoring the old version --- Keeping old package in '/usr/ports/packages/All' ** Fix the installation problem and try again. Is xz-4.999.9 a complete replacement for package lzmautils-4.32.7 must I completely pkg_delete lzmautils-4.32.7 and never install it again? Then retry portupgrade ? Or what should I best do ? ___ 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
path for user www
How can one change the PATH for the user www ? to include e.g. /usr/local/bin In /etc/passwd the entry now is: www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin ___ 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: path for user www
On Mon, 15 Jun 2009, Robert Huff wrote: Pieter Donche writes: How can one change the PATH for the user www ? to include e.g. /usr/local/bin In /etc/passwd the entry now is: www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin Start by reading the section 5 man page for passwd. Could you provide a little more detail about what's breaking and why you think this user's path is involved? Robert Huff Some users on my system run scripts in their webpages. If they specify commands (e.g.) 'python', it is not found, unless it is specified as '/usr/local/bin/python', since the Apache runs in an environment which has as PATH: (as can be seen from phpinfo() output) /sbin:/bin:/usr/sbin:/usr:bin only. How can one make the PATH that Apache httpd deamon will use be a different path? and where exaclty does it get /sbin:/bin:/usr/sbin:/usr:bin from in the first place? I could try specifying in /usr/local/sbin/apachectl 's Bourne shell script: PATH=/sbin:/bin:/usr/sbin:/usr:bin:/usr/local/sbin:/usr/local/bin export PATH but wouldn't this be set back to the original at an Apache update? root has a better path: PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin how could I have httpd have the same path? ___ 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: path for user www
On Mon, 15 Jun 2009, Valentin Bud wrote: On Mon, Jun 15, 2009 at 3:16 PM, Pieter Donche pieter.don...@ua.ac.be wrote: On Mon, 15 Jun 2009, Robert Huff wrote: Pieter Donche writes: How can one change the PATH for the user www ? to include e.g. /usr/local/bin In /etc/passwd the entry now is: www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin Start by reading the section 5 man page for passwd. Could you provide a little more detail about what's breaking and why you think this user's path is involved? Robert Huff Some users on my system run scripts in their webpages. If they specify commands (e.g.) 'python', it is not found, unless it is specified as '/usr/local/bin/python', since the Apache runs in an environment which has as PATH: (as can be seen from phpinfo() output) /sbin:/bin:/usr/sbin:/usr:bin only. How can one make the PATH that Apache httpd deamon will use be a different path? and where exaclty does it get /sbin:/bin:/usr/sbin:/usr:bin from in the first place? I could try specifying in /usr/local/sbin/apachectl 's Bourne shell script: PATH=/sbin:/bin:/usr/sbin:/usr:bin:/usr/local/sbin:/usr/local/bin export PATH but wouldn't this be set back to the original at an Apache update? root has a better path: PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bi n:/root/bin how could I have httpd have the same path? Hello Pieter, I guess you are looking for apache's SetEnv directive: http://httpd.apache.org/docs/1.3/mod/mod_env.html#setenv (I use apache 2.2.11) 1. I noticed that when I do a # apachectl graceful from within a root shell, then the PATH env. var. for Apache Environment as reported by phpinfo() is equal to the PATH setting of my root user. (/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin) Probably when rebooting the machine, PATH will be set to a very limited /sbin:/bin:/usr/sbin:/usr/bin (where does this come from?) Now I see from reading the apache start-up script /usr/local/sbin/apachectl that one can create a file with instructions to be executed at startup of Apache: any file in /usr/local/etc/apache22/envvars.d is sourced into the start up environment of apache. This directory was empty for the moment. So I could put in there a file, /usr/local/etc/apache22/envvars.d/mysettings PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin export PATH # apachectl graceful however this did not change the phpinfo() reported PATH, it remained the same as my root path 2. I also tried, as you suggested # vi /etc/httpd.conf ... SetEnv TEST_ENV_VARfoo-foo SetEnv PATH/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin (the first SetEnv is just to see if it indeed sets Env. vars.) # apachectl graceful The TEST_ENV_VAR foo-foo is reported But again PATH remains the same as my root path. Does this mean when executing # apachectl graceful from within a root shell PATH will ALWAYS be overridden by the value of PATH of the root shell? I don't see what rules of precedence acutally apply ... Anyone can explain me? And will SetEnv in /etc/httpd.conf also work at boot ??? Or will only /usr/local/etc/apache22/envvars.d/mysettings work at boot ?? Or will none of these work at boot ? ___ 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
python2.5-2.6 and mailman(python2.5)
I followed the /usr/ports/UPGRADING recommendations for upgrading from python 2.5 to python 2.6 # portupgrade -o lang/python26 lang/python25 and then # cd /usr/ports/lang/python make upgrade-site-packages /usr/local/bin/python2.5 is now completely replaced by /usr/local/bin/python2.6 but my mailman software mailman-2.1.12 A mailing list manager (MLM) .. still wants it: The cron entry that runs every 5 minutes, sends an error message to root ... /usr/local/bin/python2.5: not found mailman software has /usr/local/bin/python2.5 hardcoded in many, many scripts, cron etc... How to solve this in the most clean manner? ___ 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
py25-tkinter-2.5.4_3 / 2.6.2_3
portupgrade advertizes since 3 days: ... py25-tkinter-2.5.4_3 needs updating (index has 2.6.2_3) using portupgrade -a upgrades all other ports that need upgrading, but never py25-tkinter what's wrong here? I notice http://www.freebsd.org/ports also still advertizes the 2.5.4_3 and not the 2.6.2_3 version (?) ___ 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: py25-tkinter-2.5.4_3 / 2.6.2_3
On Thu, 11 Jun 2009, Mel Flynn wrote: On Wednesday 10 June 2009 23:21:58 Pieter Donche wrote: portupgrade advertizes since 3 days: ... py25-tkinter-2.5.4_3 needs updating (index has 2.6.2_3) using portupgrade -a upgrades all other ports that need upgrading, but never py25-tkinter what's wrong here? I presume you didn't build the index yourself. Setting PYTHON_DEFAULT_VERSION=python2.6 in /etc/make.conf will likely solve your problem. -- Mel Should I then first install python26-2.6.2 from the ports? Shouldn't the portupgrade have somewhere asked to install a higher version of python (as it does for e.g. perl etc..) ?? I haven't met such an upgrade, my python is pkg_info | grep python python25-2.5.4_1An interpreted object-oriented programming language ___ 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 version numbers
I upgraded to Freebsd systems from 7.0 to 7.2 on the first one, done May 25th, I use the generic kernel $ uname -a reports: 7.2-RELEASE #0 on the second one, done 3 days later (May 28th) on this system I also build and installed a custom kernel after upgrade. $ uname -a reports: 7.2-RELEASE #1 Why is this different? (#0 versus #1) What does #Number actually mean: is this the same as -pNumber used in the mails from @daily rootfreebsd-update cron The following files will be updated as part of updating to X.Y-RELEASE-pNumber If not, what is the difference ? what's the difference between version, level, patchlevel, 'release level', 'version level of a release' (any others ?), ... ___ 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-7.2 upgrade, websvn
Recently upgraded 7.0-7.2 a user tells that he gets, using websvn Error running this command: svn --config-dir /tmp --version svn: not found anyone a similar experience? ___ 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: 7-7.2 upgrade, websvn
On Fri, 29 May 2009, Greg Larkin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pieter Donche wrote: Recently upgraded 7.0-7.2 a user tells that he gets, using websvn Error running this command: svn --config-dir /tmp --version svn: not found anyone a similar experience? ___ I haven't run into that problem yet, but here are some questions to help troubleshoot it: - - Dumb question alert :-) I assume that websvn and svn were installed from ports on the 7.0 system? svn from ports, websvn from tarball (used by 1 user) in his public_html directory. - - On the upgraded system, what is the output of pkg_info | grep -i websvn and pkg_info | grep -i subversion? $ pkg_info | grep -i subversion subversion-1.6.2Version control system websvn is the very latest version 2.2.1 - - Has the websvn config file been edited to point to the svn executable? Specifically, you may need to add this line: $config-setSVNCommandPath(/usr/local/bin/); as I understood from my yser, nothing of that was previously set (SVNCommandPath, diff, tar, gzip etc... ) Setting it makes indeed svn to be found, but then I wonder why it worked before 7.2? (phpinfo shows that PHP environment PATH (as well as Apache PATH) are /sbin:/bin:/usr/sbin:/usr/bin (can't remember if it was somehting different before 7.2, but our /usr/local/etc/php.ini hasn't changed for months..) (the example lines commented out) Hope that helps, and post the answers to those questions back here. Cheers, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKH9qG0sRouByUApARAq6HAKCSA901wPp/YIa2dgbUYQ2CX3IKAwCeKR5A BuJN/djWokys9UKL1iIyLlc= =WxUO -END PGP SIGNATURE- ___ 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
upcupsd / freebsdd
I'm putting a APC1000 UPS with APC Network Management Card (AP9617) to freebsd system with apcupsd, via ethernet cable over SNMP. apcsupsd is running, apcaccess status returns the status variables. When pulling out powercable of UPS and back in, I do get 'Warning power loss detected; Power failure: Running on UPS batteries; Power has returned. So far, so good. The Overview page in the webinterface shows there is power in the UPS form over 2 hours. How can I force a faster automatic freebsd shutdown to see if it is working (can't wait 2 hours) The web-interface under UPS / Configuration / shutdown shows (the defaults): Start of the shutdown Low Battery Duration 02 min Shutdown Delay: 90 secs (max. Required Delay: 2 minutes) Basic Signaling Shutdown (not checked) Enabled Duration of Shutdown Sleep Time:0.0 hours End of Shutdown Max Battery Capacity: 00 % Return Delay: 000 seconds but do these refer to shutdown of a unix client or shutdown of the UPS itself? The manual is confusing (it's linux oriented not freebsd) most referenced files do not exist at the mentioned paths... ___ 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: Xorg no keyboard/mouse input
I set upFreeBSD-7.2 on a PC from scratch (deleted prevvious 7.0 partition, reinstalled 7.2) installed xorg and kde via pkg_add adapted /etc/ttys to start KDM window manager (ttyv8 /usr/local/bin/kdm-nodaemon xterm on secure) at reboot, I get KDE login screen, but keyboard and mouse do not react to any input/move. (in 7.0 on same system, with same keyboard and mouse I had no problem) when setting /etc/ttys, ttyv8 again to off and reboot, # startx shows 3 primitive windows, but again no mouse and keyboard input accepted, Ctrl-Alt-backspace goes back to an ascii console screen but no prompt Ctrl-Alt-F1 neither Ctrl-Alt-F2 gives a login: prompt and keyboard input is accepted... (in # sysinstall I -postinstallation config, I checked mouse operation it passed the test) what can be wrong and how to remedy? ___ 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
sane-backends
When doing a portupgrade -a the port sane-backends-1.0.20_1 gives compilation errors... What to do with that? Just wait for 1.0.20_2 to come up? Where to find information? ... canon_dr.c:1333: error: 'SANE_NAME_STANDARD' undeclared (first use in this funct ion)^M canon_dr.c:1333: error: (Each undeclared identifier is reported only once^M ... gmake[2]: *** [libcanon_dr_la-canon_dr.lo] Error 1^M gmake[2]: Leaving directory `/usr/ports/graphics/sane-backends/work/sane-backend s-1.0.20/backend'^M gmake[1]: *** [all] Error 2^M gmake[1]: Leaving directory `/usr/ports/graphics/sane-backends/work/sane-backend s-1.0.20/backend'^M gmake: *** [all-recursive] Error 1^M *** Error code 1^M ^M Stop in /usr/ports/graphics/sane-backends.^M *** Error code 1^M Stop in /usr/ports/graphics/sane-backends.^M --- Build of graphics/sane-backends ended at: Tue, 26 May 2009 08:55:02 +0200 (consumed 00:00:42) --- Upgrade of graphics/sane-backends ended at: Tue, 26 May 2009 08:55:02 +020 0 (consumed 00:00:42) --- ** Upgrade tasks 2: 0 done, 0 ignored, 0 skipped and 1 failed ___ 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
upgrade 7 - 7.2
I have to upgrade a few FreeBSD7 machines to FreeBSD7.2 (this is new to me) One machine has very few third party ports installed (33), the other over 600 ... One of the steps is # portupgade -af, to rebuild all third party software.. this took 27 minutes on the 33 packages machine.. So for 20 times more packages: 10 hours ??? Is this normal? Also, one I had one screen asking for options for libiconv 1.11_1 where I had to tab to OK and press enter. What is the 600 packages system has 20 of more of such screens, waiting for user input. Can't one make ik automatically accept the defaults? ___ 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-update questions
Ch 24 updating and upgrading freebsd in the handbook says: The freebsd-update utility can automatically update a GENERIC kernel only. If a custom kernel is in use, it will have to be rebuilt and reinstalled. However, freebsd-update will detect and update the GENERIC kernel in /boot/GENERIC (if it exists) It is a good idea to always keep a copy of the GENERIC kernel in /boot/GENERIC. How is this to be understood? 1. e.g. you have a generic kernel in /boot/kernel and you make a safety copy in /boot/GENERIC # cd /boot/kernel; tar cf - . | (cd /boot/GENERIC; tar xpf -) when running freebsd-update install, will this update BOTH /boot/kernel and /boot/GENERIC or only /boot/kernel ? 2. if you have a modified kernel in /boot/kernel (e.g. for disk quota enabling) and you run freebsd-update install, then it will not make any changes in /boot/kernel. Right ? How does freebsd-update actually detect that there is not a generic kernel in /boot/kernel? If after freebsd-update install, you would do a shutdown -r now (before building a new custom kernel, will this be desastreous? ___ 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
matlab 2009a
FreeBSD7-amd64 linux_base-fc-4_14 Base set of packages needed in Linux mode (for i386/amd64) When running the install script, I get cat: /proc/cpuinfo: No such file or directory Error: Your computer's processor is missing the SSE2 instructions that are required for MATLAB to run correctly. For system requirements consult http://www.mathworks.com ... What is this /proc/cpuinfo file not found? ___ 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
root user, graphical programs
FreeBSD 7, KDE 3.5 To install Matlab (in linux compat mode), one must execute the matlab install program as root. The installer is graphical. When from a KDE terminal window, I switch to root (# su -) and try a graphical program, e.g. # xpdf, I get Can't open display. The FreeBSD handbook (10.5.1) says in that case type setenv HOME ~USER (USER the username where the su command was given). This doesn't help I still get Can't open display. What's wrong and how to solve it? ___ 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: root user, graphical programs
No luck (yet) I tried both methods, (with xpdf as a graphical program) The first still gives # xpdf Can't open display The second method # xpdf No protocol specified Error: Can't open display: :0.0 (after su -, $HOME was indeed /root) (in /root .Xauthority was changed/created, $DISPLAY is :0.0) On Fri, 15 May 2009, Matthew Seaman wrote: Pieter Donche wrote: FreeBSD 7, KDE 3.5 To install Matlab (in linux compat mode), one must execute the matlab install program as root. The installer is graphical. When from a KDE terminal window, I switch to root (# su -) and try a graphical program, e.g. # xpdf, I get Can't open display. The FreeBSD handbook (10.5.1) says in that case type setenv HOME ~USER (USER the username where the su command was given). This doesn't help I still get Can't open display. What's wrong and how to solve it? That's the standard X Windows security stopping other users opening windows on your screen. In this case, something like: % xhost +LOCAL: % su # {...whatever you need to do to install your app...} # exit % xhost -LOCAL: However be aware of the risks: xhost +LOCAL: means that any other user of the same machine can access your display and potentially capture any input including (for instance) the root password. Hmmm... Actually, a more secure means of doing the same thing, that only grants access to your display by the local root user would be: % xauth extract - $DISPLAY ~/authtoken % su - # echo $HOME (This should return /root -- this is important so that the correct .Xauthority file gets updated.) # xauth merge /home/your-uid/authtoken # rm /home/your-uid/authtoken # setenv DISPLAY :0.0 # {...whatever you need to do to install your app...} Now any X programs run by root will open on your display. To revoke this permission you can simply remove /root/.Xauthority or for finer grained control you can use # xauth remove $DISPLAY Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW ___ 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: root user, graphical programs
On Fri, 15 May 2009, Mike Clarke wrote: On Friday 15 May 2009, Pieter Donche wrote: I see from your original post that you're using KDE so you could try a third way: Use ALT + F2 to open the run dialog. Enter xpdf or whatever in the Command area. Click on Options, select Run as a different user and fill in the username and password for root. OK, this works.. Also the other method (extract a $DISPLAY from ~/.Xauthority and nerging in /root/.Xauhtority also works now, but my DISPLAY was not :0.0 but MYPCHOSTNAME:0 (from a windows PC I was logged on to the FreeBSD machine using XMing X-windows terminal emulator) ___ 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 -R problems
FreeBSD7. I wanted to upgrade print/cups-base and print/hplip From a portsnap run: cups-base-1.3.9_3 needs updating (index has 1.3.10_1) hplip-2.8.2_3 needs updating (index has 2.8.2_4) # cd /usr/ports/print/cups # portupgrade -R cups [Exclude up-to-date packages done] # What does this mean, does it think it is already up-to-date ?? Then I tried # cd /usr/ports/print/hplip # portupgrade -R hplip this upgraded a large number of dependent packages (even openldap, apache) added tcl and tk, and eventually even began to upgrade cups-base-1.3.9_3 to 1.3.9.10_1 but ends with: ... == Installing for cups-client-1.3.10_1 === cups-client-1.3.10_1 depends on file: /usr/local/bin/python2.5 - found === cups-client-1.3.10_1 depends on file: /usr/local/include/php/main/php.h - found === Generating temporary packing list === Checking if print/cups-client already installed === cups-client-1.3.10_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 print/cups-client without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /usr/ports/print/cups-client. *** Error code 1 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/print/hplip. *** Error code 1 Stop in /usr/ports/print/hplip. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.29487.1 en v UPGRADE_TOOL=portupgrade UPGRADE_PORT=hplip-2.8.2_3 UPGRADE_PORT_VER=2.8.2_3 m ake ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! misc/help2man (help2man-1.36.4_2) (unknown build error) ! print/hplip (hplip-2.8.2_3) (unknown build error) I tried, # cd /usr/ports/print/cups-client # make deinstall === Deinstalling cups-client-1.3.10_1 pkg_delete: file '/usr/local/man/man1/cups-config.1.gz' doesn't exist pkg_delete: file '/usr/local/bin/cups-config' doesn't exist pkg_delete: file '/usr/local/include/cups/adminutil.h' doesn't exist pkg_delete: file '/usr/local/include/cups/array.h' doesn't exist pkg_delete: file '/usr/local/include/cups/backend.h' doesn't exist pkg_delete: file '/usr/local/include/cups/cups.h' doesn't exist pkg_delete: file '/usr/local/include/cups/dir.h' doesn't exist pkg_delete: file '/usr/local/include/cups/file.h' doesn't exist pkg_delete: file '/usr/local/include/cups/http.h' doesn't exist pkg_delete: file '/usr/local/include/cups/ipp.h' doesn't exist pkg_delete: file '/usr/local/include/cups/language.h' doesn't exist pkg_delete: file '/usr/local/include/cups/ppd.h' doesn't exist pkg_delete: file '/usr/local/include/cups/language.h' doesn't exist pkg_delete: file '/usr/local/include/cups/ppd.h' doesn't exist pkg_delete: file '/usr/local/include/cups/sidechannel.h' doesn't exist pkg_delete: file '/usr/local/include/cups/transcode.h' doesn't exist pkg_delete: file '/usr/local/lib/libcups.so' doesn't exist pkg_delete: file '/usr/local/lib/libcups.so.2' doesn't exist pkg_delete: file '/usr/local/include/cups' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/include/cups' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) # make reinstall .. === Compressing manual pages for cups-client-1.3.10_1 === Running ldconfig /sbin/ldconfig -m /usr/local/lib === Registering installation for cups-client-1.3.10_1 # cd /usr/ports/print/hplip # portupgrade -R hplip [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 620 packages found ( -2 +1) (...). done] [Exclude up-to-date packages done] # pkg_info | grep hplip empty # pkg_info | grep cups-base empty What is going on and how to remedy? ___ 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: isc-dhcpd server, HOSTNAME
On Sun, 10 May 2009, Matthew Seaman wrote: Pieter Donche wrote: FreeBSD7 with isc-dhcp30-server. It hands out an IP address, OK, but the BASH environment variable HOSTNAME is not set. Why? (A DNS server is active on the network and can succesfully be queried from a FreeBSD bash command (nslookup or host) to see the hostname associated with the IP-address) Hostname is not one of the parameters usually requested from a DHCP server by a Unix machine. In fact, it's normally the other way round: the client tells the DHCP server what it's hostname is and the DHCP server can then inject an A record into the DNS dynamically. So, the normal way is that you have an entry hostname=somename.somedomain in /etc/rc.conf ? I can't remember the details of the install of this FreeBSD7 system, set up as a DHCPclient, but is during the installation the name of the host you want this machine to have and its domainname something that is asked for? (and then recorded in /etc/rc.conf) However it is possible to operate in the way you want. To tell the dhcp server to look up names from the DNS based on the address supplied to a host, search for the description of the 'get-lease-hostnames' flag in the dhcpd.conf(5) man page. To tell dhcp clients to fetch their hostname from DHCP, you need to add it to a 'request' or 'require' block in dhclient.conf -- see dhclient.conf(5). It's been a long time since I ran a setup anything like that, so I cannot recall if that was all that was required, or if it was also necessary to write a small dhclient-script(8) to actually set the hostname. Another alternative is to use a dhclient-script to take the IP number allocated by the DHCP server, look up the corresponding address and then set that as the hostname. The bash HOSTNAME environment variable will be set from the output of the hostname(1) command, which is usually set from the hostname variable in /etc/rc.conf or from the output of '/bin/kenv dhcp.host-name' if that is set. Otherwise it uses a default hostname of 'amnesiac'. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW ___ 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: isc-dhcpd server, HOSTNAME
On Sat, 9 May 2009, Mel Flynn wrote: On Saturday 09 May 2009 15:09:45 Pieter Donche wrote: case DHCP server DHCP client HOSTNAME env. var. 1 isc-dhcp30-server FreeBSD7-i386 not set on FreeBSD-amd64 2 isc-dhcp30-server SuSE Linux 10.3 set on FreeBSD-amd64 3 some DHCP serverFreeBSD7-i386 set on unkown serverOS 4 some DHCP serverSuSE Linux 10.3 set on unkown serverOS Judging from this, you have a hostname set in /etc/rc.conf on freebsd 7 client and/or dhcpd isn't configured to send one as it receives one from the client and perhaps you have dynamic DNS configured? There is no hostname= declaration in /etc/rc.conf in that FreeBSD7 dhcp client. My dhcpd.conf contains mostly statically defined addresses (over a 100) e.g. host somehostname { hardware ethernet aa:bb:cc:dd:ee:ff; fixed-address AAA.BBB.CCC.DDD; } and one set of 6 dynamically assigned addresses. We want regular users to always get the same IP address based on the MAC address of their system, the pool of 6 is for visitors for one or a few days that we do allow not to register their MAC address. The freebsd7 client is one of the 100+ statically assigned ones, but I might have done a try for the dynamic assignment with this PC (by taking it temporarily out of /usr/local/etc/dhcpd.conf, restart dhcpd, try, then put it back in, restart dhcpd. In fact in /var/db/dhcpd/dhcpd.conf I see I do have an entry lease AAA.BBB.CCC.DDD { starts 4 2009/05/07 12:49:13; ends 4 2009/05/07 13:19:16; tstp 4 2009/05/07 13:19:16; binding state free; hardware ethernet aa.bb.cc.dd.ee.ff; uid \001\000\013\333S\025; } AAA.BBB.CCC.DDD being one of the pool of 6 and the ethernet adddress that of the freebsd client. I see that's free'd already (max lease time is 12 hours) and I tried back with that entry again as a statically defined one. Or does this dhcpd.lease entry still have an impact ??? The man of dhcpd.leases says In order to prevent the lease database from growing without bound, the file is rewritten from time to time. Can one do such a rewrite oneself, how ? would that help? On the other hand the AAA.BBB.CCC.DDD IP address does have a hostname specified in the DNS server (somewhere in our campus) (and that DNS server can be queried from the freebsd client via nslookup or host command and it returns the correct hostname). So even in dynamic assignment, shouldn't HOSTNAME been set with that hostname from DNS? If that's not the case, then you should add some debugging to /sbin/dhclient- script in the check_hostname function. -- Mel ___ 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: isc-dhcpd server, HOSTNAME
On Fri, 8 May 2009, Derek Ragona wrote: At 09:42 AM 5/7/2009, Pieter Donche wrote: FreeBSD7 with isc-dhcp30-server. It hands out an IP address, OK, but the BASH environment variable HOSTNAME is not set. Why? (A DNS server is active on the network and can succesfully be queried from a FreeBSD bash command (nslookup or host) to see the hostname associated with the IP-address) I have a later version of dhcpd running on FreeBSD without problems. If your DHCP scope is setup correctly and your DHCP clients are getting settings that work, I'm not sure what is the problem you are experiencing. You hostname variable can be set in the startup bash (or any other shell's startup scripts) scripts on login. Of course, it can be set by oneself in a startup script, but this should not be needed... In fact when I switch the network cable of that DHCP client PC to another subnet, where another DHCP server is active (don't know on what OS that DHCP server runs but certainly not FreeBSD), then HOSTNAME is set. My DHCPclient is triple boot (SUSE linux, FreeBSD7 and Windows), With network cable again in first network (with the FreeBSD7/isc-dhcp-server DHCP server) when I boot into SuSE Linux, the HOSTNAME variable is set ... So it is the combination FreeBSD7-amd64/isc-dhcp30-server as a DHCP server that does not set HOSTNAME ... I am puzzled why ... overview: case DHCP server DHCP client HOSTNAME env. var. 1 isc-dhcp30-server FreeBSD7-i386 not set on FreeBSD-amd64 2 isc-dhcp30-server SuSE Linux 10.3 set on FreeBSD-amd64 3 some DHCP serverFreeBSD7-i386 set on unkown serverOS 4 some DHCP serverSuSE Linux 10.3 set on unkown serverOS I compared from case 1 and 3 all variables that are set after a login (unix set command, and with a login using standard .profile and .bashrc startup scripts as created when creating a new user via useradd), and the only difference is precisely this HOSTNAME env. variable not being set (and of course some of them derived from that env. var.) -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ 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
isc-dhcp logging and status query
FreeBSD7-amd64: I set up /usr/ports/net/isc-dhcp30-server for static IP addresses (based on the MacAddress) This works, but I wonder where I can see information of the status? 1. The doc says I should see dhcp log messages (default in /var/log/messages) but I see nothing about dhcp in /var/log/messages. (I wonder where they are now, before hacking /etc/syslog.conf) 2. Is there any tool to see what Statically assigned IP address are handed out at a given time? (I also see nothing in /var/db/dhcpd/dhcpd.leases file execpt comments) ___ 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
isc-dhcpd server, HOSTNAME
FreeBSD7 with isc-dhcp30-server. It hands out an IP address, OK, but the BASH environment variable HOSTNAME is not set. Why? (A DNS server is active on the network and can succesfully be queried from a FreeBSD bash command (nslookup or host) to see the hostname associated with the IP-address) ___ 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
move to other subnet
Just want to check: If a freebsd7 system is to move to a different subnet (from ip XXX.YYY.AAA.BBB to XXX.YYY.CCC.DDD) same netmask 255.255.255.0 same hostname myhost.mydomain.mycountry same DNS servers then /etc/rc.conf is the only file that needs changes? defaultrouter=XXX.YYY.CCC.254 --- hostname=myhost.mydomain.mycountry ifconfig_em0=inet XXX.YYY.CCC.DDD netmask 255.255.255.0 --- and reboot ? or is there any other file(s) to change? ___ 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: acroread run problem
I delete acroread9 (pkg_delete acroread9-9.1.0_2) and installed # cd /usr/ports/print/acroread8 # make install clean but I get the same errors... waht could be wrong and how to remedy? On Tue, 28 Apr 2009, Peter Ulrich Kruppa wrote: I am very sorry: I mixed up the acroread versions: you won't be able to run acroread9 stably on FreeBSD 7.x . You will have to wait for FreeBSD 8 . Until then you have to use acroread8 :-( Greetings Uli. Am Dienstag, den 28.04.2009, 07:44 +0200 schrieb Pieter Donche: Hi, yes I do have in my /etc/rc.conf linux_enable=YES 2) Do you get # df [...] linprocfs4 4 0 100%/usr/compat/linux/proc No, this I do not have, but I wonder what that is ... I find nothing about linprocfs in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html I also checked (from that book chapter 10.2) # kldstat Id Refs AddressSize Name 17 0x8010 ac7708 kernel 21 0xb08e 18aealinux.ko 31 0xb09cb000 496 star_saver.ko Also, I have a another PC with FreeBSD7 (i386) with Acrobat Reader 7.0 (/usr/local/bin/acroread) which works and there I do not not have a linprocfs ... in a df output... On Mon, 27 Apr 2009, Peter Ulrich Kruppa wrote: Am Montag, den 27.04.2009, 11:16 +0200 schrieb Pieter Donche: FreeBSD7/amd64 with linux_base-fc-4_14 Base set of packages needed in Linux mode (for i386/amd64) I installed acroread9-9.1.0_2 (no errors) # cd /usr/ports/print/acroread9 # make install clean OK. but at $ acroread I get: (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion `GDK_IS_PIXBUF (pixbuf)' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): Gdk-CRITICAL
how to get older version of php5-mbstring
I updated via the ports collection php5-mbstring to the latest version 5.2.9. Previously I had 5.2.8 Also updated php5 from 5.2.8 to 5.2.9 and php5-extensions from 1.2 to 1.3 installing php5-mbstring-5.2.9 installed it alongside php5-mbstring-5.2.8: # pkg_info | grep mbstring php5-mbstring-5.2.8 The mbstring shared extension for php php5-mbstring-5.2.9 The mbstring shared extension for php Then I deleted mbstring 5.2.8 (thinking I wouldn't need it any longer) # pkg_delete php5-mbstring-5.2.8 But now it seems that my Drupal 6.9 continues to look for php5-mbstring-5.2.8 (not looking at php5-mbstring-5.2.9) How can I install php5-mbstring-5.2.8 again via the ports ?? ___ 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 to get older version of php5-mbstring
Pieter Donche ?: # pkg_delete php5-mbstring-5.2.8 But now it seems that my Drupal 6.9 continues to look for php5-mbstring-5.2.8 (not looking at php5-mbstring-5.2.9) How can I install php5-mbstring-5.2.8 again via the ports ?? I think you problem can be solved by: 1) pkgdb -F This I don't understand, how can a pkgdb -F restore a package which you have deleted ? From the man page of pkgdb, -F seems only to resolve stale dependencies, unlink cyclic dependencies, complete stale or missing origins and remove duplicates. Isn't there a way to find in the ports collection an older version of a package somewhere ?? ___ 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 to get older version of php5-mbstring
On Tue, 28 Apr 2009, Jerry wrote: On Tue, 28 Apr 2009 14:05:47 +0200 (CEST) I updated via the ports collection php5-mbstring to the latest version 5.2.9. Previously I had 5.2.8 Also updated php5 from 5.2.8 to 5.2.9 and php5-extensions from 1.2 to 1.3 installing php5-mbstring-5.2.9 installed it alongside php5-mbstring-5.2.8: # pkg_info | grep mbstring php5-mbstring-5.2.8 The mbstring shared extension for php php5-mbstring-5.2.9 The mbstring shared extension for php Then I deleted mbstring 5.2.8 (thinking I wouldn't need it any longer) # pkg_delete php5-mbstring-5.2.8 But now it seems that my Drupal 6.9 continues to look for php5-mbstring-5.2.8 (not looking at php5-mbstring-5.2.9) How can I install php5-mbstring-5.2.8 again via the ports ?? cd /usr/ports/www/drupal6 make clean make deinstall make reinstall There is no need to install the older version of php5-mbstring. In fact, doing so might cause problems at some point. Problem is that our drupal-6.9 was installed from a tar file, not from freebsd ports and in some location different than where FreeBSD drupal6 port installs it (i think FreeBSD's place is /usr/local/www/drupal ?) We had it unpacked in /usr/local/www/apache22/data/drupal. If I install drupal6-10 from the ports, how will the affect things? Of would it be safe to make a soft-link /usr/local/www/drupal - /usr/local/www/apache22/data/drupal before installing from ports? Also since the first drupal (6.9) was not installed from ports, then what is needed might be: # cd /usr/ports/www/drupal6 # make install clean is that correct? Also, I do not understand well why a package can not handle a higher version of php5-mbstring-5.2.9 instead of 5.2.9 since it is only a security issue patch? ___ 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
acroread run problem
FreeBSD7/amd64 with linux_base-fc-4_14 Base set of packages needed in Linux mode (for i386/amd64) I installed acroread9-9.1.0_2 (no errors) # cd /usr/ports/print/acroread9 # make install clean OK. but at $ acroread I get: (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion `GDK_IS_PIXBUF (pixbuf)' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion `GDK_IS_PIXBUF (pixbuf)' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed (acroread:67581): Pango-WARNING **: No builtin or dynamically loaded modules were found. Pango will not work correctly. This probably means there was an error in the creation of: '/etc/pango/pango.modules' You may be able to recreate this file by running pango-querymodules. (acroread:67581): Pango-CRITICAL **: _pango_engine_shape_shape: assertion `PANGO_IS_FONT (font)' failed Pango-ERROR **: file shape.c: line 75 (pango_shape): assertion failed: (glyphs-num_glyphs 0) aborting... [1]+ Exit 1 acroread I do have: /usr/compat/linux/etc/pango drwxr-xr-x 2 root wheel512 Apr 24 09:51 i686-redhat-linux-gnu -rw-r--r-- 1 root wheel 11446 Apr 24 09:50
Re: acroread run problem
Hi, yes I do have in my /etc/rc.conf linux_enable=YES 2) Do you get # df [...] linprocfs4 4 0 100%/usr/compat/linux/proc No, this I do not have, but I wonder what that is ... I find nothing about linprocfs in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html I also checked (from that book chapter 10.2) # kldstat Id Refs AddressSize Name 17 0x8010 ac7708 kernel 21 0xb08e 18aealinux.ko 31 0xb09cb000 496 star_saver.ko Also, I have a another PC with FreeBSD7 (i386) with Acrobat Reader 7.0 (/usr/local/bin/acroread) which works and there I do not not have a linprocfs ... in a df output... On Mon, 27 Apr 2009, Peter Ulrich Kruppa wrote: Am Montag, den 27.04.2009, 11:16 +0200 schrieb Pieter Donche: FreeBSD7/amd64 with linux_base-fc-4_14 Base set of packages needed in Linux mode (for i386/amd64) I installed acroread9-9.1.0_2 (no errors) # cd /usr/ports/print/acroread9 # make install clean OK. but at $ acroread I get: (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion `GDK_IS_PIXBUF (pixbuf)' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported (acroread:67581): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (acroread:67581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (acroread:67581): Gdk-CRITICAL **: gdk_window_set_icon_list: assertion `GDK_IS_PIXBUF (pixbuf)' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed (acroread:67581): GdkPixbuf-CRITICAL
acroread install problems
I want to install acroread. I have FreeBSD7/amd64. Linux binary compatibility is installed:. linux_base-fc-4_13 Base set of packages needed in Linux mode (for i386/amd64) /etc/rc.conf contains linux_enable=YES # cd /usr/ports/print/acroread9 # make install clean fetches and installs several 'linux' packages then: pango-1.10.2-1.gst.1.4.i386.rpm === Checking if x11-toolkits/linux-pango already installed cd /usr/ports/x11-toolkits/linux-pango/work /usr/bin/find * -type d -exec /bi n/mkdir -p /compat/linux/{} \; cd /usr/ports/x11-toolkits/linux-pango/work /usr/bin/find * ! -type d | /usr/ bin/cpio -pm -R root:wheel /compat/linux 1437 blocks /compat/linux/usr/bin/pango-querymodules-32: error while loading shared librarie s: libgobject-2.0.so.0: cannot open shared object file: No such file or director y *** Error code 127 Stop in /usr/ports/x11-toolkits/linux-pango. Did make install clean again continues to install packages, but libtiff-3.7.1-6.fc4.2.i386.rpm === Checking if x11-toolkits/linux-gtk2 already installed cd /usr/ports/x11-toolkits/linux-gtk2/work /usr/bin/find * -type d -exec /bin /mkdir -p /compat/linux/{} \; cd /usr/ports/x11-toolkits/linux-gtk2/work /usr/bin/find * ! -type d | /usr/b in/cpio -pm -R root:wheel /compat/linux 28726 blocks /usr/bin/gtk-query-immodules-2.0-32: error while loading shared libraries: libgm odule-2.0.so.0: cannot open shared object file: No such file or directory *** Error code 127 Stop in /usr/ports/x11-toolkits/linux-gtk2. Did make install clean again continues to install packages, but scim-libs-1.4.4-1.fc4.i386.rpm === Checking if textproc/linux-scim-gtk already installed cd /usr/ports/textproc/linux-scim-gtk/work /usr/bin/find * -type d -exec /bin /mkdir -p /compat/linux/{} \; cd /usr/ports/textproc/linux-scim-gtk/work /usr/bin/find * ! -type d | /usr/b in/cpio -pm -R root:wheel /compat/linux 281 blocks /usr/bin/gtk-query-immodules-2.0-32: error while loading shared libraries: libgm odule-2.0.so.0: cannot open shared object file: No such file or directory *** Error code 127 Stop in /usr/ports/textproc/linux-scim-gtk. Did make install clean again continues to install .. .. === Registering installation for acroread9-9.1.0_2 ... === Cleaning for acroreadwrapper-0.0.20090328 === Cleaning for linux-atk-1.9.1_2 === Cleaning for linux-cairo-1.0.2_1 === Cleaning for linux-expat-1.95.8_1 === Cleaning for linux-fontconfig-2.2.3_8 === Cleaning for linux-gdk-pixbuf-0.22.0.18.fc4.2_1 === Cleaning for linux-gtk2-2.6.10_2 === Cleaning for linux-jpeg-6b.34_1 === Cleaning for linux-libxml2-2.6.19_1 === Cleaning for linux-pango-1.10.2_2 === Cleaning for linux-png-1.2.8_3 === Cleaning for linux-scim-gtk-fc4-1.4.4_1 === Cleaning for linux-scim-libs-fc4-1.4.4_2 === Cleaning for linux-tiff-3.7.1_1 === Cleaning for linux-xorg-libs-6.8.2_6 === Cleaning for linux-nvu-1.0_1 === Cleaning for linux-hicolor-icon-theme-0.5_2 === Cleaning for acroread9-9.1.0_2 I now have /usr/local/bin/acroread, but: $ acroread /usr/local/Adobe/Reader9/ENU/Adobe/Reader9/Reader/intellinux/bin/acroread: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory what went wrong during the installation and how to remedy? Previously on another FreeBSD7 system, I could install acroread7 without problem. ___ 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
HOWTO Apache + SSL
Where can I find a really good FreeBSD7 step by step HOW-TO on setting up digital certifcates (SSL) for the Apache22. My apache22 is running on my freebsd7 system but I never set up any apache httpd server for https access yet ... ___ 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
cannot kill process with kill -9
FreeBSD 7: I have a mount_nfs process that refuses to get killed : # ps -jaxw | grep mount root 60342 1 60289 602890 D ??0:00.00 mount_nfs fenix.cmi.ua.ac.be:/opt /home/nfs/fenix/opt This was called from a script, run bij root cron during the night (does an NFS mount of a file system of a remote system and makes a backup) I killed the parent processes: the shell executing the script, the script, the mount process that calls mount_nfs, leaving me with that last remaining process: # kill -9 60342 doesn't do anything # kill -9 -60289 (60289 is the PGID, see man kill) doesn't do anything either How to I get this process killed? ___ 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 to configure xbiff
On Wed, 25 Mar 2009, Polytropon wrote: On Wed, 25 Mar 2009 16:21:48 +0100 (CET), Pieter Donche pieter.don...@ua.ac.be wrote: What precise command do I have to write in what startup file, so that this does the same thing on FreeBSD/KDE3.5 ? I have the following line in my ~/.xinitrc: xbiff -geometry 50x50+0+998 This is for the lower left corner of a 1400x1050 21 CRT. If you think you need further options, consult man xbiff. :-) From a terminal window command line xbiff -geometry 50x50-5+5 puts it in my upper right corner, but if I put that in my .xinitrc (and chmod 755 ~/.xinitrc) nothing happens. Are you using kdm window manager or xdm ? (I have in my /etc/ttys: ttyv8 /usr/local/bin/kdm -nodeamon xterm on secure) Would .xinitrc not be processed by kdm window manager? ___ 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 to configure xbiff
On Thu, 26 Mar 2009, Frank Shute wrote: On Thu, Mar 26, 2009 at 08:39:38AM +0100, Pieter Donche wrote: On Wed, 25 Mar 2009, Polytropon wrote: On Wed, 25 Mar 2009 16:21:48 +0100 (CET), Pieter Donche pieter.don...@ua.ac.be wrote: What precise command do I have to write in what startup file, so that this does the same thing on FreeBSD/KDE3.5 ? I have the following line in my ~/.xinitrc: xbiff -geometry 50x50+0+998 This is for the lower left corner of a 1400x1050 21 CRT. If you think you need further options, consult man xbiff. :-) From a terminal window command line xbiff -geometry 50x50-5+5 puts it in my upper right corner, but if I put that in my .xinitrc (and chmod 755 ~/.xinitrc) nothing happens. Are you using kdm window manager or xdm ? (I have in my /etc/ttys: ttyv8 /usr/local/bin/kdm -nodeamon xterm on secure) Would .xinitrc not be processed by kdm window manager? Probably not. ~/.xinitrc is only run when you use startx and ~/.xsession is used when you run the display manager xdm(1). I believe kdm also uses xsession. no xbiff icon neither when put in an .xsession file Also nothing to see about this xbiff in the file .session-errors-MYDISPLAYNAME:0 ?? ___ 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 to configure xbiff
FreeBSD 7/KDE 3.5, /usr/local/bin/bash in /etc/passwd as login shell I used to have xbiff (displays a mailbox icon with flag) on Solaris, which notified me whenever a new mail arrived in my mailbox /var/mail/USERNAME, via a beep and the flag in the mailbox icon being raised. What precise command do I have to write in what startup file, so that this does the same thing on FreeBSD/KDE3.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
imap on freebsd7
I want to access a mailbox on a FreeBSD7 server via IMAP from Outlook 2003. I had a setup for accessing a mailbox on a Solaris server via IMAP from the same Outlook 2003. In the FreeSBD7 system, outcommented in /etc/inetd.conf the line imap4 stream tcp nowait root /usr/local/libexec/imapd imapd and did # /etc/rc.d/inetd reload Then set up a new mailaccount in Outlook 2003 for this FreeSBD7 mailbox in EXACTLY the same way in the way I did for the Solaris server. From Outlook 2003 I can login to the FreeBSD server with username:password and get connected, but the Inbox shows nothing.. I probably am missing some step here. Any ideas/hints what step ? ___ 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
UID/GID in anon.ftp directory
I set up an anonymous ftp directory on FreeBSD system and copied (via a tarball) the anon.ftp directory (pub) from our old ftp server to the new FreeBSD server. In the new server users get same loginnames, but UIDs are different from UID at old server, so I manually did the necessary chown -R username:groupname on all the directories and files in the anon. ftp directory. At unix command prompt an ls -la shows correct usernames and groupnames. # ls -la pub drwxr-xr-x 6 sbecuwe cant 512 Mar 30 1999 IT drwxr-xr-x 13 cant cant 512 Apr 8 2005 cant drwxr-xr-x 2 dekeyser adrem 512 Sep 11 2002 dekeyser drwxr-xr-x 2 cant cant 512 Nov 30 2003 ect drwxr-xr-x 2 dekeyser adrem 512 Nov 18 14:20 olap drwxr-xr-x 7 pats pats 512 Sep 5 2006 pats drwxr-xr-x 2 penne algebra 512 Feb 15 2005 penne ... But when I use ftp myftpserver ... ftp cd pub ftp dir drwxr-xr-x 6 1003 205 512 Mar 30 1999 IT drwxr-xr-x 13 1011 205 512 Apr 8 2005 cant drwxr-xr-x 2 1026 200 512 Sep 11 2002 dekeyser drwxr-xr-x 2 1011 205 512 Nov 30 2003 ect drwxr-xr-x 2 1026 200 512 Nov 18 13:20 olap drwxr-xr-x 7 1024 210 512 Sep 5 2006 pats drwxr-xr-x 2 1025 202 512 Feb 15 2005 penne ... So, it displays numeric UIDs and GIDs. (these numbers are correct and are present in /etc/passwd and /etc/group). But why does he not show me usernames and groupnames (on the original ftp server, he does..) How to remedy? ___ 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 and UPS
The vendor of our new server, tells me that an APC Smart-UPS 2200VA or APC Smart-UPS 3000VA does not have software for automatic shutdown when power is lost, which is compatible with FreeBSD, it is only compatible with Windows and Linux. Is this true? Has someone experience with 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
port / portupgrade hangs
Sometimes (not often) when installing ports from the ports collection or upgrading ports (via portupgrade -R) when fetching some needed tar.gz file, the fetch hangs, just like now: = rdiff-backup-1.2.6.tar.gz doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from http://download.savannah.gnu.org/releases/rdiff-backup/. fetch: http://download.savannah.gnu.org/releases/rdiff-backup/rdiff-backup-1.2.6.tar.gz: Moved Temporarily = Attempting to fetch from http://ftp.cc.uoc.gr/mirrors/nongnu.org/rdiff-backup/. rdiff-backup-1.2.6.tar.gz 43% of 191 kB 107 kBps This is now immobile for over an hour ... Up to now when such a hang occured, I just waited and waited and eventually it would continue and finish the job. But, is there a safe way to do a retry? I dare not just do a Ctrl-C and issue # portupgrade -R rdiff-backup again, since I have no no clue what could go wrong if one does that ... Or is it save to do Ctrl-C and try again? ___ 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
I started, as suggested # cd /usr/ports # portupgrade -fr net/openldap24-client yesterdat at 10:00 it continued all day and somewhere during the night ended with: ... === Registering installation for koffice-1.6.3_7,2 === Cleaning for koffice-1.6.3_7,2 --- Cleaning out obsolete shared libraries [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 486 packages found (-0 +1) . done] --- Skipping 'x11/kde3' (kde-3.5.10_1) because a requisite package 'kdegraphi cs-3.5.10' (graphics/kdegraphics3) failed (specify -k to force) ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! graphics/kdegraphics3 (kdegraphics-3.5.10)(configure error) * x11/kde3 (kde-3.5.10_1) How does one go from here ? I checked: # cd /usr/ports/graphics/kdegraphics3 # make ... checking for posix_memalign... yes checking pkg-config files for X11 are available... yes checking for LIBDRM... configure: error: Package requirements (libdrm = 2.4.3) were not met: Requested 'libdrm = 2.4.3' but version of libdrm is 2.3.1 OK, I did: # cd /usr/ports/graphics/libdrm # portsnap fetch # portsnap update # portupgrade -R libdrm this did: Upgrading 'libdrm-2.3.1' to 'libdrm-2.4.5' (graphics/libdrm) How do I continue now with the master rebuild which was aborted this night? Is it OK to just doing the same thing as yesterday: # cd /usr/ports # portupgrade -fr net/openldap24-client Or what else? On Tue, 24 Feb 2009, Mikhail Goriachev wrote: 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 ___ 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 Thu, 26 Feb 2009, Matthias Fechner wrote: Hi Pieter, Pieter Donche wrote: --- Skipping 'x11/kde3' (kde-3.5.10_1) because a requisite package 'kdegraphi cs-3.5.10' (graphics/kdegraphics3) failed (specify -k to force) ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! graphics/kdegraphics3 (kdegraphics-3.5.10)(configure error) * x11/kde3 (kde-3.5.10_1) it seems that only this two packages failed to build. So a portupgrade -f kdegraphics3 kde3 should be enough. # cd /usr/ports # portupgrade -f kdegraphics3 kde3 [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 489 packages found (-1 +4) (...) done] # this is all the output is this normal? seems very little ... 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
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
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
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
unique groups
FreeBSD adduser creates by default users with GID equal to UID. There is a very short notice in the man page ('UNIQUE GROUPS') from Rod Grimes. Where can a more elaborate argumentation be found on the net? ___ 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
Ports Options
At the first install of a package via the ports collection (cd /usr/ports/../..; make install clean), if the package provides configuration options, you can check these on a menu screen, or accept all the defaults. If later on, you want to know what the set of the options were when you installed a port, how to find that out? I tried # cd /usr/ports/categoryname/portname # make hoping to see the menu again, but it doesn't show any menu, but says: === Found saved configuration for portname-version Where is that saved configuration kept ?? How to get a menu displayed again so you can see and check the options you want? ___ 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, quota
to be able to impose file and disk quotas on individual users the kernel had to support it. Is this supported in FreeBSD7 ? How can one check if which options are supported? ___ 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, initial PATH environment
If one installs CUPS as the printing system, one must use the /usr/local/bin versions of lp, lpr, lpq and lprm instead of the FreeBSD versions in /usr/bin, otherwise you get errors when using the command line interface... I could rename /usr/bin/lp, lpr, lpq, lprm to e.g. lp.origfreebsd, etc.. forcing the use of the /usr/local/bin versions but this would oblige me to do that again after every FreeSBD upgrade. Or I could put /usr/local/bin before /usr/bin in the path. Two questions: - is this a save thing to do (won't other things go wrong then?) - if OK to do that, where can I change the path for every user, whatever shell (csh, sh, bash, tcsh, rbash) he uses? /etc/profile, /etc/csh.* start-up files are shell-specific and as yet distributed, only contain outcommented information, yet a newly created user (whether using csh of bash) has a following path / PATH set up: /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin Where is this path/PATH being set i.e. where can it be altered? ___ 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
simple printer setup
FreeBSD 7.0: what is the most simple and quickest way to set up printing from the unix command line to a few HP printers (all Postscript enabled) that have an IP address (direct printer to IP address) ? (printing of unix text files and postscript files) ___ 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
FreeBSD7+KDE3, Ctrl-Alt-F9 : no signal
Hi, FreeBSD7-amd + X + KDE3 installed. When connecting from a WindowsXP PC via an X-windows emulator, everything is OK (1280x1024 screen) On a console monitor (capable of 1280x1024) plugged in directly in VGA connector of the machine (and a mouse and keyboard also), Ctrl-Alt-F1 gives Command line interface (and reponds to keystrokes), but when switching via Ctrl-Alt-F9 for X, I get a black screen, and after 2 seconds the LED on the monitor turns from green to orange (meaning: no signal) What can be wrong and how to remedy? ___ 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
FreeBSD7+KDE3, IPMI module, no mouse input
Installed FreeBSD7.0-amd on a Supermicro system that has an IPMI module (=Remote server management through webbrowser (Java appl.)) After installing Xorg and kde3, when connecting through the IPMI, the KDM login manager shows its login window. Keyboard input works, but mouse input does not (the mouse pointer moves, but clicking on e.g. the 'Menu' button in KDM login window does nothing) (the IPMI console window shows in the bottom right corner a keyboard and mouse icon, indicating that both should be available) Also, after some time the screen gets black and reports 'No signal' I can still do Ctrl-Alt-F1 to get a FreeBSD ASCII console login: prompt. Another Ctrl-ALt-F9 gets me back to KDE3 login window (keyboard but no mouse input accepted) what can be wrong and how to remedy? ___ 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
/ mounted read-only after error in /etc/rc.conf
I made a typing error when chanign /etc/rc.conf (linux_enable=YES) when rebooting the system, the boot stops /etc/rc.conf: 22: Syntax error: Unterminated quote string Enter full pathname of shell or RETURN for /bin/sh: # this leaves me with /dev/ds0s1a on / (ufs, local, read-only) since / is read-only I can not edit /etc/rc.conf to correct the error. How to solve 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
apache1.3 en 2.2.conflict
When installing kde3 from ports, at one of the required packages subversion-1.5.5_1 I get: Error from bsd.apache.mk. apache13 is installed (or A PACHE_PORT is defined) and port requires 2.0+. I do # cd /usr/ports/www/apache22 # make install clean but this ends with === apache-2.2.11 conflicts with installed package(s): apache-1.3.41 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 # pkg_delete apache-1.3.41 pkg_delete: package 'apache-1.3.41' is required by these other packages and may not be deinstalled: cups-base-1.3.9_2 php5-5.2.8 qt-3.3.8_9 arts-1.5.10_1,1 kdelibs-3.5.10 dbus-qt3-0.70_2 kdebase-kompmgr-3.5.10 kdebase-3.5.10_2 kdegames-3.5.10 kdeutils-3.5.10 poppler-qt-0.8.7 gtk-2.14.7 gconf2-2.24.0 libgsf-1.14.11 wv2-0.2.3_2 koffice-1.6.3_7,2 kdenetwork-3.5.10 kdegraphics-3.5.10 kdemultimedia-3.5.10 kdepim-3.5.10_2 how to solve 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
port upgrade
I just recently installed a new FreeBSD 7 system (beginning of week) and installed a ports collection via portsnap fetch and portsnap extract. which created a /usr/ports of 498 Mb My cron does a portsnap every night 1 3 * * * root portsnap -I cron update pkg_version -vIL= So far the only packages I installed are: portupgrade and linux_base_fc4. The I went for kde3. This installed a large nummber of packages. But is stopped at threads_posix.cc:361: error: aggregate 'Arts::PosixThreads::timespec abstime' h as incomplete type and cannot be defined gmake[2]: *** [threads_posix.lo] Error 1 gmake[2]: Leaving directory '/usr/ports/audio/arts/work/arts-1.5.10/mcop_mt' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory '/usr/ports/audio/arts/work/arts-1.5.10' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/audio/arts. *** Error code 1 Stop in /usr/ports/audio/arts. *** Error code 1 Stop in /usr/ports/x11/kdelibs3. *** Error code 1 Stop in /usr/ports/x11/kdebase3. *** Error code 1 Stop in /usr/ports/x11/kdebase3. *** Error code 1 Stop in /usr/ports/x11/kde3. How do I go from here - I feel uncertain, since my experience with FreebSD ports system is almost nothging and with portupgrade etc.. is zero for the moment. I would like not to make errors. The mail from the nightly cronned portsnap does not report anything about arts-... 'needs updating'. Why not ? Checking http://www.FreeSBD.org/ports I see, there is a fix from Mon 12 Jan 11:25 UTC, but this date is two days before the the creation of the /usr/ports/audio/arts directory (Jan 14 08:58) Does this mean I have the latest version? If not, why does portsnap not report it. Is is sufficient to do # portupgrade arts # cd /usr/ports/audio/arts # make install clean # cd /usr/ports/x11/kde3 # make install clean ? I prefer to ask in advance, avoiding getting me into trouble because of wrong approach.. ___ 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 7, how to recieve internet mail
On FreeBSD 7, out of the box, one can send mail to internet destinations and can send mail locally from one user to another user on the same FreeeBSD machine But it can't receive mail from internet as it appears .. A sendmail is running freebsd7box# ps -jaxw | grep sendmail smmsp 26649 1 26649 266490 Is??0:00.00 sendmail: Queue run...@00:30:00 for /var/spool/clientmqueue (sendmail) root 26651 1 26651 266510 Ss??0:00.04 sendmail: accepting connections (sendmail) The machine is listening on port 25 freebsd7box# netstat -na | grep 25 tcp4 0 0 127.0.0.1.25 *.*LISTEN But telnettting the freebsd box with its own ip address at port 25 from the root account of the box freebsd7box# telnet 143.129.75.1 25 Trying 143.129.75.1... telnet: connect to address 143.129.75.1: Connection refused The only thing that works is freebsd7box# telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. ... How do I make the FreeBSD7 box accept connections to port 25 from all of the internet ?? ___ 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
mountd, DNS
Installed FreeBSD-amd64 and asked to set up NFS server and client during sysinstall. In the boot process, at 'mountd' it takes some time, then: Jan 12 14:36:10 macos mountd[686]: can't get address info for host hmacs.cmi.ua .ac.be Jan 12 14:36:10 macos mountd[686]: bad host hmacs.cmi.ua.ac.be, skipping Jan 12 14:36:10 macos mountd[686]: bad exports lists line /home hmacs.cmi.ua.a c.be When adding a line 143.129.75.10 hmacs.cmi.ua.ac.be in /etc/hosts (via vi) this messages disappears. I can use NFS. But why is this needed? I can use DNS names for any other host (ssh-ing to them works..) so why not for this at boot time ? of is this normal? ___ 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
2 networkcards in 1 system
I installed FreeBSD-amd64 on a system which has 2 networkcards and configured 1 networkcard with its IP parameters. Now I want to add the second networkcard, and did: # sysinstall do Post-Install Configuratio Configure additional Netwerk Services Configure additional network interface and selected em1 and gave it its IP parameters (I used the same hostname macos.cmi.ua.ac.be, in the DNS servers here macos.cmi.ua.ac.be is assigned to two IP addresses) (After rebooting, em1 appears in the boot messages with the correct Mac- and IP address.. ) But I get many messages: Jan 13 11:05:25 macos kernel: arp: 143.129.XX.YY is on em0 but got reply from 00:1b:21:UU:VV:WW on em1 Jan 13 11:54.25 macos kernel: arp: 143.129.XX.YY is on em0 but got reply from 03:ba:14:UU:VV:WW on em1 ( 143.129.XX.YY is our gateway or other system, the MAC address is the mac-addres of our gateway or that other system ) Why is this? How to remedy? Or do I need to 'deconfigure' em1? How can I 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
receiving mail
Newly installed FreeBSD-7.0. Sending mail to other hosts works. Receiving mail does not: Between host1 (non-freebsd) and host2 (freebsd 7), sending a mail from host1 to host2 (both in domain .domain.topdom) results in message 'Returned mail: see transcript for details: - The following addresses had permanent fatal errors - u...@host2.domain.topdom - Transcript of session follows - 550 5.1.2 u...@host2.domain.topdom... Host unknown (Name server: mailhost.domain.topdom: host not found) - host1 and host2 are both behind a firewall, but they are in the same zone (so firewall rules do not apply), both are even connected to same switch and their IPs are in the same subnet. Both have fixed IP address (not DHCP) mailhost.domain.topdom does not exist in DNS, but host1 can send mail to other mailservers all over the world. host2(FreeBSD): /etc/nsswitch.conf hosts: files dns /etc/resolv.conf domain domain.topdom nameserver UUU.VVV.WWW.ZZZ (correct ip address of a DNS nameserver) DNS is fully working on host2 (and on host1) According to the FreeBSD handbook I should be able to receive mail ? What can be missing here, how to remedy? ___ 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: receiving mail
on host1: $ host -t MX macos.cmi.ua.ac.be returns no answer This is the same as with another host on the same subnet, also in the same zone and on the same switch... and which does receive a sent mail --- But, when I try from host1 $ telnet host2.domain.topdom 25 Trying 143.129.75.1... telnet: Unable to connect to remote host: Connection refused Op host2.domain.topdom I see sendmail is running: host2: $ ps -jaxw | grep sendm smmsp 816 1 816 8160 Is??0:00.02 sendmail: Queue run...@00:30:00 for /var/spool/clientmqueue (sendmail) root812 1 812 8120 Ss??0:00.01 sendmail: accepting connections (sendmail) What's wrong? Why does this not work out of the box ?? On Tue, 13 Jan 2009, Mel wrote: On Tuesday 13 January 2009 13:20:33 Pieter Donche wrote: 'Returned mail: see transcript for details: - The following addresses had permanent fatal errors - u...@host2.domain.topdom - Transcript of session follows - 550 5.1.2 u...@host2.domain.topdom... Host unknown (Name server: mailhost.domain.topdom: host not found) - host1 and host2 are both behind a firewall, but they are in the same zone (so firewall rules do not apply), both are even connected to same switch and their IPs are in the same subnet. Both have fixed IP address (not DHCP) mailhost.domain.topdom does not exist in DNS, but host1 can send mail to other mailservers all over the world. MX record for host2.domain.topdom resolves to an unknown mailhost.domain.topdom. See: host -t MX host2.domain.topdom on host1.domain.topdom. -- 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
editing dhcpd.conf file
If one wants to set up a DHCP server in such a way that that a host with a given MAC-address will, at any time it connects, get the same IP address, one can record that fixed relation in the /usr/local/etc/dhcpd.conf file. Now, when someone already registered his laptop, and buys a new latop to replace the old (a different MAC address), can then omshell be used to record the change in the /usr/local/etc/dhcpd.conf file? Does omshell edit the /usr/local/etc/dhcpd.conf? Or is the only way to make changes to that file, to use an plain text editor, make the change manually and do a /usr/local/etc/rc.d/isc-dhcpd restart afterwards ? ___ 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
portsnap and portupgrade
If one installed a fresh FREEBSD-7.0-RELEASE on a new computer, with 'yes' to installing the Ports Collection during sysinstall, and opts for portsnap as the tool to keep /usr/ports updated in the future, and opts for portupgrade to upgrade ports then, what is the correct procedure to do after FreeBSD is installed and up and running, and installing and updating particular ports in the following years... This is what I collected from the FreeBSD handbook, but am not sure if everything is OK. Please verify and adapt and tell why some things are wrong and why your corrections are the right thing to do.. I'm trying to make a text for future reference ... ( After install of FreeBSD, /var/db/portsnap is still empty, so I get compressed snapshot of the Ports collection ) # portsnap fetch ( decompress to /usr/ports ) # portsnap extract ( it is not clear to me if this is correct if one already has a /usr/ports created during sysinstall .. ) In root /etc/crontab, shedule daily updates of /var/db/portsnap : 0 3 * * * root /usr/sbin/portsnap cron - For a first install + subsequent updates of a port ( e.g. port ghostview (gv) in /usr/ports/print/gv ) a. To install gv for the very first time: # cd /usr/ports/print/gv # make install clean # pkg_info | grep -i gv(to see its version number) b. For every future upgrade of gv (using portupgrade): b.1. ( update ports collection ) # portsnap update b.2. check http://vuxml.freebsd.org/ for possible security issues related to gv b.3. check if gv needs updating # pkg_version -v | grep -i gv (let's suppose it does: u.v.w. greater than x.y.z.) gv-x.y.z needs updating (port has gv-u.v.w) b.4. check /usr/ports/UPDATING for issues related to gv and follow instructions if any b.5. do the port upgrade # portupgrade -R gv b.6. install the updated version of ghostview # cd /usr/ports/print/gv # make install clean b.7. check you have the newer version of gv now # pkg_info | grep -i gv ___ 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: portsnap and portupgrade
On Thu, 18 Dec 2008, RW wrote: [ Since this is on-topic, I'm taking it back on-list. ] On Thu, 18 Dec 2008 14:11:26 +0100 (CET) Pieter Donche pieter.don...@ua.ac.be wrote: 'Installing the tree from disk' do you mean with that: the install during sysinstall of /usr/ports from what is on the FREEBDSD-7.0-RELEASE CD's ? Yes If so, if you have did create a /usr/ports from sysinstall, then only a portsnap fetch has to be done, and no portsnap extract but only a portsnap update when you need updating a program you installed previously from the ports tree ? Portsnap doesn't know about anything in the ports tree that it didn't put there itself. For that reason it needs to bring the tree to an initial known-state by replacing all port directories and other files. For the same reason you shouldn't mix portsnap and c[v]sup. So, do you confirm my statement that only a portsnap update is OK? But is it then not better to do a portsnap upgrade immmediatly after that first portsnap fetch, since fetch will only get compressed .gz files (not decompressed to /usr/ports), so /usr/ports will still be of the date of the release of the 7.0 (febr. 2008) ? The extract will bring the tree up-to-date with the fetched snapshot. You could use extract instead of update all the time, except that it's slower and deletes user generated files in the ports directories (e.g. README.html). So since it's faster and doesn't delete user generated files, upgrade is always to be preferred over extract, right? ___ 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
omshell how to use
To use omshell for changing dhcpd.conf, one needs to use a TSIG key. Did the following: # dnssec-keygen -a HMAC-MD5 -b 512 -n HOST omapi_key responded with: Komapi_key.+157+18443 and created the files: -rw--- 1 root admin118 Dec 10 15:42 Komapi_key.+157+18443.key -rw--- 1 root admin156 Dec 10 15:42 Komapi_key.+157+18443.private # cat Komapi_key.+157+18443.private Private-key-format: v1.2 Algorithm: 157 (HMAC_MD5) Key: Tq4+Idv4lCBt/zOyXIzZAxYhP3xcsUECEQVXWpTxIfTISCh4B0jwlYWxQs1FfiUYWVNSdTbu1bM0ZzxdIhj0sQ== Bits: AAA= # vi /usr/local/etc/dhcpd.conf and added the statements key omapi_key { algorithm HMAC-MD5; secret Tq4+Idv4lCBt/zOyXIzZAxYhP3xcsUECEQVXWpTxIfTISCh4B0jwlYWxQs1FfiUYWVNSdTbu1bM0ZzxdIhj0sQ==; }; omapi-key omapi_key; Then I started dhcpd, but it immediatly complains : Starting dhcpd ... /usr/local/etc/dhcpd.conf: line 10: invalid base 64 character 10 secret Tq4+Idv4lCBt/zOyXIzZAxYhP3xcsUECEQVXWpTxIfTISCh4B0jwlYWxQs1FfiUYWVNSdTbu 1bM0ZzxdIhj0sQ==; ^ /usr/local/etc/dhcpd.conf: line 12: Expecting a parameter or declaration What exactly does one have to specify on the 'secret' line ?? The manual for omshell or dnssec-keygen don't have examples... Please a real life example with all the relevant information ... The command-line tool you're looking for is omshell. If you want something different, then you're looking at implementing a wrapper script or program of your own design. Never had the need to use omshell, but the following random Google search result looks appropriate for what you're trying to do: http://blog.nominet.org.uk/tech/2005/12/21/using-omapi-object-management-application-programming-interface/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
add/change/delete dhcpd.conf entries
In a DHCP server managing fixed IP addresses, one needs to make changes often: new people need their Mac address given a IP addres, people leaving need to be deleted, people changing an old for a new computer need a Mac address change for the same IP, etc... All this information is recorded in the /usr/local/etc/dhcpd.conf file. I know, there is the omapi command shell (/usr/local/bin/omshell) but as far as I can see, you can only use it interactively. Or am I wrong? I would love to have a simple command line tool that allows you to make changes to your dhcpd.conf file without needing to use an editor or omapi. e.g. for a new entry, something like: # dhcpdmgr -A 175.134.34.128 -c John.Adams PC -i 00:34:1A:23:4A:0F 175.134.34 which would add IP 175.134.34.128 in subnet 175.134.3 for mac address 00:34:1A:23:4A:0F with a comment John.Adams PC and with other options for delete (-D), make changes to comment, IP or Mac, etc... Does anyone have such a command line tool? With that command line tool one can easily make a wrapper script, presenting you with a menu of frequent operations, and with extensive checking of your input data. I use such a wrapper script, making use of Solaris pntadm (DHCP network table management utility) command line tool. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
newinstall and GPT
If one would use GPT (GUID (Globally Unique Identifier) Partition Table right from the start of an installation of a new system, how must one proceed ? During install from a DVD, first you are asked to do a DOS-style (fdisk) partitioning (slice making in FreeBSD parlance), which would be responded with A=Use Entire Disk. What if you have, say 8 TB disk space (in RAID6, presenting itself as a single unused space), will fdisk be able to deal with that ? Has fdisk a limit as to the number of sectors (2^31- 1 = 2TB) ? If fdisk can't deal with that, what then ??? Bsdlabel, the next tool coming up after fdisk, uses 32-bit integers can't be used for 8 TB available space. Then GPT would have to be used (uses 64-bit integers). How to proceed ? Should your first during initial go for bsdlabel, and only use maximum 2TB, continue with the rest of the install and then, after install, use GPT to change the FreeBSD existing partitions? Any documents describing a FreeBSD install for large diskspaces with GPT ?? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 7.0: which distribution
If motherboad is Supermicro X7SBE XEON 3000 with 2 Quad core processors Intel Harpertown E 5405 2.0Ghz 12M cache 1333FSB and 4 x 4Gb memory, what distribution of FreeBSD 7.0 applies: i386 or ia64 ? Why are the ISO's so different in size between i386 and ia64 (i386: disc1,2,3: 534, 728, 368Gb; ia64: 449Gb, 0,372 Gb, 0,372 Gb) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0: which distribution
On Tue, 2 Dec 2008, Ebbe Hjorth wrote: 2008/12/2 Pieter Donche [EMAIL PROTECTED] On Tue, 2 Dec 2008, Ebbe Hjorth wrote: Hi, All new XEON cpus are 64-bit spo use the 64 bit freebsd version. I never googled it before, but 2 sec gave me http://www.freebsd.org/releases/7.0R/hardware.html#PROC-AMD64 So use the amd64 ;) Is the amd64 distribution mature enough, as compared to the i386? Aren't there any problems to be expected to arrive, months after initial install and way in the production usage ?? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0: which distribution
On Tue, 2 Dec 2008, Wojciech Puchar wrote: the only reason that people use FreeBSD/i386 on 64-bit processors is that some binary-only drivers are only availaboe for i386. what kind of drivers would be missing for the amd64 distribution ??? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
(no subject)
If one has a system with 7 500Gb SATA disks in a hardware RAID6 (Areca Raid Controller), then (according to mail J.Chadwick 7 Nov 2008) they will show up as da (following naming convention for scsi disks although they are not). RAID6 will allow about 2,5 Tb for the 'user' (roughly 1 Tb will be consumed by the parity information of RAID6). How will this 2,5 Tb space present itself at the time of initial install of FreeBSD? Will this be a single 'disk' ad0 ? .. correct or not (then what)? If FreeBSD is to put on the system as only operating system (Fdisk: A = Use Entire disk), then will the BSD-partitions will show up as ad0a (/), ad0b (swap), ad0d (/var) etc... correct or not (then what)? Page 427 of the FreeBSD handbook states that due to the use of 32-bit integers to store the number of sectors is limited to 2^32 -1 sectors/disk = 2 TB. A layout could be a / 1Gb, b swap, d /root 20 Gb, (a /root partition is from an example of someone who claims that at boot FreeBSD checks the partions in background except for the / partition, by keeping / as small as possible, the time to boot can be mimimized .. correct? but will /root ever be something big ??) e /tmp 20 Gb, f /var 20 Gb, g /usr 20 Gb this leaves 2420 Gb which is more than 2 Tb, so you can't put all that in 1 filesystem h /home, you will need to split that in 2 BSD-paritions, but since you can't have more that 8 BSD-partitions (highest BSD-partition letter is h), you need to give up at least one of d, e, f, g. ... correct or not (then what)? What is the best scheme of BSD-partitioning in this case? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UFS partitioning
On Tue, 2 Dec 2008, Polytropon wrote: ad0 |---| the whole disk ad0s1 \--/ one slice ad0s1X \--/\---/\-/\-/\---/\/ partitions a b d e f g / swap /tmp /var/usr /home mount point OK this is clear.. a / 1Gb, b swap, d /root 20 Gb, (a /root partition is from an example of someone who claims that at boot FreeBSD checks the partions in background except for the / partition, by keeping / as small as possible, the time to boot can be mimimized .. correct? but will /root ever be something big ??) No no, / refers to the root partition. One way of setting up partitions is just to have one partition (one root parttion) and put everything on it, including /tmp, /var, /usr and /home. I know / is the root partition, but /root is the home-directory of the user root (/etc/passwd: root:*:0:0:Charlie :/root:/bin/csh). I doubt this will ever be needed to be large? If its not large fsck neither will spend much time in it. So I guess it's just safe not to make this a separate BSD-partiton ? Another philosophy is to create partitions designated to their further use, just as I mentioned it above. Yes, but it's hard to find out what is best... I'm constantly swinged between the one (/ including /tmp /var /usr) and the other (all separate) option ... this leaves 2420 Gb which is more than 2 Tb, so you can't put all that in 1 filesystem h /home, you will need to split that in 2 BSD-paritions, but since you can't have more that 8 BSD-partitions (highest BSD-partition letter is h), you need to give up at least one of d, e, f, g. ... correct or not (then what)? I quite doubt that FreeBSD's UFS 2 cannot handle a 2 TB partition as a whole, but because I don't have sch large disks with UFS (I have ZFS for them), I cannot tell. Anyone else can tell? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 7.0: which distribution
On Tue, 2 Dec 2008, Ebbe Hjorth wrote: Hi, All new XEON cpus are 64-bit spo use the 64 bit freebsd version. So this would point to ia64 distribution? But clicking op www.freebsd.com/where.html - Hardware notes/View tells for ia64: Currently supported processors are Itanium and Itanium2 There nothing about Intel XEON ?? 368 vs 372 is that the 64 bit is compiled for 64 bit, and uses a little more space. what is 368 vs 372 ?? / Ebbe 2008/12/2 Pieter Donche [EMAIL PROTECTED] If motherboad is Supermicro X7SBE XEON 3000 with 2 Quad core processors Intel Harpertown E 5405 2.0Ghz 12M cache 1333FSB and 4 x 4Gb memory, what distribution of FreeBSD 7.0 applies: i386 or ia64 ? Why are the ISO's so different in size between i386 and ia64 (i386: disc1,2,3: 534, 728, 368Gb; ia64: 449Gb, 0,372 Gb, 0,372 Gb) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nxserver/freenx
On Fri, 28 Nov 2008, matt donovan wrote: On Fri, Nov 28, 2008 at 3:53 AM, Pieter Donche [EMAIL PROTECTED]wrote: I want my freeBSD-7.0-RELEASE server accessible via a FreeNX client from www.nomachine.com. I believe I should install both the ports nxserver and freenx: From http://www.freebsdports.info/ports/net/nxserver.html I read: nxserver: this port provides only the NX core binaries and libraries as were released by NoMachine as source code. To make them work and be used as an NX server, you will need to: - either install FreeNX (net/freenx) additionally, - or install the commercial NoMachine server product (currently not available in native FreeBSD form) $ whereis nxserver nxserver: /usr/ports/net/nxserver $ whereis freenx freenx: /usr/ports/net/freenx # cd /usr/ports/net/nxserver # make install clean === nxserver-1.4.0_1 is marked as broken: this port fails to build with xorg-7 .2. *** Error code 1 What's this? What are my alternatives to get a NX server running on FreeBSD? # pkg_add -r freenx isn't found ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] well freenx now provides nxserver I tried updating the ports but the freenx tarball isn't very clear like it used to be since, since the files have changed so much from what the old version used to be like. you could try freenx and see if it will work or not. Since I m pretty sure the port is old. No help ... This ends up with the same problem ... : # cd /usr/ports/net/freenx # make install clean === Vulnerability check disabled, database not found = freenx-0.4.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from http://www.iem.pw.edu.pl/ftp/distfiles/. fetch: http://www.iem.pw.edu.pl/ftp/distfiles/freenx-0.4.4.tar.gz: Moved Temporarily = Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. freenx-0.4.4.tar.gz 100% of 45 kB 92 kBps === Extracting for freenx-0.4.4_3 = MD5 Checksum OK for freenx-0.4.4.tar.gz. = SHA256 Checksum OK for freenx-0.4.4.tar.gz. === Patching for freenx-0.4.4_3 === Applying FreeBSD patches for freenx-0.4.4_3 === freenx-0.4.4_3 depends on file: /usr/local/libdata/xorg/libraries - found === Configuring for freenx-0.4.4_3 === Installing for freenx-0.4.4_3 === freenx-0.4.4_3 depends on file: /usr/local/NX/bin/nxagent - not found ===Verifying install for /usr/local/NX/bin/nxagent in /usr/ports/net/nxserver === nxserver-1.4.0_1 is marked as broken: this port fails to build with xorg-7.2. *** Error code 1 Stop in /usr/ports/net/nxserver. *** Error code 1 Stop in /usr/ports/net/freenx. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KDM stopping
On Thu, 27 Nov 2008, Lowell Gilbert wrote: Pieter Donche [EMAIL PROTECTED] writes: FreeBSD-7.0-RELEASE, with KDE as desktop environment and KDM as display manager. I have 2 users, say user1 and user2. Boot, KDM login as user1, OK. Then I do a close session. OK, KDM presents me again with the KDM login screen, login as user2, OK. Then again, close session. Now, the KDM login screen does not come back. I am stuck with a cursor blinking at the upper left corner. Ctrl-Alt-F1 brings me to the console, Ctrl-Alt-F7: no X, just a login:prompt If I reboot and do the same thing, but now first with user2, then user1 - exactly same behaviour (X dies at the second close session). So, it's not connected with user2. Anyone a idea what could be wrong? Below are some log details: Does this happen with xdm as well? Have you checked with the FreeBSD kde mailing list? If I switch in KDM to using TWM window manager (instead of KDE), login and then logout, I'm stuck in the same way. XDM: If I edit /etc/ttys to use xdm instead of kdm and reboot I get login/password prompt, then a very primitive TWM window manager, When choose exit on the menu (with one gets by left-clicking the mouse) the frames arround the windows disappear and I don't get the menu back, the only thing I can do is to to console mode and shutdown -r now (and first edit /etc/ttys again for kdm) Is there a command to - restart the kdm window manager (after it died) from a root console prompt? - stop en start a running kwm window manager from a root console prompt? Concerning my initial problem - I remember that I wanted to change the home-dir of both user1 and user2, therefore in console as root did a rmuser, then adduser for both. Can this cause this dying of KDM manager? The /var/log/kdm-log shows: -- ... X.Org X Server 1.4.0 Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.0-RELEASE i386 Current Operating System: FreeBSD pclinwi74.cmi.ua.ac.be 7.0-RELEASE FreeBSD 7. 0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/ obj/usr/src/sys/GENERIC i386 Build Date: 13 February 2008 05:50:12PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Wed Nov 26 16:27:31 2008 (EE) Unable to locate/open config file New driver is i810 (==) Using default built-in configuration (55 lines) (EE) Failed to load module fbdev (module does not exist, 0) (II) Module ddc already built-in (II) Module ramdac already built-in FreeFontPath: FPE /usr/local/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing. FreeFontPath: FPE /usr/local/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing. (EE) I810(0): V_BIOS address 0x0 out of range Fatal server error: Caught signal 11. Server aborting X.Org X Server 1.4.0 Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.0-RELEASE i386 Current Operating System: FreeBSD pclinwi74.cmi.ua.ac.be 7.0-RELEASE FreeBSD 7. 0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/ obj/usr/src/sys/GENERIC i386 Build Date: 13 February 2008 05:50:12PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Wed Nov 26 16:43:42 2008 (EE) Unable to locate/open config file New driver is i810 (==) Using default built-in configuration (55 lines) (EE) Failed to load module fbdev (module does not exist, 0) (EE) I810(0): V_BIOS address 0x0 out of range (EE) I810(0): VBE initialization failed. (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found --- /var/log/messages contains: -- .. Nov 26 16:29:03 pclinwi74 kernel: pid 853 (Xorg), uid 0: exited on signal 11 (c ore dumped) Nov 26 16:29:03 pclinwi74 kdm-bin[850]: X server for display :0 terminated unex pectedly Nov 26 16:29:03 pclinwi74 kdm-bin: :0[1137]: IO Error in XOpenDisplay Nov 26 16:29:03 pclinwi74 kdm-bin[850]: Display :0 cannot be opened Nov 26 16:29:03 pclinwi74 kdm-bin[850]: Unable to fire up local display :0; dis abling. Nov 26 16:29:30 pclinwi74 login: ROOT LOGIN (root) ON ttyv0 Nov 26 16:43:40 pclinwi74 shutdown: reboot by root: Nov 26 16:43:42 pclinwi74 kdm-bin[850]: X server for display :0 terminated unex pectedly Nov 26 16:43:42 pclinwi74 kdm-bin[850]: Unable to fire up local display :0; dis abling. Nov 26 16:43:42 pclinwi74 syslogd
nxserver/freenx
I want my freeBSD-7.0-RELEASE server accessible via a FreeNX client from www.nomachine.com. I believe I should install both the ports nxserver and freenx: From http://www.freebsdports.info/ports/net/nxserver.html I read: nxserver: this port provides only the NX core binaries and libraries as were released by NoMachine as source code. To make them work and be used as an NX server, you will need to: - either install FreeNX (net/freenx) additionally, - or install the commercial NoMachine server product (currently not available in native FreeBSD form) $ whereis nxserver nxserver: /usr/ports/net/nxserver $ whereis freenx freenx: /usr/ports/net/freenx # cd /usr/ports/net/nxserver # make install clean === nxserver-1.4.0_1 is marked as broken: this port fails to build with xorg-7 .2. *** Error code 1 What's this? What are my alternatives to get a NX server running on FreeBSD? # pkg_add -r freenx isn't found ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
XMing and FreeBSD
I have - in the same subnet - a WinXP PC and a multi-boot PC with a) OpenSuse10.3, b) FreeBSD-7.0 (and c) WinXP) I installed the free X-Windows server Xming on the WinXP PC, and I can connect to the other PC when it is booted in OpenSUSE 10.3: Xming is configured for 'open session via XDMCP', I specify fully qualified hostname and I get the openSUSE username/password login screen, etc... (I didn't need to change anything in the OpenSuSE) But when that PC is booted into FreeBSD - XMing only gives me a screen with a grey background and a black X - connection seems not established. The FreeBSD runs KDM as window manager and KDE as desktop. Why and how to remedy? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KDM stopping
FreeBSD-7.0-RELEASE, with KDE as desktop environment and KDM as display manager. I have 2 users, say user1 and user2. Boot, KDM login as user1, OK. Then I do a close session. OK, KDM presents me again with the KDM login screen, login as user2, OK. Then again, close session. Now, the KDM login screen does not come back. I am stuck with a cursor blinking at the upper left corner. Ctrl-Alt-F1 brings me to the console, Ctrl-Alt-F7: no X, just a login:prompt If I reboot and do the same thing, but now first with user2, then user1 - exactly same behaviour (X dies at the second close session). So, it's not connected with user2. Anyone a idea what could be wrong? Below are some log details: The /var/log/kdm-log shows: -- ... X.Org X Server 1.4.0 Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.0-RELEASE i386 Current Operating System: FreeBSD pclinwi74.cmi.ua.ac.be 7.0-RELEASE FreeBSD 7. 0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/ obj/usr/src/sys/GENERIC i386 Build Date: 13 February 2008 05:50:12PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Wed Nov 26 16:27:31 2008 (EE) Unable to locate/open config file New driver is i810 (==) Using default built-in configuration (55 lines) (EE) Failed to load module fbdev (module does not exist, 0) (II) Module ddc already built-in (II) Module ramdac already built-in FreeFontPath: FPE /usr/local/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing. FreeFontPath: FPE /usr/local/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing. (EE) I810(0): V_BIOS address 0x0 out of range Fatal server error: Caught signal 11. Server aborting X.Org X Server 1.4.0 Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.0-RELEASE i386 Current Operating System: FreeBSD pclinwi74.cmi.ua.ac.be 7.0-RELEASE FreeBSD 7. 0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/ obj/usr/src/sys/GENERIC i386 Build Date: 13 February 2008 05:50:12PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Wed Nov 26 16:43:42 2008 (EE) Unable to locate/open config file New driver is i810 (==) Using default built-in configuration (55 lines) (EE) Failed to load module fbdev (module does not exist, 0) (EE) I810(0): V_BIOS address 0x0 out of range (EE) I810(0): VBE initialization failed. (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found --- /var/log/messages contains: -- .. Nov 26 16:29:03 pclinwi74 kernel: pid 853 (Xorg), uid 0: exited on signal 11 (c ore dumped) Nov 26 16:29:03 pclinwi74 kdm-bin[850]: X server for display :0 terminated unex pectedly Nov 26 16:29:03 pclinwi74 kdm-bin: :0[1137]: IO Error in XOpenDisplay Nov 26 16:29:03 pclinwi74 kdm-bin[850]: Display :0 cannot be opened Nov 26 16:29:03 pclinwi74 kdm-bin[850]: Unable to fire up local display :0; dis abling. Nov 26 16:29:30 pclinwi74 login: ROOT LOGIN (root) ON ttyv0 Nov 26 16:43:40 pclinwi74 shutdown: reboot by root: Nov 26 16:43:42 pclinwi74 kdm-bin[850]: X server for display :0 terminated unex pectedly Nov 26 16:43:42 pclinwi74 kdm-bin[850]: Unable to fire up local display :0; dis abling. Nov 26 16:43:42 pclinwi74 syslogd: exiting on signal 15 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD in VMWare box
If one installs FreeBSD 7.0 in a VMWare box, the answer/choicde for 'install boot manager' is this: Standard MBR ? The PC with WMware is connect to internet. Should one configure Ethernet then. If yes, what static IP parameters must one enter?? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD in VMWare box
On Sat, 22 Nov 2008, Glen Barber wrote: The PC with WMware is connect to internet. Should one configure Ethernet then. If yes, what static IP parameters must one enter?? This would be contingent on how you have networking set up. Do you have NAT or Bridged only? If NAT, use rc.conf with the inet address of your choice and the netmask for your NAT. My PC is connected to Internet using an ADSL modem to connect to an ISP. It uses IP 10.0.0.somevalue, netmask 255.255.255.0, no gateway specified and two DNS server IP addresses which my ISP asked to use. Is this 'NAT' or 'Bridged'. Can I enter values and then what values, for host, domain, IPV4 gateway, Name server, IPV4 address, netmask in the screen presented during FreeBSD install or should i use Cancel in that screen and make changes in system files (and what changes in what system files)? -- Glen Barber If you have any trouble sounding condescending, find a Unix user to show you how it's done. --Scott Adams ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD in VMWare box
On Sat, 22 Nov 2008, Glen Barber wrote: On Sat, Nov 22, 2008 at 8:43 AM, Pieter Donche [EMAIL PROTECTED] wrote: On Sat, 22 Nov 2008, Glen Barber wrote: The PC with WMware is connect to internet. Should one configure Ethernet then. If yes, what static IP parameters must one enter?? This would be contingent on how you have networking set up. Do you have NAT or Bridged only? If NAT, use rc.conf with the inet address of your choice and the netmask for your NAT. My PC is connected to Internet using an ADSL modem to connect to an ISP. It uses IP 10.0.0.somevalue, netmask 255.255.255.0, no gateway specified and two DNS server IP addresses which my ISP asked to use. Is this 'NAT' or 'Bridged'. You'd have to tell me; it's your VM. Check the network settings in the management interface. (I previously installed an openSUSE 10.3 VM, and needed not enter any TCP/IP parameter, and could use netwerking afterwards) The default settings of my VMware are (from Edit / Virtual Network Editor) Summary Virt. Network - Summary - Subnet - DHCP VMnet0 (Bridged) - Bridged to an automatically choosen adapter - - VMnet1 (Host-only) - A private nw shared with the host - 192.168.72.0 - Enabled VMnet8 (NAT) - Used to share the host's IP address - 192.168.173.0 - Enabled Automatic Bridging CHECKED: AUtomatically choose an available physical netwerk adapter to bridge to VMnet0 Host Virtual Netwerk Mapping VMnet0 Brigded to an automatically chosen adapter (here I can also select my physical network card) VMnet1 VMware Network Adapter VMnet1 (only choice) VMnet2 (and 3 to 7 and 9): Not bridged (here I can also select my physical network card) VMnet8 VMware Network Adapter VMnet8 (only choice) Host Virtual Adapters Network Adpater Virt.Nw Status VMware Network Adapter VMnet1 VMnet1 Enabled VMware Network Adapter VMnet8 VMnet8 Enabled DHCP Virtual Network Subnet Netmask Description VMnet1 192.168.72.0255.255.255.0 vmnet1 VMnet8 192.168.137.0 255.255.255.0 vmnet8 NAT VMnet host: VMnet8 Gateway IP address : 192.168.137.2 [ grey ] Netmask: 255.255.255.0 [ grey ] Nat Service Service Status: Started Service request: [ empty ] Can I enter values and then what values, for host, domain, IPV4 gateway, Name server, IPV4 address, netmask in the screen presented during FreeBSD install or should i use Cancel in that screen and make changes in system files (and what changes in what system files)? Either will work. -- Glen Barber If you have any trouble sounding condescending, find a Unix user to show you how it's done. --Scott Adams ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KDE Login Manager leaves unexpectedly
In FreeSBD 7.0, set up KDE 3.5. I want to change settings in KDE Settings/SystemAdministration / LoginManager (no shutdown possibility for a non-root privilege user) This asks for the root password, I enter the correct root password, click OK, and that dialog window closes and I back in the desktop ... Why ??? (the root password is certainly correct, if I change a letter, I get Incorrect Password; try again) I can choose 'ignore' and continue with non-root privileges, but when I want to change something that requires root privileges, same dialog box and when entering correct password, the dialog window closes... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KDE Login Manager leaves unexpectedly (2)
Addendum at the end: On Mon, 17 Nov 2008, Pieter Donche wrote: In FreeSBD 7.0, set up KDE 3.5. I want to change settings in KDE Settings/SystemAdministration / LoginManager (no shutdown possibility for a non-root privilege user) This asks for the root password, I enter the correct root password, click OK, and that dialog window closes and I back in the desktop ... Why ??? (the root password is certainly correct, if I change a letter, I get Incorrect Password; try again) I can choose 'ignore' and continue with non-root privileges, but when I want to change something that requires root privileges, same dialog box and when entering correct password, the dialog window closes... When I first click at the bottom, the button 'Adminstrator Mode' same dialog box, that closes at correct root password, but I am still left in non-root privileges (although there is now a red line arround the dialog window) but most of the settings that one should be able to change are grey .. because I still am not yet in root-privilege mode the user I was logged in which is part ot the group wheel (I a terminal window I can do aan su -, give the root paswsword and have all root privileges) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KDE Login Manager leaves unexpectedly (3)
Second Addendum at the end: On Mon, 17 Nov 2008, Pieter Donche wrote: In FreeSBD 7.0, set up KDE 3.5. I want to change settings in KDE Settings/SystemAdministration / LoginManager (no shutdown possibility for a non-root privilege user) This asks for the root password, I enter the correct root password, click OK, and that dialog window closes and I back in the desktop ... Why ??? (the root password is certainly correct, if I change a letter, I get Incorrect Password; try again) I can choose 'ignore' and continue with non-root privileges, but when I want to change something that requires root privileges, same dialog box and when entering correct password, the dialog window closes... When I first click at the bottom, the button 'Adminstrator Mode' same dialog box, that closes at correct root password, but I am still left in non-root privileges (although there is now a red line arround the dialog window) but most of the settings that one should be able to change are grey .. because I still am not yet in root-privilege mode the user I was logged in which is part ot the group wheel (I a terminal window I can do aan su -, give the root paswsword and have all root privileges) Addendum 2: I tried with checking the 'remember password' in the dialog window and entered the root paswoord. the window closes as before but at any next try, I get nothing at all any more: Settings / System Administration / LoginManager shows a dancing icon for 20 seconds and then disappears, leaving me in the desktop (probably because of the same non-responsiveness to a correctly. How to remedy all this ??? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
X11: 1280x768
On Tue, 11 Nov 2008, Polytropon wrote: On Tue, 11 Nov 2008 07:47:37 +0100 (CET), Pieter Donche [EMAIL PROTECTED] wrote: I installed KDE and the KDM display manager in FreeBSD. On my portable I have a non-US keyboard (a european country layout), in KDE I can set it to the appropriate keyboard layout. KDM login window is still in US qwerty keyboard, which makes me have to enter my password with different keystrokes :-) How to set an appropriate keyboard in KDM? I don't know, but you can set your keyboard layout generally for X, so you have this layout everywhere (e. g. when you're running something different than KDE, as well as in xdm or kdm). Just change your /etc/X11/xorg.conf to fit your needs, according to this example: Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc105 Option XkbLayout de Option AutoRepeat250 30 EndSection OK, that was it for the keyboard matter. Thx.. Similar question: my portable is 1280x768 pixels, but KDE comes up in 1024x768, making 'wide' icons and text :-( I tried to add in the /etc/X11/xorg.conf in Section Screen for all entries in Subsection Display (different Depths), a line Modes 1280x784 ... but this does not help.. In KDE menu / Settings / peripherals / Display / the only choice for Screen Size remains 1024x768 without alternatives (as before) ... How to remedy? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X11: 1280x768
Hmm, playing arround in KDE with -xrandr $ xrandr --size 1280x768 Size 1280x768 not found in available modes (?? it's in my /etc/X11/xorg.conf ??) $ xrandr --fb 1280x768 xrandr: screen cannot be larger than 1024x768 (desired size is 1280x786) my screen has dimensions 260mm x 160 mm $ xrandr --fbmm 260x160 (of $ xrandr --dpi 125) does not complain but does not help either.. ?? On Tue, 11 Nov 2008, Polytropon wrote: On Tue, 11 Nov 2008 10:08:54 +0100 (CET), Pieter Donche [EMAIL PROTECTED] wrote: OK, that was it for the keyboard matter. Thx.. No problem, it's all standard stuff. :-) Similar question: my portable is 1280x768 pixels, but KDE comes up in 1024x768, making 'wide' icons and text :-( I tried to add in the /etc/X11/xorg.conf in Section Screen for all entries in Subsection Display (different Depths), a line Modes 1280x784 ... but this does not help.. In KDE menu / Settings / peripherals / Display / the only choice for Screen Size remains 1024x768 without alternatives (as before) ... How to remedy? I'd suggest to do something similar like with the keyboard: Put it explicitely into xorg.conf; I mean, autodetect is all fine, but in some cases, just crap comes out. :-) I had a similar problem here: X would only run 1024x768 or 1152x864, but not 1400x1050 as I would have liked it on a 21 CRT. So I did this: First, modify /etc/X11/xorg.conf: Section Screen Identifier Screen0 Device Card0 Monitor Monitor0 Option Accel DefaultDepth24 SubSection Display Depth 24 Visual TrueColor Modes 1152x864 EndSubSection EndSection This starts X in 1152x864. You'll see that there's not the usual bunch of depths and modes, just the one I want. Then, I put this into ~/.xinitrc: xrandr --size 1400x1050 xrandr --fb 1400x1050 Put it before any other program starts, and it leads to the desired screen dimension of 1400x1050. I'm sure you can play a bit with xrandr from within KDE in order to adjust the screen dimensions, and when you found it working, put it into your ~/.xinitrc so it will take effect after login. But NB that xdm / kdm won't be affected - it will run as xorg.conf specifies. You can check with xrandr's information options (refer to man xrandr) and xvidtune. -- 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 [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [solved] X11: 1280x768
OK, after installing 915resolution, I can use the 1280 pixel width on my tiny screen, giving me 25% more usable space.. Thanks Mel! On Tue, 11 Nov 2008, Mel wrote: On Tuesday 11 November 2008 14:34:52 Pieter Donche wrote: On Tue, 11 Nov 2008, Mel wrote: On Tuesday 11 November 2008 13:28:53 Pieter Donche wrote: On Tue, 11 Nov 2008, Mel wrote: On Tuesday 11 November 2008 12:12:06 Pieter Donche wrote: On the same portable there is also a SUSE Linux 10.1 and WinXP, which works in 1280x768 (so the hardware can use this resolution) In /var/log/Xorg.0.log is see many references to 1280x768 for the 'local flat panel' , PanelID returned panel resolution: 1280x768, also Printing DDC gathered Modelines: 3 lines (||) 1810(0): Modeline 1280x768x0.0 (followed by varying numbers and a KhZ to end) follewed y Mode: 30 (640x480) (specifications) diffenrent Mode sections but 1024x768 at the highest .. (||) |810(0): Not using mode 1280x768i (no mode of that name) ^^^ If this is accurate, you seem to have a trailing letter 'i' in your xorg.conf that invalidates the mode line. And you're using an Intel 810 integrated graphics card. Sadly, that doesn't come with probing tool that I know of that would print the information the card and monitor exchange about syncrates and display sizes. Rule out the typo first though. I have a vague recollection of this card putting 1024x768 before 1280x768 in the mode list it returns, so that it defaults to 1024x768, but I'm not sure where or when I read that. Either way, hardcoding the desired modeline (without typos) in xorg.conf should work. If there was no typo, please paste your entire xorg.conf into the mail. We may be missing something obvious. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. There was only a typo in my mail, not in xorg.conf.. In included below my xorg.conf file and the Xorg.0.log Rearranging for clarity: -- xorg.conf -- Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 SubSection Display Viewport 0 0 Depth 1 Modes 1280x768 EndSubSection (II) I810(0): Supported Future Video Modes: (II) I810(0): #0: hsize: 1280 vsize 800 refresh: 60 vid: 129 I was already wondering why a card would report 1280x768, it's not the standard for that width, 1280x800 is. Try changing the modes to 1280x800. How the 768 ends up in the detection is probably something for the i810 driver developers to figure out. Changed to 1280x800, but no help. The diff between previous Xorg.0.log and the present is: 15c15 (==) Log file: /var/log/Xorg.0.log, Time: Tue Nov 11 14:18:44 2008 --- (==) Log file: /var/log/Xorg.0.log, Time: Tue Nov 11 13:20:39 2008 2033c2033 (II) I810(0): Not using mode 1280x800 (no mode of this name) --- (II) I810(0): Not using mode 1280x768 (no mode of this name) 2122,2124c2122,2124 (II) I810(0): Allocated 4 kB for HW cursor at 0x000 (0x07b99000) (II) I810(0): Allocated 16 kB for HW (ARGB) cursor at 0xfffb000 (0x07b9c000) (II) I810(0): Allocated 4 kB for Overlay registers at 0xfffa000 (0x07b9a000). --- (II) I810(0): Allocated 4 kB for HW cursor at 0x000 (0x0779) (II) I810(0): Allocated 16 kB for HW (ARGB) cursor at 0xfffb000 (0x07794000) (II) I810(0): Allocated 4 kB for Overlay registers at 0xfffa000 (0x07791000). not pretty much, execept that it neither accepts 1280x800 On that portable WinXP lets me choose between 1280x768, 1024x768, 800x600 and SuSE Linux 10.1 between exactly the same, plus 640x480... I think this accurately describes your problem: http://mandrivaonadellx1.50webs.com/display.htm -- 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 [EMAIL PROTECTED]
FreeBSD and USBmemorystick
If I insert a USB memory stick in my laptop with FreeBSD 7.0 nothing happens. On the same laptop in the SuSE 10.1 partition, the same USB stick appears in Konqueror under Storage Media and is ready to use) In FreeBSD, Konqueror shows nothing under Storage Media. Is this normal? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and USBmemorystick
On Tue, 11 Nov 2008, Jeremy Chadwick wrote: On Tue, Nov 11, 2008 at 08:25:51PM +0100, Pieter Donche wrote: If I insert a USB memory stick in my laptop with FreeBSD 7.0 nothing happens. On the same laptop in the SuSE 10.1 partition, the same USB stick appears in Konqueror under Storage Media and is ready to use) In FreeBSD, Konqueror shows nothing under Storage Media. Is this normal? What shows up in your kernel message log (outside of X, usually on the first virtual console) when you insert the stick? It should show a umass device being added, then a daX device being added. There are indeed messages: umass0: M-SysT5 Dell Memory Key, class ... on uhub4 da0: at umass-sim0 ... .. da0: 60 Mb (OK, it is a 64 Mb key) GEOM_LABEL: Label for provider da0s1 is msdosfs/USB MEMORY also when unplugging, some messages $ ls -la /dev/da0s1 shows only the character device line -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X11: 1280x768
On the same portable there is also a SUSE Linux 10.1 and WinXP, which works in 1280x768 (so the hardware can use this resolution) In /var/log/Xorg.0.log is see many references to 1280x768 for the 'local flat panel' , PanelID returned panel resolution: 1280x768, also Printing DDC gathered Modelines: 3 lines (||) 1810(0): Modeline 1280x768x0.0 (followed by varying numbers and a KhZ to end) follewed y Mode: 30 (640x480) (specifications) diffenrent Mode sections but 1024x768 at the highest .. (||) |810(0): Not using mode 1280x768i (no mode of that name) (--) |810(0): Virtual size is 1024x768 (pitch 1024) (**) |810(0): Built-in mode 1024x768 (**) |810(0): Display dimensions: (260,160) mm (**) |810(0): DPI set to (100,121) Why isnt' the 1289x768 recognized??? On Tue, 11 Nov 2008, Mel wrote: On Tuesday 11 November 2008 11:16:14 Pieter Donche wrote: Hmm, playing arround in KDE with -xrandr $ xrandr --size 1280x768 Size 1280x768 not found in available modes (?? it's in my /etc/X11/xorg.conf ??) Just because you put a modeline in the xorg config, does not mean the videodriver, monitor or card itself, supports that mode. Inspect /var/log/Xorg.0.log, specifically the supported modes detection,lines like: (--) NVIDIA(0): Interlaced video modes are supported on this GPU (--) NVIDIA(0): Connected display device(s) on GeForce Go 7600 at PCI:1:0:0: (--) NVIDIA(0): Seiko (DFP-0) (--) NVIDIA(0): Seiko (DFP-0): 330.0 MHz maximum pixel clock (--) NVIDIA(0): Seiko (DFP-0): Internal Dual Link LVDS (II) NVIDIA(0): Assigned Display Device: DFP-0 (II) NVIDIA(0): Validated modes: (II) NVIDIA(0): 1440x900 (II) NVIDIA(0): 1024x768 (II) NVIDIA(0): 800x600 (II) NVIDIA(0): 640x480 It's also helpful to know the make and model of your graphics card, and which driver you're using for it. -- 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 [EMAIL PROTECTED]
Re: X11: 1280x768
On Tue, 11 Nov 2008, Mel wrote: On Tuesday 11 November 2008 13:28:53 Pieter Donche wrote: On Tue, 11 Nov 2008, Mel wrote: On Tuesday 11 November 2008 12:12:06 Pieter Donche wrote: On the same portable there is also a SUSE Linux 10.1 and WinXP, which works in 1280x768 (so the hardware can use this resolution) In /var/log/Xorg.0.log is see many references to 1280x768 for the 'local flat panel' , PanelID returned panel resolution: 1280x768, also Printing DDC gathered Modelines: 3 lines (||) 1810(0): Modeline 1280x768x0.0 (followed by varying numbers and a KhZ to end) follewed y Mode: 30 (640x480) (specifications) diffenrent Mode sections but 1024x768 at the highest .. (||) |810(0): Not using mode 1280x768i (no mode of that name) ^^^ If this is accurate, you seem to have a trailing letter 'i' in your xorg.conf that invalidates the mode line. And you're using an Intel 810 integrated graphics card. Sadly, that doesn't come with probing tool that I know of that would print the information the card and monitor exchange about syncrates and display sizes. Rule out the typo first though. I have a vague recollection of this card putting 1024x768 before 1280x768 in the mode list it returns, so that it defaults to 1024x768, but I'm not sure where or when I read that. Either way, hardcoding the desired modeline (without typos) in xorg.conf should work. If there was no typo, please paste your entire xorg.conf into the mail. We may be missing something obvious. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. There was only a typo in my mail, not in xorg.conf.. In included below my xorg.conf file and the Xorg.0.log Rearranging for clarity: -- xorg.conf -- Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 SubSection Display Viewport 0 0 Depth 1 Modes 1280x768 EndSubSection (II) I810(0): Supported Future Video Modes: (II) I810(0): #0: hsize: 1280 vsize 800 refresh: 60 vid: 129 I was already wondering why a card would report 1280x768, it's not the standard for that width, 1280x800 is. Try changing the modes to 1280x800. How the 768 ends up in the detection is probably something for the i810 driver developers to figure out. Changed to 1280x800, but no help. The diff between previous Xorg.0.log and the present is: 15c15 (==) Log file: /var/log/Xorg.0.log, Time: Tue Nov 11 14:18:44 2008 --- (==) Log file: /var/log/Xorg.0.log, Time: Tue Nov 11 13:20:39 2008 2033c2033 (II) I810(0): Not using mode 1280x800 (no mode of this name) --- (II) I810(0): Not using mode 1280x768 (no mode of this name) 2122,2124c2122,2124 (II) I810(0): Allocated 4 kB for HW cursor at 0x000 (0x07b99000) (II) I810(0): Allocated 16 kB for HW (ARGB) cursor at 0xfffb000 (0x07b9c000) (II) I810(0): Allocated 4 kB for Overlay registers at 0xfffa000 (0x07b9a000). --- (II) I810(0): Allocated 4 kB for HW cursor at 0x000 (0x0779) (II) I810(0): Allocated 16 kB for HW (ARGB) cursor at 0xfffb000 (0x07794000) (II) I810(0): Allocated 4 kB for Overlay registers at 0xfffa000 (0x07791000). not pretty much, execept that it neither accepts 1280x800 On that portable WinXP lets me choose between 1280x768, 1024x768, 800x600 and SuSE Linux 10.1 between exactly the same, plus 640x480... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and USBmemorystick
I installed (pkg_ad -r) desktopbsd-tools following instructions from http://desktopbsd.net/wiki/doku.php?id=doc:desktopbsd_tools_in_freebsd I did: # chgrp wheel /dev/da0 # chmod g+w /dev/da0s1 (I believe USB key is /dev/da0) # chgrp wheel /dev/ad0 # chmod g+w /dev/ad0s1 (anyway, did that too) # sysctl vfs.usermount=1 # chmod 1775 /media # ls -la / | grep media drwxrwxr-t root wheel /media # sysctl vfs.usermount=1 started $ /usr/local/bin/dbsd-traymounter inserted an USB memory key In Konqueror still nothing to see in /media what's wrong?? On Tuesday 11 November 2008 20:25:51 Pieter Donche wrote: If I insert a USB memory stick in my laptop with FreeBSD 7.0 nothing happens. On the same laptop in the SuSE 10.1 partition, the same USB stick appears in Konqueror under Storage Media and is ready to use) In FreeBSD, Konqueror shows nothing under Storage Media. Is this normal? This requires HAL-support with KDE and the KDE MEdia Manager enabled in the system services. It's fragile to get working and often requires extensive knowledge of HAL, dbus and policykit. This is where PC-BSD can be seen as SuSE for linux, as it has configured all these things to work out of the box, that normally a FreeBSD system administrator would set up. Alternatively, one can use the desktopbsd-tools from the ports to add some GUI system tray apps, among which a removable media manager. -- 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 [EMAIL PROTECTED]
root /etc/csh
FreeBSD 7.0 comes with the user root with start up shell /bin/csh As normal user I use bash (/usr/local/bin/bash installed) I would prefer to have bash also when working as root (su). Of course I can do # bash [root ~]# or I could change the startup shell in /etc/passwd, but would that be a wise thing to do or not? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
non-US keyboard and KDM
I installed KDE and the KDM display manager in FreeBSD. On my portable I have a non-US keyboard (a european country layout), in KDE I can set it to the appropriate keyboard layout. KDM login window is still in US qwerty keyboard, which makes me have to enter my password with different keystrokes :-) How to set an appropriate keyboard in KDM? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD network ISP provider
I installed FreeBSD 7.0 already on a system at my office (from CDs) and set up internet connection while installing using the office LAN (and its DHCP service). I installed FreeBSD also on my laptop at home (with no network connection). (with X windows; startx gives me twm ..) I want to install KDE3 from /usr/ports/x11/kde3 Tried as described: # cd /usr:ports/x11:kde3; make install clean I had hoped everything necessary would be found in the disk. But not: It returns errors because it tried to fetch packages from ftp sites ... an soon stops.. So I still need Internet connection? At home, I have an Internet connection via a Broadband Modem and an account at an Internet Service Provider. This was set up in WindowsXP succesfully (with IP 10.0.0.something, netmask 255.255.255.0, no gateway, 2 DNS server IP addresses provided by the ISP). When making the connection to my ISP I have to enter my username at the ISP provider ([EMAIL PROTECTED]) and my password) But how do I set up that in FreeBSD ?? In the Post-installation section during Setup, at the question 'Would you like to configure any Ethernet or SLIP/PPP network devides?) answering Yes shows the correct on-board netwerk interface (Broadcom BCM570xx PCI Gigabit ethernet card) I tried DHCP, but no success (which was to expect) Then I get the screen to fill in Host, Domain, Gateway, Name server IPv4 address, netmask ... What do I have to enter (Name server, netmask I can guess) for IP?, host?, domain? and where will come in my username/password for my ISP connection Thanks for hints. Is there any document describing such a connection? pieter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hardware Raid + hot-replace failed disk
On Thu, 6 Nov 2008, Wojciech Puchar wrote: Suppose you have a system with multiple disks managed by a hardware RAID controller in a RAID5 of RAID6 configuration, To FreeBSD it will look like e.g. a single large drive. what is RAID5 of RAID6??? RAID5 or RAID6 (sorry, typing error) If you want to extend your disk space by plugging in an extra disk, the hardware RAID controller will probably detect it and add it in his management, but will it be seen by FreeBSD? FreeBSD will see larger drive. With what command can you see that FreeBSD had 'seen' it ? Or is the the bsdlabel command? Is bsdlabel a partition management program (such as GParted, Partition Magic)? you then have to fix partition table (use bsdlabel -e) fix c partition to be actually sized of whole drive, and then a) add new partition(s) for new space b) extend the size of last partition and use growfs I guess here you mean 2 alternatives: a) using the new space for new partition(s) leaving the existing as they are or b) create no new partitions but extend the last partition to include the new space, by using the growfs command ? How can you make the added disk-space available for FreeBSD. Can this be done without shutting down the system? How?? i don't think FreeBSD can be told to reget device info from controller when partitions of that device are mounted. but i may be wrong Hmm, man growfs says: Currently growfs CAN ONLY ENLARGE UNMOUNTED FILE SYSTEMS. DO NOT TRY ENLARGING A MOUNTED FILE SYSTEM, YOUR SYSTEM WILL PANIC AND YOU WILL NOT BE ABLE TO USE THE FILE SYSTEM ANY LONGER. If your FreeDSB only has swap and a / file system (with all users inside /usr/home) or you set up FreeBSD with a swap, /, /var and /usr filesystems (with users in /usr/home) and you want to grow a file system (e.g. /usr to give the extra space to users) (scenario b)) then, I guess, you will need to go into single-user mode and boot from CD with a FreeBSD in RAM to be able extend the (unmounted) file system /usr Can scenario a) (making new file system for new space) be done in multi-user mode, or only in single-user mode, will it need a reboot ?? Is there any document (besides the manual pages bsdlabel, growfs, ..) that describes step-by-step what to do to grow an existing file system of to add a new file system on newly added disk space ? Pieter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
raid tool ZFS RAID-Z2 (RAID6)
raidz is available for Freebsd through the file system format ZFS and is similar to RAID-5. Is that in FreeBSD 7.0 Production release? But there is also RAID-Z2 which uses two forms of parity to achieve results similar to RAID6: the ability to sustain up to two drive failures without losing data.. Does Freebsd 7.0 production release also support raid-z2? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Hardware Raid + hot-replace failed disk
Suppose you have a system with multiple disks managed by a hardware RAID controller in a RAID5 of RAID6 configuration, To FreeBSD it will look like e.g. a single large drive. If you want to extend your disk space by plugging in an extra disk, the hardware RAID controller will probably detect it and add it in his management, but will it be seen by FreeBSD? How can you make the added disk-space available for FreeBSD. Can this be done without shutting down the system? How?? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]