Re: Problems installing/running acroread 7: libBIB.so

2006-05-05 Thread Василий Васильков

try to move it library to /lib

2006/5/6, Andrew Robinson <[EMAIL PROTECTED]>:


Hi everyone,

I'm having trouble with the acroread 7 port.  I seem to have installed
it just fine, but it fails to run, citing the following error:

/usr/X11R6/Adobe/Acrobat7.0/ENU/Reader/intellinux/bin/acroread: error
while loading shared libraries: libBIB.so: cannot open shared object
file: No such file or directory

Now, I know that I have this library:

$ locate libBIB.so
/usr/X11R6/Adobe/Acrobat7.0/ENU/Reader/intellinux/lib/libBIB.so
/usr/X11R6/Adobe/Acrobat7.0/ENU/Reader/intellinux/lib/libBIB.so.1.1
/usr/local/Acrobat5/Reader/intellinux/lib/libBIB.so
/usr/local/Acrobat5/Reader/intellinux/lib/libBIB.so.1.1

so I'm a little confused as to what the error is telling me and what I
can do to fix it.  Any suggestions will be welcomed!

Cheers

Andrew

--
Andrew Robinson
Department of Mathematics and StatisticsTel: +61-3-8344-9763
University of Melbourne, VIC 3010 Australia Fax: +61-3-8344-4599
Email: [EMAIL PROTECTED] http://www.ms.unimelb.edu.au
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
[EMAIL PROTECTED]"





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


Problems installing/running acroread 7: libBIB.so

2006-05-05 Thread Andrew Robinson
Hi everyone,

I'm having trouble with the acroread 7 port.  I seem to have installed
it just fine, but it fails to run, citing the following error:

/usr/X11R6/Adobe/Acrobat7.0/ENU/Reader/intellinux/bin/acroread: error
while loading shared libraries: libBIB.so: cannot open shared object
file: No such file or directory

Now, I know that I have this library:

$ locate libBIB.so
/usr/X11R6/Adobe/Acrobat7.0/ENU/Reader/intellinux/lib/libBIB.so
/usr/X11R6/Adobe/Acrobat7.0/ENU/Reader/intellinux/lib/libBIB.so.1.1
/usr/local/Acrobat5/Reader/intellinux/lib/libBIB.so
/usr/local/Acrobat5/Reader/intellinux/lib/libBIB.so.1.1

so I'm a little confused as to what the error is telling me and what I
can do to fix it.  Any suggestions will be welcomed!

Cheers

Andrew

-- 
Andrew Robinson  
Department of Mathematics and StatisticsTel: +61-3-8344-9763
University of Melbourne, VIC 3010 Australia Fax: +61-3-8344-4599
Email: [EMAIL PROTECTED] http://www.ms.unimelb.edu.au
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Enquiry the FreeBSD scourse

2006-05-05 Thread Atom Powers

On 5/6/06, Daniel <[EMAIL PROTECTED]> wrote:

Dear Sir,

I haven't any experience on FreeBSD.  Could you please kindly advice any
refer book to me? which will help me easily to handle the command and
control.
thanks a lot.



Dead-Tree form (a little dated):
The Complete FreeBSD, Fourth Edition by Greg Lehey (Paperback - April 29, 2003)

Current Documentation, and the authorative source:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: rm: Operation not permitted

2006-05-05 Thread John Pettitt
Kris Kennaway wrote:
> On Fri, May 05, 2006 at 07:54:07PM -0700, John Pettitt wrote:
>   
>> I'm having trouble erasing some files - this on a 6.1RC system (built
>> from -STABLE) - I created a system image using his script:
>>
>> #!/bin/sh
>> make buildworld KERNCONF=CLOCK
>> make buildkernel KERNCONF=CLOCK
>> mkdir -p /raid/diskless/clock
>> make installworld DESTDIR=/raid/diskless/clock
>> cd /usr/src/etc; make distribution DESTDIR=/raid/diskless/clock
>> cd /usr/src
>> make installkernel KERNCONF=CLOCK DESTDIR=/raid/diskless/clock
>>
>> and now when I try to delete it  this happens ...
>>
>> # rm -rf clock
>> rm: clock/bin/rcp: Operation not permitted
>> rm: clock/bin: Directory not empty
>> rm: clock/lib/libcrypt.so.3: Operation not permitted
>> rm: clock/lib/libc.so.6: Operation not permitted
>> rm: clock/lib: Directory not empty
>> rm: clock/libexec/ld-elf.so.1: Operation not permitted
>> rm: clock/libexec: Directory not empty
>> rm: clock/sbin/init: Operation not permitted
>> rm: clock/sbin: Directory not empty
>>
>> and so on.
>>
>> The system is running at securelevel -1 and the rm fails even in single
>> user mode - what am I missing?
>> 
>
> chflags -R noschg
>
> Kris
>   
Thanks that did it.  Not enough caffeine today.

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


Re: rm: Operation not permitted

2006-05-05 Thread Kris Kennaway
On Fri, May 05, 2006 at 07:54:07PM -0700, John Pettitt wrote:
> 
> I'm having trouble erasing some files - this on a 6.1RC system (built
> from -STABLE) - I created a system image using his script:
> 
> #!/bin/sh
> make buildworld KERNCONF=CLOCK
> make buildkernel KERNCONF=CLOCK
> mkdir -p /raid/diskless/clock
> make installworld DESTDIR=/raid/diskless/clock
> cd /usr/src/etc; make distribution DESTDIR=/raid/diskless/clock
> cd /usr/src
> make installkernel KERNCONF=CLOCK DESTDIR=/raid/diskless/clock
> 
> and now when I try to delete it  this happens ...
> 
> # rm -rf clock
> rm: clock/bin/rcp: Operation not permitted
> rm: clock/bin: Directory not empty
> rm: clock/lib/libcrypt.so.3: Operation not permitted
> rm: clock/lib/libc.so.6: Operation not permitted
> rm: clock/lib: Directory not empty
> rm: clock/libexec/ld-elf.so.1: Operation not permitted
> rm: clock/libexec: Directory not empty
> rm: clock/sbin/init: Operation not permitted
> rm: clock/sbin: Directory not empty
> 
> and so on.
> 
> The system is running at securelevel -1 and the rm fails even in single
> user mode - what am I missing?

chflags -R noschg

Kris


pgp9Nc8nd5xpU.pgp
Description: PGP signature


rm: Operation not permitted

2006-05-05 Thread John Pettitt

I'm having trouble erasing some files - this on a 6.1RC system (built
from -STABLE) - I created a system image using his script:

#!/bin/sh
make buildworld KERNCONF=CLOCK
make buildkernel KERNCONF=CLOCK
mkdir -p /raid/diskless/clock
make installworld DESTDIR=/raid/diskless/clock
cd /usr/src/etc; make distribution DESTDIR=/raid/diskless/clock
cd /usr/src
make installkernel KERNCONF=CLOCK DESTDIR=/raid/diskless/clock

and now when I try to delete it  this happens ...

# rm -rf clock
rm: clock/bin/rcp: Operation not permitted
rm: clock/bin: Directory not empty
rm: clock/lib/libcrypt.so.3: Operation not permitted
rm: clock/lib/libc.so.6: Operation not permitted
rm: clock/lib: Directory not empty
rm: clock/libexec/ld-elf.so.1: Operation not permitted
rm: clock/libexec: Directory not empty
rm: clock/sbin/init: Operation not permitted
rm: clock/sbin: Directory not empty

and so on.

The system is running at securelevel -1 and the rm fails even in single
user mode - what am I missing?

John

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


Enquiry the FreeBSD scourse

2006-05-05 Thread Daniel
Dear Sir,
 
I haven't any experience on FreeBSD.  Could you please kindly advice any
refer book to me? which will help me easily to handle the command and
control.
thanks a lot.
 
Best regards
Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cvs

2006-05-05 Thread Doug Hardie


On May 5, 2006, at 11:04, Giorgos Keramidas wrote:


On 2006-05-05 10:45, Doug Hardie <[EMAIL PROTECTED]> wrote:

I have been building a cvs structure for a bunch of code and have
a couple questions I have not been able to find answers to in the
archives/documentation.  When you run ident on many FreeBSD modules
you see the identifier "FreeBSD" used frequently.  It appears that
cvs is properly updating the information in those entries, but I
don't see how cvs is configured to make that happen.  FreeBSD is not
one of the cvs recognized keywords.  I would like to use a unique
keyword for my stuff. ident finds it fine in the files, but cvs does
not update the version information.  I suspect that somehow I need
to tell cvs about the keyword.


See this article for details of the FreeBSD CVS setup:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/cvs-freebsd/

Part of this explains how our `cfg_local.pm' works and you can use a
similar trick for any custom $FreeBSD$-like keyword you want.


Thanks.  I did figure it out.  For anyone else who wants the simple way:

To have XXX and Id work as a keywords edit the config file in CVSROOT  
in the repository.  Add the following two lines:


tag=XXX=CVSHeader
tagexpand=iXXX,Id

Only the XXX and Id keywords will then expand.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: R 2.3.0 fails to compile: undefined reference to `R_running_as_main_program'

2006-05-05 Thread Eric van Gyzen

Christopher Illies wrote:

On Tue, May 02, 2006 at 09:24:13AM +0100, Vittorio wrote:
> Last night , after portsnap(-ping) and trying to recompile the 
> statistical software R from 2.2.1 to 2.3.0 I get the following:

[...]
> cc -export-dynamic -L/usr/local/lib -o R.bin Rmain.o -L../..
> /lib -lR
> Rmain.o(.text+0x14): In function `main':
> : undefined reference 
> to `R_running_as_main_program'

> *** Error code 1
 
No solution here, instead I am having the same problem, running 6.1-RC.


If you found a solution, could you please post it here?


You can work around this problem by removing R 2.2.1 before building R 2.3.0.

I'll fix the port as soon as I have time.

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


Re: portmanager install from packages (please)

2006-05-05 Thread Gerard Seibert
Joel Hatton wrote:

> Hi,
> 
> I've lately been using portmanager on my build host, instead of
> portupgrade, to rebuild ports and produce packages and I'm impressed. But
> now I want more...
> 
> It seems to me that one of the greatest benefits of portmanager is that
> it is a compiled executable, and thus doesn't rely on Ruby.  In our
> environment, where ports are built on one machine and then installed from
> packages on others, it would make a lot of sense if I didn't have to
> install Ruby just so that I can run portupgrade.  All I really want to do
> is put the new packages on the machine and upgrade from those, using a
> single binary that doesn't require extra support. But, brilliant though
> it is, I can't do this with portmanager.
> 
> Now, it occurs to me that I could just do something as simple as run
> pkg_delete/pkg_add against the most recently available packages, but I'm
> sure I'd risk breaking something on a critical host. Extending portmanager
> to perform this function seems logical.
> 
> 
> cheers,
> -- Joel Hatton --
> Infrastructure Manager  | Hotline: +61 7 3365 4417
> AusCERT - Australia's national CERT | Fax: +61 7 3365 7031
> The University of Queensland| WWW: www.auscert.org.au
> Qld 4072 Australia  | Email:   [EMAIL PROTECTED]

Have you tried contacting "Michael C. Shultz" <[EMAIL PROTECTED]> in
regards to this matter?


-- 
Gerard Seibert
[EMAIL PROTECTED]


Never put off till tomorrow what you can avoid altogether.

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


Re: Problem with cordless mouse/Keyboard combo set

2006-05-05 Thread Lennon Cook

Stephanie Bridges <[EMAIL PROTECTED]> wrote:

I had the same problem with the mouse (would occasionally move the cursor,
never any clicks) until I accidentally got the receiver closer to the
mouse.  I now have the receiver about three inches away from the mouse.
Works wonderfully well now.

Thanks Stephanie, but unfortunately that didn't help here. I have
moved my receiver so close to the mouse that its hard to not bump
them, but the mouse still doesn't work.

What I have noticed since I sent my original message, is that
/dev/sysmouse exists even when only the non-working mouse is connected
nto the system. Does this mean that FreeBSD /is/ detecting the mouse
(and hence that I should be looking somewhere else than this list for
the problem), or does that file simply always exist?


--
Lennon Victor Cook
"He who receives an idea from me receives without lessening, as he who
lights his candle at mine receives light without darkening" - Thomas
Jefferson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HTTP

2006-05-05 Thread Derek Ragona
Check the order in your apache httpd.conf for default document types.  With 
no page name given the pages are served in the order listed in the 
configuration.


-Derek


At 03:32 PM 5/5/2006, jason zeng wrote:

Hi,
  I need some basic helps! :)

  our sytem run at FreeBSD 5.3, and my team leader let me change logo in 
a PHP file because our company will change name. I do but not really 
finished. I changed the index.php file, so every time if I entered 
http://.../index.php the logo has changed,


  but if I only input
  http://...  the logo no change at all. so I found the 
both is different. where should I go? which file in the 2nd case run?


  Pls help me.Thx in advanced!

  Jason


-
Share your photos with the people who matter at Yahoo! Canada Photos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: HTTP

2006-05-05 Thread Andy Reitz
On Fri, 5 May 2006, jason zeng wrote:

> Hi,
>   I need some basic helps! :)
>
>our sytem run at FreeBSD 5.3, and my team leader let me change logo
>   in a PHP file because our company will change name. I do but not
>   really finished. I changed the index.php file, so every time if I
>   entered http://.../index.php the logo has changed,
>
>   but if I only input
>   http://... the logo no change at all. so I found the
> both is different. where should I go? which file in the 2nd case run?

Hi Jason,

Have you tried refreshing your browser cache? Some browsers need a special
key combination to force a refresh of "everything".

HTH,
-Andy.

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


Re: HTTP

2006-05-05 Thread Atom Powers

On 5/5/06, jason zeng <[EMAIL PROTECTED]> wrote:

  our sytem run at FreeBSD 5.3, and my team leader let me change logo in a PHP 
file because our company will change name. I do but not really finished. I 
changed the index.php file, so every time if I entered 
http://.../index.php the logo has changed,

  but if I only input
  http://...  the logo no change at all. so I found the both is 
different. where should I go? which file in the 2nd case run?



Depends on your web server config.
Apache, for instance, usually defaults to "index.html" if you don't
specify which file you want.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


HTTP

2006-05-05 Thread jason zeng
Hi,
  I need some basic helps! :)
   
  our sytem run at FreeBSD 5.3, and my team leader let me change logo in a PHP 
file because our company will change name. I do but not really finished. I 
changed the index.php file, so every time if I entered 
http://.../index.php the logo has changed, 
   
  but if I only input
  http://...  the logo no change at all. so I found the both is 
different. where should I go? which file in the 2nd case run?
   
  Pls help me.Thx in advanced!
   
  Jason


-
Share your photos with the people who matter at Yahoo! Canada Photos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DCSSI Authorisation for Free BSD Software

2006-05-05 Thread Bill Moran
ExportControls <[EMAIL PROTECTED]> wrote:
> Hi Bill,
> 
> Thank you for your prompt reply.
> 
> Our client Reuters Ltd. operates a system whereby they collate a number of 
> products, approved for use by certain Reuters offices, onto a disk 
> (FreeBSD is part of these programmes). The assembly of the disk is done in 
> the UK, and upon completion the disk is sent to the US where it is loaded 
> onto a central server which the approved Reuters offices can access and 
> download the programme(s). 
> 
> Consequently, this means that Reuters purchase the product in the UK, 
> export it to the US, and potentially import it again to France if a French 
> office is approved to install the product.
> 
> Additionally, because FreeBSD contains what is considered "strong 
> cryptography", French authorities (the "DCSSI") requires that an 
> authorisation is obtained for the item if it is to be imported to, 
> supplied in, used in, or exported from France. 
> 
> It is Reuters policy to be complaint with all relevant regulations in the 
> countries they operate, and as Reuters will potentially be doing all of 
> the activities mentioned above it is essential that they obtain the 
> relevant authorisation from the DCSSI prior to importing to, supplying in, 
> using in, or exporting FreeBSD from France. Consequently, Reuters cannot 
> export FreeBSD from its server in the US to its French offices until said 
> authorisation has been obtained.
> 
> Therefore, we would appreciate if you could investigate whether such an 
> authorisation has been obtained for FreeBSD v4.1, alternatively refer us 
> to a legal contact that may be able to answer our query.
> 
> Hopefully this motivates our query, but please do not hesitate to contact 
> me if you require additional information.
> 
> I look forward to your reply, in the meantime, thank you very much for 
> your assistance.

First off, please don't top-post.

Secondly, you initially contacted the mailing list [EMAIL PROTECTED],
which consists of volunteers who assist people with the use of FreeBSD
in their spare time.  It's poor form to contact a volunteer outside of
the list unless the volunteer has requested it.  I've returned this
discussion to the list to remedy that.

Thirdly, it sounds as if you want some sort of legal certification.  You're
not liable to find anyone who's willing to volunteer that sort of information.
I suggest you contact the FreeBSD Foundation
(http://www.freebsdfoundation.org/) which has some formal presence, and may
be able to help.  Otherwise, you may want to look here
http://www.freebsd.org/commercial/ for a vendor who is willing to provide
consulting services.

> Bethan Phillips <[EMAIL PROTECTED]> wrote:
> 
> > Good Afternoon,
> > 
> > We are working with our client Reuters to help them comply with EU and 
> US 
> > export control regulation. In this regard, Reuters have some Free BSD 
> v4.1 
> > software, which they are sending to France. A declaration or 
> authorisation 
> > may be needed for this software for import into, use in, supply in, or 
> > export from France. Can you please advice us if FreeBSD have obtained a 
> > French encryption authorisation for the above mentioned software from 
> the 
> > DCSSI?
> > 
> > If this is the case we would be grateful if you could provide us with a 
> > copy of this authorisation, as Reuters will need this to export this 
> > product to/from France, and the DCSSI does not supply this information 
> to 
> > third parties.
> 
> I am not a lawyer.  This is not legal advise.
> 
> However:
> http://www.fr.freebsd.org/
> 
> The site is actually _hosted_in_ France.  Thus you are wasting your time.
> There is no need to export the software at all, it's already in France.
> 
> -- 
> Bill Moran
> Potential Technologies
> http://www.potentialtech.com
> 
> 
> 
> This e-mail and any attachment are confidential and contain proprietary 
> information, some or all of which may be legally privileged.  It is intended 
> solely for the use of the individual or entity to which it is addressed.  If 
> you are not the intended recipient, please notify the author immediately by 
> telephone or by replying to this e-mail, and then delete all copies of the 
> e-mail on your system.  If you are not the intended recipient, you must not 
> use, disclose, distribute, copy, print or rely on this e-mail.
> 
> Whilst we have taken reasonable precautions to ensure that this e-mail and 
> any attachment has been checked for viruses, we cannot guarantee that they 
> are virus free and we cannot accept liability for any damage sustained as a 
> result of software viruses.  We would advise that you carry out your own 
> virus checks, especially before opening an attachment.
> 
> The UK firm Ernst & Young LLP is a limited liability partnership registered 
> in England and Wales with registered number OC31 and is a member practice 
> of Ernst & Young Global.  A list of members' names is available for 
> inspection at 1 More London P

Re: BSD equiv of /proc?

2006-05-05 Thread Ceri Davies
On 5/5/06 15:44, "Jeff Rollin" <[EMAIL PROTECTED]> wrote:

> Jeff.
> 
> On 05/05/06, Bill Moran <[EMAIL PROTECTED]> wrote:
>> 
>> On Fri, 5 May 2006 10:07:03 -0400
>> "Jim Stapleton" <[EMAIL PROTECTED]> wrote:
>> 
>>> I have a proc filesystem on my computer, but it's  empty. I'm used to
>>> linux, where you can do stuff like 'cat /proc/cpuinfo' to get
>>> information about the system. What is the BSD equivalent of this, or
>>> is it /proc, and I'm just missing something?
>> 
>> If you absolutely can't live without /proc, install the linuxulator
>> and mount linproc.  It will give you a linux compatible /proc.

> Will that only work for Linux programs?

It is available to them all (if they know to look in /compat/linux/proc,
which is the canonical place for the linprocfs mount - Linux programs get
redirected there automagically).

I don't know if stuff would break if you mounted a linprocfs at /proc.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
  -- Moliere



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


Re: i/o error OOo-2.0.2 NFS

2006-05-05 Thread Bill Moran
dick hoogendijk <[EMAIL PROTECTED]> wrote:

> On Fri, 5 May 2006 12:51:47 +0200
> Fabian Keil <[EMAIL PROTECTED]> wrote:
> 
> > dick hoogendijk <[EMAIL PROTECTED]> wrote:
> > 
> > > Yesterday I installed OpenOffice-2.0.2 from (the most recent)
> > > ports. It runs very well, but I have an error that I don't
> > > understand.
> > > 
> > > Opening a file on my local machine is OK, but when I try to open
> > > one on a NFS mounted directory I get an I/O general error and the
> > > file is not opened. I run OOo-1.1.5 on the same machine without any
> > > problems. Any ideas where (what) to look (for)?
> > 
> > man rpc.lockd (Just a guess, I don't use OpenOffice).
> 
> I don't think so. OOo-1.1.5 opens the (NFS served) file OK. The same
> file gets denied by OOo-2.0.2. The only $var is another OOo version ;-)

Think so.  This is the exact same problem I had when I upgrade from
OOo1 to OOo2.  Search the archives and you'll see that Fabian is
correct and that it solved the problem for me.

Apparently, OOo2 is more careful about locking semantics.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: removing geom config left over from previous install

2006-05-05 Thread Gayn Winters
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Robert Fitzpatrick
> Sent: Friday, May 05, 2006 10:35 AM
> To: FreeBSD
> Subject: removing geom config left over from previous install
> 
> 
> Trying to mirror the system using geom on a box with 2 pairs of
> identical SCSI drives (2 IBM 9GB drives and 2 Seagate 35GB 
> drives). The
> Seagate drives were mirrored with geom under a previous install and I
> was trying to mirror the system, when all was not working and 
> I decided
> to start all over again. I have tried a few times now with a fresh
> install of FreeBSD 6.0 and on the last round, removed and 
> wrote changes
> to the disk in the splice setup for all four disks and then restarted
> the machine and installation to make sure I had all disks 
> with one slice
> of unused space to start. I did, so I proceeded to create all my
> partitions on the one IBM da0 drive to mirrored with da1 
> after install.
> The issue is that after loading the mirror, I get what seems to be my
> previous devices, how can I get a fresh start? Because this eventually
> leads to 'bsdlabel: Geom not found'...right after first boot, I am
> following the doc at http://people.freebsd.org/~rse/mirror/
> 
> files# dd if=/dev/zero of=/dev/da1 bs=512 count=79
> 79+0 records in
> 79+0 records out
> 40448 bytes transferred in 0.015124 secs (2674452 bytes/sec)
> files# fdisk -v -B -I /dev/da1
> *** Working on device /dev/da1 ***
> fdisk: invalid fdisk partition table found
> parameters extracted from in-core disklabel are:
> cylinders=1115 heads=255 sectors/track=63 (16065 blks/cyl)
> 
> Figures below won't work with BIOS for partitions not in cyl 1
> parameters to be used for BIOS calculations are:
> cylinders=1115 heads=255 sectors/track=63 (16065 blks/cyl)
> 
> Information from DOS bootblock is:
> 1: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> start 63, size 17912412 (8746 Meg), flag 80 (active)
> beg: cyl 0/ head 1/ sector 1;
> end: cyl 90/ head 254/ sector 63
> 2: 
> 3: 
> 4: 
> fdisk: Geom not found
> files# gmirror label -v -n -b round-robin gm0s1 /dev/da1s1
> Metadata value stored on /dev/da1s1.

The geom metadata is stored in the last block of the slice.  Zero it as
well and you can have a clean start.

-gayn

Bristol Systems Inc.
714/532-6776
www.bristolsystems.com 


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


Re: cvs

2006-05-05 Thread Giorgos Keramidas
On 2006-05-05 10:45, Doug Hardie <[EMAIL PROTECTED]> wrote:
> I have been building a cvs structure for a bunch of code and have
> a couple questions I have not been able to find answers to in the
> archives/documentation.  When you run ident on many FreeBSD modules
> you see the identifier "FreeBSD" used frequently.  It appears that
> cvs is properly updating the information in those entries, but I
> don't see how cvs is configured to make that happen.  FreeBSD is not
> one of the cvs recognized keywords.  I would like to use a unique
> keyword for my stuff. ident finds it fine in the files, but cvs does
> not update the version information.  I suspect that somehow I need
> to tell cvs about the keyword.

See this article for details of the FreeBSD CVS setup:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/cvs-freebsd/

Part of this explains how our `cfg_local.pm' works and you can use a
similar trick for any custom $FreeBSD$-like keyword you want.

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


Re: i/o error OOo-2.0.2 NFS

2006-05-05 Thread dick hoogendijk
On Fri, 5 May 2006 12:51:47 +0200
Fabian Keil <[EMAIL PROTECTED]> wrote:

> dick hoogendijk <[EMAIL PROTECTED]> wrote:
> 
> > Yesterday I installed OpenOffice-2.0.2 from (the most recent)
> > ports. It runs very well, but I have an error that I don't
> > understand.
> > 
> > Opening a file on my local machine is OK, but when I try to open
> > one on a NFS mounted directory I get an I/O general error and the
> > file is not opened. I run OOo-1.1.5 on the same machine without any
> > problems. Any ideas where (what) to look (for)?
> 
> man rpc.lockd (Just a guess, I don't use OpenOffice).

I don't think so. OOo-1.1.5 opens the (NFS served) file OK. The same
file gets denied by OOo-2.0.2. The only $var is another OOo version ;-)

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 ++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvs

2006-05-05 Thread Doug Hardie
I have been building a cvs structure for a bunch of code and have a  
couple questions I have not been able to find answers to in the  
archives/documentation.  When you run ident on many FreeBSD modules  
you see the identifier "FreeBSD" used frequently.  It appears that  
cvs is properly updating the information in those entries, but I  
don't see how cvs is configured to make that happen.  FreeBSD is not  
one of the cvs recognized keywords.  I would like to use a unique  
keyword for my stuff.  ident finds it fine in the files, but cvs does  
not update the version information.  I suspect that somehow I need to  
tell cvs about the keyword.


Also, in the process of going through all the source to put into cvs  
I found a number of modules that are no longer in use.  cvs remove  
deletes them from the cvs archive.  However, occasionally I need  
something that is no longer in use and would like to be able to save  
deleted modules somwhere in cvs.  I don't want them to be returned in  
a normal checkout but would like them to be available somehow.



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


re: Substitute command on vi

2006-05-05 Thread Denis R.
Try
#dos2unix file_name

>>
Hi list,

I need to substitute a lot of characters ^M (ctrl+M)
at the end of each line in my file.

The command :%s/^M//g insn't have success.

How can i do it ?

Thanks,

Aguiar

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


removing geom config left over from previous install

2006-05-05 Thread Robert Fitzpatrick
Trying to mirror the system using geom on a box with 2 pairs of
identical SCSI drives (2 IBM 9GB drives and 2 Seagate 35GB drives). The
Seagate drives were mirrored with geom under a previous install and I
was trying to mirror the system, when all was not working and I decided
to start all over again. I have tried a few times now with a fresh
install of FreeBSD 6.0 and on the last round, removed and wrote changes
to the disk in the splice setup for all four disks and then restarted
the machine and installation to make sure I had all disks with one slice
of unused space to start. I did, so I proceeded to create all my
partitions on the one IBM da0 drive to mirrored with da1 after install.
The issue is that after loading the mirror, I get what seems to be my
previous devices, how can I get a fresh start? Because this eventually
leads to 'bsdlabel: Geom not found'...right after first boot, I am
following the doc at http://people.freebsd.org/~rse/mirror/

files# dd if=/dev/zero of=/dev/da1 bs=512 count=79
79+0 records in
79+0 records out
40448 bytes transferred in 0.015124 secs (2674452 bytes/sec)
files# fdisk -v -B -I /dev/da1
*** Working on device /dev/da1 ***
fdisk: invalid fdisk partition table found
parameters extracted from in-core disklabel are:
cylinders=1115 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1115 heads=255 sectors/track=63 (16065 blks/cyl)

Information from DOS bootblock is:
1: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 17912412 (8746 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 90/ head 254/ sector 63
2: 
3: 
4: 
fdisk: Geom not found
files# gmirror label -v -n -b round-robin gm0s1 /dev/da1s1
Metadata value stored on /dev/da1s1.
Done.
files# ls /dev/mirror
ls: /dev/mirror: No such file or directory
files# gmirror load
files# ls /dev/mirror
datadatas1c gm0 gm0s1
datas1  datas1ccgm0s1
files# ls -la /dev/mirror
total 1
dr-xr-xr-x  2 root  wheel  512 May  5 13:15 .
dr-xr-xr-x  5 root  wheel  512 Dec 31  1969 ..
crw-r-  1 root  operator0, 114 May  5 13:07 data
crw-r-  1 root  operator0, 124 May  5 13:07 datas1
crw-r-  1 root  operator0, 126 May  5 13:07 datas1c
crw-r-  1 root  operator0, 128 May  5 13:07 datas1cc
crw-r-  1 root  operator0, 123 May  5 13:07 gm0
crw-r-  1 root  operator0, 125 May  5 13:07 gm0s1
crw-r-  1 root  operator0, 125 May  5 13:07 gm0s1
files# bsdlabel -w -B /dev/mirror/gm0s1
bsdlabel: Geom not found

-- 
Robert

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


Re: panic: page fault - 6.0-RELEASE-p7

2006-05-05 Thread Kris Kennaway
On Fri, May 05, 2006 at 09:14:04AM -0600, Nick Wood wrote:
> Hello,
> 
> We have a group of web and mail servers that run under a moderate 
> load.  We recently upgraded them from 4/5.x to 6.0.  While we thought 
> we had done enough testing, apparently we hadn't and are now 
> experiencing panic's on a number of the servers.  Some of our more 
> heavily loaded servers have been fine for days, while others will 
> crash every 6 to 36 hours.  Below are some pieces of information that 
> may be helpful.

Try 6.1 first in case the bug is already fixed.

Kris


pgpPzXZAJeLJa.pgp
Description: PGP signature


Re: pkg_add gnuplot

2006-05-05 Thread Kris Kennaway
On Fri, May 05, 2006 at 05:00:46AM +, Jonathan Herriott wrote:
> Hey,
> 
> I'm trying to add the package gnuplot, and when I do, it goes and tries to
> add another necessary package pdflib.  The issue is that it cannot find
> pdflib.  I get the following:
> 
> pkg_add -r gnuplot
> Fetching
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/gnuplot.tbz...
> Done.
> Error: FTP Unable to get
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/All/pdflib-6.0.1_2.tbz:
> File unavailable (e.g., file not found, no access)
> pkg_add: can't open dependency file '/var/db/pkg/pdflib-6.0.1_2/+REQUIRED_BY
> '!
> dependency registration is incomplete
> 
> For some reason the file does not exist on the server.  Is there another
> method that I can get pdflib that pkg_add will recognize for when I pkg_add
> -r gnuplot again?

pdflib packages may not be distributed according the license on the
software.  Sorry, you need to compile it yourself from the port.

Kris


pgpQd0m8wdRWI.pgp
Description: PGP signature


"The Complete FreeBSD": errata and addenda

2006-05-05 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

"The Complete FreeBSD" has been through a total of five editions, including its
predecessor "Installing and Running FreeBSD".  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


How to get best results from FreeBSD-questions

2006-05-05 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the "newcomers"), and also those who answer the
questions (the "hackers").

   Note that the term "hacker" has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is "cracker", but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for "[EMAIL PROTECTED]").  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send "how to" questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  Fr

Re: BSD equiv of /proc?

2006-05-05 Thread Scott Mitchell
On Fri, May 05, 2006 at 10:07:03AM -0400, Jim Stapleton wrote:
> I have a proc filesystem on my computer, but it's  empty. I'm used to
> linux, where you can do stuff like 'cat /proc/cpuinfo' to get
> information about the system. What is the BSD equivalent of this, or
> is it /proc, and I'm just missing something?

As others have said, FreeBSD's /proc doesn't give you cpuinfo or the other
metadata that Linux provides, but it shouldn't be completely empty.  A line
like this in /etc/fstab should be enough to get it working:

proc/proc   procfs  rw  0   0

You should get a directory under /proc for every process on the system,
with a bunch of files under each one.  Try man procfs for the details.

Cheers,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


kile crashes after port upgrade

2006-05-05 Thread Javier Echaiz

Same problem here under freebsd stable (6.1-PRERELEASE) on Intel box.

Perhaps the problem is related to switching from lua50 to lua 51???

Thanks in advance,
Javier

Alexander Konovalenko <[EMAIL PROTECTED]> wrote:

Hello,

recently I have upgraded some ports on my FreeBSD 5.4 amd64 box.

kile does not work anymore, it crashes when it tries to load tex file (either
manually via File->Open or automatically loading file which was edited from
previuos session).

Reinstallation of kile did not help.

I noticed that at least two dependencies were upgraded: lua-5.0.2.1 and
fontconfig-2.3.2_3,1 to lua-5.1 and fontconfig-2.3.2_4 respectively. I don't
know if it is a problem.


The output from "kile something.tex" follows:
...
kile: ViewHTML is using group: Tool/ViewHTML/Embedded Viewer
kile:   adding ViewHTML View #3
kile: ViewPDF is using group: Tool/ViewPDF/Embedded Viewer
kile:   adding ViewPDF View #4
kile: ViewPS is using group: Tool/ViewPS/Embedded Viewer
kile:   adding ViewPS View #5
kile: ==Kile::activePartGUI()=
kile:   current state Editor
kile:   want state Editor
kile: starting the LyX server...
kile: Opened /home/je/.lyxpipe.in
kile: Opened /home/je/.lyx/lyxpipe.in
kile: Opened /home/je/.lyxpipe.out
kile: Opened /home/je/.lyx/lyxpipe.out
kile: Created notifier for /home/je/.lyxpipe.in
kile: Created notifier for /home/je/.lyx/lyxpipe.in
kile: No notifier created fro /home/je/.lyxpipe.out
kile: No notifier created fro /home/je/.lyx/lyxpipe.out
kile: === CodeCompletion::readConfig ===
kile:set regexp for references...
kile:read wordlists...
kile: new quotes: true left=`` right=''
kile: ==Kile::updateModeStatus()==
kile: ==Kile::updateKileMenu()
kile:   projectopen=false fileopen=false
kile: ==completePath(glex.tex)===
kile:   /home/datos/JaviZ/UNS/papers/China2006/glex.tex
kile: 
==Kile::openDocument(/home/datos/JaviZ/UNS/papers/China2006/glex.tex)==
kile: ==Kile::fileOpen==
kile:   file:///home/datos/JaviZ/UNS/papers/China2006/glex.tex
kile: ==bool KileInfo::isOpen(const KURL & url)=
kile: 
==load(file:///home/datos/JaviZ/UNS/papers/China2006/glex.tex)=
kile: ==bool KileInfo::isOpen(const KURL & url)=
kile:nothing found
kile: CREATING TeXInfo for
file:///home/datos/JaviZ/UNS/papers/China2006/glex.tex
kile: DOCINFO: returning 0x879ec00 glex.tex
kile: ==Kate::Document* Manager::createDocument()===
kile:   appending document 0x0
KCrash: Application 'kile' crashing...
[1]42531 killed kile glex.tex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


subversion commit fails

2006-05-05 Thread Kenneth Power

On one of my machines, a subversion repository exists on its own slice,
mounted at /repo The purpose (in case it matters), is to track changes to
any portion of the OS install, thus most of the OS is placed into the
repository. The problem comes when I try to commit the /rescue directory.
Subversion fails with the following error message:

Transmitting file data
...
/: write failed, filesystem is full
svn: Commit failed (details follow):
svn: Can't copy '/rescue/chio' to '/rescue/.svn/tmp/text-base/chio.svn-
base.tmp': No space left on device


The installed version of subversion comes from the ports tree. The df
utility reports ample space on all slices. I can create new files and
directories in /rescue. I'm not certain whether this is a problem with
FreeBSD, Subversion, or the hardware. I rebooted the machine at tried
commiting /rescue, it still fails.



System details:
uname -a:
FreeBSD miracle6.cpanel.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3
09:36:13 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
i386

df -h:
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad4s1a496M115M341M25%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad4s1g 98G603M 89G 1%/repo
/dev/ad4s1e496M 12K456M 0%/tmp
/dev/ad4s1f169G3.0G153G 2%/usr
/dev/ad4s1d1.4G4.5M1.3G 0%/var

Dmesg output:
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(TM) XP 2700+ (2166.43-MHz 686-class CPU)
 Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1

Features=0x383fbff
 AMD Features=0xc0400800
real memory  = 536850432 (511 MB)
avail memory = 515997696 (492 MB)
ioapic0: Changing APIC ID to 2
ioapic0  irqs 0-23 on motherboard
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
pci_link0:  irq 0 on acpi0
pci_link1:  irq 0 on acpi0
pci_link2:  irq 11 on acpi0
pci_link3:  irq 10 on acpi0
pci_link4:  irq 12 on acpi0
pci_link5:  irq 3 on acpi0
pci_link6:  irq 5 on acpi0
pci_link7:  irq 15 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
cpu0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem
0xf800-0xfbff at device 0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci0:  at device 12.0 (no driver attached)
atapci0:  port
0xd800-0xd807,0xd400-0xd403,0xd000-0xd007,0xb800-0xb803,0xb400-0xb40f,0xb000-0xb0ff
at device 15.0 on pci0
ata2:  on atapci0
ata3:  on atapci0
atapci1:  port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xa800-0xa80f at device 15.1 on pci0
ata0:  on atapci1
ata1:  on atapci1
uhci0:  port 0xa400-0xa41f at device 16.0 on pci0
uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xa000-0xa01f at device 16.1 on pci0
uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0x9800-0x981f at device 16.2 on pci0
uhci2: [GIANT-LOCKED]
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3:  port 0x9400-0x941f at device 16.3 on pci0
uhci3: [GIANT-LOCKED]
usb3:  on uhci3
usb3: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0:  mem 0xf580-0xf58000ff at device
16.4 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4:  on ehci0
usb4: USB revision 2.0
uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
isab0:  at device 17.0 on pci0
isa0:  on isab0
vr0:  port 0x9000-0x90ff mem
0xf500-0xf5ff at device 18.0 on pci0
miibus0:  on vr0
rlphy0:  on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:0e:a6:65:54:d1
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x8800-0x887f mem
0xf480-0xf480007f irq 18 at device 19.0 on pci0
miibus1:  on xl0
ukphy0:  on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:0a:5e:5e:11:9a
ppc0:  port 0x378-0x37f,0x778-0x77b irq 7 drq 3
on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 1

Re: Flash 7 and Firefox 1.5.0.2

2006-05-05 Thread John Nielsen
On Friday 05 May 2006 11:59, Scott I. Remick wrote:
> On Mon, 1 May 2006 10:44:42 -0400, John Nielsen wrote:
> > 1) I apply the rtld_dlsym_hack.diff patch after every time I update my
> > sources and before I build / install world.
>
> Will this still be necessary in 6.1? Or has the patch already been
> included?

The patch still applies cleanly to my RELENG_6 sources, so I assume it's still 
necessary.

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


Re: help me

2006-05-05 Thread Frank Steinborn
astalus razvan wrote:
> hy everyone.I am an FreeBSD user ,i use it every day ,but a few days ago a
> problem came up.I have tryed to install Firewalk 5.0.2 ,but told me that I
> must install libnet 1.1.2.1,1.OK i have installed libnet 1.1.2.1,1 ,but
> Firewalk stiil tolds that I do not have installed libnet.What should I do?
> 
> 
>P.S. for the installation of libnet i used
>./configure
>make
>make install

Why don't you use the ports-system? Just cd
/usr/ports/security/firewalk && make install clean and Firewalk with
all depencies will be fetched, compiled and installed automatically.
For more infos about ports stick with "man ports" and of course the
FreeBSD Handbook.

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


Re: Substitute command on vi

2006-05-05 Thread Kalashnikov Ilya
On Fri, 2006-05-05 at 10:12 -0300, Aguiar Magalhaes wrote:

> Hi list,
> 
> I need to substitute a lot of characters ^M (ctrl+M)
> at the end of each line in my file.
> 
> The command :%s/^M//g insn't have success.
> 
> How can i do it ?
> 
> Thanks,
> 
> Aguiar
> 
> 
>   
> ___ 
> Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e 
> anti-spam realmente eficaz. 
> http://br.info.mail.yahoo.com/
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

I also has it problem. I'm in Midnight Commander copy symbol '^M' and
paste to my script instead (see below) :-/
script:
   sed -e 's/$//g' filename > filename.copy
It work. :)

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

Re: interrupt storm

2006-05-05 Thread Frank Steinborn
Mark Busby wrote:
> Checking /var/log/messages after loading snd_emu10k1, I see the following.
>   muz kernel: pcm1:  port 0xd800-0xd81f irq 4 at device 9.0 
> on pci0
> muz kernel: Interrupt storm detected on "irq4: atapci0"; throttling interrupt 
> source
> muz kernel: pcm1: 
> muz kernel: emujoy0: detached
>
>   Upon.
>   muz# vmstat -i
> interrupt  total   rate
> irq0: clk 933473998
> irq4: pcm0 atapci0 1213  1
> irq7: ppc0 1  0
> irq8: rtc 119494127
> irq11: dc0 1001  1
> irq13: npx01  0
> irq14: ata0   46  0
> Total1055229   1128

[...]

>   I have added to /boot/device.hints the following lines to try to force pcm 
> to another IRQ
>   but "no joy"
>
>   hint.pcm.0.at="isa"
> hint.pcm.0.irq="5"
> hint.pcm.0.drq="1"
> hint.pcm.0.flags="0x0"
>
>   Is there a way to move the sound to another irq? or the atapci?
>   and HOW?

Try to place the soundcard on another PCI-Slot. This will help you
most probably.

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


Re: Flash 7 and Firefox 1.5.0.2

2006-05-05 Thread Scott I. Remick
On Mon, 1 May 2006 10:44:42 -0400, John Nielsen wrote:

> 1) I apply the rtld_dlsym_hack.diff patch after every time I update my 
> sources 
> and before I build / install world.  

Will this still be necessary in 6.1? Or has the patch already been
included?

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


Re: ipfirewall tricks

2006-05-05 Thread Atom Powers

Unlike pf, pflog does not have a loadable module. You have to build it
into the kernel.

On 5/5/06, Bryan Curl <[EMAIL PROTECTED]> wrote:

On second look PF has some definite improvements over IPFilter.
My rule set file is half as long for one thing. I like the macros and
tables.

I'm still reading throught he documentation, but, I have not figured out why
the log doesnt seem to be working yet. I have all the required entries in
rc.conf.
pf_enable="YES" # Enable PF (load module if required)
pf_rules="/etc/pf.conf" # rules definition file for pf
pf_flags="" # additional flags for pfctl startup

pflog_enable="YES" # start pflogd(8)
pflog_logfile="/var/log/pflog" # where pflogd should store the logfile
pflog_flags="" # additional flags for pflogd startup

Handbook at http://www.openbsd.org/faq/pf/. seems to  indicate I need a
device named pflog0 which I do not have. Also pflogd does not start on boot
even tough it is listed in rc.conf. Perhaps the start up script did not get
installed into the correct location. My installatin was from the 6.0 release
ISO. so I would naturally assume it is correct.

Thanks for the reminder of this program. I think I will like it better than
the others for my purposes and administrative skill level.


On 5/2/06, Atom Powers <[EMAIL PROTECTED]> wrote:
> On 5/2/06, Bryan Curl <[EMAIL PROTECTED]> wrote:
> > I want to limit time my kids spend on the internet.
> > The way I am doing it is to make varying, seperate ipf.rules files and
> > install them from cron at the appropriate time.
> > Problem is, if I make a change to one file, I generally have to update
all
> > the others accordingly.
> >
> > Is there a better way? I have read man ipf but didnt come out with any
> > ideas.
>
> I would use pf and have something like this:
>
> pf.conf
> 
> block out all from  to any
> 
>
> crontab
> 
> pfctl -t kids -T add kids.ip.to.block
> pfctl -t kids -T del kids.ip.to.allow
> 
>
> You can also keep the IPs in a flat file and just tell pf to re-read
> the file (or read a different file) to update the table.
>
> I love pf.
>
> --
> --
> Perfection is just a word I use occasionally with mustard.
> --Atom Powers--
>



--

--
Bryan
bc3910 'at' gmail 'dot' com



--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


panic: page fault - 6.0-RELEASE-p7

2006-05-05 Thread Nick Wood

Hello,

We have a group of web and mail servers that run under a moderate 
load.  We recently upgraded them from 4/5.x to 6.0.  While we thought 
we had done enough testing, apparently we hadn't and are now 
experiencing panic's on a number of the servers.  Some of our more 
heavily loaded servers have been fine for days, while others will 
crash every 6 to 36 hours.  Below are some pieces of information that 
may be helpful.


Should I be posting this to another list as well?

I know I can decrease NMBCLUSTERS dramatically, and give more memory 
to the kernel if that would help.


I've read a number of similar cases where this panic was related to a 
hardware failure, and while I can't rule that out completely, it does 
seem unusual that several servers are apparently having the same 
problem.  Could it be that hardware problems existed before the 
upgrade, but are now brought out by the increased load caused by the 
new OS version and other installed software?  We have IPMI cards in 
some of the crashing servers and they all report normal temperatures, 
fan speeds, and voltages.  Nothing unusual in the event logs.


I'm willing to dig deeper and do more testing if anyone has suggestions.

Differences from GENERIC:
--
#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident   PAYMAIL

options SUIDDIR
options QUOTA
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=10
options NMBCLUSTERS=65536
options KVA_PAGES="640"
options VM_KMEM_SIZE_MAX=(512*1048576)
options VM_KMEM_SIZE_SCALE=2

options ASR_COMPAT

options SHMMAXPGS=131072
options SEMMNI=128
options SEMMNS=512
options SEMUME=100
options SEMMNU=256
--

--
mail-da-2# kgdb /boot/kernel/kernel.debug vmcore.2
[GDB will not be able to debug user-mode threads: 
/usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".

Unread portion of the kernel message buffer:
ber = 12
panic: page fault
Uptime: 1d6h4m36s
Dumping 2047 MB (3 chunks)
  chunk 0: 1MB (158 pages) ... ok
  chunk 1: 2046MB (523773 pages) 2031 2015 1999 1983 1967 1951 1935 
1919 1903 1887 1871 1855 1839 1823 1807 1791 1775 1759 1743 1727 1711 
1695 1679 1663 1647 1631 1615 1599 1583 1567 1551 1535 1519 1503 1487 
1471 1455 1439 1423 1407 1391 1375 1359 1343 1327 1311 1295 1279 1263 
1247 1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 1039 
1023 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 
751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 
479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 
207 191 175 159 143 127 111 95 79 63 47 31 15 ... ok

  chunk 2: 1MB (128 pages)

#0  doadump () at pcpu.h:165
165 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:165
#1  0x606384aa in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
#2  0x60638740 in panic (fmt=0x6085598b "%s") at 
/usr/src/sys/kern/kern_shutdown.c:555
#3  0x6080ebf8 in trap_fatal (frame=0x9c497ad8, eva=172) at 
/usr/src/sys/i386/i386/trap.c:831
#4  0x6080e963 in trap_pfault (frame=0x9c497ad8, usermode=0, eva=172) 
at /usr/src/sys/i386/i386/trap.c:742

#5  0x6080e5c1 in trap (frame=
  {tf_fs = 1692663816, tf_es = 1680080936, tf_ds = 40, tf_edi = 
55, tf_esi = 0, tf_ebp = -1672905932, tf_isp = -1672905980, tf_ebx = 
-1672905584, tf_edx = 1677080448, tf_ecx = 0, tf_eax = 4, tf_trapno = 
12, tf_err = 2, tf_eip = 1617791092, tf_cs = 32, tf_eflags = 66182, 
tf_esp = 1773435648, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:432

#6  0x607fe6aa in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0x606d8874 in ip_ctloutput (so=0x4, sopt=0x9c497c90) at atomic.h:146
#8  0x606e88ef in tcp_ctloutput (so=0x64e419bc, sopt=0x9c497c90) at 
/usr/src/sys/netinet/tcp_usrreq.c:1036
#9  0x60671c00 in sosetopt (so=0x64e419bc, sopt=0x9c497c90) at 
/usr/src/sys/kern/uipc_socket.c:1553
#10 0x60676e5d in kern_setsockopt (td=0x63f63780, s=0, level=4, 
name=4, val=0x63f63780, valseg=UIO_USERSPACE, valsize=0)

at /usr/src/sys/kern/uipc_syscalls.c:1331
#11 0x60676d8e in setsockopt (td=0x63f63780, uap=0x4) at 
/usr/src/sys/kern/uipc_syscalls.c:1287

#12 0x6080ef0f in syscall (frame=
  {tf_fs = 1606352955, tf_es = 59, tf_ds = 1606352955, tf_edi = 
1606413432, tf_esi = 3, tf_ebp = 1606413224, tf_isp = -1672905372, 
tf_ebx = 

RE: FreeBSD 6.0 compat with DL320 G4

2006-05-05 Thread Ted Mittelstaedt

Yes, for some reason the first nic locks the system up when you try to 
bring it up.

Ted

>-Original Message-
>From: William [mailto:[EMAIL PROTECTED]
>Sent: Friday, May 05, 2006 2:39 AM
>To: Ted Mittelstaedt
>Cc: freebsd-questions@freebsd.org
>Subject: Re: FreeBSD 6.0 compat with DL320 G4
>
>
>Hi Ted,
>
>Great news! but as per your patch you can only use the second nic?
>
>Cheers,
>
>Will
>
>On 05/05/06, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
>> Hi William,
>>
>>   I was able to create a patch that fixed the problem, see
>> here:
>>
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=96806
>>
>> Ted
>>
>> >-Original Message-
>> >From: [EMAIL PROTECTED]
>> >[mailto:[EMAIL PROTECTED] Behalf Of William
>> >Sent: Wednesday, May 03, 2006 1:41 AM
>> >To: Ted Mittelstaedt
>> >Cc: freebsd-questions@freebsd.org
>> >Subject: Re: FreeBSD 6.0 compat with DL320 G4
>> >
>> >
>> >The chances of getting it returned because fbsd doesnt work are
>> >very small! :(
>> >
>> >On 03/05/06, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
>> >>
>> >> I have a DL320 G4 in the rack and the thing panics under 6.1-RC1
>> >> when more than a few K of data is sent over the bge interface.  I
>> >> haven't tried 6.0-RELEASE on it.  Just make sure you can return it
>> >> if it doesen't work.
>> >>
>> >> Ted
>> >>
>> >>
>> >> >-Original Message-
>> >> >From: [EMAIL PROTECTED]
>> >> >[mailto:[EMAIL PROTECTED] Behalf Of William
>> >> >Sent: Tuesday, May 02, 2006 3:10 AM
>> >> >To: freebsd-questions@freebsd.org
>> >> >Subject: Re: FreeBSD 6.0 compat with DL320 G4
>> >> >
>> >> >
>> >> >What was your experience like with 6.0-RELEASE and the 
>dl320 g4? I've
>> >> >had a quote back on that model so could be near to 
>actually getting
>> >> >some hardware for once :)
>> >> >
>> >> >On 30/04/06, [EMAIL PROTECTED]@mgEDV.net <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >> just for info: our dl320 g4 also has bge interfaces, and
>> >> >> they work very well under 6.1-RC1 (even BETA4 was ok).
>> >> >> but our server has been bought 2 months ago, maybe there's
>> >> >> a newer/different chipset in it.
>> >> >> we also have a dl320 g2 being heavily used as lan switches
>> >> >> monitor, this server also has bge interfaces and had no
>> >> >> problem since 1 year capturing and analyzing more than
>> >> >> 26GB/day (avg) of nw-data on the 2nd interface and serving
>> >> >> more than 4GB/day (avg) on the primary one (both IPv4 only).
>> >> >>
>> >> >> c ya ;-)
>> >> >>
>> >> >>
>> >> >___
>> >> >freebsd-questions@freebsd.org mailing list
>> >> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> >> >To unsubscribe, send any mail to
>> >> >"[EMAIL PROTECTED]"
>> >> >
>> >> >--
>> >> >No virus found in this incoming message.
>> >> >Checked by AVG Free Edition.
>> >> >Version: 7.1.385 / Virus Database: 268.5.1/328 - Release
>> >Date: 5/1/2006
>> >> >
>> >>
>> >___
>> >freebsd-questions@freebsd.org mailing list
>> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> >To unsubscribe, send any mail to
>> >"[EMAIL PROTECTED]"
>> >
>> >--
>> >No virus found in this incoming message.
>> >Checked by AVG Free Edition.
>> >Version: 7.1.385 / Virus Database: 268.5.1/328 - Release 
>Date: 5/1/2006
>> >
>>
>>
>
>-- 
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.392 / Virus Database: 268.5.3/331 - Release Date: 5/3/2006
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


lint not working

2006-05-05 Thread Richard Danter
Hi all,

I would like to try using lint to test some code I am working on but I
get the following error whenever I run it on any C file:

  lint: cannot find llib-lc.ln

sure enough if I look in /usr/libdata/lint/ there are only
llib-lposix.ln  llib-lstdc.ln files in there.

Googling I found that I can generate the lint libraries if I set
WANT_LINT = yes in my make.conf, but that implies I need to re-build
everything in order to generate the lint libs. Is there a way to
generate and install them without re-building everything?

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


Re: BSD equiv of /proc?

2006-05-05 Thread Eric Schuele

Jim Stapleton wrote:

I have a proc filesystem on my computer, but it's  empty. I'm used to
linux, where you can do stuff like 'cat /proc/cpuinfo' to get
information about the system. What is the BSD equivalent of this, or
is it /proc, and I'm just missing something?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"




IIRC try :
  mount -t linprocfs none /proc

and then check /proc out.

Also look at
  man mount_linprocfs

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


Re: BSD equiv of /proc?

2006-05-05 Thread Jeff Rollin

Will that only work for Linux programs?

Jeff.

On 05/05/06, Bill Moran <[EMAIL PROTECTED]> wrote:


On Fri, 5 May 2006 10:07:03 -0400
"Jim Stapleton" <[EMAIL PROTECTED]> wrote:

> I have a proc filesystem on my computer, but it's  empty. I'm used to
> linux, where you can do stuff like 'cat /proc/cpuinfo' to get
> information about the system. What is the BSD equivalent of this, or
> is it /proc, and I'm just missing something?

If you absolutely can't live without /proc, install the linuxulator
and mount linproc.  It will give you a linux compatible /proc.

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





--
--
Argument against Linux number 6,033:

"...So this is like most Linux viruses. You have to download the virus
yourself, become root, install it and then run it. Seems like a lot of work
just to experience what you can get on Windows with a lot less trouble."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BSD equiv of /proc?

2006-05-05 Thread Bill Moran
On Fri, 5 May 2006 10:07:03 -0400
"Jim Stapleton" <[EMAIL PROTECTED]> wrote:

> I have a proc filesystem on my computer, but it's  empty. I'm used to
> linux, where you can do stuff like 'cat /proc/cpuinfo' to get
> information about the system. What is the BSD equivalent of this, or
> is it /proc, and I'm just missing something?

If you absolutely can't live without /proc, install the linuxulator
and mount linproc.  It will give you a linux compatible /proc.

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


portmanager install from packages (please)

2006-05-05 Thread Joel Hatton
Hi,

I've lately been using portmanager on my build host, instead of
portupgrade, to rebuild ports and produce packages and I'm impressed. But
now I want more...

It seems to me that one of the greatest benefits of portmanager is that
it is a compiled executable, and thus doesn't rely on Ruby.  In our
environment, where ports are built on one machine and then installed from
packages on others, it would make a lot of sense if I didn't have to
install Ruby just so that I can run portupgrade.  All I really want to do
is put the new packages on the machine and upgrade from those, using a
single binary that doesn't require extra support. But, brilliant though
it is, I can't do this with portmanager.

Now, it occurs to me that I could just do something as simple as run
pkg_delete/pkg_add against the most recently available packages, but I'm
sure I'd risk breaking something on a critical host. Extending portmanager
to perform this function seems logical.


cheers,
-- Joel Hatton --
Infrastructure Manager  | Hotline: +61 7 3365 4417
AusCERT - Australia's national CERT | Fax: +61 7 3365 7031
The University of Queensland| WWW: www.auscert.org.au
Qld 4072 Australia  | Email:   [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BSD equiv of /proc?

2006-05-05 Thread Dan Nelson
In the last episode (May 05), Jim Stapleton said:
> I have a proc filesystem on my computer, but it's  empty. I'm used to
> linux, where you can do stuff like 'cat /proc/cpuinfo' to get
> information about the system. What is the BSD equivalent of this, or
> is it /proc, and I'm just missing something?

FreeBSD uses /proc for process-related stuff only.  System stats are
retrieved using the sysctl command.  Try running "sysctl -a" and see if
anything's useful.

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


Re: Software RAID guidance

2006-05-05 Thread David Robillard

Robert Fitzpatrick wrote:


I have an old NT4 PIII here that has a pair Adaptec Array1000 Family
controllers with 2 pairs of identical drives on one of them (2 IBM 9GB
and 2 Seagate 35GB). From what I googled, *nix does not support the
controller, so I have removed the RAID arrays and loaded FreeBSD 6.0
onto the two IBM drives. Now, I wanted to mirror the other two for data
and looking for guidance as to whether it is first of all suited for
software RAID and if so, CCD or vinum. I am contemplating vinum because
the handbook mentions CCD is when cost is the important factor and for
me, is reliability. What would someone suggest? If vinum, one thing I
don't quite understand is do I create the partitions to be used in the
device? There doesn't seem to be a man for gvinum and the link to it in
the handbook section 19.6.1 is broken.


Hi Robert,

I use gmirror(8) to setup RAID 1 volumes. I've used it successfully
with IDE, SCSI and SATA drives. It is very simple to setup and
administration is easy. If you only need RAID 1, then you should try
it out. Should you need RAID 5 and/or a fully fledged volume manager,
then vinum is the way.

I also wrote a document on gmirror(8) setup. If you're interested, I
can share it with you.

David

FYI: man page URLs

gmirror(8)
http://www.freebsd.org/cgi/man.cgi?query=gmirror&apropos=0&sektion=0&manpath=FreeBSD+6.0-RELEASE+and+Ports&format=html

vinum(4)
http://www.freebsd.org/cgi/man.cgi?query=vinum&apropos=0&sektion=0&manpath=FreeBSD+6.0-RELEASE+and+Ports&format=html

--
David Robillard
UNIX systems administrator, CISSP
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


BSD equiv of /proc?

2006-05-05 Thread Jim Stapleton

I have a proc filesystem on my computer, but it's  empty. I'm used to
linux, where you can do stuff like 'cat /proc/cpuinfo' to get
information about the system. What is the BSD equivalent of this, or
is it /proc, and I'm just missing something?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ACPI Eror

2006-05-05 Thread Michael Alestock
Hi there,

I just installed FreeBSD-5.4-Release on my Toshiba Satellite A105 laptop
and keep getting this rather annoying error every so often

ACPI-0370:  *** Error: No installed handler for fixed event [0004]

I Googled around and seems as though the best remedy is to just upgrade
to FreeBSD-6.0.

Is there any way around this (error) or should I just go ahead and
upgrade to 6.0 ??

Thanks for the help.


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


Re: ipfirewall tricks

2006-05-05 Thread Bryan Curl

On second look PF has some definite improvements over IPFilter.
My rule set file is half as long for one thing. I like the macros and
tables.

I'm still reading throught he documentation, but, I have not figured out why
the log doesnt seem to be working yet. I have all the required entries in
rc.conf.

pf_enable="YES" # Enable PF (load module if required)
pf_rules="/etc/pf.conf" # rules definition file for pf
pf_flags="" # additional flags for pfctl startup
pflog_enable="YES"  # start pflogd(8)
pflog_logfile="/var/log/pflog"  # where pflogd should store the logfile
pflog_flags=""  # additional flags for pflogd startup

Handbook at http://www.openbsd.org/faq/pf/. seems to  indicate I need a
device named pflog0 which I do not have. Also pflogd does not start on boot
even tough it is listed in rc.conf. Perhaps the start up script did not get
installed into the correct location. My installatin was from the 6.0 release
ISO. so I would naturally assume it is correct.

Thanks for the reminder of this program. I think I will like it better than
the others for my purposes and administrative skill level.

On 5/2/06, Atom Powers <[EMAIL PROTECTED]> wrote:


On 5/2/06, Bryan Curl <[EMAIL PROTECTED]> wrote:
> I want to limit time my kids spend on the internet.
> The way I am doing it is to make varying, seperate ipf.rules files and
> install them from cron at the appropriate time.
> Problem is, if I make a change to one file, I generally have to update
all
> the others accordingly.
>
> Is there a better way? I have read man ipf but didnt come out with any
> ideas.

I would use pf and have something like this:

pf.conf

block out all from  to any


crontab

pfctl -t kids -T add kids.ip.to.block
pfctl -t kids -T del kids.ip.to.allow


You can also keep the IPs in a flat file and just tell pf to re-read
the file (or read a different file) to update the table.

I love pf.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--





--
--
Bryan
bc3910 'at' gmail 'dot' com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Substitute command on vi

2006-05-05 Thread Giorgos Keramidas
On 2006-05-05 10:12, Aguiar Magalhaes <[EMAIL PROTECTED]> wrote:
> Hi list,
>
> I need to substitute a lot of characters ^M (ctrl+M)
> at the end of each line in my file.
>
> The command :%s/^M//g insn't have success.

The command looks fine, except for a tiny detail:

Make sure you use ^V ^M to insert a *literal* ^M character in the
match pattern, instead of two different characters '^' and 'M'.
Then it should work.

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


Re: Substitute command on vi

2006-05-05 Thread Riemer Palstra
On Fri, May 05, 2006 at 10:12:02AM -0300, Aguiar Magalhaes wrote:
> I need to substitute a lot of characters ^M (ctrl+M)
> at the end of each line in my file.

You might wanna give dos2unix a try: /usr/local/bin/dos2unix

> The command :%s/^M//g insn't have success.

Is this a shift+6 M, or a ctrl+V ctrl+M? The last one should work.

-- 
Riemer PalstraAmsterdam, The Netherlands
[EMAIL PROTECTED]http://www.palstra.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Substitute command on vi

2006-05-05 Thread guru
El día Friday, May 05, 2006 a las 10:12:02AM -0300, Aguiar Magalhaes escribió:

> Hi list,
> 
> I need to substitute a lot of characters ^M (ctrl+M)
> at the end of each line in my file.
> 
> The command :%s/^M//g insn't have success.
> 
> How can i do it ?

:1,$s-.$--

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclcpica.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6.1 install problems with creating partitions

2006-05-05 Thread Greg Barniskis

Eric Dan wrote:

update:
I actually backed up the ext3 to another hard drive and got rid of all
partitions and slices on that drive.
installer still can't do it.
the exact error says:
"unable to make new root file system on ad3sa1"
then i hit return and it says:
"couldn't make file system properly"

any ideas?



* Eric Dan ([EMAIL PROTECTED]) wrote:

trying to install 6.1 on my secondary master partition or slice 2.
I come from linux so please be forgiving with the naming or slices and
partitions.
i created a 40G slice on ad3 with fdisk, then with disklabel i created a
4g /a 512M swap and the rest for /home
i used the "S" option on the "/" partition.


You may need to drop some more assumptions that you are bringing 
from the Linux world -- you seem to be trying to manually impose 
"the Linux way" of dividing up the space, but that is really not 
what a typical FreeBSD partition/slice scheme looks like.


As long as you have essentially wiped the drive already, you can use 
the FreeBSD installer's "Auto Defaults" option to get a look at what 
the installer is expecting you to do, and then tune that as desired. 
On the FDISK screen, press A to use the whole disk, then on the 
Disklabel screen press A again for Auto Defaults.


Or, have a closer look at the handbook for more details,
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html
(esp. figure 2-22)


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Substitute command on vi

2006-05-05 Thread Aguiar Magalhaes
Hi list,

I need to substitute a lot of characters ^M (ctrl+M)
at the end of each line in my file.

The command :%s/^M//g insn't have success.

How can i do it ?

Thanks,

Aguiar



___ 
Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e 
anti-spam realmente eficaz. 
http://br.info.mail.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: help me

2006-05-05 Thread Yuan, Jue
On Friday 05 May 2006 20:09, astalus razvan wrote:
> hy everyone.I am an FreeBSD user ,i use it every day ,but a few days ago a
> problem came up.I have tryed to install Firewalk 5.0.2 ,but told me that I
> must install libnet 1.1.2.1,1.OK i have installed libnet 1.1.2.1,1 ,but
> Firewalk stiil tolds that I do not have installed libnet.What should I do?
>
>
> P.S. for the installation of libnet i used
> ./configure
> make
> make install

Hi.

Why not use port to intall libnet? HTH ;-)

-- 
Best Regards
Yuan, Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


installing on lsi sata 150-6

2006-05-05 Thread lenny
When I try to install Freebsd on LSI sata 150-6 mirror volumes with 5.4 or
6.0 media, I get the same "No root device found - you must label a
partition as / in label editor". The slice was allocated and labels
created in both cases. If I try to write the changes from the label menu,
I get "unable to find /dev/amrd0s1{a,b,c,d}.  If I allocate a separate
slice for each partition, the same thing happens, only the device names
change slightly.
The volumes themselves get detected properly at install boot and all show
up in both  slice and label menus. oh what to do, what to do ? Does
anyone have root residing on one of these controller volumes ?

Thank you all.

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


Re: help me

2006-05-05 Thread Riemer Palstra
On Fri, May 05, 2006 at 03:09:54PM +0300, astalus razvan wrote:
>P.S. for the installation of libnet i used
>./configure
>make
>make install

Why didn't you use the port: /usr/ports/net/libnet ?

-- 
Riemer PalstraAmsterdam, The Netherlands
[EMAIL PROTECTED]http://www.palstra.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IPsec with racoon2

2006-05-05 Thread John Ryan

Hi,

I'm trying to get IPsec running between 2 FreeBSD (VMware) boxes, using 
racoon2.
spmd and iked start up okay, but I get an error when I try a ping across 
the tunnel.

/var/log/messages shows:
May  5 13:52:36 biosa-vm4 iked: [INTERNAL_ERR]: if_spmd.c:726: SLID 
failed: 550 Operation failed
May  5 13:52:36 biosa-vm4 iked: [INTERNAL_ERR]: 
isakmp.c:647:isakmp_initiate_cont(): 0:172.20.36.55[0] - 
172.20.36.52[0]:0x0:can't find selector (index (null))



2006-05-05 13:53:54 [INFO]: main.c:269:main(): starting iked for racoon2 
20051102a

2006-05-05 13:53:54 [INFO]: main.c:272:main(): OPENSSLDIR: "/etc/ssl"
2006-05-05 13:53:54 [INFO]: main.c:282:main(): reading config 
/usr/local/etc/racoon2.conf
2006-05-05 13:53:54 [DEBUG]: 
ike_conf.c:3247:ike_conf_check_consistency(): checking configuration
2006-05-05 13:53:54 [DEBUG]: if_spmd.c:350: spmd I/F connection ok: 220 
F8A..76C2B9
2006-05-05 13:53:54 [DEBUG]: cfsetup.c:3306: 
spmd_read_password_file([/usr/local/etc/racoon2/spmd.pwd], 
[cfsetup.c:3376], 1)

2006-05-05 13:53:54 [DEBUG]: cfsetup.c:3351: read 16 bytes
2006-05-05 13:53:54 [DEBUG]: if_spmd.c:413: spmd LOGIN ok: 250 OK
2006-05-05 13:53:54 [INFO]: isakmp.c:339:isakmp_open(): socket 5 bind 
172.20.36.55[500]


Heres my network: (Running under vmware on Linux) The host has 2 network 
cards and they're functional from vmware.


ifconfig_lnc0="inet 172.20.36.55 netmask 0xf800"
ifconfig_lnc1="inet 192.168.4.1 netmask 0xff00"

# ___ ___
#/ Ext IP A.B.C.D\tunnel / Ext IP W.X.Y.Z\
# ---| Int IP 192.168.1.1/24 |===| Int IP 192.168.4.1/24 |---
#\___/   \___/
# For host "A.B.C.D"
# gif_interfaces="gif0"
# gifconfig_gif0="A.B.C.D W.X.Y.Z"
# ifconfig_gif0="inet 192.168.1.1 192.168.4.1 netmask 0x"
# static_routes="vpn"
# route_vpn="-net 192.168.4.0/24 192.168.4.1"

gif_interfaces="gif0"
gifconfig_gif0="172.20.36.55 172.20.36.52"
ifconfig_gif0="inet 192.168.4.1 192.168.1.1 netmask 0x"
static_routes="vpn"
route_vpn="-net 192.168.1.0/24 192.168.1.1"

Without IPsec running, I can ping the remote interfaces 192.168.[14].1 
both ways


My racoon2.conf looks like:

setval {
   PSKDIR  "/usr/local/etc/racoon2/psk";
   CERTDIR "/usr/local/etc/racoon2/cert";
};

# interface info
interface
{
   ike {
   MY_IPV4%lnc0;
   };
   spmd {
   unix "/var/run/racoon/spmif";
   };
   spmd_password "/usr/local/etc/racoon2/spmd.pwd";
};

# resolver info
resolver
{
   resolver off;
};

#
# default section
#
default
{
   remote {
   ikev2 {
   logmode normal;
   kmp_sa_lifetime_time infinite;
   kmp_sa_lifetime_byte infinite;
   max_retry_to_send 3;
   interval_to_send 10 sec;
   times_per_send 1;
   kmp_sa_nego_time_limit 60 sec;
   ipsec_sa_nego_time_limit 40 sec;
   kmp_enc_alg { aes256_cbc; 3des_cbc; };
   kmp_hash_alg { hmac_sha1; hmac_md5; aes_xcbc; };
   kmp_auth_method { dss; };
   kmp_dh_group { 1; 2; 5; 14; 15; };
   random_pad_content on;
   random_padlen on;
   max_padlen 50 bytes;
   };
   };

   policy {
   ipsec_mode tunnel;
   ipsec_level unique; # Not Yet Implemented, always 'unique'
   };

   ipsec {
   ipsec_sa_lifetime_time infinite;
   ipsec_sa_lifetime_byte infinite;
   };

   sa {
   esp_enc_alg { aes128_cbc; 3des_cbc; };
   esp_auth_alg { hmac_sha1; hmac_md5; };
   };
};
ipsec ipsec_ah_esp {
   ipsec_sa_lifetime_time 28800 sec;
   sa_index { ah_01; esp_01; };
};
ipsec ipsec_esp {
   ipsec_sa_lifetime_time 28800 sec;
   sa_index esp_01;
};
sa ah_01 {
   sa_protocol ah;
   ah_auth_alg { hmac_sha1; hmac_md5; };
};
sa esp_01 {
   sa_protocol esp;
   esp_enc_alg { aes128_cbc; 3des_cbc; };
   esp_auth_alg { hmac_sha1; hmac_md5; };
};

# biosa-vm1.ch.genedata.com
remote biosa-vm1.nowhere.com {
   acceptable_kmp { ikev2; };
   ikev2 {
   my_id fqdn "biosa-vm4.nowhere.com";
   peers_id fqdn "biosa-vm1.nowhere.com";
   peers_ipaddr 172.20.36.52 port 500;
   kmp_enc_alg { aes256_cbc; aes192_cbc; 3des_cbc; };
   kmp_prf_alg { hmac_md5; hmac_sha1; aes128_cbc; };
   kmp_hash_alg { hmac_md5; hmac_sha1; aes_xcbc; };
   kmp_dh_group { 5; };
   kmp_auth_method { psk; };
   pre_shared_key "${PSKDIR}/secret.psk";
   };
   selector_index 42;
};
selector 41 {
   direction outbound;
   src 172.20.36.55;
   dst 1

Problem using geom to mirror system

2006-05-05 Thread Robert Fitzpatrick
I am following the doc at http://people.freebsd.org/~rse/mirror/

While using Approach 2, the initial dump and reboot using the new gm0
mirror worked fine, but having a problem trying to add my da0 drive to
the mirror after the reboot. Can someone suggest what I've done wrong?

files# gmirror configure -a gm0s1
No such device: gm0s1.
files# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/mirror/gm0s1a 8.3G1.2G6.4G16%/
devfs  1.0K1.0K  0B   100%/dev
/dev/mirror/datas1a 33G4.0K 30G 0%/data
files# ls -lah /dev/mirror/
total 1
dr-xr-xr-x  2 root  wheel  512 Dec 31  1969 .
dr-xr-xr-x  5 root  wheel  512 Dec 31  1969 ..
crw-r-  1 root  operator0, 116 May  4 23:43 data
crw-r-  1 root  operator0, 118 May  4 23:43 datas1
crw-r-  1 root  operator0, 121 May  4 19:43 datas1a
crw-r-  1 root  operator0, 122 May  4 23:43 datas1c
crw-r-  1 root  operator0, 109 May  4 23:43 gm0
crw-r-  1 root  operator0, 117 May  4 23:43 gm0s1
crw-r-  1 root  operator0, 119 May  4 19:43 gm0s1a
crw-r-  1 root  operator0, 120 May  4 23:43 gm0s1c
files# dmesg|grep gm0
GEOM_MIRROR: Device gm0 created (id=982386906).
GEOM_MIRROR: Device gm0: provider da1 detected.
GEOM_MIRROR: Device gm0: provider da1 activated.
GEOM_MIRROR: Device gm0: provider mirror/gm0 launched.
Trying to mount root from ufs:/dev/mirror/gm0s1a

-- 
Robert

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


help me

2006-05-05 Thread astalus razvan

hy everyone.I am an FreeBSD user ,i use it every day ,but a few days ago a
problem came up.I have tryed to install Firewalk 5.0.2 ,but told me that I
must install libnet 1.1.2.1,1.OK i have installed libnet 1.1.2.1,1 ,but
Firewalk stiil tolds that I do not have installed libnet.What should I do?


   P.S. for the installation of libnet i used
   ./configure
   make
   make install
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Why do I have to keep doing "portsnap extract"?

2006-05-05 Thread Donald J. O'Neill
On Friday 05 May 2006 01:06, Peggy Wilkins wrote:
> On 5/4/06, Colin Percival <[EMAIL PROTECTED]> wrote:
> > Peggy Wilkins wrote:
> > > On 5/4/06, Jason Morgan 
<[EMAIL PROTECTED]> wrote:
> > >> Did you run `extract' after your original `fetch'?
> > >
> > > Yes, I did; I followed the instructions exactly.  I ran portsnap
> > > for the first time a couple weeks ago after which I successfully
> > > did a bunch of portupgrades.  Then the ports tree sat there on my
> > > disk untouched for a couple of weeks until I ran "portsnap fetch
> > > update" today.  For some reason it insisted that I needed to run
> > > "extract" when as far as I can tell that shouldn't have been
> > > necessary.
> >
> > Do you have a ".portsnap.INDEX" file in your ports tree?
>
> Yes; I don't know if it was there before I ran portsnap today,
> though.
>
> -rw-r--r-- 1 root  wheel   1230186 May  4 16:39 .portsnap.INDEX
>
> plw
> ___

Have you stopped using cvsup for updating your ports? If you do, you're 
going to have to use extract the next time you use portsnap.

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


Re: i/o error OOo-2.0.2 NFS

2006-05-05 Thread Fabian Keil
dick hoogendijk <[EMAIL PROTECTED]> wrote:

> Yesterday I installed OpenOffice-2.0.2 from (the most recent) ports. It
> runs very well, but I have an error that I don't understand.
> 
> Opening a file on my local machine is OK, but when I try to open one on
> a NFS mounted directory I get an I/O general error and the file is not
> opened. I run OOo-1.1.5 on the same machine without any problems.
> Any ideas where (what) to look (for)?

man rpc.lockd (Just a guess, I don't use OpenOffice).

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Quota and webmail

2006-05-05 Thread Marwan Sultan

Hello everyone,

  I'm on FreeBSD 4.8R
  Latest sendmail is the default MTA, and latest Openwebmail is the webmail 
client.

  Quota has been enabled in my kernel
  The problem is whenever I set the quota limit and configure openwebmail 
to read the unix quota
  limit, then it reads the limit of the account user which located in 
/home/user

  but ignores the /var/mail/user  limit.

  yes there is away in openwebmail to makes it reads both /home/user and 
/var/mail/user

  but it will be seperated limits not as a total 1 box limit.

  Is there away, script or any solution PLEASE to make the kernel quota 
reads the /home/user
 and adds to it /var/mail/user and the result comes as 1 size limit? 1 box 
limit?


 a link in the user home directory to /var/mail/user will do it? How would 
we do this please.


 Marwan

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Problem with cordless mouse/Keyboard combo set

2006-05-05 Thread Lennon Cook

I am attempting to use my Omni cordless mouse and keyboard set - these
both connect with the same receiver, which plugs into the computer
with a single USB cable. The keyboard works fine - the mouse, however,
does not work at all. It does not move the cursor, and clicks aren't
registered. Testing with a different (corded) USB mouse works well.

For what reasons might two devices on the same physical connection
give this discrepency in workingness? Is such a setup simply not
supported, or otherwise is there anything I can do to find out more
about what's going on here?

--
Lennon Victor Cook
"He who receives an idea from me receives without lessening, as he who
lights his candle at mine receives light without darkening" - Thomas
Jefferson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 6.0 compat with DL320 G4

2006-05-05 Thread William

Hi Ted,

Great news! but as per your patch you can only use the second nic?

Cheers,

Will

On 05/05/06, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:

Hi William,

  I was able to create a patch that fixed the problem, see
here:

http://www.freebsd.org/cgi/query-pr.cgi?pr=96806

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of William
>Sent: Wednesday, May 03, 2006 1:41 AM
>To: Ted Mittelstaedt
>Cc: freebsd-questions@freebsd.org
>Subject: Re: FreeBSD 6.0 compat with DL320 G4
>
>
>The chances of getting it returned because fbsd doesnt work are
>very small! :(
>
>On 03/05/06, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
>>
>> I have a DL320 G4 in the rack and the thing panics under 6.1-RC1
>> when more than a few K of data is sent over the bge interface.  I
>> haven't tried 6.0-RELEASE on it.  Just make sure you can return it
>> if it doesen't work.
>>
>> Ted
>>
>>
>> >-Original Message-
>> >From: [EMAIL PROTECTED]
>> >[mailto:[EMAIL PROTECTED] Behalf Of William
>> >Sent: Tuesday, May 02, 2006 3:10 AM
>> >To: freebsd-questions@freebsd.org
>> >Subject: Re: FreeBSD 6.0 compat with DL320 G4
>> >
>> >
>> >What was your experience like with 6.0-RELEASE and the dl320 g4? I've
>> >had a quote back on that model so could be near to actually getting
>> >some hardware for once :)
>> >
>> >On 30/04/06, [EMAIL PROTECTED]@mgEDV.net <[EMAIL PROTECTED]> wrote:
>> >>
>> >> just for info: our dl320 g4 also has bge interfaces, and
>> >> they work very well under 6.1-RC1 (even BETA4 was ok).
>> >> but our server has been bought 2 months ago, maybe there's
>> >> a newer/different chipset in it.
>> >> we also have a dl320 g2 being heavily used as lan switches
>> >> monitor, this server also has bge interfaces and had no
>> >> problem since 1 year capturing and analyzing more than
>> >> 26GB/day (avg) of nw-data on the 2nd interface and serving
>> >> more than 4GB/day (avg) on the primary one (both IPv4 only).
>> >>
>> >> c ya ;-)
>> >>
>> >>
>> >___
>> >freebsd-questions@freebsd.org mailing list
>> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> >To unsubscribe, send any mail to
>> >"[EMAIL PROTECTED]"
>> >
>> >--
>> >No virus found in this incoming message.
>> >Checked by AVG Free Edition.
>> >Version: 7.1.385 / Virus Database: 268.5.1/328 - Release
>Date: 5/1/2006
>> >
>>
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"[EMAIL PROTECTED]"
>
>--
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006
>



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


Re: add DVD Burner and file system setup?

2006-05-05 Thread Fabian Keil
Sean <[EMAIL PROTECTED]> wrote:

> David Kelly wrote:
> > On Thu, May 04, 2006 at 01:54:37PM -0400, Sean wrote:
> >> I just added a DVD burner to my system and am trying to figure out how 
> >> to setup the fstab.
> >>
> >> The device is showing up on acd1 but what file system type should be 
> >> specified?
> > 
> > This is typical of what sysinstall writes if a CD/DVD is found during
> > installation:
> > 
> > /dev/acd0  /cdrom  cd9660  ro,noauto   0 0 
> > 
> > The line isn't necessary, but it makes mounting optical media as simple
> > as "sudo mount /cdrom" and "sudo umount /cdrom" assuming your filesystem
> > is ISO-9660.
 
> Thanks, that is what I had done, but was wondering if I had to do 
> anything different for a DVD.
> 
> I recall that a region code also has to be set?

The region code is probably already set, but players can ignore it
unless the author signed a CSS license agreement. Free software authors
rarely do that, but some players respect the region code anyway.

If you use mplayer you can ignore the region code settings
of your drive. It will play discs from all around the world.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: quota deadlock on 6.1-RC1

2006-05-05 Thread dick hoogendijk
On 05 May Pawel Jakub Dawidek wrote:
> It isn't good to release a software with known, documented bugs, but
> its better than shipping an untested software with god-one-knows
> unknown bugs.

Very well said. Hear hear. EOD? ;-)

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 ++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


i/o error OOo-2.0.2 NFS

2006-05-05 Thread dick hoogendijk
Yesterday I installed OpenOffice-2.0.2 from (the most recent) ports. It
runs very well, but I have an error that I don't understand.

Opening a file on my local machine is OK, but when I try to open one on
a NFS mounted directory I get an I/O general error and the file is not
opened. I run OOo-1.1.5 on the same machine without any problems.
Any ideas where (what) to look (for)?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 ++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Memory exhausted when compiling SUN Java JDK 15

2006-05-05 Thread Erik Nørgaard
Hi:

I tried to compile the new jdk15 on 6.1-RC1, but it stops while
compiling ad_i486.cpp with a memory exhausted error.

I have more than 3GB disk, 512MB swap but only 112MB RAM, I have
monitored with top and found that no more than 150MB swap is used.
I guess the RAM gets exhausted, how much is needed?

Is it possible to build jdk without the browser extensions and then
build that separately? - not that I think it helps, but maybe.

Thanks, Erik

output from make:

# make WITH_MOZILLA=firefox
===>  Building for jdk-1.5.0p3
# Start of jdk build
... ...
Target Build Versions:
   JAVAWS_VERSION = 1.5.0
   MILESTONE = p3
   BUILD_NUMBER = norgaard_04_may_2006_19_29

Bootstrap Settings:
   BOOTDIR = /usr/local/jdk1.4.2
   BOOTSTRAP J2SDK VERSION: 1.4.2-p8
   OUTPUTDIR = /usr/ports/java/jdk15/work/control/build/bsd-i586

Build Tool Settings:
   UNIXCOMMAND_PATH = /bin/
   COMPILER_PATH = /usr/bin/
   DEVTOOLS_PATH = /usr/local/bin/
   USRBIN_PATH = /usr/bin/
   MOTIF_DIR = /usr/X11R6
   CC_VER = 3.4.4
   ZIP_VER = 2.31
   PATH =
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bi
n:/usr/X11R6/bin:/root/bin
   TMPDIR = /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp

Build Directives:
   USE_ONLY_BOOTDIR_TOOLS =
   USE_HOTSPOT_INTERPRETER_MODE =
   PEDANTIC =
   DEV_ONLY =
   J2RE_ONLY =
   NO_DOCS =
   NO_IMAGES =
   TOOLS_ONLY =
   INSANE =
   PARALLEL_COMPILES = false
   PARALLEL_COMPILE_JOBS = 2
   FASTDEBUG = false
   INCREMENTAL_BUILD = false

Build Platform Settings:
   PLATFORM = bsd
   ARCH = i586
   LIBARCH = i386
   ARCH_FAMILY = i586
   ARCH_DATA_MODEL = 32
   TRUE_PLATFORM = FreeBSD
   OS_VERSION = 6.1-RC
   FREE_SPACE = 6508524

GNU Make Settings:
   MAKE = gmake
   MAKE VERSION =
   MAKECMDGOALS = sanity
   MAKEFLAGS =
   SHELL = /bin/sh

Target Build Versions:
   JDK_VERSION = 1.5.0
   MILESTONE = p3
   BUILD_NUMBER = norgaard_04_may_2006_19_29

External File/Binary Locations:
   HOTSPOT_SERVER_PATH =
/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/server
   HOTSPOT_CLIENT_PATH =
/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/client
   HOTSPOT_IMPORT_PATH =
/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/import
   MOTIF_DIR = /usr/X11R6
   CACERTS_FILE = ./../src/share/lib/security/cacerts
... ...

gmake[3]: Entering directory
`/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
Compiling ../generated/adfiles/ad_i486.cpp
virtual memory exhausted: Cannot allocate memory
gmake[3]: *** [ad_i486.o] Error 1
gmake[3]: Leaving directory
`/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
gmake[2]: *** [the_vm] Error 2
gmake[2]: Leaving directory
`/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
gmake[1]: *** [jvmg] Error 2
gmake[1]: Leaving directory
`/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp'
gmake: *** [jvmg] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk15.




-- 
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F0C.crt
Subject ID:  69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
Fingerprint: 7F:80:96:EA:95:92:E2:23:1F:FA:0F:98:92:C2:CC:55:6B:9A:8C:92


smime.p7s
Description: S/MIME Cryptographic Signature


Re: pkg_add gnuplot

2006-05-05 Thread Yuan, Jue
On Friday 05 May 2006 13:00, Jonathan Herriott wrote:
> Hey,
>
> I'm trying to add the package gnuplot, and when I do, it goes and tries to
> add another necessary package pdflib.  The issue is that it cannot find
> pdflib.  I get the following:
>
> pkg_add -r gnuplot
> Fetching
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/gn
>uplot.tbz... Done.
> Error: FTP Unable to get
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/All/pdfli
>b-6.0.1_2.tbz: File unavailable (e.g., file not found, no access)
> pkg_add: can't open dependency file
> '/var/db/pkg/pdflib-6.0.1_2/+REQUIRED_BY '!
> dependency registration is incomplete
>
> For some reason the file does not exist on the server.  Is there another
> method that I can get pdflib that pkg_add will recognize for when I pkg_add
> -r gnuplot again?

google pdflib to find some available .tbz :-)

Good luck

-- 
Best Regards
Yuan, Jue @ www.yuanjue.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6.1 install problems with creating partitions

2006-05-05 Thread Eric Dan
update:
I actually backed up the ext3 to another hard drive and got rid of all
partitions and slices on that drive.
installer still can't do it.
the exact error says:
"unable to make new root file system on ad3sa1"
then i hit return and it says:
"couldn't make file system properly"

any ideas?



* Eric Dan ([EMAIL PROTECTED]) wrote:
> trying to install 6.1 on my secondary master partition or slice 2.
> I come from linux so please be forgiving with the naming or slices and
> partitions.
> i created a 40G slice on ad3 with fdisk, then with disklabel i created a
> 4g /  a 512M swap and the rest for /home
> i used the "S" option on the "/" partition.
> the installer gives me and error saying that it wasn't able to create
> the partions on the slice and the install aborts.
> what can i do?
> i don't wanna give up that ext3 part on this drive.
> 
> thanks
> -- 
> Eric Dan [EMAIL PROTECTED]
> UCLA ID#103297286
> http://www.vladuz976.com/
> GPG key: FD13E94D ( B9D1 7D8D 34E0 D0B7 D3C9  4571 0BAC 1DC7 FD13 E94D)
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
Eric Dan [EMAIL PROTECTED]
UCLA ID#103297286
http://www.vladuz976.com/
GPG key: FD13E94D ( B9D1 7D8D 34E0 D0B7 D3C9  4571 0BAC 1DC7 FD13 E94D)


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