Re: joining 2 files together ?

2008-08-08 Thread Denny White
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Quoted from beni on Thu, Aug 07, 2008 at 03:34:28PM +,:
 Hi,
 
 I am trying to find the equivalent for the old dos copy file1+file2 command
 (copy myfile1.txt+myfile2.txt copies the contents in myfile2.txt and 
 combines it with the contents in myfile1.txt).
 But the standard freebsd cp doesn't seem to want the + between the two 
 files :
 
 bsdaddict# cp file1.avi+file2.avi
 usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file target_file
cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file ... 
 target_directory
 bsdaddict#
 
 So how to I append file2 at the end of file1 to get only one file ? To be 
 more 
 specific : I would like to merge 2 avi files into one. How do I get 
 file1.avi+file2.avi into file3.avi ?
 Thanks.
 -- 
 Beni.

After joining avi files with cat, use mencoder to rebuild the index:

mencoder -forceidx -oac copy -ovc copy infile.avi -o outfile.avi 


Denny White

- -- 

Do the hard jobs first. The easy jobs will take care of themselves.

===
GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A
===

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (OpenBSD)

iEYEARECAAYFAkicBToACgkQy0Ty5RZE55rG4QCeJy+VfVN3SeUSWfd5Ff12+Za1
Su8AoLw1ype3wQvtYyv2qWm4Yum6eWPV
=zm7+
-END PGP SIGNATURE-

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


Re: FreeBSD smp

2006-06-23 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Tue, 20 Jun 2006 22:51:46 -0500 (CDT)
Denny White [EMAIL PROTECTED] wrote:


Okay, might be off base here, so someone correct me if
I'm wrong. Don't you also have to remove the following

#ifdef SMP
#ifndef COMPILING_LINT
#error DEVICE_POLLING is not compatible with SMP
#endif
#endif

from /usr/src/sys/kern/kern_poll.c ?

You'll get an error part of the way through building
the kernel otherwise, right? Like I said, that's the
way I remember it. Just trying to save someone some
unnecessary work.




Today Joerg Pernfuss wrote:


Obviously only if you have enabled device polling in your custom kernel
and know what you're doing. Defaulting to refuse to build polling on
SMP has its reason. While it is generally not a problem, the kernel /
userland ratio and statistics code might get messed up if I recall
an old posting from Luigi correctly.

Joerg
--
| /\   ASCII ribbon   |  GnuPG Key ID | e86d b753 3deb e749 6c3a |
| \ / campaign against |0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 |
|  XHTML in email  |.the next sentence is true.   |
| / \ and news | .the previous sentence was a lie.|



Yup, you're right. And I do have device polling enabled in
the kernel. My bad. Open one mouth, extricate one foot. :-)
Time for either a jolt or some sleep.

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (OpenBSD)

iD8DBQFEnKqcy0Ty5RZE55oRAmcVAJ0RSZG8WtTCavx34HuRGXh0R/hPWACeJCyg
7ntC/WIi/T8bKBAkNPrgUWs=
=1wiI
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


scsi cdrom mounting problem

2006-06-20 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I was having the problem before upgrading from 5.4 to 5.5,
and now, after the upgrade, the problem persists. Now and
then, I can find a cd that'll mount, but most won't. Have
tried the ones that won't mount on this obsd box with atapi
instead of scsi  no problems. Googled around and searched
the archives for the error messages, but didn't find anything
to help so far. Read the man page on camcontrol and the warning
about using it, so checking with the list before I do anything
else. I did find one thing through google about the scsi delay
sometimes needing to be increased, and I made that change in
my kernconf before recompiling, but it didn't help. Tried
booting with kernel.debug just to see what would happen, and
it went smoothly, but this time there was no error message in
dmesg, except that it said there was no medium present, which
wasn't true. There was disk 1 of fbsd 5.5 install in the drive.
When I try to mount a cd, I get `cd9660: /dev/cd: Input/output
error' or sometimes, `device not configured'. Another thing that
confuses me is, I thought in /dev, besides cd0, that there would
be devices like on my obsd box, i.e., cd0a, cd0c, rcd0a, rcd0c,
and so forth. The only cd entry in my fbsd /dev is cd0. I read
some on MAKEDEV and saw that in fbsd 5, it's deprecated, replaced
by devfs. I thought maybe somehow, from some of my earlier upgrades,
that I had screwed up something with devices being created. Below
is some info I've gotten that I hoped would help.

(camcontrol's output)
scbus0 on amr0 bus 0:
scbus1 on amr0 bus 1:
scbus2 on amr0 bus 2:
scbus3 on ahc0 bus 0:
SEAGATE ST19171W SUN9.0G 0A7E  at scbus3 target 0 lun 0 (da0,pass0)
TOSHIBA CD-ROM XM-5701TA 0787  at scbus3 target 5 lun 0 (cd0,pass1)
   at scbus3 target -1 lun -1 ()
scbus-1 on xpt0 bus 0:
   at scbus-1 target -1 lun -1 (xpt0)


(from dmesg.yesterday)
cd0 at ahc0 bus 0 target 5 lun 0
cd0: TOSHIBA CD-ROM XM-5701TA 0787 Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 8)

cd0: Attempt to query device size failed: NOT READY, Medium not present

(from today's dmesg)
cd0 at ahc0 bus 0 target 5 lun 0
cd0: TOSHIBA CD-ROM XM-5701TA 0787 Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 8)

cd0: cd present [296521 x 2048 byte records]
(cd0:ahc0:0:5:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 
(cd0:ahc0:0:5:0): CAM Status: SCSI Status Error

(cd0:ahc0:0:5:0): SCSI Status: Check Condition
(cd0:ahc0:0:5:0): MEDIUM ERROR asc:15,0
(cd0:ahc0:0:5:0): Random positioning error
(cd0:ahc0:0:5:0): Retrying Command (per Sense Data)

(had decreased this a long while back to 1 to speedup boot, and
 increased it today after reading aforementioned in google)
options   SCSI_DELAY=2   # Delay (in ms) before probing SCSI

kern.cam.cd.changer.min_busy_seconds: 5
kern.cam.cd.changer.max_busy_seconds: 15
kern.cam.cd.0.minimum_cmd_size: 6
kern.disks: da0 cd0 amrd0
 cdev4411K 11K   44  256
  allocdirect 0 0K  3K   70  128
debug.sizeof.cdev: 232

I'm currently running FreeBSD 5.4 p2. Anyone replying please let
me know if there's any other info I can provide that'll help.

Thanks.

Denny White


GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (OpenBSD)

iD8DBQFEmGuwy0Ty5RZE55oRApPNAJ45HYEEPuPAGs824YWybPlJcOOi+wCdHAbr
H8MD7BYSEQxwgWbn7b1LVVw=
=YlLB
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: scsi cdrom mounting problem

2006-06-20 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




I was having the problem before upgrading from 5.4 to 5.5,
and now, after the upgrade, the problem persists. Now and
then, I can find a cd that'll mount, but most won't. Have
tried the ones that won't mount on this obsd box with atapi
instead of scsi  no problems. Googled around and searched
the archives for the error messages, but didn't find anything
to help so far. Read the man page on camcontrol and the warning
about using it, so checking with the list before I do anything
else. I did find one thing through google about the scsi delay
sometimes needing to be increased, and I made that change in
my kernconf before recompiling, but it didn't help. Tried
booting with kernel.debug just to see what would happen, and
it went smoothly, but this time there was no error message in
dmesg, except that it said there was no medium present, which
wasn't true. There was disk 1 of fbsd 5.5 install in the drive.
When I try to mount a cd, I get `cd9660: /dev/cd: Input/output
error' or sometimes, `device not configured'. Another thing that
confuses me is, I thought in /dev, besides cd0, that there would
be devices like on my obsd box, i.e., cd0a, cd0c, rcd0a, rcd0c,
and so forth. The only cd entry in my fbsd /dev is cd0. I read
some on MAKEDEV and saw that in fbsd 5, it's deprecated, replaced
by devfs. I thought maybe somehow, from some of my earlier upgrades,
that I had screwed up something with devices being created. Below
is some info I've gotten that I hoped would help.

(camcontrol's output)
scbus0 on amr0 bus 0:
scbus1 on amr0 bus 1:
scbus2 on amr0 bus 2:
scbus3 on ahc0 bus 0:
SEAGATE ST19171W SUN9.0G 0A7E  at scbus3 target 0 lun 0 (da0,pass0)
TOSHIBA CD-ROM XM-5701TA 0787  at scbus3 target 5 lun 0 (cd0,pass1)
   at scbus3 target -1 lun -1 ()
scbus-1 on xpt0 bus 0:
   at scbus-1 target -1 lun -1 (xpt0)


(from dmesg.yesterday)
cd0 at ahc0 bus 0 target 5 lun 0
cd0: TOSHIBA CD-ROM XM-5701TA 0787 Removable CD-ROM SCSI-2 device cd0: 
10.000MB/s transfers (10.000MHz, offset 8)

cd0: Attempt to query device size failed: NOT READY, Medium not present

(from today's dmesg)
cd0 at ahc0 bus 0 target 5 lun 0
cd0: TOSHIBA CD-ROM XM-5701TA 0787 Removable CD-ROM SCSI-2 device cd0: 
10.000MB/s transfers (10.000MHz, offset 8)

cd0: cd present [296521 x 2048 byte records]
(cd0:ahc0:0:5:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0 (cd0:ahc0:0:5:0): CAM 
Status: SCSI Status Error

(cd0:ahc0:0:5:0): SCSI Status: Check Condition
(cd0:ahc0:0:5:0): MEDIUM ERROR asc:15,0
(cd0:ahc0:0:5:0): Random positioning error
(cd0:ahc0:0:5:0): Retrying Command (per Sense Data)

(had decreased this a long while back to 1 to speedup boot, and
increased it today after reading aforementioned in google)
options   SCSI_DELAY=2   # Delay (in ms) before probing SCSI

kern.cam.cd.changer.min_busy_seconds: 5
kern.cam.cd.changer.max_busy_seconds: 15
kern.cam.cd.0.minimum_cmd_size: 6
kern.disks: da0 cd0 amrd0
cdev4411K 11K   44  256
 allocdirect 0 0K  3K   70  128
debug.sizeof.cdev: 232

I'm currently running FreeBSD 5.4 p2. Anyone replying please let
me know if there's any other info I can provide that'll help.



Okay, my fat fingers have struck again. Sorry to all. Running
FreeBSD 5.5 p2.


GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (OpenBSD)

iD8DBQFEmG21y0Ty5RZE55oRAhMcAJ9w3d/MjxUp4UZZeYFqAkCLNa1/GQCgxSvy
U8PgqR+btG02rmS9Zq36DMM=
=hniE
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD smp

2006-06-20 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




--On June 20, 2006 10:23:52 PM -0300 Sergio Lenzi [EMAIL PROTECTED] wrote:


Hello,

Is SMP enabled in the GENERIC kernel? I have a hyperthreading box, and
on
Linux it shows up with two cpus. When I do a top on the box in FreeBSD I
still
see only one CPU. Also, sysctl -a | grep cpu only shows a dev.cpu.0.



Today Paul Schmehl wrote:


No, SMP is not enabled in the GENERIC kernel.  You must add:
options  SMP
to the GENERIC kernel.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/



Okay, might be off base here, so someone correct me if
I'm wrong. Don't you also have to remove the following

#ifdef SMP
#ifndef COMPILING_LINT
#error DEVICE_POLLING is not compatible with SMP
#endif
#endif

from /usr/src/sys/kern/kern_poll.c ?

You'll get an error part of the way through building
the kernel otherwise, right? Like I said, that's the
way I remember it. Just trying to save someone some
unnecessary work.


GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (OpenBSD)

iD8DBQFEmMJYy0Ty5RZE55oRAopwAKCDQTIJ/FtluG1Z8Oyg39aCktGzEACeJAn/
S91I6mzUdiq20//umC0+/xI=
=EWQS
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cvsup into NFS mounted directory problem

2006-06-17 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




Denny White [EMAIL PROTECTED] writes:


Over on my old windoze xp box, I've got a program called
cvsnt. I wanted to see if I could update the source dir
over there by mounting the dir here locally, then running
cvsup to put everything there, before unmounting it. Then,
use cvsnt for a local network source repository server.
Cvsup does fine on the remotely mounted nfs dir until I
get to this:

Updater failed: Cannot install /home/mydir/cvsdir/src/contrib/
libreadline/#cvs.cvsup-91834.13672 to
/home/mydir/cvsdir/src/contrib/libreadline/ChangeLog,v:
Permission denied

Command to mount the remote windows directory:
mount -w -t nfs remotebox:cvsdir /home/mydir/cvsdir

I've done everything with the local  remote dirs except put
them on eBay. :-) Chmoded them to 777  still get the same
message. Wouldn't doubt if it's something very simple I'm
just overlooking. I was wondering if maybe it has something
to do with my cvsup usage  not the dir/file permissions.
Here's the supfile being used:

#
*default host=cvsup17.us.FreeBSD.org
*default base=/home/mydir/cvsdir
*default prefix=/home/mydir/cvsdir
*default release=cvs
*default delete use-rel-suffix
*default compress
src-all
ports-all tag=.
doc-all tag=.
www
cvsroot-all
#

As can be seen above, the delete is pretty standard  what
I use everywhere else locally:

*default delete use-rel-suffix

Thanks for any help, advice, new hair to replace what I've
pulled out, etc.




Today Lowell Gilbert wrote:


Sorry; I don't have enough hair to spare. ;-)

What may be happening here is that cvsup itself is trying to change
the permissions to match the repository it updates from.  In that
case, problems from the underlying filesystem (which, I gather,
is ntfs, and doesn't support full privileges of NFS) might result in
errors.  Maybe you could try setting the filesystem ownership to the
user you run cvsup as?


Thanks for the reply. That was how I started it out to begin with.
Uid's match, keys, everything. The user doing the cvs to the nfs
share is doing it to a folder he owns on the winxp box. But, that
being said, I've finally got cvs working from cygwin there, now.
The only reason I can come up with for it not working properly
before is, I didn't have rsa keys generated in my home dir on
the winxp box. I generated the keys  got them around the lan
into all the authorized_keys files in order to be able to do
unattended rsync backups from my crontabs on each box. So now,
the backups are working  so is cvs on windows. Miracles never
cease! :-) Thanks again for answering, Lowell.

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (OpenBSD)

iD8DBQFElLmdy0Ty5RZE55oRAow0AKDJ0P6IQ+lxPiqZ3YI63HMs47zBMACdEBWd
+Mu6U9aSUPY0/GRQtLsI0N8=
=kAwm
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cvsup into NFS mounted directory problem

2006-06-16 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Over on my old windoze xp box, I've got a program called
cvsnt. I wanted to see if I could update the source dir
over there by mounting the dir here locally, then running
cvsup to put everything there, before unmounting it. Then,
use cvsnt for a local network source repository server.
Cvsup does fine on the remotely mounted nfs dir until I
get to this:

Updater failed: Cannot install /home/mydir/cvsdir/src/contrib/
libreadline/#cvs.cvsup-91834.13672 to
/home/mydir/cvsdir/src/contrib/libreadline/ChangeLog,v:
Permission denied

Command to mount the remote windows directory:
mount -w -t nfs remotebox:cvsdir /home/mydir/cvsdir

I've done everything with the local  remote dirs except put
them on eBay. :-) Chmoded them to 777  still get the same
message. Wouldn't doubt if it's something very simple I'm
just overlooking. I was wondering if maybe it has something
to do with my cvsup usage  not the dir/file permissions.
Here's the supfile being used:

#
*default host=cvsup17.us.FreeBSD.org
*default base=/home/mydir/cvsdir
*default prefix=/home/mydir/cvsdir
*default release=cvs
*default delete use-rel-suffix
*default compress
src-all
ports-all tag=.
doc-all tag=.
www
cvsroot-all
#

As can be seen above, the delete is pretty standard  what
I use everywhere else locally:

*default delete use-rel-suffix

Thanks for any help, advice, new hair to replace what I've
pulled out, etc.


GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (OpenBSD)

iD8DBQFEkxj9y0Ty5RZE55oRAhahAKCQw4UASb/QPT9+Ea9wxcXXSFJUVwCglwvC
yWNr36x5DC9Vnb+JvnNN/44=
=5RXl
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


teTeX and portupgrade problem

2006-06-11 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Got errors when running portupgrade last night, when it tried
to upgrade to teTeX-texmf-3.0_4. They're pasted in at bottom
of this message, checksum problems. I did as the output said
 ftp'd the file off the main FreeBSD ftp site, copied it to
/usr/ports/distfiles/  tried again. Same thing. Tried it from
numerous mirrors, but to no avail. I googled around  finally found

http://gd.tuwien.ac.at/publishing/tex/CTAN/systems/unix/teTeX/current/distrib/

Downloaded both the port  the source files, put both of them in
/usr/ports/distfiles/teTeX  this time it went okay. I have no idea
what the hell was going on before.

I also checked the descr file, got the maintainer info,  followed the
link to www.tug.org./tetex. Bad news, it seems. Says the maintainer has
decided not to make new releases of teTeX anymore, as of May 2006.
Anyone know anything about it? Just wondering what will happen after
that with dependencies. Anyway, here's all the 'bs' below, mostly to
show the paths it tried to get files from  failed  to save others
the same headaches. A good portion of the output has been edited from
the scripted output file so it wouldn't go off the screen  could be
read. Hope this saves someone some work. Then again, it could just be
something askew in my system. ? Any feedback welcome. Just glad it's
upgraded  finished. Sorry for the length of the message. Once again,
just trying to help anyone who runs into the same mess.


===  Extracting for teTeX-texmf-3.0_4
= MD5 Checksum mismatch for teTeX/tetex-texmf-3.0.tar.gz.
= SHA256 Checksum mismatch for teTeX/tetex-texmf-3.0.tar.gz.
= MD5 Checksum OK for teTeX/dvipsk-jpatch-p1.6a1.tar.gz.
= SHA256 Checksum OK for teTeX/dvipsk-jpatch-p1.6a1.tar.gz.
===  Refetch for 1 more times files: teTeX/tetex-texmf-3.0.tar.gz
  teTeX/tetex-texmf-3.0.tar.gz 
= tetex-texmf-3.0.tar.gz doesn't seem to exist in

   /usr/ports/distfiles/teTeX.
= Attempting to fetch from ftp://ftp.funet.fi/pub/TeX/CTAN/systems/
   unix/teTeX/3.0/distrib/.
   fetch: ftp://ftp.funet.fi/pub/TeX/CTAN/systems/unix/teTeX/3.0/
   distrib/tetex-texmf-3.0.tar.gz: Requested action aborted:
   local error in processing
= Attempting to fetch from ftp://ctan.unsw.edu.au/tex-archive/systems/
   unix/teTeX/3.0/distrib/.
   fetch: ftp://ctan.unsw.edu.au/tex-archive/systems/unix/teTeX/3.0/
   distrib/tetex-texmf-3.0.tar.gz: Unknown FTP error
= Attem$pting to fetch from ftp://ftp.tex.ac.uk/tex-archive/systems/
   unix/teTeX/3.0/distrib/.
   fetch: tetex-texmf-3.0.tar.gz: local modification time does not match
   remote
= Attempting to fetch from ftp://ftp.kddlabs.co.jp/CTAN/systems/unix/
   teTeX/3.0/distrib/.
   fetch: tetex-texmf-3.0.tar.gz: local modification time does not match
   remote
= Attempting to fetch from ftp://ctan.tug.org/tex-archive/systems/unix/
   teTeX/3.0/distrib/.
   fetch: ftp://ctan.tug.org/tex-archive/systems/unix/teTeX/3.0/distrib/
   tetex-texmf-3.0.tar.gz: Unknown FTP error
= Attempting to fetch from ftp://ftp.dante.de/tex-archive/systems/unix/
   teTeX/3.0/distrib/.
   fetch: ftp://ftp.dante.de/tex-archive/systems/unix/teTeX/3.0/distrib/
   tetex-texmf-3.0.tar.gz: Unknown FTP error
= Attempting to fetch from http://ring.sakura.ad.jp/archives/text/CTAN/
   systems/unix/teTeX/3.0/distrib/.
   fetch: http://ring.sakura.ad.jp/archives/text/CTAN/systems/unix/teTeX/
   3.0/distrib/tetex-texmf-3.0.tar.gz: Requested Range Not Satisfiable
= Attempting to fetch from http://ring.riken.jp/archives/text/CTAN/
   systems/unix/teTeX/3.0/distrib/.
   fetch: http://ring.riken.jp/archives/text/CTAN/systems/unix/teTeX/
   3.0/distrib/tetex-texmf-3.0.tar.gz: Requested Range Not Satisfiable
= Attempting to fetch from ftp://ftp.chg.ru/pub/TeX/CTAN/systems/unix/
   teTeX/3.0/distrib/.
   fetch: tetex-texmf-3.0.tar.gz: local modification time does not match
   remote
= Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/
   distfiles/teTeX/.
   fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/teTeX/
   tetex-texmf-3.0.tar.gz: size mismatch: expected 91402377, actual
   91762123
= Couldn't fetch it - please try to retrieve this
= port manually into /usr/ports/distfiles/teTeX and try again.
*** Error code 1

Stop in /usr/ports/print/teTeX-texmf.
*** Error code 1

Stop in /usr/ports/print/teTeX-texmf.
** Command failed [exit code 1]: /usr/bin/script -qa
   /tmp/portupgrade94015.1 make PORT_UPGRADE=yes
** Fix the problem and try again.
- ---  Skipping 'print/teTeX-base' (teTeX-base-3.0_8)
  because a requisite package 'teTeX-texmf-3.0_3'
  (print/teTeX-texmf) failed (specify -k to force)
- ---  Skipping 'print/freetype-tools' (freetype-tools-1.3.1_1)
  because a requisite package 'teTeX-texmf-3.0_3'
  (print/teTeX-texmf) failed (specify -k to force)
- ---  Skipping 'print/dvipsk-tetex' (dvipsk-tetex-5.95a_1)
  because a requisite package 'teTeX-texmf-3.0_3'
  (print/teTeX-texmf) failed (specify -k to force)
- ---  Skipping 

Re: teTeX and portupgrade problem

2006-06-11 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Today Robert Huff wrote:



Denny White writes:


 Got errors when running portupgrade last night, when it tried
 to upgrade to teTeX-texmf-3.0_4. They're pasted in at bottom
 of this message, checksum problems.


When I see either this:

local modification time does not match remote

or this:

size mismatch: expected X, actual Y

the quick, dirty, and effective 99% of the time solution is to
delete the tarball from /usr/ports/distfiles and try again.
(And it worked yesterday in exactly this case.)



Robert Huff
___


Yup! Lesson learned the hard way. Saving this message
along with the experience to savor later. Not a newbie,
just slide off into regress mode sometimes. :-) Usually
around 3 or 4 a.m. Just got an early start this time.

Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (OpenBSD)

iD8DBQFEjD1gy0Ty5RZE55oRAl20AJoCo68m40HEWetew7DlZhSX87QBegCfZhyO
Sl+jW/+ZUJNbaQtiDDsk6Ns=
=8GxC
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: restoring deleted files

2006-06-09 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1






Can you tell me a simple way of retrieving recently deleted files?

Regards
Phil Sweeney
Superior Pest Management
P.O Box 68
www.superiorpest.com.au
[EMAIL PROTECTED]
H.R.M.C NSW 2310
___


I guess, if you know what you're doing, you can go
in with a disk editor, but not simple. And, like
another message said, depends on if the inodes have
been overwritten. And like the other post alluded to,
there's no replacement for a good backup. That being
said, I can tell you what I've done ever since I hosed
/usr one day accidentally, while in a pissed off mood
 not paying attention to the paths I was typing,  had
to do a restore (luckily I  had just done a full dump).
I hate it  it's aggravating, but it's saved me several
times from another restore, but in .bashrc I have:

alias rm='rm -i'

When you type rm whatever, it'll ask you if you're
sure.
Be sure. :-) And backup regularly.

Denny White

Please do not CC me. Already subscribed to mailing list.

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (OpenBSD)

iD8DBQFEikpfy0Ty5RZE55oRAlO8AJ0ciXkefj+hCNGygp+kBgjBXD6XMwCfYu/f
xvLiJSbzdaocg79HoDgpgNU=
=PT9Y
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: foomatic-db portupgrade problem

2006-05-22 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Sun, May 21, 2006 at 06:57:43PM -0500, Denny White wrote:


Searched through the cvs  stable mailing lists, as well as
in /usr/ports/UPDATING,  couldn't find any instance of anyone
having problems updating the foomatic-db port. After the initial
failure to update, I looked at the Makefile  that seems to be
the problem, where it's trying to download from. Below is the
output of portversion -l  along with the output when trying
to update, portupgrade -arR. And, the pertinent section of the
Makefile is appended also:


Yes, it's broken (see http://pointyhat.freebsd.org)

Talk to the authors about fixing their CVS server.

Kris



Okay Kris, thanks. Wrote to the maintainer to let him know
about the problem.

Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (OpenBSD)

iD8DBQFEckGZy0Ty5RZE55oRAv7AAKCHtW3VqadJFe8QK+kwrXvKHYYLjQCgjNWX
QbvtVw8C/9QeVBcpSzE9SBc=
=xUYm
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


foomatic-db portupgrade problem

2006-05-21 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Searched through the cvs  stable mailing lists, as well as
in /usr/ports/UPDATING,  couldn't find any instance of anyone
having problems updating the foomatic-db port. After the initial
failure to update, I looked at the Makefile  that seems to be
the problem, where it's trying to download from. Below is the
output of portversion -l  along with the output when trying
to update, portupgrade -arR. And, the pertinent section of the
Makefile is appended also:

(output of portversion -l )
foomatic-db 

(script output of portupgrade -arR)
- ---  Upgrading 'foomatic-db-20050309' to 'foomatic-db-20060506'
(print/foomatic-db)
- ---  Building '/usr/ports/print/foomatic-db'
===  Cleaning for perl-5.8.8
===  Cleaning for gmake-3.80_2
===  Cleaning for automake-1.5_2,1
===  Cleaning for autoconf-2.59_2
===  Cleaning for libxml2-2.6.24_1
===  Cleaning for curl-7.15.3
===  Cleaning for gettext-0.14.5_2
===  Cleaning for autoconf-2.53_3
===  Cleaning for m4-1.4.4
===  Cleaning for help2man-1.36.4_1
===  Cleaning for pkgconfig-0.20_2
===  Cleaning for libiconv-1.9.2_2
===  Cleaning for libtool-1.5.22_2
===  Cleaning for p5-gettext-1.05_1
===  Cleaning for foomatic-db-20060506

Attempting to check out from pserver:[EMAIL PROTECTED]:

/var/lib/cvs.
cvs [checkout aborted]: reading from server: Connection reset by peer

CVS checkout failed.

*** Error code 1

Stop in /usr/ports/print/foomatic-db.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade31060.52 make
** Fix the problem and try again.
- ---  Skipping 'print/foomatic-db-hpijs' (foomatic-db-hpijs-1.4) because a
requisite package 'foomatic-db-20050309' (print/foomatic-db) failed
(specify -k to force)
** Listing the failed packages (*:skipped / !:failed)
! print/foomatic-db (foomatic-db-20050309)  (unknown build error)
* print/foomatic-db-hpijs (foomatic-db-hpijs-1.4)
- ---  Packages processed: 0 done, 237 ignored, 1 skipped and 1 failed
- --
(section of foomatic-db Makefile in question)

CVS_CMD?=   cvs -z3
CVS_DATE=   ${PORTVERSION}
CVS_SITES?= pserver:[EMAIL PROTECTED]:/var/lib/cvs
CVS_BRANCH= foomatic-3_0-branch # STABLE
CVS_MODULE= foomatic-db
- --

I know I can use the -k switch to force, but I didn't know if it was
a good idea or not. I edited several lines of the output of the commands
in order not to wrap in the message to the list. Thanks for any help on
this problem.

Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (OpenBSD)

iD8DBQFEcP6Ay0Ty5RZE55oRAv7vAKDEXakzUW5lNq/9ieov2Uzaudfh6QCfTygp
sYO8MRhbYRfEXmU2NcPWAjI=
=sqxa
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to do a kernel dump?

2006-03-03 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Today Olivier Nicole spake forth boldly:

This isn't guaranteed 100% correct, but at least if it's not,
maybe it'll get someone else involved.
Below my dumpdev in rc.conf I have
savecore_flags=-z
to compress the core dump  kernel with gzip. Also, read man savecore
again, esp the part about minfree in /var/crash  free kilobytes for
non-superusers in the file system after the copies would be made.


Thanks Denny, that was 100% correct.

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



Glad I could finally help someone else out. I owe this list a lot
of thanks. Usually, I'm the one asking for help. :-)
Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFEB9x3y0Ty5RZE55oRAv3vAJwOI117xLLHWxiMHZKVr+qerTPDrgCaArt5
k0pflGrcKP44zO2Z1Bqn92M=
=4xhk
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to do a kernel dump?

2006-03-02 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Today Olivier Nicole spake forth boldly:

Hi,

I'd like to get a kernel dump when the machine panics.

I set-up dumpdev=/dev/rda0s1b in /etc/rc.conf.

My swap is:

amandaon41: swapinfo
Device  1K-blocks UsedAvail Capacity  Type
/dev/rda0s1b  10484480  1048448 0%Interleaved

My memory is only 256 MB, so the swap is large enough to keep up to 4
dumps. But still no dump, no image created in /var/crash, the system
reboots in multi-user mode and period.

When I try savecore by hand I get:

savecore: reboot after panic: page fault
savecore: system went down at Thu Mar  2 01:13:26 2006
savecore: no dump, not enough free space on device (235544 available,
need 264924)

How should I understand that? Is it because I use the raw device (that
is not clear in the handbook).

System is:

FreeBSD amanda.cs.ait.ac.th 4.11-RELEASE-p14 FreeBSD
4.11-RELEASE-p14 #5: Tue Feb 28 16:07:07 ICT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMALL  i386

Thanks in advance,

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



This isn't guaranteed 100% correct, but at least if it's not,
maybe it'll get someone else involved.
Below my dumpdev in rc.conf I have
savecore_flags=-z
to compress the core dump  kernel with gzip. Also, read man savecore
again, esp the part about minfree in /var/crash  free kilobytes for
non-superusers in the file system after the copies would be made.
Hope this helps.
Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFEBvZSy0Ty5RZE55oRAlsQAJ9fR4U+sciNcDO/Atva6AeJTlDo2wCeNzr+
0wKgXzsrIOeMS9HIzMncw28=
=t4yU
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apsfilter question/problem SOLVED PARTIALLY

2006-03-02 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Feb 27 Denny White spake forth boldly:


On Feb 17 Mike Jeays spake forth boldly:

On Fri, 2006-02-17 at 11:09 +, Denny White wrote:


I read the article at Onlamp about printing for the impatient.
Installed apsfilter and samba on my old hp netserver so I'd
be able to print to an hp 722c deskjet printer connected to
an xp box. Gimp-print was also installed. Ghostscript was
already installed. I ran /usr/local/share/apsfilter/./SETUP
 thought I had it whipped. That's where the fun started.
Apparently I've missed something along the way, since the
print job never gets sent to the xp box. I also found out
at linuxprinting.org that the recommended hp 722c driver
is pnm2ppa. There was only one section in the install script
that mentioned that driver, 10) PPA printer, so I chose that.
It plugs it into the setup, but when I try to print a test
page, I get ERROR: additional filter 'pnm2ppa' not found.
I found the driver at linuxprinting.org  downloaded it.
How do I go about using it? Is there a way to compile it
into ghostscript? I have ghostscript-gnu-nox11-7.07_14 
the apsfilter setup script found it  didn't complain.
Do I need to install another more complete version? I know
if I install ghostscript-afpl, I'll also have to recompile
 reinstall apsfilter with the proper make options. When
I choose the more generic just plain deskjet printer driver,
the script accepts it, and when I try to print a test page,
there's no complaining about the driver like when I try the
ppa driver. Test page is created, supposedly sent to the
xp printer with even a speed, average around 950 kb/s, but
I see where it only goes to stdin. I'm definitely not a
programmer, but another filter, ghostscript, something, has
to relay it to stdout, is that correct?
So, I could use some pointers on this. If anyone interested
in answering needs more info, I'll be glad to plug it in to
a reply. Like smb.conf, apsfilterrc,  so forth. Thanks.
Denny White



This combination worked fine for me.

-
# Printcap file: Added 2005-04-25 based on pnm2ppa suggestions.

lp|ascii|unix:\
   :lp=/dev/lpt0:\
   :sd=/var/spool/lpd:\
   :if=/home/mike/bin/pnm2ppa-filter:\
   :mx#0:\
   :sh:
-
#!/bin/sh
# printcap-filter
TMP=/tmp/pnm2ppa.tmp
cat $TMP
ch1=`head -1 $TMP | cut -c 1`
if [ $ch1 = '%' ]
then
cat $TMP | /usr/local/bin/gs -sDEVICE=ppmraw -q -dNOPAUSE -r600 \
-sOutputFile=- - | \
/usr/local/bin/pnm2ppa -i - -o -
else
 cat $TMP | /usr/local/bin/enscript -B -q -p - | \
 /usr/local/bin/gs -sDEVICE=ppmraw -q -dNOPAUSE -r600 \
 -sOutputFile=- - | \
 /usr/local/bin/pnm2ppa -i - -o -
fi
rm $TMP



I've fought this for some time now. I've got samba installed,
along with creating lpr on the xp box where I want to print
to the deskjet 722c. Since I added the remote printer section
below in /etc/printcap, users can no longer print locally,
only root. I checked the ownerships on /var/spool/output/lpd
files and nothing's changed from before the printcap addition.
Also, the file shows up on the xp box in the printspool, but
never prints.

#
lp|local line printer:\
:sh:\
:lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
#
remote|sample remote printer:\
:rp=HPDeskJet2:\
:rm=dancer:\
:sd=/var/spool/samba/remote:\
:if=/root/hold/printcap-filter:\
:lf=/var/spool/samba/remote/log:\
   :af=/var/spool/samba/remote/acct:\
   :mx#0:\
:sh
#

Also have apsfilter installed but am not using it in printcap or
in the script that filters lpr's output. The system reports the
filtering script above successfully filters the file I want to
print too.
Another thing, only way I can browse shares from the xp box to
the fbsd box is to usr security = share in smb.conf. I've tried
user with  without encrypt passwords in smb.conf  tried the
xp box with  without enableplaintextpassword  can't get it to
let me browse. I mention these things too, because I thought it
might shed some light on what I'm doing wrong. Below are the
pertinent settings from smb.conf without all the extra comments
and commented outstuff.

[global]
  workgroup = WHEEL
  server string = Samba %v, running on %h
  security = user
  encrypt passwords = no
  smb passwd file = /usr/local/private/smbpasswd
  obey pam restrictions = no
  hosts allow = dancer, badboybox, mobile1

  load printers = yes

  printing = bsd# tried without uncommenting out
# and with bsd  cups

  passdb backend = smbpasswd

  socket options = TCP_NODELAY

  add user script = /usr/sbin/useradd %u
  add group script = /usr/sbin/groupadd %g
  add machine script = /usr/sbin/adduser -n -g machines -c Machine -d 
/dev/null -s /bin/false %u

  delete user script = /usr/sbin/userdel %u
  delete user from group script

Re: apsfilter question/problem

2006-02-27 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Feb 17 Mike Jeays spake forth boldly:

On Fri, 2006-02-17 at 11:09 +, Denny White wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I read the article at Onlamp about printing for the impatient.
Installed apsfilter and samba on my old hp netserver so I'd
be able to print to an hp 722c deskjet printer connected to
an xp box. Gimp-print was also installed. Ghostscript was
already installed. I ran /usr/local/share/apsfilter/./SETUP
 thought I had it whipped. That's where the fun started.
Apparently I've missed something along the way, since the
print job never gets sent to the xp box. I also found out
at linuxprinting.org that the recommended hp 722c driver
is pnm2ppa. There was only one section in the install script
that mentioned that driver, 10) PPA printer, so I chose that.
It plugs it into the setup, but when I try to print a test
page, I get ERROR: additional filter 'pnm2ppa' not found.
I found the driver at linuxprinting.org  downloaded it.
How do I go about using it? Is there a way to compile it
into ghostscript? I have ghostscript-gnu-nox11-7.07_14 
the apsfilter setup script found it  didn't complain.
Do I need to install another more complete version? I know
if I install ghostscript-afpl, I'll also have to recompile
 reinstall apsfilter with the proper make options. When
I choose the more generic just plain deskjet printer driver,
the script accepts it, and when I try to print a test page,
there's no complaining about the driver like when I try the
ppa driver. Test page is created, supposedly sent to the
xp printer with even a speed, average around 950 kb/s, but
I see where it only goes to stdin. I'm definitely not a
programmer, but another filter, ghostscript, something, has
to relay it to stdout, is that correct?
So, I could use some pointers on this. If anyone interested
in answering needs more info, I'll be glad to plug it in to
a reply. Like smb.conf, apsfilterrc,  so forth. Thanks.
Denny White



This combination worked fine for me.

-
# Printcap file: Added 2005-04-25 based on pnm2ppa suggestions.

lp|ascii|unix:\
   :lp=/dev/lpt0:\
   :sd=/var/spool/lpd:\
   :if=/home/mike/bin/pnm2ppa-filter:\
   :mx#0:\
   :sh:
-
#!/bin/sh
# printcap-filter
TMP=/tmp/pnm2ppa.tmp
cat $TMP
ch1=`head -1 $TMP | cut -c 1`
if [ $ch1 = '%' ]
then
cat $TMP | /usr/local/bin/gs -sDEVICE=ppmraw -q -dNOPAUSE -r600 \
-sOutputFile=- - | \
/usr/local/bin/pnm2ppa -i - -o -
else
 cat $TMP | /usr/local/bin/enscript -B -q -p - | \
 /usr/local/bin/gs -sDEVICE=ppmraw -q -dNOPAUSE -r600 \
 -sOutputFile=- - | \
 /usr/local/bin/pnm2ppa -i - -o -
fi
rm $TMP



I've fought this for some time now. I've got samba installed,
along with creating lpr on the xp box where I want to print
to the deskjet 722c. Since I added the remote printer section
below in /etc/printcap, users can no longer print locally,
only root. I checked the ownerships on /var/spool/output/lpd
files and nothing's changed from before the printcap addition.
Also, the file shows up on the xp box in the printspool, but
never prints.

#
lp|local line printer:\
:sh:\
:lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
#
remote|sample remote printer:\
:rp=HPDeskJet2:\
:rm=dancer:\
:sd=/var/spool/samba/remote:\
:if=/root/hold/printcap-filter:\
:lf=/var/spool/samba/remote/log:\
:af=/var/spool/samba/remote/acct:\
:mx#0:\
:sh
#

Also have apsfilter installed but am not using it in printcap or
in the script that filters lpr's output. The system reports the
filtering script above successfully filters the file I want to
print too.
Another thing, only way I can browse shares from the xp box to
the fbsd box is to usr security = share in smb.conf. I've tried
user with  without encrypt passwords in smb.conf  tried the
xp box with  without enableplaintextpassword  can't get it to
let me browse. I mention these things too, because I thought it
might shed some light on what I'm doing wrong. Below are the
pertinent settings from smb.conf without all the extra comments
and commented outstuff.

[global]
   workgroup = WHEEL
   server string = Samba %v, running on %h
   security = user
   encrypt passwords = no
   smb passwd file = /usr/local/private/smbpasswd
   obey pam restrictions = no
   hosts allow = dancer, badboybox, mobile1

   load printers = yes

   printing = bsd   # tried without uncommenting out
# and with bsd  cups

   passdb backend = smbpasswd

   socket options = TCP_NODELAY

   add user script = /usr/sbin/useradd %u
   add group script = /usr/sbin/groupadd %g
   add machine script = /usr/sbin/adduser -n -g machines -c Machine -d 
/dev/null -s /bin/false %u
   delete user script = /usr/sbin/userdel %u
   delete user

Re: apsfilter question/problem

2006-02-20 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Feb 18 Eric Schuele spake forth boldly:


I read the article at Onlamp about printing for the impatient.
Installed apsfilter and samba on my old hp netserver so I'd
be able to print to an hp 722c deskjet printer connected to
an xp box. 


I don't have a fix to your apsfilter issue, but if you you are interested in 
another possible printing solution... try:


http://www.lanside.net/article.php?story=20031007161002250

It works well for me.  And is simple to setup.


Gimp-print was also installed. Ghostscript was
already installed. I ran /usr/local/share/apsfilter/./SETUP
 thought I had it whipped. That's where the fun started.
Apparently I've missed something along the way, since the
print job never gets sent to the xp box. I also found out
at linuxprinting.org that the recommended hp 722c driver
is pnm2ppa. There was only one section in the install script
that mentioned that driver, 10) PPA printer, so I chose that.
It plugs it into the setup, but when I try to print a test
page, I get ERROR: additional filter 'pnm2ppa' not found.
I found the driver at linuxprinting.org  downloaded it.
How do I go about using it? Is there a way to compile it
into ghostscript? I have ghostscript-gnu-nox11-7.07_14 
the apsfilter setup script found it  didn't complain.
Do I need to install another more complete version? I know
if I install ghostscript-afpl, I'll also have to recompile
 reinstall apsfilter with the proper make options. When
I choose the more generic just plain deskjet printer driver,
the script accepts it, and when I try to print a test page,
there's no complaining about the driver like when I try the
ppa driver. Test page is created, supposedly sent to the
xp printer with even a speed, average around 950 kb/s, but
I see where it only goes to stdin. I'm definitely not a
programmer, but another filter, ghostscript, something, has
to relay it to stdout, is that correct?
So, I could use some pointers on this. If anyone interested
in answering needs more info, I'll be glad to plug it in to
a reply. Like smb.conf, apsfilterrc,  so forth. Thanks.
Denny White


--
Regards,
Eric


Thanks. Got it installed but couldn't get it to work. Ran into
some real problems with what it did regarding my old Star 2410
dot-matrix printer. I shouldn't have fooled with that to begin
with. I had tried to set the old Star up with CUPS, but there
was no mention of a driver for it, or even the brand of printer.
I know some of the Epson drivers may work with it, but in the
meantime, I kept getting something sent to that printer, even
after I'd removed it from printcap  even rebooted. I fooled around
with the files I could find in /var/spool  downward, moved some
into a backup directory until I could get the old printer to
behave,  then started putting the files back. Afterward, cups
could no longer communicate with anything. I tried doing a
deinstall  reinstall, but the problem persisted. So, it's all
gone now, uninstalled. Will try again later with the other
solution I received in another post. Thanks for trying to help.
I think I've been eaten up by the dumbass in this issue. :)
I know others have trouble too, sometimes, setting up printing,
but I almost screwed my system up, just to print to a damned
winblows puter! :)

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFD+bUAy0Ty5RZE55oRAtVDAJ9w+r5DA5t2usGFMl7gWyazuLMJmQCfQhQa
5BO7cQZd4FHMUpV6eHyBycI=
=ql/x
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apsfilter question/problem

2006-02-17 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I read the article at Onlamp about printing for the impatient.
Installed apsfilter and samba on my old hp netserver so I'd
be able to print to an hp 722c deskjet printer connected to
an xp box. Gimp-print was also installed. Ghostscript was
already installed. I ran /usr/local/share/apsfilter/./SETUP
 thought I had it whipped. That's where the fun started.
Apparently I've missed something along the way, since the
print job never gets sent to the xp box. I also found out
at linuxprinting.org that the recommended hp 722c driver
is pnm2ppa. There was only one section in the install script
that mentioned that driver, 10) PPA printer, so I chose that.
It plugs it into the setup, but when I try to print a test
page, I get ERROR: additional filter 'pnm2ppa' not found.
I found the driver at linuxprinting.org  downloaded it.
How do I go about using it? Is there a way to compile it
into ghostscript? I have ghostscript-gnu-nox11-7.07_14 
the apsfilter setup script found it  didn't complain.
Do I need to install another more complete version? I know
if I install ghostscript-afpl, I'll also have to recompile
 reinstall apsfilter with the proper make options. When
I choose the more generic just plain deskjet printer driver,
the script accepts it, and when I try to print a test page,
there's no complaining about the driver like when I try the
ppa driver. Test page is created, supposedly sent to the
xp printer with even a speed, average around 950 kb/s, but
I see where it only goes to stdin. I'm definitely not a
programmer, but another filter, ghostscript, something, has
to relay it to stdout, is that correct?
So, I could use some pointers on this. If anyone interested
in answering needs more info, I'll be glad to plug it in to
a reply. Like smb.conf, apsfilterrc,  so forth. Thanks.
Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFD9a7dy0Ty5RZE55oRAg/8AKCaidZVu40OrIvmGeLm/Zw40RDAqgCaAggH
YmKpizvD6o7ihgZM8MmQKn0=
=wm8n
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apsfilter question/problem

2006-02-17 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Today Mike Jeays spake forth boldly:


On Fri, 2006-02-17 at 11:09 +, Denny White wrote:


I read the article at Onlamp about printing for the impatient.
Installed apsfilter and samba on my old hp netserver so I'd
be able to print to an hp 722c deskjet printer connected to
an xp box. Gimp-print was also installed. Ghostscript was
already installed. I ran /usr/local/share/apsfilter/./SETUP
 thought I had it whipped. That's where the fun started.
Apparently I've missed something along the way, since the
print job never gets sent to the xp box. I also found out
at linuxprinting.org that the recommended hp 722c driver
is pnm2ppa. There was only one section in the install script
that mentioned that driver, 10) PPA printer, so I chose that.
It plugs it into the setup, but when I try to print a test
page, I get ERROR: additional filter 'pnm2ppa' not found.
I found the driver at linuxprinting.org  downloaded it.
How do I go about using it? Is there a way to compile it
into ghostscript? I have ghostscript-gnu-nox11-7.07_14 
the apsfilter setup script found it  didn't complain.
Do I need to install another more complete version? I know
if I install ghostscript-afpl, I'll also have to recompile
 reinstall apsfilter with the proper make options. When
I choose the more generic just plain deskjet printer driver,
the script accepts it, and when I try to print a test page,
there's no complaining about the driver like when I try the
ppa driver. Test page is created, supposedly sent to the
xp printer with even a speed, average around 950 kb/s, but
I see where it only goes to stdin. I'm definitely not a
programmer, but another filter, ghostscript, something, has
to relay it to stdout, is that correct?
So, I could use some pointers on this. If anyone interested
in answering needs more info, I'll be glad to plug it in to
a reply. Like smb.conf, apsfilterrc,  so forth. Thanks.
Denny White


-
# Printcap file: Added 2005-04-25 based on pnm2ppa suggestions.

lp|ascii|unix:\
   :lp=/dev/lpt0:\
   :sd=/var/spool/lpd:\
   :if=/home/mike/bin/pnm2ppa-filter:\
   :mx#0:\
   :sh:
-
#!/bin/sh
# printcap-filter
TMP=/tmp/pnm2ppa.tmp
cat $TMP
ch1=`head -1 $TMP | cut -c 1`
if [ $ch1 = '%' ]
then
cat $TMP | /usr/local/bin/gs -sDEVICE=ppmraw -q -dNOPAUSE -r600 \
-sOutputFile=- - | \
/usr/local/bin/pnm2ppa -i - -o -
else
 cat $TMP | /usr/local/bin/enscript -B -q -p - | \
 /usr/local/bin/gs -sDEVICE=ppmraw -q -dNOPAUSE -r600 \
 -sOutputFile=- - | \
 /usr/local/bin/pnm2ppa -i - -o -
fi
rm $TMP



--
Mike Jeays
http://ca.geocities.com/[EMAIL PROTECTED]



Thanks for the answer, Mike. Will have to try working with
this when I get off work in the a.m. Have no idea how to
incorporate it with the smb stuff. I know that there's a
basic apsfilterrc in /usr/local/etc/apsfilter  then separate
apsfilterrc's for each individual printer in separate subdirs,
along with smbclient.conf. I've tried reading samba logs, 
/var/log/messages to try  figure out what I'm doing wrong.
This whole thing started because of me not wanting to have to
scp files to the xp box  then having to go there to physically
enter printer commands. Laziness prevailed. If I ever get this
working, it'll be worth it. In the meantime, I think it took
less energy walking. :)
Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFD9eKty0Ty5RZE55oRAnlFAKCrLWKTU/rz9BWQm1jzOwmDh64hZwCgp2yD
nMPdRVZ23gkvU4IQAHzaoQg=
=eYru
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samba vulnerability make problem

2006-02-13 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Feb 12 Robert Slade spake forth boldly:


Was trying to setup apsfilter to be able to print to my
winbox printer. Got as far as the follwing:

===   apsfilter-7.2.6_2 depends on executable: smbclient - not found
===Verifying install for smbclient in /usr/ports/net/samba
===  samba-2.2.12_2 has known vulnerabilities:
= samba -- integer overflow vulnerability.
Reference: 
http://www.FreeBSD.org/ports/portaudit/3b3676be-52e1-11d9-a9e7-0001020eed82.html
= Please update your ports tree and try again.
*** Error code 1

Stop in /usr/ports/net/samba.
*** Error code 1

Stop in /usr/ports/print/apsfilter.
*** Error code 1

Stop in /usr/ports/print/apsfilter.

Script done on Sat Feb 11 20:01:52 2006

I've got portaudit installed  the database was just updated
several days ago, as well as the ports with portsnap  portupgrade.
Have checked the last week or so of the cvs mailing list for samba
 found nothing, so I didn't rerun portsnap  portupgrade. Already
so many dependencies installed for apsfilter, I hated to update
anything else right in the middle of all of this. Tried running the
make command with -DIGNORE_VULNERABILITIES but still no dice. Any
advice, pointers to reading up on it, help, appreciated.
Denny White


Denny,

Samba3 is in the ports try that instead.




Thanks for the advice, Robert. Did it. Found the proper printer
driver  set it up. Took a long time to connect to an ftp server
that had it (in case someone else has to do the same thing, don't
cancel, it'll find a server eventually that has it). Apsfilter
is setup now. Still have to fiddle with Samba settings. Had it
setup once before a long time back when I was running FreeBSD
4.7, I believe, on my old laptop. It'll just take some patience
 tinkering. Thanks again for the help.
Denny White

Please do not CC me. Already subscribed to mailing list.

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFD8IKPy0Ty5RZE55oRAu1hAJ9ypH21sKLDpQTM/kEAPh7UaybbUQCgumT4
K0x0NSNGaQgPBOoECGHoZz8=
=uPNE
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Samba vulnerability make problem

2006-02-11 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Was trying to setup apsfilter to be able to print to my
winbox printer. Got as far as the follwing:

===   apsfilter-7.2.6_2 depends on executable: smbclient - not found
===Verifying install for smbclient in /usr/ports/net/samba
===  samba-2.2.12_2 has known vulnerabilities:
= samba -- integer overflow vulnerability.
   Reference: 
http://www.FreeBSD.org/ports/portaudit/3b3676be-52e1-11d9-a9e7-0001020eed82.html
= Please update your ports tree and try again.
*** Error code 1

Stop in /usr/ports/net/samba.
*** Error code 1

Stop in /usr/ports/print/apsfilter.
*** Error code 1

Stop in /usr/ports/print/apsfilter.

Script done on Sat Feb 11 20:01:52 2006

I've got portaudit installed  the database was just updated
several days ago, as well as the ports with portsnap  portupgrade.
Have checked the last week or so of the cvs mailing list for samba
 found nothing, so I didn't rerun portsnap  portupgrade. Already
so many dependencies installed for apsfilter, I hated to update
anything else right in the middle of all of this. Tried running the
make command with -DIGNORE_VULNERABILITIES but still no dice. Any
advice, pointers to reading up on it, help, appreciated.
Denny White

Please do not CC me. Already subscribed to mailing list.

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFD7krBy0Ty5RZE55oRAmQBAJ98IKinB70kHj56nIP9LkyZofhLogCgyHGM
e0fTVOrU1FaXtS7KsJOUWLo=
=rdeN
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why does portsdb -Uu run so long?

2006-02-04 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Today Xn Nooby spake forth boldly:


It just does, after you cvsup new ports cd into /usr/ports and type
make fetchindex. what way is the old foolproof way?



Here is how I update my system (without using a 'make fetchindex')

 cvsup -g -L 2 /root/stable-supfile
 less UPDATING
 make buildworld
 make buildkernel
 make installkernel
 shutdown now
 cd /usr/src
 make installworld
 mergemaster
 shutdown -r now
 portsdb -Uu
 portversion -l 
 portupgrade -arR
 reboot

It takes forever, but it works everytime.  Everything else I've ever tried
has always had some kind of error, and I never know what they mean or what I
should do.

Maybe by never doing a fetchindex, I've never really updated my system, and
thats why its never had a problem, lol. That would be embarassing.
___


Try portsdb -uUF

Please do not CC me. Already subscribed to mailing list.

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFD5Hbsy0Ty5RZE55oRAlr9AJ0XLqkm4vTDasR1PDRSCbl9e2+VKACfU4XQ
oHFZVw5HuVkkrhs6Yuy7S1s=
=NXHH
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: replacement for Acrobat Professional?

2006-01-09 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Jan 9 Michael W. Lucas contributed the following:


Hi folks,

I've been handed a whole bunch of PDFs and asked to make my comments
directly in them.  I'm sure there's something in ports that can do
that, but my search hasn't turned up anything.  (Of course, I really
have no idea what I'm looking for, which hampers the search. :-)

Any suggestions on a replacement for or equivalent to Acrobat Pro?

I'm on a -current box running i386.

Thanks for any pointers,

==ml


--
Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED]
http://www.BlackHelicopters.org/~mwlucas/

The cloak of anonymity protects me from the nuisance of caring. -Non Sequitur
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Michael,
Here are some links. Hope they help.
Denny White

http://www.accesspdf.com
http://www.freebsdsoftware.org/print/flpsed.html
http://pdfhacks.com/pdftk (don't overlook the Vim plugin part)


Please do not CC me. Already subscribed to mailing list.

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFDww5Ny0Ty5RZE55oRAplfAJ9ekbutngwMe8KZgLhJhnaIORMK0ACgza2+
2sqjq18VT5AK5Q3lqA5VG7I=
=tszC
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade freezing

2006-01-05 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- Original Message - From: Tom Grove [EMAIL PROTECTED]
To: Dave [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Wednesday, January 04, 2006 3:17 PM
Subject: Re: portupgrade freezing



Dave wrote:


Hello,
   Last portupgrade i did showed portupgrade itself was in need of 
updating. I ran portupgrade -arR and i got portupgrade v2.01,1, now when i 
run a portupgrade command the system just sits there. I don't get any 
output at all. I have uninstalled portupgrade and reinstalled it, no 
change. Any help welcome.

Thanks.
Dave.

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



Do you have to power off the system before it will be responsive again or 
just kill portupgrade? Have you looked through the logs for any messages?
portupgrade v2.01,1...are you sure; that doesn't seem to correspond with my 
versioning scheme? What does pkg_info say about portupgrade and it's 
version? What does portversion -l  say about portupgrade?


-Tom 


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



On Jan 4 Dave contributed the following:
Hi,
  I don't have to kill the system, just portupgrade. When i run portversion 
-l  it just hangs as well. A pkg_info shows portupgrade version 2.0.1,1.

Dave.




Been watching this thread. Ran my usual maintenance script which
ends up with portversion -l  and, if needed, portupgrade -arR
and portsclean -DP. It showed portupgrade needed upgrading again
from 2.0.0,1 to 2.0.1,1  upgraded it. Afterward, I had a couple
of stale dependencies, but not related to portupgrade. Fixed them.
Ran portversion again and, though it wasn't needed, portupgrade,
both with no problems. Since, at that point, nothing needed upgrading,
I still can't say for sure if the same problem described originally,
exists or not on my system, but I'm sure within a couple of days,
something will need upgrading. If portupgrade screws up, I'll reply
to this thread again. BTW, running FreeBSD_5_4 on an old HP Netserver.
I didn't see in this thread what version of FreeBSD the problem was
happening on. Wondering if it'd help on the system in question to run
portsdb -uUF and pkgdb -fu and try portversion and portupgrade again.
Hope some of this helps.
Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFDvWq6y0Ty5RZE55oRAoSeAKC/Z8c0yK/e2iHkr0IvYpPbJwlCUQCffk1l
x7DcHPCiOseg7TQNbDZ9W2I=
=lyvH
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Script help for updating routine

2005-11-03 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 11/2/05, Denny White [EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I have a script, pasted in below, which does various
things on a daily basis, like cvsup src, docs, ports,
portsdb, portversion, portupgrade,  so on. I finally
figured out how to do the if/then/else thing with the
portversion-portupgrade part of the script, but I can't
figure out what to do to bypass the docs install part
if there are no new docs. Thanks for any help I can
get on it. Script follows:

#!/bin/sh
#
echo Cvsup latest src and doc
cvsup -g -L 2 /root/srcdoc-supfile
#
# THIS THE PART IN QUESTION, THAT DOES
# DOES THE DOCS. CUSTOM MAKEFILE IS FOR
# ENGLISH ONLY.
#G
#send copious output to the bit bucket
echo Updating docs
echo 
cd /usr/doc
cp Makefile.custom Makefile
make install
#make install  /dev/null
#
cd /root
echo Portsnap fetching and updating ports
echo 
portsnap fetch
portsnap update
#
echo Updating INDEX in /usr/ports
echo 
cd /usr/ports
#make fetchindex
portsdb -uUF
#
echo Portaudit checking for vulnerabilities in installed ports
echo Results in file /root/vulnerable
echo 
portaudit -Fda  /root/vulnerable
#
echo Portversion checking if any ports need upgrading
echo Results in file /root/need2upgrade
echo 
portversion -l   /root/need2upgrade
if grep '' /root/need2upgrade; then
echo Portupgrade upgrading out-of-date ports
portupgrade -arR; else
echo Ports already up to date 12
exit 1
fi
echo Finished at `/bin/date`.
exit




Today Andrew P. contributed the following:

1. You can limit docs to custom languages in
make.conf, that's a better way


Yup, did it already. I had just copied it word for
word to see how well it worked. Found it in Dru
Lavigne's at OReilly.



2. You can affor to copy extra 60Mb once a day,
can't you?


Don't quite follow on that. It's all downloaded.
Other langs aren't #'d out in the supfile, just
aren't installed. Time consuming, not about h/d
space.



3. You can grep cvsup output against something
like doc/


That's what I thought. Can't see grepping doc,
maybe update? Don't know quite how, tho. Don't
know enough about scripting yet, as I said. I
don't want to interrupt the cvsup process. I
thought about using tee  grep 'update' or
something to that affect in that secondary
output.



4. Never run portsnap fetch from cron, even if
you chose a very odd time, use portsnap cron



Yup, know about that, but thanks for the warning.
I have it setup like you said, in cron, for times
when I'm too lazy to run the entire script  instead,
just do it piecemeal.

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Made with pgp4pine 1.76

iD8DBQFDal7vy0Ty5RZE55oRAtEcAJ9RJz3f7O6HXaL8KCAAPi4kn5cVewCgtASm
qSJKDVKG3r7SDQ0PDfjk+kU=
=nLco
-END PGP SIGNATURE-

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


Script help for updating routine

2005-11-02 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I have a script, pasted in below, which does various
things on a daily basis, like cvsup src, docs, ports,
portsdb, portversion, portupgrade,  so on. I finally
figured out how to do the if/then/else thing with the
portversion-portupgrade part of the script, but I can't
figure out what to do to bypass the docs install part
if there are no new docs. Thanks for any help I can
get on it. Script follows:

#!/bin/sh
#
echo Cvsup latest src and doc
cvsup -g -L 2 /root/srcdoc-supfile
#
# THIS THE PART IN QUESTION, THAT DOES
# DOES THE DOCS. CUSTOM MAKEFILE IS FOR
# ENGLISH ONLY.
#G
#send copious output to the bit bucket
echo Updating docs
echo 
cd /usr/doc
cp Makefile.custom Makefile
make install
#make install  /dev/null
#
cd /root
echo Portsnap fetching and updating ports
echo 
portsnap fetch
portsnap update
#
echo Updating INDEX in /usr/ports
echo 
cd /usr/ports
#make fetchindex
portsdb -uUF
#
echo Portaudit checking for vulnerabilities in installed ports
echo Results in file /root/vulnerable
echo 
portaudit -Fda  /root/vulnerable
#
echo Portversion checking if any ports need upgrading
echo Results in file /root/need2upgrade
echo 
portversion -l   /root/need2upgrade
if grep '' /root/need2upgrade; then
echo Portupgrade upgrading out-of-date ports
portupgrade -arR; else
echo Ports already up to date 12
exit 1
fi
echo Finished at `/bin/date`.
exit

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Made with pgp4pine 1.76

iD8DBQFDaQ7Ny0Ty5RZE55oRAjYhAKCyDOKGhu86oAVu6Ml2ANf2Rt3vXwCfcs52
2V388qkRXw8Kiun8iR7rbiY=
=Wscs
-END PGP SIGNATURE-

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


Re: Sed howto

2005-10-29 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Oct 28 Bill Campbell contributed the following:


On Fri, Oct 28, 2005, Kövesdán Gábor wrote:

Hello,

I'm looking for a good sed howto that can be useful for contributing to
ports collection. Replacing text is I'm especially interested in.
Besides, could somebody explain me, when we use USE_REINPLACE= YES and
${REINPLACE_CMD}, and when we use just ${SED}?


It isn't a HOWTO, but the best sed documentation I've ever read is in the
book ``Unix Text Processing'' by Dougherty and O'Reilly.  I think it's out
of print, but you can download it in PDF format from O'Reilly for free.  It
also has excellent documentation on quite a few other *nix utilities, and
is one of those books that I think should be on every *nix hackers
bookshelf along with Kernighan and Pike's ``Unix Programming Environment''.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Systems, Inc.
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

Foreign aid might be defined as a transfer from poor people in rich
countries to rich people in poor countries -- Douglas Casey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Book's at www.oreilly.com/openbook/utp/UnixTextProcessing.pdf

Self-Pity
I never saw a wild thing sorry for itself.
A small bird will drop frozen dead from a bough
without ever having felt sorry for itself.
D. H. Lawrence

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (OpenBSD)

iD8DBQFDZFPay0Ty5RZE55oRAo4yAKCDsEOm0wsIxtqAF7sgUZA3ArbobACggFEG
1Hon2H3q/FGMv4RcR//X6bM=
=dEUI
-END PGP SIGNATURE-___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: ntop question

2005-09-17 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




Denny White [EMAIL PROTECTED] writes:


Installed ntop. ntop.sh in /usr/local/etc/rc.d, so starts
automatically at boot. That part I understand. Couldn't
find where there's any conf file for it. Read all over
google  in mailing lists. So, question is, I simply have
to move the script out of /usr/local/etc/rc.d to no longer
have it run automatically? Correct?


Today Lowell Gilbert contributed the following:


Just remove the executable bit from it
(chmod gou-x /usr/local/etc/rc.d/ntop.sh)



Hey Lowell,
Thanks for replying. Funny thing is, after it installed
from ports, it didn't have the executable bit set on it.
I saw it complain when I was booting in dmesg, and that's
when I set it executable. Still want to learn how to use
it properly, so I didn't uninstall it. I just moved the
script out /usr/local/etc/rc.d so it won't start auto.
Thanks for the help.
Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Made with pgp4pine 1.76

iD8DBQFDLDC0y0Ty5RZE55oRAkbkAJ4hm0ocHqNE8SyHpNInGCYVMwqzJQCeMyof
O1HSoyY6c5HEnI1z5c0A41I=
=/yNw
-END PGP SIGNATURE-

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


ntop question

2005-09-16 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Installed ntop. ntop.sh in /usr/local/etc/rc.d, so starts
automatically at boot. That part I understand. Couldn't
find where there's any conf file for it. Read all over
google  in mailing lists. So, question is, I simply have
to move the script out of /usr/local/etc/rc.d to no longer
have it run automatically? Correct? I just wanted to use
it to learn. Definitely do not have enough knowledge on it
at present to be configuring  running it as a daemon. Nor
the memory/cpu resources on this old box. It really hogs
cpu time  doesn't take advantage of smp either, as far as
I can tell from running top. Thanks for any advice/help.
Denny White


GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Made with pgp4pine 1.76

iD8DBQFDKuS1y0Ty5RZE55oRAv/MAKCSB4CllTsUyN5iTrA/s0NZRqPy3ACgk161
Tqa8l8so9vIBKe1oFqbGx6Q=
=gssr
-END PGP SIGNATURE-

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


Re: fsck on corrupted /

2005-09-14 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Aug 29 Erik Norgaard boldly spake forth the following:



Denny White wrote:


The problem started with a power outage before I
had the box in question on a ups. I switched it
to the ups and ran fsck and thought all was well.
Then I started having periodic reboots. After the
last one, the system would crash about the time
fsck was checking pathnames. Have tried running
fsck on / from both single user mode and from the
fixit live cd. Same thing, crashes. Any help/ideas
greatly appreciated.


If you can, try to boot mounting / read-only, at least you shouldn't get disk 
errors on that label then. But this may just be your disk degrading from bad 
to worse untill it's final death :-(


Do you get any READ_DMA or WRITE_DMA errors? I remember that there has been a 
lot of threads regarding disk errors the last month, try searching the 
archive for hints.


For example you should be able to lower throughput using ata_control, this 
may reduce problems.


Cheers, Erik



Very sorry for not answering earlier. Evacuated Biloxi 8/30 for
hurricane katrina. Back home now. Quite a mess here. I was able
to finally run fsck successfully, using a fbsd 5.3 live cd in
single user mode. Never had any success previous to that, just
booting the 5.4 system into single user  doing fsck. The box
has been running ok since I got back to the house and didn't
give me me any further problems until I started running my
update script again, which really just does some simple update
stuff. Cvsup's src, ports,  docs; installs new docs; fetches
new ports index  runs portsdb -u; runs portversion -l  
portaudit -Fda  exits. Only thing changed at all on the system
is the docs that are updated  the updated portsdb. Have had no
WRITE_DMA or READ_DMA errors. Only time anything got scrambled
up was after the initial power outage that started the problems,
but fsck reported everything salvaged  marked clean. I thought
best  simplest way to check for hardware problems, since the
box isn't a production system  is mostly just for learning 
surfing, was to run a live cd on it for a couple of days and
see if I get any reboots.? Definitely mount the h/d's too,
while doing so. Thanks for any further thoughts ideas on the
issue. Sorry again for the late answer.

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Made with pgp4pine 1.76

iD8DBQFDKKZAy0Ty5RZE55oRAqTAAJ4uZDtt5ciq4dN04jd8ZHf/m5UpngCbB27u
ggMMzu8FEITfcLpspeDWA34=
=G7+H
-END PGP SIGNATURE-

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


fsck on corrupted /

2005-08-28 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


The problem started with a power outage before I
had the box in question on a ups. I switched it
to the ups and ran fsck and thought all was well.
Then I started having periodic reboots. After the
last one, the system would crash about the time
fsck was checking pathnames. Have tried running
fsck on / from both single user mode and from the
fixit live cd. Same thing, crashes. Any help/ideas
greatly appreciated.
Denny white

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Made with pgp4pine 1.76

iD8DBQFDEcQly0Ty5RZE55oRAlZoAJsFl1AeyMmQnldNzgOPUQ+mlJquFgCgz0uL
9f3HWqPuSQ2Q842yCnjzY7c=
=y8C+
-END PGP SIGNATURE-

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


Help Needed on cpan-perl-portupgrade

2005-08-13 Thread Denny White


Message originally cpan/bsdpan/ports need help.
Really need help here. I really botched up perl
 cpan  can no longer do some portugrading, either,
that I need. Pasting the original message with threads
in below here. Hate to reinstall system, since all
other is working okay.
Original thread here:



Denny White wrote:




I had read where it was better to use ports than cpan
modules. I had originally used cpan because of updating
the virus data files for f-prot, before I knew I could
do it with portupgrade. I got tired of seeing ports held
by user  had trouble trying to force some of them to
upgrade, so I took out the bsdpan portion from:


From /usr/local/etc/pkgtools.conf


  HOLD_PKGS = [
'bsdpan-*',
  ]
Now I can't do anything with cpan, including installing some
ports. Here's the output from cpan:

Cannot load ExtUtils::MakeMaker: Can't locate ExtUtils/MakeMaker.pm
in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.7/mach
/usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl/5.8.6
/usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/5.8.7/mach
/usr/local/lib/perl5/site_perl/5.8.7 .) @ (eval 4) line 1.

Begin failed--compilation aborted at /usr/local/lib/perl5/5.87/BSDPAN/
ExtUtils/MakeMaker.pm line 17.
Compilation failed in require at /usr/local/lib/perl5/5.8.7/CPAN.pm
line 16.
Begin failed--compilation aborted at /usr/local/lib/perl5/5.8.7/CPAN.pm
line 16.

Compilation failed in require at /usr/local/bin/cpan line 119.
Begin failed--compilation aborted at /usr/local/bin/cpan line 119.

Below are the ports that got upgraded when this whole fiasco
started, due to my ignorance about perl, cpan, and ports and
their interdependencies:

total 10994
drwxr-xr-x9 root  wheel   512 Aug 11 08:19 ..
-rw-r--r--1 root  wheel  10726400 Aug 11 02:07 pkgdb.db
drwxr-xr-x  246 root  wheel  7168 Aug 11 02:07 .
drwxr-xr-x2 root  wheel   512 Aug 11 02:04 p5-Time-HiRes-1.72,1
drwxr-xr-x2 root  wheel   512 Aug 11 02:03 p5-CGI.pm-3.10_1,1
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 txt2html-2.41
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 p5-PathTools-3.09
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 
p5-ExtUtils-CBuilder-0.12
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 
p5-ExtUtils-ParseXS-2.07
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 
p5-Module-Build-0.26.11

drwxr-xr-x2 root  wheel   512 Aug 11 02:02 p5-Archive-Tar-1.23_1
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-Test-Pod-1.20
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 
bsdpan-Test-Builder-Tester-1.01

drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-Storable-2.15
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-Pod-Simple-3.02
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 
bsdpan-Pod-Escapes-1.04

drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-MD5-2.03

Any help greatly appreciated on how to fix this.
Denny White



the bsdpan-PathTools is how the ports are named when not building from 
the ports collection (from what i understand). my only solution (and it 
shouldn't take too much time) is to deinstall it and build from ports.



GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

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


cpan/bsdpan/ports need help

2005-08-11 Thread Denny White


I had read where it was better to use ports than cpan
modules. I had originally used cpan because of updating
the virus data files for f-prot, before I knew I could
do it with portupgrade. I got tired of seeing ports held
by user  had trouble trying to force some of them to
upgrade, so I took out the bsdpan portion from:

From /usr/local/etc/pkgtools.conf

  HOLD_PKGS = [
'bsdpan-*',
  ]
Now I can't do anything with cpan, including installing some
ports. Here's the output from cpan:

Cannot load ExtUtils::MakeMaker: Can't locate ExtUtils/MakeMaker.pm
in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.7/mach
/usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl/5.8.6
/usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/5.8.7/mach
/usr/local/lib/perl5/site_perl/5.8.7 .) @ (eval 4) line 1.

Begin failed--compilation aborted at /usr/local/lib/perl5/5.87/BSDPAN/
ExtUtils/MakeMaker.pm line 17.
Compilation failed in require at /usr/local/lib/perl5/5.8.7/CPAN.pm
line 16.
Begin failed--compilation aborted at /usr/local/lib/perl5/5.8.7/CPAN.pm
line 16.

Compilation failed in require at /usr/local/bin/cpan line 119.
Begin failed--compilation aborted at /usr/local/bin/cpan line 119.

Below are the ports that got upgraded when this whole fiasco
started, due to my ignorance about perl, cpan, and ports and
their interdependencies:

total 10994
drwxr-xr-x9 root  wheel   512 Aug 11 08:19 ..
-rw-r--r--1 root  wheel  10726400 Aug 11 02:07 pkgdb.db
drwxr-xr-x  246 root  wheel  7168 Aug 11 02:07 .
drwxr-xr-x2 root  wheel   512 Aug 11 02:04 p5-Time-HiRes-1.72,1
drwxr-xr-x2 root  wheel   512 Aug 11 02:03 p5-CGI.pm-3.10_1,1
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 txt2html-2.41
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 p5-PathTools-3.09
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 p5-ExtUtils-CBuilder-0.12
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 p5-ExtUtils-ParseXS-2.07
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 p5-Module-Build-0.26.11
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 p5-Archive-Tar-1.23_1
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-Test-Pod-1.20
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 
bsdpan-Test-Builder-Tester-1.01
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-Storable-2.15
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-Pod-Simple-3.02
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-Pod-Escapes-1.04
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-MD5-2.03

Any help greatly appreciated on how to fix this.
Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

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


Re: cpan/bsdpan/ports need help - Checked by AntiVir -

2005-08-11 Thread Denny White




Denny White wrote:



I had read where it was better to use ports than cpan
modules. I had originally used cpan because of updating
the virus data files for f-prot, before I knew I could
do it with portupgrade. I got tired of seeing ports held
by user  had trouble trying to force some of them to
upgrade, so I took out the bsdpan portion from:


From /usr/local/etc/pkgtools.conf


  HOLD_PKGS = [
'bsdpan-*',
  ]
Now I can't do anything with cpan, including installing some
ports. Here's the output from cpan:

Cannot load ExtUtils::MakeMaker: Can't locate ExtUtils/MakeMaker.pm
in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.7/mach
/usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl/5.8.6
/usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/5.8.7/mach
/usr/local/lib/perl5/site_perl/5.8.7 .) @ (eval 4) line 1.

Begin failed--compilation aborted at /usr/local/lib/perl5/5.87/BSDPAN/
ExtUtils/MakeMaker.pm line 17.
Compilation failed in require at /usr/local/lib/perl5/5.8.7/CPAN.pm
line 16.
Begin failed--compilation aborted at /usr/local/lib/perl5/5.8.7/CPAN.pm
line 16.

Compilation failed in require at /usr/local/bin/cpan line 119.
Begin failed--compilation aborted at /usr/local/bin/cpan line 119.

Below are the ports that got upgraded when this whole fiasco
started, due to my ignorance about perl, cpan, and ports and
their interdependencies:

total 10994
drwxr-xr-x9 root  wheel   512 Aug 11 08:19 ..
-rw-r--r--1 root  wheel  10726400 Aug 11 02:07 pkgdb.db
drwxr-xr-x  246 root  wheel  7168 Aug 11 02:07 .
drwxr-xr-x2 root  wheel   512 Aug 11 02:04 p5-Time-HiRes-1.72,1
drwxr-xr-x2 root  wheel   512 Aug 11 02:03 p5-CGI.pm-3.10_1,1
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 txt2html-2.41
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 p5-PathTools-3.09
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 
p5-ExtUtils-CBuilder-0.12

drwxr-xr-x2 root  wheel   512 Aug 11 02:02 p5-ExtUtils-ParseXS-2.07
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 p5-Module-Build-0.26.11
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 p5-Archive-Tar-1.23_1
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-Test-Pod-1.20
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 
bsdpan-Test-Builder-Tester-1.01

drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-Storable-2.15
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-Pod-Simple-3.02
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-Pod-Escapes-1.04
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-MD5-2.03

Any help greatly appreciated on how to fix this.
Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

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






Today nawcom had this to say:
the bsdpan-PathTools is how the ports are named when not building from the 
ports collection (from what i understand). my only solution (and it shouldn't 
take too much time) is to deinstall it and build from ports.


If you look above in the original message from me, you'll see
the list of ports that were installed when I overrode the setting
in pkgtools.conf, i.e., to not hold bsdpan stuff. That's what
hosed cpan for me. Now I'm stuck with that  no matter what I try
to do with cpan, I get the output that's listed above in the
original part of this message. There are some ports that won't
even install now, using portupgrade, due to this problem. I really
don't know where to go from here, unless maybe it's to cvsup RELENG_5
instead of just RELENG_5_4  try rebuilding everything. 
Denny White


GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

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


Re: antivir-milter question

2005-08-04 Thread Denny White


Today Martin Welk had this to say:


Good morning,

on Wed, Aug 03, 2005 at 08:41:53PM -0500, Denny White wrote:


I had read where I needed to edit sendmail.mc but couldn't find
it. Then read the equivalent mc file for freebsd I needed to edit
was /etc/mail/freebsd.mc to which I added:

INPUT_MAIL_FILTER(
`antivir-milter',
`S=unix:/var/spool/avmilter/avmilter.sock, F=T, T=S:10m;R:10m;E:10m'
)dnl

Then I did a `make install' to rebuild, what I thought, was
sendmail.cf, but it's looking like I was way off beam. Here's
what's in /var/mail/maillog:

(...)

I looks like your avmilter never gets used. Please have a look at your
/etc/make.conf. This might include a line stating what sendmail mc file
to use for generating your individual sendmail.cf:

SENDMAIL_MC=/etc/mail/theatre.sax.de.mc

Than, the corresponding line in /etc/mail/theatre.sax.de.mc is:

INPUT_MAIL_FILTER(`avmilter',`S=inet:[EMAIL PROTECTED],F=R,T=S:10m;R:10m;E:10m')

This is exactly from the antivir-milter documentation, and the only thing I
did afterwards was
make
make install
make restart
Since than, it's just working. Of course, I've set up a start script in
/usr/local/etc/rc.d that enables avmilter at system startup. Do you
probably have some older version? Mine is using sockets, not a pipe.

Does your avmilter listen on some port? (Mine is using default, .)

Regards,
Martin

--
 ,,Oh, there's a lot of opportunities, if you're knowing to take them,
 you know, there's a lot of opportunities, if there aren't
   you can make them, make or break them!'' (Tennant/Lowe)



Okay, maybe the script avmilter.sh in /usr/local/etc/rc.d
is the problem. If you issue the command in the MANUAL to
use port [EMAIL PROTECTED], it looks like this:

avmilter -p inet:[EMAIL PROTECTED]

But, here's the relevant portion from the script:


case $1 in
start)
if [ -x /usr/local/sbin/avmilter ]; then
umask 0077
/bin/rm -f /var/spool/avmilter/avmilter.sock
/usr/sbin/daemon -f /usr/local/sbin/avmilter \
-P /usr/local/etc/avmilter \
-p local:/var/spool/avmilter/avmilter.sock 
umask 0022
echo -n  avmilter
fi
;;
stop)


So, theres no mention of it there. This has really got
me stumped! I checked /etc/make.conf  there's nothing
there except some stuff I put for when I'm updating
src  rebuilding. Nothing about sendmail.


GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

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


antivir-milter question

2005-08-03 Thread Denny White


I've read the docs on antivir-milter, installed it,
set it up to verify downloaded updates with gpg,
tested it to see if it's checking mail with eicar,
 everything's working fine. Only thing is, I'd
like it to show in my messages that they've been
checked for viruses  I can't seem to get it do
that. I know that the AddXHeader setting only works
in commercial version, but it says if you set the
ModifySubject to YES that it'll show up, as I
understand it, appended to the subject. I did that
 restarted it but still no notice. Any ideas/help
appreciated.
Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

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


Re: antivir-milter question

2005-08-03 Thread Denny White



Today Martin Welk had this to say:


On Wed, Aug 03, 2005 at 09:01:51AM -0500, Denny White wrote:


I've read the docs on antivir-milter, installed it,
set it up to verify downloaded updates with gpg,
tested it to see if it's checking mail with eicar,
 everything's working fine. Only thing is, I'd
like it to show in my messages that they've been
checked for viruses  I can't seem to get it do
that. I know that the AddXHeader setting only works
in commercial version, but it says if you set the
ModifySubject to YES that it'll show up, as I
understand it, appended to the subject. I did that
 restarted it but still no notice. Any ideas/help
appreciated.
Denny White


Hm, I'm using the personal version of antivir-milter, installed it just a
few days ago - and for every checked mail, it puts a header like this in:
X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-7; AVE: 6.31.1.0;
VDF: 6.31.1.54; host: theatre.sax.de)

I suspect that something else is wrong. Does your sendmail delegate the
mail to antivir-milter? Is it running? It should write some message into
your /var/log/mailog, here's an example.

Startup:

ug  3 17:20:05 theatre avmilter[16541]: listening on: inet:[EMAIL PROTECTED]
Aug  3 17:20:06 theatre avmilter[16541]: engine version: 6.31.1.0
Aug  3 17:20:06 theatre avmilter[16541]: vdf version: 6.31.1.54
Aug  3 17:20:06 theatre avmilter[16541]: addressfilter not active
Aug  3 17:20:06 theatre avmilter[16541]: extension blocking is disabled
Aug  3 17:20:06 theatre avmilter[16541]: running in private mode
Aug  3 17:20:40 theatre sendmail[16570]: j73FKeek016570:

Later:

Aug  3 17:20:41 theatre sm-mta[16579]: j73FKfm7016579: Milter add: header:
X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-7; AVE: 6.31
.1.0; VDF: 6.31.1.54; host: theatre.sax.de)

I didn't do anything except following the installation instructions, that
means, I've put the required m4 macro string into my mc file and rebuilt
the sendmail.cf. From that on, it was working instantly like a charm

Oh yes, and with the EICAR test signature it generates an alert mail to the
postmaster and puts the file into the rejected files directory (for my
installation, /var/spool/avmilter/rejected). The only thing I had to change
was the path to sendmail, in /etc/avmilter.conf it isn't set and the
default points to /usr/lib/sendmail - on FreeBSD that's /usr/sbin/sendmail.

Regards,
Martin

--
 ,,Oh, there's a lot of opportunities, if you're knowing to take them,
 you know, there's a lot of opportunities, if there aren't
   you can make them, make or break them!'' (Tennant/Lowe)



I had read where I needed to edit sendmail.mc but couldn't find
it. Then read the equivalent mc file for freebsd I needed to edit
was /etc/mail/freebsd.mc to which I added:

INPUT_MAIL_FILTER(
`antivir-milter',
`S=unix:/var/spool/avmilter/avmilter.sock, F=T, T=S:10m;R:10m;E:10m'
)dnl

Then I did a `make install' to rebuild, what I thought, was
sendmail.cf, but it's looking like I was way off beam. Here's
what's in /var/mail/maillog:

Aug  3 01:54:15 dualman avmilter[80193]: listening on: 
local:/var/spool/avmilter/avmilter.sock
Aug  3 01:54:19 dualman avmilter[80193]: engine version: 6.31.1.0
Aug  3 01:54:19 dualman avmilter[80193]: vdf version: 6.31.1.46
Aug  3 01:54:19 dualman avmilter[80193]: addressfilter not active
Aug  3 01:54:19 dualman avmilter[80193]: extension blocking is disabled
Aug  3 01:54:19 dualman avmilter[80193]: running in private mode
Aug  3 19:44:45 dualman avmilter[497]: listening on: 
local:/var/spool/avmilter/avmilter.sock
Aug  3 19:44:50 dualman avmilter[497]: engine version: 6.31.1.0
Aug  3 19:44:50 dualman avmilter[497]: vdf version: 6.31.1.50
Aug  3 19:44:50 dualman avmilter[497]: addressfilter not active
Aug  3 19:44:50 dualman avmilter[497]: extension blocking is disabled
Aug  3 19:44:50 dualman avmilter[497]: running in private mode

It's listening on local:/var/spool/avmilter/avmilter.sock, so
apparently I've botched things up. Can you clear up for me
about the sendmail.cf? I googled around  read in the fbsd
mailing list. The best I could come up with was what I stated
earlier, that the file I needed to edit was freebsd.mc
Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

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


Re: ports problem/question

2005-07-13 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Today Peter Vereshagin had this to say:


On Tue, 12 Jul 2005 15:28:05 -0500 (CDT)
Denny White [EMAIL PROTECTED] wrote:


to install cdrdao which is currently version
1.1.9, I believe,  then failed, with message
saying there's a vulnerability.  There's a fixed
my question about the lagtime between fix and
inclusion. Meantime, still using burncd.


Danny, it uses to be easy to fix the port yourself --- just correct distinfo 
and version in Makefile to correspond the upgraded source tarball. You should 
send a message to the port maintainer and your best should be to supply him/her 
with the upgraded port as a .tbz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Thanks for the answer. I went ahead  did a
make -DDISABLE_VULNERABILITIES install clean
in /usr/ports/sysutils/cdrdao. After that, k3b
installed without any problem. I cvsup ports on
a regular basis,  also watch the cvs mailing
list.  Hopefully, before too long, the port
maintainer will fix the problem with cdrdao.
I ran into the same thing last month with ruby.
Just didn't have much of a handle on how long
fixes usually take to show up in the src or
ports tree once they're done.  Thanks again.
Denny White

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC1Mqwy0Ty5RZE55oRAr47AKCM1jc36PsDYN+W7rSy6xxvv8G91QCeK3Kq
aQpziLyDfPrq3n0TCgec/Lo=
=SxCC
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ports problem/question

2005-07-12 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I know this concerns the ports mailing list,
but I just wanted to ask this list, for those
who've run into the same the same problem,
how long it usually takes before a port is
included on the mirrors once a problem has
been fixed with it.
I tried to install /usr/ports/sysutils/k3b
for the cd-writer  it got as far as it trying
to install cdrdao which is currently version
1.1.9, I believe,  then failed, with message
saying there's a vulnerability.  There's a fixed
version at Sourceforge, but I hate to mess with
anything on my system that's not been checked,
approved  included in the ports tree. Hence,
my question about the lagtime between fix and
inclusion. Meantime, still using burncd.
Thanks for any feedback/help.
Denny White

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC1Cffy0Ty5RZE55oRAj/xAJ9rGl82pCz/o1S+dUxmtWLjk9GAkACgsxkE
H1g3yJ2dNrQSE34M4TfYAM0=
=9G7I
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LiveCD on FreeBSD 5.x

2005-07-12 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Today Jonathan Arnold had this to say:

[EMAIL PROTECTED] wrote:

Hi,

Does LiveCD work well with FBSD 5.x?


If you're looking for a Live CD of FreeBSD, check out either
the LiveCD list:

http://www.frozentech.com/content/livecd.php

Although it doesn't seem to show PC-BSD:

http://www.pcbsd.org/

which, IIRC, is a live CD too.

--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
   http://freebsd.amazingdev.com/blog/

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



I had no problems with pcbsd's livecd.
Puter's already setup in the bios to
check the cd 1st when booting. After
it booted, the only work I had to do
at all was let it know my network settings:

ifconfig xxx.xxx.x.xxx netmask xxx.xxx.xxx.x
(i use a static ip - i don't use dhcp on lan)

route add gateway xxx.xxx.x.x
(for my router - you can check the syntax, it's
  been a while since I used it - man route)

echo nameserver xx.xxx.x.xxx  /etc/resolv.conf
(for dns - nameserver on isp)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC1C/iy0Ty5RZE55oRAq96AKClgxrlQMIAJsjDSIVfUg7vyTT+pQCeIbYD
QXvudDpy1JFbnI6EAJf9Crs=
=I/Xo
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrading all ports

2005-06-28 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Tue, 28 Jun 2005, RW wrote:


On Monday 27 June 2005 17:37, Denny White wrote:

On Mon, 27 Jun 2005, RW wrote:

On Saturday 25 June 2005 12:22, Dick Hoogendijk wrote:

I want to do a portupgrade on all installed ports.

What's the right way?
portupgrade -arR ?
or
portupgrade -a ?


AFAIK there is no difference between the two; -a means upgrade all
ports in the package database, -Rr means add in the dependencies and
dependent ports based on what's in the database, but these are already
covered by -a. New dependencies are built as a side-effect of building
out-of-date ports - not through the -R option.

There *is* a difference between -FRa and -Fa because -FR is translated
into a make checksum-recursive. Anyone who believes that portupgrade is
slower than removing all port and reinstalling has probably been misled
by watching portupgrade -FRa which runs make checksum-recursive for
each installed port and so visits some ports many time.

...


This couldn't have come at a better time for me.
I really boned things up about 40 hours ago. I was
getting ready to leave and because I'd been doing
some learning/experimenting with portupgrade on
some held ports, I hit the wrong switch. I think
it was portupgrade -arRF  now, about 40 hours
later, shortly after returning home, we're still
going, going, going... Things are really in
a mess  I've read the recent posts on this thread
 can attest, sitting here for several hours, that
visits some ports many times is an understatement.
It's becoming rediculous  I'm wondering if, at
some point, when clean is going after something
else was just upgraded, if I can break out  go
back with a simple portupgrade -arR  not screw
things up to badly.


You can break-out of portupgrade -arRF anytime you like, it's only fetching
distfiles not upgrading anything. Normally portupgrade -Fa will fetch all the
file you needs, but portupgrade -FRa is a bit more thorough.

Really though you don't need to run with the -F option at all, unless you
can't build online or want to prefetch files. If it's  taking 40 hours
though, it probably means that your cache of files is badly out-of-date and
you are getting slow downloads - a clean pass that doesn't fetch anything
shouldn't take more than a hour.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



I finally broke out of it. I waited until it had done
its cleaning  was starting to fetch more files. I did
a ls -alt on /var/db/pkg  it was definitely installing/
reinstalling ports. Won't do that again. :) I had wanted
to force the upgrade or downgrade, whatever, of several
held ports. Now I think maybe it had something to do with
me not updating perl the right way. My bad. I went back
 reread UPDATING  found what I had missed. I did a
man perl-after-upgrade  reread all of that too  followed
the instructions. Looks like everything's back to normal.
Thanks for the help.
Denny White

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCwW4cy0Ty5RZE55oRAkAKAKCYmKfN8PabPGawUE5M6FQqZBIm+QCdFCsU
MTCJr7cUxTcCipfZH/uDvjY=
=h6sQ
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrading all ports

2005-06-27 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Mon, 27 Jun 2005, RW wrote:


On Saturday 25 June 2005 12:22, Dick Hoogendijk wrote:

I want to do a portupgrade on all installed ports.

What's the right way?
portupgrade -arR ?
or
portupgrade -a ?


AFAIK there is no difference between the two; -a means upgrade all ports in
the package database, -Rr means add in the dependencies and dependent ports
based on what's in the database, but these are already covered by -a. New
dependencies are built as a side-effect of building out-of-date ports - not
through the -R option.

There *is* a difference between -FRa and -Fa because -FR is translated into a
make checksum-recursive. Anyone who believes that portupgrade is slower
than removing all port and reinstalling has probably been misled by watching
portupgrade -FRa which runs make checksum-recursive for each installed port
and so visits some ports many time.

Portmanager is a good way to bring your ports up-to-date, but it also rebuilds
all ports that depend on out-of date ports. It's a very slow process if you
have a slow machine and most of your ports were up-to-date already, but try
it for yourself.

Portupgrade does a pretty good job if you follow UPDATING, and use the gnome
script for major Gnome upgrades.

If you want to force the rebuilding of all your ports then see pkg_glob(1) and
portupgrade (1) for instructions on how to rebuild ports built after a given
timestamp, as this gives you a restartable method.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




This couldn't have come at a better time for me.
I really boned things up about 40 hours ago. I was
getting ready to leave and because I'd been doing
some learning/experimenting with portupgrade on
some held ports, I hit the wrong switch. I think
it was portupgrade -arRF  now, about 40 hours
later, shortly after returning home, we're still
going, going, going... Things are really in
a mess  I've read the recent posts on this thread
 can attest, sitting here for several hours, that
visits some ports many times is an understatement.
It's becoming rediculous  I'm wondering if, at
some point, when clean is going after something
else was just upgraded, if I can break out  go
back with a simple portupgrade -arR  not screw
things up to badly. Any help/feedback on this will
be GREATLY appreciated. :)
Denny White


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCwCs6y0Ty5RZE55oRAj6LAJ4wuENN2VAn5IlWUeRsPVps5nBgcQCgtsRr
+YpDWuFkojneBoJkl3qk4Jk=
=DrUN
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrading all ports

2005-06-27 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Mon, 27 Jun 2005, Nikolas Britton wrote:


On 6/27/05, Denny White [EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Mon, 27 Jun 2005, Nikolas Britton wrote:



This couldn't have come at a better time for me.
I really boned things up about 40 hours ago. I was
getting ready to leave and because I'd been doing
some learning/experimenting with portupgrade on
some held ports, I hit the wrong switch. I think
it was portupgrade -arRF  now, about 40 hours
later, shortly after returning home, we're still
going, going, going... Things are really in
a mess  I've read the recent posts on this thread
 can attest, sitting here for several hours, that
visits some ports many times is an understatement.
It's becoming rediculous  I'm wondering if, at
some point, when clean is going after something
else was just upgraded, if I can break out  go
back with a simple portupgrade -arR  not screw
things up to badly. Any help/feedback on this will
be GREATLY appreciated. :)
Denny White


You shouldn't have any problems if you do that but kill it at the
beginning of the next build, not when it's cleaning.




Thanks so much for the personal speedy reply. I've worked
for a month getting this system to about where I want it,
 I hate to see it all go down the tubes. Sure glad you
straightened me out on when to break out, too. I see you
didn't put in a cc to freebsd-questions, so I guess I
won't either. After breaking out of the loop, what's the
best thing to do at that point? The only way I could come
up with to try to start is:
cvsup ports-supfile
portsdb -Uu
portversion -l 
portupgrade -arR (no F this time)


Just restart portupgrade without the F flag, it will pick-up where it left off.


If I can get things back right, I'll just learn to live
with the held ports. I never remember telling it to
hold anything,  it's probably pretty apparent I don't
understand as much as I should about portupgrade. I
learned what I know from Dru Lavigne's blogs at Oreilly,
 until I fat-fingered the F without thinking, it was
working okay, except for the held ports. Thanks again
for your help.
Denny White


I'm not sure what you mean by held ports?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




Held ports are listed in an array in /usr/local/etc/pkgtools.conf.
Why I have any there beats me. I don't know enough about it yet to
be able to give an answer. There are times when portupgrade will
ask me questions about extra features in some port, but that's the
only interaction I remember having with the program while it was
running, as far as supplying answers to it. I never remember telling
it to hold anything. Wish someone could help me get this through
my thick noggin. :) I've been doing a lot of reading on it,  I see
where a lot of folks think you're better off deinstalling ports 
starting from scratch. Others prefer portsmanager, I think it's called. 
The reason I started using ports in the 1st place was to learn how to

add extra features to progs that aren't installed by default, as in
packages. Since I definitely ain't that sharp, I may start using pkgs
more  ports less. I'd rather have a smooth working install than the
power to wipe out my system  have to reinstall, at least until I
ever get up to speed on things. Thank you very much for the help.
Denny White


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCwFloy0Ty5RZE55oRAqiDAJ44tORnQYQY7QA1o5fMDxFSouurRQCg0aNc
aZRTHj3B/y0nmcbP8bhb3FE=
=bDDM
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make builworld fails owing to libstdc++ problems

2005-06-27 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Mon, 27 Jun 2005, Giorgos Keramidas wrote:


On 2005-06-27 22:10, Vittorio De Martino [EMAIL PROTECTED] wrote:

Alle 07:26, luned?? 27 giugno 2005, Vasil Dimov ha scritto:

On Sun, Jun 26, 2005 at 09:33:19PM +0200, Vittorio De Martino wrote:

uname -a
FreeBSD fbsd.grtn 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #0: Sat Jun 25
17:40:47 CEST 2005


I have the following in 
in make.conf
CPUTYPE=p4
CFLAGS= -O2 -pipe -funroll-loops
COPTFLAGS= -O2 -pipe -funroll-loops


I tried but the same error stil pops up. What else should I do?
Vittorio


Start by removing all the fancy options from make.conf and starting
*WITHOUT* any make.conf file in /etc.

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



I'm not a programmer, but I have read where the funroll-loops
can produce unstable code. And, I can attest to the fact that
my system complained about the other flags you've got there 
which I also tried to use, except for the cpu type. I had to
stop, do some house cleaning, delete the stuff out of make.conf,
 start over. Then everything went smoothly. And, as I said, I'm
not a programmer, but I sat  watched the build going on after
fixing make.conf,  I saw it using the same values, except for
funroll-loops, that I had had in make.conf. Go figure! I know
someone on this list can probably clear that up, as to why.
Meantime, I'd do what the other answer to your post said to do
 remove that stuff from make.conf  start over. If you still
run into some problems, maybe it'd be because of the stuff left
behind from when you tried to build before. Then you might want
to clean up your /usr/src  /usr/obj's too. That is,

cd /usr/src
make clean
cd ../obj
chflags -R noschg *
rm -rf *

which will clean up from what you've previously done. Then again,
you might want to wait until some more folks read this post and
see if you get any more input. I'm just telling you what's worked
for me in the past.

Denny White


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCwHIsy0Ty5RZE55oRAuj9AKCVCayLIoDpog160A0xsfrx0r184gCffn6K
1jC514OPIBLdhoDbiTbM3XY=
=QaSn
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Triple booted, no mouse with in 5.4 :(

2005-06-25 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Fri, 24 Jun 2005, Bill Schoolcraft wrote:


Hello Family,

I was totally stoked to get my first 64-bit PC, an AMD/Athlon and it
came with Windows-XP Pro, and I did what I always do and that's to then
install Linux then FreeBSD.  All my machines work great like this with
the Linux bootloader doing the booting of WinXP/Linux/FreeBSD.

The thing that bums me out is that the mouse works with WinXP and
SuSE-9.3 but there is no luck with the mouse with FreeBSD-5.4, KDE came
up just fine though.

Per postings to the web I have added and removed and added the line to
/boot/device.hints of:

hint.acpi.0.disabled=1

I also enabled and disabled ACPI in the BIOS too on various
attempts.

I have ran:  Xorg -configure and ran the file that it generated with
really bad results then deleted the generated file and made sure
/etc/X11 was empty and with no apparent config file got a great display
of kde when I started KDE, what file it used I don't know.  I ran a
trace on startx (with a .xinitrc file containing startkde) and I
could not seem to determine it.  I'm still used to /etc/X11/XF86Config
but there is none in the new 5.4

So, I really tried to find some solution to this and more or less hit a
brick wall.

Thanks in advance for any help on this.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



What I'm writing is very basic, but I just got an answer
to a question where I'd forgotten a very basic thing, so
don't get insulted. I may be way off base, being a relative
newbie, but if so, it'll at least probably get a quicker
response from somewhere else. :)

1) Are you still running GENERIC kernel?

2) Do you have /dev/psm0?

3) Do you have, in /etc/rc.conf

   moused_enable=YES?

4) Do you have, in your kernel config file,

   # atkbdc0 controls both the keyboard and the PS/2 mouse
 device psm # PS/2 mouse

5) Do you show something like this in dmesg?

   psm0: PS/2 Mouse irq 12 on atkbdc0
   psm0: model IntelliMouse, device ID 3

6) I know when you don't have /etc/X11/xorg.conf, X will
   still probe  try to come up with a working solution,
   but as to where it stores it's settings, unless in the
   afore mentioned file, I don't know.

7) And if, after running without an xorg.conf file, it does
   have one it generated, does it have anything like this?

# Identifier and driver

Identifier  Mouse1
Driver  mouse
Option ProtocolAuto
Option Device  /dev/sysmouse

8) There have been other posts about xorg.conf problems
   recently. As I said, if you don't configure it yourself,
   it'll try to probe  come up with something. I guess it's
   having trouble with your mouse, though, which, btw, you
   didn't mention what kind of mouse. Did you check the hardware
   compat list?  Hope some of this helped.

Denny White


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCvPvsy0Ty5RZE55oRAqXuAJ9AlZQPVix4Wlbyznuo27/Vt/JPOgCgmlsP
Zc0l1pdCB1IOwexObMWmSbE=
=yUMc
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Triple booted, no mouse with in 5.4 :(

2005-06-25 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Sat, 25 Jun 2005, Bill Schoolcraft wrote:


--- Denny White [EMAIL PROTECTED] wrote:


What I'm writing is very basic, but I just got an answer
to a question where I'd forgotten a very basic thing, so
don't get insulted. I may be way off base, being a relative
newbie, but if so, it'll at least probably get a quicker
response from somewhere else. :)


First off Denny, thanks for answering my email for help.  Here goes..


1) Are you still running GENERIC kernel?


YES


2) Do you have /dev/psm0?


YES


3) Do you have, in /etc/rc.conf

moused_enable=YES?


Yes, manually entered it.


4) Do you have, in your kernel config file,

# atkbdc0 controls both the keyboard and the PS/2 mouse
  devicepsm # PS/2 mouse


YES


5) Do you show something like this in dmesg?

psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3



Yes, actually here is what it says:

psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4


6) I know when you don't have /etc/X11/xorg.conf, X will
still probe  try to come up with a working solution,
but as to where it stores it's settings, unless in the
afore mentioned file, I don't know.



I'd love to see the file it generates for X looks great when I leave
it alone and startkde with no files.


7) And if, after running without an xorg.conf file, it does
have one it generated, does it have anything like this?


I can't seem to find the one it's using, here are the results of a
seach I did.  I had one file in my home directory from another machine
but that file is not named valid for use, here is the seach results.

liam# find / -name xorg.c*

/usr/X11R6/man/man5/xorg.conf.5.gz
/usr/X11R6/lib/X11/config/xorg.cf
/usr/X11R6/lib/X11/getconfig/xorg.cfg
/usr/X11R6/lib/X11/xorg.conf.eg
/usr/home/wiliweld/xorg.conf.new



# Identifier and driver

 Identifier Mouse1
 Driver mouse
 Option ProtocolAuto
 Option Device  /dev/sysmouse

8) There have been other posts about xorg.conf problems
recently. As I said, if you don't configure it yourself,
it'll try to probe  come up with something. I guess it's
having trouble with your mouse, though, which, btw, you
didn't mention what kind of mouse. Did you check the hardware
compat list?  Hope some of this helped.


The mouse I'm using works fine in another 32bit 5.4 machine and here is
the seach path results:

[EMAIL PROTECTED] ~]- find / -name xorg.c* -print
/usr/X11R6/man/man5/xorg.conf.5.gz
/usr/X11R6/lib/X11/config/xorg.cf
/usr/X11R6/lib/X11/getconfig/xorg.cfg
/usr/X11R6/lib/X11/xorg.conf.eg
/root/xorg.conf.new

And inside the last file there is the mouse settings of:

Section InputDevice
   Identifier  Mouse0
   Driver  mouse
   Option  Protocol auto
   Option  Device /dev/sysmouse
EndSection

I'll keep hacking Denny, thanks



Sorry couldn't have been of more help. I almost
fell asleep here, reading the man page on Xorg.
At this point, that's my best suggestion. Hope
you get it fixed.
Denny White


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCvSity0Ty5RZE55oRAvBSAJ9Ad2hiAoC9tDogky4UxgPeoJIPUgCgwtQy
iQzKVbbll0AuM6HKRqODciY=
=Z2du
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


re: freebsd-update fetch question

2005-06-24 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




On Fri, 24 Jun 2005, Colin Percival wrote:


I'm copy-and-pasting from the archives, since I'm not subscribed to
the freebsd-questions list; please CC me on replies.

Denny White writes:

[...]
The following files are affected by security
fixes, but have not been updated because they
have been modified locally:


To translate: I looked at the files you have on disk, and I don't
recognize them -- they're not the files which shipped on the RELEASE
CD-ROMs, nor are they files which I provided to you.  They might be
up to date, or they might not -- or you might have decided to replace
them with a program which calculates Pi.  You'll have to decide what
you want to do with them yourself.


[...]
FreeBSD dualman.cableone.net 5.4-RELEASE-p2 FreeBSD
[...]

So, I guess my question is, am I okay at this
point, i.e., does freebsd-update's output mean
they've already been fixed locally, or do I need
to specify a branch and force an update on the
files.


If in doubt, read the advisory. FreeBSD security advisories
FreeBSD-SA-05:10.tcpdump and FreeBSD-SA-05:11.gzip say that the issues
were corrected in 5.4-RELEASE-p2, so if you did a buildworld and
installworld at the same time as you last updated your kernel (note
that the output of uname just tells you what version the kernel is, and
doesn't say anything about the world), then you're safe.

Of course, assuming that you haven't deliberately changed those programs,
it wouldn't hurt to run
# freebsd-update --branch crypto fetch
# freebsd-update install
since that will just return those programs to their canonical form.  (In
FreeBSD 5.3 and 5.4, there is only the crypto branch -- the releases no
longer ship with non-cryptographic binaries.)

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



Seems like I always forget to read something. Should've
read the security advisories very first thing. Just taking
me a while to put all this together. Like being caught in
one those jokes where, right when you're suckered into it,
you ask the question that elicits the punchline. You don't
tend to forget those. :) Backup to the basics. In fairness,
I constantly am into several bsd books I've bought, handbook,
web sites, google, this list, etc. But, I should've thought
to read there, right on the first page of the web site.
Cvsup RELENG_5_4, make buildworld, make buildkernel, make
installkernel, reboot, all ok, drop to single user, make
installworld, mergemaster  so on. All done the same time.
So, should be good to go.Thanks for the help  the wakeup
call, too.
Denny White


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCvPDpy0Ty5RZE55oRAnLhAJ4pYY4JfCQGjG8TZQZf9u6SHCkjMwCfSiGI
s0/dVxUVAPkgPyww7WoAkOU=
=Ng0S
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd-update fetch question

2005-06-23 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Did freebsd-update fetch and got this:

Fetching updates signature...
Fetching hash list signature...
Examining local system...

The following files are affected by security
fixes, but have not been updated because they
have been modified locally:

/usr/bin/gunzip
/usr/bin/gzcat
/usr/bin/gzip
/usr/bin/zcat
/usr/sbin/tcpdump

No updates available

I read some of the reasons updates wouldn't be
fetched, one of which was, I believe, if the
system had been rebuilt locally, which it has.
Here's uname -aip  output for my system:

FreeBSD dualman.cableone.net 5.4-RELEASE-p2 FreeBSD
5.4-RELEASE-p2 #0: Sun Jun 19 21:03:22 CDT 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DUALMAN2
i386 i386 DUALMAN2

So, I guess my question is, am I okay at this
point, i.e., does freebsd-update's output mean
they've already been fixed locally, or do I need
to specify a branch and force an update on the
files. Thanks for all help.
Denny White


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCu2x8y0Ty5RZE55oRArkJAKC872J9iJjYISYi26hm9Bf21hwMowCgucop
YlC2M5uD2ulZ+bd1iFhtxFw=
=wQCL
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


./configure question

2005-06-16 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Question is, why I can't get it to work
anymore, when I go to a port dir, do a
make extract
cd work
./configure --arguments
I used it before for setting extra arguments
on several ports I added. Since then, I've
done a cvsup, rebuilt and installed everything,
 everything else is working okay. Since I'm
still relatively new  have already made some
mistakes because of what shell I was using as
root when I was doing certain things like cvs,
which this mailing list helped me with, I tried
changing root's shell but it didn't help. So,
thanks for any help I can get on this. Oh yeah,
when I did cvsup, I just did the security
branch. Running FreeBSD 5.4


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCseSuy0Ty5RZE55oRAhFvAKCx/nEOaGtAZLRduJughtBkgCSFFgCfQwuU
fbGj1f8jOfvnfjP29JoldhI=
=Y+I5
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ./configure question

2005-06-16 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Thu, 16 Jun 2005, Chuck Swiger wrote:


Denny White wrote:

Question is, why I can't get it to work
anymore, when I go to a port dir, do a
make extract
cd work
./configure --arguments
I used it before for setting extra arguments
on several ports I added.


Most ports feed additional options to ./configure, check the port's Makefile 
to see what it does, or do a make configure or simple make at the 
top-level of the port instead.


--
-Chuck

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



Okay, I messed up again. I described it wrong
before. I should've said, if I do

/usr/src/contrib/binutils/./configure -args

It works okay. I found that with locate.
Could I have messed up scripts in /usr/ports
or somewhere else when I rebuilt everything?
I never had to add any path to ./configure
before. After I wrote this message, I thought
about paths  did some looking with locate.
That's what seems to be my problem. Wrong
path in env, something missing, etc.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCsfHuy0Ty5RZE55oRAuRvAJsH+Gtu2hZexAOzkvCvAc5fnHaQEACgo5Z2
Kx+2QnApIUl8G8skx8kcAYI=
=8sgQ
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ./configure question

2005-06-16 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Thu, 16 Jun 2005, Chuck Swiger wrote:


Denny White wrote:
[ ... ]

Okay, I messed up again. I described it wrong
before. I should've said, if I do

/usr/src/contrib/binutils/./configure -args

It works okay. I found that with locate.


Are you trying to build src/contrib/binutils?  What for?


Could I have messed up scripts in /usr/ports
or somewhere else when I rebuilt everything?


Dunno.  What is the problem you have with ports?


I never had to add any path to ./configure
before. After I wrote this message, I thought
about paths  did some looking with locate.
That's what seems to be my problem. Wrong
path in env, something missing, etc.


Run the script command.  Do something which shows what you think is a 
problem.  Exit from the shell, and paste the contents of the typescript 
file created into email so you can show exactly what the error message is.


--
-Chuck

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




Okay, I see I'm in such a confused state that I appear
to be confusing others. I had read somewhere that you
can go into a port dir you want to install, and do
make extract  then cd into the work dir just created,
you could do a ./configure with some option afterward
that would show you all the available arguments/options
you can include when you configure it before making it,
instead of reading the makefile. Then, in that dir, you
do ./configure --arguments --options to get it ready
to build it the way you want. And, instead of that, you
can also do ./configure \ which puts you in a shell on
the next line where you enter all the arguments and then
exit on an empty line when you're done. Which, btw, works
for me. I hope this time I've made it more clear. And
no, I'm not trying to build binutils.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCsf5Ly0Ty5RZE55oRAoalAJ9OJ/H+kZ1K1OTUXPhWCyULSdTxEQCdGYF5
rkjbIaZ9jCrOCc7sRIoIJjA=
=nviR
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ./configure question

2005-06-16 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Thu, 16 Jun 2005, Vinicius Pavanelli Vianna wrote:


Would it be ./configure --help ?
You can run it to see what configuration is possible with the src you
are building, but that's what port does, it's a frontend to it (correct
me with wrong).

If you want to build manually the src you need to run ./configure
--args like ./configure --with-mysql --with-zlib for php in example,
and after the configure script run OK you do make install to make and
install the program.

HTH,
Vinicius


Denny White wrote:




On Thu, 16 Jun 2005, Chuck Swiger wrote:


Denny White wrote:
[ ... ]


Okay, I messed up again. I described it wrong
before. I should've said, if I do

/usr/src/contrib/binutils/./configure -args

It works okay. I found that with locate.



Are you trying to build src/contrib/binutils?  What for?


Could I have messed up scripts in /usr/ports
or somewhere else when I rebuilt everything?



Dunno.  What is the problem you have with ports?


I never had to add any path to ./configure
before. After I wrote this message, I thought
about paths  did some looking with locate.
That's what seems to be my problem. Wrong
path in env, something missing, etc.



Run the script command.  Do something which shows what you think is

a problem.  Exit from the shell, and paste the contents of the
typescript file created into email so you can show exactly what the
error message is.


--
-Chuck

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

[EMAIL PROTECTED]





Okay, I see I'm in such a confused state that I appear
to be confusing others. I had read somewhere that you
can go into a port dir you want to install, and do
make extract  then cd into the work dir just created,
you could do a ./configure with some option afterward
that would show you all the available arguments/options
you can include when you configure it before making it,
instead of reading the makefile. Then, in that dir, you
do ./configure --arguments --options to get it ready
to build it the way you want. And, instead of that, you
can also do ./configure \ which puts you in a shell on
the next line where you enter all the arguments and then
exit on an empty line when you're done. Which, btw, works
for me. I hope this time I've made it more clear. And
no, I'm not trying to build binutils.



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

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



Okay, you'll have to go back to the top of this
message to follow from there to here. You top
posted, is what I'm saying. Not complaining,
just letting you know how to follow the message.
/.configure --help works, but only with the
complete path I mentioned above. It does, on
the other hand, work okay in the form
./configure \ which is also explained above.
I probably just don't understand enough  will
keep playing with it. I was just lazy  didn't
want to peruse the makefile, write down or print
the arguments I wanted to use,  they type them
in after make. Thanks for the reply.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCsi2Xy0Ty5RZE55oRAkF4AJ0dqTgwjHOn0vx2Xy5cg8CxQnOUEQCgiMNj
HOCCU8g5YAr+DsH6OpV/B6Q=
=s8Nl
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem updating src

2005-06-13 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Been using The Complete FreeBSD  doing okay
until I tried using the following example to
update /usr/src:

cd /usr
cvs co -r RELENG_5_4 src 21 | tee /var/tmp/co.log

I get this:

Ambiguous output redirect

Can someone tell me what I'm doing wrong? I assume
it's got something to do with 21 since I never
have any problem with | tee to save output. For
the record, I have the whole src tree with $CVSROOT
set in the env,  have no problem with pulling down
the src tree with cvsup. All help appreciated.
Denny White



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCrVTTy0Ty5RZE55oRAsffAJ0aqediGVqQt872ytp8cbr6YMTQwACgqaPA
RJbsphhQRLK6FrccThKcpBw=
=rdM+
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem updating src

2005-06-13 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




On Mon, 13 Jun 2005, Nikolaos Vassiliadis wrote:


On Monday 13 June 2005 12:53, Giorgos Keramidas wrote:

On 2005-06-13 04:41, Denny White [EMAIL PROTECTED] wrote:

Been using The Complete FreeBSD  doing okay until I tried using the
following example to update /usr/src:

cd /usr
cvs co -r RELENG_5_4 src 21 | tee /var/tmp/co.log

I get this:

Ambiguous output redirect


You're using the wrong shell.  The 21 redirection for standard error
messages works fine in /bin/sh and its derivatives.  It doesn't in csh.

Run the command shown above in /bin/sh or Bash and everything should
work as expected.


In addition to what Giorgos said, you can use script(1), since you are
saving stdout  stderr in one file. For example
script /tmp/cvs.co.logs cvs ...



- Giorgos

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


--

 
 

Teledome SA
 10176 72
.: 210 955 1500
: 210 956 3882

e-mail:[EMAIL PROTECTED]
http://www.teledome.gr


This e-mail is confidential. If you are not the intended recipient, you
should not copy it, re-transmit it, use it or disclose its contents, but
should return it to the sender immediately and delete the copy from your
system. TELEDOME SA is not responsible for, nor endorses, any opinion,
recommendation, conclusion, solicitation, offer or agreement or any
information contained in this communication. TELEDOME SA cannot accept any
responsibility for the accuracy or completeness of this message as it has
been transmitted over a public network. If you suspect that the message may
have been intercepted or amended, please contact the sender.

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




Thanks for the help. Now comes the fun part. Building,
installing, kernel,  so forth. Plenty of books here.
Unfortunately, they each seem to have their own way of
doing things in the instructions. Like one not mentioning
to drop to single user when doing installworld. Very
confusing for someone relatively new to this. Think I'd
be better off just sticking with the fbsd documentation.
Again, thanks.



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCriwYy0Ty5RZE55oRAuIeAJ4kpzlN6dR9BpgLRb3Yb8ETKjE28ACgm4fb
dtr2mmlr4+c8wfnxa3qQ5ls=
=12Tr
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: problem updating src

2005-06-13 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




On Mon, 13 Jun 2005, Alex Zbyslaw wrote:


Giorgos Keramidas wrote:


On 2005-06-13 04:41, Denny White [EMAIL PROTECTED] wrote:


Been using The Complete FreeBSD  doing okay until I tried using the
following example to update /usr/src:

cd /usr
cvs co -r RELENG_5_4 src 21 | tee /var/tmp/co.log

I get this:

Ambiguous output redirect



You're using the wrong shell.  The 21 redirection for standard error
messages works fine in /bin/sh and its derivatives.  It doesn't in csh.

Run the command shown above in /bin/sh or Bash and everything should
work as expected.


Or run

cvs co -r RELENG_5_4 src | tee /var/tmp/co.log

in (t)csh.

--Alex



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



Duh, back to the basics, right? :) Sorry for bothering
anyone with this. Should've thought of it myself. Very
confusing process for a relative newbie. Each book I
read seems to follow a different procedure. Like I said
in another answer to a help message about this, I think
I'd be better off for now just sticking to the fbsd docs.
Thanks for the help.



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCrizSy0Ty5RZE55oRAkLTAJ4qD63R+B++tXep+H39xlc6IvKZygCfYhAh
PUO4+kUyvQNKDTKUv5LKlnY=
=3aPY
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem updating src

2005-06-13 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




On Mon, 13 Jun 2005, Giorgos Keramidas wrote:


On 2005-06-13 04:41, Denny White [EMAIL PROTECTED] wrote:

Been using The Complete FreeBSD  doing okay until I tried using the
following example to update /usr/src:

cd /usr
cvs co -r RELENG_5_4 src 21 | tee /var/tmp/co.log

I get this:

Ambiguous output redirect


You're using the wrong shell.  The 21 redirection for standard error
messages works fine in /bin/sh and its derivatives.  It doesn't in csh.

Run the command shown above in /bin/sh or Bash and everything should
work as expected.

- Giorgos

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





Everything's working fine. Upgrade went okay, mergemaster,
kernel rebuild, so on. I haven't had a chance yet to read
everything in the Updating file, but I know Pine is working
much more stable in an ssh login session from a windows box
using cygwin than it did before. Really appreciate the help.

Denny White


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCrj6vy0Ty5RZE55oRAiJOAJ0U/zH9esFdMZSjcD+Y5QgOfg6zjwCgyKj5
S+A+X8pRGOPvzaad1w7Qo30=
=3Ieg
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvs question

2005-06-10 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




From [EMAIL PROTECTED] Fri Jun 10 13:54:17 2005
Date: Fri, 10 Jun 2005 08:46:39 +0400
From: Alexey Chuprinin [EMAIL PROTECTED]
To: Denny White [EMAIL PROTECTED]
Subject: Re[2]: cvs question



Hello,





Thursday, June 9, 2005, 8:32:35 AM, you wrote:





DW Looks like I'm back to where I started when I first
DW did the cvsup www-cvsupfile  tried to install the
DW files. I followed what you said. I did the command
DW cvs -d /usr/local/ncvs co www  it did create the
DW dir www with all the files. When I did a make install,
DW from www, it failed really quickly. I didn't get the
DW error code, but something it was looking for wasn't
DW there, apparently. I figured for right now, I could
DW try just the english translation, so I cd to www/en
DW  did make install. This time , it made it further,
DW but still failed. I captured the output this time to
DW a file. Here's the tail end of it where it fails:


DW install -C   -o root -g www -m 664 x86-64.html 
/root/public_html/data/platforms

=== platforms/amd64
DW /usr/bin/sed -e 's/!ENTITY date[ \t]*$Free[B]SD. .* \(.* .*\) .* 
.* 
$/!ENTITY date Last modified: \1/'  motherboards.sgml | 
/usr/bin/env SGML_CATALOG_FILES=  /usr/local/bin/sgmlnorm -d
DW -ifreebsd.urls.absolute -c /usr/local/share/sgml/html/catalog -D 
/usr/www/en/platforms/amd64  motherboards.html ||  (/bin/rm -f 
motherboards.html  false)

DW *** Error code 1



DW Stop in /usr/www/en/platforms/amd64.
DW *** Error code 1



DW Stop in /usr/www/en/platforms.
DW *** Error code 1



DW Stop in /usr/www/en.




DW I haven't had any problems with cvsup on ports or docs,
DW but the www problem continues. Maybe at this point I'm
DW being anal/hard headed, whatever, but I'd really like
DW to find out why it won't install. Thanks for any help.



Don't slander youself. I think 'hard-headed' person will never admit
that he doesn't know something. You are trying to do something so you
are self motivated person.



As to the www problem, I'll check it on my box and write you any
suggestion if i'll be able to.




--
Alexey Chuprinin



System administrator
Internet Securities, Inc., Russia



Internet Securities, Inc. (trading as ISI Emerging Markets) is a 
Euromoney Institutional Investor company.




This communication contains information which is confidential. It is for 
the exclusive use of the intended recipient(s). If you are not the 
intended recipient(s) please note any distribution, copying or use of 
this communication or the information in it is strictly prohibited. If 
you have received this communication in error please notify us by e-mail 
or bytelephone (as above) and then delete the e-mail and all attachments 
and any copies thereof.








On Fri, 10 Jun 2005, Giorgos Keramidas wrote:



On 2005-06-09 19:26, Denny White [EMAIL PROTECTED] wrote:

On Fri, 10 Jun 2005, Giorgos Keramidas wrote:

Is there any particular reason why you are trying to build the web
site?

More importantly, why do you have to build the web site as root?

The files are installed in ${DESTDIR}, which defaults to the
${HOME}/public_html/ directory of the user running the build.

% orion:/d/www/share/mk$ grep DESTDIR *
% web.site.mk:DESTDIR?=   ${HOME}/public_html
% web.site.mk:WEBCHECKINSTALLDIR?= ${DESTDIR}${WEBCHECKDIR}
% web.site.mk:DOCINSTALLDIR=  ${DESTDIR}${WEBBASE}/${WEBDIR}
% web.site.mk:CGIINSTALLDIR=  ${DESTDIR}${WEBBASE}/${CGIDIR}
% web.site.mk:# NOTE: webcheck's output always stored to ${DESTDIR}/webcheck 
directory.
% orion:/d/www/share/mk$


Okay, I appreciate that. I'm not a gambler, but I would've given
odds it wasn't cvs's fault. :-)


Right.  Sorry for not replying earlier, but I didn't quite understand what
exactly you were trying to do and what the problem was.

The /doc and /www areas of the FreeBSD CVS repository are a responsibility
of the FreeBSD documentation guys.  In the future, it may be a good idea to
ask questions about these specific parts of the CVS tree by posting to the
[EMAIL PROTECTED] mailing list :-)


I knew I wasn't understanding how to do it. I want it here local for me 
the others here.


To have a complete /www mirror you need other stuff too and you may have
to tweak a bit the build process to avoid redirecting everyone to the
central www.FreeBSD.org every time they hit, for instance, a manpage link.


I didn't think about not having to be root to install it.  That helps a
lot, since there's a lot more room on /home. Also, I read somewhere that
I could create a group, ncvs, add a user to it,  then I guess I could do
like you said. I.E., logon as that user, have a directory below
/usr/local/ncvs,  do the make install in that directory, as there is
even more room on /usr.


Adding an 'ncvs' user/group is only

Re: cvs question

2005-06-09 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1





From [EMAIL PROTECTED] Wed Jun  8 23:33:11 2005
Date: Wed, 8 Jun 2005 21:31:30 -0500 (CDT)
From: Denny White [EMAIL PROTECTED]
To: Bob Bomar [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: cvs question




On Wed, 8 Jun 2005, Bob Bomar wrote:



Denny White wrote:
|
|
| I appreciate the answer. I'm kind of up
| against the wall with this thing. Can't
| seem to get it. I created /usr/local/ncvs,
| setenv CVSROOT /usr/local/ncvs  tried to
| do what I thought would be simpler  a good
| trial run on something simpler than the
| whole source tree. I did a cvsup on www 
| got it okay. Then I went into /usr/local/www
|  did a make install. It started filling up
| /root with public_html  finally stopped on
| an error, saying the CVSROOT environment
| setting was invalid. What am I doing wrong?
|
|
|
| On Tue, 7 Jun 2005, Bob Bomar wrote:
|
| Denny White wrote:
| |
| |
| | I know before asking this has been
| | covered profusely, and I have read
| | a lot in the handbook, man pages,
| | fbsd web site  mailing list archives.
| | But, there are some things I just do
| | not understand. My main question is,
| | is it okay to change
| | /home/ncvs
| | to
| | /usr/ncvs
| | I ask because of the repository size
| | compared to what I have on this box
| | on /home  /usr.
| |
| | Filesystem   SizeUsed   Avail Capacity  Mounted on
| | /dev/amrd0s1e1.9G277M1.5G15%/home
| |
| | Filesystem   SizeUsed   Avail Capacity  Mounted on
| | /dev/amrd0s1g 11G2.3G7.7G23%/usr
| |
| | So you can see why I want to use /usr/ncvs
| | instead of /home/ncvs. I guess I'm a lousy
| | googler, but I just couldn't seem to phrase
| | my question to find the answer I wanted.
|
| You can change it to what ever you want.
| I have /usr/local/cvs/ and then various repositories
| for different projects.
|
| |
| | My 2nd question is, when you cvsup an individual
| | release, it says not to include ports-all and
| | doc-all, as you will wipe out what you already
| | have. But, when you don't specify an individual
| | release, just *default release=cvs and src-all,
| | if you specify ports-all  doc-all, you won't
| | wipe out what you already have. Am I understanding
| | it correctly?
| | Thanks in advance for your patience  any help
| |  explanations I receive.
| |
| |
|
| You want to cvsup ports-all with tag=. since
| the ports dont change with each relase, just the src.
|
|

I think I may be a little confused.

Are you trying to setup a cvsup mirror?  If so, then
look at net/cvsup-mirror.  That will setup a mirror
for you, and it will ask where you want to store the
data.

If you are just wanting to pull the src tree, then
you can use anon cvs and something like:

% cd /usr/local/ncvs
% setenv CVSROOT :pserver:[EMAIL PROTECTED]:/home/ncvs
% cvs login
% cvs co -rRELENG_5 src
... wait for everything to transfer ...
% cvs logout

CVSROOT is where the repository resides.  I.E. in the
example above, the repository is located at
anoncvs.FreeBSD.org in /home/ncvs.


--
Bob Bomar
[EMAIL PROTECTED]
http://www.bomar.us/~bob




Thanks so much for the help. I really wasn't considering
a mirror. Getting ready to do an install on an old laptop
 an extra PIII my son left here. Since I've already got
NFS working, thought I'd use that for the other boxes to
pull from. Really still way too much of a greenhorn for
mirrors. Maybe eventually I'll try it. Thanks again for
the help.


Hi Bob,
I have no idea how that happened. I think there was a
glitch or operator error in pine's gpg filters.
Thanks for replying again. I got to thinking, after
reading some of the stuff in the cvs  stable mailing
list, that there could be just a messup in the make code.
I pulled the entire src tree along with docs, ports, 
www again. This time, it all makes fine. But, regardless
of where I put the files as in

cd /usr
cvs -d /usr/local/ncvs co www

and the subdir www is created  all the files for
www are put there, when I do a make install, it
still insists on putting the files in root's dir,
 I just don't have enough room on that partition.
I even did a cd into /usr/www/en  did make install.
It still insisted on installing all the translations,
not just english,  of course, all of it into /root.
Basically, I just want to keep a fresh copy of the
english stuff on this box for me  my kids, who are
becoming interested in windows alternatives, esp
fbsd, since I've gotten involved again with it.
If you can maybe point me in the right direction as
to a switch, argument, option, etc., that I can use
with the make install command, I'd appreciate it.
Otherwise, I'll probably have to abandon the idea
for now. More important stuff for me to learn, like
choosing the right branch/release, upgrading my
system, merging /etc,  so forth. Thanks again for
the help you've given.
Denny White



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCqM0vy0Ty5RZE55oRAs/HAJ4ogGFO14udY9k

Re: cvs question

2005-06-09 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




On Fri, 10 Jun 2005, Giorgos Keramidas wrote:


On 2005-06-09 18:13, Denny White [EMAIL PROTECTED] wrote:

Hi Bob,
I have no idea how that happened. I think there was a glitch or
operator error in pine's gpg filters.  Thanks for replying again. I
got to thinking, after reading some of the stuff in the cvs  stable
mailing list, that there could be just a messup in the make code.  I
pulled the entire src tree along with docs, ports,  www again. This
time, it all makes fine. But, regardless of where I put the files as
in

cd /usr
cvs -d /usr/local/ncvs co www

and the subdir www is created  all the files for www are put there,
when I do a make install, it still insists on putting the files in
root's dir,  I just don't have enough room on that partition.  I
even did a cd into /usr/www/en  did make install.  It still
insisted on installing all the translations, not just english,  of
course, all of it into /root.


Is there any particular reason why you are trying to build the web
site?

More importantly, why do you have to build the web site as root?

The files are installed in ${DESTDIR}, which defaults to the
${HOME}/public_html/ directory of the user running the build.

% orion:/d/www/share/mk$ grep DESTDIR *
% web.site.mk:DESTDIR?=   ${HOME}/public_html
% web.site.mk:WEBCHECKINSTALLDIR?= ${DESTDIR}${WEBCHECKDIR}
% web.site.mk:DOCINSTALLDIR=  ${DESTDIR}${WEBBASE}/${WEBDIR}
% web.site.mk:CGIINSTALLDIR=  ${DESTDIR}${WEBBASE}/${CGIDIR}
% web.site.mk:# NOTE: webcheck's output always stored to ${DESTDIR}/webcheck 
directory.
% orion:/d/www/share/mk$

This is not a CVS problem ;-)

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



Okay, I appreciate that. I'm not a gambler, but I
would've given odds it wasn't cvs's fault. :-) I
knew I wasn't understanding how to do it. I want
it here local for me  the others here. I didn't
think about not having to be root to install it.
That helps a lot, since there's a lot more room
on /home. Also, I read somewhere that I could
create a group, ncvs, add a user to it,  then
I guess I could do like you said. I.E., logon as
that user, have a directory below /usr/local/ncvs,
 do the make install in that directory, as there
is even more room on /usr. Correct me on that last
assumption if I'm wrong. If not, no need for reply.
I've bugged everyone enough already with this. :)
Thanks again.
Denny White


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCqN42y0Ty5RZE55oRAms0AKDSWJaPwLru52EUOyGMGORWzvfHGQCgmjco
XKGwB3A9oz/jItBBBzKByeM=
=9Pp/
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvs question

2005-06-08 Thread Denny White

-BEGIN PGP MESSAGE-
Version: GnuPG v1.4.1 (FreeBSD)

hQEOA13Nf9GR12D1EAP9E4M++kCyACmeSHZc8ErLk7FoC1yhHer9B5hW2jy9rAyx
fPDWCMaVYka+YgrTqVWfVqY30YFjMFkt4jkmcnfigEOEKxmFxPVcKIIiHsNdQ+6z
7+KCZZ9LxEi/Mst1hhVJZqtQe4csfZMDOst4y/+ENFkdLIaMEXjNfr3kqHd5Zj0D
/2UMUk6nm25VZ9+JF3WC8M380r+7adufppiaE8XBFOtEiBbv3Rk9qajDckHau13O
pW1yRp72jMSrLfN2ncCxDhyluHrNyAW0K23u8I83tJ80DBACuxM5d9K83e4tDKKF
7qZJUkyhY8cwX+2/mGFusSOC8NxqyXMGkOPQJv1xqBF60uoBmVAnb/mL3TOHIU0J
vHWt1hD/1YIVCXd6XKu9F2Ydxxv4+nTovr+dt/aDgkt/Zn7hcfKYAkS1IXfUw8FO
gxzubz3dcSF+VocT7Crmr9KerzJpk4OmDmcRC+Lh4ynCd70UOEHuEyA7XKoaYdYx
20CJ1lJsIU9gHt5tWz5LfaEFXSaDtd1lsT9Ih6Wx4WWyXIb2fR2rIL+JmfLVzo8y
cvWGV/ELVxTXPfmTouquiRHLNmP7SCBW3eufshsLbNYC/5e3Y7qQE13PSLXWEiFN
/AFELWgegOuy+hEwwRxig5q+gy/sGCESOUi0kOfPbrdgpciD0HCrvqHyBShfAfb3
TAMo/Z3j4EiwloloOmcqP8bGcmS30R2dKXkPr0f8+YvCcF5n6SmVy+/ch61M14fB
pmR7zhpvZr34DeTRnCZHHf2dHHT6Q67MdjmcqqX7KUb39E7JQyAR16NUwRhITs65
j9rv2sPijkhKHvC8o7lqlwP20rQV5WEeUpTivJBTqBs0p7Rlmq3yFDPSl/PGBMd+
kX9xLBYCUOC86KyJrbKktdsOblLhbbVQfhgFfQQFE2ORWEJgE4qfTGLxvOI7+38N
A4eMU60L6bOz7qV4Q9NEYU3YBxabynmh6VPWgztrtFmZ6iIrUHqWuu4A3pkb67OQ
uiOn2VKhES/gCZpgc+NeA2MHsq/9qQfqDUOd0xkhcoH0o0nkGkWXTirpwKtS1qdC
Sk0eosgzKA3RPxCS3Wh92q7KO7a7p0+X9tEPJYaOhzQANqcEbQ1LKu/omopsWGzE
mS/zoOXhOF5zEi30UDvNbuS+3l48rYGkHElJyxZIW54+pqpPTn3Y6GxLLv4eGsjG
zcWdN7DzLfwQ3PqUD+6D17EOq5zOztwFSrL3cGevhULXcNMprc0irr3VaI2cJIsO
ApP4HR+utxuYyLi2S4eNLOOx2+a4BSyUc/OsTGdmDIoZJe3eIThzha/h/aXgeVmm
MHZbEvV9LhMi/GGtqmTHQg1OdQmBDEINsH9ozkg8+tcVV+E49oVdAbUx8d1NZWzh
yQhF5SIkLVB2cRIA4vTFTNBYzZ6nRHHxyBNpUuZai6Y6ptSO7+H+nreWFMr+mABV
BXzZriScuy3NjBiVQfPvzpdvhcFjnJ9sLMJl0CcqOHv7pkadTvT/U+9FisqUueI5
jFlc+JdlfNknmQ8rrXYO8G1HCN+oMK6h7N3hs7qj8z3IbhNKT1crl59abkZq2y2W
Y62MKSvsioWjbRmU1LSPpGdDZxoEKTKx7y4z+d7OZMNUYlADIkw52/ZLfxwgiBl2
tJPFh3T1ktStEkLL+0TINT5hqQMLGN8LovVVj+qZjnxyI4NB1USqGK3XvS2oYZbo
jTou6YCFtfQzX+IHsGKxv91c/kBaNz8/+7/qcjIxyF08gqyUTBk5G3+iAsL1hYcx
7G6EweBvhSvq6U+hijj/Cecl8i6pNjhjaY5FSB6TfsWb7anD5y4AYpCuu1nQhNDg
7o6upeDaNmX2OfgdoCtIOOpZ9iRRiAcdf/KGSPTy95FhvKzRKakUjzFrb+CnjXE8
+Gfj0g4hCvnK9LZDr/PFJc9e96w2CdY2iH4nURrzZ4PAmI2ck0fRgGyVmCkAX4r0
IS1VEN5lA+aSHp521fuc//CDUjtAR8pHiZUitqs9NrGpfUZYrUMx5NemkqRMIGuY
dL6UDD86mmCywArCaLydCVky8rfmGBhDWlwKRv74VC/f/ZgYmxmwRcpQjiFbAsRr
eGXnwIS6NTS9IcSk9z6QXMu0OHln9C5EI4rlrZkvmLoshx5wSUZR04+rJak6mOye
VRioGmCQuI0fEXBI70rRa9nKN3VsHyTbf9P3SujRrUrUjvnIxGaYH9UYlHBD/5hJ
g+A+CnGybugmOT3k91iWfbaS7yWdri4N5GNmInHVXFP8WUyTJ0fZaDdu6UWnoy6a
QBBkXuG4wXRYJI95JYma3ziEGca54ey2K0pZJIEoywzi82QsKU8H5ZZLaACeiciD
2mGVomGmCIBP7OgcViDFZX19yhvOgvp2bg/z+tkg6S/sV5+xwFTAzhh8ff2QCtdX
Sdqv4JnITbhvSmX0j+I1APfU4nq0Mpy5cfVXbT2fpE+06xTj2CnwVqYGmo1rYEed
v3A0CbaOPjKJhpZ5meQt6OqYZIF1UpG/9Vvk2O9rwGFh6LJ1GhFWJNNMud7UzTJ1
7khO/vF+AHvfnZFq8fFnCKiADsMPh2gYzoFIj3+5TpApCGV0QE8/i/ikiqI2Psx8
HB74yaJYg/pned2ByuEgOJLHN220AC/5FMzAMg/Dm4Z2/esaW2yn0sDUYjmuGCEB
TF2GyORxqJyj/5bB68UwRAgkFOCunLbcIxwN2G4rEMu/sXWZAyG+dRbhwFQPlRLX
dB9w+woWpJkQwS38f9jtrHdTn4nk25YEYJo=
=IYTJ
-END PGP MESSAGE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


building lynx problem

2005-06-07 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



I read a tip where I could use the mouse
with lynx when I run it from the terminal
if it's built with the right options. I
read up on it, went into /usr/ports/lynx,
extracted, cd into the proper directory,
did a ./configure with all the arguments
I wanted including ncurses so I could have
mouse  scrollbar support in lynx,  then
make install clean. After that, still no
mouse  scrollbar support in lynx, even if
I include options after lynx on the command
line to use the mouse. I read in the cvs
mailing list where there was a new port, so
I did cvsup on ports  the whole portupgrade
thing, uninstalled lynx 2.8.5 (I think that
was the version)  installed the new port, 
lynx 2.8.6d11 with all the same ./configure

arguments, checked  set everything I could
think of in /etc/lynx.cfg  still no mouse
working on the links  scrollbar. Scrollbar
is there now, btw. Thanks for any light shed
on this  help.





-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCpTidy0Ty5RZE55oRArPrAJ9xa5fHwEzsz40JRVdKL3cktsdMlACeNcSb
6NwcO7Q/OVzRWO4KD/I3Glo=
=97zP
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cvs question

2005-06-07 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



I know before asking this has been
covered profusely, and I have read
a lot in the handbook, man pages,
fbsd web site  mailing list archives.
But, there are some things I just do
not understand. My main question is,
is it okay to change
/home/ncvs
to
/usr/ncvs
I ask because of the repository size
compared to what I have on this box
on /home  /usr.

Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/amrd0s1e1.9G277M1.5G15%/home

Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/amrd0s1g 11G2.3G7.7G23%/usr

So you can see why I want to use /usr/ncvs
instead of /home/ncvs. I guess I'm a lousy
googler, but I just couldn't seem to phrase
my question to find the answer I wanted.

My 2nd question is, when you cvsup an individual
release, it says not to include ports-all and
doc-all, as you will wipe out what you already
have. But, when you don't specify an individual
release, just *default release=cvs and src-all,
if you specify ports-all  doc-all, you won't
wipe out what you already have. Am I understanding
it correctly?
Thanks in advance for your patience  any help
 explanations I receive.



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCpiCYy0Ty5RZE55oRAnQXAKCWzg4Uizlb7f5kj+GvmhKLzw0QGQCeM5yg
Qj4rJMd0PgxtBPiU2clAbl4=
=O3lU
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvs question

2005-06-07 Thread Denny White



I appreciate the answer. I'm kind of up
against the wall with this thing. Can't
seem to get it. I created /usr/local/ncvs,
setenv CVSROOT /usr/local/ncvs  tried to
do what I thought would be simpler  a good
trial run on something simpler than the
whole source tree. I did a cvsup on www 
got it okay. Then I went into /usr/local/www
 did a make install. It started filling up
/root with public_html  finally stopped on
an error, saying the CVSROOT environment
setting was invalid. What am I doing wrong?



On Tue, 7 Jun 2005, Bob Bomar wrote:


Denny White wrote:
|
|
| I know before asking this has been
| covered profusely, and I have read
| a lot in the handbook, man pages,
| fbsd web site  mailing list archives.
| But, there are some things I just do
| not understand. My main question is,
| is it okay to change
| /home/ncvs
| to
| /usr/ncvs
| I ask because of the repository size
| compared to what I have on this box
| on /home  /usr.
|
| Filesystem   SizeUsed   Avail Capacity  Mounted on
| /dev/amrd0s1e1.9G277M1.5G15%/home
|
| Filesystem   SizeUsed   Avail Capacity  Mounted on
| /dev/amrd0s1g 11G2.3G7.7G23%/usr
|
| So you can see why I want to use /usr/ncvs
| instead of /home/ncvs. I guess I'm a lousy
| googler, but I just couldn't seem to phrase
| my question to find the answer I wanted.

You can change it to what ever you want.
I have /usr/local/cvs/ and then various repositories
for different projects.

|
| My 2nd question is, when you cvsup an individual
| release, it says not to include ports-all and
| doc-all, as you will wipe out what you already
| have. But, when you don't specify an individual
| release, just *default release=cvs and src-all,
| if you specify ports-all  doc-all, you won't
| wipe out what you already have. Am I understanding
| it correctly?
| Thanks in advance for your patience  any help
|  explanations I receive.
|
|

You want to cvsup ports-all with tag=. since
the ports dont change with each relase, just the src.

--
Bob Bomar
[EMAIL PROTECTED]
http://www.bomar.us/~bob


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


RE: HP LC II Netserver PNP BIOS

2005-06-02 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




Learning a lot so far, like checking make options
next time when I first install fbsd. Picking the
programs that are multithreaded, etc. As for X,
I've got some video cards I could try out, but
right now, I'm pretty satisfied with wmaker. Pretty
much setup barebones with just enough to do what
I need to do visually in a gui. Most of the time,
it's lynx for reading html docs pertaining to
the system mostly. Thanks, Ted.


On Tue, 31 May 2005, Ted Mittelstaedt wrote:



Well the SCSI disks in it are probably slower seek time than
modern IDE.  You actually don't learn a lot from SCSI on those
systems since all the work is done for you - the drives are all
setup identically and the cage takes care of termination.  The
big win with SCSI on that vintage is that back then SCSI drives
had MTBF of 100,000 hours, IDE more like 10,000 that is why
everyone running servers used SCSI.

clamav is going to run like a dog on anything slower than a 1Ghz
system.  What the clam scanner has to do is tremendously cpu
intensive.  And clam isn't multithreaded so SMP does nothing unless
your running multiple clamscans at the same time.

You can probably jazz up X by turning off the integrated video
and adding in a good video card.  I think the video onboard were
really crappy Trident chipsets with small amounts of ram.  These
were servers after all, intended to just sit there, nobody used
the video for anything.

Ted


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Denny White
Sent: Tuesday, May 31, 2005 4:22 AM
To: Ted Mittelstaedt
Cc: freebsd-questions@freebsd.org
Subject: RE: HP LC II Netserver PNP BIOS


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Hi Ted,
All I've got and can afford is right now is the old
stuff I already have. I want to use the Netserver, not
only to experiment with dual processors, but also because
I have never worked with scsi or hardware raid before,
only ide. You're exactly right too, what you said about
folks like me trying to milk way too much out of old
systems. It's a PII 300 dual-processor, not that the 2
processors help a lot, and I do have smp in the kernel.
I've watched top's output while running a clamav scan.
The whole thing bogs down. X is slow too, but works.
Thought about overclocking, but don't want to burn it
up yet. Still okay tho, for nfs  ssh on my lan and
later a firewall box too. Added this to the kernel

options EISA_SLOTS=12

and rebuilt it, but it doesn't help. I'll keep on picking
at it until I'm satisfied I've tweaked it all I can.
Thanks for the help and advice.
Denny



On Mon, 30 May 2005, Ted Mittelstaedt wrote:



Hi Denny,

 I used to admin a network with a number of those systems on it
but it's been years since I've dealt with one, so I've forgotten
everything from the BIOS screen.  But I did know that HP had the
manuals online, so when you said you had no manual for it, I
naturally assumed that you were unaware that HP is still supporting
them (after a fashion) and that a few minutes work would get you the
manual.  Now, if you had posted something like I read the manual
and the option isn't in there that would have been different.
You could try running eisaconfig on it and setting the Operating
System parameter to SCO Unix or some such, but I don't know if this
is even an option, much less if it would work.

 I have a customer that ran one of these systems for years with
FreeBSD 4.X on it  (4.8 I think) so I know that the 4.x series will
at least run on them.  As I recall these are Pentium 200Hmz systems,
correct?  If so, FreeBSD 5.X won't get you anything more than
what you would get for 4.X.  These systems made really
nice, solid little servers in their day.  Even today they are
good for small tasks like network monitoring, etc. and if I were
in your shoes I would certainly want to use the system if I had
something for it that wasn't too taxing on the CPU.  But you
are like a lot of people who have posted on this forum in the
last few years who have tried pushing older hardware to run
FreeBSD 5.X, sometimes it works but most of the time it doesen't
seem to.  I never even bother booting 5.X on anything that isn't
at minimum a Pentium II 500Mhz system nowadays.

 The only other suggestion I would make is to ask in a hardware
forum, or on Usenet in a hardware forum.

Ted


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Denny White
Sent: Monday, May 30, 2005 10:07 AM
To: Ted Mittelstaedt
Cc: freebsd-questions@freebsd.org
Subject: RE: HP LC II Netserver PNP BIOS


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Spent several sleepless nights searching
hp's site before asking my question. Guess
I refused to accept the obvious, that you
could only reserve resources for non pnp
devices that fbsd couldn't probe. I also
tried acpi, since the docs say it has a
different method of probing. See, I did
read it. I just hoped someone else

System Panics and Core Dump help

2005-06-01 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Just trying to get a heads up if I'm going about
this in the right way, if I've understood what
I've read and applied, outlined below.
I read an article at Onlamp on how to prepare
for system panics and core dumps. Article here:

http://www.onlamp.com/pub/a/bsd/2002/03/21/Big_Scary_Daemons.html?page=2

After rebuilding my kernel with the

options KDB
options DDB
makeoptions DEBUG=-g

I copied kernel.debug to /var/crash/kernel.debug.date for
future use. I added the following below to /etc/rc.conf, leaving
the dump directory at its default /var/crash in /etc/defaults/rc.conf:

dumpdev=/dev/amrd0s1b (this is my swap partition)
savecore_flags=-z (added flag for compression)

Now, in /var/log/messages, I get:

savecore: unable to open bounds file, using 0
savecore: no dumps found

Am I right in assuming that the system's doing exactly what
it's supposed to do? That is, checking for a dump when booting,
not finding any, reporting as much, and proceeding booting as
usual? I assumed that, even though the message is a bit
misleading to a relative newbie like myself, after reading the
following at another web site:

- 
PROBLEMS AND REMEDIES

No Dump Was Saved
Cause:

The system may have shut down successfully.
Remedy:

No dump is expected. Core dumps are only
created for abnormal shutdowns.
- ---

Thanks for any help, advice and clarification.



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCnWMRy0Ty5RZE55oRAoIdAKDLBzHivK8U0f+sagqNMcmPG3YF4wCdETzG
noqTYEnxXHRrfcNtRzA4oYA=
=VBh0
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: System Panics and Core Dump help

2005-06-01 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Okay, didn't get a dump. Everything's fine
on the system. I was just trying to follow
how to be prepared for a panic, crash, etc.,
to be able to do a backtrace and have info
to give someone trying to help debug the
kernel. First time I rebooted after adding
the new settings, I got:

unable to open bounds file, using 0
no dumps found

And to the best of my knowledge, there was
no bounds file in /var/crash. Now there is,
size is 2k  has an internal value of 5.
Also, now when I boot, I get:

Checking for core dump on /dev/amrd0s1b
no dumps found

And, after rebooting again, I see that the
internal value of /var/crash/bounds has
been incremented by 1, so now it's at 6.
I read where it does that each time it
checks it. Only reason I bugged anyone on
the mailing list about this was I'm still
a relative newbie  didn't want to trash
all the work I'd done with my experimenting
before getting it where it could be fixed if
I did. :) So, as best as I can see it, it's
doing just what it's supposed to do. Thanks
for helping me clear that up, Greg.



On Wed, 1 Jun 2005, Greg 'groggy' Lehey wrote:


On Wednesday,  1 June 2005 at  2:25:56 -0500, Denny White wrote:


Just trying to get a heads up if I'm going about
this in the right way, if I've understood what
I've read and applied, outlined below.
I read an article at Onlamp on how to prepare
for system panics and core dumps. Article here:

...

Now, in /var/log/messages, I get:

savecore: unable to open bounds file, using 0
savecore: no dumps found


Did you get a dump?  Otherwise the second message is normal.  The
first one is harmless, and should only occur on the first real dump.


Am I right in assuming that the system's doing exactly what it's
supposed to do? That is, checking for a dump when booting, not
finding any, reporting as much, and proceeding booting as usual?


Assuming that you didn't write a dump, yes.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
The virus contained in this message was not detected.

Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.





-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCnd8Cy0Ty5RZE55oRAsYeAKCncUDXMAlnnT45hWHtn7TLK9/QdACeOVgQ
rSSLP5BqgFAxeY5ICufJcrw=
=QJke
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: HP LC II Netserver PNP BIOS

2005-05-31 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Hi Ted,
All I've got and can afford is right now is the old
stuff I already have. I want to use the Netserver, not
only to experiment with dual processors, but also because
I have never worked with scsi or hardware raid before,
only ide. You're exactly right too, what you said about
folks like me trying to milk way too much out of old
systems. It's a PII 300 dual-processor, not that the 2
processors help a lot, and I do have smp in the kernel.
I've watched top's output while running a clamav scan.
The whole thing bogs down. X is slow too, but works.
Thought about overclocking, but don't want to burn it
up yet. Still okay tho, for nfs  ssh on my lan and
later a firewall box too. Added this to the kernel

options EISA_SLOTS=12

and rebuilt it, but it doesn't help. I'll keep on picking
at it until I'm satisfied I've tweaked it all I can.
Thanks for the help and advice.
Denny



On Mon, 30 May 2005, Ted Mittelstaedt wrote:



Hi Denny,

 I used to admin a network with a number of those systems on it
but it's been years since I've dealt with one, so I've forgotten
everything from the BIOS screen.  But I did know that HP had the
manuals online, so when you said you had no manual for it, I
naturally assumed that you were unaware that HP is still supporting
them (after a fashion) and that a few minutes work would get you the
manual.  Now, if you had posted something like I read the manual
and the option isn't in there that would have been different.
You could try running eisaconfig on it and setting the Operating
System parameter to SCO Unix or some such, but I don't know if this
is even an option, much less if it would work.

 I have a customer that ran one of these systems for years with
FreeBSD 4.X on it  (4.8 I think) so I know that the 4.x series will
at least run on them.  As I recall these are Pentium 200Hmz systems,
correct?  If so, FreeBSD 5.X won't get you anything more than
what you would get for 4.X.  These systems made really
nice, solid little servers in their day.  Even today they are
good for small tasks like network monitoring, etc. and if I were
in your shoes I would certainly want to use the system if I had
something for it that wasn't too taxing on the CPU.  But you
are like a lot of people who have posted on this forum in the
last few years who have tried pushing older hardware to run
FreeBSD 5.X, sometimes it works but most of the time it doesen't
seem to.  I never even bother booting 5.X on anything that isn't
at minimum a Pentium II 500Mhz system nowadays.

 The only other suggestion I would make is to ask in a hardware
forum, or on Usenet in a hardware forum.

Ted


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Denny White
Sent: Monday, May 30, 2005 10:07 AM
To: Ted Mittelstaedt
Cc: freebsd-questions@freebsd.org
Subject: RE: HP LC II Netserver PNP BIOS


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Spent several sleepless nights searching
hp's site before asking my question. Guess
I refused to accept the obvious, that you
could only reserve resources for non pnp
devices that fbsd couldn't probe. I also
tried acpi, since the docs say it has a
different method of probing. See, I did
read it. I just hoped someone else might
know something I'd missed or didn't under-
stand. Always try to do my research before
posting on here. Don't always understand
what I read, but I keep reading. And I don't
post questions like Help, or I can't
install FreeBSD, what'll I do? But hey,
thanks for being there, old sport.


On Sun, 29 May 2005, Ted Mittelstaedt wrote:





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Denny White
Sent: Sunday, May 29, 2005 3:40 PM
To: freebsd-questions@freebsd.org
Subject: HP LC II Netserver PNP BIOS


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Okay, the following definitely shows the
BIOS in this old Netserver is PNP. I ran
biosdecode on it and got this:

Slot Entry 10: ID 00:0d, on-board

Can anyone tell me how to disable PNP in this
particular computer? I have no manual on it.




http://h2.www2.hp.com/bizsupport/TechSupport/Resource.jsp?l

ocale=en_U

StaskId=115prodSeriesId=50440prodTypeId=15351


RTFM first, then come here.

Ted

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

[EMAIL PROTECTED]





-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCm0gqy0Ty5RZE55oRArjVAJ0Zo4ZnLeP3pS6j0wg86qNnQMG0uQCgw8RI
7J/Uipixx4KIAcfoMLAZFAM=
=pYax
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http

RE: HP LC II Netserver PNP BIOS

2005-05-30 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Spent several sleepless nights searching
hp's site before asking my question. Guess
I refused to accept the obvious, that you
could only reserve resources for non pnp
devices that fbsd couldn't probe. I also
tried acpi, since the docs say it has a
different method of probing. See, I did
read it. I just hoped someone else might
know something I'd missed or didn't under-
stand. Always try to do my research before
posting on here. Don't always understand
what I read, but I keep reading. And I don't
post questions like Help, or I can't
install FreeBSD, what'll I do? But hey,
thanks for being there, old sport.


On Sun, 29 May 2005, Ted Mittelstaedt wrote:





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Denny White
Sent: Sunday, May 29, 2005 3:40 PM
To: freebsd-questions@freebsd.org
Subject: HP LC II Netserver PNP BIOS


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Okay, the following definitely shows the
BIOS in this old Netserver is PNP. I ran
biosdecode on it and got this:

Slot Entry 10: ID 00:0d, on-board

Can anyone tell me how to disable PNP in this
particular computer? I have no manual on it.


http://h2.www2.hp.com/bizsupport/TechSupport/Resource.jsp?locale=en_U
StaskId=115prodSeriesId=50440prodTypeId=15351


RTFM first, then come here.

Ted

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




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCm0gqy0Ty5RZE55oRArjVAJ0Zo4ZnLeP3pS6j0wg86qNnQMG0uQCgw8RI
7J/Uipixx4KIAcfoMLAZFAM=
=pYax
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HP LC II Netserver ACPI problem

2005-05-29 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



I haven't found a way, no mention of it. Pretty
old BIOS. Went to HP's site, d/l the last one
one they had (even it was old)  flashed it.
Still pretty old comparatively.
As for the dmesg errors, yeah, I guess I'll have
to ignore them. I've tried everything I can to
get rid of them, but it ain't happening.
I read this in /usr/src/sys/i386/conf/NOTES:

device  eisa

# By default, only 10 EISA slots are probed, since the slot numbers
# above clash with the configuration address space of the PCI subsystem,
# and the EISA probe is not very smart about this.  This is sufficient
# for most machines, but in particular the HP NetServer LC series comes
# with an onboard AIC7770 dual-channel SCSI controller on EISA slot #11,
# thus you need to bump this figure to 12 for them.
options EISA_SLOTS=12

I recompiled my kernel with that option but it didn't help.
So, there are no choices in the BIOS for ACPI that I can find.
Nor is there anything about PNP except for a section where you
can reserve areas of memory, interrupts, ports, etc., for PNP.
But they're all set to the default, which is to be available
for the system. So, I guess I'm in ignoring mode until maybe
in the future when I find a fix. Thanks for the answer  help.


On Sun, 29 May 2005, Paul Dufresne wrote:


1. Can't use ACPI on here. Machine not capable, apparently.
Hence, the following:

In my BIOS, I can enable and disable ACPI. (IBM PC 300GL).
Could it be just that ACPI is disable in BIOS?


2. Have apic enabled in kernel  no problems that I know of

Watch out ACPI and apic are two different things.
Your problem is with ACPI, when I boot without ACPI (option
2 in 5.4-RELEASE, I get the same error messages.
Couldn't these messages be simply ignored?

--Paul




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCmeQ4y0Ty5RZE55oRAi1CAJ96jBe0Ku3jydRHnA4RJUADLMUi8wCgjcmD
YU8E+cCWaig/V6X/8IB/JZo=
=EKMn
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


HP LC II Netserver PNP BIOS

2005-05-29 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Okay, the following definitely shows the
BIOS in this old Netserver is PNP. I ran
biosdecode on it and got this:

# biosdecode 2.6
PNP BIOS 1.0 present.
Event Notification: Not Supported
Real Mode 16-bit Code Address: F000:A4BA
Real Mode 16-bit Data Address: 0040:
16-bit Protected Mode Code Address: 0x000FA4D8
16-bit Protected Mode Data Address: 0x0400
OEM Device Identifier: HWPC100
BIOS32 Service Directory present.
Revision: 0
Calling Interface Address: 0x000FD780
PCI Interrupt Routing 1.0 present.
Router ID: 00:04.0
Exclusive IRQs: None
Slot Entry 1: ID 00:07, on-board
Slot Entry 2: ID 01:05, slot number 1
Slot Entry 3: ID 01:04, slot number 2
Slot Entry 4: ID 01:03, slot number 3
Slot Entry 5: ID 01:02, slot number 4
Slot Entry 6: ID 00:09, slot number 5
Slot Entry 7: ID 00:08, slot number 6
Slot Entry 8: ID 00:04, on-board
Slot Entry 9: ID 00:0a, on-board
Slot Entry 10: ID 00:0d, on-board

Can anyone tell me how to disable PNP in this
particular computer? I have no manual on it.
It's strictly surplus. I took it from a friend
primarily to learn about SMP, which I have in
the kernel and is working fine. The BIOS is pretty
bare bones, except in the section where you can
make available or reserve memory areas, interrupts,
ports, etc., for PNP. But, they're all set to be
available, the default, it looks like. I've googled
and searched all over HP's site,  can't find anything
about disabling PNP.Either it's not there or I flat
missed it. which is very possible.  Thanks for any
and all help I can get on this.



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCmkTCy0Ty5RZE55oRAh5QAJ4+QQS2mKIfyi/+GnOpyXTIUh3L9ACfb7dc
E0Iww5ruxS0Tpdj2deBy7is=
=x2G7
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


HP LC II Netserver ACPI problem

2005-05-28 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Following is from dmesg:

vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown: PNP0303 can't assign resources (port)
unknown: PNP0f13 can't assign resources (irq)
unknown: PNP0501 can't assign resources (port)
unknown: PNP0700 can't assign resources (port)
unknown: PNP0401 can't assign resources (port)

I've read and googled for days and the following is
what I'v either learned or think I've learned:

1. Can't use ACPI on here. Machine not capable, apparently.
   Hence, the following:

ACPI-0159: *** Error: AcpiLoadTables: Could not get RSDP, AE_NO_ACPI_TABLES
ACPI-0213: *** Error: AcpiLoadTables: Could not load tables: AE_NO_ACPI_TABLES
ACPI: table load failed: AE_NO_ACPI_TABLES

2. Have apic enabled in kernel  no problems that I know of
3. I think I'm supposed to disable plug and play in the
   bios but I can't find any simple way to do it. There
   are some choices under the Configuration portion of
   the bios menu under
 ISA non-Plug-and-Play Devices
   List of Memory resources, all available, none reserved
   List of Interrupt resources, all available, none reserved
   List of DMA resources, all available, none reserved
   List of I/O resources, all available, none reserved

I have no idea how to match them up with the output of vga0
shown above, that is, to reserve the proper areas for its use.
I tried working with it the other night  wound up locking
the computer up rock solid. Would not boot. Had to pull the
cmos battery  put back  reset everything back to where it
had been to boot again. One of the first things I did after
reading in the mail archives, googling, etc., was to boot
to ACPI enabled, I assume which loads a kernel module instead
of it having to be compiled in. Have output of that error
message above too.
Any help would sure be appreciated. Tired of no sleep, trying
to figure this out.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCl5eay0Ty5RZE55oRAkMuAJ9CiDSYXnQxCrRFnWH43QZWW7JI2wCgk0P6
DddWLVPPwlPZkUuU3/67Ao8=
=yD5c
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


test

2005-05-28 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



checking if server down or some other
problem with subscription. sorry.



===
Unix is like a wigwam. No gates,
no windows, and an apache inside.
===


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCmEoHy0Ty5RZE55oRAg0+AJ9Z3zm0k+B8+hZAwKYfpaVMH7ZkUwCdFN0z
DBSeua7hmMAMJ9WMWTap0B8=
=nYOx
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


root not getting system email

2005-05-28 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Can someone please help me with this.
I read where it's safer to have an
admin read root's mail than for the
root user himself. So, I did the
/etc/aliases  newaliases thing, I
tried the aliase in /etc/mail  did
a make there  a make restart,
tried a .forward file in roots home
directory, tried the virtusertable
 local-host-names  mailertable in
/etc/mail,  so far nothing but trouble.
Here's the type of messages I'm getting
when the system fails to relay roots
mail:

May 28 15:02:07 dualman sm-mta[2278]: j4SK270A002278:
Losing ./qfj4SK270A002278: savemail panic
May 28 15:02:06 dualman sm-mta[2277]: j4SK250A002277:
SYSERR(root): rewrite: excessive recursion (max 50),
ruleset canonify
May 28 15:02:07 dualman sm-mta[2278]: j4SK270A002278:
SYSERR(root): savemail: cannot save rejected email anywhere

It also says the local user cannot be found,
which I think is my screwup for whatever way
I entered the user in aliases and virtusertable.
Would it be wiser just to undo everything, and
just try using the .forward file for root?
Trying to get everything on here working right
so I can teach myself how to do a cvsup  learn
to rebuild  merge everything, but this is for
sure holding me back. Thanks for any help I can
get.





-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCmN6Ey0Ty5RZE55oRAn8dAKCWXOlhvwT7UGGxsKg7rKWZPiVsvwCbBqjo
cFvRUcyfj5cCVXQ9GJfHY0A=
=qqf0
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


nfs, inetd bad wait

2005-05-25 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



From [EMAIL PROTECTED] Sun May 22 13:27:20 2005

Date: Sun, 22 May 2005 13:27:09 -0500 (CDT)
From: Denny White [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Subject: pcnfsd question


Running MS Services for Unix Admin on a windows box
running XP, trying to use NFS exported mounts on an old
HP LC II dual-processor Pentium 300. Everything on the old
server is working ok. Running FreeBSD 5.4 Release. I didn't
put the dmesg in here, but if someone needs it to look over
the problem, can stick it in on a repost.
Getting the following message from /var/log/messages  wondering
if I've set something wrong, or if it's just a glitch. Tried
searching the archives  googling, but didn't really come up
with anything that could help me much. The exports work to the
windows box ok. Little slow, initially accessing, but once
exports are mapped on the xp box, everything speeds up fine.
So, just trying to get some light on shed on this message
directly below here:

(getting this in /var/log/messages)
May 21 23:41:54 dualman inetd[504]: /etc/inetd.conf: bad wait/nowait for 
service p


Here are as many of the settings as I could think of to put in here
for reference:

(this setting in /etc/inetd.conf -- also tried it using tcp here  client)
pcnfsd/1-2  dgram rpc/udp wait root /usr/local/libexec/rpc.pcnfsd rpc.pcnfsd


(from kernel configuration)
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT


(/etc/exports)
/home/theuser -maproot=0 192.168.1.100
/mnt/theuser -maproot=0 192.168.1.100


(output of sockstat 4l)
USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN ADDRESS
root inetd  504   5  udp4   *:55779   *:*
root sendmail   430   4  tcp4   127.0.0.1:25  *:*
root sshd   424   4  tcp4   *:22  *:*
root lpd391   7  tcp4   *:515 *:*
root nfsd   353   3  tcp4   *:2049*:*
root mountd 351   4  udp4   *:759 *:*
root mountd 351   5  tcp4   *:822 *:*
root rpcbind284   9  udp4   *:111 *:*
root rpcbind284   10 udp4   *:753 *:*
root rpcbind284   11 tcp4   *:111 *:*
root syslogd267   6  udp4   *:514 *:*


I guess it goes without saying, I could use samba, which
I have before on other boxes, but I just wanted to see
if I could get nfs working half way reliably to a
windows box.



===
Unix is like a wigwam. No gates,
no windows, and an apache inside.
===

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFClPh7y0Ty5RZE55oRAka+AJ9R/IBNTFrpzHmBT8f9kdUrATiNAQCg07NI
z/BXh3YwsXenv0NIFfs78vY=
=/Eyy
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pcnfsd question

2005-05-22 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Been running Xlink's Omni-Lite NFS Client on a windows box
running XP, trying to use NFS exported mounts on an old
HP LC II dual-processor Pentium 300. Everything on the old
server is working great. Running FreeBSD 5.4 Release. I didn't
put the dmesg in here, but if someone needs it to look over
the problem, can stick it in on a repost.
Getting the following message from /var/log/messages  wondering
if I've set something wrong, or if it's just a glitch. Tried
searching the archives  googling, but didn't really come up
with anything that could help me much. The exports work to the
windows box, although it's slow as hell. And, regardless of what
settings I tried to tweak on the windows firewall, I still had
to finally take it down completely before I could connect to
the exported mounts. Probably the nature of the windows beast.
So, just trying to get some light on shed on this message
directly below here:

(getting this in /var/log/messages)
May 21 23:41:54 dualman inetd[504]: /etc/inetd.conf: bad wait/nowait for 
service p


Here are as many of the settings as I could think of to put in here
for reference:

(this setting in /etc/inetd.conf -- also tried it using tcp here  client)
pcnfsd/1-2  dgram rpc/udp wait root /usr/local/libexec/rpc.pcnfsd rpc.pcnfsd


(from kernel configuration)
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT


(/etc/exports)
/home/theuser -maproot=0 192.168.1.100
/mnt/theuser -maproot=0 192.168.1.100


(output of sockstat 4l)
USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN ADDRESS 
root inetd  504   5  udp4   *:55779   *:*

root sendmail   430   4  tcp4   127.0.0.1:25  *:*
root sshd   424   4  tcp4   *:22  *:*
root lpd391   7  tcp4   *:515 *:*
root nfsd   353   3  tcp4   *:2049*:*
root mountd 351   4  udp4   *:759 *:*
root mountd 351   5  tcp4   *:822 *:*
root rpcbind284   9  udp4   *:111 *:*
root rpcbind284   10 udp4   *:753 *:*
root rpcbind284   11 tcp4   *:111 *:*
root syslogd267   6  udp4   *:514 *:*


I guess it goes without saying, I could use samba, which
I have before on other boxes, but I just wanted to see
if I could get nfs working half way reliably to a
windows box.



===
Unix is like a wigwam. No gates,
no windows, and an apache inside.
===

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCkM8Hy0Ty5RZE55oRAhwgAJ9uyyw7ADI2v8FVROplyUNK46l6LQCfeP58
1wNRTxv/KnpENNDDCqal7+Y=
=i2HM
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: installation

2005-05-22 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



I'm not a guru or anything near it. Still,
in the past, I ran into the same problem
as you with cd's that came with books.
With me, at least, they have proven to be
very unreliable. If you have a fast internet
connection, you could download a stable iso,
burn it  go from there. Or, and better for
the project, you can go to:

http://www.freebsd.org/where.html

and buy a current cd. I don't know  don't
have time to look right now, which vendors
donate a portion of their proceeds to the
FreeBSD project, but you can look. If they
do, that's who I'd buy the cd from.



===
Unix is like a wigwam. No gates,
no windows, and an apache inside.
===


On Sun, 22 May 2005 [EMAIL PROTECTED] wrote:


I cant seem to figure out how to install fsbd. The boot loader
process seems to start out fine, after running through all my
hardware and detecting it all it hangs on mounting root from ufs
and the computer locks up. I also tried installing it on my laptop
however the laptop shuts down almost as soon as it detects the
disk. SO far it seems like a nightmare OS to me. Do you have any
suggestions. I have read all the help files online, submitted my
questions to forums and searched through the book that my CD came
with but i havn't had any luck finding answers. I have that freebsd
book by Brian Tiemann 2nd edition with the freebsd 5.0 CD.
Thanks
corey



Concerned about your privacy? Follow this link to get
secure FREE email: http://www.hushmail.com/?l=2

Free, ultra-private instant messaging with Hush Messenger
http://www.hushmail.com/services-messenger?l=434

Promote security and make money with the Hushmail Affiliate Program:
http://www.hushmail.com/about-affiliate?l=427

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




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCkNjyy0Ty5RZE55oRAhOzAJwOPWFP1ljAaDzCz9OsXoXMzbTphwCgx+X8
KVaQk251hmD+36Sjx2kc7ZE=
=ADhX
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't build firefox 1.0.4 on 4.10

2005-05-20 Thread Denny White
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

here's some of my bookmarks from dru lavigne's
stuff at oreilly on working with ports. the one
on portupgrade really helped jumpstart my learning
it.
http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html
http://www.onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html
http://www.onlamp.com/pub/a/bsd/2003/09/18/FreeBSD_Basics.html
===
Unix is like a wigwam. No gates,
no windows, and an apache inside.
===
On Thu, 19 May 2005, Kris Kennaway wrote:
On Fri, May 20, 2005 at 09:17:32AM +1000, Timothy Smith wrote:
Alex Zbyslaw wrote:
Kris Kennaway wrote:
On Fri, May 20, 2005 at 08:36:58AM +1000, Timothy Smith wrote:

yes sorry i jumped in without reading the man page for it's useage.
however some digging and a few other helpful emails and TA DA!!! it
works!!!
i portupgraded freetype2, and then firefox built successfully.
i was under the impression that portupgrade looked after
dependencies like this on it's own however?

If you tell it to..again, please see the manpage :)
Kris

Specifically:
   -R
   --upward-recursive Act on all those packages required by the
given
  packages as well. (When specified with -F,
fetch
  recursively, including the brand new,
uninstalled
  ports that an upgraded port requires)
The man page is your friend.
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

don't i need to be wary of -R ?? wholesale upgrading of library's might
break other apps that use them
It's *always* a good idea to update your ports with your brain turned
on :-)
portupgrade -a is often safer, because it won't update a port but
leave other dependencies of that port than the one you specified
untouched.
Kris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)
iD8DBQFCjiaay0Ty5RZE55oRAj+AAKC9wzfw+v4vJVSK1FX8rDWu+46IGgCgmeGY
FNi5kyTLkoF0/a5uWN1AhPk=
=MCVh
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


block device required

2002-07-11 Thread Denny White

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

When trying to access my Sandisk Imagemate
SDDR-31, I get the following:

/dev/ugen0: Block device required

Can anyone send me a link of where to read
about how to set the device up? I tried
searching at FreeBSD  in Google. Found
all sorts of problems people were having
 others who had them working, but not
how to fix the problem. Thanks.


Windows is the Virus,
 Linux is the Vaccine,
 FreeBSD is the Cure!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE9LipCy0Ty5RZE55oRAvEhAKC/d/U4Z6Loev/7AwmeXZl5B6iBHQCgr3HQ
QRhDzN/t7+QqqYDnJUytzeo=
=ZX0l
-END PGP SIGNATURE-



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