Re: how to create a DVD backup filesystem?

2009-01-23 Thread Polytropon
On Thu, 22 Jan 2009 23:37:51 -0800, Gary Kline kl...@thought.org wrote:
   So if I use my space in /usr/tmp, would I use the cmd given by
   cpghost:
 
   % mkisoft -R -J -o cdr.iso /usr/tmp/cdr/  ?
   ^  ^


  If this wouldn't
   % create the RockRidge extension, what then?

According to

% man mkisofs

the command above would (1) create the nonstandard Joilet
extension that is required by MICROS~1 products in order to
use 8.3 file names. Instead of -R, I would suggest -r for the
standard RockRidge extension because it stores UNIX attributes
in a good way for further usage (all files +r, no files +w).
This makes further handling more easy eventually.

You would end up with a pre-mastered ISO-9660+RR file system
that you could load into K3B and then record it onto CD or DVD.



   Exact where do I click instructions, please. 

We're not in MICROS~1 land here. :-) I had never use for K3B, so
only time I saw it was when I toyed around with PC-BSD. But I
remember it has a setting for data disc or burn from a file
wich is easy if you already have the premastered ISO image there.



 Alao, if I'm
   brave enough to use GUI, can I use ~/devel, ~/Music, and, say 
   ~/texts?

Why not? The only restrictions I would apply would be to make
the file names a bit tidy. Of course, there's no problem using
accents and Umlauts and all this stuff, and spaces, ampersands
and who knows what else, but for maximum reading sureness, it's
a good idea to only use a standard character set for the file
names.

If you only want to create an ISO from some subtrees, you can
do this with mkisofs:

% mkisofs -r -o /tmp/cd.iso ~/devel ~/Music ~/texts

But this will discard the first level of directories, if I
remember correctly. Another idea would be to temporally symlink
the stuff that you want to include, then run mkisofs on the
directory containing the symlinks - they get translated into
the file structures they point at automatically, if I remember
correctly. Or, if you've got enough time, just copy them,
creating a master composition tree that will look the way
if should be on the DVD then.



  ---I have learned to mouse-around and select my
   favorite mp3 and ogg-vorbis tunes, but that's just 80 minutes of
   music.  No mount, no umount.

For mounting, have the correct setting in /etc/fstab, such
as

# /etc/fstab
# ==
# DeviceMountpoint  FStype  Options DumpPass#
# ---   -   --  -   -   -
/dev/acd0   /media/cdromcd9660  ro,noauto   0   0
/dev/acd0   /media/dvd  cd9660  ro,noauto   0   0
/dev/acd1   /media/writer   cd9660  ro,noauto   0   0



   OK, then what about the mount, umount commands?
 
   % mount /dev/cd0 /mnt
 
   // cd to /dev/dv0, read, listen, whatever.  Then::
   ^^
No, cd to the mount point, /mnt or /media/dvd or whatever you've
chosen.

You can use /dev/cd0 only if atapicam is present (loaded as a
kernel module or from within the kernel).

If your /etc/fstab does not specify a mount rule, don't forget
to add -o ro because it's a read-only media, the system should
know this.



   % umount /dev/cd0

Possible, but mostly it's more convenient to umount the mountpoint
instead of the device, but should work in any of the both ways.



   ??   Would this work with our FBSD filesystem and-or RockRidge?

Depends on it, see /etc/fstab above; this mount command implies
ISO-9660 as the file system. Instead of cutting your filenames down
to 8.3 MICROS~1 style, the RockRidge extension will provide the
correct file names.


If you put an UFS file system onto the DVD, you would need a different
command, such as

% mount -t ufs -o ro /dev/acd0 /mnt



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


Re: how to create a DVD backup filesystem?

2009-01-23 Thread Polytropon
On Thu, 22 Jan 2009 23:45:16 -0800, Gary Kline kl...@thought.org wrote:
 On Thu, Jan 22, 2009 at 10:26:22PM -0700, Tim Judd wrote:
  You can always try to tar it up directly
  
  tar -czf /dev/acd0 ~kline/ ~devel/
  
  Good luck.
 
 
   I do tar ~kline --bzip'd-- and scp it around.  3 times/week.  I
   want my most important stuff, ~/[DOT] files too, on a DVD.
   Y'never know when a meteor will destroy the Earth... .

Using tar onto acd may not work, but utilizing atapicam, it could
eventually work with cd directly:

% tar cvjf /dev/cd0 ~/.* ~/devel ~/music ~/texts

But this does not (!) make the media mountable! You may see that
as a disadvantage, but maybe it's not: You can access it now
directly without needing to mount it, and you can extract from
it by selection, e. g.

% tar xvjf /dev/cd0 ~/music

to only extract the music/ subtree.

The tar file system is best for interoperability because (if
I may say this) every UNIX-like OS can read tar, no matter if you
put it n discs, disks, tapes or even hard disks or USB sticks.




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


Re: Backup program on FreeBSD for DLT drive

2009-01-23 Thread Frank Bonnet

Hi

The bakbone company sells a software called NETVAULT
if I remember well it works under FreeBSD



bsd wrote:

Yes,

This is probably the one I'll go for…
There is a good hack described in the O'Reilly BSD hacks to setup Bacula…

I'll consider this article as a starting point…



Thank you very much folks.


Le 23 janv. 09 à 04:21, Geoff Fritz a écrit :


On Thu, Jan 22, 2009 at 08:30:56PM +0100, bsd wrote:

Hello,


I am using a FreeBSD server 7.0 as a Samba server and wanted to backup
this server using Quantum DLT tape.

I would need a simple tool that could be configured rapidl at that's
stable enough to provide high security for the data.
Ideally any good pointer to a howto would be a must!


I've had success with Bacula for a small office file server (FreeBSD) and
Windows clients clients.  It supports SSL for the data transfer (if the
client and server are not the same machine), as well as data encryption:

http://www.bacula.org/en/dev-manual/Data_Encryption.html

I haven't used the encryption myself.  Bacula has a bit of a learning 
curve
to set up corretly, but I really enjoy its use once it it set up 
correctly.


-- Geoff



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing 
this e-mail



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



--
Cordialement
Frank Bonnet
ESIEE Paris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Keeping FreeBSD updated (the binary way)

2009-01-23 Thread Svein Halvor Halvorsen

Svein Halvor Halvorsen wrote:
I want to make sure I have better routines this time around, when I'm 
starting a-fresh. I'd like to keep my system and packages fairly up to 
date, and still keep the compiling to a minimum.


Is it possible to pkg_add -r packages from -STABLE on the latest 
-RELEASE? That is, will the following work, or slowly render my system 
to an incoherent state:


Tim Judd wrote:
This was once not the way to do it.  I read on the handbook recently 
that they actually advertize to use -STABLE packages if you want more 
up-to-date programs.


Ok. I also realized that portsnap is more updated than the -STABLE 
precompiled packages. I should perhaps get the INDEX file off the ftp 
server as well. Is there a way to fetch the actual ports tree used to 
produce the current -STABLE package set?


Why is it you wnat to remove the compiling part of it?  portupgrade, 
portmaster or any other port management tool will take care of that for 
you.  Just curious on this one.


The compilation takes forever. Ok, so my new computer (which isn't 
exactly new) will be a lot faster than the one it replaces, but still. 
I can always compile coreutils and stuff like that, but larger 
applications, I would want to install binary. Also, there is little 
advantage nowadays in compiling yourself.



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


Re: Keeping FreeBSD updated (the binary way)

2009-01-23 Thread Svein Halvor Halvorsen

Svein Halvor Halvorsen svei...@lvor.halvorsen.cc wrote:
Is it possible to pkg_add -r packages from -STABLE on the latest 
-RELEASE? That is, will the following work, or slowly render my

system to an incoherent state:


RW wrote:

It'll work most of the time, but occasionally it will fail, when a
STABLE package relies on a library or other feature that's not in the
release.

A compromise might be to stick to the release packages, until portaudit
reveals a significant vulnerability and then switch to Stable until
the next release. 


But when that happens, should I upgrade just the one affected package, 
or grab updates for all my installed packages, to make sure all packages 
on the system is concurrent? That is, made from the same ports tree at 
some point in time.



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


RE: need Tutorial IN Pdf or Doc.

2009-01-23 Thread Mbung Linux
thank's
 - Original Message -
 From: Johann Kois jk...@freebsd.org
 To: 'Mbung Linux' mbung.li...@linuxmail.org, d...@freebsd.org
 Cc: questi...@freebsd.org
 Subject: RE: need Tutorial IN Pdf or Doc.
 Date: Thu, 22 Jan 2009 14:18:06 +0100
 
 
 Hi,
 
 try using one of the http mirrors instead if you are not allowed to access
 ftp sites.  You can find a list here:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html.
 Look for one which has the comment (http) after its name.  For example
 http://ftp2.de.freebsd.org/pub/FreeBSD/.  There is a subdirectory doc
 which contains all the documentation for all available languages.
 
 
 Johann
 
 
 --
 Johann Kois
 jk...@freebsd.org
 FreeBSD Documentation Project
 FreeBSD German Documentation Project - https://doc.bsdgroup.de
 
 
 
  -Original Message-
  From: owner-freebsd-...@freebsd.org [mailto:owner-freebsd-
  d...@freebsd.org] On Behalf Of Mbung Linux
  Sent: Donnerstag, 22. Jänner 2009 13:32
  To: d...@freebsd.org
  Cc: questi...@freebsd.org
  Subject: need Tutorial IN Pdf or Doc.
 
  hello i'm from indonesia.i really want to try freebsd,but my office
  have a proxy...
  it very sucks..i can't download u'r documentation at
  ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/
  so please send tutorial in pdf or doc that i can learn more about it
 
  Thank's a lot.
 
  Danang
 
 
 
  =
 
 
  --
  Powered by Outblaze
  ___
  freebsd-...@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-doc
  To unsubscribe, send any mail to freebsd-doc-unsubscr...@freebsd.org




=
Equitech Produces Rhesus Monkey Serum
Equitech-Bio has been a manufacturer of serum for more than 15 years. We 
implement strict quality control procedures and provide the end user with 
excellent lot-to-lot consistency.
http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=44b06b02d51cd19c5d9de69856f291fe


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


Re: technical drawing program

2009-01-23 Thread Frank Staals

prad wrote:

any recommendations?
i've tried dia and inkscape. the former seems to be good for flowcharts
and general diagrams while the latter is great for all sorts of things,
but i'd like to be able to do accurate geometric diagrams and was
wondering if something more appropriate is available.

  
I'm not sure it fits what you are trying to achieve, but I do all my 
drawing-stuff in ipe (graphics/ipe ). All my documents are typesetted 
using LaTeX, ipe has build in LaTeX support for it's text formatting so 
for me it is an ideal program. It's a relatively simple editor so I'm 
not sure if it suffices your needs but you may give it a try. It's a 
shame the FreeBSD port's version is so old (6.0-pre23 while the current 
version is allready  6.0-pre31 (or even 6.0-pre32 I'm not sure) though.


--

- Frank

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


LTSP in freeBSD

2009-01-23 Thread Mbung Linux
hello,

Right now ,i'm success to installing freeBSD in my computer,can you help me...
please send me how to building FreeBSD with LTSP,i want to make a small
networking,before i'm using fedora core 4.0 with LTSP 4.1.

Thank's Before.
God Bless U.

=
Automatic Refractometers by Rudolph
Bench top Automatic Refractometers by Rudolph.
http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=c21bbfbcb3a285a351bb1ffb73eccfe4


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


mounting Nokia N95

2009-01-23 Thread Warren Liddell
is there any utility or pkg in freebsd that will allow me to browse my 
nokia N95 files?  i have quite a substantial amount of files i wish to 
backup, if nothing else the pictures.


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


Re: Portmanager gives me an error message

2009-01-23 Thread Jerry
On Thu, 22 Jan 2009 20:00:26 -0500
Eduardo Cerejo ejcer...@optonline.net wrote:

I'm trying to upgrade any port with portmanager because portupgrade
keeps failing all the time.  No matter what port I try to upgrade I
get this error:

sudo portmanager x11/xterm -l -u
Password:
MGrStrlen error: NULL marker not found in string
Assertion failed: (0), function MGrStrlen, file MGrStrlen.c, line 54.
Abort

I'm running FreeBSD 7.1 release.

I am assuming you have the latest version of portmanager and an updated
ports tree. Try just running portmanager in a generic fashion; i.e.:

portmanager -u -l -p -y

See if that corrects the problem. Also, can you run it as root rather
than using sudo? I have no idea if that would make any difference;
however, I never use sudo when running portmanager myself.

Also, you probably have portsclean installed. Clean out
your /usr/ports/distfiles directory and then run:

portsclean -CLP

Prior to running portmanger. It cannot hurt and it might fix something.

You might also consider doing a deinstall/reinstall of portmanger if
you feel the program might have gotten damaged.


-- 
Jerry
ges...@yahoo.com

FOR SALE:
Parachute.  Used once.
Never opened.  Slightly Stained.


signature.asc
Description: PGP signature


Re: Keeping FreeBSD updated (the binary way)

2009-01-23 Thread Gabriel Lavoie
Since I started using FreeBSD with 6.2 on my home server, I studied
this problem very well. In the default installation, there are a daily
system check script and a daily security check script included in
periodic. You can easily configure your system so e-mails are sent to
you every days with the output of the execution of those scripts
(usually sent to root). Also, freebsd-update can also be configured as
a cron job that will fetch the latest update and send you an e-mail if
core system updates are available. portsnap cron job will be executed
in the security periodic job and will tell you if any of your
installed ports need to be updated for security reasons. So...

I always check the output of those runs in my e-mails every morning or
every few days. If there is an update available from freebsd-update, I
install it and I reboot the complete server if there is an update for
the kernel or a used kernel module, or only a few services that depend
on the updated files (often sshd). About my ports, I only upgrade
those that get security notices. This way my system has been very
stable, up to date and it doesn't take too much time to maintain it in
this state. The only time where I upgrade all my ports is when I
update my entire system to a newer FreeBSD revision (7.0 - 7.1,
etc.). I'll also likely stay on a particular revision of FreeBSD until
the security updates are ended for it. I first went from 6.2 to 6.3 on
my old server because 6.3 was flagged for long term support (2 years).
Went from 6.3 to 7.0 because I replaced my old server (Dual Pentium
II) with new hardware. And I went from 7.0 to 7.1 because some new
drivers were available to better support my new hardware (EIST on 45nm
Intel CPUs, Atheros L1E network adapter). Now my hardware is well
supported, my system is very stable and I will likely stay on 7.1
until January 2011 (end of support for security updates).

I hope it helps,

Gabriel

2009/1/23 Svein Halvor Halvorsen svei...@lvor.halvorsen.cc:
 Svein Halvor Halvorsen svei...@lvor.halvorsen.cc wrote:

 Is it possible to pkg_add -r packages from -STABLE on the latest
 -RELEASE? That is, will the following work, or slowly render my
 system to an incoherent state:

 RW wrote:

 It'll work most of the time, but occasionally it will fail, when a
 STABLE package relies on a library or other feature that's not in the
 release.

 A compromise might be to stick to the release packages, until portaudit
 reveals a significant vulnerability and then switch to Stable until
 the next release.

 But when that happens, should I upgrade just the one affected package, or
 grab updates for all my installed packages, to make sure all packages on the
 system is concurrent? That is, made from the same ports tree at some point
 in time.


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




-- 
Gabriel Lavoie
glav...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Start-up of freeBSD need help with one question.

2009-01-23 Thread Bob Falanga
When I try to configure a printer, CUPS requires a user id, my own or root.
But it will not accept either.
Interestingly, at boot up time I saw CUPS started three times but cannot
find where all the requests for start is.
I added a line in rd.conf to start CUPS but that is the only place.

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


Re: mounting Nokia N95

2009-01-23 Thread Mehul Ved
On Fri, Jan 23, 2009 at 4:47 PM, Warren Liddell shin...@maydias.com wrote:
 is there any utility or pkg in freebsd that will allow me to browse my nokia
 N95 files?  i have quite a substantial amount of files i wish to backup, if
 nothing else the pictures.

What about obexftp?

-- 

Today is a good day to bribe a high-ranking public official.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Failed to connect to socket /var/tmp/dbus-9QmJ2ebH21: No such file or directory

2009-01-23 Thread Anton Shterenlikht
I run FreeBSD 6.4-STABLE alpha, and I've XAUTHORITY set up:

% echo $XAUTHORITY
/home/mexas/.Xauthority

I've gconf2-2.24.0 and ORBit2-2.14.16

Whenever I try to start a browser, e.g. firefox2 or kazehakase I get this 
message:

GConf Error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
locks due to a system crash. See http://www.gnome.org/projects/gconf/ for 
information. (Details -  1: Failed to get connection to session: Failed to 
connect to socket /var/tmp/dbus-9QmJ2ebH21: No such file or directory)
GConf Error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
locks due to a system crash. See http://www.gnome.org/projects/gconf/ for 
information. (Details -  1: Failed to get connection to session: Failed to 
connect to socket /var/tmp/dbus-9QmJ2ebH21: No such file or directory)

Sometimes the browser eventually opens up, but sometimes it doesn't.

In addition, the time /var/tmp/orbit-mexas is 1970:

# ls -al /var/tmp/|grep orbit-mexas
drwx--   2 mexas  wheel  1024  1 Jan  1970 orbit-mexas
# 

And where is that random number comes from in /var/tmp/dbus-9QmJ2ebH21?

I've

% xauth -v list
Using authority file /home/mexas/.Xauthority
mech-anton240.men.bris.ac.uk:0  MIT-MAGIC-COOKIE-1  
27cb8258eb7feb6291ba680547603a68
mech-aslap33.men.bris.ac.uk:0  MIT-MAGIC-COOKIE-1  
9f784d8ddca2a8f9deaefd12c809fc51

What's going on? Give me a clue please.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: technical drawing program

2009-01-23 Thread Boris Samorodov
On Fri, 23 Jan 2009 11:28:19 +0100 Frank Staals wrote:

 It's a shame the FreeBSD port's version is so old (6.0-pre23 while the
 current version is allready  6.0-pre31 (or even 6.0-pre32 I'm not
 sure) though.

Do you know that saying it's a shame... you are actually speaking
about yourself either? The port is maintained by po...@freebsd.org
(it's a public maillist). That means that the port is maintained by
all FreeBSD users uncluding you. Since you use this port you may
consider updating the port and send a PR about it. That's may be
your contribution to the project. You even may become a maintainer
of the port. Thanks for your contribution in advance!


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


RE: Dumb ipnat question

2009-01-23 Thread Michael VanLoon
*ping*



From: owner-freebsd-questi...@freebsd.org on behalf of Michael VanLoon
Sent: Thu 1/22/2009 3:43 PM
To: freebsd-questions@freebsd.org
Subject: Dumb ipnat question



I have built a simple 7.1 system in a VM.  I built a custom kernel that is 
basically GENERIC minus some hardware stuff I don't need, plus a few things 
that look cool.

When I attempt to run the ipnat command, I get the error:
/dev/ipnat: open: No such file or directory

Sure enough, there are no ip* devices in /dev/.  In the olden days, when I 
used to do a lot of BSD hacking, you used MAKEDEV to make the devices you 
wanted.  Nowadays, it's done with devfs.  I believe the upshot is that it's 
supposed to be semi-automagic, isn't it?

Anyway, what am I doing wrong?  What do I need to configure to use ipnat and 
then later ipfw or ipfilter?

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


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


Re: Dumb ipnat question

2009-01-23 Thread Odhiambo Washington
On Fri, Jan 23, 2009 at 2:43 AM, Michael VanLoon 
micha...@noncomposmentis.net wrote:

 I have built a simple 7.1 system in a VM.  I built a custom kernel that is
 basically GENERIC minus some hardware stuff I don't need, plus a few things
 that look cool.

 When I attempt to run the ipnat command, I get the error:
 /dev/ipnat: open: No such file or directory

 Sure enough, there are no ip* devices in /dev/.  In the olden days, when
 I used to do a lot of BSD hacking, you used MAKEDEV to make the devices you
 wanted.  Nowadays, it's done with devfs.  I believe the upshot is that it's
 supposed to be semi-automagic, isn't it?

 Anyway, what am I doing wrong?  What do I need to configure to use ipnat
 and then later ipfw or ipfilter?


Did you load the modules?
ipl_load=YES in /boot/loader.conf and reboot OR
kldload ipl

If you did not compile IPFILTER in the kernel, then you must load the
module.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: old cruft after source upgrading --- clean install?

2009-01-23 Thread Lowell Gilbert
Novembre novem...@gmail.com writes:

 By 'orphan' do you mean the unreferenced libraries that libchk has found on
 my machine?

I mean it more loosely than that; I mean libraries that are really not
needed anymore.  Your use of libchk isn't really a guarantee that you
can remove the library safely, although it will usually be the case.

 I use portupgrade, and apparently, the upgrade process leaves them there.
 I was also not aware of the 'make delete-old' step! I had never seen it
 before. I did the
 source upgrade of my machine following what is in the handbook, but i don't
 remember
 doing any 'make delete-old'...

It's listed in the UPDATING file, which the handbook describes as
required reading for updates.  However, there's little harm from missing
it.  

 What should I do with the unreferenced libraries and the ones on the
 /usr/local/lib/compat/pkg/
 directory?

There's generally no need to do anything.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to create a DVD backup filesystem?

2009-01-23 Thread cpghost
On Thu, Jan 22, 2009 at 10:59:49PM -0800, Gary Kline wrote:
 On Fri, Jan 23, 2009 at 02:40:01AM +0100, cpghost wrote:
  Perhaps there is something like that, but I do it manually like this:
  
  * mkdir cdr/
  * copy approx 3.0 to 3.1 GB worth of files into cdr/
 
   You mean, I'm guessing, my devel files/subsirs, Music files, and
   other text and data, correct?

Right. BTW, nothing prevents you from copying subdirs into cdr/ ;-)
Just make sure that you don't overfill cdr/:

* du -s -h cdr/

would give you the current size of everything in cdr and below.

  * mkisofs -R -J -o cdr.iso cdr/

You can also use -r instead of -R, as it would fix the permissions
for you (see man mkisofs). Sorry for the omission.

  To use growisofs, install it from /usr/ports/sysutils/dvd+rw-tools.
  You may need to
  
  # kldload atapicam
  
  so that you can get /dev/cd0. Don't forget that you need write
  permission to /dev/cd0 and /dev/pass0, so either run growisofs
  as root, or add this to /etc/devfs.rules:
  
  permcd0 0666
  permpass0   0666
  
  and restart devfs (/etc/rc.d/devfs restart).
 
   I set this up at least *three* times.  

Wrong rule set? See man devfs.

  If you plan to archive the DVDs, be sure to schedule some date in
  a couple of years ahead to read them back in and verify their
  condition. If some of those DVDs developed bad sectors, you could
  then try to reconstruct those with dvdisaster (but only if you created
  the error correction data before burning!), and burn a new DVD.
 
   I'm planning on burning a new DVD every few months; storing
   off-site.  Probably recycling some discs.

That's a good idea. As long as you check the DVD every couple of
years or so, and you have error correction codes available, you
should be safe. Oh, and do also save the dvdisaster distfile,
just in case. ;)

  Oh, and try to stick to good DVD blanks like Taiyo Yuden or Verbatim
  (only those made in Taiwan or Japan) to minimize the risk of bad
  sectors (i.e. especially avoid no-names or el-cheapo blanks).
  
  You can also do without dvdisaster, and write more than 3 GB to the
  DVDs, but if you plan to archive them and be able to read them a few
  years ahead, you'll highly value the error correction codes
  overhead. ;) Oh, and you'll still have to read the data back after
  burning, just to be sure everything's okay. Some kind of checksums
  (md5, sha256) of the directories would be useful, so plan ahead
  and add them before creating the ISO.
 
   I'll have checksums Plus usin the dvdisaster, :-)  [[ i actually
   did this in the 90's with my floppies; when the CRC failed i knew 
   a floppy had gone south. ]]

Yup. Just remember that losing a couple of floppies is not the same
disaster as losing a couple of DVDs. ;-)

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Failed to connect to socket /var/tmp/dbus-9QmJ2ebH21: No such file or directory

2009-01-23 Thread Anton Shterenlikht
On Fri, Jan 23, 2009 at 01:19:25PM +, Anton Shterenlikht wrote:
 I run FreeBSD 6.4-STABLE alpha, and I've XAUTHORITY set up:
 
 % echo $XAUTHORITY
 /home/mexas/.Xauthority
 
 I've gconf2-2.24.0 and ORBit2-2.14.16
 
 Whenever I try to start a browser, e.g. firefox2 or kazehakase I get this 
 message:
 
 GConf Error: Failed to contact configuration server; some possible causes are 
 that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
 locks due to a system crash. See http://www.gnome.org/projects/gconf/ for 
 information. (Details -  1: Failed to get connection to session: Failed to 
 connect to socket /var/tmp/dbus-9QmJ2ebH21: No such file or directory)
 GConf Error: Failed to contact configuration server; some possible causes are 
 that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
 locks due to a system crash. See http://www.gnome.org/projects/gconf/ for 
 information. (Details -  1: Failed to get connection to session: Failed to 
 connect to socket /var/tmp/dbus-9QmJ2ebH21: No such file or directory)
 
 Sometimes the browser eventually opens up, but sometimes it doesn't.
 
 In addition, the time /var/tmp/orbit-mexas is 1970:
 
 # ls -al /var/tmp/|grep orbit-mexas
 drwx--   2 mexas  wheel  1024  1 Jan  1970 orbit-mexas
 # 
 
 And where is that random number comes from in /var/tmp/dbus-9QmJ2ebH21?
 
 I've
 
 % xauth -v list
 Using authority file /home/mexas/.Xauthority
 mech-anton240.men.bris.ac.uk:0  MIT-MAGIC-COOKIE-1  
 27cb8258eb7feb6291ba680547603a68
 mech-aslap33.men.bris.ac.uk:0  MIT-MAGIC-COOKIE-1  
 9f784d8ddca2a8f9deaefd12c809fc51
 
 What's going on? Give me a clue please.

forgot to add that when either (or both) browsers are running, there is no 
dbus-daemon
process:

% ps ax|grep dbus
85571  p0  I  0:00.01 dbus-launch --autolaunch 
c147699dcd782c00b8cb56ec49707d8a --binary-syntax
85630  p1  I+ 0:00.01 dbus-launch --autolaunch 
c147699dcd782c00b8cb56ec49707d8a --binary-syntax
85929  p2  R+ 0:00.01 grep dbus
%

Looking at the dbus-launch manual page my impression was that dbus-launch 
should 
start dbus-daemon and exit. What I get is the opposite: dbus-launch is never 
terminated
and doesn't seem to launch dbus-daemon.

I'm confused. Please help.

My versions are dbus-1.2.4.4 and dbus-glib-0.78.

many thanks
anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Registry corrupt?

2009-01-23 Thread Jack L. Stone
During an upgrade from fbsd-6.3 -- fbsd-7.0, something strange happened.
Some of the programs will not run after rehash or even when given the
precise path to the program. System doesn't see several but not all
programs. I've upgraded several servers (using source files -- cvsup)
withoug any such problem. It's just this one machine.

I've suspected the registry is not updating, but really don't know as I've
never encountered this issue before in all the years using FBSD.

Any ideas?

Jack

(^_^)
Happy trails,
Jack L. Stone

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


Re: Registry corrupt?

2009-01-23 Thread Odhiambo Washington
On Fri, Jan 23, 2009 at 5:19 PM, Jack L. Stone ja...@sage-american.comwrote:

 During an upgrade from fbsd-6.3 -- fbsd-7.0, something strange happened.
 Some of the programs will not run after rehash or even when given the
 precise path to the program. System doesn't see several but not all
 programs. I've upgraded several servers (using source files -- cvsup)
 withoug any such problem. It's just this one machine.

 I've suspected the registry is not updating, but really don't know as I've
 never encountered this issue before in all the years using FBSD.

 Any ideas?


You'll most likey have to reinstall all ports!
portupgrade -a


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Registry corrupt?

2009-01-23 Thread Bill Moran
In response to Jack L. Stone ja...@sage-american.com:

 During an upgrade from fbsd-6.3 -- fbsd-7.0, something strange happened.
 Some of the programs will not run after rehash or even when given the
 precise path to the program. System doesn't see several but not all
 programs. I've upgraded several servers (using source files -- cvsup)
 withoug any such problem. It's just this one machine.
 
 I've suspected the registry is not updating, but really don't know as I've
 never encountered this issue before in all the years using FBSD.

FreeBSD has no registry.  Please describe the problem in more detail ...
i.e. give a specific example (cut/paste what's happening into the
email)

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Backup program on FreeBSD for DLT drive

2009-01-23 Thread Odhiambo Washington
On Thu, Jan 22, 2009 at 10:30 PM, bsd b...@todoo.biz wrote:

 Hello,


 I am using a FreeBSD server 7.0 as a Samba server and wanted to backup this
 server using Quantum DLT tape.


less /scripts/backup2tape.sh
#!/bin/sh
  TARGET=/dev/nsa0
# FILESYSTEMS=/:/var:/usr
  FILESYSTEMS=/
  DUMPLEVEL=0
  DUMPOPTIONS=auL
  MTACTION=rewind

  MT=/usr/bin/mt
  SED=/usr/bin/sed
  DUMP=/sbin/dump

#Rewind the tape
  echo ${MT} ${MTACTION}
  ${MT} ${MTACTION}
#Do the dump for each file system
  for i in `echo $FILESYSTEMS | ${SED} 's/:/ /g'`
  do
  echo ${DUMP} ${DUMPLEVEL}${DUMPOPTIONS}f ${TARGET} $i
  ${DUMP} ${DUMPLEVEL}${DUMPOPTIONS}f ${TARGET} $i
  done
#Rewind the tape
  echo ${MT} ${MTACTION}
  ${MT} ${MTACTION}
(END)

PS: Customize it by changing the TARGET and the FILESYSTEMS
As regards security, store it safely in a bank safe:-)
I use it with cron, but I can re-install the server in minutes.



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to create a DVD backup filesystem?

2009-01-23 Thread cpghost
On Thu, Jan 22, 2009 at 11:37:51PM -0800, Gary Kline wrote:
 On Fri, Jan 23, 2009 at 02:48:11AM +0100, Polytropon wrote:
  Create an ISO-9660 file system with a standard RockRidge extension.
  This would allow you to master a file system for the CD or DVD which
  is usually represented by a .iso file.
 
 
   So if I use my space in /usr/tmp, would I use the cmd given by
   cpghost:
 
   % mkisoft -R -J -o cdr.iso /usr/tmp/cdr/  ?  If this wouldn't
   % create the RockRidge extension, what then?

The -R (or -r) flag creates the rockridge extensions, and -J creates
the Joliet extensions (for Windows). This way, you get a hybrid DVD/CD
image that is mountable on both Unix and Windows. It can be useful,
since you never know which OS you'll be using when you need to read
the DVD/CD back.

  For a DVD, you need growisofs.
  
  % growisofs -dvd-compat -Z /dev/dvd=/tmp/kline.iso

Yes, but keep in mind that /dev/dvd points to /dev/acd0 and
not to /dev/cd0:

  $ ls -l /dev/dvd
  lrwxr-xr-x  1 root  wheel  4 Jan 23 15:35 /dev/dvd - acd0

IIRC, growisofs needs atapicam, i.e. /dev/cd0, but I may be mistaken.

  As a sidenote, I just like to mention that you don't need to use an
  ISO-9660 filesystem. Because we're on FreeBSD here, you can use any (!)
  file system on a CD or DVD, such as UFS or tar (check advantages and
  disadvantages).
 
   OK, then what about the mount, umount commands?
 
   % mount /dev/cd0 /mnt
 
   // cd to /dev/dv0, read, listen, whatever.  Then::
 
   % umount /dev/cd0
 
   ??   Would this work with our FBSD filesystem and-or RockRidge?
 
   gary

If you use tar to write to CD/DVD, you can't mount that directly
(unless it's supported as a special fusefs filesystem).

If you write a UFS filesystem to CD/DVD, you can mount it from
FreeBSD (and probably other BSDs like NetBSD, OpenBSD, ...), but
not from, say, Windows. So yes, it will work on FreeBSD.

If you write an ISO-9660 filesystem on the CD/DVD, you can mount it
from FreeBSD/Linux/Unix/... and Windows. It will work.

As archive, I'd recommend a filesystem that can be mounted by
as many platforms as possible, and that is currently ISO-9660
with RockRidge and Joliet. You just need to be aware of the
fact, that you could also put other filesystem types or even
raw tar archives on the CD/DVD if you prefer.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Registry corrupt?

2009-01-23 Thread cpghost
On Fri, Jan 23, 2009 at 05:56:45PM +0300, Odhiambo Washington wrote:
 On Fri, Jan 23, 2009 at 5:19 PM, Jack L. Stone ja...@sage-american.comwrote:
 
  During an upgrade from fbsd-6.3 -- fbsd-7.0, something strange happened.
  Some of the programs will not run after rehash or even when given the
  precise path to the program. System doesn't see several but not all
  programs. I've upgraded several servers (using source files -- cvsup)
  withoug any such problem. It's just this one machine.

Some programs will not run because of a library version bump. Those
programs will need to be recompiled, i.e. rebuild all ports.

You can check this by running 'ldd' on the specific program. Let's
assume that you have zip installed:

$ ldd /usr/local/bin/zip
/usr/local/bin/zip:
libbz2.so.3 = /usr/lib/libbz2.so.3 (0x80065c000)
libc.so.7 = /lib/libc.so.7 (0x80076c000)

If it required libc.so.6 instead of libc.so.7, and there's no
libc.so.6 anymore after the upgrade, you'll need to recompile zip.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Backup program on FreeBSD for DLT drive

2009-01-23 Thread Jerry McAllister
On Fri, Jan 23, 2009 at 08:06:43AM +0100, bsd wrote:

 Yes,
 
 This is probably the one I'll go for?
 There is a good hack described in the O'Reilly BSD hacks to setup  
 Bacula?

I don't understand.   Why hack when dump already works just right?

jerry



 
 I'll consider this article as a starting point?
 
 
 
 Thank you very much folks.
 
 
 Le 23 janv. 09 à 04:21, Geoff Fritz a écrit :
 
 On Thu, Jan 22, 2009 at 08:30:56PM +0100, bsd wrote:
 Hello,
 
 
 I am using a FreeBSD server 7.0 as a Samba server and wanted to  
 backup
 this server using Quantum DLT tape.
 
 I would need a simple tool that could be configured rapidl at that's
 stable enough to provide high security for the data.
 Ideally any good pointer to a howto would be a must!
 
 I've had success with Bacula for a small office file server  
 (FreeBSD) and
 Windows clients clients.  It supports SSL for the data transfer (if  
 the
 client and server are not the same machine), as well as data  
 encryption:
 
 http://www.bacula.org/en/dev-manual/Data_Encryption.html
 
 I haven't used the encryption myself.  Bacula has a bit of a  
 learning curve
 to set up corretly, but I really enjoy its use once it it set up  
 correctly.
 
 -- Geoff
 
 
 Gregober --- PGP ID -- 0x1BA3C2FD
 bsd @at@ todoo.biz
 
 
 P Please consider your environmental responsibility before printing  
 this e-mail
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Dell 2900 invalid partition table

2009-01-23 Thread Jerry McAllister
On Thu, Jan 22, 2009 at 11:50:41PM +0100, Len Conrad wrote:

  freebsd 7.1
  
  Dell 2900, perc 6/i controller with 4 SATA disks in RAID1.
  
  We get all the through the disc1 install, reboot,
  
  arrive up to 
  
  Press ctrl-E for remote access setup  within 5 secs 
  
  then die with
  
  Invalid partition table
  
  We had RAID5, same problem, switch to RAID1.
  
  suggestions?
 
 Is your BIOS set to boot from the right device - the raid and
 not the one of the disks in it???
 
 
 Boot sequence says 1. drive c:
 

Hmmm.   That could be the problem.
Do any of the other choices look interesting?

 controller disk setup shows RAID1 ready.
 
 I've looked everywhere to see if I can point the boot at RAID1.

I don't have a machine handy right now so I can look and see how
I set the BIOS (which was almost 2 years ago, so my memory of foggy).
They are a 9 hour drive away.   But, I did manage to get it.   There
was a difference.  The drives in the raid were SAS.It doesn't 
seem like that should matter, but...

jerry

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


Re: Registry corrupt?

2009-01-23 Thread Andreas Rudisch
On Fri, 23 Jan 2009 17:56:45 +0300
Odhiambo Washington odhia...@gmail.com wrote:

 On Fri, Jan 23, 2009 at 5:19 PM, Jack L. Stone ja...@sage-american.comwrote:
 
  During an upgrade from fbsd-6.3 -- fbsd-7.0, something strange happened.
  Any ideas?

 You'll most likey have to reinstall all ports!
 portupgrade -a

More like:

http://www.freebsd.org/releases/7.0R/announce.html
(6.3 - 7.1 == upgrade between major versions)

Updating Existing Systems

An upgrade of any existing system to FreeBSD 7.0-RELEASE constitutes a
major version upgrade, so no matter which method you use to update an
older system you should reinstall any ports you have installed on the
machine. This will avoid binaries becoming linked to inconsistent sets
of libraries when future port upgrades rebuild one port but not others
that link to it. This can be done with:

# portupgrade -faP

after updating your system. Note some of the tools to help with this or
the instructions below for FreeBSD Update are not installed by default
(e.g. portupgrade, gpg, or similar tools like portmaster).

Instead to use portupgrade you can wipe out _all_ installed packages
(pkg_delete -a) and reinstall them again.

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpMLzr66kHxA.pgp
Description: PGP signature


Re: Registry corrupt?

2009-01-23 Thread Wojciech Puchar

it's not windows. there are fortunately no registry in unix.

your problem explanation is too short to help you.

describe something more.
and what you mean rehash?

On Fri, 23 Jan 2009, Jack L. Stone wrote:


During an upgrade from fbsd-6.3 -- fbsd-7.0, something strange happened.
Some of the programs will not run after rehash or even when given the
precise path to the program. System doesn't see several but not all
programs. I've upgraded several servers (using source files -- cvsup)
withoug any such problem. It's just this one machine.

I've suspected the registry is not updating, but really don't know as I've
never encountered this issue before in all the years using FBSD.

Any ideas?

Jack

(^_^)
Happy trails,
Jack L. Stone

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



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


Re: Registry corrupt?

2009-01-23 Thread Wojciech Puchar

withoug any such problem. It's just this one machine.


Some programs will not run because of a library version bump. Those
programs will need to be recompiled, i.e. rebuild all ports.


it's as simple as installing compat6x from ports/misc
!

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


Re: how to create a DVD backup filesystem?

2009-01-23 Thread Wojciech Puchar

Guys, I've got several directories off ~kline/ that I want to
store permanently.  Like all my development code in ~/devel, and
all my music mp3's and ogg's in ~/Music, and all my online and
mp3 books from libribox.org in ~/readings.  There are PDF files
and HTML and a slew of other stuff.


man mkisofs
man growisofs

that's all.

mkisofs creates ISO image
growisofs records DVD

you can make growisofs run mkisofs in-flight so no image file has to be 
made.





either a few CD's or one DVD?  Right now, I'm cross-backing up


it's best NOT to use GUI interfaces for this. as always - doing it from 
command line is much easier when you learn.



and - you ARE NOT forced to use ISO-9660 filesystem.
in unix recorded DVD is just readonly disk, you can use any filesystem it 
supports.


if you do this often and your DVD's don't need to be windoze-readable 
(which could be adventage sometimes) then:


- create partitions of exactly 9180416 sectors (which is 2295104 2K 
sectors - exactly DVD size)

- use newfs to create partition. for best results use options

 newfs -m 0 -b 32768 -f 4096 -i 524288

note that -i specify how much bytes is available per inode. more 
given=less inodes created and less space wasted, but you may run out of 
inodes storing small files.

this example allows you to store about 8900 files.

- mount it and record what you like as usual
- unmount and use growisofs to record a disc.

use that disc with
mount -r /dev/cd0 /mountpoint


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


Re: how to create a DVD backup filesystem?

2009-01-23 Thread Wojciech Puchar

Perhaps there is something like that, but I do it manually like this:

* mkdir cdr/
* copy approx 3.0 to 3.1 GB worth of files into cdr/
* mkisofs -R -J -o cdr.iso cdr/

Then use dvdisaster (/usr/ports/sysutils/dvdisaster) to


thank you for pointing out such a nice tool!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: mounting Nokia N95

2009-01-23 Thread Ramiro Caso

 Date: Fri, 23 Jan 2009 21:17:09 +1000
 From: shin...@maydias.com
 To: freebsd-questions@freebsd.org
 Subject: mounting Nokia N95
 
 is there any utility or pkg in freebsd that will allow me to browse my 
 nokia N95 files?  i have quite a substantial amount of files i wish to 
 backup, if nothing else the pictures.
 
 Any help is appreciated.

What about this? Try in /usr/ports:

# make print-index
# make search key=mobile

This should give you some ports, like gammu, kmobiletools and obexapp. Some of 
them are for more than just browsing files, but it's just a suggestion.

_
¿Quieres saber cómo va a estar el clima mañana? ¡Ingresa ahora a MSN!
http://tiempo.cl.msn.com/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: technical drawing program

2009-01-23 Thread Frank Staals

Boris Samorodov wrote:

On Fri, 23 Jan 2009 11:28:19 +0100 Frank Staals wrote:

  

It's a shame the FreeBSD port's version is so old (6.0-pre23 while the
current version is allready  6.0-pre31 (or even 6.0-pre32 I'm not
sure) though.



Do you know that saying it's a shame... you are actually speaking
about yourself either? The port is maintained by po...@freebsd.org
(it's a public maillist). That means that the port is maintained by
all FreeBSD users uncluding you. Since you use this port you may
consider updating the port and send a PR about it. That's may be
your contribution to the project. You even may become a maintainer
of the port. Thanks for your contribution in advance!


WBR
  
Hehe, to be honest I kind of expected this kind of reply from someone. 
Some time ago I attempted something like a port, however my knowlege at 
that time was not sufficient to get it running. Currently I'm running an 
OS X system as my default platform (since FreeBSD still lacked/lacks 
decent sleep/hybernation support; and for that seriously applies I do 
not have the knowlege to fix it) so maintaining a port is going to be 
difficult. However maybe I'll try again just to prove myself I can 
create a port.


So in short: When I was saying it's a shame.. I was also refering to 
myself indeed ...


Regards,

--

- Frank

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


Re: how to create a DVD backup filesystem?

2009-01-23 Thread Polytropon
On Fri, 23 Jan 2009 16:16:35 +0100, cpghost cpgh...@cordula.ws wrote:
 Yes, but keep in mind that /dev/dvd points to /dev/acd0 and
 not to /dev/cd0:

This can be changed by link cd0 dvd in /etc/devfs.

% ll /dev/dvd
lrwxr-xr-x  1 root  wheel  3 Jan 23 17:16 /dev/dvd@ - cd0



 IIRC, growisofs needs atapicam, i.e. /dev/cd0, but I may be mistaken.

Yes, I think it does. Its manpage mentiones /dev/dvd explicitely,
so if you're using atapican anyways, it's quite handy to have the
symlink above - for copy + paste from the manpage. :-)

Tools like cdrdao and cdrecord use atapicam, too.



 If you use tar to write to CD/DVD, you can't mount that directly
 (unless it's supported as a special fusefs filesystem).

You can't? You *don't need* to. :-)



 If you write a UFS filesystem to CD/DVD, you can mount it from
 FreeBSD (and probably other BSDs like NetBSD, OpenBSD, ...), but
 not from, say, Windows. So yes, it will work on FreeBSD.

That's quite nice to avoid curious people from browsing the CD.
on Windows, the media cannot be read. :-)



 If you write an ISO-9660 filesystem on the CD/DVD, you can mount it
 from FreeBSD/Linux/Unix/... and Windows. It will work.

And on Mac OS X, too.



 As archive, I'd recommend a filesystem that can be mounted by
 as many platforms as possible, and that is currently ISO-9660
 with RockRidge and Joliet.

I would recommend that way, too. Having read support for as
many platforms as possible is always a good idea. As you already
mentioned, it may be interesting if your machine for reading
back data is surprisingly not a FreeBSD machine.




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


x11-toolkits/linux-gtk2 problem/question.

2009-01-23 Thread Jimmie James
While it looks like it install/runs fine (i.e, linux-flash9 works, skype 
works) the following error is show
(process:47722): GLib-WARNING **: getpwuid_r(): failed due to unknown 
user id (0)


Following this advice, all I could find, 
http://archive.netbsd.se/?ml=freebsd-emulationa=2005-11t=1506833

The fix is, to tell /compat/linux/etc/nsswitch.conf to look at NIS too.
Is UID 0 in your /etc/passwd? Can you try changeing
/compat/linux/etc/nsswitch.conf to something like this:

passwd: files nisplus nis
shadow: files nisplus nis
group:  files nisplus nis

Uid 0 is in my /etc/passwd, there's no /compat/linux/etc/passwd., and 
changing /compat/linux/etc/nsswitch.conf to read the same doesn't fix 
the error message.


Advice, suggestions?

#portupgrade -f x11-toolkits/linux-gtk2
---  Reinstalling 'linux-gtk2-2.6.10_1' (x11-toolkits/linux-gtk2)
---  Building '/usr/ports/x11-toolkits/linux-gtk2'
===  Cleaning for linux-gtk2-2.6.10_1
===  Extracting for linux-gtk2-2.6.10_1
= MD5 Checksum OK for rpm/i386/fedora/4/gtk2-2.6.10-2.fc4.4.i386.rpm.
= SHA256 Checksum OK for rpm/i386/fedora/4/gtk2-2.6.10-2.fc4.4.i386.rpm.
= MD5 Checksum OK for rpm/i386/fedora/4/gtk2-engines-2.6.3-2.i386.rpm.
= SHA256 Checksum OK for rpm/i386/fedora/4/gtk2-engines-2.6.3-2.i386.rpm.
===   linux-gtk2-2.6.10_1 depends on file: /usr/local/bin/rpm2cpio - found
===  Patching for linux-gtk2-2.6.10_1
===  Configuring for linux-gtk2-2.6.10_1
---  Backing up the old version
---  Uninstalling the old version
---  Deinstalling 'linux-gtk2-2.6.10_1'
pkg_delete: package 'linux-gtk2-2.6.10_1' is required by these other 
packages

and may not be deinstalled (but I'll delete it anyway):
nspluginwrapper-1.2.2_1
[Updating the pkgdb format:bdb_hash in /var/db/pkg ... - 1109 packages 
found (-1 +0) (...) done]

---  Installing the new version via the port
===  Installing for linux-gtk2-2.6.10_1
===   linux-gtk2-2.6.10_1 depends on file: 
/compat/linux/usr/lib/libatk-1.0.so.0 - found
===   linux-gtk2-2.6.10_1 depends on file: 
/compat/linux/usr/lib/libjpeg.so.62 - found
===   linux-gtk2-2.6.10_1 depends on file: 
/compat/linux/usr/lib/libpng12.so.0 - found
===   linux-gtk2-2.6.10_1 depends on file: 
/compat/linux/usr/lib/libtiff.so.3 - found
===   linux-gtk2-2.6.10_1 depends on file: 
/compat/linux/usr/lib/libpango-1.0.so.0 - found

===   linux-gtk2-2.6.10_1 depends on file: /compat/linux/bin/sh - found
===   linux-gtk2-2.6.10_1 depends on file: 
/compat/linux/usr/X11R6/lib/libXrender.so.1 - found

===   Generating temporary packing list
cd /usr/ports/x11-toolkits/linux-gtk2/work  /usr/bin/find * -type d 
-exec /bin/mkdir -p /compat/linux/{} \;
cd /usr/ports/x11-toolkits/linux-gtk2/work  /usr/bin/find * ! -type d 
| /usr/bin/cpio -pm -R root:wheel /compat/linux

28726 blocks
(process:47722): GLib-WARNING **: getpwuid_r(): failed due to unknown 
user id (0)

===   Running linux ldconfig
/compat/linux/sbin/ldconfig -r /compat/linux
===   Registering installation for linux-gtk2-2.6.10_1
===  Cleaning for linux-gtk2-2.6.10_1
---  Cleaning out obsolete shared libraries
[Updating the pkgdb format:bdb_hash in /var/db/pkg ... - 1110 packages 
found (-0 +1) . done]




--
Over the years I've come to regard you as people I've met.

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


Re: Registry corrupt?

2009-01-23 Thread Daniel Bye
On Fri, Jan 23, 2009 at 05:02:27PM +0100, Wojciech Puchar wrote:
 it's not windows. there are fortunately no registry in unix.
 
 your problem explanation is too short to help you.
 
 describe something more.
 and what you mean rehash?

`rehash' is a builtin in some shells - csh and zsh come to mind. It is
used to cause the shell to reread the PATH environment variable and
rebuild its internal hash (hence rehash) list of items in the path. The
hash is used by the shell as a mapping between program names and their
canonical location on the file system. It's what lets you say `ls' instead
of having to say `/bin/ls', etc.

If you install a new port then such shells will not immediately pick up the
new executable - which is when you need to `rehash'. bash handles these
cases differently, obviating the need for the rehash command.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp7wRnAMJQLI.pgp
Description: PGP signature


Re: Portmanager gives me an error message

2009-01-23 Thread Chris Whitehouse

Eduardo Cerejo wrote:

I'm trying to upgrade any port with portmanager because portupgrade keeps 
failing all the time.  No matter what port I try to upgrade I get this error:

sudo portmanager x11/xterm -l -u


According to the man page you don't need the -u when doing a single 
port, see EXAMPLES.


Chris


Password:
MGrStrlen error: NULL marker not found in string
Assertion failed: (0), function MGrStrlen, file MGrStrlen.c, line 54.
Abort

I'm running FreeBSD 7.1 release.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



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


RE: Dumb ipnat question

2009-01-23 Thread Michael VanLoon
I didn't find IPFILTER in either the GENERIC or NOTES kernel files, so no, I 
didn't compile it in.  I was wondering about it, though, based on older kernel 
help messages I found on the net ( 10 years old).
 
I'll give both of those options a try.  Thanks!
 
- Michael



From: Odhiambo Washington [mailto:odhia...@gmail.com]
Sent: Fri 1/23/2009 6:39 AM
To: Michael VanLoon
Cc: freebsd-questions@freebsd.org
Subject: Re: Dumb ipnat question


On Fri, Jan 23, 2009 at 2:43 AM, Michael VanLoon micha...@noncomposmentis.net 
wrote:


I have built a simple 7.1 system in a VM.  I built a custom kernel that 
is basically GENERIC minus some hardware stuff I don't need, plus a few things 
that look cool.

When I attempt to run the ipnat command, I get the error:
/dev/ipnat: open: No such file or directory

Sure enough, there are no ip* devices in /dev/.  In the olden days, 
when I used to do a lot of BSD hacking, you used MAKEDEV to make the devices 
you wanted.  Nowadays, it's done with devfs.  I believe the upshot is that it's 
supposed to be semi-automagic, isn't it?

Anyway, what am I doing wrong?  What do I need to configure to use 
ipnat and then later ipfw or ipfilter?


Did you load the modules?
ipl_load=YES in /boot/loader.conf and reboot OR
kldload ipl

If you did not compile IPFILTER in the kernel, then you must load the module.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
The only time a woman really succeeds in changing a man is when he is a baby.
 - Natalie Wood

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


Re: Registry corrupt?

2009-01-23 Thread cpghost
On Fri, Jan 23, 2009 at 05:03:06PM +0100, Wojciech Puchar wrote:
  withoug any such problem. It's just this one machine.
 
  Some programs will not run because of a library version bump. Those
  programs will need to be recompiled, i.e. rebuild all ports.
 
 it's as simple as installing compat6x from ports/misc
 !

Yes, you're quite right. But unfortunately, it's not a panacea.

Remember the recent bumps to libintl which affected an insane number
(i.e. nearly all) of ports? Update just this port after upgrading, and
nearly all your existing ports are unusable and need to be recompiled
against libintl.so.8. Since misc/compat6x doesn't contain libintl.so.[765]
(it's not a system library), you'd still be out of luck.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to create a DVD backup filesystem?

2009-01-23 Thread perryh
 You can always try to tar it up directly

 tar -czf /dev/acd0 ~kline/ ~devel/

Does it actually work to write to a burner without intervention by
the likes of cdrecord or burncd?  If so, should it also be possible
to burn an existing .iso by something like

  dd if=cd1.iso of=/dev/acd0 bs=64b
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


JMicron JMB363 lossage?

2009-01-23 Thread Chris Jones
Now it appears that this machine fails under heavy I/O load. I was 
trying again to copy data across from one drive to the other, and I got 
a bunch of write errors. Unfortunately the kernel was in single-user 
mode, so I don't have a good record of the errors. Before I investigate 
more deeply, has anybody seen this before? Here are some (hopefully) 
relevant excerpts from dmesg:


FreeBSD 7.0-RELEASE #0: Sun Nov 16 18:08:04 MST 2008
   ch...@evilmax.cjones.org:/usr/src/sys/amd64/compile/EVILMAX
...
ACPI APIC Table: DELL   PE_SC3  
...
acpi0: DELL PE_SC3 on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
...
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
...
pcib6: ACPI PCI-PCI bridge irq 35 at device 10.0 on pci0
pci6: ACPI PCI bus on pcib6
atapci1: JMicron JMB363 SATA300 controller port 
0xdce0-0xdce7,0xdcd8-0xdcdb,0xdce8-0xdcef,0xdcdc-0xdcdf,0xdcf0-0xdcff 
mem 0xefffe000-0xefff irq 35 at device 0.0 on pci6

atapci1: [ITHREAD]
atapci1: AHCI called from vendor specific driver
atapci1: AHCI Version 01.00 controller with 2 ports detected
ata4: ATA channel 0 on atapci1
ata4: [ITHREAD]
ata5: ATA channel 1 on atapci1
ata5: [ITHREAD]
ata6: ATA channel 2 on atapci1
ata6: [ITHREAD]
...
ad8: 238418MB WDC WD2500YS-18SHB1 20.06C06 at ata4-master SATA300
ad10: 238418MB WDC WD2500YS-18SHB1 20.06C06 at ata5-master SATA300
WARNING: Expected rawoffset 0, found 63
WARNING: Expected rawoffset 0, found 63
...
Trying to mount root from ufs:/dev/ad8s1a

I was copying from ad8 to gvinum volumes on ad10, and I was alternately 
getting errors from ad8 or ad10, depending on whether I was using dump 
or tar to do the copying. It appears to only happen under heavy disk 
load, after 5-10 minutes.


Chris

Lowell Gilbert wrote:

Chris Jones ch...@cjones.org writes:

  

I have an amd64 machine with two drives. I've got my system set up on
ad8, and I'm building a RAID0 array using gvinum that will span ad8
and ad10. So for now, I have partitions on ad8 plus a set of volumes
on ad10 that I want to move all my data to.

Today I was doing a test move of all the data, using dump | restore
like this:

# dump -0aL -f - /var | ( cd /mnt/var  restore -rf - )

I got about a dozen messages like this:

 DUMP: read error from /dev/ad8s1d: Bad address: [block 10992192]:
count=5120

What is causing this message, and is it a cause for alarm? Here's my
bsdlabel for ad8s1:

# /dev/ad8s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 a:  104857604.2BSD 2048 16384 8
 b:  4123872  1048576  swap
 c: 4882795470unused0 0 # raw part,
don't edit
 d: 104857600  51724484.2BSD 2048 16384 28528
 e:  2097152 1100300484.2BSD 2048 16384 28528
 f: 376152347 1121272004.2BSD 2048 16384 28528

Thanks in advance for any help.



It could be a serious problem, but is not necessarily such.
Can you use smarttools to query the disk firmware for *its*
opinion?

  

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


Re: technical drawing program

2009-01-23 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Boris Samorodov wrote:
 On Fri, 23 Jan 2009 11:28:19 +0100 Frank Staals wrote:
 
 It's a shame the FreeBSD port's version is so old (6.0-pre23 while the
 current version is allready  6.0-pre31 (or even 6.0-pre32 I'm not
 sure) though.
 
 Do you know that saying it's a shame... you are actually speaking
 about yourself either? The port is maintained by po...@freebsd.org
 (it's a public maillist). That means that the port is maintained by
 all FreeBSD users uncluding you. Since you use this port you may
 consider updating the port and send a PR about it. That's may be
 your contribution to the project. You even may become a maintainer
 of the port. Thanks for your contribution in advance!
 
 
 WBR

Well, maybe I might categorize things a bit.  There are programs, like inkscape
(which was mentioned), they're really far better at either doing drawing, or
modifying already finished drawaings.  These kinda programs (including the
biggest of them all, gimp), while being incredibly good at drawing, they fall
very far short of being technical drawing programs, which basically want to
help you lay out spcific items constructed mostly from lines, circles, etc,
packing them up into subitems which can then themselves be manipulated (like,
drawing a schematic of a transistor, saving it, and then dotting that transistor
all over).  A technia drawing program is what you want for that, and a art
drawing program is what you want if you are trying to get straight artistic
effects (like maybe a web page background.

There's a 3rd level, the Cad programs, they're usually based upon the technical
drawing programs, either directly, or merely extending the command set) but they
usually add in substantial support for active dimensioning.  If you're going to
do something really substantial, like drawing an architectural drawing, you
definitely want a CAD program, like maybe Autocad.  Drawback with those is that
they're definitely pricey, and definitely have a far harder learning curve.

If you wanted to limit yourself to technical drawing, your best bet is likely
the xfig program.  It's been around more than 20 years now, 20 years where there
has been steady improvements.  The interface is so well conceived, you don't
really even need to read teh manual to use it at the 80% level, and a little
thought can give you all the rest of it's capabilities.  This won't do you any
good if you're trying to do something like take the fog out of a picture, or
maybe remove red-eye, but if your goal is to produce a technical drawing at 0
cost, and with the least investment of your time, with results which can still
look very nice, then go look at xfig.

There's a second one ... I never really liked it all that well, but tgif seems
to be more integrated into using a browser as an active tool, and it's also had
all those years of active development.  Like I say, it's not by favorite, but if
you wanted to be able to look at 2 of the best technical drawing programs and
then make your choice in a more reasoned manner, then compare xfig with tgif.
They're both FreeBSD ports, both VERY well done, if you want technical drawing
without reliance on advanced pro-level features and dimensioning, this is the
way to go.

I never had a chance to look qcad over.  Maybe someone else who has that
experience with it could give a better critique of it, without sounding like a
salesman or a booster.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl6ClkACgkQz62J6PPcoOnFFQCZATA1VbpzcG83sN/+OuOmj2x2
H9AAn2tXB/eym3qf+bzpMUzXrXgaNwxG
=VGcz
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: shell scripting, how to auto-timeout?

2009-01-23 Thread Nerius Landys
 #!/bin/sh -T

 kill_all()
 {
echo 'killing everything'
kill $SPID $CPID 2 /dev/null
exit 0
 }

 trap kill_all SIGCHLD

 ./child 
 CPID=$!

 sleep 5 
 SPID=$!

 echo child is $CPID
 echo sleeper is $SPID
 wait

This is very nice.  However I'm getting one problem still.  My script
prints a Terminated to standard out, and this is bad because the
purpose of this java program is to print to standard out, so the
output gets jumbled.  The script I have is pasted below, and the
Terminated string seems to be printed out from the kill command that
kills the sleep thread.

#!/bin/sh -T

cd `dirname $0`
CLASSPATH=mapgen.jar
export CLASSPATH

kill_all()
{
kill $JAVA_PID  /dev/null 21
JAVA_KILL_EXIT_STATUS=$?
EXIT_STATUS=0
if [ $JAVA_KILL_EXIT_STATUS -eq 0 ]; then
echo Terminated infinite looping in Java process. 12
EXIT_STATUS=1
fi
kill $SLEEP_PID  /dev/null 21
exit $EXIT_STATUS
}

trap kill_all SIGCHLD

/usr/local/bin/java PipeGenerator $* 
JAVA_PID=$!

sleep 3 
SLEEP_PID=$!

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


newsyslog.conf and large numbers of Log Files

2009-01-23 Thread Martin McCormick
Can newsyslog be made to handle large numbers of log
files such as all the *.collect.log files produced in our mrtg
directory?

Each device produces a log of the polling session and
those logs get huge very quickly. There are 498 such files and
putting a separate line in /etc/newsyslog.conf for each file is
an absurd idea as we are always adding and removing devices from
our network.

The other alternative is a shell script to run that
would compress each file after renaming it, etc. That is not a
problem, but newsyslog already does that at least on single
files.

I did try path/*.collect.log and nothing happened.

Thanks for any ideas.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: jdk16

2009-01-23 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Peter Boosten wrote:
 Peter Boosten wrote:
 Brian McQueen wrote:
 I can't seem to find the files listed in the jdk16 port.  What are
 folks doing to get java going?  The urls listed in the port are not
 right, so the manual download step does not work.
 I use this one:

 ra% pkg_info -o diablo-jdk-1.6.0.07.02_3
 Information for diablo-jdk-1.6.0.07.02_3:

 Origin:
 java/diablo-jdk16

 
 Ah, and to complete your question: just start make all install clean (or
  portinstall diablo-jdk16 or whatever) and the install process will show
 you the right download locations.
 
 Peter
 

I've had incredibly solid experiences with the jdk1.6.0 port (it's the Sun one),
this one builds from scratch, needs no nursemaiding, and works EXTREMELY well
with the latest eclipse port.  I use the vi-plugin with eclipse (it's shareware,
you need to pay them about $18) and I swear, even the the vi-compatibility isn't
perfect, it's certainly serviceable.  More than that the guy who runs the vi
plugin actively tried to fix bugs.

With something like that available, I wouldn't personally even consider any of
the other java attempts.

I've got the source tars needed to build jdk1.6.0.  I'm utterly incapable of
figuring out the lawyerese about the legality of my giving anyone the sources.
If anyone who I know  trust on this list tells me it's ok, I would do whatever
was legal to help out, because the combination of the jdk1.6.0, eclipse-devel,
and the viplugin, it's a java environment to die for.

I've lately been playing a bit with torrent, might be willing to give that a try
too.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl6BeMACgkQz62J6PPcoOlDkACePpO7njbpUpGYt2PXo8vZ/AQZ
S9wAnj1rFJGtVFa580Wgu/dF46iXZpGg
=o2hd
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: newsyslog.conf and large numbers of Log Files

2009-01-23 Thread Matthew Seaman

Martin McCormick wrote:

Can newsyslog be made to handle large numbers of log
files such as all the *.collect.log files produced in our mrtg
directory?


newsyslog.conf(5):

G   indicates that the specified logfile_name is a shell pat-
tern, and that newsyslog(8) should archive all filenames
matching that pattern using the other options on this
line.  See glob(3) for details on syntax and matching
rules.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: newsyslog.conf and large numbers of Log Files

2009-01-23 Thread Martin McCormick
Matthew Seaman writes:
 G   indicates that the specified logfile_name is a shell 
 pat-
 tern, and that newsyslog(8) should archive all 
 filenames
 matching that pattern using the other options on this
 line.  See glob(3) for details on syntax and matching
 rules.

I am sorry. It looks like I didn't look closely enough. Many
thanks.

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


Re: technical drawing program

2009-01-23 Thread Michel Talon
Chuck Robey wrote:

I never had a chance to look qcad over.  Maybe someone else who has that
experience with it could give a better critique of it, without sounding
like a salesman or a booster.

I have used xfig and qcad. Qcad is definitely more complicated to use,
it is handled similarly to autocad, but, like autocad, it allows
to do precise 2D drawings. Basically qcad is a simplified 2D autocad.
I don't think, at least i am not able to do similar precise things with
xfig, which, on the other hand is convenient to insert schematic drawings
into Latex stuff. Since both are available for free, the OP can try both
and see what he prefers for his job.

-- 

Michel TALON

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


Re: LTSP in freeBSD

2009-01-23 Thread Chris Whitehouse

Mbung Linux wrote:

hello,

Right now ,i'm success to installing freeBSD in my computer,can you help me...
please send me how to building FreeBSD with LTSP,i want to make a small
networking,before i'm using fedora core 4.0 with LTSP 4.1.



Is this what you are looking for?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-diskless.html

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


Re: Keeping FreeBSD updated (the binary way)

2009-01-23 Thread Roger Olofsson



Svein Halvor Halvorsen skrev:

Hi, list!


I have just acquired a new computer to replace an old server. This older 
server has been running FreeBSD 5.3 since 2004 and most of its packages 
are way out of date. I've been scared of changing something in fear of 
rendering the machine unbootable, or some core applications unrunnable.


I want to make sure I have better routines this time around, when I'm 
starting a-fresh. I'd like to keep my system and packages fairly up to 
date, and still keep the compiling to a minimum.


Is it possible to pkg_add -r packages from -STABLE on the latest 
-RELEASE? That is, will the following work, or slowly render my system 
to an incoherent state:


1) Regularly run freebsd-update
2) Regularly run portsnap
3) Set my PACKAGESITE to the -STABLE location
4) Regularly run portupgrade -P


Will the postsnap'ed index always be in sync with what's available as 
precompiled packages for -STABLE? Will these -STABLE packages always run 
on my freebsd-update'd -RELEASE system? If some ports have the 
NO_PACKAGE bit set, will compiling them against dependencies from 
-STABLE work, as long as I've run portsnap?




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





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.12/1909 - Release Date: 2009-01-22 07:08




Hello Svein,

When I recently went from 6 to 7 I realized that it is less 
time-consuming to wipe the machine clean and install fresh from the cd.


The pre-condition for this is separated disks for system and data.

/R



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


Re: How to re-start freebsd-update?

2009-01-23 Thread Ian
On Fri, 23 Jan 2009 12:32:39 Ian wrote:
 Hi,
 I've started upgrading a machine from 7.0 to 7.1 using freebsd-update. It's
 the first time I've upgraded to a new os version with it (always used
 cvsup/ make world  mergemaster before).

 All was going well until it came to merging the new  old conf files. I
 wasn't quite sure what to do when asked to edit some of the files (it's not
 the same as mergemaster), so I did what I thought was best (having made a
 backup of /etc first!)

 Anyway, once that was finished, it then showed me the resulting merged
 files and asked if each one looked reasonable. I answered yes to the first
 one, but with the second file wasn't right, so I answered no - assuming it
 would give me the chance to edit the file again (like mergemaster does).

 Instead it just dumped me back at the command prompt with no indication as
 to how to proceed from there.

 I tried running the freebsd-update install command again, but it said no
 updates are available to install, run freebsd-update fetch first.

 Is there some way I can resume the upgrade process? Or do I need to do a
 rollback and then fetch  update again?

 Cheers,

Well I ended up doing a rollback and then ran the update again. It didn't try 
to download all the updates again, just installed them again, so it wasn't so 
painful. Now I understand how to use the conf file merging part, it's all 
very easy and seems to have worked correctly - very nice!

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


signature.asc
Description: This is a digitally signed message part.


Re: shell scripting, how to auto-timeout?

2009-01-23 Thread Nerius Landys
I decided that I want the exec line at the end of the script because I
want the exit code of the script to be the exit code of the Java
process.  I'm willing to live with the fact that the sleep thread will
wait its full 3 seconds. So my final script is this:

#!/bin/sh

cd `dirname $0`
CLASSPATH=mapgen.jar
export CLASSPATH

THIS_SCRIPT_PROCESS=$$
sleep 3  kill $THIS_SCRIPT_PROCESS  /dev/null 21  \
  echo Terminated infinite looping. 12 
#SLEEP_PROCESS=$!

exec /usr/local/bin/java $*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Portmanager gives me an error message

2009-01-23 Thread Eduardo Cerejo
On Fri, 23 Jan 2009 06:28:19 -0500
Jerry ges...@yahoo.com wrote:

 On Thu, 22 Jan 2009 20:00:26 -0500
 Eduardo Cerejo ejcer...@optonline.net wrote:
 
 I'm trying to upgrade any port with portmanager because portupgrade
 keeps failing all the time.  No matter what port I try to upgrade I
 get this error:
 
 sudo portmanager x11/xterm -l -u
 Password:
 MGrStrlen error: NULL marker not found in string
 Assertion failed: (0), function MGrStrlen, file MGrStrlen.c, line 54.
 Abort
 
 I'm running FreeBSD 7.1 release.
 
 I am assuming you have the latest version of portmanager and an updated
 ports tree. Try just running portmanager in a generic fashion; i.e.:
 
   portmanager -u -l -p -y
 
 See if that corrects the problem. Also, can you run it as root rather
 than using sudo? I have no idea if that would make any difference;
 however, I never use sudo when running portmanager myself.
 
 Also, you probably have portsclean installed. Clean out
 your /usr/ports/distfiles directory and then run:
 
   portsclean -CLP
 
 Prior to running portmanger. It cannot hurt and it might fix something.
 
 You might also consider doing a deinstall/reinstall of portmanger if
 you feel the program might have gotten damaged.
 
 
 -- 
 Jerry
 ges...@yahoo.com
 
 FOR SALE:
   Parachute.  Used once.
   Never opened.  Slightly Stained.
 

It makes no difference at all.  I get the same kind of errors. Do you know if 
portmaster is less buggy than portupgrade?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Portmanager gives me an error message

2009-01-23 Thread Eduardo Cerejo
On Fri, 23 Jan 2009 17:04:03 +
Chris Whitehouse cwhi...@onetel.com wrote:

 Eduardo Cerejo wrote:
  I'm trying to upgrade any port with portmanager because portupgrade keeps 
  failing all the time.  No matter what port I try to upgrade I get this 
  error:
  
  sudo portmanager x11/xterm -l -u
 
 According to the man page you don't need the -u when doing a single 
 port, see EXAMPLES.
 
 Chris
 
  Password:
  MGrStrlen error: NULL marker not found in string
  Assertion failed: (0), function MGrStrlen, file MGrStrlen.c, line 54.
  Abort
  
  I'm running FreeBSD 7.1 release.
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
  
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

I want it to do the same thing that 'portupgrade -R whateverport' does
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


KDE: What a monster!

2009-01-23 Thread Eduardo Cerejo
I just finished installing kde4, and it can barely run on my old p4 machine!  
Where has kde gone?  Is the developing team trying to beat VISTA?  Pitiful at 
best!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Registry corrupt?

2009-01-23 Thread Da Rock
On Fri, 2009-01-23 at 17:02 +0100, Wojciech Puchar wrote:
 it's not windows. there are fortunately no registry in unix.
 
 your problem explanation is too short to help you.
 
 describe something more.
 and what you mean rehash?
 

Rehashing forces the shell to reinitialise (for want of a better term)
so that it rechecks the path and can sometimes discover new programs
installed if they don't seem to work. Alternatively you can exit and
either login again, or restart the shell (depending on how you obtained
thet shell in the first place)
.
 On Fri, 23 Jan 2009, Jack L. Stone wrote:
 
  During an upgrade from fbsd-6.3 -- fbsd-7.0, something strange happened.
  Some of the programs will not run after rehash or even when given the
  precise path to the program. System doesn't see several but not all
  programs. I've upgraded several servers (using source files -- cvsup)
  withoug any such problem. It's just this one machine.
 
  I've suspected the registry is not updating, but really don't know as I've
  never encountered this issue before in all the years using FBSD.
 
  Any ideas?
 
  Jack
 
  (^_^)
  Happy trails,
  Jack L. Stone
 
  System Admin
  Sage-american
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: KDE: What a monster!

2009-01-23 Thread Wojciech Puchar

I just finished installing kde4, and it can barely run on my old p4 machine!  
Where has kde gone?
Is the developing team trying to beat VISTA?  Pitiful at best!
Now Microsoft can say AndYou all told that linux is so much better, 
but now we see the truth



anyway what a sense of using it under unix. You run unix to get unix
environment isn't it? :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Portmanager gives me an error message

2009-01-23 Thread Chris Whitehouse

Eduardo Cerejo wrote:

On Fri, 23 Jan 2009 17:04:03 +
Chris Whitehouse cwhi...@onetel.com wrote:


Eduardo Cerejo wrote:

I'm trying to upgrade any port with portmanager because portupgrade keeps 
failing all the time.  No matter what port I try to upgrade I get this error:

sudo portmanager x11/xterm -l -u
According to the man page you don't need the -u when doing a single 
port, see EXAMPLES.


Chris


Password:
MGrStrlen error: NULL marker not found in string
Assertion failed: (0), function MGrStrlen, file MGrStrlen.c, line 54.
Abort

I'm running FreeBSD 7.1 release.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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


I want it to do the same thing that 'portupgrade -R whateverport' does


What happens if you run as root

# portmanager x11/xterm -l

?
What version of portmanager are you using?

# portmanager -v


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


Re: Portmanager gives me an error message

2009-01-23 Thread Chris Whitehouse

Chris Whitehouse wrote:

Eduardo Cerejo wrote:

On Fri, 23 Jan 2009 17:04:03 +
Chris Whitehouse cwhi...@onetel.com wrote:


Eduardo Cerejo wrote:
I'm trying to upgrade any port with portmanager because portupgrade 
keeps failing all the time.  No matter what port I try to upgrade I 
get this error:


sudo portmanager x11/xterm -l -u
According to the man page you don't need the -u when doing a single 
port, see EXAMPLES.


Chris


Password:
MGrStrlen error: NULL marker not found in string
Assertion failed: (0), function MGrStrlen, file MGrStrlen.c, line 54.
Abort

I'm running FreeBSD 7.1 release.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org



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


I want it to do the same thing that 'portupgrade -R whateverport' does


What happens if you run as root

# portmanager x11/xterm -l

?
What version of portmanager are you using?

# portmanager -v


In fact (replying to my own message :p)

chr...@muji% portmanager -v
portmanager must be run as root

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


Re: KDE: What a monster!

2009-01-23 Thread prad
On Sat, 24 Jan 2009 01:25:12 +0100 (CET)
Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:

 Now Microsoft can say AndYou all told that linux is so much
 better, but now we see the truth

:D :D :D
actually my wife is using kde4 on suse.
it's not too bad there for her needs at least, but i try to stay clear
of her computer :D
i did like kde3, but now i'm a dwm person!

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: KDE: What a monster!

2009-01-23 Thread Geoff Fritz
On Fri, Jan 23, 2009 at 07:15:47PM -0500, Eduardo Cerejo wrote:
 I just finished installing kde4, and it can barely run on my old p4
 machine!  Where has kde gone?  Is the developing team trying to beat VISTA?
 Pitiful at best!

Try: 

  cd /usr/ports/x11-wm/evilwm  make install clean

Can't beat a window manager with a  binary size of 29k and a resident
memory footprint under 2MB.  No window decorations, leaving lots of room
for xterms.  Launch everything via script or shell alias.  Very keyboard
driven.

If only I could find a terminal program that was smaller than rxvt I'd be
happy.

I feel your pain on the bloated software phenomenom.  That's the pain of
progress, I suppose.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: KDE: What a monster!

2009-01-23 Thread RW
On Fri, 23 Jan 2009 19:15:47 -0500
Eduardo Cerejo ejcer...@optonline.net wrote:

 I just finished installing kde4, and it can barely run on my old p4
 machine!  Where has kde gone? 

I think kde3 is going to be around for some time to come. Hopefully
kde4 will have improved by the time it's phased-out. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


opera 9.63 installation and Qt version

2009-01-23 Thread Saifi Khan
Hi:

Qt 4.4.3 is installed on my FreeBSD 7.1 i386 system.

Now, when i attempt to install Opera 9.63 from the ports, it tries to
download Qt 3.3.8
Is there a way to modify the installation script so that Opera can use
the installed qt 4.4.3 version ?

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


Re: how to create a DVD backup filesystem?

2009-01-23 Thread Gary Kline
On Fri, Jan 23, 2009 at 09:14:07AM +0100, Polytropon wrote:
 On Thu, 22 Jan 2009 23:45:16 -0800, Gary Kline kl...@thought.org wrote:
  On Thu, Jan 22, 2009 at 10:26:22PM -0700, Tim Judd wrote:
   You can always try to tar it up directly
   
   tar -czf /dev/acd0 ~kline/ ~devel/
   
   Good luck.
  
  
  I do tar ~kline --bzip'd-- and scp it around.  3 times/week.  I
  want my most important stuff, ~/[DOT] files too, on a DVD.
  Y'never know when a meteor will destroy the Earth... .
 
 Using tar onto acd may not work, but utilizing atapicam, it could
 eventually work with cd directly:
 
   % tar cvjf /dev/cd0 ~/.* ~/devel ~/music ~/texts
 
 But this does not (!) make the media mountable! You may see that
 as a disadvantage, but maybe it's not: You can access it now
 directly without needing to mount it, and you can extract from
 it by selection, e. g.
 
   % tar xvjf /dev/cd0 ~/music
 
 to only extract the music/ subtree.
 
 The tar file system is best for interoperability because (if
 I may say this) every UNIX-like OS can read tar, no matter if you
 put it n discs, disks, tapes or even hard disks or USB sticks.
 
 

Hm.  Thanks for the idea.  I never considered putting a tarball
directly onto a DVD, but it makes sense.  On my ancient Kayak my
4mm tape drive still works, and I have that cron'd too.
(Trouble with the tape drive is that its tapes won't be readable
except on this drive...  But the DVD stores will.)

gary

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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.23a release of Jottings: http://jottings.thought.org/index.php

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


Re: Portmanager gives me an error message

2009-01-23 Thread E. J. Cerejo

Chris Whitehouse wrote:

Chris Whitehouse wrote:

Eduardo Cerejo wrote:

On Fri, 23 Jan 2009 17:04:03 +
Chris Whitehouse cwhi...@onetel.com wrote:


Eduardo Cerejo wrote:
I'm trying to upgrade any port with portmanager because portupgrade 
keeps failing all the time.  No matter what port I try to upgrade I 
get this error:


sudo portmanager x11/xterm -l -u
According to the man page you don't need the -u when doing a single 
port, see EXAMPLES.


Chris


Password:
MGrStrlen error: NULL marker not found in string
Assertion failed: (0), function MGrStrlen, file MGrStrlen.c, line 54.
Abort

I'm running FreeBSD 7.1 release.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org



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


I want it to do the same thing that 'portupgrade -R whateverport' does


What happens if you run as root

# portmanager x11/xterm -l

?
What version of portmanager are you using?

# portmanager -v


In fact (replying to my own message :p)

chr...@muji% portmanager -v
portmanager must be run as root

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




0.4.1_9, it happens the same thing running it under root.  I'll try to 
reinstalling it tomorrow and see what happens.

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


swap_pager complaints but not using swap

2009-01-23 Thread Dieter
AMD64  FreeBSD 7.0  2 GiB main memory

My console says:

login: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096
swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096
swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096
swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096

pstat -sk
Device  1K-blocks UsedAvail Capacity
/dev/ad6s10   4590208   96  4590112 0%

Wow, using a whole 96K of swap.  I don't see any disk related
complaints in dmesg.

Is this something to worry about?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


port openoffice.org-devl (3.1.20081224) installs fine but does not run

2009-01-23 Thread Matthias Apitz

Hello,

I've compiled and installed the port editors/openoffice.org-3-devel
(version openoffice.org-3.1.20081224) without, but OpenOffice does not
start:

$ openoffice.org-DEV300_m38
/libexec/ld-elf.so.1: Shared object libuno_sal.so.3 not found, required by 
soffice

the missing shared lib is one of those mentioned during the end of the
installation:


3. If you run into problems
--
If you somehow run into problems, please remove the already
installed .openoffice.org3 dir in your homedir. Redo the user
installation and the problems should go away.

===   Registering installation for openoffice.org-3.1.20081224
=== SECURITY REPORT: 
  This port has installed the following files which may act as network
  servers and may therefore pose a remote security risk to the system.
/usr/local/openoffice.org-DEV300_m38/openoffice.org/basis3.1/program/libnspr4.so
/usr/local/openoffice.org-DEV300_m38/openoffice.org/basis3.1/program/libucpdav1.so
/usr/local/openoffice.org-DEV300_m38/openoffice.org/ure/lib/libuno_sal.so.3
/usr/local/openoffice.org-DEV300_m38/openoffice.org/basis3.1/program/libcurl.so.3.0.0
/usr/local/openoffice.org-DEV300_m38/openoffice.org/basis3.1/program/python-core-2.3.4/lib/lib-dynload/_socket.so

and the lib is there as I can see with ls(1) and file(1); I've watched
with truss(1) what the linker is lookin up as directories (see below)
but it does not pass through 
/usr/local/openoffice.org-DEV300_m38/openoffice.org/ure/lib

What is the correct way to make this work?
Thx

matthias





 8546: wait4( 8551: 
execve(/usr/local/openoffice.org-DEV300_m38/openoffice.org3/program/soffice,missing
 argument,missing argument) = 0 (0x0)
0x,0xbfbfe498 8551: 
__sysctl(0xbfbfe484,0x2,0xbfbfe48c,0xbfbfe490,0x0,0x0) = 0 (0x0)
,0x2 8551: mmap(0x0,280,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 671571968 
(0x28076000)
,0x0 8551: munmap(0x28076000,280)= 0 (0x0)
,0x0 8551: __sysctl(0xbfbfe4e8,0x2,0x28072d7c,0xbfbfe4f0,0x0,0x0) = 0 (0x0)
,0x1 8551: mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 
671571968 (0x28076000)
) ERR#10 'No child processes'
 8551: issetugid(0x2806beac,0xbfbfe5b0,0x104,0x0,0x0,0x0) = 0 (0x0)
 8551: open(/etc/libmap.conf,O_RDONLY,0666)ERR#2 'No such file or 
directory'
 8546: read( 8551: access($ORIGIN/libuno_sal.so.3,0)   ERR#2 'No such file or 
directory'
10, 8551: access($ORIGIN/../basis-link/program/libuno_sal.so.3,0) ERR#2 'No 
such file or directory'
0x80657a0, 8551: access($ORIGIN/../basis-link/ure-link/lib/libuno_sal.so.3,0) 
ERR#2 'No such file or directory'
1023) 8551: open(/var/run/ld-elf.so.hints,O_RDONLY,00) = 3 (0x3)
 8551: read(3,ehnt\^a\0\0\0...@\0\0\0\n\^a\0\0...,128) = 128 
(0x80)
 = 0 (0x0)
 8551: lseek(3,0x80,SEEK_SET)= 128 (0x80)
 8551: read(3,/lib:/usr/lib:/usr/lib/compat:/u...,266) = 266 (0x10a)
 8546:  8551: close(3)   = 0 (0x0)
 8551: access(/lib/libuno_sal.so.3,0)  ERR#2 'No such file or 
directory'
 8551: access(/usr/lib/libuno_sal.so.3,0)  ERR#2 'No such file or 
directory'
 8551: access(/usr/lib/compat/libuno_sal.so.3,0) ERR#2 'No such file or 
directory'
 8551: access(/usr/local/lib/libuno_sal.so.3,0) ERR#2 'No such file or 
directory'
 8551: access(/usr/local/lib/compat/pkg/libuno_sal.so.3,0) ERR#2 'No such 
file or directory'
 8551: 
access(/usr/local/lib/gcc/i386-portbld-freebsd7.1/3.4.6/libuno_sal.so.3,0) 
ERR#2 'No such file or directory'
 8551: access(/usr/local/lib/gegl-0.0/libuno_sal.so.3,0) ERR#2 'No such file 
or directory'
 8551: access(/usr/local/lib/graphviz/libuno_sal.so.3,0) ERR#2 'No such file 
or directory'
 8551: access(/usr/local/lib/kde3/libuno_sal.so.3,0) ERR#2 'No such file or 
directory'
 8551: access(/usr/local/lib/mysql/libuno_sal.so.3,0) ERR#2 'No such file or 
directory'
 8551: access(/usr/local/lib/nss/libuno_sal.so.3,0) ERR#2 'No such file or 
directory'
 8551: access(/usr/local/lib/pth/libuno_sal.so.3,0) ERR#2 'No such file or 
directory'
 8551: access(/usr/local/lib/qt4/libuno_sal.so.3,0) ERR#2 'No such file or 
directory'
 8551: access(/lib/libuno_sal.so.3,0)  ERR#2 'No such file or 
directory'
 8551: access(/usr/lib/libuno_sal.so.3,0)  ERR#2 'No such file or 
directory'
/libexec/ld-elf.so.1:  8551: write(2,/libexec/ld-elf.so.1: ,22)= 22 
(0x16)
Shared object libuno_sal.so.3 not found, required by soffice 8551: 
write(2,Shared object libuno_sal.so.3 ...,64) = 64 (0x40)

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/

SPAMer of the year: Subject: Alle Software ist Deutsche Sprachen
From: -40 % die Neujahrsaktion gabriellekel...@grungecafe.com

Re: port openoffice.org-devl (3.1.20081224) installs fine but does not run

2009-01-23 Thread Matthias Apitz
El día Saturday, January 24, 2009 a las 07:16:35AM +0100, Matthias Apitz 
escribió:

 Hello,
 
 I've compiled and installed the port editors/openoffice.org-3-devel
 (version openoffice.org-3.1.20081224) without, but OpenOffice does not
 start:
 
 $ openoffice.org-DEV300_m38
 /libexec/ld-elf.so.1: Shared object libuno_sal.so.3 not found, required by 
 soffice
 
...

 
 and the lib is there as I can see with ls(1) and file(1); I've watched
 with truss(1) what the linker is lookin up as directories (see below)
 but it does not pass through 
 /usr/local/openoffice.org-DEV300_m38/openoffice.org/ure/lib
 
 What is the correct way to make this work?
 Thx

I followed an idea and used ldconfig(1) to expand the dirs searched:

# ldconfig -m /usr/local/openoffice.org-DEV300_m38/openoffice.org/ure/lib
# ldconfig -m 
/usr/local/openoffice.org-DEV300_m38/openoffice.org/basis3.1/program/

now openoffice.org-DEV300_m38 comes up, guides me through the
registration dialog but then crashes with other shared symbol problems
like:

/libexec/ld-elf.so.1: 
/usr/local/openoffice.org-DEV300_m38/openoffice.org/basis3.1/program//libdeploymentmiscfi.so:
 Undefined symbol db_create

I think I will go back and use an older (stable) version of
openoffice.org-3.

Bad results after 3 days of compiling :-((

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/

SPAMer of the year: Subject: Alle Software ist Deutsche Sprachen
From: -40 % die Neujahrsaktion gabriellekel...@grungecafe.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


how to scrollback in terminal

2009-01-23 Thread Saifi Khan
Hi:

i'd like to scrollback on the multi page output on the terminal in FreeBSD 7.1

SHIFT key + Pg Up doesn't seem to work.

Can somebody post how to scrollback in terminal ?

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


Re: how to scrollback in terminal

2009-01-23 Thread Tim Judd

Saifi Khan wrote:

Hi:

i'd like to scrollback on the multi page output on the terminal in FreeBSD 7.1

SHIFT key + Pg Up doesn't seem to work.

Can somebody post how to scrollback in terminal ?


scroll lock, and pgup

:D  there is a use after all for scroll lock.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org