Re: ezjail
Aiza wrote: Ruben de Groot wrote: On Mon, Mar 22, 2010 at 11:23:54AM +0100, Dh?nin Jean-Jacques typed: on the lan gives me no sockets mesg. And ftp from 10.0.10.6 to 10.0.20.30 the ftp jail gives me no connection error. add sysctl security.jail.allow_raw_sockets=1 or in /etc/sysctl.conf on the host (not in in the jail) This will enable him to ping another host from within the jail. I won't do anything for ftp. OP: what exact error do you get? And does ftp work *within* the jail (ftp localhost)? with sysctl security.jail.allow_raw_sockets=1 done on the host. From within the jail did ping -c 2 10.0.10.6 which is a pc on the lan gives me socket: Operation not permitted mesg. And ftp from 10.0.10.6 to 10.0.20.30 the ftp jail gives me no connection error. Just how am i to determine if ftp work *within* the jail ftp localhost? For the archives. This is the results from the original poster. My original goal was to test jails on the gateway for access only from the lan users. To wanted a jailed ftp service for LAN users to upload and download stuff between them selfs. I already have a working lan users ftp setup on the gateway server so this jail setup is not really needed. So it's not a problem of knowing how to setup ftp. My main vehicle of jail management was ezjail. Did not play with the native jail command. The final outcome is I could not get jails to communicate over the private LAN. Seeing as jails design uses public ip address, it's little wonder it wont work with private LAN ip address. In time jails and ezjail will mature and maybe evolve into working with jails with private ip address. But for now jails don't serve my purposes. ___ 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
Also have a dead box [ WAS: Re: OT: dead box ]
On Sun, 21 Mar 2010 11:23:34 + (06:23 CDT) Chris Whitehouse wrote: When you press the power button does the cpu fan or the power supply fan spin for a moment then stop? That's a sign that something on or plugged in to the motherboard has blown. Unplug things and test again. Chris Just a few days ago, I was helping a friend build a system (with all brand new components, I might add) and we had this very problem. After sticking in the CPU and RAM and hooking up and turning on the PSU, the green LED on the motherboard turns on. However, the second the power button is pressed, everything flashes for a second, then turns back off. The green LED on the motherboard also remains on. The only way to get it to flash again is to turn off the PSU, wait, then turn it back on. We tried re-seating everything, to no avail. Reading this thread, someone else mentioned beep codes and that if there were none, it's most likely a fried motherboard. Can anyone else confirm this? ~Corey ___ 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: Also have a dead box [ WAS: Re: OT: dead box ]
Reading this thread, someone else mentioned beep codes and that if there were none, it's most likely a fried motherboard. Can anyone else confirm this? Hummm, I think that is the CPU is missing/dead, you would get no beep. Olivier ___ 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 compare permissions between two dirs
In freebsd-questions Digest, Vol 303, Issue 2, Message: 11 On Mon, 22 Mar 2010 07:33:28 -0400 Aryeh M. Friedman aryeh.fried...@gmail.com In switching to a new make file for a personal project I have run into the problem of under the old makefile everything works (web site) and under the new one it does not... when manually looking at the two dirs they appear identical in layout, sizes and perms (dir and file level) but I want to make sure... is there any way to compare two diff dirs and see if they only differ in date stamps? (note since there are several developers working on this project I need to compare even if the owners are diff) % diff dir1 dir2 should do what you need, to compare file existence and contents. % ls -lrt bittorrent bittorrent2 bittorrent2: total 82 -rw-r- 1 smithi smithi 81110 Nov 22 2004 bittorrentecon.pdf -rw-r- 1 smithi smithi 0 Jun 9 2006 not_in_1 -rw-r- 1 smithi smithi 49 Jun 9 2006 differingfile bittorrent: total 82 -rw-r- 1 smithi smithi 81110 Nov 22 2004 bittorrentecon.pdf -rw-r- 1 smithi smithi 0 Jun 9 2006 not_in_2 -rw-r- 1 smithi smithi 28 Jun 9 2006 differingfile % diff bittorrent bittorrent2 diff bittorrent/differingfile bittorrent2/differingfile 1,2c1,3 this one in bittorrent dir --- this one in bittorrent2 dir with an extra line Only in bittorrent2: not_in_1 Only in bittorrent: not_in_2 Then to just compare (eg) permissions and names, something like: ls -la dir1 | awk '{print $1,$9}' /tmp/lsd1 ls -la dir2 | awk '{print $1,$9}' /tmp/lsd2 diff /tmp/lsd1 /tmp/lsd2 cheers, Ian ___ 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: Also have a dead box [ WAS: Re: OT: dead box ]
Corey John Bukolt wrote: On Sun, 21 Mar 2010 11:23:34 + (06:23 CDT) Chris Whitehouse wrote: When you press the power button does the cpu fan or the power supply fan spin for a moment then stop? That's a sign that something on or plugged in to the motherboard has blown. Unplug things and test again. Chris Just a few days ago, I was helping a friend build a system (with all brand new components, I might add) and we had this very problem. After sticking in the CPU and RAM and hooking up and turning on the PSU, the green LED on the motherboard turns on. However, the second the power button is pressed, everything flashes for a second, then turns back off. The green LED on the motherboard also remains on. The only way to get it to flash again is to turn off the PSU, wait, then turn it back on. We tried re-seating everything, to no avail. Reading this thread, someone else mentioned beep codes and that if there were none, it's most likely a fried motherboard. Can anyone else confirm this? Beep codes may be available, but the nature will depend upon the manufacturer and the BIOS. Different manufacturers will produce different products. In the bad old days the most common beep codes were designed to indicate a video BIOS did not initialize, and then the main area of codes indicated something wrong in the memory subsystem. Pretty much if they made it past these two points the board would boot. And, of course, you need a speaker hooked up which I commonly don't because I don't want any beeps. One thing to be aware of with regard to modern day motherboards and power supplies. I don't recall the exact standards nomenclature, but they are spelled out in a spec. Modern day motherboards will have a main power connector with either 20 or 24 pins. Some are wired so that a 20 pin power supply cable can only go into some of the pins of a 24 pin connector, leaving 4 open. Some power supplies have a split cable which has a 20 pin and a 4 pin that can be hooked together and will occupy all 24 pins of a 24 pin connector. In either case, there is also another second power connector which is usually fairly close nearby to the CPU socket. With slightly older boards this will be a 4 pin and newer boards it will be an 8 pin. On older power supplies there may be only one 4 pin cable designed to plug into this connector. Newer models will usually have a cable that splits into two 4 pin plugs, so as to be able to plug both into an 8 pin socket while retaining backwards compatibility with the older 4 pin boards. This second connector goes to a high current 12volt rail within the power supply and drives all those 'multi-phase' regulators near the CPU. One thing that is consistent is motherboards will not even attempt to boot if this second power cable is not connected or cannot supply sufficient amps. Some power supplies may even beep or have an LED that flashes red. Overlook this and the board will never boot. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Flash sometimes freezes firefox, also many npviewer.bin processes left running around
On Mon,22-03-2010 [17:41:16], Steve Franks wrote: /usr/ports/www/xpi-noscript is another option, not without caveats... Steve On Thu, Mar 18, 2010 at 6:47 PM, Yuri y...@rawbw.com wrote: Sometimes after some flash object is displayed firefox gets frozen for many few seconds,maybe ~20sec. Do you see the same? Is there anyfix for this? In additions I have 54 processes like this one 50006 ?? I 0:00.00 /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin --plugin /usr/local/lib/linux-mozilla/plugins/libflashplayer.so --connection hanging around even after firefox process exits. linux-f10-flashplugin-10.0r45 nspluginwrapper-1.2.2_5 firefox-3.5.8,1 Yuri Hi! There was a workaround for this issue published by DutchDaemon on forums.freebsd.org. I'm too lazy today to seek for that thread, sorry :) What he suggested is a simple cronjob script intended to constantly check process list and kill any single remaining proccess of npviewer.bin It works, but you should check every minute or so. -- Best regards, Jeff | Nobody wants to say how this works. | | Maybe nobody knows ... | | Xorg.conf(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
Re: Flash sometimes freezes firefox, also many npviewer.bin processes left running around
No, the addon called NoScript is used to block JavaScript, Flash and co. But here the problem is the npviewer and/or the Flash plugin that is/are buggy. If you want to see a video on Youtube for example, you must allow JavaScript and Flash for Youtube in NoScript. Otherwise you can't see the video. I use this addon in Firefox 3.6 to block unwanted scripts but when I use Flash I got the same problem. --- En date de : Mar 23.3.10, Steve Franks bahamasfra...@gmail.com a écrit : De: Steve Franks bahamasfra...@gmail.com Objet: Re: Flash sometimes freezes firefox, also many npviewer.bin processes left running around À: y...@rawbw.com Cc: freebsd-questions@freebsd.org Date: Mardi 23 mars 2010, 0h41 /usr/ports/www/xpi-noscript is another option, not without caveats... Steve On Thu, Mar 18, 2010 at 6:47 PM, Yuri y...@rawbw.com wrote: Sometimes after some flash object is displayed firefox gets frozen for many few seconds,maybe ~20sec. Do you see the same? Is there anyfix for this? In additions I have 54 processes like this one 50006 ?? I 0:00.00 /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin --plugin /usr/local/lib/linux-mozilla/plugins/libflashplayer.so --connection hanging around even after firefox process exits. linux-f10-flashplugin-10.0r45 nspluginwrapper-1.2.2_5 firefox-3.5.8,1 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 ___ 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
freebsd-update insists on updating fresh system
Hi all, I've performed system upgrade last night, then I wanted to give a try to freebsd-update tool. If I understand it correctly, it should fetch only updates to my currently working system (unless -r option was given). But now it insists to upgrade my 6.4-p9 system to 6.4-p9 system: k2# uname -a FreeBSD k2.xxx 6.4-RELEASE-p9 FreeBSD 6.4-RELEASE-p9 #0: Mon Mar 22 17:21:50 CET 2010 m...@xxx:/usr/obj/usr/src/sys/K2 i386 k2# freebsd-update fetch Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 6.4-RELEASE from update4.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. The following files will be updated as part of updating to 6.4-RELEASE-p9: /usr/src/contrib/lukemftpd/src/ftpd.c /usr/src/etc/mtree/BSD.var.dist /usr/src/lib/libc/db/btree/bt_split.c /usr/src/lib/libc/db/hash/hash_buf.c /usr/src/lib/libc/db/mpool/mpool.c /usr/src/libexec/ftpd/extern.h /usr/src/libexec/ftpd/ftpcmd.y /usr/src/libexec/ftpd/ftpd.c /usr/src/sys/conf/newvers.sh /usr/src/sys/fs/devfs/devfs_vnops.c /usr/src/sys/kern/kern_event.c /usr/src/sys/kern/kern_exec.c /usr/src/sys/kern/kern_fork.c /usr/src/sys/kern/sys_pipe.c /usr/src/sys/kern/uipc_domain.c /usr/src/sys/netinet6/in6.c /usr/src/sys/sys/event.h /usr/src/sys/sys/pipe.h /usr/src/usr.sbin/freebsd-update/freebsd-update.sh k2# Why is it doing it so? On the other hand, what is the suggested way to upgrade a system with custom kernel? Since freebsd-update cannot upgrade custom kernel, I have to build it on my own. And it says, that I have to install new kernel before I run 'freebsd-update install'. Does that mean, that I have to fetch source tree, build/install new kernel, and then fetch world binary updates? -- Mikolaj Rydzewski m...@ceti.pl ___ 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-update insists on updating fresh system
Hi, I have experienced this when you use csup to sync your sources. You have to use one or other but not twice. There is a difference of the date on the files, because freebsd-update patches are created before the CVS commits are done. see this thread on FreeBSD Forums : http://forums.freebsd.org/showpost.php?p=30920postcount=9 --- En date de : Mar 23.3.10, Mikolaj Rydzewski m...@ceti.pl a écrit : De: Mikolaj Rydzewski m...@ceti.pl Objet: freebsd-update insists on updating fresh system À: freebsd-questions@freebsd.org Date: Mardi 23 mars 2010, 8h47 Hi all, I've performed system upgrade last night, then I wanted to give a try to freebsd-update tool. If I understand it correctly, it should fetch only updates to my currently working system (unless -r option was given). But now it insists to upgrade my 6.4-p9 system to 6.4-p9 system: k2# uname -a FreeBSD k2.xxx 6.4-RELEASE-p9 FreeBSD 6.4-RELEASE-p9 #0: Mon Mar 22 17:21:50 CET 2010 m...@xxx:/usr/obj/usr/src/sys/K2 i386 k2# freebsd-update fetch Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 6.4-RELEASE from update4.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. The following files will be updated as part of updating to 6.4-RELEASE-p9: /usr/src/contrib/lukemftpd/src/ftpd.c /usr/src/etc/mtree/BSD.var.dist /usr/src/lib/libc/db/btree/bt_split.c /usr/src/lib/libc/db/hash/hash_buf.c /usr/src/lib/libc/db/mpool/mpool.c /usr/src/libexec/ftpd/extern.h /usr/src/libexec/ftpd/ftpcmd.y /usr/src/libexec/ftpd/ftpd.c /usr/src/sys/conf/newvers.sh /usr/src/sys/fs/devfs/devfs_vnops.c /usr/src/sys/kern/kern_event.c /usr/src/sys/kern/kern_exec.c /usr/src/sys/kern/kern_fork.c /usr/src/sys/kern/sys_pipe.c /usr/src/sys/kern/uipc_domain.c /usr/src/sys/netinet6/in6.c /usr/src/sys/sys/event.h /usr/src/sys/sys/pipe.h /usr/src/usr.sbin/freebsd-update/freebsd-update.sh k2# Why is it doing it so? On the other hand, what is the suggested way to upgrade a system with custom kernel? Since freebsd-update cannot upgrade custom kernel, I have to build it on my own. And it says, that I have to install new kernel before I run 'freebsd-update install'. Does that mean, that I have to fetch source tree, build/install new kernel, and then fetch world binary updates? -- Mikolaj Rydzewski m...@ceti.pl ___ 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: Also have a dead box [ WAS: Re: OT: dead box ]
On Tue, 2010-03-23 at 14:36 +0700, Olivier Nicole wrote: Reading this thread, someone else mentioned beep codes and that if there were none, it's most likely a fried motherboard. Can anyone else confirm this? Hummm, I think that is the CPU is missing/dead, you would get no beep. Olivier I thought this as well, although googling shows that quite a few motherboard BIOSes will beep if there is a missing or dead CPU. I'll have to double check this, since I don't know the model number of the board. ___ 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
OpenOffice 3.2 fails to build on FreeBSD 8.0-STABLE/amd64
I have trouble building/upgrading OpenOffice 3.2 on a SMP box running FreeBSD 8.0-STABLE/amd64. Whenever I try to portmaster/portupgrade an existing installation of OpenOffice 3.1.1 the update ends up in the error below. On another box, also running FreeBSD 8.0-STABLE/amd64, but UP and much less memory (2GB, the first one comes with 8GB RAM) I get the same error. Any suggestions to fix this without deinstalling OpenOffice 3.1.1 (I need OO, so deinstallinmg a running verison is inappropriate)? Regards, Oliver [...] - SHL2FILTERFILE not set! - dummy file to keep the dependencies for later use. -- Making: ../unxfbsdx.pro/lib/libslideshowtestfx.so c++ -Wl,-z,combreloc -Wl,-z,origin -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -shared -L../unxfbsdx.pro/lib -L../lib -L/usr/ports/editors/open ffice.org-3/work/OOO320_m12/solenv/unxfbsdx/lib -L/usr/ports/editors/openoffice.org-3/work/OOO320_m12/solver/320/unxfbsdx.pro/lib -L/usr/ports/e itors/openoffice.org-3/work/OOO320_m12/solenv/unxfbsdx/lib -L/usr/local/diablo-jdk1.6.0/lib -L/usr/local/diablo-jdk1.6.0/jre/lib/amd64 -L/usr/lo al/diablo-jdk1.6.0/jre/lib/amd64/server -L/usr/local/diablo-jdk1.6.0/jre/lib/amd64/native_threads -L/usr/local/lib ../unxfbsdx.pro/slo/slideshow est_dflt_version.o -o ../unxfbsdx.pro/lib/libslideshowtestfx.so ../unxfbsdx.pro/slo/barwipepolypolygon.o ../unxfbsdx.pro/slo/boxwipe.o ../unxfbs x.pro/slo/clippingfunctor.o ../unxfbsdx.pro/slo/combtransition.o ../unxfbsdx.pro/slo/fourboxwipe.o ../unxfbsdx.pro/slo/barndoorwipe.o ../unxfbsd .pro/slo/iriswipe.o ../unxfbsdx.pro/slo/veewipe.o ../unxfbsdx.pro/slo/ellipsewipe.o ../unxfbsdx.pro/slo/checkerboardwipe.o ../unxfbsdx.pro/slo/r ndomwipe.o ../unxfbsdx.pro/slo/waterfallwipe.o ../unxfbsdx.pro/slo/clockwipe.o ../unxfbsdx.pro/slo/fanwipe.o ../unxfbsdx.pro/slo/pinwheelwipe.o ./unxfbsdx.pro/slo/snakewipe.o ../unxfbsdx.pro/slo/spiralwipe.o ../unxfbsdx.pro/slo/sweepwipe.o ../unxfbsdx.pro/slo/figurewipe.o ../unxfbsdx.pro slo/doublediamondwipe.o ../unxfbsdx.pro/slo/zigzagwipe.o ../unxfbsdx.pro/slo/parametricpolypolygonfactory.o ../unxfbsdx.pro/slo/shapetransitionf ctory.o ../unxfbsdx.pro/slo/slidetransitionfactory.o ../unxfbsdx.pro/slo/transitionfactorytab.o ../unxfbsdx.pro/slo/transitiontools.o ../unxfbsd .pro/slo/slidechangebase.o ../unxfbsdx.pro/slo/activitybase.o ../unxfbsdx.pro/slo/activitiesfactory.o ../unxfbsdx.pro/slo/continuousactivitybase o ../unxfbsdx.pro/slo/continuouskeytimeactivitybase.o ../unxfbsdx.pro/slo/discreteactivitybase.o ../unxfbsdx.pro/slo/simplecontinuousactivitybas .o ../unxfbsdx.pro/slo/animationaudionode.o ../unxfbsdx.pro/slo/animationcommandnode.o ../unxfbsdx.pro/slo/animationbasenode.o ../unxfbsdx.pro/s o/animationcolornode.o ../unxfbsdx.pro/slo/animationnodefactory.o ../unxfbsdx.pro/slo/animationpathmotionnode.o ../unxfbsdx.pro/slo/animationset ode.o ../unxfbsdx.pro/slo/animationtransformnode.o ../unxfbsdx.pro/slo/animationtransitionfilternode.o ../unxfbsdx.pro/slo/basecontainernode.o . /unxfbsdx.pro/slo/basenode.o ../unxfbsdx.pro/slo/nodetools.o ../unxfbsdx.pro/slo/paralleltimecontainer.o ../unxfbsdx.pro/slo/propertyanimationno e.o ../unxfbsdx.pro/slo/sequentialtimecontainer.o ../unxfbsdx.pro/slo/generateevent.o ../unxfbsdx.pro/slo/appletshape.o ../unxfbsdx.pro/slo/back roundshape.o ../unxfbsdx.pro/slo/drawinglayeranimation.o ../unxfbsdx.pro/slo/drawshape.o ../unxfbsdx.pro/slo/drawshapesubsetting.o ../unxfbsdx.pro/slo/externalshapebase.o ../unxfbsdx.pro/slo/gdimtftools.o ../unxfbsdx.pro/slo/intrinsicanimationactivity.o ../unxfbsdx.pro/slo/mediashape.o ../unxfbsdx.pro/slo/shapeimporter.o ../unxfbsdx.pro/slo/viewappletshape.o ../unxfbsdx.pro/slo/viewbackgroundshape.o ../unxfbsdx.pro/slo/viewmediashape.o ../unxfbsdx.pro/slo/viewshape.o ../unxfbsdx.pro/slo/layer.o ../unxfbsdx.pro/slo/layermanager.o ../unxfbsdx.pro/slo/shapemanagerimpl.o ../unxfbsdx.pro/slo/slideanimations.o ../unxfbsdx.pro/slo/slideimpl.o ../unxfbsdx.pro/slo/userpaintoverlay.o ../unxfbsdx.pro/slo/activitiesqueue.o ../unxfbsdx.pro/slo/animatedsprite.o ../unxfbsdx.pro/slo/animationfactory.o ../unxfbsdx.pro/slo/attributemap.o ../unxfbsdx.pro/slo/color.o ../unxfbsdx.pro/slo/delayevent.o ../unxfbsdx.pro/slo/eventmultiplexer.o ../unxfbsdx.pro/slo/eventqueue.o ../unxfbsdx.pro/slo/expressionnodefactory.o ../unxfbsdx.pro/slo/rehearsetimingsactivity.o ../unxfbsdx.pro/slo/screenupdater.o ../unxfbsdx.pro/slo/shapeattributelayer.o ../unxfbsdx.pro/slo/shapesubset.o ../unxfbsdx.pro/slo/slidebitmap.o ../unxfbsdx.pro/slo/slideshowcontext.o ../unxfbsdx.pro/slo/slideshowimpl.o ../unxfbsdx.pro/slo/slideview.o ../unxfbsdx.pro/slo/smilfunctionparser.o ../unxfbsdx.pro/slo/soundplayer.o ../unxfbsdx.pro/slo/tools.o ../unxfbsdx.pro/slo/unoviewcontainer.o ../unxfbsdx.pro/slo/usereventqueue.o ../unxfbsdx.pro/slo/waitsymbol.o ../unxfbsdx.pro/slo/wakeupevent.o
Re: Flash sometimes freezes firefox, also many npviewer.bin processes left running around
Here the link to this workaround by DutchDaemon : http://forums.freebsd.org/showpost.php?p=67155postcount=15 --- En date de : Mar 23.3.10, Jeff Laine wtf.jla...@gmail.com a écrit : De: Jeff Laine wtf.jla...@gmail.com Objet: Re: Flash sometimes freezes firefox, also many npviewer.bin processes left running around À: Steve Franks bahamasfra...@gmail.com Cc: y...@rawbw.com, freebsd-questions@freebsd.org Date: Mardi 23 mars 2010, 8h36 On Mon,22-03-2010 [17:41:16], Steve Franks wrote: /usr/ports/www/xpi-noscript is another option, not without caveats... Steve On Thu, Mar 18, 2010 at 6:47 PM, Yuri y...@rawbw.com wrote: Sometimes after some flash object is displayed firefox gets frozen for many few seconds,maybe ~20sec. Do you see the same? Is there anyfix for this? In additions I have 54 processes like this one 50006 ?? I 0:00.00 /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin --plugin /usr/local/lib/linux-mozilla/plugins/libflashplayer.so --connection hanging around even after firefox process exits. linux-f10-flashplugin-10.0r45 nspluginwrapper-1.2.2_5 firefox-3.5.8,1 Yuri Hi! There was a workaround for this issue published by DutchDaemon on forums.freebsd.org. I'm too lazy today to seek for that thread, sorry :) What he suggested is a simple cronjob script intended to constantly check process list and kill any single remaining proccess of npviewer.bin It works, but you should check every minute or so. -- Best regards, Jeff | Nobody wants to say how this works. | | Maybe nobody knows ... | | Xorg.conf(5) | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Also have a dead box [ WAS: Re: OT: dead box ]
On Tue, Mar 23, 2010 at 02:05:49AM -0500, Corey John Bukolt wrote: On Sun, 21 Mar 2010 11:23:34 + (06:23 CDT) Chris Whitehouse wrote: When you press the power button does the cpu fan or the power supply fan spin for a moment then stop? That's a sign that something on or plugged in to the motherboard has blown. Unplug things and test again. Chris Just a few days ago, I was helping a friend build a system (with all brand new components, I might add) and we had this very problem. After sticking in the CPU and RAM and hooking up and turning on the PSU, the green LED on the motherboard turns on. However, the second the power button is pressed, everything flashes for a second, then turns back off. The green LED on the motherboard also remains on. The only way to get it to flash again is to turn off the PSU, wait, then turn it back on. We tried re-seating everything, to no avail. Reading this thread, someone else mentioned beep codes and that if there were none, it's most likely a fried motherboard. Can anyone else confirm this? Did you have a monitor attached? Anything posted to the screen? My nephew had similar symptoms and it was because his heatsink on his CPU wasn't seated properly. The system would boot like yours but then die. He managed to catch on the screen a message like CPU temp exceeded which clued him in. BTW, your Reply to: is different from your From: which is confusing. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Weird Problems with User Home Directory , Asking for help
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22/03/2010 23:47:44, Aaron Lewis wrote: Looks like i found the problem , i thought i've made a mistake. I shouldn't use `pw user add aaron' right ? That won't create user home directory , when i found i've got no home directory. So at that time , i created it and change the owner to my user. pw user add is fine for creating accounts. It should create the home directory for you if given the right arguments. Even so, just creating the home directory by hand after creating the account should not be a problem. $ sudo tail -f /var/log/auth.log login: _secure_path: cannot stat /home/frozen/.login_conf: Permission denied // Strange , pay attention to user permissions below This means that the ownership/permissions of one of the directories in the path up to /home/frozen is wrong. Implied is that it is possible for non-root to substitute their own copy of /home/frozen/.login_conf somehow. What's the output from: ls -ld / /home (Add /usr/home to that list if /home is a sym-link) Is there anything unusual about how the filesystem is mounted? // I don't know why `stat' function fails .. $ ls -ld /home/frozen drwxr-xr-x 3 frozen frozen 512 Mar 5 22:36 /home/frozen/ $ ls -lah /home/frozen/.login_conf -rw-r--r-- 1 frozen frozen 171 Dec 3 14:34 /home/frozen/.login_conf BTW: ssh login with user frozen is fine. Which is a little disconcerting, because ssh is pretty anal about file permissions itself, but it isn't triggering the problem here. 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 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuosQkACgkQ8Mjk52CukIyL+QCgib3JZkMQDsa1JmKg8rqFiIIp EIYAniLNsh/lMANiJsFSbdx8oekEpMNR =NlkH -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
sendmail UTF-8
Hello, I want to sendout mail the following way: sendmail -t filename where the file 'filename' contains some header lines, especially To: Subject: and From: and as well the body of the mail; all is in UTF-8 and I know I have to encode the header lines and says something about the body. With Perl it goes like this: #!/usr/bin/perl use utf8; use Encode; open (MAIL, |/usr/lib/sendmail -t); $x=Subject: ... with some UTF-8 chars; $x_for_header = Encode::encode('MIME-Q', $x); print MAIL From: ...\n; print MAIL To: ...\n; print MAIL $x_for_header.\n; print MAIL Content-type: text/xml\;charset=UTF-8\n; print MAIL Content-Transfer-Encoding: 8bit\n; print MAIL \n; ... now the plain UTF-8 body follows close(MAIL) || warn Error closing mail: $!; } How can I encode the header lines (like the above Subject: line) not using Perl, i.e. with plain shell tools; I've checked out metamail and such stuff, but they don't help. Any idea? Thanks in advance 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/ Solidarity with the imperialistic Israel? Not in my name! ¿Solidaridad con el imperialismo de Israel? ¡No en mi nombre! ___ 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: Also have a dead box [ WAS: Re: OT: dead box ]
On 3/23/10, Corey John Bukolt ruinermailchuc...@gmail.com wrote: On Sun, 21 Mar 2010 11:23:34 + (06:23 CDT) Chris Whitehouse wrote: When you press the power button does the cpu fan or the power supply fan spin for a moment then stop? That's a sign that something on or plugged in to the motherboard has blown. Unplug things and test again. Chris Just a few days ago, I was helping a friend build a system (with all brand new components, I might add) and we had this very problem. After sticking in the CPU and RAM and hooking up and turning on the PSU, the green LED on the motherboard turns on. However, the second the power button is pressed, everything flashes for a second, then turns back off. The green LED on the motherboard also remains on. The only way to get it to flash again is to turn off the PSU, wait, then turn it back on. We tried re-seating everything, to no avail. Reading this thread, someone else mentioned beep codes and that if there were none, it's most likely a fried motherboard. Can anyone else confirm this? ~Corey Best way to confirm a dead board in any case is those POST diagnosis cards. They have a dual-digit LED output that changes depending on the signal on the wire. If at any time those dual-digit LEDs stay permanently on anything OTHER THAN 00 is a failed POST. If it fails before it gets a shot at testing RAM or anything, there may be no beep codes. Always good to have one in a toolkit. ___ 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: Fwd: Re: FreeBSD NFS client goes into infinite retry loop
On 03/22/10 19:53, Rick Macklem wrote: On Mon, 22 Mar 2010, John Baldwin wrote: It looks like it also returns ESTALE when the inode is invalid ( ROOTINO || max inodes?) - would an unlinked file in FFS referenced at a later time report an invalid inode? I'm no ufs guy, but the only way I can think of is if the file system on the server was newfs'd with fewer i-nodes? (Unlikely, but...) (Basically, it is safe to return ESTALE for anything that is not a transient failure that could recover on a retry.) But back to your point, zfs_zget() seems to be failing and returning the EINVAL before zfs_fhtovp() even has a chance to set and check zp_gen. I'm trying to get some more details through the use of gratuitous dprintf()'s, but they don't seem to be making it to any logs or the console even with vfs.zfs.debug=1 set. Any pointers on how to get these dprintf() calls working? I know diddly (as in absolutely nothing about zfs). That I have no idea on. Maybe Rick can chime in? I'm actually not sure why we would want to treat a FHTOVP failure as anything but an ESTALE error in the NFS server to be honest. As far as I know, only if the underlying file system somehow has a situation where the file handle can't be translated at that point in time, but could be able to later. I have no idea if any file system is like that and I don't such a file system would be an appropriate choice for an NFS server, even if such a beast exists. (Even then, although FreeBSD's client assumes EIO might recover on a retry, that isn't specified in any RFC, as far as I know.) That's why I proposed a patch that simply translates all VFS_FHTOVP() errors to ESTALE in the NFS server. (It seems simpler than chasing down cases in all the underlying file systems?) rick, chiming in:-) Makes sense to me. I'll continue to bang on NFS with your initial patch in my lab for a while. Should I open a PR for further discussion / resolution of the issue in -CURRENT / STABLE? Thanks, Steve Polyack ___ 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: Setting ucastrate in /etc/rc.conf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/22/10 8:32 PM, Christopher Theodore; RHODES wrote: Hello; $ uname -rs FreeBSD 8.0-RELEASE-p2 I have setup ral0/wlan0 in /etc/rc.conf thusly: wlans_ral0=wlan0 create_args_wlan0=wlanmode sta mcastrate 54 ssid linksys channel 6 ifconfig_wlan0=inet 10.0.0.10 netmask 255.255.255.0 This provides a working interface but ucastrate is not being set and I have to manually set it after I login with: # ifconfig wlan0 ucastrate 54 How can I effectively set ucastrate in rc.conf? is this a typo? mcastrate != ucastrate Have you tried this one create_args_wlan0=wlanmode sta ucastrate 54 ssid linksys channel 6 instead this? create_args_wlan0=wlanmode sta mcastrate 54 ssid linksys channel 6 - -- Adam PAPAI -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLqMjJAAoJEGq0EWvh5uiI89AIAL/zRdFyBi0ZsF/jZTwN3ndL rMlli/x4W+i9q1F3vjc5jVhMC80xexw2qsionnqqRRooq8ptE40+1WD0o2XKi26v vbcrGJw5Mns/IefwjKUBwVNjnkmbODuUDhRYfSR38e4M3BkikUPgGQoCSUTrOYRt OAAj4n0aaFwzMnh6IuVlmqtrwUR4R8Xbr9rZjFNYNSvajHBnwerOOfSssoZXVsDd 3E874lHIwiNXKbEo00tWzn94dnQQJ6XP5+8vdGj0nHmkP+ZVddY0l3v3jsT/z0uc wwqCkwyy84qLa+i9evUzMtvv/GetK4XFRi9YgxVqknuyFZwG/Ck25vlck79NUgU= =5Fkt -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
Re: Weird Problems with User Home Directory , Asking for help
$ sudo tail -f /var/log/auth.log login: _secure_path: cannot stat /home/frozen/.login_conf: Permission denied // Strange , pay attention to user permissions below This means that the ownership/permissions of one of the directories in the path up to /home/frozen is wrong. Implied is that it is possible for non-root to substitute their own copy of /home/frozen/.login_conf somehow. What's the output from: ls -ld / /home (Add /usr/home to that list if /home is a sym-link) Is there anything unusual about how the filesystem is mounted? Oops , it's a symbol link. [fro...@*** ~]$ ls -ld / /home /usr/home drwxr-xr-x 19 root wheel 512 Mar 23 07:48 / lrwxr-xr-x 1 root wheel8 Dec 3 14:34 /home - usr/home drwxr-x--- 4 root wheel 512 Mar 23 07:39 /usr/home I've just read sth. about Biba Model , `no read down, no write up' , It's default installation with a Custom Kernel , MAC enabled. Attached Kernel Config File. // I don't know why `stat' function fails .. $ ls -ld /home/frozen drwxr-xr-x 3 frozen frozen 512 Mar 5 22:36 /home/frozen/ $ ls -lah /home/frozen/.login_conf -rw-r--r-- 1 frozen frozen 171 Dec 3 14:34 /home/frozen/.login_conf BTW: ssh login with user frozen is fine. Which is a little disconcerting, because ssh is pretty anal about file permissions itself, but it isn't triggering the problem here. 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 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuosQkACgkQ8Mjk52CukIyL+QCgib3JZkMQDsa1JmKg8rqFiIIp EIYAniLNsh/lMANiJsFSbdx8oekEpMNR =NlkH -END PGP SIGNATURE- -- Best Regards, Aaron Lewis - PGP: 0x4A6D32A0 FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0 irc: A4r0n on freenode cpu I686_CPU ident AARON # To statically compile in device wiring instead of /boot/device.hints #hints GENERIC.hints # Default places to look for devices. # Use the following to compile in values accessible to the kernel # through getenv() (or kenv(1) in userland). The format of the file # is 'variable=value', see kenv(1) # # env GENERIC.env makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET# InterNETworking options INET6 # IPv6 communications protocols options SCTP# Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL# Enable gjournal-based UFS journaling options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFSLOCKD# Network Lock Manager options NFS_ROOT# NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS# Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY# BSD 4.3 TTY compat (sgtty) options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options P1003_1B_SEMAPHORES # POSIX-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B
Re: FreeBSD NFS client goes into infinite retry loop
On Monday 22 March 2010 7:53:23 pm Rick Macklem wrote: That I have no idea on. Maybe Rick can chime in? I'm actually not sure why we would want to treat a FHTOVP failure as anything but an ESTALE error in the NFS server to be honest. As far as I know, only if the underlying file system somehow has a situation where the file handle can't be translated at that point in time, but could be able to later. I have no idea if any file system is like that and I don't such a file system would be an appropriate choice for an NFS server, even if such a beast exists. (Even then, although FreeBSD's client assumes EIO might recover on a retry, that isn't specified in any RFC, as far as I know.) That's why I proposed a patch that simply translates all VFS_FHTOVP() errors to ESTALE in the NFS server. (It seems simpler than chasing down cases in all the underlying file systems?) Ah, I had read that patch as being a temporary testing hack. If you think that would be a good approach in general that would be ok with me. -- John Baldwin ___ 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
mysql can't running
Please help, mysql can't running i had installed it and using phpmyadmin when i check /etc/rc.d/mysql-server status it says mysql is not running when i tried /usr/local/bin/mysqld_safe startting mysqld daemon with database from /var/db/mysql STOPPING server from pid file /var/db/mysql/myhost.pid 100323 22:09:46 mysqld ended -- -- Terima Kasih Muhammad Anis Teknik Informatika Institut Teknologi Bandung ___ 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: Elegant way to hack port source
--On Friday, March 19, 2010 19:02:45 -0400 Greg Larkin glar...@freebsd.org wrote: Here's something else that I've found really useful as a port creator, maintainer and troubleshooter. If I want to make some additional changes to a source file that is patched by a file stored in files/patch-, I'll do this: make patch # extracts source and patches files cd work/foobar/... # Now make additional edits in patched file, leaving the # .orig file alone cd ../back/to/port/directory make makepatch The makepatch target recurses through the work/foobar directory and creates diffs for all file.ext/file.ext.orig pairs. It writes them to the files/ directory with the patch- prefix on each so the patch target processes them. The only thing to watch out for here, is that makepatch has its own file naming convention that doesn't always mirror the port creator's. For instance, some ports have patch files named patch-aa, patch-ab, etc. The makepatch target will recreate them with filenames based on the directory and filename of the file to be patched during the build. Hope that helps, Man, does it ever. Thanks for that. Which brings me to an obvious question. Where can I go to find out what all of the make targets are? Is it in /usr/ports/Mk/? -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead. Thomas Jefferson ___ 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: mysql can't running
Hello. WHat version of Freebsd are you using? I hacve the same issue in a recnet installed and updated Freebsd 7.3 At 09:15 a.m. 23/03/2010, you wrote: Please help, mysql can't running i had installed it and using phpmyadmin when i check /etc/rc.d/mysql-server status it says mysql is not running when i tried /usr/local/bin/mysqld_safe startting mysqld daemon with database from /var/db/mysql STOPPING server from pid file /var/db/mysql/myhost.pid 100323 22:09:46 mysqld ended -- -- Terima Kasih Muhammad Anis Teknik Informatika Institut Teknologi Bandung ___ 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: mysql can't running
On Tue, Mar 23, 2010 at 4:15 PM, m.anis m.a...@arc.itb.ac.id wrote: Please help, mysql can't running i had installed it and using phpmyadmin when i check /etc/rc.d/mysql-server status it says mysql is not running if you installed it from ports you must have and use /usr/local/etc/rc.d/mysql start|stop and of course you should have mysql_enable=YES in your /etc/rc.conf -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.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: mysql can't running
I thought mysql is controlled from /usr/local/etc/rc.d/mysql-server. At least that is what I have. I am running FreeBSD 8.0, 7.x and some 6.x and 5.5 and all are the same. It runs! You need some lines in /etc/rc.conf to make the syatem start mysql server! On Tue, Mar 23, 2010 at 6:24 PM, Jorge Biquez jbiq...@icsmx.com wrote: Hello. WHat version of Freebsd are you using? I hacve the same issue in a recnet installed and updated Freebsd 7.3 At 09:15 a.m. 23/03/2010, you wrote: Please help, mysql can't running i had installed it and using phpmyadmin when i check /etc/rc.d/mysql-server status it says mysql is not running when i tried /usr/local/bin/mysqld_safe startting mysqld daemon with database from /var/db/mysql STOPPING server from pid file /var/db/mysql/myhost.pid 100323 22:09:46 mysqld ended -- -- Terima Kasih Muhammad Anis Teknik Informatika Institut Teknologi Bandung ___ 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 -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ If you have nothing good to say about someone, just shut up!. -- Lucky Dube ___ 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: mysql can't running
On Tue, Mar 23, 2010 at 10:45 AM, m.anis m.a...@arc.itb.ac.id wrote: Please help, mysql can't running i had installed it and using phpmyadmin when i check /etc/rc.d/mysql-server status it says mysql is not running when i tried /usr/local/bin/mysqld_safe startting mysqld daemon with database from /var/db/mysql STOPPING server from pid file /var/db/mysql/myhost.pid 100323 22:09:46 mysqld ended What is the result of: 1) /usr/local/etc/rc.d/mysql-server onestart 2) tail /var/log/messages -- -- Terima Kasih Muhammad Anis Teknik Informatika Institut Teknologi Bandung ___ 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: mysql can't running
On 23/03/2010 22:32, Alejandro Imass wrote: On Tue, Mar 23, 2010 at 10:45 AM, m.anism.a...@arc.itb.ac.id wrote: Please help, mysql can't running i had installed it and using phpmyadmin when i check /etc/rc.d/mysql-server status it says mysql is not running when i tried /usr/local/bin/mysqld_safe startting mysqld daemon with database from /var/db/mysql STOPPING server from pid file /var/db/mysql/myhost.pid 100323 22:09:46 mysqld ended What is the result of: 1) /usr/local/etc/rc.d/mysql-server onestart 2) tail /var/log/messages -- -- Terima Kasih Muhammad Anis Teknik Informatika Institut Teknologi Bandung ___ 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 # /usr/local/etc/rc.d/mysql-server onestart Starting mysql. there is no messages in /var/log/messages one thing i realize after looking through the internet i had no /tmp/mysql.sock -- -- Terima Kasih Muhammad Anis Teknik Informatika Institut Teknologi Bandung ___ 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: mysql can't running
On 23/03/2010 22:32, Alejandro Imass wrote: On Tue, Mar 23, 2010 at 10:45 AM, m.anism.a...@arc.itb.ac.id wrote: Please help, mysql can't running i had installed it and using phpmyadmin when i check /etc/rc.d/mysql-server status it says mysql is not running when i tried /usr/local/bin/mysqld_safe startting mysqld daemon with database from /var/db/mysql STOPPING server from pid file /var/db/mysql/myhost.pid 100323 22:09:46 mysqld ended What is the result of: 1) /usr/local/etc/rc.d/mysql-server onestart 2) tail /var/log/messages -- -- Terima Kasih Muhammad Anis Teknik Informatika Institut Teknologi Bandung ___ 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 hei i just restart my system and it goes well but i still don't know why thanks for all your answer -- -- Terima Kasih Muhammad Anis Teknik Informatika Institut Teknologi Bandung ___ 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: mysql can't running
On Tue, Mar 23, 2010 at 11:12 AM, m.anis m.a...@arc.itb.ac.id wrote: On 23/03/2010 22:32, Alejandro Imass wrote: On Tue, Mar 23, 2010 at 10:45 AM, m.anism.a...@arc.itb.ac.id wrote: [..] /tmp/mysql.sock I think that is created in the fly is you are using unix sockets. I think it depends on your my.cnf configuration (listen param). Anway, check that you have in fact /var/db/mysql and check the error file inthere and tell me if you see something of interest there. -- -- Terima Kasih Muhammad Anis Teknik Informatika Institut Teknologi Bandung ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OpenOffice 3.2 fails to build on FreeBSD 8.0-STABLE/amd64
Hi, Did you tryed to uninstall OpenOffice and install the new one? László From: O. Hartmann ohart...@zedat.fu-berlin.de To: freebsd-questions@freebsd.org; freebsd-po...@freebsd.org Sent: Tue, March 23, 2010 11:10:56 AM Subject: OpenOffice 3.2 fails to build on FreeBSD 8.0-STABLE/amd64 I have trouble building/upgrading OpenOffice 3.2 on a SMP box running FreeBSD 8.0-STABLE/amd64. Whenever I try to portmaster/portupgrade an existing installation of OpenOffice 3.1.1 the update ends up in the error below. On another box, also running FreeBSD 8.0-STABLE/amd64, but UP and much less memory (2GB, the first one comes with 8GB RAM) I get the same error. Any suggestions to fix this without deinstalling OpenOffice 3.1.1 (I need OO, so deinstallinmg a running verison is inappropriate)? Regards, Oliver [...] - SHL2FILTERFILE not set! - dummy file to keep the dependencies for later use. -- Making: ../unxfbsdx.pro/lib/libslideshowtestfx.so c++ -Wl,-z,combreloc -Wl,-z,origin -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -shared -L../unxfbsdx.pro/lib -L../lib -L/usr/ports/editors/open ffice.org-3/work/OOO320_m12/solenv/unxfbsdx/lib -L/usr/ports/editors/openoffice.org-3/work/OOO320_m12/solver/320/unxfbsdx.pro/lib -L/usr/ports/e itors/openoffice.org-3/work/OOO320_m12/solenv/unxfbsdx/lib -L/usr/local/diablo-jdk1.6.0/lib -L/usr/local/diablo-jdk1.6.0/jre/lib/amd64 -L/usr/lo al/diablo-jdk1.6.0/jre/lib/amd64/server -L/usr/local/diablo-jdk1.6.0/jre/lib/amd64/native_threads -L/usr/local/lib ../unxfbsdx.pro/slo/slideshow est_dflt_version.o -o ../unxfbsdx.pro/lib/libslideshowtestfx.so ../unxfbsdx.pro/slo/barwipepolypolygon.o ../unxfbsdx.pro/slo/boxwipe.o ../unxfbs x.pro/slo/clippingfunctor.o ../unxfbsdx.pro/slo/combtransition.o ../unxfbsdx.pro/slo/fourboxwipe.o ../unxfbsdx.pro/slo/barndoorwipe.o ../unxfbsd .pro/slo/iriswipe.o ../unxfbsdx.pro/slo/veewipe.o ../unxfbsdx.pro/slo/ellipsewipe.o ../unxfbsdx.pro/slo/checkerboardwipe.o ../unxfbsdx.pro/slo/r ndomwipe.o ../unxfbsdx.pro/slo/waterfallwipe.o ../unxfbsdx.pro/slo/clockwipe.o ../unxfbsdx.pro/slo/fanwipe.o ../unxfbsdx.pro/slo/pinwheelwipe.o ./unxfbsdx.pro/slo/snakewipe.o ../unxfbsdx.pro/slo/spiralwipe.o ../unxfbsdx.pro/slo/sweepwipe.o ../unxfbsdx.pro/slo/figurewipe.o ../unxfbsdx.pro slo/doublediamondwipe.o ../unxfbsdx.pro/slo/zigzagwipe.o ../unxfbsdx.pro/slo/parametricpolypolygonfactory.o ../unxfbsdx.pro/slo/shapetransitionf ctory.o ../unxfbsdx.pro/slo/slidetransitionfactory.o ../unxfbsdx.pro/slo/transitionfactorytab.o ../unxfbsdx.pro/slo/transitiontools.o ../unxfbsd .pro/slo/slidechangebase.o ../unxfbsdx.pro/slo/activitybase.o ../unxfbsdx.pro/slo/activitiesfactory.o ../unxfbsdx.pro/slo/continuousactivitybase o ../unxfbsdx.pro/slo/continuouskeytimeactivitybase.o ../unxfbsdx.pro/slo/discreteactivitybase.o ../unxfbsdx.pro/slo/simplecontinuousactivitybas .o ../unxfbsdx.pro/slo/animationaudionode.o ../unxfbsdx.pro/slo/animationcommandnode.o ../unxfbsdx.pro/slo/animationbasenode.o ../unxfbsdx.pro/s o/animationcolornode.o ../unxfbsdx.pro/slo/animationnodefactory.o ../unxfbsdx.pro/slo/animationpathmotionnode.o ../unxfbsdx.pro/slo/animationset ode.o ../unxfbsdx.pro/slo/animationtransformnode.o ../unxfbsdx.pro/slo/animationtransitionfilternode.o ../unxfbsdx.pro/slo/basecontainernode.o . /unxfbsdx.pro/slo/basenode.o ../unxfbsdx.pro/slo/nodetools.o ../unxfbsdx.pro/slo/paralleltimecontainer.o ../unxfbsdx.pro/slo/propertyanimationno e.o ../unxfbsdx.pro/slo/sequentialtimecontainer.o ../unxfbsdx.pro/slo/generateevent.o ../unxfbsdx.pro/slo/appletshape.o ../unxfbsdx.pro/slo/back roundshape.o ../unxfbsdx.pro/slo/drawinglayeranimation.o ../unxfbsdx.pro/slo/drawshape.o ../unxfbsdx.pro/slo/drawshapesubsetting.o ../unxfbsdx.pro/slo/externalshapebase.o ../unxfbsdx.pro/slo/gdimtftools.o ../unxfbsdx.pro/slo/intrinsicanimationactivity.o ../unxfbsdx.pro/slo/mediashape.o ../unxfbsdx.pro/slo/shapeimporter.o ../unxfbsdx.pro/slo/viewappletshape.o ../unxfbsdx.pro/slo/viewbackgroundshape.o ../unxfbsdx.pro/slo/viewmediashape.o ../unxfbsdx.pro/slo/viewshape.o ../unxfbsdx.pro/slo/layer.o ../unxfbsdx.pro/slo/layermanager.o ../unxfbsdx.pro/slo/shapemanagerimpl.o ../unxfbsdx.pro/slo/slideanimations.o ../unxfbsdx.pro/slo/slideimpl.o ../unxfbsdx.pro/slo/userpaintoverlay.o ../unxfbsdx.pro/slo/activitiesqueue.o ../unxfbsdx.pro/slo/animatedsprite.o ../unxfbsdx.pro/slo/animationfactory.o ../unxfbsdx.pro/slo/attributemap.o ../unxfbsdx.pro/slo/color.o ../unxfbsdx.pro/slo/delayevent.o ../unxfbsdx.pro/slo/eventmultiplexer.o ../unxfbsdx.pro/slo/eventqueue.o ../unxfbsdx.pro/slo/expressionnodefactory.o ../unxfbsdx.pro/slo/rehearsetimingsactivity.o ../unxfbsdx.pro/slo/screenupdater.o ../unxfbsdx.pro/slo/shapeattributelayer.o ../unxfbsdx.pro/slo/shapesubset.o ../unxfbsdx.pro/slo/slidebitmap.o ../unxfbsdx.pro/slo/slideshowcontext.o
Re: OpenOffice 3.2 fails to build on FreeBSD 8.0-STABLE/amd64
On 03/23/10 17:27, Dánielisz László wrote: Hi, Did you tryed to uninstall OpenOffice and install the new one? László *From:* O. Hartmann ohart...@zedat.fu-berlin.de *To:* freebsd-questions@freebsd.org; freebsd-po...@freebsd.org *Sent:* Tue, March 23, 2010 11:10:56 AM *Subject:* OpenOffice 3.2 fails to build on FreeBSD 8.0-STABLE/amd64 I have trouble building/upgrading OpenOffice 3.2 on a SMP box running FreeBSD 8.0-STABLE/amd64. Whenever I try to portmaster/portupgrade an existing installation of OpenOffice 3.1.1 the update ends up in the error below. On another box, also running FreeBSD 8.0-STABLE/amd64, but UP and much less memory (2GB, the first one comes with 8GB RAM) I get the same error. Any suggestions to fix this without deinstalling OpenOffice 3.1.1 (I need OO, so deinstallinmg a running verison is inappropriate)? Regards, Oliver [...] - SHL2FILTERFILE not set! - dummy file to keep the dependencies for later use. -- Making: ../unxfbsdx.pro/lib/libslideshowtestfx.so c++ -Wl,-z,combreloc -Wl,-z,origin -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -shared -L../unxfbsdx.pro/lib -L../lib -L/usr/ports/editors/open ffice.org-3/work/OOO320_m12/solenv/unxfbsdx/lib -L/usr/ports/editors/openoffice.org-3/work/OOO320_m12/solver/320/unxfbsdx.pro/lib -L/usr/ports/e itors/openoffice.org-3/work/OOO320_m12/solenv/unxfbsdx/lib -L/usr/local/diablo-jdk1.6.0/lib -L/usr/local/diablo-jdk1.6.0/jre/lib/amd64 -L/usr/lo al/diablo-jdk1.6.0/jre/lib/amd64/server -L/usr/local/diablo-jdk1.6.0/jre/lib/amd64/native_threads -L/usr/local/lib ../unxfbsdx.pro/slo/slideshow est_dflt_version.o -o ../unxfbsdx.pro/lib/libslideshowtestfx.so ../unxfbsdx.pro/slo/barwipepolypolygon.o ../unxfbsdx.pro/slo/boxwipe.o ../unxfbs x.pro/slo/clippingfunctor.o http://x.pro/slo/clippingfunctor.o ../unxfbsdx.pro/slo/combtransition.o ../unxfbsdx.pro/slo/fourboxwipe.o ../unxfbsdx.pro/slo/barndoorwipe.o ../unxfbsd .pro/slo/iriswipe.o ../unxfbsdx.pro/slo/veewipe.o ../unxfbsdx.pro/slo/ellipsewipe.o ../unxfbsdx.pro/slo/checkerboardwipe.o ../unxfbsdx.pro/slo/r ndomwipe.o ../unxfbsdx.pro/slo/waterfallwipe.o ../unxfbsdx.pro/slo/clockwipe.o ../unxfbsdx.pro/slo/fanwipe.o ../unxfbsdx.pro/slo/pinwheelwipe.o ./unxfbsdx.pro/slo/snakewipe.o ../unxfbsdx.pro/slo/spiralwipe.o ../unxfbsdx.pro/slo/sweepwipe.o ../unxfbsdx.pro/slo/figurewipe.o ../unxfbsdx.pro slo/doublediamondwipe.o ../unxfbsdx.pro/slo/zigzagwipe.o ../unxfbsdx.pro/slo/parametricpolypolygonfactory.o ../unxfbsdx.pro/slo/shapetransitionf ctory.o ../unxfbsdx.pro/slo/slidetransitionfactory.o ../unxfbsdx.pro/slo/transitionfactorytab.o ../unxfbsdx.pro/slo/transitiontools.o ../unxfbsd .pro/slo/slidechangebase.o ../unxfbsdx.pro/slo/activitybase.o ../unxfbsdx.pro/slo/activitiesfactory.o ../unxfbsdx.pro/slo/continuousactivitybase o ../unxfbsdx.pro/slo/continuouskeytimeactivitybase.o ../unxfbsdx.pro/slo/discreteactivitybase.o ../unxfbsdx.pro/slo/simplecontinuousactivitybas .o ../unxfbsdx.pro/slo/animationaudionode.o ../unxfbsdx.pro/slo/animationcommandnode.o ../unxfbsdx.pro/slo/animationbasenode.o ../unxfbsdx.pro/s o/animationcolornode.o ../unxfbsdx.pro/slo/animationnodefactory.o ../unxfbsdx.pro/slo/animationpathmotionnode.o ../unxfbsdx.pro/slo/animationset ode.o ../unxfbsdx.pro/slo/animationtransformnode.o ../unxfbsdx.pro/slo/animationtransitionfilternode.o ../unxfbsdx.pro/slo/basecontainernode.o . /unxfbsdx.pro/slo/basenode.o ../unxfbsdx.pro/slo/nodetools.o ../unxfbsdx.pro/slo/paralleltimecontainer.o ../unxfbsdx.pro/slo/propertyanimationno e.o ../unxfbsdx.pro/slo/sequentialtimecontainer.o ../unxfbsdx.pro/slo/generateevent.o ../unxfbsdx.pro/slo/appletshape.o ../unxfbsdx.pro/slo/back roundshape.o ../unxfbsdx.pro/slo/drawinglayeranimation.o ../unxfbsdx.pro/slo/drawshape.o ../unxfbsdx.pro/slo/drawshapesubsetting.o ../unxfbsdx.pro/slo/externalshapebase.o ../unxfbsdx.pro/slo/gdimtftools.o ../unxfbsdx.pro/slo/intrinsicanimationactivity.o ../unxfbsdx.pro/slo/mediashape.o ../unxfbsdx.pro/slo/shapeimporter.o ../unxfbsdx.pro/slo/viewappletshape.o ../unxfbsdx.pro/slo/viewbackgroundshape.o ../unxfbsdx.pro/slo/viewmediashape.o ../unxfbsdx.pro/slo/viewshape.o ../unxfbsdx.pro/slo/layer.o ../unxfbsdx.pro/slo/layermanager.o ../unxfbsdx.pro/slo/shapemanagerimpl.o ../unxfbsdx.pro/slo/slideanimations.o ../unxfbsdx.pro/slo/slideimpl.o ../unxfbsdx.pro/slo/userpaintoverlay.o ../unxfbsdx.pro/slo/activitiesqueue.o ../unxfbsdx.pro/slo/animatedsprite.o ../unxfbsdx.pro/slo/animationfactory.o ../unxfbsdx.pro/slo/attributemap.o ../unxfbsdx.pro/slo/color.o ../unxfbsdx.pro/slo/delayevent.o ../unxfbsdx.pro/slo/eventmultiplexer.o ../unxfbsdx.pro/slo/eventqueue.o ../unxfbsdx.pro/slo/expressionnodefactory.o ../unxfbsdx.pro/slo/rehearsetimingsactivity.o ../unxfbsdx.pro/slo/screenupdater.o ../unxfbsdx.pro/slo/shapeattributelayer.o ../unxfbsdx.pro/slo/shapesubset.o
Re: mysql can't running
hei i just restart my system and it goes well but i still don't know why thanks for all your answer -- -- Hi You dont need restart your system just type rehash. Check on the handbook; Note: Some shells keep a cache of the commands that are available in the directories listed in the PATH environment variable, to speed up lookup operations for the executable file of these commands. If you are using one of these shells, you might have to use the rehash command after installing a port, before the newly installed commands can be used. This command will work for shells like tcsh. Use the hash -r command for shells like sh. Look at the documentation for your shell for more information. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
lighttpd in a jail says address is already in use (its not)
Hi all, I'm hoping i'm doing something silly. I have an 8.0-RELEASE machine with one jail that i'm intending to run lighttpd. I have nothing running on the host other than sendmail on 127.0.0.1 and sshd bound to the primary IP. The jail is also now running sshd fine. when i try and start lighttpd i get Starting lighttpd. 2010-03-23 17:13:35: (network.c.345) can't bind to port: 192.168.10.221 80 Address already in use /usr/local/etc/rc.d/lighttpd: WARNING: failed to start lighttpd however [r...@krill /usr/ports/www/lighttpd]# netstat -an netstat: kvm not available: /dev/mem: No such file or directory Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.10.221.25 *.*LISTEN tcp4 0 0 192.168.10.221.22 *.*LISTEN udp4 0 0 192.168.10.221.514 *.* and i can make nc listen on port 80 using nc -l 192.168.10.221 80 and make connections to it from remote vincenthoff...@macbook (17:18:13 ~) 130 $ telnet 192.168.10.221 80 Trying 192.168.10.221... Connected to jail.home.unsane.co.uk. Escape character is '^]'. So the port definitely isnt in use. Any suggestions if there is a sysctl or anything i need to change to get this to work? Vince ___ 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: lighttpd in a jail says address is already in use (its not)
Sorry for noise, pebkac I had defined $SERVER[socket] == 192.168.10.221:80 { } but not server.bind bahh. Vince On 23/03/2010 17:21, Vincent Hoffman wrote: Hi all, I'm hoping i'm doing something silly. I have an 8.0-RELEASE machine with one jail that i'm intending to run lighttpd. I have nothing running on the host other than sendmail on 127.0.0.1 and sshd bound to the primary IP. The jail is also now running sshd fine. when i try and start lighttpd i get Starting lighttpd. 2010-03-23 17:13:35: (network.c.345) can't bind to port: 192.168.10.221 80 Address already in use /usr/local/etc/rc.d/lighttpd: WARNING: failed to start lighttpd however [r...@krill /usr/ports/www/lighttpd]# netstat -an netstat: kvm not available: /dev/mem: No such file or directory Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.10.221.25 *.*LISTEN tcp4 0 0 192.168.10.221.22 *.*LISTEN udp4 0 0 192.168.10.221.514 *.* and i can make nc listen on port 80 using nc -l 192.168.10.221 80 and make connections to it from remote vincenthoff...@macbook (17:18:13 ~) 130 $ telnet 192.168.10.221 80 Trying 192.168.10.221... Connected to jail.home.unsane.co.uk. Escape character is '^]'. So the port definitely isnt in use. Any suggestions if there is a sysctl or anything i need to change to get this to work? Vince ___ 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: OpenOffice 3.2 fails to build on FreeBSD 8.0-STABLE/amd64
O. Hartmann wrote: As I mentioned, I did not and I can't risk deinstalling the working OO first and then installing and probably a failing OO 3.2. Regards, O. Hartmann You can use `pkg_create -b name_of_port-with_version` to create a binary backup. If you can't get 3.2 installed, you just run pkg_add on the resulting tbz and you're back in business. I do this whenever I upgrade OO, Firefox, Thunderbird, or anything other program I can't wait around for while I freshly compile. -- Sean McAfee Senior Systems Engineer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OpenOffice 3.2 fails to build on FreeBSD 8.0-STABLE/amd64
On Tue, Mar 23, 2010 at 10:31 AM, Sean McAfee smca...@collaborativefusion.com wrote: O. Hartmann wrote: As I mentioned, I did not and I can't risk deinstalling the working OO first and then installing and probably a failing OO 3.2. Regards, O. Hartmann You can use `pkg_create -b name_of_port-with_version` to create a binary backup. If you can't get 3.2 installed, you just run pkg_add on the resulting tbz and you're back in business. I do this whenever I upgrade OO, Firefox, Thunderbird, or anything other program I can't wait around for while I freshly compile. portmaster and portupgrade both include a -b switch as well, which will create a backup package before uninstalling the port to install the new version. -- Freddie Cash fjwc...@gmail.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
Diablo JDK Undefined symbol gethostbyname_r
Hello, my freebsd version is 6.1-RELEASE, I have installed diablo jdk1.6 and when I run maven, I got the following error: Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom /libexec/ld-elf.so.1: /usr/local/diablo-jdk1.6.0/jre/lib/i386/libnet.so: Undefined symbol gethostbyname_r What may be the cause of this? Sigmar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OpenOffice 3.2 fails to build on FreeBSD 8.0-STABLE/amd64
On 23.03.2010 11:10, O. Hartmann wrote: I have trouble building/upgrading OpenOffice 3.2 on a SMP box running FreeBSD 8.0-STABLE/amd64. Whenever I try to portmaster/portupgrade an existing installation of OpenOffice 3.1.1 the update ends up in the error below. On another box, also running FreeBSD 8.0-STABLE/amd64, but UP and much less memory (2GB, the first one comes with 8GB RAM) I get the same error. Any suggestions to fix this without deinstalling OpenOffice 3.1.1 (I need OO, so deinstallinmg a running verison is inappropriate)? It seems the OOO-building process is very sensitive about (its hundreds of ) dependencies. If you can afford the disk-space I would recommend to set up a simple jail and start the build inside your jail with a fresh portstree and without any userland-applications installed. If you need help setting up a jail, I can assist you or you just read and work out http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html yourself. When your build is ready you create a package, copy it to your main file-system and pkg_add it there. Gretings Uli. Regards, Oliver [...] - SHL2FILTERFILE not set! - dummy file to keep the dependencies for later use. -- Making: ../unxfbsdx.pro/lib/libslideshowtestfx.so c++ -Wl,-z,combreloc -Wl,-z,origin -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -shared -L../unxfbsdx.pro/lib -L../lib -L/usr/ports/editors/open ffice.org-3/work/OOO320_m12/solenv/unxfbsdx/lib -L/usr/ports/editors/openoffice.org-3/work/OOO320_m12/solver/320/unxfbsdx.pro/lib -L/usr/ports/e itors/openoffice.org-3/work/OOO320_m12/solenv/unxfbsdx/lib -L/usr/local/diablo-jdk1.6.0/lib -L/usr/local/diablo-jdk1.6.0/jre/lib/amd64 -L/usr/lo al/diablo-jdk1.6.0/jre/lib/amd64/server -L/usr/local/diablo-jdk1.6.0/jre/lib/amd64/native_threads -L/usr/local/lib ../unxfbsdx.pro/slo/slideshow est_dflt_version.o -o ../unxfbsdx.pro/lib/libslideshowtestfx.so ../unxfbsdx.pro/slo/barwipepolypolygon.o ../unxfbsdx.pro/slo/boxwipe.o ../unxfbs x.pro/slo/clippingfunctor.o ../unxfbsdx.pro/slo/combtransition.o ../unxfbsdx.pro/slo/fourboxwipe.o ../unxfbsdx.pro/slo/barndoorwipe.o ../unxfbsd .pro/slo/iriswipe.o ../unxfbsdx.pro/slo/veewipe.o ../unxfbsdx.pro/slo/ellipsewipe.o ../unxfbsdx.pro/slo/checkerboardwipe.o ../unxfbsdx.pro/slo/r ndomwipe.o ../unxfbsdx.pro/slo/waterfallwipe.o ../unxfbsdx.pro/slo/clockwipe.o ../unxfbsdx.pro/slo/fanwipe.o ../unxfbsdx.pro/slo/pinwheelwipe.o ./unxfbsdx.pro/slo/snakewipe.o ../unxfbsdx.pro/slo/spiralwipe.o ../unxfbsdx.pro/slo/sweepwipe.o ../unxfbsdx.pro/slo/figurewipe.o ../unxfbsdx.pro slo/doublediamondwipe.o ../unxfbsdx.pro/slo/zigzagwipe.o ../unxfbsdx.pro/slo/parametricpolypolygonfactory.o ../unxfbsdx.pro/slo/shapetransitionf ctory.o ../unxfbsdx.pro/slo/slidetransitionfactory.o ../unxfbsdx.pro/slo/transitionfactorytab.o ../unxfbsdx.pro/slo/transitiontools.o ../unxfbsd .pro/slo/slidechangebase.o ../unxfbsdx.pro/slo/activitybase.o ../unxfbsdx.pro/slo/activitiesfactory.o ../unxfbsdx.pro/slo/continuousactivitybase o ../unxfbsdx.pro/slo/continuouskeytimeactivitybase.o ../unxfbsdx.pro/slo/discreteactivitybase.o ../unxfbsdx.pro/slo/simplecontinuousactivitybas .o ../unxfbsdx.pro/slo/animationaudionode.o ../unxfbsdx.pro/slo/animationcommandnode.o ../unxfbsdx.pro/slo/animationbasenode.o ../unxfbsdx.pro/s o/animationcolornode.o ../unxfbsdx.pro/slo/animationnodefactory.o ../unxfbsdx.pro/slo/animationpathmotionnode.o ../unxfbsdx.pro/slo/animationset ode.o ../unxfbsdx.pro/slo/animationtransformnode.o ../unxfbsdx.pro/slo/animationtransitionfilternode.o ../unxfbsdx.pro/slo/basecontainernode.o . /unxfbsdx.pro/slo/basenode.o ../unxfbsdx.pro/slo/nodetools.o ../unxfbsdx.pro/slo/paralleltimecontainer.o ../unxfbsdx.pro/slo/propertyanimationno e.o ../unxfbsdx.pro/slo/sequentialtimecontainer.o ../unxfbsdx.pro/slo/generateevent.o ../unxfbsdx.pro/slo/appletshape.o ../unxfbsdx.pro/slo/back roundshape.o ../unxfbsdx.pro/slo/drawinglayeranimation.o ../unxfbsdx.pro/slo/drawshape.o ../unxfbsdx.pro/slo/drawshapesubsetting.o ../unxfbsdx.pro/slo/externalshapebase.o ../unxfbsdx.pro/slo/gdimtftools.o ../unxfbsdx.pro/slo/intrinsicanimationactivity.o ../unxfbsdx.pro/slo/mediashape.o ../unxfbsdx.pro/slo/shapeimporter.o ../unxfbsdx.pro/slo/viewappletshape.o ../unxfbsdx.pro/slo/viewbackgroundshape.o ../unxfbsdx.pro/slo/viewmediashape.o ../unxfbsdx.pro/slo/viewshape.o ../unxfbsdx.pro/slo/layer.o ../unxfbsdx.pro/slo/layermanager.o ../unxfbsdx.pro/slo/shapemanagerimpl.o ../unxfbsdx.pro/slo/slideanimations.o ../unxfbsdx.pro/slo/slideimpl.o ../unxfbsdx.pro/slo/userpaintoverlay.o ../unxfbsdx.pro/slo/activitiesqueue.o ../unxfbsdx.pro/slo/animatedsprite.o ../unxfbsdx.pro/slo/animationfactory.o ../unxfbsdx.pro/slo/attributemap.o ../unxfbsdx.pro/slo/color.o ../unxfbsdx.pro/slo/delayevent.o ../unxfbsdx.pro/slo/eventmultiplexer.o
Re: Also have a dead box [ WAS: Re: OT: dead box ]
Tim Judd wrote: On 3/23/10, Corey John Bukolt ruinermailchuc...@gmail.com wrote: On Sun, 21 Mar 2010 11:23:34 + (06:23 CDT) Chris Whitehouse wrote: When you press the power button does the cpu fan or the power supply fan spin for a moment then stop? That's a sign that something on or plugged in to the motherboard has blown. Unplug things and test again. Chris Just a few days ago, I was helping a friend build a system (with all brand new components, I might add) and we had this very problem. After sticking in the CPU and RAM and hooking up and turning on the PSU, the green LED on the motherboard turns on. However, the second the power button is pressed, everything flashes for a second, then turns back off. The green LED on the motherboard also remains on. The only way to get it to flash again is to turn off the PSU, wait, then turn it back on. We tried re-seating everything, to no avail. Reading this thread, someone else mentioned beep codes and that if there were none, it's most likely a fried motherboard. Can anyone else confirm this? ~Corey Best way to confirm a dead board in any case is those POST diagnosis cards. They have a dual-digit LED output that changes depending on the signal on the wire. If at any time those dual-digit LEDs stay permanently on anything OTHER THAN 00 is a failed POST. If it fails before it gets a shot at testing RAM or anything, there may be no beep codes. Always good to have one in a toolkit. ___ 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 Aloha, If it shuts off as described check for a power supply that tests ok but is NOT compatible with the motherboard. Many high end mobo's need a power supply that feeds a steady current. The component detection on the better mobos will shut the board down if it is not the quality tolerance it likes. We just experienced this here two weeks ago with all new components and the supplier of the components replaced the brand new Power Supply with a better quality one at their expense and the box works fine now. This was a mother board that was not cheap. My wife needed to upgrade for video editing etc. The supplier said they had this problem with several of the better boards. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + email: n...@hdk5.net All that's really worth doing is what we do for others.- Lewis Carrol ___ 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
Free BSD Licensing
Free BSD representative, I am inquiring if Free BSD is installable under the The GNU General Public License (short: GNU GPL or simply GPL)? Need to verify that for the requester of this software as coming through our subcontracts division. Jack Guelff Subcontracts Administrator Software and Intellectual Property Licensing Office: (319) 263-0985 Fax: (319) 295-2075 jegue...@rockwellcollins.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: Free BSD Licensing
FBSD has it's own licensing. I'll defer to others as to the details, or visit www.freebsd.org - Original Message - From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org To: questi...@freebsd.org questi...@freebsd.org Sent: Tue Mar 23 09:40:15 2010 Subject: Free BSD Licensing Free BSD representative, I am inquiring if Free BSD is installable under the The GNU General Public License (short: GNU GPL or simply GPL)? Need to verify that for the requester of this software as coming through our subcontracts division. Jack Guelff Subcontracts Administrator Software and Intellectual Property Licensing Office: (319) 263-0985 Fax: (319) 295-2075 jegue...@rockwellcollins.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 ___ 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: Free BSD Licensing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23/03/2010 14:40:15, jegue...@rockwellcollins.com wrote: Free BSD representative, I am inquiring if Free BSD is installable under the The GNU General Public License (short: GNU GPL or simply GPL)? Need to verify that for the requester of this software as coming through our subcontracts division. Mostly FreeBSD uses the FreeBSD license: http://www.freebsd.org/copyright/freebsd-license.html This is an open-source license according to the OSI terms. Some software within the FreeBSD distribution is licensed under the GPL or LGPL. As the FreeBSD license is less restrictive than the GPL, it's pretty much safe to say that wherever you are permitted install GPL'd software, you could substitute FreeBSD licensed software without legal penalty. (Note: *install* -- redistribution is a different matter) 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 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkupGVkACgkQ8Mjk52CukIx/EACghGCkDasLFw/1tVlBO/mlZR3f P0UAn0iZDeRfWg8t30lPXfHSgo+NycHx =QjnI -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
Re: Elegant way to hack port source
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Schmehl wrote: --On Friday, March 19, 2010 19:02:45 -0400 Greg Larkin glar...@freebsd.org wrote: Here's something else that I've found really useful as a port creator, maintainer and troubleshooter. If I want to make some additional changes to a source file that is patched by a file stored in files/patch-, I'll do this: make patch # extracts source and patches files cd work/foobar/... # Now make additional edits in patched file, leaving the # .orig file alone cd ../back/to/port/directory make makepatch The makepatch target recurses through the work/foobar directory and creates diffs for all file.ext/file.ext.orig pairs. It writes them to the files/ directory with the patch- prefix on each so the patch target processes them. The only thing to watch out for here, is that makepatch has its own file naming convention that doesn't always mirror the port creator's. For instance, some ports have patch files named patch-aa, patch-ab, etc. The makepatch target will recreate them with filenames based on the directory and filename of the file to be patched during the build. Hope that helps, Man, does it ever. Thanks for that. Which brings me to an obvious question. Where can I go to find out what all of the make targets are? Is it in /usr/ports/Mk/? Hi Paul, Yes, that's the first place to look, and there's a lot of documentation about the different variable that control the build process at the top of that file, too. Here's a command that gives a rough list of the available targets: egrep '^[a-zA-Z0-9-]+:$' /usr/ports/Mk/bsd.port.mk | sort -u bsd.port.mk includes various other .mk files depending on what flags are set in the port Makefile, /etc/make.conf and the environment. Hmm, I just found a new target named update-patches, and I have to go investigate what that does! Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLqRpr0sRouByUApARAskmAJ93A205wIVNU4Mj6IHR7ZxDWFGn8gCfdWch OtQ1c5gbRGeKecdLutJG+JE= =xBkv -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
checkup
Dear bsd's I want to create checkup script bash/perl to run on daily basis in order to do checkup routine for a multiple 20xlinux server (centos/rhel/suse/freebsd). Some kind of a list, making sure all of the relevant services are working properly: hardware, filesystens mounted, ip address, hostname, login user, cpu, network services, databases oracle, mysql, ftp, http, samba,quota, log all these output into file and mail it to admin daily. can you help. 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: Flash sometimes freezes firefox, also many npviewer.bin processes left running around
On Tue, Mar 23, 2010 at 1:37 AM, Alexandre L. axel...@ymail.com wrote: No, the addon called NoScript is used to block JavaScript, Flash and co. But here the problem is the npviewer and/or the Flash plugin that is/are buggy. If you want to see a video on Youtube for example, you must allow JavaScript and Flash for Youtube in NoScript. Otherwise you can't see the video. I use this addon in Firefox 3.6 to block unwanted scripts but when I use Flash I got the same problem. Well, yeah. But if it's blocked, it doesn't get run, and if it doesn't run, it doesn't consume 100% of your cpu. I find it's usually advertisements anyway. If you really need to watch a youtube, you click the noscript icon and unblock it, then when you're done, you execute killall npviewer.bin. That's the best solution I've found yet, and it bites, just like flash bites, and gnash bites, all in their own extra special way. 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: checkup
Hi, madunix wrote: Dear bsd's I want to create checkup script bash/perl to run on daily basis in order to do checkup routine for a multiple 20xlinux server (centos/rhel/suse/freebsd). Some kind of a list, making sure all of the relevant services are working properly: hardware, filesystens mounted, ip address, hostname, login user, cpu, network services, databases oracle, mysql, ftp, http, samba,quota, log all these output into file and mail it to admin daily. can you help. Unless you have a reason to reinvent the wheel, you might have a look at ports/net-mgmt/nagios. Regards, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Free BSD Licensing
On Tue, 23 Mar 2010, jegue...@rockwellcollins.com wrote: Free BSD representative, I am inquiring if Free BSD is installable under the The GNU General Public License (short: GNU GPL or simply GPL)? Need to verify that for the requester of this software as coming through our subcontracts division. How do you install something under a license? FreeBSD is developed and distributed using the BSD license. More information is available at www.freebsd.org If you're wondering whether or not FreeBSD is freely available and can be installed in a commerical environment then the short answer would be yes. However, I encourage you to read the licensing clauses available on www.freebsd.org, specifically here: http://www.freebsd.org/copyright/freebsd-license.html This wiki gives a decent overview of the differences: http://en.wikipedia.org/wiki/Free_software_licence Henrik -- Henrik Hudson li...@rhavenn.net - God, root, what is difference? Pitr; UF ___ 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: Also have a dead box [ WAS: Re: OT: dead box ]
On Tue, 2010-03-23 at 10:38 +, Frank Shute wrote: On Tue, Mar 23, 2010 at 02:05:49AM -0500, Corey John Bukolt wrote: On Sun, 21 Mar 2010 11:23:34 + (06:23 CDT) Chris Whitehouse wrote: When you press the power button does the cpu fan or the power supply fan spin for a moment then stop? That's a sign that something on or plugged in to the motherboard has blown. Unplug things and test again. Chris Just a few days ago, I was helping a friend build a system (with all brand new components, I might add) and we had this very problem. After sticking in the CPU and RAM and hooking up and turning on the PSU, the green LED on the motherboard turns on. However, the second the power button is pressed, everything flashes for a second, then turns back off. The green LED on the motherboard also remains on. The only way to get it to flash again is to turn off the PSU, wait, then turn it back on. We tried re-seating everything, to no avail. Reading this thread, someone else mentioned beep codes and that if there were none, it's most likely a fried motherboard. Can anyone else confirm this? Did you have a monitor attached? Anything posted to the screen? We did have a monitor attached, only the system stays running for less then a second, not even enough time for the monitor to turn on. My nephew had similar symptoms and it was because his heatsink on his CPU wasn't seated properly. The system would boot like yours but then die. He managed to catch on the screen a message like CPU temp exceeded which clued him in. BTW, your Reply to: is different from your From: which is confusing. From: is the address for automated emails from my mailserver and relaying my personal email (I have a dynamic IP). I don't want any automated emails directly attached to my personal address in the Reply To:, hence multiple accounts. I blindly assumed that clients/people would just use Reply To: and ignore From: but I can see that's not the case. I'll have to fix that so that there is only one address. Apologies for the confusion. ___ 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: Also have a dead box [ WAS: Re: OT: dead box ]
On Tue, 2010-03-23 at 06:57 -0600, Tim Judd wrote: On 3/23/10, Corey John Bukolt ruinermailchuc...@gmail.com wrote: On Sun, 21 Mar 2010 11:23:34 + (06:23 CDT) Chris Whitehouse wrote: When you press the power button does the cpu fan or the power supply fan spin for a moment then stop? That's a sign that something on or plugged in to the motherboard has blown. Unplug things and test again. Chris Just a few days ago, I was helping a friend build a system (with all brand new components, I might add) and we had this very problem. After sticking in the CPU and RAM and hooking up and turning on the PSU, the green LED on the motherboard turns on. However, the second the power button is pressed, everything flashes for a second, then turns back off. The green LED on the motherboard also remains on. The only way to get it to flash again is to turn off the PSU, wait, then turn it back on. We tried re-seating everything, to no avail. Reading this thread, someone else mentioned beep codes and that if there were none, it's most likely a fried motherboard. Can anyone else confirm this? ~Corey Best way to confirm a dead board in any case is those POST diagnosis cards. They have a dual-digit LED output that changes depending on the signal on the wire. If at any time those dual-digit LEDs stay permanently on anything OTHER THAN 00 is a failed POST. If it fails before it gets a shot at testing RAM or anything, there may be no beep codes. Always good to have one in a toolkit. So that's what those damn things were for..I have three rack mounted servers sitting in my basement and they each have an on board dual digit readout. I figured they had something to do with the BIOS, but I was just too lazy to find out. ;) Learn something new everyday. Thanks for the advice, I'm going shopping for one right now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Free BSD Licensing
On Tue, Mar 23, 2010 at 10:40 AM, jegue...@rockwellcollins.com wrote: Free BSD representative, I am inquiring if Free BSD is installable under the The GNU General Public License (short: GNU GPL or simply GPL)? Need to verify that for the requester of this software as coming through our subcontracts division. Jack Guelff Subcontracts Administrator Software and Intellectual Property Licensing Office: (319) 263-0985 Fax: (319) 295-2075 jegue...@rockwellcollins.com I am NOT a lawyer , therefore my views can not be considered a legal advice . I think , your best action would be to ask to a lawyer ( being expert on copyright and licensing issues ) for legal issues of such a question to be answered properly . If you consider GPL , its most important requirement is that when a GPL licensed software is distributed to others , the source is also should be supplied with respect to GPL license rules . A BSD licensed software can be used in ANY WAY without removing its license and copyright terms . If you study http://www.gnu.org/licenses/gpl.html http://www.gnu.org/licenses/gpl-faq.html#CombinePublicDomainWithGPL http://www.gnu.org/licenses/gpl-faq.html#OrigBSD you will see that it is not possible to combine each free and permissive licensed software with a GPL licensed software . Therefore , for FreeBSD , it is necessary to review each file with respect to GPL combination . Another point is that GPL license can cover only USED parts within a GPL licensed software . If FreeBSD is not , let´s say , called by , or linked into a GPL licensed software , it will NOT be GPL license covered . It is obvious that any software with its own license terms can NOT be re-licensed as GPL licensed software , at least because GPL can NOT remove its own license , but it can or can not be utilized within a GPL licensed software . As a result , my opinion is that FreeBSD can NOT be re-licensed as a GPL licensed software as a whole . In reality , this is not necessary also because FreeBSD sources are open to public through its source repositories . Thank you very much . Mehmet Erol Sanliturk ___ 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 NFS client goes into infinite retry loop
On Tue, 23 Mar 2010, John Baldwin wrote: Ah, I had read that patch as being a temporary testing hack. If you think that would be a good approach in general that would be ok with me. Well, it kinda was. I wasn't betting on it fixing the problem, but since it does... I think just mapping VFS_FHTOVP() errors to ESTALE is ok. Do you think I should ask pjd@ about it or just go ahead with a commit? Thanks for the help, rick ___ 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: mysql can't running
m.anis wrote: Please help, mysql can't running i had installed it and using phpmyadmin when i check /etc/rc.d/mysql-server status it says mysql is not running phpMyAdmin will not work until you have configured config.inc.php correctly. when i tried /usr/local/bin/mysqld_safe startting mysqld daemon with database from /var/db/mysql STOPPING server from pid file /var/db/mysql/myhost.pid 100323 22:09:46 mysqld ended This is not the correct method to start mysql. You will need to place mysql_enable=YES into /etc/rc.conf for the startup scripts to work properly. It will also require typing the entire path to the startup script on the command line as well, such as: /usr/local/etc/rc.d/mysql-server start. Or stop, or restart, as you may need. This should occur automatically when booting the machine and this command line is only necessary should you desire to start, stop, or restart without a reboot. Since it said it was 'STOPPING' the server above, how do you know it wasn't running? Instead of phpMyAdmin why not simply do a ps -ax? If mysql is running you will see a couple of line such as: 725 v0- I 0:00.01 /bin/sh /usr/local/bin/mysqld_safe --defaults- extra-file=/var/db/mysql/my.cnf --user=my 858 v0- I 0:20.83 /usr/local/libexec/mysqld --defaults-extra- file=/var/db/mysql/my.cnf --basedir=/usr/loc Lines are cut and word-wrapped, but you get the idea. More information may be gleaned from /var/db/mysql/machinehostname.err, this is the mysql error log. Determine properly first whether mysql is actually running, or not. The installation procedure (if done properly, and NOT just simply unzipping a tarball somewhere and doing ./configure make make install, e.g either using the ports building or package installing process) will also create a mysql user and group entry. The mysql subdirectory and all files under it should be owned by this user:group, e.g.: mysql:mysql. If you did NOT use the ports or package install process, just stop, back up the train and remove whatever you did. Start over and use the ports or package install procedure. The config file is named my.cnf and lives in /usr/local/etc. MySQL will ignore this file if it is world writable. It should fall back to using one located elsewhere if it can locate one. Not sure as I don't believe I've ever attempted starting MySQL with no my.cnf at all, but I believe it may start whether this file is present, or not. Could be wrong about that. If you should find that it is actually running but you are having difficulty communicating with it you may need to do an initial configuration to it to allow logins. Initially when first installed there is no root password and the first step involves setting a password and setting up some basic grant permissions. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
delete directory
This directory named empty has read/exec permissions. How do I delete it? # /usr/jails/newjail/var ls -l total 2 dr-xr-xr-x 2 root wheel 512 Nov 21 22:53 empty # /usr/jails/newjail/var cd empty # /usr/jails/newjail/var/empty ls -l total 0 # /usr/jails/newjail/var/empty cd .. # /usr/jails/newjail/var rmdir empty rmdir: empty: Operation not permitted # /usr/jails/newjail/var rm -rf empty rm: empty: Operation not permitted # /usr/jails/newjail/var chmod 777 empty chmod: empty: Operation not permitted ___ 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: delete directory
Aiza wrote: This directory named empty has read/exec permissions. How do I delete it? # /usr/jails/newjail/var ls -l total 2 dr-xr-xr-x 2 root wheel 512 Nov 21 22:53 empty # /usr/jails/newjail/var cd empty # /usr/jails/newjail/var/empty ls -l total 0 # /usr/jails/newjail/var/empty cd .. # /usr/jails/newjail/var rmdir empty rmdir: empty: Operation not permitted # /usr/jails/newjail/var rm -rf empty rm: empty: Operation not permitted # /usr/jails/newjail/var chmod 777 empty chmod: empty: Operation not permitted Usually when I see this I think flags are set. See man chflags. Used to be it was something like chflags -R noschg blah, then you could do the usual rm -rf blah once the immutable flag was unset. Don't know if has changed. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: mysql can't running
Michael Powell wrote: m.anis wrote: Please help, mysql can't running i had installed it and using phpmyadmin when i check /etc/rc.d/mysql-server status ^ This indicates to me that you just unzipped a tarball and did ./configure make make install. This is not how you install software on FreeBSD. Please read the pertinent sections of the Handbook to learn how to install software. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: kernel panic when if_lagg is not loaded.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2010/03/17 00:31, Leslie Jensen wrote: I have set upp aggregation of my wlan and and wired NIC following the instructions in the handbook. http://www.freebsd.org/doc/handbook/network-aggregation.html I forgot to add the if_lagg_load=YES in /boot/loader.conf. When I rebooted I got a kernel panic. Should this be considerd normal or is it something I should report? Secondly I see there'a a reference to the lagg(4) man page. I think it would help future readers of the above page if a comment about loading if_lagg_load=YES in /boot/loader.conf would be added. Panics can hardly be considered normal... I was unable to reproduce the issue though, is it possible for you to get a backtrace and tell us what release are you using? Cheers, - -- Xin LI delp...@delphij.nethttp://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBAgAGBQJLqWtUAAoJEATO+BI/yjfBHSkIAJC1Ooov8JiddJk+3cw9uZsK f2LvLoQerHY+NVwG0yjdXjhj67FWht4piXewNngePzOzjcXJQybfbrFUxW2zDc3X LSrOLSLtf8CKDhdVK+octUUjYyT1lbkeoyf1Ci1y2h/DE7QY360rzfXhA1VfHJCr 3PTcaHsony3AD6Fwcg3U+7hGseL+zxLfV0DwUtyNIhVZHIrp5hElPseVXnxVPFTT nKaaw4AldH6JYOhT1IZWQObMNJgVhCs48LdAwSCCg7x9Bjias606yY3C1RNupXPM 5TxjmMpiQUhBc/MIAU7mAb27SQY2Lwx6+S9S+4HJoVgr2/eMwjCCOYvXxIt5hXs= =BGMq -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
amd64 8.0 with zfs root and raidz ?
Hi: I want to install amd64 8.0, using zfs (root included) on a fresh system containing 3 drives, ad0, ad1, ad2. I'm looking at this from the wiki: http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot I'm still working out just what everything does, but the one thing I've noticed is that it doesn't address raidz at all. Can anyone direct me to any docs that might help? Or does anyone know where in the wiki page's intructions raidz might be set up? Thanks IHN, Gene -- To everything there is a season, And a time to every purpose under heaven. ___ 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: amd64 8.0 with zfs root and raidz ?
Gene == Gene f...@brightstar.bomgardner.net writes: Gene I'm still working out just what everything does, but the one thing I've Gene noticed is that it doesn't address raidz at all. Can anyone direct me to any Gene docs that might help? Or does anyone know where in the wiki page's intructions Gene raidz might be set up? You're not going to be raidz'ing your boot disk, which is why that doesn't address it there. Data disks can be raidz'ed just fine, using the normal documentation. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion ___ 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