Re: frontend for openssl?

2005-07-21 Thread Joan Picanyol i Puig

Mipam wrote:

Hi All,

Openssl is very cool, but not always very easy to use.
Does there exist a frontend for openssl that can create and sign 
certificates bit one that also can create and sign pkcs7 certs?

Maybe something exists to help you create your own certificate authority?


501,p2,0$ cat /usr/ports/security/xca/pkg-descr
Graphical certification authority is an interface for managing
RSA keys and certificates, and the creation and signing of PKCS#10 requests.
It uses the OpenSSL library and a Berkeley DB for key and certificate 
storage.

It supports importing and exporting keys and PEM DER PKCS8 certificates,
signing and revoking of PEM DER PKCS12, and selection of x509v3 extensions.
A tree view of certificates is presented.

Author: Christian Hohnstaedt <[EMAIL PROTECTED]>
WWW:http://www.hohnstaedt.de/xca.html

qvb
--
pica

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


Re: Still have questions on portupgrade database problems

2005-07-20 Thread Joan Picanyol i Puig

paul beard wrote:
FWIW, I can use an incantation of portmanager to find the outdated  
ports and use portupgrade on the one by one.


portmanager -u is your friend. It may take longer, since it ensures 
everything is rebuilt, but it's been more reliable for me.


qvb
--
pica

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


Re: Boot GUI / Boot data and process / Fragmentation

2004-06-08 Thread Joan Picanyol i Puig
On Tue, 08 Jun 2004 04:03:31 -0400, Bruce Hunter wrote:

> This is off topic, I was wondering if there is a pretty little gui that
> will run when booting.

man splash

In my /boot/loader.conf I haver:
splash_bmp_load="YES"
bitmap_load="YES"
bitmap_name="/boot/daemon_640.bmp"

qvb
-- 
pica


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: tinydns +MX

2004-05-26 Thread Joan Picanyol i Puig
On Wed, 26 May 2004 12:18:36 -0500, Darryl Hoar wrote:
> I have djbdns installed and working.  I have been using DNS
> on my LAN and having it resolve the names for my local machines.
> It forwards any unresolved to my ISP's dns server.

Detail your setup further.

> Recently, I have installed qmail on my LAN for internal email.
> I used the ./add-mx to add a mx record for my machine which
> is running qmail.
> 
> the mx record in the data file looks like:
> @osborneindustries.com:192.168.1.89:a::86400
> 
> If I send test mail to [EMAIL PROTECTED], it gets forwarded to
> my ISP's email server.  If I send email to [EMAIL PROTECTED]
> (name of my qmail server), it gets delivered just fine.
> 
> How do I get my mx record setup so that [EMAIL PROTECTED] gets
> delivered to mail.osborneindustries.com ?

qmail is going to the root servers to look for you mx, and thus finds your
isp's. You have to use a split-horizon setup for that.

 
> here are a couple of tests that I ran:
[...]

please run from inside your lan

dnsqr mx osborneindustries.com

qvb
-- 
pica


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dump to a samba mounted FAT32 disk can't handle bigfiles?

2004-05-24 Thread Joan Picanyol i Puig
On Tue, 25 May 2004 00:53:26 +0200, Joachim Dagerot wrote:
> The man page for dump states this:
> 
> []
>  -B records
> The number of kilobytes per output volume, except that if it is not an
> integer multiple of the output block size, the command uses the next
> smaller such multiple.  This option overrides the calculation of tape
> size based on length and density.
> []
> 
> So I thougth this line should create a bunch of 35mb files. But it did
> not. Any thouts on this?
> 
>>dump -0 -L -a -B 35000 -f /HEMMET2/External_HD/freebsd_usr.dump 
> /dev/ad0s1f

It also states:
 -a  ``auto-size''.  Bypass all tape length considerations, and
 enforce writing until an end-of-media indication is returned.
 This fits best for most modern tape drives.  Use of this option
 is particularly recommended when appending to an existing tape,
 or using a tape drive with hardware compression (where you can
 never be sure about the compression ratio).

So I'd try without the -a ;)

qvb
-- 
pica


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Looking to build server, best option for reliable FreeBSD supported hardware (SCSI RAID5)?

2004-05-22 Thread Joan Picanyol i Puig
On Sat, 22 May 2004 02:43:22 +1000, Antony Mawer wrote:
> We're looking at probably 4x146gb SCSI drives in RAID5, and I want to 
> make sure we have hardware that's known to work under FreeBSD before we 
> go placing an order. What vendors/equipment are people currently running 
> reliably under FreeBSD (either 4.x or 5.x)? Any recommendations?

Peruse the -scsi@ archives. In particular look for a recent thread like
"Recommended RAID controller"

qvb
-- 
pica


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Samba PDF printing

2004-05-19 Thread Joan Picanyol i Puig
On Wed, 19 May 2004 13:14:26 -0500, Andrea Venturoli wrote:
> Everything works fine, but not after a reboot.
> After the machine is powered up PDF creation will silently fail.
> "sh /usr/local/etc/rc.d/samba.sh stop ; sh /usr/local/etc/rc.d/samba.sh start" will 
> fix this.
> Any hint?

Look at the samba logs after incrementing the log level in smb.conf. 

qvb
-- 
pica


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is Samba PDC up to snuff ?

2004-05-19 Thread Joan Picanyol i Puig
On Wed, 19 May 2004 10:25:31 -0500, Darryl Hoar wrote:
> Right now, it has an NT4 Server Primary Domain 
> Controller.  I would like to rip it down, install
> FreeBSD and set it up as the Primary Domain
> Controller.  This is only possible if the Samba
> Primary Domain Controller feature works and is
> reliable.

I'm using samba-devel from ports for file/print/profile serving to 2k/xp
clients. Works fine although the setup is not trivial. I don't know
anything about ADS.

qvb
-- 
pica


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Facing trouble when trying to boot 5.2 with GRUB boot loader

2004-05-05 Thread Joan Picanyol i Puig
On Wed, 05 May 2004 14:34:38 +0200, Klaus Juergen Osswald wrote:
> Is there a problem to boot the new ufs2 filesystem with GRUB ?

Yes. GRUB doesn't understand it yet

> How can I savely boot FreeBSD & my other OSSes ?

a) try the patch at PR 62299
b) chain the bootblock on the FreeBSD partition:

root (hd1,0,a)
chainloader +1
boot

qvb
-- 
pica


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


vinum havoc

2004-04-16 Thread Joan Picanyol i Puig
[please honour Mail-Followup-To:, can't read the list until I solve thi
until I solve this]

Hi,

For unknown reasons, vinum has broken itself again (the only weird thing
I did was booting from a different root partition). The only commands I
have given are start/stop whatever (pretty much everything). Note how
storage & worthless are apparently empty, plus an *invalid* drive at the
bottom (long lines):

# vinum ld
D storage   State: up   Device /dev/ad0s1d  Avail: 38166/381 66 MB 
(100%)
D worthless State: up   Device /dev/ad2s1d  Avail: 38038/380 38 MB 
(100%)
D barracuda State: up   Device /dev/da0s1e  Avail: 2/1280 MB (0%)
D barracudafState: up   Device /dev/da0s1f  Avail: 0/7210 MB (0%)
D ultrastar State: up   Device /dev/da1s1e  Avail: 1279/1280 MB 
(100%)
D ultrastarfState: up   Device /dev/da1s1f  Avail: 7210/7210 MB 
(100%)
D *invalid* State: referenced   Device  Avail: 0/0 MB

Any attempt to start the volume on storage/worthless fails like:

vinum -> lv -r bulk
V bulk  State: down Plexes:   1 Size: 74 GB
P bulk.p0 C State: faulty   Subdisks: 2 Size: 74 GB
S bulk.p0.s0State: crashed  PO:0  B Size: 37 GB
S bulk.p0.s1State: crashed  PO:   37 GB Size: 37 GB
vinum -> start bulk.p0.s0
Can't start bulk.p0.s0: Drive is down (5)
vinum -> start bulk.p0.s1
Can't start bulk.p0.s1: Drive is down (5)

Now for the worst (more damage inflicting) part. Even though vinum says
a mirrored volume is up, I can't even fsck it:

# vinum lv home
V home  State: up   Plexes:   2 Size:   4394 MB
# fsck /dev/vinum/home
** /dev/vinum/home
BAD SUPER BLOCK: MAGIC NUMBER WRONG
/dev/vinum/home: NOT LABELED AS A BSD FILE SYSTEM (unused)
# mount /fs/home/mount
mount: /fs/home/dev-mount on /fs/home/mount: incorrect super block

This is on RELENG_4_9, and I have already rebooted/restarted vinum many
times. 

What should I do to make vinum come back to reason? 

tks
--
pica
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't *write* to a hard disk, not even a slice using fdisk(8).

2004-04-11 Thread Joan Picanyol i Puig
On Sun, 11 Apr 2004 15:15:18 +0200, Julien Gabel wrote:

 GEOM doesn't let you write to an active device, except if you set
 kern.geom.debugflags=16
> 
>>> Ok no problem, I changed it this way:
>>>  # sysctl kern.geom.debugflags=16
>>>  kern.geom.debugflags: 1 -> 16
>>> But it seems to change *absolutly nothing*... :(
> 
>> Mmmhh... We're doing something wrong here I guess :o Are you 100% sure
>> that ad10 is not used by any open geom modules? What does dmesg say
>> about ar*?
 
>  # dmesg | tail -50
>  [...]
>  GEOM: create disk ad4 dp=0xc6cb6360
>  ad4: 78167MB  [158816/16/63] at ata2-master UDMA133
>  GEOM: create disk ad6 dp=0xc6ab2960
>  ad6: 78167MB  [158816/16/63] at ata3-master UDMA133
>  GEOM: create disk ad8 dp=0xc6ab2560
>  ad8: 117246MB  [238216/16/63] at ata4-master UDMA133
>  GEOM: create disk ad10 dp=0xc6ab2660
>  ad10: 117246MB  [238216/16/63] at ata5-master UDMA133
>  GEOM: create disk ar0 dp=0xc6aae5e0
>  ar0: 78167MB  [9964/255/63] status: READY subdisks:
>   disk0 READY on ad4 at ata2-master
>   disk1 READY on ad6 at ata3-master
>  Mounting root from ufs:/dev/ar0s1a
>  g_slice_config(ad10, 0, 0)
[...]
>  g_slice_config(ad10, 3, 1)
> 
> This is what we can expected to see: the only 'ar' array which exist now
> is the first mirror for system part. There is no second array, since I
> made /home only available on /dev/ad8 and not /dev/ar1s1d. I don't see
> anything wrong here(?). Am I missing something?

Well, I see that geom tastes ad10 and creates a slice class for it...
However, if kern.geom.debugflags=16, you should still be able to touch the
slice.

If debugflags=16 I know of no reason why you shouldn't be able to
partition de disk; sorry, I'm stumped :(

qvb
-- 
pica


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't *write* to a hard disk, not even a slice using fdisk(8).

2004-04-11 Thread Joan Picanyol i Puig
On Sun, 11 Apr 2004 10:31:22 +0200, Julien Gabel wrote:

>> GEOM doesn't let you write to an active device, except if you set
>> kern.geom.debugflags=16
> 
> Ok no problem, I changed it this way :
>  # sysctl kern.geom.debugflags=16
>  kern.geom.debugflags: 1 -> 16
> 
> But it seems to change *absolutly nothing*... :(

Mmmhh... We're doing something wrong here I guess :o Are you 100% sure
that ad10 is not used by any open geom modules? What does dmesg say about
ar*?

After reading man geom (see the fine print under SPOILING), maybe you
should take this up on current@, pointing to this thread and posting the
following information (better in single user mode, if you have a console):

0. dmesg
1. your RAID array configuration
2. your currently mounted partitions
3. the output of the fdisk command

qvb
-- 
pica


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't *write* to a hard disk, not even a slice using fdisk(8).

2004-04-10 Thread Joan Picanyol i Puig
On Sun, 11 Apr 2004 00:45:14 +0200, Julien Gabel wrote:
>> GEOM doesn't let you touch the disk if some partition is mounted off it.
>> Try setting kern.geom.debugflags to 1

I suck. This should have said:

GEOM doesn't let you write to an active device, except if you set
kern.geom.debugflags=16

> I changed the sysctl's flag :
>  # sysctl kern.geom.debugflags=1
>  kern.geom.debugflags: 0 -> 1

so this should be 16 not 1

>  # mount
>  /dev/ar0s1a on / (ufs, local)
>  devfs on /dev (devfs, local)
>  /dev/ad8s1d on /home (ufs, local, nodev, noexec, nosuid, with quotas,
> soft-updates)
>  /dev/ar0s1e on /tmp (ufs, local, nodev, nosuid, soft-updates)
>  /dev/ar0s1f on /usr (ufs, local, soft-updates)
>  /dev/ar0s1d on /var (ufs, local, noexec, soft-updates)

If ad8 is part of ar0 GEOM will try to keep you from shooting yourself on
the foot. You should take ad8 out of the array first.

 
> Because the problematic disk is not actually used, I can try some commands
> on it if someone think it may be interesting.

On the hardware side, you should look for some diagnostic tool from the
manufacturer.

qvb
-- 
pica


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't *write* to a hard disk, not even a slice using fdisk(8).

2004-04-10 Thread Joan Picanyol i Puig
On Sat, 10 Apr 2004 15:22:16 +0200, Julien Gabel wrote:

> Hello,
> 
> Here is my problem. I had a hard disk for one year now, working together
> with an other identical disk in a _hard_ mirror.
What's a '_hard_ mirror'? How did you set it up?

> - But when I tried to create a slice on it, I get:
>   # fdisk -BI ad10
>   *** Working on device /dev/ad10 ***
>   fdisk: can't write fdisk partition table: Operation not permitted
GEOM doesn't let you touch the disk if some partition is mounted off it.
Try setting kern.geom.debugflags to 1
 
> 3/ Anything else to say to diagnose my problem?
Please show us /etc/fstab and the output of mount

qvb
-- 
pica


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KMail seeing local maildirs differently than IMAP-server

2004-04-10 Thread Joan Picanyol i Puig
On Fri, 09 Apr 2004 18:48:23 +0200, Geert Hendrickx wrote:

> i see some ambiguity in using maildirs through IMAP and directly through
> the filesystem, especially when using KMail.  

It's one of the issues that I've been fighting for quite a long time, and
still haven't found a final answer.
 
> The "canonical" directory for maildirs is ~/Maildir, where the inbox is
> in the root of that directory, and any other mail-directory is a
> subdirectory of it.  The IMAP-servers I tried (courier-imap, imap-uw and
> dovecot, all in /usr/ports/mail) only use the subdirectories whose name
> starts with a dot.

Further, most IMAP servers don't accept subsubdirs as I have in my
~/Maildir/ hierarchy. The dot is IMAP's traditional hierarchy delimitor;
however, the server is free to choose it's own and the client must
understand it. 

 
> KMail on the other hand, when using maildirs as "local folders", always
> assumes they are in ~/Mail

This should be configurable. Try Evolution instead.

 
> Creating some symlinks to "mirror" the situation might be a usable
> solution, but that's not very elegant.  Anyone knows a better solution?

Well FSOV of "elegant" and "better" you might find my solution
interesting. I use bincimap because of it's flexibility in directory
serving. I use an IMAPdir depot which I locate on a hidden subdirectory
populated with symlinks to the real Maildir subdirs.

qvb
-- 
pica


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: converting real media audio

2003-11-12 Thread Joan Picanyol i Puig
* Dan Pelleg <[EMAIL PROTECTED]> [20031112 17:23]:
> Joan Picanyol i Puig <[EMAIL PROTECTED]> writes:
> > * Dan Pelleg <[EMAIL PROTECTED]> [20031112 15:12]:
> >> Joan Picanyol <[EMAIL PROTECTED]> writes:
> >> > I've found two speeches in Real Audio format I'd like to burn on
> >> > a CD.  I'm able to reproduce them fine with linux-reaplayer, but
> >> > sox doesn't understand the format. What's the one liner to dump
> >> > what is sounding on my speakers to a file sox can convert (which
> >> > device shoud I cat?)? Is there some utility to convert from .rm
> >> > files to .wav?
> >> Run realplayer under linux-vsound (in the ports).
> > Thanks for the tip, however it doesn't quite work:
> >
> > (16:24:25 <~>) 0 $ vsound -f appel.wav
> > /usr/local/lib/RealPlayer8/realplay /home/pub/25/Audio/appel\[1\].rm
> > Missing file ./vsound61809.au.  This means that the libvsound
> > wrapper did not work correctlty. A possible reason is that the
> > program you are trying to run is setuid. In this case you will need
> > to run vsound as root.  (16:24:51 <~>) 0 $ sudo vsound -f appel.wav
> > /usr/local/lib/RealPlayer8/realplay /home/pub/25/Audio/appel\[1\].rm
> > Missing file ./vsound62032.au.  This means that the libvsound
> > wrapper did not work correctlty. A possible reason is that the
> > program you are trying to run is setuid. In this case you will need
> > to run vsound as root.  (16:27:22 <~>) 0 $ ls -l
> > /usr/local/lib/RealPlayer8/realplay -r-xr-xr-x  1 root  wheel
> > 1247004 Nov  5 17:16 /usr/local/lib/RealPlayer8/realplay
> >
> > What am I doing wrong?
> My notes (for streaming media) have the -d and -s switches. My guess
> is what you actually need is just the -d.
Thanks, that did the trick. At least with linux-reaplayer you need -d -s
and redirect to a file.

tks
-- 
pica
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: converting real media audio

2003-11-12 Thread Joan Picanyol i Puig
[please honour, Mail-Followup-To:, not subscribed]

* Dan Pelleg <[EMAIL PROTECTED]> [20031112 15:12]:
> Joan Picanyol <[EMAIL PROTECTED]> writes:
> > [please honour Mail-Followup-To:, not subscribed]
> > I've found two speeches in Real Audio format I'd like to burn on a CD.
> > I'm able to reproduce them fine with linux-reaplayer, but sox doesn't
> > understand the format. What's the one liner to dump what is sounding on
> > my speakers to a file sox can convert (which device shoud I cat?)? Is
> > there some utility to convert from .rm files to .wav?
> Run realplayer under linux-vsound (in the ports).
Thanks for the tip, however it doesn't quite work:

(16:24:25 <~>) 0 $ vsound -f appel.wav
/usr/local/lib/RealPlayer8/realplay /home/pub/25/Audio/appel\[1\].rm 
Missing file ./vsound61809.au.
This means that the libvsound wrapper did not work correctlty. A 
possible reason is that the program you are trying to run is 
setuid. In this case you will need to run vsound as root.
(16:24:51 <~>) 0 $ sudo vsound -f appel.wav
/usr/local/lib/RealPlayer8/realplay /home/pub/25/Audio/appel\[1\].rm 
Missing file ./vsound62032.au.
This means that the libvsound wrapper did not work correctlty. A 
possible reason is that the program you are trying to run is 
setuid. In this case you will need to run vsound as root.
(16:27:22 <~>) 0 $ ls -l /usr/local/lib/RealPlayer8/realplay
-r-xr-xr-x  1 root  wheel  1247004 Nov  5 17:16
/usr/local/lib/RealPlayer8/realplay

What am I doing wrong?

tks
-- 
pica

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: login.conf and accents weirdness

2003-11-08 Thread Joan Picanyol i Puig
* Jean-Baptiste Quenot <[EMAIL PROTECTED]> [20031102 16:24]:
> * Joan Picanyol i Puig:
> 
> > > It works for me, the accentuated chars show up in xterm...
> > It doesn't for  me, nor in console or under  X. I'm pasting underneath
> > what I see from the console (excerpt from the test file):
> 3) Run the command LC_CTYPE=ca_ES.ISO8859-15 more mail.test
Ok, es_ES works but ca_ES doesn't. I'm on RELENG_4_9, what are you running?
I believe misc/45874 has not been MFC'ed.

I have a _big_ problem now. I upgraded to samba-3.0.0 which defaults to
using UTF-8 instead of doing charset conversion by itself. User profiles
stored in the server don't work because 8-bit characters are not
translated properly. I'm downloading the full cvs repo now in order to
try to make a patch, will this work?

(17:22:18 ) 0 $ cvs diff -r RELENG_4_9 -r RELENG_5_1
colldef/ mklocale/ monetdef/ msgdef/ numericdef/ syscons/ timedef/
zoneinfo/

tks
-- 
pica
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: login.conf and accents weirdness

2003-11-01 Thread Joan Picanyol i Puig
* Jean-Baptiste Quenot <[EMAIL PROTECTED]> [20031101 19:09]:
> * Joan Picanyol i Puig:
> > * Jean-Baptiste Quenot <[EMAIL PROTECTED]> [20031101 15:53]:
> >
> > > * Joan Picanyol i Puig:
> > > > I have these lines in /etc/login.conf
> > > >
> > > > :setenv=LC_CTYPE=ISO8859-15,LANG=ca_ES.ISO8859-15: \
> > > > :lang=ca_ES.ISO-8859-15:\
> > > > :charset=ISO8859-15:\
> > > LC_CTYPE is wrong.
> > Yep, I  changed it to  both ca_ES.ISO8859-15 and  es_ES.ISO8859-15 and
> > made no difference.
> Try:
>  
>
> LC_CTYPE=ca_ES.ISO8859-15 more mail.test
>  
>
> It works  for me, the  accentuated chars show  up in xterm...
It doesn't for me, nor in console or under X. I'm pasting underneath
what I see from the console (excerpt from the test file):

Eco, eco,eco,  co,  co..co...co...co...o.o.o.o oo.oo.oo.
Hi ha alg a l'altre banda o estic al 'planeta dels simis'? sol amb
el
floquet, i la seva aixella tuberculosa...
Un dia d'aquests de segur que em trobar amb el que qued de la
sagrada
famila; (a la terra prohibida de la Catagnia, vora l'oce;
diuen que
s'hi

I wonder how you see it...

> could you dump the result  of « env »  to check your settings?
attached

> BTW  you can check whether a given locale is available by looking at
> /usr/share/locale.
(19:47:33 <~>) 0 $ ls /usr/share/locale/ca_ES.ISO*
/usr/share/locale/ca_ES.ISO8859-1:
LC_COLLATE  LC_MONETARY LC_NUMERIC  LC_TIME
/usr/share/locale/ca_ES.ISO8859-15:
LC_COLLATE  LC_MONETARY LC_TIME
/usr/share/locale/ca_ES.ISO_8859-1:
LC_COLLATE  LC_MONETARY LC_NUMERIC  LC_TIME
/usr/share/locale/ca_ES.ISO_8859-15:
LC_COLLATE  LC_MONETARY LC_TIME

Beware, these are local modifications and might work. However, replacing
ca for es doesn't work either (and es_ES comes with the system)

> Also, when modifying login.conf, don't forget to logout completely
> from X *and* console.
I assume setting variables shoud work (from my reading of login.conf,
all it does in this context is set up the environment...)

tks
-- 
pica
BASH=/usr/local/bin/bash
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" 
[5]="i386-portbld-freebsd4.7")
BASH_VERSION='2.05b.0(1)-release'
BLOCKSIZE=K
CLICOLOR=
COLUMNS=80
DIRSTACK=()
EDITOR=vim
EUID=1000
GROUPS=()
HISTFILE=/home/joan/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/joan
HOSTNAME=grummit.biaix.org
HOSTTYPE=i386
IFS=$' \t\n'
INFOPATH=/usr/share/info:/usr/local/info
LANG=ca_ES.ISO8859-15
LC_CTYPE=ca_ES.ISO8859-15
LINES=25
LOGNAME=joan
MACHTYPE=i386-portbld-freebsd4.7
MAIL=/home/joan/Maildir/
MAILCHECK=60
MANPATH=/usr/share/man:/usr/local/man:/var/qmail/man/
MM_CHARSET=ISO8859-15
OPTERR=1
OPTIND=1
OSTYPE=freebsd4.7
PAGER=less
PATH=/command:/bin:/usr/bin:/usr/local/bin:/command:/usr/X11R6/bin:/usr/games:/home/joan/bin:/usr/sbin:/usr/local/sbin:/sbin
PIPESTATUS=([0]="0")
PPID=272
PS1='(\[$(tput md)\]\t <\w>\[$(tput me)\]) $(echo $?) \$ '
PS2='> '
PS4='+ '
PWD=/home/joan
SHELL=/usr/local/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
TERM=cons25l1
UID=1000
USER=joan
_=LC_CTYPE
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: login.conf and accents weirdness

2003-11-01 Thread Joan Picanyol i Puig
[I expect mutt to properly set MFT, if it didn't please Cc: me]

* Jean-Baptiste Quenot <[EMAIL PROTECTED]> [20031101 15:53]:
> * Joan Picanyol i Puig:
> > I have these lines in /etc/login.conf
> > 
> > :setenv=LC_CTYPE=ISO8859-15,LANG=ca_ES.ISO8859-15: \
> > :lang=ca_ES.ISO-8859-15:\
> > :charset=ISO8859-15:\
> LC_CTYPE is wrong.
Yep, I changed it to both ca_ES.ISO8859-15 and es_ES.ISO8859-15 and made no difference.

> > > Also, please test with more or less,  not mutt, so it will be easier
> > > to find the solution.  Make a  test file with special characters not
> > > in the 7-bit range, and view it.
> > I'm attaching my  test file (an actual message). Both  under xterm and
> > console the results are the sime: cat  works fine but more and less do
> > not.
> Where is the attachment?
Oops, now it's there

tks
-- 
pica
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 725 invoked from network); 13 Oct 2003 00:59:37 -
Received: from hobbes.biaix.org (192.168.124.6)
  by 0 with SMTP; 13 Oct 2003 00:59:37 -
Received: (qmail 20317 invoked by alias); 13 Oct 2003 01:04:38 -
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Post: <mailto:[EMAIL PROTECTED]>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
List-Subscribe: <mailto:[EMAIL PROTECTED]>
Delivered-To: mailing list [EMAIL PROTECTED]
Received: (qmail 20308 invoked from network); 13 Oct 2003 01:04:37 -
X-Originating-IP: [24.232.15.158]
X-Originating-Email: [EMAIL PROTECTED]
From: =?iso-8859-1?B?YWxiZXJ0IGliYfFleiBzYW5haHVqYQ==?= <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Bcc: 
Subject: noves velles, elles, elles
Date: Mon, 13 Oct 2003 01:04:48 +
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Message-ID: <[EMAIL PROTECTED]>
X-OriginalArrivalTime: 13 Oct 2003 01:04:48.0479 (UTC) FILETIME=[FF9CCEF0:01C39125]

Eco, eco,eco,  co,  co..co...co...co...o.o.o.o oo.oo.oo.
Hi ha algú a l'altre banda o estic al 'planeta dels simis'? sol amb el 
floquet, i la seva aixella tuberculosa...
Un dia d'aquests de segur que em trobaré amb el que quedà de la sagrada 
familía; (a la terra prohibida de la Catagònia, vora l'oceà; diuen que s'hi 
han vist les restes d' un monument mega-elíptic de singular bellesa contruit 
per éssers de civilitzacions passades); deu ser això...despres d'un llarg 
letargi a través de l'espai inter-celest-i-tal he retornat al mateix indret 
de procedencia, convertit en paisatge lunar i desolador si no fos per 
una crónica, una espurna d'esperaça que arribà ahir signada pen PICA, 
(Persona Identificada Com Androide potser) i jo pregunto ¿ com recollons 
s'entra de nou a la virtualitat compartida???, eu canviat el correu o es que 
no s'envien més bits d'informaciò.
Les úniques dades de que disposo són les d'un desalentador 5-3, a_viram si 
ens posem les ales colla de garseso haurem de venir a repartir llenya... 
qui la busca la troba, la brega la verga i el que faci falta.

Ja ha començat la NBA, el master of the univers in the stars? (MBA  'Marc & 
Bernat Administrators' altrement dit en referencia al draft d'aquesta 
pretemporada o ' Millor que a Buenos Aires' pels escèptics...)
Doncs bè, per BsAs tot segueix igual de diferent, uns dies plou i els altres 
fa sol i les bruixes patinen i el colectivo treu verí, el fútbol mou les 
muntanyes i Maradona escombra tota la neu caiguda durant el llarg hivern.
Demà es 'feriado nacional', coincideix amb l'aniversari de l'astre, el mago 
Diego,( no sè qui va ser primer si l'astre o el feriado) la meva teorìa es 
que van convencer a en Diego perque canvies la seva partida de naixement per 
tal de donbar-li un sentit al dia Festiu...
Es pronostica una pujada de temperatures, necesaria per restablir 
l'equilibri global, a uns els toca patir el fred i als altres gaudir del 
calor i els rodamons com jo compartir i jugar amb la bola del mòn, ara cap 
aqui ara cap allì i anar amoldant el clima a les necesitats corporees...
Presisament demà arriben tambè els meus pares, disposats a escombrar-se mig 
continent, el punt d'inici ,com no, Bs As, com si tinguessim telepatia, 
venen al mateix lloc on jo estic, el que no saben és que aixo es immens, i 
que poden trigar dos mesos en trobar-me...

La nova més significativa és que l'1 de novembre em mudo a un piset junt amb 
dos alemanys i dos argentins al bell mig del barri de la BOCA, lluny dels 
turistes i de les influencies europees. Es el primer barri que tinguè la 
ciutat, construit per italians, encara preserva el color i l'activitat 
frenetica de carrer, pero avui en dia te fama de ser la zona mès perill

Re: login.conf and accents weirdness

2003-11-01 Thread Joan Picanyol i Puig
[please honour MFT, not subscribed]

* Jean-Baptiste Quenot <[EMAIL PROTECTED]> [20031101 12:12]:
> * In console or in X11?
Both

> * If X11, what terminal emulator do you use?
xterm

> * What shell do you use?
bash

> * What language and especially encoding has your mail?
(15:23:01 <~/tmp>) 0 $ grep ontent mail.test 
Content-Type: text/plain; charset=iso-8859-1; format=flowed

> I suggest  to set LC_CTYPE=es_ES.ISO8859-15  in your shell's  init file,
> and don't  forget to  export that variable  (export with  [ba]sh, setenv
> with [t]csh).
I have these lines in /etc/login.conf

:setenv=LC_CTYPE=ISO8859-15,LANG=ca_ES.ISO8859-15: \
:lang=ca_ES.ISO-8859-15:\
:charset=ISO8859-15:\

> Also, please test with  more or less, not mutt, so it  will be easier to
> find the solution.  Make a test  file with special characters not in the
> 7-bit range, and view it.
I'm attaching my test file (an actual message). Both under xterm and
console the results are the sime: cat works fine but more and less do
not.

Where's the culprit?

tks
-- 
pica
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


printing man pages and source code (with vgrind + troff)

2003-06-06 Thread Joan Picanyol i Puig
Hi,

I need to print many man pages and source code files, and I need the
output to be in pdf and preferably with two pages per side (syntax
colouring would be amazing:). So I've been looking at vgrind (+ ps2pdf?)
for the source code, but I can't get what I want. As for the man pages,
the semman2html

Can someone tell me what the one-liner for this is?

tks
-- 
pica
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


linking math/octave against different readline

2003-03-24 Thread Joan Picanyol i Puig
Hi,

math/octave does not build on -stable, since it needs a newer readline
version, and the configure script fails (cd /usr/ports/math/octave &&
make will show you). So I installed a local version
of readline (readline-4.3) and tried linking against it using LDFLAGS
and CPPFLAGS. The configure script does not fail anymore (since
CPPFLAGS has my readline's version include directory), but the program
is still linked against the system's readline:

ldd src/octave | grep readline
libreadline.so.4 => /usr/lib/libreadline.so.4 (0x2874e000)

And leads to runtime failure:
octave:1> help
/usr/libexec/ld-elf.so.1: src/octave: Undefined symbol
"rl_get_screen_size"

Setting LD_LIBRARY_PATH to my readline's lib directory works, but I'd
like to avoid it. So how can I force the linker to ignore
/usr/lib/libreadline.so.4 when linking?

tks
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


weirdness in NIC probing

2003-01-20 Thread Joan Picanyol i Puig
(please honour Mail-Followup-To, I'm not subscribed)

Hi,

I upgraded a box from 4.5 to 4.7, and to my surprise, it didn't
recognize the NIC at bootup anymore (having miibus and wb in the
kernel). However, it does recognize it if I plug another NIC in. 

This is what I get when it recognizes it:

wb0:  port 0xd800-0xd87f mem
0xdb00-0xdb7f irq 5 at devic e 10.0 on pci0
wb0: Ethernet address: 00:0 2:03:06:00:e5
miibus0:  on wb0
lxtphy0:  on miibus0
lxtphy0:  100baseFX, 100bas eFX-FDX, 10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto

The relevant entries from pciconf are:

wb0@pci0:10:0:  class=0x02 card=0x08401050 chip=0x08401050 rev=0x00
hdr=0x00
vendor   = 'Winbond Electronics Corp.'
device   = 'W89C840F 100/10Mbps Ethernet Controller'
class= network
subclass = ethernet

none1@pci0:13:0:class=0x02 card=0x00118086 chip=0x12298086
rev=0x09 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82557/8/9 EtherExpress PRO/100(B) Ethernet Adapter'
class= network
subclass = ethernet

Note that the second NIC does not have a driver compiled for it in the
kernel.

Now, does anyone know what is causing this? Why does FreeBSD need the
other NIC plugged in? It's probably some option in the kern config I
don't know about (unfortunately, I don't keep the old config)

tks
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: /usr/ports/devel/apr fails to compile

2003-01-19 Thread Joan Picanyol i Puig
* Craig Rodrigues <[EMAIL PROTECTED]> [20030118 20:50]:
> On Sat, Jan 18, 2003 at 01:10:50PM +0100, Joan Picanyol i Puig wrote:
> > MD5 (/usr/ports/devel/apr/pkg-plist) = 68085a0ac90afe40b44afadffa2a6b3b
> 
> I don't have the same pkg-plist as you.
> MD5 (pkg-plist) = daa7c959d1c387c92300374bdcc9060a
I just refetched it (changed 3 days ago) and still get the same error:

(14:22:21 ) 0 $ md5 pkg-plist 
MD5 (pkg-plist) = daa7c959d1c387c92300374bdcc9060a

Making all in .
/bin/sh
/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-0.9.1/li
ool --silent --mode=compile gcc -g -O2   -DHAVE_CONFIG_H -D_REENTRANT
-D_THREAD_SAFE   -I/fs/
p/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9.1/include
-I/
/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9.1/include/
ivate
-I/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-0.9.1/i
lude  -I/usr/local/include  -c apr_dbm_berkeleydb.c && touch
apr_dbm_berkeleydb.lo
apr_dbm_berkeleydb.c: In function `vt_db_open':
apr_dbm_berkeleydb.c:200: warning: passing arg 2 of pointer to function
from incompatible poi
er type
apr_dbm_berkeleydb.c:200: warning: passing arg 4 of pointer to function
makes pointer from in
ger without a cast
apr_dbm_berkeleydb.c:200: too few arguments to function
*** Error code 1

Stop in
/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9
/dbm.
*** Error code 1

Stop in
/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9
/dbm.
*** Error code 1

Stop in
/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9
.
*** Error code 1

Stop in /fs/bulk/mount/FreeBSD/ports/devel/apr.
(14:23:54 ) 0 $ 

I've reinstall db4 to no avail. What else might I try to get it working?

tks
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Resizing partitions for 5.0

2003-01-19 Thread Joan Picanyol i Puig
* Jeff Penn <[EMAIL PROTECTED]> [20030119 13:33]:
> I am fishing for wisdom on the worth of breaking up /usr.  Directories
> I've considered moving around are:
> 
> 158M/usr/X11R6
>  91M/usr/compat
> 546M/usr/local
> 
> 299M/usr/src/
>  27M/usr/obj/
As long as you don't consider it wisdom :), this is my setup: 

(19:11:58 <~>) 0 $ df -h
Filesystem  Size   Used  Avail Capacity  Mounted on
/dev/da1s1a 126M88M28M76%/
/dev/vinum/home 4.2G   3.1G   780M80%/home
/fs/tmp/dev-mount   1.9G   1.3G   504M72%/fs/tmp/mount
/fs/base/dev-mount  248M   102M   126M45%/fs/base/mount
/fs/apps/dev-mount  2.4G   1.3G   953M58%/fs/apps/mount
/fs/bulk/dev-mount   36G   4.0G29G12%/fs/bulk/mount
/fs/std-var/dev-mount   247M   100M   127M44%/fs/std-var/mount

/usr is a link to /fs/base/mount
/tmp is a link to /fs/tmp/mount
/var is a link to /fs/std-var/mount

/usr/{X11R6,local} are links to /fs/apps/mount/usr/{X11R6,local}
/usr/obj is a link to /tmp/build/obj
/{var,usr}/tmp are links to /tmp
/usr/{src,ports} are links to /fs/bulk/mount/FreeBSD/{src,ports}

I separate the namespace from storage type. See
http://multivac.cwru.edu/fs/ (mind the trailing slash) for the original
idea.

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: /usr/ports/devel/apr fails to compile

2003-01-18 Thread Joan Picanyol i Puig
* Craig Rodrigues <[EMAIL PROTECTED]> [20030118 03:23]:
> On Fri, Jan 17, 2003 at 06:31:50PM +0100, Joan Picanyol i Puig wrote:
> > > 
>-I/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-0.9.1/include
> > > -I/usr/local/include  -c apr_dbm_berkeleydb.c && touch
> > > apr_dbm_berkeleydb.lo
> > > apr_dbm_berkeleydb.c: In function `vt_db_open':
> > > apr_dbm_berkeleydb.c:200: warning: passing arg 2 of pointer to function
> > > from incompatible pointer type
> > > apr_dbm_berkeleydb.c:200: warning: passing arg 4 of pointer to function
> > > makes pointer from integer without a cast
> > > apr_dbm_berkeleydb.c:200: too few arguments to function
> > > *** Error code 1
> 
> 
> I cannot reproduce this problem, and this is the first report I have
> seen of it.  Are you sure you updated your ports tree?
Well, I just updated it again. Do I have the same files as you?

(13:07:20 <~>) 0 $ md5 `find /usr/ports/devel/apr/ -type f`
MD5 (/usr/ports/devel/apr/files/patch-configure.in) =
124eac65c026b3aa2e2d25c45a34070d
MD5 (/usr/ports/devel/apr/Makefile) = 513b3663276c20f8468ab9ddf821b095
MD5 (/usr/ports/devel/apr/distinfo) = b1f8031a86b14c7cd6e778646cd54253
MD5 (/usr/ports/devel/apr/pkg-comment) =
326805679217eac92ed278b10adf727f
MD5 (/usr/ports/devel/apr/pkg-descr) = 6a90aa2ca3016b8096cb2f087350866f
MD5 (/usr/ports/devel/apr/pkg-install) =
3bd1853ba7ca0895bf40fd1a66146870
MD5 (/usr/ports/devel/apr/pkg-plist) = 68085a0ac90afe40b44afadffa2a6b3b
(13:07:22 <~/runwhen/cvsup>) 0 $ md5 /tmp/build/dist/apr-*
MD5 (/tmp/build/dist/apr-0.9.1.tar.gz) =
862ab3e00695f065235f6f25ea6cbace
MD5 (/tmp/build/dist/apr-util-0.9.1.tar.gz) =
fb1a1e360a2b643ab447e993975e3397
(13:07:24 <~>) 0 $ 

p.s.: please tell me if you're subscribed to questions so I can remove
you from cc:

tks
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: /usr/ports/devel/apr fails to compile

2003-01-17 Thread Joan Picanyol i Puig

* Joan Picanyol i Puig <[EMAIL PROTECTED]> [20030113 16:09]:
> Hi,
> 
> Trying to install subversion, I can't get apr to build:
> 
> Making all in .
> /bin/sh
> 
>/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-0.9.1/libtool
> --silent --mode=compile gcc -g -O2   -DHAVE_CONFIG_H -D_REENTRANT
> -D_THREAD_SAFE
> 
>-I/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9.1/include
> 
>-I/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9.1/include/private
> 
>-I/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-0.9.1/include
> -I/usr/local/include  -c apr_dbm_berkeleydb.c && touch
> apr_dbm_berkeleydb.lo
> apr_dbm_berkeleydb.c: In function `vt_db_open':
> apr_dbm_berkeleydb.c:200: warning: passing arg 2 of pointer to function
> from incompatible pointer type
> apr_dbm_berkeleydb.c:200: warning: passing arg 4 of pointer to function
> makes pointer from integer without a cast
> apr_dbm_berkeleydb.c:200: too few arguments to function
> *** Error code 1
> 
> Stop in
> 
>/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9.1/dbm.
> *** Error code 1
> 
> Stop in
> 
>/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9.1/dbm.
> *** Error code 1
> 
> Stop in
> 
>/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9.1.
> *** Error code 1
> 
> Stop in /fs/bulk/mount/FreeBSD/ports/devel/apr.
The problem persists after rebuilding world, gdbm and db4. Am I really
the only one seeing this? Any hints as to how to get it to compile?

tks
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: how do i log another device to syslog?

2003-01-16 Thread Joan Picanyol i Puig
* Bsd Neophyte <[EMAIL PROTECTED]> [20030115 14:00]:
> the sonicawall is set to communicate with a syslog server.  i've told
> it to contact the FreeBSD box, but i don't know how to enable to
> FreeBSD box to record the requests.
> 
> can anyone help me out?
I suggest you try socklog (http://smarden.org/socklog/). It's not as
'standard' as "portinstall whatever" but installing a breeze. Beware,
for the default inet logging configuration you also need to install
ucspi-tcp (http://cr.yp.to/ucspi-tcp.html) as a replacement for inetd.

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



/usr/ports/devel/apr fails to compile

2003-01-13 Thread Joan Picanyol i Puig
Hi,

Trying to install subversion, I can't get apr to build:

Making all in .
/bin/sh
/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-0.9.1/libtool
--silent --mode=compile gcc -g -O2   -DHAVE_CONFIG_H -D_REENTRANT
-D_THREAD_SAFE
-I/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9.1/include
-I/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9.1/include/private
-I/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-0.9.1/include
-I/usr/local/include  -c apr_dbm_berkeleydb.c && touch
apr_dbm_berkeleydb.lo
apr_dbm_berkeleydb.c: In function `vt_db_open':
apr_dbm_berkeleydb.c:200: warning: passing arg 2 of pointer to function
from incompatible pointer type
apr_dbm_berkeleydb.c:200: warning: passing arg 4 of pointer to function
makes pointer from integer without a cast
apr_dbm_berkeleydb.c:200: too few arguments to function
*** Error code 1

Stop in
/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9.1/dbm.
*** Error code 1

Stop in
/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9.1/dbm.
*** Error code 1

Stop in
/fs/tmp/mount/tmp/build/ports/fs/bulk/mount/FreeBSD/ports/devel/apr/work/apr-util-0.9.1.
*** Error code 1

Stop in /fs/bulk/mount/FreeBSD/ports/devel/apr.

Are there any know workarounds?

tks
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: pop-before-smtp

2003-01-12 Thread Joan Picanyol i Puig
* Antoine Jacoutot <[EMAIL PROTECTED]> [20030113 00:40]:
> I've been looking all around but I don't find any pop-before-smtp
> solution within FreeBSD (no package, no ports, at least I didn't find
> any).
If you really want to set this up, you might need to work a little
harder :o

> Do you know if such a solution exists.
Yes. I use qmail+vmailmgr+relay-control. It works so well I have
forgotten how to install it :) They can be found at
http://cr.yp.to/qmail.html, http://untroubled.org/vmailmgr/ and
http://untroubled.org/relay-control. To get better support about any
installation problems you might have, follow http://www.lifewitqmail.org

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Palm 515 setup

2003-01-12 Thread Joan Picanyol i Puig
* Anne Sipes <[EMAIL PROTECTED]> [20021230 10:02]:
> I just got mine syncing.  I put together this howto:
> 
> http://www.geekhome.net/palm.html
> 
> Let me know if you have any problems with it.
Didn't work for me (m500)

it hangs for ever at: 

(13:45:46 <~>) 0 $ install-user -u joan -i 1000

Listening to port: /dev/pilot

Please press the HotSync button now... 

This is what I have in /var/log/messages: 

Jan 12 13:44:55 grummit /kernel: ucom0: Palm, Inc. Palm Handheld, rev
1.00/1.00, addr 3
Jan 12 13:44:55 grummit /kernel: ucom0: Palm, Inc. Palm Handheld, rev
1.00/1.00, addr 3
Jan 12 13:46:06 grummit /kernel: ucom0: ucomreadcb: IOERROR
Jan 12 13:46:06 grummit /kernel: ucom0: at uhub0 port 2 (addr 3)
disconnected
Jan 12 13:46:06 grummit /kernel: ucom0: still open, focing close
Jan 12 13:46:43 grummit /kernel: ucom0: detached
Jan 12 13:47:03 grummit /kernel: ucom0: Palm, Inc. Palm Handheld, rev
1.00/1.00, addr 3
Jan 12 13:47:03 grummit /kernel: ucom0: Palm, Inc. Palm Handheld, rev
1.00/1.00, addr 3
Jan 12 13:48:13 grummit /kernel: ucom0: at uhub0 port 2 (addr 3)
disconnected
Jan 12 13:48:13 grummit /kernel: ucom0: detached
Jan 12 13:50:29 grummit /kernel: ucom0: Palm, Inc. Palm Handheld, rev
1.00/1.00, addr 3
Jan 12 13:50:29 grummit /kernel: ucom0: Palm, Inc. Palm Handheld, rev
1.00/1.00, addr 3
Jan 12 13:51:39 grummit /kernel: ucom0: ucomreadcb: IOERROR
Jan 12 13:51:39 grummit /kernel: ucom0: at uhub0 port 2 (addr 3)
disconnected
Jan 12 13:51:39 grummit /kernel: ucom0: still open, focing close
Jan 12 13:52:00 grummit /kernel: ucom0: detached

I had been told it didn't work...

any hints?

tks
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: creating user dirs

2003-01-07 Thread Joan Picanyol i Puig
* Lauri Laupmaa <[EMAIL PROTECTED]> [20030107 19:47]:
> Hopefully there is some simple command or script :)
mkdir `cat /etc/passwd | cut -d : -f 6`

this assumes that the home_dir field of users is correctly set

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Selecting a specific list of ports to update

2003-01-05 Thread Joan Picanyol i Puig
* Daniel Goepp <[EMAIL PROTECTED]> [20030106 00:18]:
> So, I think I'm going to go ahead and
> write my own script, to read a config file with a list of apps, and pull
> their directories. 
That's what I'd do (untested):

CVSROOT=:pserver:[EMAIL PROTECTED]:/home/ncvs
mkdir /tmp/`hostname`.$$; cd /tmp/`hostname`.$$
cvs -d $CVSROOT login
cvs -d $CVSROOT co modules
cvs -d $CVSROOT co  `grep -f modules.mine modules/modules | cut -f 1`

modules.mine is your subset of choice from modules/modules

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Installing FreeBSD 4.7 from ISO image

2003-01-05 Thread Joan Picanyol i Puig
* William Coles <[EMAIL PROTECTED]> [20030105 20:03]:
> Greetings,
> 
> I'm new to the list and new to FreeBSD. Here is my situation:
> 
> or how I can go about installing from the CD onto my
> available drive? Any help will be greatly appreciated.
The easiest way is to boot from floppy.

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Selecting a specific list of ports to update

2003-01-05 Thread Joan Picanyol i Puig
* Daniel Goepp <[EMAIL PROTECTED]> [20030105 19:17]:
> I would like to be able to make a cvsupfile with a
> list of just individual ports to update.  Any ideas?
Use CVS. cvsup only knows about 'collections'

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Here are the logs...Re: qmail toaster wont deliver to v mailboxes

2003-01-04 Thread Joan Picanyol i Puig
* Keith Spencer <[EMAIL PROTECTED]> [20021231 03:51]:
> Thanks to Brian et al for trying to help me out.
> MY situation is this.
> 
> I have installed (with heaps of hassles) MATT
> SIMERSON'S QMAIL TOASTER on my fresh install 4.7
> stable box.
> I am changing over (via strating from scratch) my mail
> system for my smmc.qld.edu.au domain from
> sendmail/imap/squirrelmail to Matt's
> Supervise/Qmail/mysql/vpopmail/imap/squirrel system.
> I had about 40 shell account mail users. I seek to
> ditch them and create all mail accounts as virtual
> users of my domain.
> I don't know if to do that smmc.qld.edu.au has to be a
> vpopmail virtual domain but that is what I have done.
> Along wit the configs Matt's tute suggests that is
> pretty much it.
Try to be more precise when explaining your situation (particularly, try
to document step by step what you did to configure your system and show
us relevant configuration files)

Content-Description: log.txt
> Dec 31 00:00:03 smmcroute mail: 1041256803.908619 starting delivery 17893: msg 
>290936 to local [EMAIL PROTECTED]
> Dec 31 00:00:03 smmcroute mail: 1041256803.909261 status: local 1/10 remote 1/255
> Dec 31 00:00:03 smmcroute mail: 1041256803.920062 delivery 17893: deferral: 
>Unable_to_chdir_to_maildir._(#4.2.1)/
If you are sure it's not a permissions or directory issue, show us!
ktrace the process to see where is it trying to chdir

> Dec 31 12:23:28 smmcroute mail: 1041301408.535628 info msg 290797: bytes 702 from 
><[EMAIL PROTECTED]> qp 49475 uid 89
> Dec 31 12:23:28 smmcroute mail: 1041301408.549619 starting delivery 22515: msg 
>290797 to local [EMAIL PROTECTED]
> Dec 31 12:23:28 smmcroute mail: 1041301408.553299 delivery 22515: failure: 
>Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
qmail know mail to smmc.qld.edu.au should be treated as local. qmail has
no idea cs is a "virtual" user.

If you are trying to mix both "real" and "virtual" users under the same
fqdn, you need to set up fastforward. You should ask on
[EMAIL PROTECTED]; make sure you describe your intended setup properly

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: POP3 with Web Interface Email Application

2002-12-27 Thread Joan Picanyol i Puig
* Fawaz <[EMAIL PROTECTED]> [20021227 12:16]:
> We are a small company, and we have a POP3 Email server that is running by
> iPlanet. I need to to build a web interface so I can check the email by a
> browser. Since that iPlanet thing was provided by some 3rd party company,
> which is not able to setup an application that fits our need,

> I thought of
> building a server, and installing some application on that server to pull
> the messages from the POP3 account, and publish it by Apache -as an example.
> Any idea?
If you can afford a permanent connection, a spare machine and you have
the time to do the maintenance, your best bet is to build your own mail
server. qmail (http://cr.yp.to/qmail.html)
+ omail (http://wm.omnis.ch/omail.pl?action=about) work wonders if the
same machine is hosting web and mail service. Once setup you'll forget
how they work :)

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: qmail toaster wont deliver to v mailboxes

2002-12-27 Thread Joan Picanyol i Puig
* Keith Spencer <[EMAIL PROTECTED]> [20021227 00:00]:
> > What does your /var/log/qmail/current file say?
> > 
> > $tail -f /var/log/qmail/current | tai64nlocal
> > 
> > will give you a running commentary - do that in one
> > window, send some 
> > messages in another and see what the errors are.
> Brian...I dont have such a /var/log/qmail/current
> beast!
>:(
Find where the logs are! How did you install qmail? The recomended
method is to follow http://www.lifewithqmail.org

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: MSN Messenger

2002-12-24 Thread Joan Picanyol i Puig
* Wayne Swart <[EMAIL PROTECTED]> [20021223 12:04]:
> Is there an equivalant for msn messenger on X ?
/usr/ports/net/gaim

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: (da0:ahc0:0:0:0): Unexpected busfree in Data-in phase

2002-12-21 Thread Joan Picanyol i Puig
* Dimitris Zilaskos <[EMAIL PROTECTED]> [20021221 14:11]:
>  Wherever I encountered it , that message either meant bad cabling
> /termination , or insufficient power output from the psu to support all
> the hard disks on the system .
Mmmhh... I haven't touched anything hw-related for months in this
machine

> Generally , it indicates a hardware problem
The disk in question is from this August, last time I opened the case.
It's been working fine since then.

> . Is the message the only symptom ? Can you access the filesystem on
> the disk normally ?
yes two both questions

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: (da0:ahc0:0:0:0): Unexpected busfree in Data-in phase

2002-12-21 Thread Joan Picanyol i Puig
* lewiz <[EMAIL PROTECTED]> [20021221 14:21]:
> On Sat, Dec 21, 2002 at 12:12:22PM +0100, Joan Picanyol i Puig wrote:
> > (da0:ahc0:0:0:0): Unexpected busfree in Data-in phase
>   This looks like you've got an Adaptec ahc SCSI controller, to me?  Am
> I right?
yes

> I was wondering if I could awfully cheeky and ask if I could
> see your kernel config for the device. 
(14:47:13 <~>) 0 $ strings /kernel | grep ahc | grep ___
___device   ahc # AHA2940 and onboard AIC7xxx
devices

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



(da0:ahc0:0:0:0): Unexpected busfree in Data-in phase

2002-12-21 Thread Joan Picanyol i Puig
Hi,

I started getting the following message about two days ago: 

(da0:ahc0:0:0:0): Unexpected busfree in Data-in phase

What does it mean? Should I worry about it? Relevant part of dmesg on a
recent -stable:

da0 at ahc0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-3 device
da0: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing
Enabled
da0: 19001MB (38914049 512 byte sectors: 255H 63S/T 2422C)

ahc0:  port 0x1000-0x10ff mem 0xd002-0xd0020fff 
irq 11 at device 14.0 on pci0
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs

tks
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Going from Windows to X - suggestions

2002-12-18 Thread Joan Picanyol i Puig
* Rapha?l Ding? <[EMAIL PROTECTED]> [20021218 20:08]:
> Assuming that having a light wm would reduce X consumption, what 
> would be a good wm to use with 32 MB Ram ? (optimum ratio good 
> looking/memory consumption)
I'm running -STABLE and icewm on a Libretto 70CT (upgraded to 32MB of
RAM). Browse with dillo

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



clarification of man dump

2002-12-06 Thread Joan Picanyol i Puig
Hi,

I have some trouble understanding the last part of 'man dump', from "An
efficient method of...". My understanding is that the example means:

1. Take a level 0 dump once a month
2. Take a level 1 dump once a week
3. Take a level 3 dump on mondays, a level 2 on tuesdays, a level 5 on
wednesdays and so on until a level 9 on sundays.

Am I missing something? What's so "efficient" from doing it this way
(why)?

tks
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Qmail/Mail problem..

2002-12-05 Thread Joan Picanyol i Puig
* aSe <[EMAIL PROTECTED]> [20021206 02:53]:
> Hello,
>   I'm useing the HowTo at http://mricon.com/SM/guide/bsd/qvcs-guide.pdf to setup 
>Qmail and Ucspi-tcp. I'm just having a slight problem trying to start ucspi-tcp.
Try http://www.lifewithqmail.org. It's generally regarded as _the_
installation guide for qmail.

> Fail# /usr/local/bin/tcpserver -R -x/var/qmail/control/relays.cdb -u5001 -g5000 0 
>smtp /var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger &
> Ambiguous output redirect.
Make sure to copy the scripts from http://www.lifewithqmail.org
_verbatim_ (watching carefully for quotes). It works.

> Any ideas as to why it could be doing that?
No idea, the following works for me (anyone could please explain the
difference?):

grummit:~$ echo hi 2>&1 | cat &
[1] 66792
grummit:~$ hi

[1]+  Doneecho hi 2>&1 | cat
grummit:~$ 

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Help !!!

2002-12-03 Thread Joan Picanyol i Puig
* David Kerr <[EMAIL PROTECTED]> [20021204 01:47]:
> I have a problem .. hope someone can help ! 
yourself :)

> I fear that the permissions in the "/" directory were changed ... is 
> there any way to reverse this ? 
read through wks.uts.ohio-state.edu/basic_unix_guide/unix_guide.html
particularly de Permissions part

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Mail?

2002-12-02 Thread Joan Picanyol i Puig
* aSe <[EMAIL PROTECTED]> [20021202 13:04]:
> Hello,
>   I'm trying to find a guide/walk-through/howto on installing postfix/qmail on 
>freebsd, along with a pop3 server. I've been searching on google for awhile now, 
>anything i've found is old and/or doesn't talk about setting up pop3.
For qmail:

http://cr.yp.to/qmail/toaster.html  #author's indications
http://www.lifewithwmail.org#*best* qmail setup HOWTO
http://www.qmail.org#user's tips & trick & scripts
http://www.vmailmgr.org #virtual hosting

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: ports/courier-imap in fbsd 4.7.0

2002-11-26 Thread Joan Picanyol i Puig
* Condor <[EMAIL PROTECTED]> [20021126 13:07]:
> I trying to compile courier-imap with mysql support
> from ports but, authmysql modules is not build.
> I define to use mysql, recompile, in configuration script
> i show that sucessful have parameter --with-authmysql
> but modules is not build.
IIRC, courier-imap builds authdaemond wich has all the modules built-in.
See the courier-imap docs for details.

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: qmail problem

2002-11-25 Thread Joan Picanyol i Puig
* Jonathan Belson <[EMAIL PROTECTED]> [20021125 21:12]:
> My qmail installation went from working fine to acting strangely.
What have _you_ done ;)?

> Nov 25 19:51:53 dookie qmail: 1038253913.640433 delivery 52: deferral:
> maildir:_not_found/
[...]
> root@dookie:/home/jon# cat .qmail
> |/usr/local/bin/spamassassin | maildir ./Maildir/
try to use a full path for maildir:

echo \|/usr/local/bin/spamassasin \| `whereis -b grep | cut -f 2 -d ' '` >~/.qmail

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



adding ca_ES locale to FreeBSD

2002-11-24 Thread Joan Picanyol i Puig
Hi,

I'd like to have the ca_ES locale added to FreeBSD. In my -STABLE src
tree I find:

grummit:/usr/src$ find . -name es_ES*
./share/colldef/es_ES.ISO8859-1.src
./share/colldef/es_ES.ISO8859-15.src
./share/monetdef/es_ES.ISO8859-1.src
./share/msgdef/es_ES.ISO8859-1.src
./share/numericdef/es_ES.ISO8859-1.src
./share/timedef/es_ES.ISO8859-1.src

I've reviewed all of these and the only one which would need changing
would be share/timedef/*.src (and probably share/*/Makefile) which I
attach to this message.

What would be the fastest way to get this commited? Are there any other
files which would need some changes? Should I file a PR?
Should I make a patch to create all the files (hints to obtain a perfect
patch are welcomed)? To whom should I send it?

tks
-- 
pica



ca_ES.ISO8859-1.src
Description: WAIS Source


Re: Palm 515 setup

2002-11-18 Thread Joan Picanyol i Puig
* Vidor Demeter <[EMAIL PROTECTED]> [20021118 15:02]:
> Hi all,
> 
> Now I have the next question which is about setting up
> a Palm M515...
> I have the USBD running but what is the next step, to
> get Palm synchronizing with the FreeBSD??
> I need some help...
Doesn't work yet. Send a message to [EMAIL PROTECTED] asking when
it will be ready (if you read the archives, you'll find you are not the
first one.

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: firewall / natd problem I think

2002-11-13 Thread Joan Picanyol i Puig
* Kenny Elliott <[EMAIL PROTECTED]> [20021113 16:56]:
> Interface xl0 has an assigned ip address of 10.1.1.1 and is connected
> to an internal network. Clients on the internal network are given ip
> addresses in the 10.1.1.0/24 class C via dhcp.
[snip]
> If I connect to the web server from the outside world it works
> correctly.  However, if I attempt to connect to the web server from
> one of the internal clients the connection is VERY slow. Accessing
> outside web servers from the same client works without a problem speed
> is wuite acceptable. This client has the same problem (very slow) whne
> attempting to retreive it's mail from the pop server running on the
> freebsd box.
How are you resolving DNS lookups from the inside? 

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: How to stop SPAMMER??!

2002-11-11 Thread Joan Picanyol i Puig
> >1.- close port 25 while reconfiguring qmail
> 
> How?
It depends. Find out who is listening in port 25 (lsof). Kill it. Make
sure it doesn't restart.

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: How to stop SPAMMER??!

2002-11-11 Thread Joan Picanyol i Puig
* W. D. <[EMAIL PROTECTED]> [20021110 14:00]:
> lrwxr-xr-x  1 root  wheel33 Dec 10  2001 sendmail -> 
>/usr/local/psa/qmail/bin/sendmail
> 
> Using qmail.  How to configure to avoid spam?  What is the name of
> configuration file?
You did _NOT_ install qmail following the instructions. qmail is to be
installed in /var/qmail. qmail's standard install instructions do not
configure an open relay, you have done it yourself.

Please:

1.- close port 25 while reconfiguring qmail
2.- reinstall qmail. The Way To Go instructions are found at
http://www.lifewithqmail.org. Follow this instructions _to the letter_
3.- open port 25 for a safe and reliable email server

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: trouble with perl writing to pipes :(

2002-11-10 Thread Joan Picanyol i Puig
* Matthew Seaman <[EMAIL PROTECTED]> [20021108 12:40]:
> On Fri, Nov 08, 2002 at 10:46:43AM +0100, Joan Picanyol i Puig wrote:
> > I'm noticing some weird behaviour having perl writing to pipes (they eat
> > my output):
[...]
> You may find that appropriate use of the $| special variable (or
> equivalently the autoflush method of the IO::Handle object) suddenly
> makes things work a lot better.
Many thanks, hat did the trick

> Hmmm... This only seems to affect perl-5.00503 --- perl-5.6.1 works
> for me in the way you expect without any extra flushing.
I believe it only affects perl on FreeBSD, but anyway...

tks
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



trouble with perl writing to pipes :(

2002-11-08 Thread Joan Picanyol i Puig
Hi, 

I'm noticing some weird behaviour having perl writing to pipes (they eat
my output):

grummit:~/tmp/runwhen/dirs/root/runwhen/cvsup$ cat shownextrun
#!/usr/bin/perl -w
print('sleeping; next run at: ',
  scalar(localtime(time()+$ENV{'DELAY'})), "\n");
  exec({ $ARGV[0] } @ARGV);

grummit:~/tmp/runwhen/dirs/root/runwhen/cvsup$ DELAY=1 ./shownextrun true
sleeping; next run at: Fri Nov  8 10:44:21 2002

grummit:~/tmp/runwhen/dirs/root/runwhen/cvsup$ DELAY=1 ./shownextrun true | cat
grummit:~/tmp/runwhen/dirs/root/runwhen/cvsup$

Attached is the diff of the two ktrace outputs, one sending the output
through the pipe, one without doing so. As showed above, running with the
pipe eats my output. The diff was obtained by ripping the pid by "kdump
-f ktrace.out.nopipe | cut -d ' ' -f 4- > ktrace.out.nopipe.nopid". The
original dump's are available (as text) at http://biaix.org/pk/debug/

tks
-- 
pica

*** ktrace.out.pipe.nopid   Fri Nov  8 10:22:18 2002
--- ktrace.out.nopipe.nopid Fri Nov  8 10:22:01 2002
***
*** 1356,1366 
  perl CALL  break(0x8058000)
  perl RET   break 0
  perl CALL  break(0x8059000)
  perl RET   break 0
  perl CALL  getpid
! perl RET   getpid 3416/0xd58
  perl CALL  break(0x805a000)
  perl RET   break 0
  perl CALL  fstat(0x3,0xbfbfd29c)
  perl RET   fstat 0
  perl CALL  break(0x805c000)
--- 1356,1366 
  perl CALL  break(0x8058000)
  perl RET   break 0
  perl CALL  break(0x8059000)
  perl RET   break 0
  perl CALL  getpid
! perl RET   getpid 3410/0xd52
  perl CALL  break(0x805a000)
  perl RET   break 0
  perl CALL  fstat(0x3,0xbfbfd29c)
  perl RET   fstat 0
  perl CALL  break(0x805c000)
***
*** 1418,1429 
  perl RET   read 624/0x270
  perl CALL  close(0x3)
  perl RET   close 0
  perl CALL  fstat(0x1,0xbfbff83c)
  perl RET   fstat 0
! perl CALL  break(0x8061000)
! perl RET   break 0
  perl CALL  execve(0xbfbff5cc,0x8050080,0xbfbffb64)
  perl NAMI  "/command/true"
  perl RET   execve -1 errno 2 No such file or directory
  perl CALL  execve(0xbfbff5cc,0x8050080,0xbfbffb64)
  perl NAMI  "/bin/true"
--- 1418,1434 
  perl RET   read 624/0x270
  perl CALL  close(0x3)
  perl RET   close 0
  perl CALL  fstat(0x1,0xbfbff83c)
  perl RET   fstat 0
! perl CALL  ioctl(0x1,TIOCGETA,0xbfbff870)
! perl RET   ioctl 0
! perl CALL  write(0x1,0x8059000,0x30)
! perl GIO   fd 1 wrote 48 bytes
! "sleeping; next run at: Fri Nov  8 10:16:29 2002
! "
! perl RET   write 48/0x30
  perl CALL  execve(0xbfbff5cc,0x8050080,0xbfbffb64)
  perl NAMI  "/command/true"
  perl RET   execve -1 errno 2 No such file or directory
  perl CALL  execve(0xbfbff5cc,0x8050080,0xbfbffb64)
  perl NAMI  "/bin/true"



Re: qmail timeout problem

2002-11-05 Thread Joan Picanyol i Puig
* Miroslav Pendev <[EMAIL PROTECTED]> [20021105 17:10]:
> How can I *fix* this problem? :-)
I am assuming you are talking about reverse resolving. As far as I can
tell, the IP's owner (your ISP) is responsible for queries to
t.z.y.x.in-addr.arpa (where x.y.z.t is your IP address). 

Send the output of "dig ${PUBLICIP} ptr" to find out.

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: qmail timeout problem

2002-11-05 Thread Joan Picanyol i Puig
* Miroslav Pendev <[EMAIL PROTECTED]> [20021105 16:42]:
> When somebody is trying to send email to the server it timeouts
> more than 60 seconds. The email client is just waiting for something
> and after this time the email is sent.
> 
...
> 
> I thought this is DNS problem so I put -H -P -R -l0 (el zero)
> options to tcpserver. For now (last few hours) it seems to be fine 
> but I am not sure.
qmail faq. You got the right answer.

> I did noticed that there is no reverse resolv record for this server.
See?

> If the problem is not with the DNS then it is something with the 
> way qmail is working on FreeBSD 4.7... 
I run three qmail installations on FreeBSD without a glitch.

qvb
p.s.: I'm *almost* sure you got it right
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: qmail-smtpd-auth & vpopmail

2002-11-04 Thread Joan Picanyol i Puig
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [20021104 07:34]:
> i want to install qmail-smtpd-auth with vpopmail under freebsd
> any idea or sugestion
Use vmailmgr (http://www.vmailmgr.org) and follow 'Life with qmail'
(http://www.lifewithqmail.org)

> or any other method for smtp-auth
POP-before-SMTP
IMAP-before-SMTP
It's not the same, but does not need MUA support.

see http://untroubled.org/relay-ctrl/

qvb
-- 
pica

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message