Re: Clean PHP 5.2.12 Build Core Dumping
On Sat, 9 Jan 2010 16:52:57 -0800, Don O'Neil li...@lizardhill.com wrote: Ok... well, your idea is a good one, but it seems that the port is broken. I did a port update, which brought in the latest php build info from December, but when I run 'make' (without even editing the Makefile to add my own other modules I need) I get this: X11BASE is now deprecated. Unset X11BASE in make.conf and try again. *** Error code 1 Not even sure where it's getting that error message from, since I can't find any reference to X11BASE in any of the files in the package, or in my env. Any ideas? Have you checked /etc/make.conf? For X applications, there's no X11BASE anymore because the difference between /usr/local and /usr/X11R6 has been obsoleted by putting everything into /usr/local (which is correct according to FreeBSD's software management concept). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Clean PHP 5.2.12 Build Core Dumping
On Sat, 09 Jan 2010 22:47:45 -0500, Michael Powell nightre...@hotmail.com wrote: If installing with the ports system you shouldn't need to be editing any Makefiles. make config will give you list of options you may select from. That's correct. I forgot to add that there are some few ports that allow using an additional Makefile, i. e. Makefile.local in the port's directory, to contain compile time settings. Something similar can be achieved through the control files of various port management programs that then apply those settings if the port is compiled. A good example is mplayer where you can use this mechanism. As I said, I'm not sure if this still works. Note there is an initial build/install of PHP itself and a second port called php5-extensions which you then install for all the modules. Again, a make config will list all options. No need to mess with Makefiles. There's the command make config-recursive (if I recall it correctly) to go through the config screens of all dependent ports at once - this saves you time of unneccessary interaction. Try putting WITHOUT_X11=yes into /etc/make.conf. Some PHP modules such as GD try and pull in X dependencies; this will short circuit that. Excellent advice! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
must /compat/linux stay in root-fs?
Hello, On installing my laptop I did the 1st error and assigned only 512 MByte to the /root partition; now it turned out (2nd error) that somehow all /compat/linux stuff ended up in the /root partition: # du -sh /boot /compat 145M/boot 221M/compat and I don't even can install a new kernel because I don't have enough space in the /root; Can I safely move the /compat tu /usr/local/compat and do a symlink to let point /compat -- /usr/local/compat or is there some reason that linux-f10 ports put all into /compat in root-fs? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu ___ 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: Clean PHP 5.2.12 Build Core Dumping
On Sat, 9 Jan 2010 19:55:05 -0800, Don O'Neil li...@lizardhill.com wrote: I tried adding WITHOUT_X11=yes to /etc/make.conf as well as X11BASE= and X11BASE=, but I still get the same error. Remove them. This makes sure they are not defined, not even empty (as in #define BLA - symbol 'BLA' is defined). Where to go from here? Do I have and old version of something that is causing this? I get this error _right away_ before anything is even built. It seems to be a check by the Makefile at port's top level. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: must /compat/linux stay in root-fs?
On Sun, 10 Jan 2010 11:21:02 +0100, Matthias Apitz g...@unixarea.de wrote: Can I safely move the /compat tu /usr/local/compat and do a symlink to let point /compat -- /usr/local/compat or is there some reason that linux-f10 ports put all into /compat in root-fs? I don't see any problem to do so. On my 7 default install, there's /compat@ - usr/compat, and /usr lives on a separate partition. As long as the symlink is present, it should not be a problem. I see that you're suggestion /usr/local/compat instead of the default /usr/compat - maybe it's worth providing an additional symlink compat@ - local/compat from within /usr? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
NFS exporting mounted msdosfs subdir
Hello, There is an issue with my exported home folder. It has a subdirectory under which an msdosfs pen drive is mounted. The home folder gets exported nicely however the msdos subdirectory is not! Any idea how this could be solved? Some useful extracts: --- babapc# more /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ad4s1b none swap sw 0 0 /dev/ad4s1a / ufs rw 1 1 /dev/ad4s1e /tmp ufs rw 2 2 /dev/ad4s1f /usr ufs rw 2 2 /dev/ad4s1d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 /dev/da0s1 /usr/home/sbremal/usb_flash_drive msdosfs rw,noauto 0 0 babapc# more /etc/exports #The following examples export /usr to 3 machines named after ducks, #/usr/src and /usr/obj read-only to machines named after trouble makers, #/home and all directories under it to machines named after dead rock stars #and, /a to a network of privileged machines allowed to write on it as root. #/usr huey louie dewie #/usr/src /usr/obj -ro calvin hobbes #/home -alldirs janice jimmy frank #/a -maproot=0 -network 10.0.1.0 -mask 255.255.248.0 # # You should replace these lines with your actual exported filesystems. # Note that BSD's export syntax is 'host-centric' vs. Sun's 'FS-centric' one. /usr/home/sbremal babapc# mount /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad4s1e on /tmp (ufs, local, soft-updates) /dev/ad4s1f on /usr (ufs, NFS exported, local, soft-updates) /dev/ad4s1d on /var (ufs, local, soft-updates) /dev/da0s1 on /usr/home/sbremal/usb_flash_drive (msdosfs, local) 10.0.0.2:/usr/home/sbremal on /root/x (nfs) babapc# ls /root/x/usb_flash_drive/ - Nothing!!! babapc# ls /usr/home/sbremal/usb_flash_drive/ @Nokia Images Backup --- Any help would be much appreciated. (Would freebsd-fs be more appropriate to ask the question on?) Cheers, Balazs _ Keep your friends updated—even when you’re not signed in. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010 ___ 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
science/paraview: gmake[2]: *** [bin/QVTKCxxTests] Error 1, gmake[1]: *** [VTK/GUISupport/Qt/Testing/Cxx/CMakeFiles/QVTKCxxTests.dir/all] Error 2,gmake: *** [all] Error 2,*** Error code 1
Since a while I'm incapable of compiling ports/science/paraview on the most FreeBSD 8.0-STABLE/amd64 boxes around here. I do portmaster -dv on a regular basis on all of those machines and I suspect the port maintanance facility beeing corrupted since this error shows up on nearly every FreeBSd box. How can I check what's going wrong? Please reply to my eMail also, I'm not subsribing questions/ports list. Thanks, regards Oliver Linking CXX executable ../../../../../bin/QVTKCxxTests ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_open' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_close' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_ndims' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_dimid' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_nvars' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_strerror' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_dimname' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_varndims' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_varid' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_varname' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_vartype' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_vardimid' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_attlen' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_get_att_double' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_inq_dimlen' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_get_att_text' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_get_vars' ../../../../../bin/libvtkIO.so.pv3.6: undefined reference to `nc_get_var_double' gmake[2]: *** [bin/QVTKCxxTests] Error 1 gmake[1]: *** [VTK/GUISupport/Qt/Testing/Cxx/CMakeFiles/QVTKCxxTests.dir/all] Error 2 gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/science/paraview. ___ 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: Inserting PC card NIC, system stops
On 1/10/10, Hashimoto hsm...@gmail.com wrote: Thanks for your reply, Paul. $ uname -a FreeBSD musca.localdomain 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0 r201741: Fri Jan 8 01:01:18 JST 2010 r...@aries.localdomain:/usr/obj/usr/src/sys/GENERIC i386 insert PC card and eject it $ tail /var/log/messages Jan 9 21:29:12 musca kernel: cbb1: ready never happened, status = 00 Jan 9 21:29:12 musca kernel: ed0: corega K.K. (CG-LAPCCTXD) at port ed(4) appears to be driver for that card Sure. I'm using GENERIC kernel, and it includes cbb(4), ed(4) device driver. But the system does not work fine with this PC card. Then it could be bug in hardware(and in FreeBSD because it should not hang) or id ed(4) or in anything else, so report is as a bug. -- Paul B Mahol ___ 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: NFS exporting mounted msdosfs subdir
Hello, There is an issue with my exported home folder. It has a subdirectory under which an msdosfs pen drive is mounted. The home folder gets exported nicely however the msdos subdirectory is not! Any idea how this could be solved? Some useful extracts: --- babapc# more /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ad4s1b none swap sw 0 0 /dev/ad4s1a / ufs rw 1 1 /dev/ad4s1e /tmp ufs rw 2 2 /dev/ad4s1f /usr ufs rw 2 2 /dev/ad4s1d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 /dev/da0s1 /usr/home/sbremal/usb_flash_drive msdosfs rw,noauto 0 0 babapc# more /etc/exports #The following examples export /usr to 3 machines named after ducks, #/usr/src and /usr/obj read-only to machines named after trouble makers, #/home and all directories under it to machines named after dead rock stars #and, /a to a network of privileged machines allowed to write on it as root. #/usr huey louie dewie #/usr/src /usr/obj -ro calvin hobbes #/home -alldirs janice jimmy frank #/a -maproot=0 -network 10.0.1.0 -mask 255.255.248.0 # # You should replace these lines with your actual exported filesystems. # Note that BSD's export syntax is 'host-centric' vs. Sun's 'FS-centric' one. /usr/home/sbremal babapc# mount /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad4s1e on /tmp (ufs, local, soft-updates) /dev/ad4s1f on /usr (ufs, NFS exported, local, soft-updates) /dev/ad4s1d on /var (ufs, local, soft-updates) /dev/da0s1 on /usr/home/sbremal/usb_flash_drive (msdosfs, local) 10.0.0.2:/usr/home/sbremal on /root/x (nfs) babapc# ls /root/x/usb_flash_drive/ - Nothing!!! babapc# ls /usr/home/sbremal/usb_flash_drive/ @Nokia Images Backup --- Any help would be much appreciated. (Would freebsd-fs be more appropriate to ask the question on?) Cheers, Balazs You will need to export '/usr/home/sbremal/usb_flash_drive' also since it is another filesystem, not just a subdirectory. [reason you can see the subdirectory, but not the actual FS mounted in there] ]Peter[ ___ 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
Possible to run 2 instances of Bind DNS server in jails??
Hi, I'm just reading through a thread right now on a discussion or debate whether to ports Solaris Zones to FreeBSD. My main Google search criteria was basically that I wanted to know if FreeBSD had something similar. In this discussion it was mentioned that FreeBSD Jails where the sudo 'equivalent' to Zones but of course behave much more like a chroot environment. I have to ask if it's possible since I'm coming over from Solaris to dedicate NICs to Jails and run separate instances of applications in there, the one I am looking for primarily is Bind. As I would like to use a Sun Fire V480 server as a mainframe but stuck between the application advantages of FreeBSD and some of the virtualization technologies within Solaris. Has anyone got any advice or comments as to whether I can achieve my goal?? Many thanks, Kaya ___ 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: [PHP] Clean PHP 5.2.12 Build Core Dumping
Don O'Neil wrote: Core was generated by `php'. Program terminated with signal 11, Segmentation fault. #0 0x081d50a7 in sqlite3Select (pParse=0xbbc00080, p=0x0, eDest=164102200, iParm=0, pParent=0x24, parentTab=139141440, pParentAgg=0x84c10d8, aff=0x0) at /usr/local/directadmin/customapache/php-5.2.11/ext/pdo_sqlite/sqlite/src/sel ect.c:3172 3172 for(j=0; jpGroupBy-nExpr; j++){ First off, the compile directory listed is wrong, don't know where it got php-5.2.11 from I've experienced the same type of issue when building php RPM's on Linux. The solution is to either remove the previous php build or build it in a chroot build environment (such as mock for RPM based distros). ___ 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: science/paraview: gmake[2]: *** [bin/QVTKCxxTests] Error 1, gmake[1]: *** [VTK/GUISupport/Qt/Testing/Cxx/CMakeFiles/QVTKCxxTests.dir/all] Error 2,gmake: *** [all] Error 2,*** Error code 1
On Sun, 10 Jan 2010 12:10:38 +0100 O. Hartmann ohart...@mail.zedat.fu-berlin.de wrote: Since a while I'm incapable of compiling ports/science/paraview on the most FreeBSD 8.0-STABLE/amd64 boxes around here. I do portmaster -dv on a regular basis on all of those machines and I suspect the port maintanance facility beeing corrupted since this error shows up on nearly every FreeBSd box. How can I check what's going wrong? Please reply to my eMail also, I'm not subsribing questions/ports list. Thanks, I decided to install this as a test on my 9-CURRENT amd64 box. I encountered no errors at all. Note that, since this was never installed before, I ended up installing most of the dependencies from scratch. That may be a clue. I personally would try deinstalling/reinstalling its dependencies _by hand_. Note that I personally never use portmaster and can't comment on that. --- Gary Jennejohn ___ 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
Catastrophic Installation Failure now!
MAJOR SCREWUP I was frustrated by a failure to create a ROOT password and decided to do a clean reinstall Did a make deinstall from the following ports [i] /usr/ports/databases/mysql54-server [ii] /usr/ports/databases/mysql54-client [iii]/usr/ports/databases/mysql54-scripts Did a rm of the /etc/my.cnf file (There were no others in related or relevant areas) Also did a rm -rf of the database at /disk02/db/mysql/DATA Registered packages would be as follows:- # pkg_info | grep mysql bsdpan-DBD-mysql-4.013 DBD::mysql - MySQL driver for the Perl5 Database Interface php5-mysql-5.2.11_1 The mysql shared extension for php php5-mysqli-5.2.12 The mysqli shared extension for php qt4-mysql-plugin-4.4.3 Qt MySQL database plugin Reinstallation proceeded as follows: in /usr/ports/databases/mysql54-server == make 'pager=more' 'prompt=mysql54' 'socket=/usr/tmp/mysql.sock' 'localstatedir=/disk02/db/mysql/DATA' 'with_linuxthreads=yes' 'with_ssl=yes' install clean in /usr/ports/databases/mysql54-scripts == make install clean mysql client apparently installed as a dependency by the server After compilation and installation Did the following: [i]/usr/local/bin/mysql_install_db then [ii] /usr/local/bin/mysqld_safe first startup Stdout == [1] 37786 ax# 100110 07:05:36 mysqld_safe Logging to '/disk02/db/mysql/DATA/ax.lall.com.err'. 100110 07:05:37 mysqld_safe Starting mysqld daemon with databases from /disk02/db/mysql/DATA 100110 07:05:38 mysqld_safe mysqld from pid file /disk02/db/mysql/DATA/ax.lall.com.pid ended Now the err log from this is 100110 07:05:37 mysqld_safe Starting mysqld daemon with databases from /disk02/db/mysql/DATA 100110 7:05:37 [Note] Plugin 'FEDERATED' is disabled. /usr/local/libexec/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13) 100110 7:05:37 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. InnoDB: The InnoDB memory heap is disabled InnoDB: Neither mutexes nor rw_locks use GCC atomic builtins. InnoDB: The first specified data file ./ibdata1 did not exist: InnoDB: a new database to be created! 100110 7:05:37 InnoDB: Setting file ./ibdata1 size to 10 MB InnoDB: Database physically writes the file full: wait... 100110 7:05:37 InnoDB: Log file ./ib_logfile0 did not exist: new to be created InnoDB: Setting log file ./ib_logfile0 size to 5 MB InnoDB: Database physically writes the file full: wait... 100110 7:05:37 InnoDB: Log file ./ib_logfile1 did not exist: new to be created InnoDB: Setting log file ./ib_logfile1 size to 5 MB InnoDB: Database physically writes the file full: wait... InnoDB: Doublewrite buffer not found: creating new InnoDB: Doublewrite buffer created InnoDB: Creating foreign key constraint system tables InnoDB: Foreign key constraint system tables created 100110 7:05:38 InnoDB Plugin 1.0.4 started; log sequence number 0 100110 7:05:38 [ERROR] /usr/local/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13) 100110 7:05:38 [ERROR] Fatal error: Can't open and lock privilege tables: Can't find file: './mysql/host.frm' (errno: 13) 100110 07:05:38 mysqld_safe mysqld from pid file /disk02/db/mysql/DATA/ax.lall.com.pid ended repeating the command produced == 100110 07:12:01 mysqld_safe Starting mysqld daemon with databases from /disk02/db/mysql/DATA 100110 7:12:01 [Note] Plugin 'FEDERATED' is disabled. /usr/local/libexec/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13) 100110 7:12:01 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. InnoDB: The InnoDB memory heap is disabled InnoDB: Neither mutexes nor rw_locks use GCC atomic builtins. 100110 7:12:01 InnoDB: highest supported file format is Barracuda. InnoDB: Log scan progressed past the checkpoint lsn 37356 100110 7:12:01 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery. InnoDB: Reading tablespace information from the .ibd files... InnoDB: Restoring possible half-written data pages from the doublewrite InnoDB: buffer... InnoDB: Doing recovery: scanned up to log sequence number 44244 100110 7:12:01 InnoDB: Starting an apply batch of log records to the database... InnoDB: Progress in percents: 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 InnoDB: Apply batch completed 100110 7:12:02 InnoDB Plugin 1.0.4 started; log sequence number 44244 100110 7:12:02 [ERROR] /usr/local/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13) 100110 7:12:02 [ERROR] Fatal error: Can't open and lock privilege tables: Can't find file: './mysql/host.frm' (errno: 13) 100110 07:12:02 mysqld_safe mysqld from pid file /disk02/db/mysql/DATA/ax.lall.com.pid ended RUNNING THE SUGGESTED UPGRADE AT 100110 == # /usr/local/bin/mysql_upgrade Looking for 'mysql' as: /usr/local/bin/mysql Looking for 'mysqlcheck' as: /usr/local/bin/mysqlcheck
ANNOUNCE: New Custom XFCE isos based on 8.0-RELEASE-p2 (32 and 64 bits)
Hey all, I have just completed the second 8.0-RELEASE based build of the 'Custom releases' project hosted here: http://freebsd-custom.wikidot.com This time, both 32 and 64 bit isos are offered, both based on 8.0-RELEASE-p2 and using packages from the same ports tree. From this point on I will try to simultaneously release 32 and 64 bit images. You may download the ISO files immediately using the downloads page: http://freebsd-custom.wikidot.com/downloads-page This release is based on the latest XFCE desktop and includes a wide variety of desktop-related packages, like OpenOffice, abiword, gnumeric, firefox35, gimp, inkscape, evince and so on. The base system is 8.0-RELEASE-p2 which includes the latest security fixes. Make sure to read the README relevant to the iso you are downloading (32 or 64bit) as it contains important information on installation. In particular note: * The 'doc' set (FreeBSD documentation) is now once again included. Just select the language(s) of your choice to install. * The problem with 'libcheck-0.9.8' in the previous release has been resolved. * Installing linux related packages during initial setup needs a few more steps. This is due to differences in sysinstall between 7.X and 8.0 releases. A detailed explanation is provided in the README file. As always, please report any problems, success stories, comments and criticisms to mano...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Upgrading Standing Systems from 6.3 to 8.0
Robert Huff writes: Hot swap would be great, but I was referring to regular swap: human being with a screwdriver and a clue. Reliable outside contractor, if you absolutely can't send someone in-house. You actually gave me a really good idea. We've got people who I do trust to put in a CDROM or hook up a serial cable. I think I will make up a headless installation CD and send it and a serial communications server to our two remote campuses and have them connect the CS and pop in the CDROM on the system in question. Each FreeBSD box is half of a redundant pair so we can get along without one for a few hours which is probably less time than the upgrade to 7.0 and then to 8.0 would take, assuming nothing went wrong during either of those upgrades. I have seen cvs upgrades take anywhere from 2 to 8 hours, depending on the speed of the system, etc. We can ask them to hook up the CS, make sure it is working, and then have them install the CDROM. I actually did that once before and it worked. When done, we call them back and have them remove the CDROM. That way, it stays in the rack, in one piece with all cables connected and the remote staff is not asked to do as much. Thanks for helping me think through a solution. Martin McCormick ___ 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: Catastrophic Installation Failure now!
On Sun, 10 Jan 2010, jaymax wrote: MAJOR SCREWUP I was frustrated by a failure to create a ROOT password and decided to do a clean reinstall Did a make deinstall from the following ports [i] /usr/ports/databases/mysql54-server [ii] /usr/ports/databases/mysql54-client [iii]/usr/ports/databases/mysql54-scripts Did a rm of the /etc/my.cnf file (There were no others in related or relevant areas) FreeBSD standard should be in /usr/local/etc. I don't know mysql, though. Reinstallation proceeded as follows: in /usr/ports/databases/mysql54-server == make 'pager=more' 'prompt=mysql54' 'socket=/usr/tmp/mysql.sock' 'localstatedir=/disk02/db/mysql/DATA' 'with_linuxthreads=yes' 'with_ssl=yes' install clean in /usr/ports/databases/mysql54-scripts == make install clean mysql client apparently installed as a dependency by the server Those are outdated ports, or at least the only thing close in my ports tree is mysql55. Did the following: [i]/usr/local/bin/mysql_install_db then [ii] /usr/local/bin/mysqld_safe first startup Stdout == [1] 37786 ax# 100110 07:05:36 mysqld_safe Logging to '/disk02/db/mysql/DATA/ax.lall.com.err'. ... 100110 7:05:38 [ERROR] Fatal error: Can't open and lock privilege tables: Can't find file: './mysql/host.frm' (errno: 13) According to some web searching, host.frm is supposed to be created by mysql_install_db. Looking at the log file it created may help; suspect directory ownership or permissions, or maybe it is working in the wrong directory entirely. -Warren Block * Rapid City, South Dakota USA ___ 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
ANNOUNCE: New Custom XFCE isos based on 8.0-RELEASE-p2 (32 and 64 bits)
Manolis Kiagias writes: Hey all, I have just completed the second 8.0-RELEASE based build of the 'Custom releases' project hosted here: http://freebsd-custom.wikidot.com Nice!! Many many thanks. atb Glyn ___ 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: Possible to run 2 instances of Bind DNS server in jails??
The only bit I'm not certain on is dedicating a nic to a jail (more because I havent tried than because I believe it cant be done, I'd expect that the network stack virtualization in 8+ should allow this.) You can most definately run seperate instances of applications in jails. I'd recomend subscribing to the freebsd-jails mailing list (http://lists.freebsd.org/mailman/listinfo/freebsd-jail) for jail specific questions as I've only dabbled with them a little. But a 10 second example [r...@seaurchin ~]# jls JID IP Address Hostname Path 1 10.20.0.3 womble/var/jails/womble 2 10.20.0.2 foobar/var/jails/foobar [r...@seaurchin ~]# jexec 1 ps ax PID TT STAT TIME COMMAND 8166 ?? SsJ0:06.69 /usr/sbin/syslogd -s 8231 ?? SsJ1:00.94 sendmail: accepting connections (sendmail) 8235 ?? IsJ0:00.92 sendmail: Queue run...@00:30:00 for /var/spool/client 8241 ?? SsJ0:08.55 /usr/sbin/cron -s 79334 ?? IsJ0:00.06 /usr/sbin/named -u bind 79559 0 R+J0:00.00 ps ax [r...@seaurchin ~]# jexec 2 ps ax PID TT STAT TIME COMMAND 8504 ?? IsJ0:01.15 sendmail: Queue run...@00:30:00 for /var/spool/client 8510 ?? SsJ0:08.35 /usr/sbin/cron -s 79447 ?? IsJ0:00.07 /usr/sbin/named -u bind 79584 0 R+J0:00.00 ps ax Hope that helps Vince Kaya Saman wrote: Hi, I'm just reading through a thread right now on a discussion or debate whether to ports Solaris Zones to FreeBSD. My main Google search criteria was basically that I wanted to know if FreeBSD had something similar. In this discussion it was mentioned that FreeBSD Jails where the sudo 'equivalent' to Zones but of course behave much more like a chroot environment. I have to ask if it's possible since I'm coming over from Solaris to dedicate NICs to Jails and run separate instances of applications in there, the one I am looking for primarily is Bind. As I would like to use a Sun Fire V480 server as a mainframe but stuck between the application advantages of FreeBSD and some of the virtualization technologies within Solaris. Has anyone got any advice or comments as to whether I can achieve my goal?? Many thanks, Kaya ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Possible to run 2 instances of Bind DNS server in jails??
Vince Hoffman wrote: The only bit I'm not certain on is dedicating a nic to a jail (more because I havent tried than because I believe it cant be done, I'd expect that the network stack virtualization in 8+ should allow this.) You can most definately run seperate instances of applications in jails. I'd recomend subscribing to the freebsd-jails mailing list (http://lists.freebsd.org/mailman/listinfo/freebsd-jail) for jail specific questions as I've only dabbled with them a little. But a 10 second example [r...@seaurchin ~]# jls JID IP Address Hostname Path 1 10.20.0.3 womble/var/jails/womble 2 10.20.0.2 foobar/var/jails/foobar [r...@seaurchin ~]# jexec 1 ps ax PID TT STAT TIME COMMAND 8166 ?? SsJ0:06.69 /usr/sbin/syslogd -s 8231 ?? SsJ1:00.94 sendmail: accepting connections (sendmail) 8235 ?? IsJ0:00.92 sendmail: Queue run...@00:30:00 for /var/spool/client 8241 ?? SsJ0:08.55 /usr/sbin/cron -s 79334 ?? IsJ0:00.06 /usr/sbin/named -u bind 79559 0 R+J0:00.00 ps ax [r...@seaurchin ~]# jexec 2 ps ax PID TT STAT TIME COMMAND 8504 ?? IsJ0:01.15 sendmail: Queue run...@00:30:00 for /var/spool/client 8510 ?? SsJ0:08.35 /usr/sbin/cron -s 79447 ?? IsJ0:00.07 /usr/sbin/named -u bind 79584 0 R+J0:00.00 ps ax Hope that helps Vince Thanks Vince! That really helps a lot :-) Will check the jails mailing list out and see what I can discover regarding the NICs... Regards, Kaya ___ 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: science/paraview: gmake[2]: *** [bin/QVTKCxxTests] Error 1, gmake[1]: *** [VTK/GUISupport/Qt/Testing/Cxx/CMakeFiles/QVTKCxxTests.dir/all] Error 2,gmake: *** [all] Error 2,*** Error code 1
On Sun, 10 Jan 2010, O. Hartmann wrote: Since a while I'm incapable of compiling ports/science/paraview on the most FreeBSD 8.0-STABLE/amd64 boxes around here. I do portmaster -dv on a regular basis on all of those machines and I suspect the port maintanance facility beeing corrupted since this error shows up on nearly every FreeBSd box. The -d option refers to deleting stale distfiles, and -v is verbose, so I'm not sure how this is directly relevant. How can I check what's going wrong? Well it seems pretty obvious that there is a problem with one of your dependencies, but that port has a lot of them, which would make it hard to diagnose exactly which one is causing the problem. I would suggest that you do this: portmaster -Dv -e paraview-3.6.1 and let portmaster uninstall all of the dependencies that are only related to that port. when that's done, do the same command line with your installed version of cmake. Then try reinstalling paraview. If that still doesn't work you'll need to do some digging to determine what is failing, and then you can reinstall that port too. hope this helps, Doug ___ 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: Clean PHP 5.2.12 Build Core Dumping
I tried adding WITHOUT_X11=yes to /etc/make.conf as well as X11BASE= and X11BASE=, but I still get the same error. Remove them. This makes sure they are not defined, not even empty (as in #define BLA - symbol 'BLA' is defined). Where to go from here? Do I have and old version of something that is causing this? I get this error _right away_ before anything is even built. It seems to be a check by the Makefile at port's top level. Ok... I have no definition for X11BASE anywhere, not in my env, not in my /etc/make.conf, nowhwere... However, it's still complaining about X11BASE being deprecated. I tried just adding WITHOUT_X11=yes in /etc/make, and without it. I even searched all the Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to find any reference to X11, or X, or X11BASE, but nada... I don't even know where this error message is being generated from. I can't even do a basic make without it immediately spitting out the error: # make X11BASE is now deprecated. Unset X11BASE in make.conf and try again. *** Error code 1 Stop. Where should I look next? Any help is appreciated. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Catastrophic Installation Failure now!
On Sun, 10 Jan 2010 09:17:35 -0800 (PST) jaymax jayma...@gmail.com articulated: I was frustrated by a failure to create a ROOT password and decided to do a clean reinstall Did a make deinstall from the following ports [i] /usr/ports/databases/mysql54-server [ii] /usr/ports/databases/mysql54-client [iii]/usr/ports/databases/mysql54-scripts Did a rm of the /etc/my.cnf file (There were no others in related or relevant areas) Try this. pkg_delete -dfv mysql* That should delete all traces of MySQL You might also want to backup the contents of the /var/db/mysql folder also. In any case, delete the folder and it contents. While you are at it, delete the files in /usr/ports/distfiles also. Update the ports tree, and cd to the version of mysql you want to install. Run make config to insure it is configured correctly. Run; make install make clean Make sure that the correct entry is in the /etc/rc.conf file to enable MySQL to start on boot. I think it is: mysql_enable=YES. Either reboot or cd to the /usr/local/etc/rc.d directory and run the mysql startup script. I believe ./mysql is correct. This should create all of the necessary files and directories you need to initialise MySQL. -- Jerry ges...@yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD ipv6 rc.conf settings issue
On Sat, Jan 09, 2010 at 10:56:31AM +, Matthew Seaman wrote: Gary Kline wrote: This caught my interest this morning so I set up a commented-out trial in /etc/rc.d for my ipv6 entry; the one I had in my database /etc/namedb/* files blew my connection sky-high recently. Does this seem plausible: # ## ipv6 config # # ipv6_enable=YES # ipv6_defaultrouter=2002:d1b4:d5d2:: # ipv6_default_interface=em0 # ipv6_gateway_enable=YES given that my Adress record is 209.180.213.210 ? tia, gents, So you're using 6to4 tunnelling as described in stf(4)? That's a quite different setup to what has been discussed previously in this thread. I think 6to4 is, if not deprecated, certainly not the normal way of getting IPv6 connectivity nowadays. Generally you'ld get an address space allocation from your ISP, or failing that, a tunnel broker like Hurricane Electric[*]. Anyhow, as stf(4) says, you need to encode your IPv4 address as hex in the 6to4 address -- that looks correct: % perl -e 'map { printf %x\n, $_ } split( /\./, shift );' 209.180.213.210 d1 b4 d5 d2 However 2002:d1b4:d5d2:: is *your* network address, and having it as the default router sounds wrong to me. You need to assign addresses from that range to your hosts -- which you can do automatically by enabling rtadvd(8) on your gateway machine and rtsold(8) on your clients. Also, to use 6to4 you need to create a 'stf0' interface and make that the ipv6_default_interface. Errp! Matthew, you lost me entirely. I *do* want to use IPv6 eventually. I have it sent up, latenly, in my mail and DNS files. I do understand the need to go to v6 in a few years, but it is probably going to take me that long to get mi mind around the workings of the whole set of issues. [[I'm learning new+exciting things about pfSEnse and networking-in-detail while getting X11 running on my new server]] Are there any IPv6-for-Dummies around? The man pages are things you read for reference; or at least that's been my experience! This is all independent of setting up IPv6 related items in your DNS. Get the IPv6 connectivity working first -- use ping6 and traceroute6 with IPv6 numbers to confirm connectivity, and then worry about DNS settings. I'll google around for some insights of things-v6; but you may know what's best. thanks, gary Cheers, Matthew [*] Which is pretty crazy given that the prediction is IPv4 space is going to run out around 2012[+]. All of the major ISPs and NSPs really should be providing IPv6 natively by now. [+] Potential for another IT-feeding-frenzy-panic scenario like the run up to Y2K. Make sure IPv6 is on your CV... -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix ___ 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
can I leverage off our new comcast wireless internet.
Folks, The problem is: how to keep this short and maintain some logic... Okay, I'll start with the several times that thought.org was down during my migration from an OLD to a new server. Got that done late last month. Wife+daughter were at me whenever my system was down; finally I said, fine, you both order Comcast; I'll make do with my telco, Qwest. Yesterday morning the cable installer used our telco line and now we have two Internet feeds. --I'll spare you the 28 hours thought.org was dead; I'll just say that going to one's thinking-place and thinking-thinking-thinking does good sometimes. My *switch* needed to be power-cycled. Now I am back; now on to other things.-- A few of you have made mention of my only having one link to the Internet. Now there are two available: the telephone company and the cable company. Can I make use of comcast to give me a secondary nameserver, somehow, someway, I don't care how? My ThinkPad has builtin wireless detection; that much showed up when I was using Windoze. I have Zero idea about my Dell server. The long and the short of it is: can I take advantage of having two 'Net connections, and if so, how? -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php ___ 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: must /compat/linux stay in root-fs?
On Sun, 10 Jan 2010 11:21:02 +0100 Matthias Apitz g...@unixarea.de wrote: Can I safely move the /compat tu /usr/local/compat and do a symlink to let point /compat -- /usr/local/compat or is there some reason that linux-f10 ports put all into /compat in root-fs? For me /compat was a symlink to /usr/compat by default. Perhaps it's put there by sysinstall rather than the port. ___ 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: Inserting PC card NIC, system stops
Hashimoto wrote: Thanks for your reply, Paul. $ uname -a FreeBSD musca.localdomain 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0 r201741: Fri Jan 8 01:01:18 JST 2010 r...@aries.localdomain:/usr/obj/usr/src/sys/GENERIC i386 insert PC card and eject it $ tail /var/log/messages Jan 9 21:29:12 musca kernel: cbb1: ready never happened, status = 00 Jan 9 21:29:12 musca kernel: ed0: corega K.K. (CG-LAPCCTXD) at port ed(4) appears to be driver for that card Sure. I'm using GENERIC kernel, and it includes cbb(4), ed(4) device driver. But the system does not work fine with this PC card. You are not clear just how you are inserting the nic card. Are you trying to insert the card while Freebsd is up and running or inserting the card while the pc is powered off and them during bootup post you get those msgs? ___ 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
buildkernel w/o symbols?
So I'm an idiot, and I couldn't figure out how to label, except sysinstall autos, and now I have a puny 512MB rootfs, which I can't make installkernel from 8-rc1 to 8-stable, the only 'big' thing I can find on the drive is the symbols in /boot/kernel... Is there a right way out of this mess? Thanks, Steve ___ 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: buildkernel w/o symbols?
At Sun, 10 Jan 2010 21:36:09 -0700, Steve Franks wrote: So I'm an idiot, and I couldn't figure out how to label, except sysinstall autos, and now I have a puny 512MB rootfs, which I can't make installkernel from 8-rc1 to 8-stable, the only 'big' thing I can find on the drive is the symbols in /boot/kernel... Is there a right way out of this mess? 1. build a kernel without makeoptionsDEBUG=-g 2. rm /boot/kernel/*.symbols before make installkernel 3. Read the entry 20060118 of /usr/src/UPDATING -Herbert ___ 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
My microphone signal gets lost
My Realtek ALC272 card microfon spontaneously stops working. Sometimes skype works fine, sometimes only very weak and distorted signal goes out. But microphone always sounds strong in the speakers. Here is my mixer state when I had a problem: Mixer vol is currently set to 96:96 Mixer pcm is currently set to 100:100 Mixer mic is currently set to 99:99 Mixer mix is currently set to 92:92 Mixer rec is currently set to 94:94 Mixer ogain is currently set to 50:50 Mixer monitor is currently set to 89:89 Driver snd_hda.ko is loaded: hdac0: HDA Codec #0: Realtek ALC272 pcm0: HDA Realtek ALC272 PCM #0 Analog at cad 0 nid 1 on hdac0 What could have caused the problem? Yuri ___ 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
Reference to your Work
Hello, Greetings of the day! Please allow me to introduce myself as a member of the technical research team at EC-Council. Currently we are finalizing the release version of our courseware that prepares aspirants for the certification *‘CEHv7’* as awarded by EC-Council. In this context, we would like to seek your permission to include references to your work *“Wireless Networking* published at ‘* http://www.freebsd.org/doc/en/books/handbook/network-wireless.html*’ as a resource material for the said instructional material. This will further enrich the knowledge base shared with the students and the intent is solely to disseminate knowledge-to-knowledge seekers. It would be an honor for us to feature your work here and as such, we look forward to hearing from you regarding your kind consent. As EC-Council is seen as a leader in Information Technology education globally, reference to your work in our materials will provide further exposure to your expertise and the good work that you and/or your corporation has done in this space to global professionals in that space. We believe that this will benefit you as it would the students. Others that have worked with us previously have seen a surge in the demand/exposure to their product/services. All due credits will be given in the courseware in the research endnotes and if you would like to adhere to any specific copyright clause, please do let us know. We are committed towards protecting intellectual property and willing to do all that it takes to uphold this principle. Thank you for your time and consideration. -- Thanks Regards, Spavan EC-Council spavan...@eccouncil.org www.eccouncil.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org