Re: Every 12-hrs -- ad0: TIMEOUT - WRITE DMA
This is a reply to a very old thread. I decided to reply because 1. nobody has mentioned the real cause of the problem yet (some answers were misleading or even outright wrong), 2. I've experienced the same problem in the past few weeks, 3. my findings might be useful for other people who are googling for the symptoms (like me) and stumble across this thread. The drive in question seems to be very popular, especially in low-end private servers and home machines. It is very reliable; I still have these and similar ones in production. The drive of mine that exhibited the problem recently is this: ad0: 24405MB IBM DJNA-352500 J51OA30K at ata0-master UDMA66 It is powering a small server running DNS, SMTP, WWW and other things for several private domains. The load is very low, most of the time. Now for the actual problem: V.I.Victor idmc_v...@intgdev.com wrote: For the last 4-days, our (otherwise OK) 5.4-RELEASE machine has been reporting: Feb 12 12:08:05 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2701279 Feb 13 00:08:51 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2701279 Feb 13 12:09:38 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2963331 Feb 14 00:10:24 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2705947 Feb 14 12:11:09 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2706335 Feb 15 00:12:02 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2832383 Feb 15 12:12:57 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=139839 Feb 16 00:13:50 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=131391 Feb 16 12:14:36 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=131391 The system was created Jan 08 and, prior to the above, the ad0: timeout had only been reported twice: Jan 25 11:43:34 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=17920255 Feb 6 11:59:42 : ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=2832383 [...] ad0: 14664MB IBM-DJNA-351520/J56OA30K [29795/16/63] at ata0-master UDMA66 First of all: The disk is *not* dying. SMART won't reveal anything. The behaviour is perfectly normal for IBM-DJNA-3* type disks. When those disks are used in continuous operation (24/7), they will go into automatic maintenance mode after 6 days. This is kind of a short self-test and recalibration to ensure reliable continous operation. It will be repeated after another 6 days ad infinitum. Note that there are exactly 12 days between your Jan 25 and Feb 6 incidents, and exactly 6 days between Feb 6 and Feb 12 incidents. An automatic maintenance on Jan 31 apparently finished successfully without a timeout message. Normally the drive will wait until it detects an idle period, then perform the maintenance, then continue normal operation. Maintenance mode involves a short spin down / spin up cycle. However, if the drive receives a command during spin down, it will abort maintenance mode, spin up (which takes a few seconds and might cause a timeout to the operating system), then perform the command, and RETRY MAINTENACE AFTER 12 HOURS. So that's where your timeout messages every 12 hours come from. This is not in any way harmful. Eventually the maintenance will succeed (i.e. the idle period is long enough to finish), then you won't get timeout messages anymore for at least 6 days. You mentioned that the problem appeared (and disappeared) when you set the machine's clock. This is easy to explain, too. The hard disk has its own clock which is not synchronized with the system clock. It starts counting from zero when the disk is powered up. By changing the system's clock, you shift the offset between it and the drive's clock. That means that periodic activity will happen at different times, relative to the drive's clock. Such periodic activity includes cron jobs and other things. For example, sendmail's queue runner wakes up every 30 minutes by default. Many other daemons also perform periodic activity. All of that can happen to start in the middle of the idle period that the drive chose to use for its maintenance, thus interrupting maintenance, as described above. If the offset between the system's clock and the drive's clock changes, chances are that such periodic activity will happen at different times, from the point of view of the drive, so the likelihood that the drive can complete its maintenance changes (better or worse). Unfortunately there is no way to configure or disable that maintenance mode. The only way to somewhat control it is to periodically enforce a spin-down (standby ATA command) when you know that the drive is idle. This usually requires to unmount the filesystems, though, because otherwise you can't guarantee that they will be idle for long enough. You can read IBM's official documentation here:
Re: Every 12-hrs -- ad0: TIMEOUT - WRITE DMA
[...] First of all: The disk is *not* dying. SMART won't reveal anything. The behaviour is perfectly normal for IBM-DJNA-3* type disks. When those disks are used in continuous operation (24/7), they will go into automatic maintenance mode after 6 days. This is kind of a short self-test and recalibration to ensure reliable continous operation. It will be repeated after another 6 days ad infinitum. It's been over 3.5 years since my original post -- imagine my surprise! The drive's still running (24/7) and still reporting the same retries. Because of the pattern of the retries, I never really thought that the drive was bad. But, until now, I never knew why it was happening. Thanks *very* much for the info! ___ 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: Apache20 port on FreeBSD 7.2 does a core dump
On Sat, 3 Oct 2009 13:38 -, aaflatooni wrote: Aflatoon Aflatooni writes: I am getting a lot of core dumps and Apache20 freezing. I have installed the porting using the following make: make WITHOUT_MODULES=ssl status speling imap auth_dbm auth_digest dav dav_fs cern_meta cgi include install any suggestions as to how I might find out what is causing the problem and the core dumps. The first thing I'd try is re-including the excluded modules. If you no longer get the crashes, you can start narrowing in on which one is involved. If you still get the crashes, you'll have to start looking at the core files. I'm assuming you're not used to using a debugger on a core file, on the theory that you would have done that already if you were comfortable with it. I originally had them included and I was getting the core dumps, but I removed them because I don't need them and I am still getting the core dumps. This is a production box and it would be hard to have debugger turned on. I don't know if it would be helpful, but PHP is also really slow on this machine. I know that PHP would cause a dump in the php.core file and not apache.core. How do I inspect the core file to find out which module caused it? Thanks Have you any special php5 modules loaded. I had a problem with I want to recall three or more extensions that would cause apache2X to dump core or halt in doing any further actions upon request. If the above is the case you can disable some or all of your php5-extensions in local/etc/php/extensions.ini to test it out. Best of luck. Thanks, I followed your suggestion and removed all but the necessary modules from the extensions.ini. I will have to wait and see if it helps the core dumps. So at this time I have the following in the extensions: extension=gd.so extension=mcrypt.so extension=mysql.so extension=simplexml.so extension=spl.so extension=mysqli.so extension=session.so extension=tokenizer.so extension=xml.so PHP is still slow though! Just an update: I still get the httpd.core dumps and PHP5 is visibly slower. Nothing has helped the situation. ___ 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
Deleting the kernel source - just with #rm?
Daemons, a little question. I just compiled a nice, slim kernel on my laptop, but I dont want to carry all the kernel sources around there. Is it ok just to #rm the content of the /usr/src directory? And will I get it completely back from sysinstall or the FreeBSD-servers? Or is there a more elegant solution on FreeBSD? Thanks! herb langhans -- sprachtraining langhans herbert langhans, warschau http://www.langhans.com.pl herbert dot raimund at gmx dot net +0048 603 341 441 ___ 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: Deleting the kernel source - just with #rm?
On Sun 2009-10-04 15:15:05 UTC+0200, herbert langhans (herbert.raim...@gmx.net) wrote: I just compiled a nice, slim kernel on my laptop, but I dont want to carry all the kernel sources around there. Is it ok just to #rm the content of the /usr/src directory? And will I get it completely back from sysinstall or the FreeBSD-servers? Or is there a more elegant solution on FreeBSD? This should be fine. Since you've built a custom kernel you may want to keep a copy of your kernel build config (LINT) file, eg. /usr/src/sys/i386/conf/HOSTNAME. Note that you can't use freebsd-update to patch a custom (non-GENERIC) kernel. You can restore the kernel source code by extracting the ssys.?? binaries (normally found in the /src/ directory, eg. ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/7.2-RELEASE/src/ ) using install.sh (found in the same directory). Probably also with sysinstall, but I don't recall the steps to do that. Regards Andrew ___ 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: Voting for a native i386/amd64 flash player
On Fri, Oct 2, 2009 at 9:25 PM, Leandro F Silva fsilvalean...@gmail.comwrote: Hey guys, Let's vote to have a native i386 / amd64 flash player \o/ .. We just have to create an account and voting on the link below =D http://bugs.adobe.com/jira/browse/FP-1060 I voted and added a coment: * Maybe it requires licensing fees, like Java, but most of us use it like a player (Youtube) or games (Kongregate), among other. I don't want to switch to other operating system in order to view the Flash content.* Good luck! (Boa Sorte!) ___ 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
complements to the chief
I am a system 5 and linux person ( sorry ) for a long time (1987) But I chose to look at your site this morning. I am VERY VERY impressed by the fact that you folks have created a comprehensive list of hardware supported in your distribution. Way to GO I do not believe that I will ever see such a list in the Linux world. Too bad for me. ___ 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: Deleting the kernel source - just with #rm?
Thank you, Andrew, clicketyclick - all source code gone now, and the config file is saved. Can you please tell me about the issue with freebsd-update. Does it mean if I run: #freebsd-update fetch #freebsd-update install - it will overwrite my self compiled kernel? Good to know indeed! Cheers herb langhans On Mon, Oct 05, 2009 at 12:37:37AM +1100, andrew clarke wrote: On Sun 2009-10-04 15:15:05 UTC+0200, herbert langhans (herbert.raim...@gmx.net) wrote: I just compiled a nice, slim kernel on my laptop, but I dont want to carry all the kernel sources around there. Is it ok just to #rm the content of the /usr/src directory? And will I get it completely back from sysinstall or the FreeBSD-servers? Or is there a more elegant solution on FreeBSD? This should be fine. Since you've built a custom kernel you may want to keep a copy of your kernel build config (LINT) file, eg. /usr/src/sys/i386/conf/HOSTNAME. Note that you can't use freebsd-update to patch a custom (non-GENERIC) kernel. You can restore the kernel source code by extracting the ssys.?? binaries (normally found in the /src/ directory, eg. ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/7.2-RELEASE/src/ ) using install.sh (found in the same directory). Probably also with sysinstall, but I don't recall the steps to do that. Regards Andrew ___ 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 -- sprachtraining langhans herbert langhans, warschau http://www.langhans.com.pl herbert dot raimund at gmx dot net +0048 603 341 441 ___ 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: Deleting the kernel source - just with #rm?
On Sun 2009-10-04 16:29:08 UTC+0200, herbert langhans (herbert.raim...@gmx.net) wrote: Can you please tell me about the issue with freebsd-update. Does it mean if I run: #freebsd-update fetch #freebsd-update install - it will overwrite my self compiled kernel? Good to know indeed! No, I suspect freebsd-update will simply refuse to patch it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Voting for a native i386/amd64 flash player
Yep, I am in. I signed here: http://bugs.adobe.com/jira/browse/FP-1060 and also there: http://www.petitiononline.com/flash4me/petition.html Its the last thing I need to have a full native FreeBSD environment. Maybe you should dig out this thread after some weeks again, Leandro. I guess we can gather some more signatures from recent subscribers. Cheers herb langhans On Fri, Oct 02, 2009 at 09:25:53PM -0300, Leandro F Silva wrote: Hey guys, Let's vote to have a native i386 / amd64 flash player \o/ .. We just have to create an account and voting on the link below =D http://bugs.adobe.com/jira/browse/FP-1060 ___ 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 -- sprachtraining langhans herbert langhans, warschau http://www.langhans.com.pl herbert dot raimund at gmx dot net +0048 603 341 441 ___ 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: Deleting the kernel source - just with #rm?
On Sun, Oct 04, 2009 at 03:15:05PM +0200, herbert langhans wrote: I just compiled a nice, slim kernel on my laptop, but I dont want to carry all the kernel sources around there. Keep in mind that some ports (those that contain kernel modules) require the kernel sources. On my 7.2-RELEASE-p4 machine, /usr/src uses 495 MiB according to du(1). A bzip2 compressed tar archive of /usr/src weighs in at 83 MiB. If you are suffering from space constraints, consider doing a trimmed-down buildworld (on an external disk or on another machine) as well. Using src.conf(5) you can exclude a lot of stuff from the base system if you don't need it. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpTsPsi2xAS5.pgp Description: PGP signature
Re: Voting for a native i386/amd64 flash player
Message: 29 Date: Sat, 3 Oct 2009 23:45:18 -0600 From: Chad Perrin per...@apotheon.com Subject: Re: Voting for a native i386/amd64 flash player To: freebsd-questions@freebsd.org Message-ID: 20091004054518.gd37...@guilt.hydra Content-Type: text/plain; charset=us-ascii On Sat, Oct 03, 2009 at 08:01:07AM -0700, James Phillips wrote: I have this fantasy that if I design and build a better streaming video format, They (broadcasters) will use it, if properly marketed. It may be a fantasy, but as fantasies go, it's not a bad one. This would be despite the lack of strong DRM or license terms (GPL v3 is OK, right?). No, it isn't okay, really. That's ok: I've thought of an out for the licensing issue: I can write up an RFC. That way the BSD people can boast about their reference implementation, while the GNU zealots can be assured that their pure implementation won't be leveraged against them. 4. Publishers are authenticated with a Public-key infrastructure That caught my attention. I don't think we necessarily need a mainstream style implementation of PKI, though. I'd say either go with simple public key digital signatures in the style of OpenPGP or take cues from the Perspectives plugin for Firefox and do distributed web of trust style verification. Certifying Authorities are basically just a social engineering trick; now, instead of trusting one party, you have to trust two. I think I fell into the trap of using buzzwords. I *know* Certifying Authorities are an interm scam needed until the general population understands how public keys work. I think PGP style (but binary) signatures on every ~32kB packet solves the problem of authentication in the event of of missing packets. I was envisioning that the CNN's and BBC's of the world would have a series of public keys (one for each bureau), while Joe down the street would have 1 or 2 (one public, one for darknets). 2. For interoperability, I need to stabilize key points of the spec before publication. Currently struggling with date stamps (taking into account leap seconds) (mostly resolved), and a transform to allow the publisher to be authenticated even if some data is missing. There are copyfree licensed implementations of date management that take leap seconds into account out there already. Is there some reason you can't borrow liberally from them? Probably because I don't know about them :) Actually, I was planning to borrow from Unix Time, increasing the resolution, and making the number signed (for old recordings). But, Unix time doesn't do leap seconds, so they have to be added back in. Just recently, (reading cal(1)) I realized another problem: not everyone uses the Gregorian Calendar. Now I have to decide how to take that into account sufficiently. 4. A dual-license may quickly result in a fork that implements features I really don't want to see. (Read: anything deliberately incompatible.) That's just another reason to go with a copyfree license instead of the GPL. A copyfree license wouldn't have a stick preventing the implementation of an effective technological measure as described in Article 11 the 1996 WIPO treaty (GPL v3 does). If the (hypothetical) RFC explicitly says that copy-protection won't work (in the security considerations section), MAYBE a judge will decide any incompatible implementation is also ineffective at copy protection. Regards, James Phillips __ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Voting for a native i386/amd64 flash player
On Sun, 4 Oct 2009 08:33 -0700, anti_spam256@ wrote: Message: 29 Date: Sat, 3 Oct 2009 23:45:18 -0600 From: Chad Perrin per...@apotheon.com Subject: Re: Voting for a native i386/amd64 flash player To: freebsd-questions@freebsd.org Message-ID: 20091004054518.gd37...@guilt.hydra Content-Type: text/plain; charset=us-ascii On Sat, Oct 03, 2009 at 08:01:07AM -0700, James Phillips wrote: I have this fantasy that if I design and build a better streaming video format, They (broadcasters) will use it, if properly marketed. It may be a fantasy, but as fantasies go, it's not a bad one. This would be despite the lack of strong DRM or license terms (GPL v3 is OK, right?). No, it isn't okay, really. That's ok: I've thought of an out for the licensing issue: I can write up an RFC. That way the BSD people can boast about their reference implementation, while the GNU zealots can be assured that their pure implementation won't be leveraged against them. 4. Publishers are authenticated with a Public-key infrastructure That caught my attention. I don't think we necessarily need a mainstream style implementation of PKI, though. I'd say either go with simple public key digital signatures in the style of OpenPGP or take cues from the Perspectives plugin for Firefox and do distributed web of trust style verification. Certifying Authorities are basically just a social engineering trick; now, instead of trusting one party, you have to trust two. I think I fell into the trap of using buzzwords. I *know* Certifying Authorities are an interm scam needed until the general population understands how public keys work. I think PGP style (but binary) signatures on every ~32kB packet solves the problem of authentication in the event of of missing packets. I was envisioning that the CNN's and BBC's of the world would have a series of public keys (one for each bureau), while Joe down the street would have 1 or 2 (one public, one for darknets). 2. For interoperability, I need to stabilize key points of the spec before publication. Currently struggling with date stamps (taking into account leap seconds) (mostly resolved), and a transform to allow the publisher to be authenticated even if some data is missing. There are copyfree licensed implementations of date management that take leap seconds into account out there already. Is there some reason you can't borrow liberally from them? Probably because I don't know about them :) Actually, I was planning to borrow from Unix Time, increasing the resolution, and making the number signed (for old recordings). But, Unix time doesn't do leap seconds, so they have to be added back in. Just recently, (reading cal(1)) I realized another problem: not everyone uses the Gregorian Calendar. Now I have to decide how to take that into account sufficiently. 4. A dual-license may quickly result in a fork that implements features I really don't want to see. (Read: anything deliberately incompatible.) That's just another reason to go with a copyfree license instead of the GPL. A copyfree license wouldn't have a stick preventing the implementation of an effective technological measure as described in Article 11 the 1996 WIPO treaty (GPL v3 does). If the (hypothetical) RFC explicitly says that copy-protection won't work (in the security considerations section), MAYBE a judge will decide any incompatible implementation is also ineffective at copy protection. Regards, James Phillips __ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org So how many different subjects are in here that don't thread ? With all due respect: wheres Waldo ? -- %{+ | dataix.net!jhell 2048R/89D8547E 2009-09-30 | | BSD since FreeBSD 4.2Linux since Slackware 2.1 | | 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E | +%} ___ 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: Deleting the kernel source - just with #rm?
Roland Smith writes: I just compiled a nice, slim kernel on my laptop, but I dont want to carry all the kernel sources around there. Keep in mind that some ports (those that contain kernel modules) require the kernel sources. And not just kernel modules. The popular and useful sysutils/lsof not only requires the source tree (or at least some part of it), but requires the source match the running kernel. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Postfix doesn't start
Hi, I installed Postfix with PCRE support from the ports collection, but I get this error when I try to start it : Oct 4 20:22:09 mail postfix/postfix-script[47114]: starting the Postfix mail system Oct 4 20:22:09 mail postfix/master[47115]: fatal: open lock file /var/db/postfix/master.lock: cannot open file: Permission denied [r...@mail /]# ls -ld /var/db/postfix/ drwx-- 2 postfix wheel 512 Oct 4 20:16 /var/db/postfix/ The mail_owner directive is set to postfix in main.cf Is there some things to set up after the make install ? Did I miss something ? I'm running FreeBSD-7.2-RELEASE, and Postfix(-2.5.6,1) is started inside a jail. Thanks for your help :) ___ 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: Voting for a native i386/amd64 flash player
-- Leandro F Silva wrote : Hey guys, Let's vote to have a native i386 / amd64 flash player \o/ .. We just have to create an account and voting on the link below =D http://bugs.adobe.com/jira/browse/FP-1060 ___ freebsd-questi...@free... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@free... -- This message was sent on behalf of yble...@gmail.com at openSubscriber.com http://www.opensubscriber.com/message/freebsd-questions@freebsd.org/12886636.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: Postfix doesn't start
Le dimanche 4 octobre 2009 21:09:05 jgi...@gmail.com, vous avez écrit : What are the actual permissions on the lock file, not just the containing directory? Josh Sent via BlackBerry from T-Mobile -Original Message- From: Vinzstyle vinzst...@free.fr Date: Sun, 4 Oct 2009 20:41:32 To: freebsd-questions@freebsd.org Subject: Postfix doesn't start Hi, I installed Postfix with PCRE support from the ports collection, but I get this error when I try to start it : Oct 4 20:22:09 mail postfix/postfix-script[47114]: starting the Postfix mail system Oct 4 20:22:09 mail postfix/master[47115]: fatal: open lock file /var/db/postfix/master.lock: cannot open file: Permission denied [r...@mail /]# ls -ld /var/db/postfix/ drwx-- 2 postfix wheel 512 Oct 4 20:16 /var/db/postfix/ The mail_owner directive is set to postfix in main.cf Is there some things to set up after the make install ? Did I miss something ? I'm running FreeBSD-7.2-RELEASE, and Postfix(-2.5.6,1) is started inside a jail. Thanks for your help :) ___ 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 The file isn't created by make install. If I create it with permissions 666 and postfix as owner, I get the same error message... ___ 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: Postfix doesn't start
What are the actual permissions on the lock file, not just the containing directory? Josh Sent via BlackBerry from T-Mobile -Original Message- From: Vinzstyle vinzst...@free.fr Date: Sun, 4 Oct 2009 20:41:32 To: freebsd-questions@freebsd.org Subject: Postfix doesn't start Hi, I installed Postfix with PCRE support from the ports collection, but I get this error when I try to start it : Oct 4 20:22:09 mail postfix/postfix-script[47114]: starting the Postfix mail system Oct 4 20:22:09 mail postfix/master[47115]: fatal: open lock file /var/db/postfix/master.lock: cannot open file: Permission denied [r...@mail /]# ls -ld /var/db/postfix/ drwx-- 2 postfix wheel 512 Oct 4 20:16 /var/db/postfix/ The mail_owner directive is set to postfix in main.cf Is there some things to set up after the make install ? Did I miss something ? I'm running FreeBSD-7.2-RELEASE, and Postfix(-2.5.6,1) is started inside a jail. Thanks for your help :) ___ 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: Voting for a native i386/amd64 flash player
Leandro F Silva fsilvalean...@gmail.com wrote: Hey guys, Let's vote to have a native i386 / amd64 flash player \o/ .. The latest Linuxulator works quite well on -current with the Linux flash binary + pluginwrapper port, doesn't it? Works for me, at least. We just have to create an account and voting on the link below =D http://bugs.adobe.com/jira/browse/FP-1060 There's no way I'm going to create an account at Adobe and give them my personal data. No thanks. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd And believe me, as a C++ programmer, I don't hesitate to question the decisions of language designers. After a decent amount of C++ exposure, Python's flaws seem ridiculously small. -- Ville Vainio ___ 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
Xorg mouse not working after upgrade (console mouse works)
I had everything (Xorg + console mouse) working perfectly on my 6.3 system with slightly outdated ports. Now I upgraded to 6.4 and the latest ports. I am getting some strange behavior with respect to the mouse. I did adjust some lines of rc.conf in the process of trying to debug the problem (moused used to be enabled and now it's not). I have a run-of-the-mill USB mouse hooked up. In the console (before I type startx), I am able to move the mouse cursor and copy+paste just fine in the console. My rc.conf looks like this (surprisingly, moused is NOT enalbed, and the console mouse DOES WORK FINE): defaultrouter=192.168.0.254 hostname=tweety.i ifconfig_em0=inet 192.168.0.5 netmask 255.255.255.0 sshd_enable=YES usbd_enable=YES # added by xorg-libraries port local_startup=/usr/local/etc/rc.d hald_enable=YES dbus_enable=YES When I startx, the mouse cursor won't move. I have nothing currently in /etc/X11/xorg.conf (it's missing). I tried Xorg -configure and copying the output of that to /etc/X11/xorg.conf, but no change in behavior. I am also trying to add moused_enable=YES to my rc.conf. Then when I try to start moused, I get the following error: Starting default moused:moused: unable to open /dev/psm0: No such file or directory Had a look in /etc/defaults/rc.conf, but cannot decide on what to change in /etc/rc.conf to make X work. I really see no point in starting moused if the console mouse is already working, however. Is that correct? When I generated the xorg.conf with Xorg -configure, I did see this section in the xorg.conf: Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option ZAxisMapping 4 5 6 7 EndSection Any ideas on how to get mouse to work in X? I had a good look at the Handbook but everything I tried there did not fix the problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xorg mouse not working after upgrade (console mouse works)
Hi, On Sun, Oct 4, 2009 at 5:06 PM, Nerius Landys nlan...@gmail.com wrote: [snip] When I startx, the mouse cursor won't move. I have nothing currently in /etc/X11/xorg.conf (it's missing). I tried Xorg -configure and copying the output of that to /etc/X11/xorg.conf, but no change in behavior. [snip] Have a look at ports/UPDATING, 20090124 20090123. I, personally, am not a fan of requiring hald/dbus to enable my mouse. I added the following to my xorg.conf: Section ServerFlags option AutoAddDevicesoff option AllowEmptyInput off EndSection HTH -- 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: Voting for a native i386/amd64 flash player
--- On Sun, 10/4/09, jhell jh...@dataix.net wrote: From: jhell jh...@dataix.net Subject: Re: Voting for a native i386/amd64 flash player To: James Phillips anti_spam...@yahoo.ca Cc: freebsd-questions@freebsd.org Received: Sunday, October 4, 2009, 1:07 PM On Sun, 4 Oct 2009 08:33 -0700, anti_spam256@ wrote: Vague specific stuff about an ill-defined video standard So how many different subjects are in here that don't thread ? With all due respect: wheres Waldo ? Most on-topic is probably the licensing issue: I like the GPLv3, but many BSD users don't like it for the same reasons. I don't want to publish comprehensive details about my (video format) idea until I have the format defined in a forward-compatible way. AS I am fantasy land, I think that people will try implementing incompatible versions as soon as it's published. The risk is that may happen anyway if my format is not good enough. I haven't even done testing to find out how well compression is performed. Second-Worst case (mono white noise), I estimate that loss-less compression will only be able to compress frame changes to ~25% of the original frame size. Lossy compression will be a simple averaging of nearby pixels for (multiples of) ~4:1 compression. Mpeg is supposed to get up to 300:1. TL;DR: If you have to ask what the point is, it is probably off-topic and I can shut-up now. Regards, James Phillips __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xorg mouse not working after upgrade (console mouse works)
On Sun, 4 Oct 2009, Nerius Landys wrote: I had everything (Xorg + console mouse) working perfectly on my 6.3 system with slightly outdated ports. Now I upgraded to 6.4 and the latest ports. I am getting some strange behavior with respect to the mouse. I did adjust some lines of rc.conf in the process of trying to debug the problem (moused used to be enabled and now it's not). I have a run-of-the-mill USB mouse hooked up. In the console (before I type startx), I am able to move the mouse cursor and copy+paste just fine in the console. My rc.conf looks like this (surprisingly, moused is NOT enalbed, and the console mouse DOES WORK FINE): But if you check with ps, you'll find moused is running anyway. It gets started so that hotplugging USB mice works. See moused_nondefault_enable in rc.conf(5). Since you have a USB mouse, you might as well add moused_enable=YES to rc.conf. defaultrouter=192.168.0.254 hostname=tweety.i ifconfig_em0=inet 192.168.0.5 netmask 255.255.255.0 sshd_enable=YES usbd_enable=YES # added by xorg-libraries port local_startup=/usr/local/etc/rc.d hald_enable=YES dbus_enable=YES When I startx, the mouse cursor won't move. I have nothing currently in /etc/X11/xorg.conf (it's missing). Make sure that there isn't an xorg.conf somewhere else that's being used. /var/log/Xorg.0.log will show for sure: (==) Using config file: /usr/local/lib/X11/xorg.conf I tried Xorg -configure and copying the output of that to /etc/X11/xorg.conf, but no change in behavior. That produces an increasingly outdated config file. I am also trying to add moused_enable=YES to my rc.conf. Then when I try to start moused, I get the following error: Starting default moused:moused: unable to open /dev/psm0: No such file or directory Remember that moused is already running, and you may have to kill it before trying to re-run it with /etc/rc.d/moused. Running 6.4 might make a difference, too; I don't know. Had a look in /etc/defaults/rc.conf, but cannot decide on what to change in /etc/rc.conf to make X work. I really see no point in starting moused if the console mouse is already working, however. Is that correct? When I generated the xorg.conf with Xorg -configure, I did see this section in the xorg.conf: Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option ZAxisMapping 4 5 6 7 EndSection Any ideas on how to get mouse to work in X? I had a good look at the Handbook but everything I tried there did not fix the problem. Enable hal and dbus (and moused) in rc.conf. Make sure all are started and continue running; hal erroring out can be annoying. If you were running without an xorg.conf before, that should be enough. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RealPlayer broken
On a new install of 8.0RC1, Realplayer fails to start with the following: # realplay Gtk-Message: Failed to load module canberra-gtk-module: libcanberra-gtk-module.so: cannot open shared object file: No such file or directory Gtk-Message: Failed to load module gnomebreakpad: libgnomebreakpad.so: cannot open shared object file: No such file or directory Segmentation fault: 11 (core dumped) uname -a FreeBSD core2.fu.bar 8.0-RC1 FreeBSD 8.0-RC1 #0: Thu Sep 17 20:45:19 UTC 2009 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 pkg_info: gnome2-2.26.3 pkg_info -xI linux linux-f10-atk-1.24.0 Accessibility Toolkit, Linux/i386 binary (Linux Fedora 10) linux-f10-cairo-1.8.0 Vector graphics library Cairo (Linux Fedora 10) linux-f10-curl-7.19.4_4 The command line tool for transferring files with URL synta linux-f10-cyrus-sasl2-2.1.22 RFC SASL (Simple Authentication and Security Layer) (L linux-f10-expat-2.0.1 Linux/i386 binary port of Expat XML-parsing library (Linux linux-f10-flashplugin-10.0r32 Adobe Flash Player NPAPI Plugin linux-f10-fontconfig-2.6.0 An XML-based font configuration API for X Windows (Linux Fe linux-f10-gtk2-2.14.7 GTK+ library, version 2.X (Linux Fedora 10) linux-f10-jpeg-6b RPM of the JPEG lib (Linux Fedora 10) linux-f10-libssh2-0.18 The library implementing the SSH2 protocol (Linux Fedora 10 linux-f10-nspr-4.7.4 Netscape Portable Runtime (Linux Fedora 10) linux-f10-nss-3.12.2.0 Network Security Services (Linux Fedora 10) linux-f10-openldap-2.4.12_1 Lightweight Directory Access Protocol libraries (Linux Fedo linux-f10-openssl-0.9.8g The OpenSSL toolkit (Linux Fedora 10) linux-f10-pango-1.22.3 The pango library (Linux Fedora 10) linux-f10-png-1.2.37 RPM of the PNG lib (Linux Fedora 10) linux-f10-sqlite3-3.5.9_1 The library that implements an embeddable SQL database engi linux-f10-tiff-3.8.2 The TIFF library, Linux/i386 binary (Linux Fedora 10) linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10) linux-realplayer-10.0.9.809.20070726 Linux RealPlayer 10 from RealNetworks linux_base-f10-10_2 Base set of packages needed in Linux mode for i386/amd64 (L I have Googled, however there is no mention of a solution. Any help is appreciated. TIA ___ 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: Xorg mouse not working after upgrade (console mouse works)
Thanks for the tips guys. I had a close look at both suggestions. After further experimentation I found that this line in rc.conf: usbd_enable=YES was causing the mouse pointer not to work in Xorg. Simply removing that line, all works perfectly. So my end-result rc.conf is: defaultrouter=192.168.0.254 hostname=tweety.i ifconfig_em0=inet 192.168.0.5 netmask 255.255.255.0 sshd_enable=YES # added by xorg-libraries port local_startup=/usr/local/etc/rc.d hald_enable=YES dbus_enable=YES I found that adding the moused start just adds more confusion, especially because moused is already started automatically because of, I guess, the hald. I just hope I'm not missing out on not having usbd_enable. Kinda confusing stuff, I'm sure it's smoother in 7.x or 8.0. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Xorg mouse not working after upgrade (console mouse works)
On Sun, 4 Oct 2009, Nerius Landys wrote: Thanks for the tips guys. I had a close look at both suggestions. After further experimentation I found that this line in rc.conf: usbd_enable=YES was causing the mouse pointer not to work in Xorg. Simply removing that line, all works perfectly. Huh. usbd went away at some point around 6.4, so that line shouldn't do anything. I think. So my end-result rc.conf is: defaultrouter=192.168.0.254 hostname=tweety.i ifconfig_em0=inet 192.168.0.5 netmask 255.255.255.0 sshd_enable=YES # added by xorg-libraries port local_startup=/usr/local/etc/rc.d hald_enable=YES dbus_enable=YES I found that adding the moused start just adds more confusion, especially because moused is already started automatically because of, I guess, the hald. I just hope I'm not missing out on not having usbd_enable. Kinda confusing stuff, I'm sure it's smoother in 7.x or 8.0. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Voting for a native i386/amd64 flash player
On Sun, Oct 04, 2009 at 10:01:14PM +0200, Oliver Fromme wrote: Leandro F Silva fsilvalean...@gmail.com wrote: Hey guys, Let's vote to have a native i386 / amd64 flash player \o/ .. The latest Linuxulator works quite well on -current with the Linux flash binary + pluginwrapper port, doesn't it? Works for me, at least. We just have to create an account and voting on the link below =D http://bugs.adobe.com/jira/browse/FP-1060 There's no way I'm going to create an account at Adobe and give them my personal data. No thanks. Best regards Oliver sorry if this is just a ``me too'', but i cannot wait for flashit to die [an overdue death] gary ps i'll sign up wherever i can! -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd And believe me, as a C++ programmer, I don't hesitate to question the decisions of language designers. After a decent amount of C++ exposure, Python's flaws seem ridiculously small. -- Ville Vainio ___ 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 -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org