Re: port build breaks at xmlto

2011-08-12 Thread b. f.
On Fri, Aug 12, 2011 at 01:18:07PM +1000, Daryl Sayers wrote:
>
>
> FreeBSD 7.4
> I am having trouble building the xmlto port on FreeBSD 7.4. I am getting an
> error:
>
> ===>  Building for xmlto-0.0.24
> make  all-am
> for xml in xmlif.xml xmlto.xml; do  FORMAT_DIR=./format  /usr/local/bin/bash 
> ./xmlto -o man/man1 man ./doc/$xml ;  done || ( RC=$?; exit $RC )
> xmlto: /usr/ports/textproc/xmlto/work/xmlto-0.0.24/./doc/xmlif.xml does not 
> validate (status 3)
> xmlto: Fix document syntax or use --skip-validation option
> I/O error : Attempt to load network entity 
> http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
> /usr/ports/textproc/xmlto/work/xmlto-0.0.24/./doc/xmlif.xml:4: warning: 
> failed to load external entity 
> "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";
>"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";>
> 

xmlto should be using /usr/local/share/xml/docbook/4.2/docbookx.dtd,
which should be installed by the build dependency
textproc/docbook-xml, but instead is trying to fetch this file from a
remote location, and failing.  Check to see if this file is present,
and intact.  If it isn't, then reinstall textproc/docbook-xml. You
could look at the file (and compare it to the reference file from the
remote location), and the output of "pkg_info -ag", to see if anything
is corrupted.


>
> After alot of frustration I decided to throw everything away and start again:
>
> # pkg_delete -a

Okay, you've instructed the system to delete the registered files and
directories in the step above -- but is any garbage left in /usr/local
afterward?  After the above step, you should check to see that
/usr/local only contains files that you have placed there, and that
won't interfere with new port installations.


> # cd /usr/ports; rm -fr *
> # csup -h cvsup.au.FreeBSD.org /usr/share/examples/cvsup/ports-supfile
> # cd /usr/ports/textproc/xmlto
> # make

Usually, it's a good idea to perform "make deinstall-all clean all"
(in that order), although in this case it should not have made a
difference for the first build, if you had succeeded in cleaning
/usr/local and /usr/ports.

>
> Using the defaults when the config screens appear. As there are now no 
> packages
> installed and the ports tree is brand new there should be no problems but in
> the end it still fails with the same message. My /etc/make.conf is empty also.
>
> Why cant I build this package.

This port was built on July 17 on the build cluster with 7.3-RELEASE-p4:

http://pointyhat.freebsd.org/errorlogs/amd64-7-latest-logs/xmlto-0.0.24.log

so while there may be a bug in the port, or in one of its
dependencies, it is more probable that your build is polluted.  If you
don't want to use a binary package downloaded from the server, then
you'll have to be patient, and break down the build until you find the
precise location where it is failing, even though that is a nuisance.
A complete build transcript and config.log would help.

b.
___
freebsd-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: library with click built-in?

2011-08-12 Thread Polytropon
On Fri, 12 Aug 2011 16:02:24 -0700, Gary Kline wrote:
>   thanks.  i have _never_ heard the BEL inmy version of
>   ubuntu.  my server is a 2-proc dell, too cheap to
>   have a real spkr; it does beep [bbarely] thanks to some kind
>   of piezo gimmick. but no speaker connections.

This is typical for today's hardware. In some cases,
it's possible to remove the piezo "speaker" and attach
a regular one, but this _might_ kill something on the
mainboard, so it's not adviced. In worst case, it should
be possible to get the signal and put it through a simple
amplifier (e. g. an A210, but that's too much work for
just a beep).


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Don't understand df/du output

2011-08-12 Thread Rodrigo Gonzalez


On 08/12/2011 08:14 PM, Alain AUDEBERT aka 2A wrote:

I have try a tunefs -m 1 /dev/xbd6, unmount, mount and nothing change
Is it the 8% reserved by FFS ?

Yes


Maybe it's important, but it's not an hard disk, just a Xen volume !
So maybe we can't tunefs it ?

Unfortunately I cannot answer that :(


Regards,
Alain



___
freebsd-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: Don't understand df/du output

2011-08-12 Thread Alain AUDEBERT aka 2A
>> I have try a tunefs -m 1 /dev/xbd6, unmount, mount and nothing change
>> Is it the 8% reserved by FFS ?
> Yes


Maybe it's important, but it's not an hard disk, just a Xen volume !
So maybe we can't tunefs it ?

Regards,
Alain

-- 
-BEGIN GEEK CODE BLOCK-
   Version: 3.1
   GIT/MU/S/SS d--(---)@ s++:++>+ a C++>+++ UBLS+++>$
   P+++ L E--- W++ N++ o+ K- w--(---) O M+(++) V PS++ PE-- Y++
   PGP+ !t !5 X++>+ R-- tv- b++ DI++ D+ G++ e+++ h++>+ r y*
--END GEEK CODE BLOCK--

___
freebsd-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: Don't understand df/du output

2011-08-12 Thread Alain AUDEBERT aka 2A
>> I have try a tunefs -m 1 /dev/xbd6, unmount, mount and nothing change
>> Is it the 8% reserved by FFS ?
> Yes
> 
> read http://www.freebsd.org/doc/en/books/faq/disks.html
> 
> Question 9.27 (last one)


Hi Rodrigo,

Ok, so I understand why the free space is not equal to : "available - used"

But in this case why when I turned the minfree space at 1% with tunefs there is 
no change ??
This point I don't understand

About manufacturer the volume make 400Go, and appears like 393Go :)

Thank you all

Alain

-- 
-BEGIN GEEK CODE BLOCK-
   Version: 3.1
   GIT/MU/S/SS d--(---)@ s++:++>+ a C++>+++ UBLS+++>$
   P+++ L E--- W++ N++ o+ K- w--(---) O M+(++) V PS++ PE-- Y++
   PGP+ !t !5 X++>+ R-- tv- b++ DI++ D+ G++ e+++ h++>+ r y*
--END GEEK CODE BLOCK--

___
freebsd-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: library with click built-in?

2011-08-12 Thread Gary Kline
On Fri, Aug 12, 2011 at 09:39:21PM +0200, Polytropon wrote:
> Date: Fri, 12 Aug 2011 21:39:21 +0200
> From: Polytropon 
> Subject: Re: library with click built-in?
> To: Gary Kline 
> Cc: freebsd-questions@freebsd.org
> X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; amd64-portbld-freebsd8.2)
> 
> On Fri, 12 Aug 2011 12:27:48 -0700, Gary Kline wrote:
> > I only use my FreeBSD computer as a server; it isn't even hooked
> > up to my speakers, so there is no way of testing anything i write
> > that involves sound.  So  does anybody know if any other toolkit
> > outputs audio?  
> 
> There are two means:
> 
> The first one is the echoing of the ^G (BEL) character, 0x07
> which is handled by the text mode console or terminal emulators
> like xterm. In X, the sound that will be produced can be
> controlled with a xset setting.
> 
> xset [-b] [b {on|off}] [b [volume [pitch [duration
> 
> See "man xset" for details.
> 
> 
> The other one is the system speaker. If you have "device speaker"
> in your kernel, you can access /dev/speaker (if the permissions
> are set properly, see /etc/devfs.conf for an example. Using
> the "note language" known from several BASIC dialects for
> microcomputers, you can easily create sounds for that. A list
> of the "note language" is in "man 4 speaker".
> 
> Here's a small example:
> 
> #!/bin/sh
> read -p "CW ===> " TEXT
> echo ${TEXT} | morse | awk '{
>   if(length($0) == 0)
>   printf("P4\n");
>   else {
>   gsub(" dit", "P32L32E", $0);
>   gsub(" di",  "P32L32E", $0);
>   gsub(" dah", "P32L8E",  $0);
>   printf("%sP16\n", $0);
>   }
> }' | dd bs=256 of=/dev/speaker > /dev/null 2>&1
> 
> NB: The timing is slightly out of proper relation. :-)
> 
> 
> 


thanks.  i have _never_ heard the BEL inmy version of
ubuntu.  my server is a 2-proc dell, too cheap to
have a real spkr; it does beep [bbarely] thanks to some kind
of piezo gimmick. but no speaker connections.

i'll check around on my homebrew desktop...


> 
> -- 
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
> 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.51a release of Jottings: http://jottings.thought.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: Don't understand df/du output

2011-08-12 Thread Adam Vande More
On Fri, Aug 12, 2011 at 4:58 PM, Alain AUDEBERT aka 2A  wrote:

> Is it the 8% reserved by FFS ?
>

http://www.freebsd.org/doc/en/books/faq/disks.html#MANUFACTURER-DISK-SIZE

-- 
Adam Vande More
___
freebsd-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: Don't understand df/du output

2011-08-12 Thread Rodrigo Gonzalez

On 08/12/2011 06:58 PM, Alain AUDEBERT aka 2A wrote:

Hello list,

I having a problem to understand the output of du and df command :

[root@ftp ~]# df -h /opt/
FilesystemSizeUsed   Avail Capacity  Mounted on
/dev/xbd6 387G342G 13G96%/opt

[root@ftp ~]# du -sh /opt/
342G/opt/

But 387Go - 342Go not equal to 13Go ! Where's the available space ?
(same thing with df -k)

I have try a tunefs -m 1 /dev/xbd6, unmount, mount and nothing change
Is it the 8% reserved by FFS ?

Yes

read http://www.freebsd.org/doc/en/books/faq/disks.html

Question *9.27* (last one)



Regards,

Alain



___
freebsd-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: Don't understand df/du output

2011-08-12 Thread Alain AUDEBERT aka 2A

Le 13 août 2011 à 00:35, Polytropon a écrit :

> On Fri, 12 Aug 2011 23:58:12 +0200, Alain AUDEBERT aka 2A wrote:
>> Hello list,
>> 
>> I having a problem to understand the output of du and df command :
>> 
>> [root@ftp ~]# df -h /opt/
>> FilesystemSizeUsed   Avail Capacity  Mounted on
>> /dev/xbd6 387G342G 13G96%/opt
>> 
>> [root@ftp ~]# du -sh /opt/
>> 342G/opt/
>> 
>> But 387Go - 342Go not equal to 13Go ! Where's the available space ?
>> (same thing with df -k)
>> 
>> I have try a tunefs -m 1 /dev/xbd6, unmount, mount and nothing change
>> Is it the 8% reserved by FFS ?
> 
> See:
> http://www.freebsd.org/doc/en/books/faq/disks.html#DU-VS-DF


Thank for the link, but in my case du and df are the same used output, and it's 
not an rm, I launch lsof and no process with a big file :-/

Regards,
Alain
-- 
-BEGIN GEEK CODE BLOCK-
   Version: 3.1
   GIT/MU/S/SS d--(---)@ s++:++>+ a C++>+++ UBLS+++>$
   P+++ L E--- W++ N++ o+ K- w--(---) O M+(++) V PS++ PE-- Y++
   PGP+ !t !5 X++>+ R-- tv- b++ DI++ D+ G++ e+++ h++>+ r y*
--END GEEK CODE BLOCK--

___
freebsd-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: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt.

2011-08-12 Thread Hartmann, O.

On 08/12/11 22:54, Roland Smith wrote:

On Fri, Aug 12, 2011 at 08:44:07PM +0200, Hartmann, O. wrote:

files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz

This file is relatively recent; When I used portsnap yesterday, it wasn't
there, and now it is.

I do a postrmaster on a nearly daily basis. This occured this morning
(German standard time) to me the first time.

I did a portsnap just before my previous mail. It downloaded and extracted the
particular file without problem.


Have you fscked the volume that contains /var? If not I suggest you do. You
might be looking at filesystem corruption.

No I did not. If this is a inconsistent filesystem (I thought about this
also), then it
has occured on ALL(!) FreeBSD 9.0-CURRENT/amd64 boxes over night (this i
why I thought about the filesystem, since the FreeBSD 8.2/amd64-boxes do
not show this problem as I mentioned at the start of the post, my mistake).

Another data-point: I'm on 8.2-RELEASE amd64 as well and it doesn't show a
problem. So it could well be a CURRENT specific problem. But I would think
that the filesystem code would be pretty mature by now. Maybe some changes in
VFS?
I have a FreeBSD 8.2-STABLE/amd64 server at my lab, no problems. My 
workstation, my laptop and my box at home are all FreeBSD 
9.0-CURRENT/amd64, recent system (r224803) and they have all without 
exception this problem.





I'll force a fsck as soon as possible. I started the boxes already and
they didn't show up any unclean filesystem so far ...

Since portsnap cannot find the file in question, I assume you have checked
that it existed and that it was a normal file etc?

Could it be a hardware issue? Some time ago I began to have random filesystem
corruption and lockups. After cleaning out two years worth of dust out of the
machine in question it now runs fine again.

Roland
No hardware issue. This hardware issue must have occured on three 
different systems the same time. An unlikely coincidence.


I did a complete fsck. No problems with the filesystem.
But the problem remains. Again, I'll delete /var/db/portsnap and if it 
doesn't help, I'll also delete /usr/ports ...


Oliver

___
freebsd-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: Don't understand df/du output

2011-08-12 Thread Polytropon
On Fri, 12 Aug 2011 23:58:12 +0200, Alain AUDEBERT aka 2A wrote:
> Hello list,
> 
> I having a problem to understand the output of du and df command :
> 
> [root@ftp ~]# df -h /opt/
> FilesystemSizeUsed   Avail Capacity  Mounted on
> /dev/xbd6 387G342G 13G96%/opt
> 
> [root@ftp ~]# du -sh /opt/
> 342G/opt/
> 
> But 387Go - 342Go not equal to 13Go ! Where's the available space ?
> (same thing with df -k)
> 
> I have try a tunefs -m 1 /dev/xbd6, unmount, mount and nothing change
> Is it the 8% reserved by FFS ?

See:
http://www.freebsd.org/doc/en/books/faq/disks.html#DU-VS-DF



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Don't understand df/du output

2011-08-12 Thread Alain AUDEBERT aka 2A
Hello list,

I having a problem to understand the output of du and df command :

[root@ftp ~]# df -h /opt/
FilesystemSizeUsed   Avail Capacity  Mounted on
/dev/xbd6 387G342G 13G96%/opt

[root@ftp ~]# du -sh /opt/
342G/opt/

But 387Go - 342Go not equal to 13Go ! Where's the available space ?
(same thing with df -k)

I have try a tunefs -m 1 /dev/xbd6, unmount, mount and nothing change
Is it the 8% reserved by FFS ?

Regards,

Alain

-- 
-BEGIN GEEK CODE BLOCK-
   Version: 3.1
   GIT/MU/S/SS d--(---)@ s++:++>+ a C++>+++ UBLS+++>$
   P+++ L E--- W++ N++ o+ K- w--(---) O M+(++) V PS++ PE-- Y++
   PGP+ !t !5 X++>+ R-- tv- b++ DI++ D+ G++ e+++ h++>+ r y*
--END GEEK CODE BLOCK--

___
freebsd-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: pkdgb and corrupted record(s)

2011-08-12 Thread Kurt Buff
On Fri, Aug 12, 2011 at 12:44, Adam Vande More  wrote:
> On Fri, Aug 12, 2011 at 1:15 PM, Warren Block  wrote:
>>
>> I'd never seen it with portupgrade, either.  Don't know the cause, but it
>> can be a problem.  portmaster --check-depends might fix it.  A more
>> brute-force way is to figure out which are the problems with
>> find /var/db/pkg -name "+CONTENTS" -exec egrep -B1 -H 'pkgdep $' {} \;
>> Then rebuild all of them by feeding the list to portmaster, which will
>> sort them and rebuild in the right order to fix it.
>
> If I remember correctly, this can be caused by Ctrl-C out of a portmaster
> run early, or perhaps some other abnormal termination.  IIRC, some
> improvements have been done for this problem as it's been quite awhile since
> I've seen it personally, but your mileage may vary.
>
> --
> Adam Vande More

That sounds reasonable. Don't know that I've ever done that, but
memory dims as I grow older

Kurt
___
freebsd-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: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt.

2011-08-12 Thread Roland Smith
On Fri, Aug 12, 2011 at 08:44:07PM +0200, Hartmann, O. wrote:
> >> files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz
> > This file is relatively recent; When I used portsnap yesterday, it wasn't
> > there, and now it is.
> I do a postrmaster on a nearly daily basis. This occured this morning 
> (German standard time) to me the first time.

I did a portsnap just before my previous mail. It downloaded and extracted the
particular file without problem.

> > Have you fscked the volume that contains /var? If not I suggest you do. You
> > might be looking at filesystem corruption.
> No I did not. If this is a inconsistent filesystem (I thought about this 
> also), then it
> has occured on ALL(!) FreeBSD 9.0-CURRENT/amd64 boxes over night (this i 
> why I thought about the filesystem, since the FreeBSD 8.2/amd64-boxes do 
> not show this problem as I mentioned at the start of the post, my mistake).

Another data-point: I'm on 8.2-RELEASE amd64 as well and it doesn't show a
problem. So it could well be a CURRENT specific problem. But I would think
that the filesystem code would be pretty mature by now. Maybe some changes in
VFS?

> I'll force a fsck as soon as possible. I started the boxes already and 
> they didn't show up any unclean filesystem so far ...

Since portsnap cannot find the file in question, I assume you have checked
that it existed and that it was a normal file etc?

Could it be a hardware issue? Some time ago I began to have random filesystem
corruption and lockups. After cleaning out two years worth of dust out of the
machine in question it now runs fine again.

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)


pgpsilkrOl7qS.pgp
Description: PGP signature


Re: kernel Panic not dumping to swap

2011-08-12 Thread Patrick Mahan


On 8/9/11 10:33 PM, Daryl Sayers wrote:
> I have a FreeBSD 8.2-STABLE (64bit) system with 4G mem installed. I have
> had a few kernel panics over the last few weeks and would like to capture
> a core dump. I have added the following to /etc/rc.conf
> 
> dumpdev="AUTO"
> dumpdir=/var/crash
> 
> The /var/crash is a 5G filesystem (with 4.8G free).
> When the machine panics the last 2 lines on the console are something like:
> 
> 
> Physical memory: 3057 MB
> Dumping 204 MB: 189 173 157 141 125
> 
> 
> The system then completely hangs and a hardware rest is required. As the dump
> does not seem to finish I dont get my core dump in /var/cache when the machine
> reboots.
> 
> Any ideas??
> 

Daryl,

A couple of questions:

1) How big is your swap partition?  Is it large enough to hold the crash dump?
2) What type of hardware is this? I know that HP Proliants using the CISS raid
   control fail to produce a crashdump and just hangup these boxes.  Perhaps
   this occurs for other types of hardware?

Patrick
___
freebsd-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: pkdgb and corrupted record(s)

2011-08-12 Thread Adam Vande More
On Fri, Aug 12, 2011 at 1:15 PM, Warren Block  wrote:

>
> I'd never seen it with portupgrade, either.  Don't know the cause, but it
> can be a problem.  portmaster --check-depends might fix it.  A more
> brute-force way is to figure out which are the problems with
> find /var/db/pkg -name "+CONTENTS" -exec egrep -B1 -H 'pkgdep $' {} \;
> Then rebuild all of them by feeding the list to portmaster, which will sort
> them and rebuild in the right order to fix it.


If I remember correctly, this can be caused by Ctrl-C out of a portmaster
run early, or perhaps some other abnormal termination.  IIRC, some
improvements have been done for this problem as it's been quite awhile since
I've seen it personally, but your mileage may vary.

-- 
Adam Vande More
___
freebsd-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: library with click built-in?

2011-08-12 Thread Polytropon
On Fri, 12 Aug 2011 12:27:48 -0700, Gary Kline wrote:
> I only use my FreeBSD computer as a server; it isn't even hooked
> up to my speakers, so there is no way of testing anything i write
> that involves sound.  So  does anybody know if any other toolkit
> outputs audio?  

There are two means:

The first one is the echoing of the ^G (BEL) character, 0x07
which is handled by the text mode console or terminal emulators
like xterm. In X, the sound that will be produced can be
controlled with a xset setting.

xset [-b] [b {on|off}] [b [volume [pitch [duration

See "man xset" for details.


The other one is the system speaker. If you have "device speaker"
in your kernel, you can access /dev/speaker (if the permissions
are set properly, see /etc/devfs.conf for an example. Using
the "note language" known from several BASIC dialects for
microcomputers, you can easily create sounds for that. A list
of the "note language" is in "man 4 speaker".

Here's a small example:

#!/bin/sh
read -p "CW ===> " TEXT
echo ${TEXT} | morse | awk '{
if(length($0) == 0)
printf("P4\n");
else {
gsub(" dit", "P32L32E", $0);
gsub(" di",  "P32L32E", $0);
gsub(" dah", "P32L8E",  $0);
printf("%sP16\n", $0);
}
}' | dd bs=256 of=/dev/speaker > /dev/null 2>&1

NB: The timing is slightly out of proper relation. :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


library with click built-in?

2011-08-12 Thread Gary Kline

I have discovered that the gnome toolkit has a click built in.
someone has created an educational tool that clicks whenever you 
use the mouse.  [linux.]  

I only use my FreeBSD computer as a server; it isn't even hooked
up to my speakers, so there is no way of testing anything i write
that involves sound.  So  does anybody know if any other toolkit
outputs audio?  

tia, folks.

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.51a release of Jottings: http://jottings.thought.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: pkdgb and corrupted record(s)

2011-08-12 Thread Kurt Buff
On Fri, Aug 12, 2011 at 11:15, Warren Block  wrote:
> On Fri, 12 Aug 2011, Kurt Buff wrote:
>
>> This seems fairly benign so far, but I find it happening on several
>> machines after switching from portupgrade to portmaster. Don't know if
>> that switch is actually part of the issue or not, though I'm really
>> liking portmaster.
>
> I'd never seen it with portupgrade, either.  Don't know the cause, but it
> can be a problem.  portmaster --check-depends might fix it.  A more
> brute-force way is to figure out which are the problems with
> find /var/db/pkg -name "+CONTENTS" -exec egrep -B1 -H 'pkgdep $' {} \;
> Then rebuild all of them by feeding the list to portmaster, which will sort
> them and rebuild in the right order to fix it.

I did a 'make deinstall clean' and 'make install' on those packages,
and all is happy now.

Thanks.

Kurt
___
freebsd-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: pkdgb and corrupted record(s)

2011-08-12 Thread Kurt Buff
On Fri, Aug 12, 2011 at 11:17, John Webster  wrote:
>
>
> --On August 12, 2011 11:08:01 AM -0700 Kurt Buff  wrote:
>
>> All,
>>
>> This seems fairly benign so far, but I find it happening on several
>> machines after switching from portupgrade to portmaster. Don't know if
>> that switch is actually part of the issue or not, though I'm really
>> liking portmaster.
>>
>> Anyone have a thought on this?
>>
>
> 

Well, now I feel silly - a bit of decent google-fu should have found that.

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: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt.

2011-08-12 Thread Hartmann, O.

On 08/12/11 20:21, Roland Smith wrote:

On Fri, Aug 12, 2011 at 07:38:06PM +0200, Olivier Smedts wrote:

2011/8/12 Roland Smith:

On Fri, Aug 12, 2011 at 05:46:37PM +0200, Hartmann, O. wrote:

Since today, I can not update my ports tree due to this error as follows.
This happens on all boxes running FreeBSD, the version of the OS (FBSD
8.2/9.0) doesn't
matter. What's up with the ports collection?

Probably nothing.


files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not
found -- snapshot corrupt.

This looks like a portsnap error. Remove everything in /var/db/portsnap, and
run 'portsnap fetch extract'.

Same error here and after removing all files in /var/db/portsnap/
except pub.ssl and serverlist*.

Did you clean out the files subdirectory as well? Try and remove
/var/db/portsnap completely.


I did ... I figured out that the files folder was populated with 90MB 
and > 22000 files. I checked that after the error occured and then 
killed the whole postsnap folder ...





files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz

This file is relatively recent; When I used portsnap yesterday, it wasn't
there, and now it is.
I do a postrmaster on a nearly daily basis. This occured this morning 
(German standard time) to me the first time.


Have you fscked the volume that contains /var? If not I suggest you do. You
might be looking at filesystem corruption.
No I did not. If this is a inconsistent filesystem (I thought about this 
also), then it
has occured on ALL(!) FreeBSD 9.0-CURRENT/amd64 boxes over night (this i 
why I thought about the filesystem, since the FreeBSD 8.2/amd64-boxes do 
not show this problem as I mentioned at the start of the post, my mistake).


I'll force a fsck as soon as possible. I started the boxes already and 
they didn't show up any unclean filesystem so far ...


Oliver


Roland


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to get ip address automatically from different dhcp server

2011-08-12 Thread Christopher J. Ruwe
On Fri, 12 Aug 2011 11:46:34 +0800
dave jones  wrote:

I rearrange your mail and post bottom to enable others to have a look.

>On Thu, Jul 28, 2011 at 4:30 AM, Christopher J. Ruwe  wrote:
>> On Wed, 27 Jul 2011 10:49:42 +0800
>> dave jones  wrote:
>>
>>> Hi,
>>>
>>> I cat get an IP address from dhcp server by adding the line
>>> in /etc/rc.conf:
>>>
>>> ifconfig_em0="DHCP"
>>>
>>> If I move my laptop to another place, I have to manually run
>>> "dhclient em0" to get an IP. Otherwise, it won't get an IP
>>> automatically.
>>>
>>> My question is it's possible to get ip address automatically from
>>> different dhcp server? thanks.
>>>
>>> Regards,
>>> Dave.
>>> ___
>>> freebsd-questions@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to
>>> "freebsd-questions-unsubscr...@freebsd.org"
>>
>> Have a look at /etc/devd.conf. Mine include a portion
>>
>> #
>> # Try to start dhclient on Ethernet like interfaces when the link comes
>> # up.  Only devices that are configured to support DHCP will actually
>> # run it.  No link down rule exists because dhclient automaticly exits
>> # when the link goes down.
>> #
>> notify 0 {
>>        match "system"          "IFNET";
>>        match "type"            "LINK_UP";
>>        media-type              "ethernet";
>>        action "/etc/rc.d/dhclient quietstart $subsystem";
>> };
>> #
>> notify 0 {
>>        match "system"          "IFNET";
>>        match "type"            "LINK_DOWN";
>>        media-type              "ethernet";
>>        action "/etc/rc.d/dhclient quietstop $subsystem ; ifconfig $subsystem 
>> inet 0.0.0.0";
>> };
>>
>> I am under the impression that this rule does what you want to do.
>>
>> Cheers,
>> --
>> Christopher J. Ruwe
>> TZ GMT + 2
>>

> Hi Christopher,
> 
> Thanks for your solution. It does help a lot, but there's one problem.
> For example, DHCP server is not started for some reason and my computer's
> ethernet cable is plugged. Once dhcp server started, I can't get the IP unless
> I unplug and then plug the ethernet cable. Do you know how to solve
> this issue? Thank you.
> 
> Regards,
> Dave.
> 

Ok. To check whether I understand what you are saying: Your computer is 
running, but an external DHCP-server is not. Your computer tries to get an IP 
from the external DHCP server, which is down, so dhclient is unsuccessful. You 
then kick the DHCP-server back to live and then you have to plug in and out to 
get an IP?

Assuming I understand correctly, that is exactly what should happen. You see, 
normally DHCP-servers don't flood the network with "Hello all dhclients, I am 
dhcp-server, please tell me if you need an IP", usually the opposite direction 
is in order as in "hello dhcp-server, I am dhclient, I need an IP, please give 
me one". 
You now have two options: 1) You coerce a manual request be running dhclient. 
2) You plug in and out, which runs dhclient as you have configured to do so in 
your devd.conf.
Of course you can set the retry-time for dhclient (see `man dhclient`) to an 
absurldly low threshold, so you are saved doing the dhcp-discover-procedure 
manually. It is, however, dubious, whether you want to do so. It might be a 
smarter way to fix that DHCP-server of yours.

Hope to have been of some help here, 
cheers
-- 
Christopher J. Ruwe
TZ GMT + 2
___
freebsd-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: Zero results for Thunderbird addressbook client quering OpenLDAP server

2011-08-12 Thread Jeff Tipton

On 08/12/11 13:32, Jeff Tipton wrote:

Hi,

I installed an OpenLDAP server for an office LAN, and the first thing I wanted 
it do is a shared address book for e-mail clients. My OpenLDAP server responds 
ok on ldapsearch, it also can be browsed with phpldapadmin and jxplorer (from a 
LAN desktop) but I can't get anything from it with Thunderbird and Claws mail 
addressbooks.

The server OS is 7.4-RELEASE, OpenLDAP is 2.4.26.

To trace the problem, I stripped down all the configuration to a bare minimum, 
removed all ACLs, and opened the port 389 on the router, so that I can continue 
remotely (hope I won't need this hole for long). Here's my slapd.conf:

modulepath   /usr/local/libexec/openldap
moduleload   back_bdb.la
moduleload   back_hdb.la
include /usr/local/etc/openldap/schema/core.schema
include   /usr/local/etc/openldap/schema/cosine.schema
include   /usr/local/etc/openldap/schema/inetorgperson.schema
databasehdb
suffix  "dc=domainname,dc=tld"
rootdn  "cn=Manager,dc=domainname,dc=tld"
directory   /var/db/openldap-data
index   objectClass,uid,uidNumber,gidNumber   eq
index   cn,mail,surname,givenname eq,subinitial
rootpw {SSHA}95A/ZTBigrkvH349C6pM6WtI1TMoZRDe
loglevel 256

The database structure:

ldapsearch -W -H ldap://localhost/ -D cn=Manager,dc=domainname,dc=tld -b 
'dc=domainname,dc=tld' '(objectclass=*)'
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base  with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# domainname.tld
dn: dc=domainname,dc=tld
objectClass: dcObject
objectClass: organization
o: domainname.tld
dc: domainname

# Manager, domainname.tld
dn: cn=Manager,dc=domainname,dc=tld
objectClass: organizationalRole
cn: Manager

# TBabook, domainname.tld
dn: ou=TBabook,dc=domainname,dc=tld
objectClass: organizationalUnit
objectClass: top
ou: TBabook

# John User, TBabook, domainname.tld
dn: cn=John User,ou=TBabook,dc=domainname,dc=tld
objectClass: inetOrgPerson
objectClass: top
objectClass: person
cn: John User
givenName: John
mail: j...@domainname.tld
sn: User


# search result
search: 2
result: 0 Success

# numResponses: 5
# numEntries: 4

Now, on  thunderbird-3.1.11. FreeBSD 8.2 8.2-RELEASE (also tried from other 
OSes with Thunderbird 3 and Claws):
-made an account "j...@domainname.tld"
-created a "New LDAP directory" with these settings:
Name: MyCompany Public
Hostname: mail.domainname.tld
Base DN: cn=TBabook,dc=domainname,dc=tld
Port number: 389 (that's open on the company's router, pointing to the OpenLDAP 
server, and I can make a remote ldapsearch successfully)
Bind DN: cn=Manager,dc=domainname,dc=tld
When, after these settings, I press "OK", nothing happens. When I go to the "Offline" tab and press 
"Download", Thunderbird prompts for a password. I fill in the Manager's (rootdn) password, check the "Remember" box, 
then "Ok", and Thunderbird responds with "Replication succeeded". But nothing appears in the addressbook. Meanwhile 
these rows were appended to the server's /var/log/debug.log:

Aug 12 12:04:36 server slapd[54734]: conn=1018 fd=14 ACCEPT from 
IP=xx.xx.xx.xx:65161 (IP=0.0.0.0:389)
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=0 BIND 
dn="cn=Manager,dc=domainname,dc=tld" method=128
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=0 BIND 
dn="cn=Manager,dc=domainname,dc=tld" mech=SIMPLE ssf=0
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=0 RESULT tag=97 err=0 text=
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=1 SRCH 
base="ou=TBabook,dc=domainname,dc=tld" scope=2 deref=0 filter="(objectClass=*)"
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=1 SEARCH RESULT tag=101 err=0 
nentries=2 text=
Aug 12 12:04:38 server slapd[54734]: conn=1018 op=2 UNBIND
Aug 12 12:04:38 server slapd[54734]: conn=1018 fd=14 closed

I also tried to add mozillaAbPersonAlpha.schema to my OpenLDAP and its objectClass to the 
"John User" but that didn't change anything. There's also a perhaps unrelated 
thing: the /usr/local/etc/rc.d/slapd script is only able to start openldap. In order to 
stop it, I have to kill it by PID.

So, very simple situation, but I can't get it work. Anyone has ideas of how to 
find the cause? Thanks in advance.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
I just analyzed my Thunderbird-OpenLDAP session with wireshark, and it 
shows an ideal conversation! Here's an outline:


T  bindRequest(1) "cn=Manager,dc=domainname,dc=tld" simple
O  bindResponse(1) success
T  searchRequest(2) "ou=TBabook,dc=domainname,dc=tld" wholeSubtree
O  searchResEntry(2) "ou=TBabook,dc=domainname,dc=tld"
O  searchResEntry(2) "cn=John User,ou=TBabook,dc=domainname,dc=tld"
O  searchResEntry(2) "cn=Jane User,ou=TBabook,dc=domainname,dc=tld"
O  searchResDone(2) success
T  unbindRequest(3)

I also browsed the contents of responses d

Re: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt.

2011-08-12 Thread Roland Smith
On Fri, Aug 12, 2011 at 07:38:06PM +0200, Olivier Smedts wrote:
> 2011/8/12 Roland Smith :
> > On Fri, Aug 12, 2011 at 05:46:37PM +0200, Hartmann, O. wrote:
> >> Since today, I can not update my ports tree due to this error as follows.
> >> This happens on all boxes running FreeBSD, the version of the OS (FBSD
> >> 8.2/9.0) doesn't
> >> matter. What's up with the ports collection?
> >
> > Probably nothing.
> >
> >> files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz 
> >> not
> >> found -- snapshot corrupt.
> >
> > This looks like a portsnap error. Remove everything in /var/db/portsnap, and
> > run 'portsnap fetch extract'.
> 
> Same error here and after removing all files in /var/db/portsnap/
> except pub.ssl and serverlist*.

Did you clean out the files subdirectory as well? Try and remove
/var/db/portsnap completely.

> files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz

This file is relatively recent; When I used portsnap yesterday, it wasn't
there, and now it is.

Have you fscked the volume that contains /var? If not I suggest you do. You
might be looking at filesystem corruption.

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)


pgpp11sZlONJS.pgp
Description: PGP signature


Re: pkdgb and corrupted record(s)

2011-08-12 Thread John Webster


--On August 12, 2011 11:08:01 AM -0700 Kurt Buff  wrote:

> All,
> 
> This seems fairly benign so far, but I find it happening on several
> machines after switching from portupgrade to portmaster. Don't know if
> that switch is actually part of the issue or not, though I'm really
> liking portmaster.
> 
> Anyone have a thought on this?
> 





pgpZ0JBtuDgCM.pgp
Description: PGP signature


Re: pkdgb and corrupted record(s)

2011-08-12 Thread Warren Block

On Fri, 12 Aug 2011, Kurt Buff wrote:


This seems fairly benign so far, but I find it happening on several
machines after switching from portupgrade to portmaster. Don't know if
that switch is actually part of the issue or not, though I'm really
liking portmaster.


I'd never seen it with portupgrade, either.  Don't know the cause, but 
it can be a problem.  portmaster --check-depends might fix it.  A more 
brute-force way is to figure out which are the problems with

find /var/db/pkg -name "+CONTENTS" -exec egrep -B1 -H 'pkgdep $' {} \;
Then rebuild all of them by feeding the list to portmaster, which will 
sort them and rebuild in the right order to fix 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"


pkdgb and corrupted record(s)

2011-08-12 Thread Kurt Buff
All,

This seems fairly benign so far, but I find it happening on several
machines after switching from portupgrade to portmaster. Don't know if
that switch is actually part of the issue or not, though I'm really
liking portmaster.

Anyone have a thought on this?

Thanks,

Kurt

# pkg_info | grep pkg
pkg_info: corrupted record (pkgdep line without argument), ignoring
pkg_info: corrupted record (pkgdep line without argument), ignoring
pkg-config-0.25_1   A utility to retrieve information about installed libraries
# pkgdb -F
--->  Checking the package registry database
[Updating the pkgdb  in /var/db/pkg ... - 433
packages found (-34 +36) (...)
done]
# pkg_info | grep pkg
pkg_info: corrupted record (pkgdep line without argument), ignoring
pkg_info: corrupted record (pkgdep line without argument), ignoring
pkg-config-0.25_1   A utility to retrieve information about installed libraries
# pkgdb -fF
--->  Checking the package registry database
# pkg_info | grep pkg
pkg_info: corrupted record (pkgdep line without argument), ignoring
pkg_info: corrupted record (pkgdep line without argument), ignoring
pkg-config-0.25_1   A utility to retrieve information about installed libraries
___
freebsd-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: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt.

2011-08-12 Thread Hartmann, O.

On 08/12/11 19:16, Roland Smith wrote:

On Fri, Aug 12, 2011 at 05:46:37PM +0200, Hartmann, O. wrote:

Since today, I can not update my ports tree due to this error as follows.
This happens on all boxes running FreeBSD, the version of the OS (FBSD
8.2/9.0) doesn't
matter. What's up with the ports collection?

Probably nothing.


files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not
found -- snapshot corrupt.

This looks like a portsnap error. Remove everything in /var/db/portsnap, and
run 'portsnap fetch extract'.

Roland

That was the first I did ... but it doesn't help.

Oliver
___
freebsd-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: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt.

2011-08-12 Thread Olivier Smedts
2011/8/12 Roland Smith :
> On Fri, Aug 12, 2011 at 05:46:37PM +0200, Hartmann, O. wrote:
>> Since today, I can not update my ports tree due to this error as follows.
>> This happens on all boxes running FreeBSD, the version of the OS (FBSD
>> 8.2/9.0) doesn't
>> matter. What's up with the ports collection?
>
> Probably nothing.
>
>> files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not
>> found -- snapshot corrupt.
>
> This looks like a portsnap error. Remove everything in /var/db/portsnap, and
> run 'portsnap fetch extract'.

Same error here and after removing all files in /var/db/portsnap/
except pub.ssl and serverlist*.

# portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
Fetching snapshot tag from portsnap6.FreeBSD.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Fri Aug 12 02:12:43 CEST 2011:
2296564b5c42a1560759bece15b4c98074658e52fbed23100% of   63 MB  508 kBps 00m00s
Extracting snapshot... done.
Verifying snapshot integrity... done.
Fetching snapshot tag from portsnap6.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Fri Aug 12 02:12:43 CEST 2011 to Fri Aug 12 19:03:17 CEST 2011.
Fetching 3 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Fetching 54 patches. done.
Applying patches... done.
Fetching 27 new ports or files... done.

# portsnap extract
[...]
/usr/ports/devel/ccache/
/usr/ports/devel//
/usr/ports/devel/ccdoc/
/usr/ports/devel/ccrtp/
/usr/ports/devel/cdash/
files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz
not found -- snapshot corrupt.

>
> 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)
>



-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: oliv...@gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."
___
freebsd-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: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt.

2011-08-12 Thread Jerry
On Fri, 12 Aug 2011 19:16:11 +0200
Roland Smith articulated:

> On Fri, Aug 12, 2011 at 05:46:37PM +0200, Hartmann, O. wrote:
> > Since today, I can not update my ports tree due to this error as
> > follows. This happens on all boxes running FreeBSD, the version of
> > the OS (FBSD 8.2/9.0) doesn't
> > matter. What's up with the ports collection?
> 
> Probably nothing.
> 
> > files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz
> > not found -- snapshot corrupt.
> 
> This looks like a portsnap error. Remove everything
> in /var/db/portsnap, and run 'portsnap fetch extract'.

I get this crap from time to time also. It seems dependent upon which
mirror portsnap uses at a given time. It always corrects itself in
anywhere from a few hours to a few days. You can also try forcing it to
use another mirror.

-- 
Jerry ✌
jerry+f...@seibercom.net

Disclaimer: off-list followups get on-list replies or ignored.
Do not CC this poster. Please do not ignore the "Reply-To" header.

http://www.catb.org/~esr/faqs/smart-questions.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: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt.

2011-08-12 Thread Roland Smith
On Fri, Aug 12, 2011 at 05:46:37PM +0200, Hartmann, O. wrote:
> Since today, I can not update my ports tree due to this error as follows.
> This happens on all boxes running FreeBSD, the version of the OS (FBSD 
> 8.2/9.0) doesn't
> matter. What's up with the ports collection?

Probably nothing.

> files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not 
> found -- snapshot corrupt.

This looks like a portsnap error. Remove everything in /var/db/portsnap, and
run 'portsnap fetch extract'.

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)


pgpBFFiEast0j.pgp
Description: PGP signature


Re: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt.

2011-08-12 Thread Michael Powell
Hartmann, O. wrote:

> Since today, I can not update my ports tree due to this error as follows.
> This happens on all boxes running FreeBSD, the version of the OS (FBSD
> 8.2/9.0) doesn't
> matter. What's up with the ports collection?

Nothing wrong with ports. Just csup'd 2 machines and all is fine.
 
> Regards,
> 
> Oliver
> 
> Extracting new files:
> /usr/ports/GIDs
> /usr/ports/UIDs
> /usr/ports/audio/teamspeak3-server/
> /usr/ports/audio/xmms-fc/
> /usr/ports/cad/admesh/
> /usr/ports/databases/postgresql82-server/
> /usr/ports/databases/postgresql83-server/
> /usr/ports/databases/postgresql84-server/
> /usr/ports/databases/postgresql90-server/
> /usr/ports/devel/Makefile
> /usr/ports/devel/cdash/
> files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz
> not found -- snapshot corrupt.
> 

This smacks of either you downloaded a corrupt file or it was corrupted 
during decompression. If the former others will experience same, if the 
latter it's either your hardware or your software. Test out gzip on some 
compressed file you know you've ungzipped before. Overclocking and 
overheated CPU/RAM, or other forms of intermittent glitches (excessive 
ripple under load on an aged power supply) can play havoc with decompression 
programs.

-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: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt.

2011-08-12 Thread Olivier Smedts
2011/8/12 Polytropon :
> On Fri, 12 Aug 2011 17:46:37 +0200, Hartmann, O. wrote:
>> Since today, I can not update my ports tree due to this error as follows.
>> This happens on all boxes running FreeBSD, the version of the OS (FBSD
>> 8.2/9.0) doesn't
>> matter. What's up with the ports collection?
>
> You're using portsnap? What if you try to update per CVS?
>
>
>
>> /usr/ports/devel/cdash/
>> files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not
>> found -- snapshot corrupt.
>
> I think this last message got a bit de-arranged by quoting.
> The file with the long name belongs to /usr/ports/devel/cdash/files/
> as it seems, but that doesn't exist (at least not on my
> local ports tree). A "cdash" port doesn't exist in the
> whole ports tree.

No, the file does not belong in /usr/ports/devel/cdash/files/. You
should read /var/db/portsnap/files/.

>
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
>
> ___
> freebsd-po...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
>



-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: oliv...@gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."
___
freebsd-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: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt.

2011-08-12 Thread Polytropon
On Fri, 12 Aug 2011 17:46:37 +0200, Hartmann, O. wrote:
> Since today, I can not update my ports tree due to this error as follows.
> This happens on all boxes running FreeBSD, the version of the OS (FBSD 
> 8.2/9.0) doesn't
> matter. What's up with the ports collection?

You're using portsnap? What if you try to update per CVS?



> /usr/ports/devel/cdash/
> files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not 
> found -- snapshot corrupt.

I think this last message got a bit de-arranged by quoting.
The file with the long name belongs to /usr/ports/devel/cdash/files/
as it seems, but that doesn't exist (at least not on my
local ports tree). A "cdash" port doesn't exist in the
whole ports tree.






-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- snapshot corrupt.

2011-08-12 Thread Hartmann, O.

Since today, I can not update my ports tree due to this error as follows.
This happens on all boxes running FreeBSD, the version of the OS (FBSD 
8.2/9.0) doesn't

matter. What's up with the ports collection?

Regards,

Oliver

Extracting new files:
/usr/ports/GIDs
/usr/ports/UIDs
/usr/ports/audio/teamspeak3-server/
/usr/ports/audio/xmms-fc/
/usr/ports/cad/admesh/
/usr/ports/databases/postgresql82-server/
/usr/ports/databases/postgresql83-server/
/usr/ports/databases/postgresql84-server/
/usr/ports/databases/postgresql90-server/
/usr/ports/devel/Makefile
/usr/ports/devel/cdash/
files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not 
found -- snapshot corrupt.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Redirect sound of flash plugin?

2011-08-12 Thread Ross
Is it possible to redirect sound of flash plugin?

I am running firefox via ssh. Currently I successfully redirected
sound of other applications using NAS. How can I do the same with
flash? Maybe intercept sound some how.
___
freebsd-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: pdo_mysql.so

2011-08-12 Thread Michael Powell
Dick Hoogendijk wrote:

> I need pdo_mysql.so for Drupal7 to work correctly, but I only see pdo.so
> and pdo_sqlite.so in the php5 extension directory. So, I checked the
> 'make config' to see if I forgot something. But the option to build
> pdo_mysql is not there. How do I get this pdo_mysql.so file?

Use the /usr/ports/databases/php5-pdo_mysql port.

-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: port build breaks at xmlto

2011-08-12 Thread Frank Shute
On Fri, Aug 12, 2011 at 01:18:07PM +1000, Daryl Sayers wrote:
>
> 
> FreeBSD 7.4
> I am having trouble building the xmlto port on FreeBSD 7.4. I am getting an
> error:
> 
> ===>  Building for xmlto-0.0.24
> make  all-am
> for xml in xmlif.xml xmlto.xml; do  FORMAT_DIR=./format  /usr/local/bin/bash 
> ./xmlto -o man/man1 man ./doc/$xml ;  done || ( RC=$?; exit $RC )
> xmlto: /usr/ports/textproc/xmlto/work/xmlto-0.0.24/./doc/xmlif.xml does not 
> validate (status 3)
> xmlto: Fix document syntax or use --skip-validation option
> I/O error : Attempt to load network entity 
> http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
> /usr/ports/textproc/xmlto/work/xmlto-0.0.24/./doc/xmlif.xml:4: warning: 
> failed to load external entity 
> "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";
>"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";>
> 
> 
> After alot of frustration I decided to throw everything away and start again:
> 
> # pkg_delete -a
> # cd /usr/ports; rm -fr *
> # csup -h cvsup.au.FreeBSD.org /usr/share/examples/cvsup/ports-supfile
> # cd /usr/ports/textproc/xmlto
> # make
> 
> Using the defaults when the config screens appear. As there are now no 
> packages
> installed and the ports tree is brand new there should be no problems but in
> the end it still fails with the same message. My /etc/make.conf is empty also.
> 
> Why cant I build this package.
> 

This port builds OK for me on 8.2-STABLE.

Maybe since you've blitzed all your ports, you could upgrade to
something more recent than 7.4 and try again.

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html




pgpwygSxWuyld.pgp
Description: PGP signature


X10 language in FreeBSD?

2011-08-12 Thread Eduardo Morras


Hi, i want to know if some one uses x10 language under FreeBSD. I 
have googled about it but found nothing. I'm not talking about the 
X10 home automation but the x10-lang.org one.


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"


pdo_mysql.so

2011-08-12 Thread Dick Hoogendijk
I need pdo_mysql.so for Drupal7 to work correctly, but I only see pdo.so 
and pdo_sqlite.so in the php5 extension directory. So, I checked the 
'make config' to see if I forgot something. But the option to build 
pdo_mysql is not there. How do I get this pdo_mysql.so file?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


file lose inode in Memory-Based file system.

2011-08-12 Thread 李森
my syetem is FreeBSD 8.2.

i build a memory disk : mdmfs -s 10G -i 512 -o rw md1 /home/test1

After a period of time,some file in the memory disk lose their inode:

#ls
90020595.o

#ls -l 90020595.o
ls: 90020595.o: No such file or directory

it seem the inode of this file was lost.

how to solve this 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"


(no subject)

2011-08-12 Thread hasanhasanli Hasan
when I tried install pvrxxx from pvrxxx-20080409_1.tar
this time I recive nex messages
#cat /var/log/messages 

Aug 12 06:06:46 new kernel: cxm0:  mem 
0xf800-0xfbff irq 21 at device 9.0 on pci7
Aug 12 06:06:46 new kernel: cxm_iic0:  
on cxm0
Aug 12 06:06:46 new kernel: iicbb0:  on cxm_iic0
Aug 12 06:06:46 new kernel: iicbus0:  on iicbb0 master-only
Aug 12 06:06:46 new kernel: iicbus0:  at addr 0
Aug 12 06:06:46 new kernel: iicbus0:  at addr 0
Aug 12 06:06:46 new kernel: <2>tveeprom: ivtv version
Aug 12 06:06:46 new kernel: <2>tveeprom: Hauppauge: model = 48432, rev = I126, 
serial# = 6179795
Aug 12 06:06:46 new kernel: <2>tveeprom: tuner = Temic 4036FY5 (idx = 26, type 
= 8)
Aug 12 06:06:46 new kernel: <2>tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, 
v4l2 = 0x1000)
Aug 12 06:06:46 new kernel: <2>tveeprom: audio processor = MSP4448 (type = 1b)
Aug 12 06:06:46 new kernel: <2>tveeprom: decoder processor = SAA7115 (type = 13)
Aug 12 06:06:46 new kernel: tuner type: 8
Aug 12 06:06:46 new kernel: cxm0: Eeprom NTSC
Aug 12 06:06:46 new kernel: tuner: type set to 8 (Temic NTSC (4036 FY5)) by cxm
Aug 12 06:06:46 new kernel: tuner: switching to v4l2
Aug 12 06:06:46 new kernel: could not start iic bus 
Aug 12 06:06:46 new kernel: probed 66
Aug 12 06:06:46 new kernel: probed 128
Aug 12 06:06:46 new kernel: probed 160
Aug 12 06:06:46 new kernel: probed 162
Aug 12 06:06:46 new kernel: probed 164
Aug 12 06:06:46 new kernel: probed 166
Aug 12 06:06:46 new kernel: probed 168
Aug 12 06:06:46 new kernel: probed 170
Aug 12 06:06:46 new kernel: probed 172
Aug 12 06:06:46 new kernel: probed 174
Aug 12 06:06:46 new kernel: probed 194
Aug 12 06:06:46 new kernel: <2>tda 0-: i2c i/o error: rc == 2 (should be 4)
Aug 12 06:06:46 new kernel: could not start iic bus 
Aug 12 06:06:46 new kernel: probed 66
Aug 12 06:06:46 new kernel: probed 128
Aug 12 06:06:46 new kernel: probed 160
Aug 12 06:06:46 new kernel: probed 162
Aug 12 06:06:46 new kernel: probed 164
Aug 12 06:06:46 new kernel: probed 166
Aug 12 06:06:46 new kernel: probed 168
Aug 12 06:06:46 new kernel: probed 170
Aug 12 06:06:46 new kernel: probed 172
Aug 12 06:06:46 new kernel: probed 174
Aug 12 06:06:46 new kernel: probed 194
Aug 12 06:06:46 new kernel: <2>tda 0-: i2c i/o error: rc == 2 (should be 4)
Aug 12 06:06:46 new kernel: before tuner_command!
Aug 12 06:06:46 new kernel: tuner: tv freq set to 61.25
Aug 12 06:06:46 new kernel: tuner: tv 0x06 0xb0 0x8e 0xa0
Aug 12 06:06:46 new kernel: cxm0: SAA7115 rev 1 video decoder
Aug 12 06:06:46 new kernel: cxm0: MSP4448G-A2 audio decoder
Aug 12 06:06:46 new kernel: cxm0: could not initialize IR remote
Aug 12 06:06:46 new kernel: iicbus0: detached
Aug 12 06:06:46 new kernel: iicbb0: detached
Aug 12 06:06:46 new kernel: cxm_iic0: detached
Aug 12 06:06:46 new kernel: device_attach: cxm0 attach returned 6


--
Современная мобильная почта - для смартфонов и телефонов.
Оцените мобильный m.mail.ru с Вашего телефона___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Zero results for Thunderbird addressbook client quering OpenLDAP server

2011-08-12 Thread Jeff Tipton
Hi,

I installed an OpenLDAP server for an office LAN, and the first thing I wanted 
it do is a shared address book for e-mail clients. My OpenLDAP server responds 
ok on ldapsearch, it also can be browsed with phpldapadmin and jxplorer (from a 
LAN desktop) but I can't get anything from it with Thunderbird and Claws mail 
addressbooks.

The server OS is 7.4-RELEASE, OpenLDAP is 2.4.26.

To trace the problem, I stripped down all the configuration to a bare minimum, 
removed all ACLs, and opened the port 389 on the router, so that I can continue 
remotely (hope I won't need this hole for long). Here's my slapd.conf:

modulepath   /usr/local/libexec/openldap
moduleload   back_bdb.la
moduleload   back_hdb.la
include         /usr/local/etc/openldap/schema/core.schema
include       /usr/local/etc/openldap/schema/cosine.schema
include       /usr/local/etc/openldap/schema/inetorgperson.schema
database        hdb
suffix          "dc=domainname,dc=tld"
rootdn          "cn=Manager,dc=domainname,dc=tld"
directory       /var/db/openldap-data
index   objectClass,uid,uidNumber,gidNumber   eq
index   cn,mail,surname,givenname             eq,subinitial
rootpw {SSHA}95A/ZTBigrkvH349C6pM6WtI1TMoZRDe
loglevel 256

The database structure:

ldapsearch -W -H ldap://localhost/ -D cn=Manager,dc=domainname,dc=tld -b 
'dc=domainname,dc=tld' '(objectclass=*)'
Enter LDAP Password: 
# extended LDIF
#
# LDAPv3
# base  with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# domainname.tld
dn: dc=domainname,dc=tld
objectClass: dcObject
objectClass: organization
o: domainname.tld
dc: domainname

# Manager, domainname.tld
dn: cn=Manager,dc=domainname,dc=tld
objectClass: organizationalRole
cn: Manager

# TBabook, domainname.tld
dn: ou=TBabook,dc=domainname,dc=tld
objectClass: organizationalUnit
objectClass: top
ou: TBabook

# John User, TBabook, domainname.tld
dn: cn=John User,ou=TBabook,dc=domainname,dc=tld
objectClass: inetOrgPerson
objectClass: top
objectClass: person
cn: John User
givenName: John
mail: j...@domainname.tld
sn: User


# search result
search: 2
result: 0 Success

# numResponses: 5
# numEntries: 4

Now, on  thunderbird-3.1.11. FreeBSD 8.2 8.2-RELEASE (also tried from other 
OSes with Thunderbird 3 and Claws):
-made an account "j...@domainname.tld"
-created a "New LDAP directory" with these settings:
Name: MyCompany Public
Hostname: mail.domainname.tld
Base DN: cn=TBabook,dc=domainname,dc=tld
Port number: 389 (that's open on the company's router, pointing to the OpenLDAP 
server, and I can make a remote ldapsearch successfully)
Bind DN: cn=Manager,dc=domainname,dc=tld
When, after these settings, I press "OK", nothing happens. When I go to the 
"Offline" tab and press "Download", Thunderbird prompts for a password. I fill 
in the Manager's (rootdn) password, check the "Remember" box, then "Ok", and 
Thunderbird responds with "Replication succeeded". But nothing appears in the 
addressbook. Meanwhile these rows were appended to the server's 
/var/log/debug.log:

Aug 12 12:04:36 server slapd[54734]: conn=1018 fd=14 ACCEPT from 
IP=xx.xx.xx.xx:65161 (IP=0.0.0.0:389)
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=0 BIND 
dn="cn=Manager,dc=domainname,dc=tld" method=128
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=0 BIND 
dn="cn=Manager,dc=domainname,dc=tld" mech=SIMPLE ssf=0
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=0 RESULT tag=97 err=0 text=
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=1 SRCH 
base="ou=TBabook,dc=domainname,dc=tld" scope=2 deref=0 filter="(objectClass=*)"
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=1 SEARCH RESULT tag=101 err=0 
nentries=2 text=
Aug 12 12:04:38 server slapd[54734]: conn=1018 op=2 UNBIND
Aug 12 12:04:38 server slapd[54734]: conn=1018 fd=14 closed

I also tried to add mozillaAbPersonAlpha.schema to my OpenLDAP and its 
objectClass to the "John User" but that didn't change anything. There's also a 
perhaps unrelated thing: the /usr/local/etc/rc.d/slapd script is only able to 
start openldap. In order to stop it, I have to kill it by PID.

So, very simple situation, but I can't get it work. Anyone has ideas of how to 
find the cause? Thanks in advance.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"