Re: xcdroast cannot locate cdda2wav

2013-07-31 Thread Jerry
On Tue, 30 Jul 2013 20:26:58 +0200
Polytropon articulated:

 Version 3.00 is better than 2.01 (required), so it should work.

Whether 3.00 is better than 2.01 is debatable. However, the fact
that it definitely superseded it is not.

The application's web site lists a patch for this problem.
http://www.xcdroast.org/xcdr098/patches/. I don't believe it has been
incorporated into the application's port, nor do I know if it will even
work on FreeBSD. In any case, the port maintain has been made aware of
it.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

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

xcdroast cannot locate cdda2wav

2013-07-30 Thread Jerry
The xcdroast application use to work, but lately it has started to
throw an error message. First, it would not let me start it unless I was
root. I had long ago done the reacquired preliminary start-up as root.
Now, when I attempt to start it as root, it emits this error message:

~ # xcdroast

** (xcdroast:96970): WARNING **: Invalid cdda2wav version -unknown- found.
Expecting at least version 2.01
Start xcdroast with the -n option to override (not recommended!)
~ # cd /usr/ports/sysutils/xcdroast

I have tried deleting the port and rebuilding it, but the same problem
exists. I have not been able to locate cdda2wav on the system or in a
port.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: xcdroast cannot locate cdda2wav

2013-07-30 Thread Polytropon
On Tue, 30 Jul 2013 08:29:47 -0400, Jerry wrote:
 The xcdroast application use to work, but lately it has started to
 throw an error message. First, it would not let me start it unless I was
 root. I had long ago done the reacquired preliminary start-up as root.

If you set device permissions properly, you should not have
to do this (potentially dangerous) elevation of privileges.



 Now, when I attempt to start it as root, it emits this error message:
 
 ~ # xcdroast
 
 ** (xcdroast:96970): WARNING **: Invalid cdda2wav version -unknown- found.
 Expecting at least version 2.01
 Start xcdroast with the -n option to override (not recommended!)
 ~ # cd /usr/ports/sysutils/xcdroast
 
 I have tried deleting the port and rebuilding it, but the same problem
 exists.

That's a logical consequence, as cdda2wav is not part of this
port, even though cdrtools is both defined as a build time and
a runtime dependency...



 I have not been able to locate cdda2wav on the system or in a
 port.

The cdda2wav program is part of the cdrtools port.
Try updating that one.


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


Re: xcdroast cannot locate cdda2wav

2013-07-30 Thread Jerry
On Tue, 30 Jul 2013 14:37:38 +0200
Polytropon articulated:

 The cdda2wav program is part of the cdrtools port.
 Try updating that one.

Been there, done that, doesn't work. I am considering doing a forced
update of the xcdroast port and its dependencies via portupgrade. I
really hate wasting time like this, but I need the port to work.

Interestingly enough, this is the output from cdda2wav:

# cdda2wav -version
cdda2wav 3.00 (amd64-unknown-freebsd8.3) Copyright (C) 1993-2004 Heiko Ei�feldt 
(C) 2004-2010 J�rg Schilling

Defaults: stereo, 16 bit, 44100.00 Hz, track 1, no offset, one track,
  type: wav filename: 'audio', don't wait for signal, not quiet,
  use: 'generic_scsi', device: 'yourSCSI_Bus,yourSCSI_ID,yourSCSI_LUN', 
aux: ''

Obviously, it is installed. The xcdroast application suddenly cannot
locate it though or is not able to properly determine the version
number. I am thinking of filing a PR against it.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

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

Re: xcdroast cannot locate cdda2wav

2013-07-30 Thread Polytropon
On Tue, 30 Jul 2013 10:36:37 -0400, Jerry wrote:
 On Tue, 30 Jul 2013 14:37:38 +0200
 Polytropon articulated:
 
  The cdda2wav program is part of the cdrtools port.
  Try updating that one.
 
 Been there, done that, doesn't work. I am considering doing a forced
 update of the xcdroast port and its dependencies via portupgrade.

That seems to be the best choice at the moment. The port's
Makefile contains --with-cdrtools-prefix=${LOCALBASE} which
suggests that the integration of cdrtools / cdda2wav might
already be important at compile time.

Also look at the option Use xcdroast w/o being root which
should enable you to use the program without being root (which
is not good in terms of security).



 I
 really hate wasting time like this, but I need the port to work.

This is a typical symptom of install once, then keep using,
and never touch it again. :-)



 Interestingly enough, this is the output from cdda2wav:
 
 # cdda2wav -version
 cdda2wav 3.00 (amd64-unknown-freebsd8.3) Copyright (C) 1993-2004 Heiko 
 Ei�feldt (C) 2004-2010 J�rg Schilling
 
 Defaults: stereo, 16 bit, 44100.00 Hz, track 1, no offset, one track,
   type: wav filename: 'audio', don't wait for signal, not quiet,
   use: 'generic_scsi', device: 
 'yourSCSI_Bus,yourSCSI_ID,yourSCSI_LUN', aux: ''
 
 Obviously, it is installed.

Version 3.00 is better than 2.01 (required), so it should work.
But maybe xcdroast isn't just checking binary versions, but
also expects some kind of specific library version? At least
that kind of requirement should be resolved when you recompile
xcdroast _and_ its dependencies.



 The xcdroast application suddenly cannot
 locate it though or is not able to properly determine the version
 number. I am thinking of filing a PR against it.

If an upgrade of all involved parts doesn't help, this seems
to be a good thing to do.






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

Re: xcdroast cannot locate cdda2wav

2013-07-30 Thread Oliver Lehmann

Hi Jerry,

cdrtools should be installed on your system. Please verify this with pkg_info.
cdda2wav should then be installed in /usr/local/bin/cdda2wav Please  
check this.


  Greetings, Oliver

Jerry je...@seibercom.net wrote:


The xcdroast application use to work, but lately it has started to
throw an error message. First, it would not let me start it unless I was
root. I had long ago done the reacquired preliminary start-up as root.
Now, when I attempt to start it as root, it emits this error message:

~ # xcdroast

** (xcdroast:96970): WARNING **: Invalid cdda2wav version -unknown- found.
Expecting at least version 2.01
Start xcdroast with the -n option to override (not recommended!)
~ # cd /usr/ports/sysutils/xcdroast

I have tried deleting the port and rebuilding it, but the same problem
exists. I have not been able to locate cdda2wav on the system or in a
port.

--
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__



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

Re: xcdroast cannot locate cdda2wav

2013-07-30 Thread Jerry
On Tue, 30 Jul 2013 21:29:26 +0200
Oliver Lehmann articulated:

 cdrtools should be installed on your system. Please verify this with
 pkg_info. cdda2wav should then be installed
 in /usr/local/bin/cdda2wav Please check this.

Please don't top post. I all ready posted regarding the installation of
cdda2wav. It is there but either xcdroast doesn't find it or more
likely, doesn't understand the version correctly.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

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

portsnap unable to locate mirrors

2010-11-01 Thread Jerry
I have been having problems with 'portsnap' for two days now. It
continually emits error messages. The latest being:

Looking up portsnap.FreeBSD.org mirrors... none found.
Fetching snapshot tag from portsnap.FreeBSD.org... failed.
No mirrors remaining, giving up.

Has anyone else experienced this phenomena?

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__



signature.asc
Description: PGP signature


Re: portsnap unable to locate mirrors

2010-11-01 Thread Alexandre
On Mon, Nov 1, 2010 at 9:10 PM, Jerry freebsd.u...@seibercom.net wrote:

 I have been having problems with 'portsnap' for two days now. It
 continually emits error messages. The latest being:

 Looking up portsnap.FreeBSD.org mirrors... none found.
 Fetching snapshot tag from portsnap.FreeBSD.org... failed.
 No mirrors remaining, giving up.

 Has anyone else experienced this phenomena ?


I just use # portsnap fetch update without problem.
Maybe a Internet connection problem ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portsnap unable to locate mirrors

2010-11-01 Thread Lystic Emsen
From the machine you run portsnap on, try this:

nslookup portsnap2.freebsd.org

Let me know if that works.  It may be a DNS error.


On Mon, Nov 1, 2010 at 3:10 PM, Jerry freebsd.u...@seibercom.net wrote:

 I have been having problems with 'portsnap' for two days now. It
 continually emits error messages. The latest being:

 Looking up portsnap.FreeBSD.org mirrors... none found.
 Fetching snapshot tag from portsnap.FreeBSD.org... failed.
 No mirrors remaining, giving up.

 Has anyone else experienced this phenomena?

 --
 Jerry ✌
 freebsd.u...@seibercom.net

 Disclaimer: off-list followups get on-list replies or get ignored.
 Please do not ignore the Reply-To header.
 __




-- 
-- Lystic

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


Re: portsnap unable to locate mirrors

2010-11-01 Thread Jerry
On Mon, 1 Nov 2010 15:29:14 -0500
Lystic Emsen lyst...@gmail.com articulated:

 On Mon, Nov 1, 2010 at 3:10 PM, Jerry freebsd.u...@seibercom.net
 wrote:
 
  I have been having problems with 'portsnap' for two days now. It
  continually emits error messages. The latest being:
 
  Looking up portsnap.FreeBSD.org mirrors... none found.
  Fetching snapshot tag from portsnap.FreeBSD.org... failed.
  No mirrors remaining, giving up.
 
  Has anyone else experienced this phenomena?
 
 From the machine you run portsnap on, try this:
 
 nslookup portsnap2.freebsd.org
 
 Let me know if that works.  It may be a DNS error.

Well, some minor progress. This is the latest output:

Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
Fetching snapshot tag from portsnap5.FreeBSD.org... failed.
Fetching snapshot tag from portsnap6.FreeBSD.org... failed.
Fetching snapshot tag from portsnap1.FreeBSD.org... done.
Fetching snapshot metadata... fetch: 
http://portsnap1.FreeBSD.org/t/c4523276897a50ff0ca27add61344a4e96cc19a5f7e0bc8f8e17d138819e19a2:
 No address record
sha256: c4523276897a50ff0ca27add61344a4e96cc19a5f7e0bc8f8e17d138819e19a2: No 
such file or directory
[: !=: unexpected operator
mv: rename c4523276897a50ff0ca27add61344a4e96cc19a5f7e0bc8f8e17d138819e19a2 to 
tINDEX.new: No such file or directory
done.
grep: tINDEX.new: No such file or directory
look: tINDEX.new: No such file or directory

Portsnap metadata appears bogus.
Cowardly refusing to proceed any further.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How to run cron scripts (310.locate) in chrooted env.

2010-02-09 Thread Erik Norgaard

Hi:

I have a setup with diskless clients mounting /var/diskless/FreeBSD 
read-only as root file system.


How do I configure cron/locate.rc to run on the server such that the 
locate database is relative to the root for the diskless systems?


I could do a chroot and run it within this environment, at least it 
would work manually.


Thanks, Erik
--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


zfs trauma from locate?

2009-02-09 Thread B. Cook
So I've been having much trauma with zfs and i386; but it seems it's 
been narrowed down to the 'weekend'.


We leave friday and come back monday, and monday this box is not working 
properly.  Nothing has crashed, it's just slow.. but there is no load on 
the box; just deathly slow.. 2+ minutes to log in at console for example.


A reboot fixes it and it's good for another week..

I think I have narrowed it down to the weekly locate job.

So tonight I'll run it by hand and see if the box dogs again.. but 
assuming that is it..


what can I do about *that*?

bootloader.conf:

 cat -n /boot/loader.conf
 1  autoboot_delay=4
 2  #vm.kmem_size_max=1024M
 3  #vm.kmem_size=1024M
 4  vm.kmem_size_max=512M
 5  vm.kmem_size=512M
 6  
 7  zfs_load=YES
 8  vfs.zfs.prefetch_disable=1
 9  vfs.root.mountfrom=zfs:tank/root
10  vfs.zfs.arc_max=100M
11  
12  accf_http_load=YES
13  accf_data_load=YES

CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2800.11-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf41  Stepping = 1
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x441dSSE3,DTES64,MON,DS_CPL,CNXT-ID,xTPR
  AMD Features=0x10NX
  Logical CPUs per core: 2
real memory  = 3212574720 (3063 MB)
avail memory = 3140112384 (2994 MB)
ACPI APIC Table: DELL   PE800   


Filesystem  SizeUsed   Avail Capacity  Mounted on
tank/root   104G 23M104G 0%/

devfs   1.0K1.0K  0B   100%/dev

/dev/ad4s1a 989M196M714M22%/bootdir

/dev/ad5s1a 989M257M653M28%/mnt/bootdir

procfs  4.0K4.0K  0B   100%/proc

tank/exports130G 26G104G20%/exports

tank/exports/squid  106G1.8G104G 2%/exports/squid

tank2/home  147G 55G 91G38%/home

tank/tmp104G256K104G 0%/tmp

tank/usr110G5.9G104G 5%/usr

tank/usr/obj104G640M104G 1%/usr/obj

tank/usr/ports  104G143M104G 0%/usr/ports

tank/usr/ports/distfiles104G189M104G 0% 
/usr/ports/distfiles


tank/usr/src104G156M104G 0%/usr/src

tank/var107G2.9G104G 3%/var

/exports/squid is where the squid cache is, (aufs fwiw), and /home has 
over 3k user accounts for samba.


wc -l /etc/passwd
3289 /etc/passwd

the kernel is a simple one:

# I commented out i486 and i586 in GENERIC
# and debugging

cpu I686_CPU
ident   GENERICplus

include GENERIC

options  DEVICE_POLLING
options  HZ=1000

options  KVA_PAGES=512

options ALTQ
options ALTQ_CBQ# Class Bases Queuing (CBQ)
options ALTQ_RED# Random Early Detection (RED)
options ALTQ_RIO# RED In/Out
options ALTQ_HFSC   # Hierarchical Packet Scheduler (HFSC)
options ALTQ_PRIQ   # Priority Queuing (PRIQ)
options ALTQ_NOPCC  # Required for SMP build

I have a simple pf.conf with some scrub and altq settings if anyone 
thinks it might help.


but like I said I'm pretty sure it's locate now..

clues or questions appreciated.



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


Can't locate ExtUtils/MakeMaker.pm

2008-11-24 Thread Noah Garrett Wallach

Hi List,

Okay I am unable to figure out how to get out of this loop.
I try to build p5-Module-Install and the result error is Can't locate 
ExtUtils/MakeMaker.pm


when I attempt to build p5-ExtUtils-MakeMaker I cant because the module 
needs ExtUtils/Install.pm



here is the output and perl -V too

output tail from installing p5-Module-Install

Cannot load ExtUtils::MakeMaker: Can't locate ExtUtils/MakeMaker.pm in 
@INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8/mach 
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval 
1) line 1.
BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm line 17.

Compilation failed in require at ./Makefile.PL line 8.
BEGIN failed--compilation aborted at ./Makefile.PL line 8.
*** Error code 2

Stop in /usr/ports/devel/p5-version.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall.85961.5 env make

** Fix the problem and try again.
---  Skipping 'devel/p5-Module-ScanDeps' because a requisite port 
'devel/p5-version' failed (specify -k to force)
---  Skipping 'devel/p5-Module-Install' because a requisite port 
'devel/p5-Module-ScanDeps' failed (specify -k to force)

** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/p5-Module-CoreList  (unknown build error)
! devel/p5-PAR-Dist (unknown build error)
! devel/p5-Package-Constants(unknown build error)
! textproc/p5-YAML-Tiny (unknown build error)
! archivers/p5-Compress-Raw-Bzip2   (unknown build error)
* archivers/p5-IO-Compress-Bzip2
! devel/p5-version  (unknown build error)
* devel/p5-Module-ScanDeps
* devel/p5-Module-Install


output tail from installing p5-ExtUtils-MakeMaker

Cannot load ExtUtils::MakeMaker: Can't locate ExtUtils/MakeMaker.pm in 
@INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8/mach 
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval 
1) line 1.
BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm line 17.

Compilation failed in require at ./Makefile.PL line 8.
BEGIN failed--compilation aborted at ./Makefile.PL line 8.
*** Error code 2

Stop in /usr/ports/devel/p5-version.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall.80407.5 env make

** Fix the problem and try again.
---  Skipping 'devel/p5-Module-ScanDeps' because a requisite port 
'devel/p5-version' failed (specify -k to force)
---  Skipping 'devel/p5-Module-Install' because a requisite port 
'devel/p5-Module-ScanDeps' failed (specify -k to force)

** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/p5-Module-CoreList  (unknown build error)
! devel/p5-PAR-Dist (unknown build error)
! devel/p5-Package-Constants(unknown build error)
! textproc/p5-YAML-Tiny (unknown build error)
! archivers/p5-Compress-Raw-Bzip2   (unknown build error)
* archivers/p5-IO-Compress-Bzip2
! devel/p5-version  (unknown build error)
* devel/p5-Module-ScanDeps
* devel/p5-Module-Install

perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
osname=freebsd, osvers=6.2-release-p5, archname=i386-freebsd-64int
uname='freebsd hurricane.enabled.com 6.2-release-p5 freebsd 
6.2-release-p5 #1: sun aug 12 14:27:32 pdt 2007 
[EMAIL PROTECTED]:usrobjusrsrcsyssmp i386 '
config_args='-sde -Dprefix=/usr/local 
-Darchlib=/usr/local/lib/perl5/5.8.8/mach 
-Dprivlib=/usr/local/lib/perl5/5.8.8 
-Dman3dir=/usr/local/lib/perl5/5.8.8/perl/man/man3 
-Dman1dir=/usr/local/man/man1 
-Dsitearch=/usr/local/lib/perl5/site_perl/5.8.8/mach 
-Dsitelib=/usr/local/lib/perl5/site_perl/5.8.8 
-Dscriptdir=/usr/local/bin 
-Dsiteman3dir=/usr/local/lib/perl5/5.8.8/man/man3 
-Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv 
-Uinstallusrbinperl -Dcc=cc -Duseshrplib 
-Dccflags=-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN 
-Doptimize=-O2 -fno-strict-aliasing -pipe -march=pentiumpro -Ud_dosuid 
-Ui_gdbm -Dusethreads=n -Dusemymalloc=y -Duse64bitint'

hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef

useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=y, bincompat5005=undef
  Compiler:
cc='cc', ccflags 
='-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN -DHAS_FPSETMASK 
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-Wdeclaration-after-statement -I/usr/local/include',

optimize='-O2 -fno-strict-aliasing -pipe -march=pentiumpro',
cppflags='-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN 
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict

Re: Can't locate ExtUtils/MakeMaker.pm

2008-11-24 Thread Ott Köstner

Noah Garrett Wallach wrote:

Hi List,

Okay I am unable to figure out how to get out of this loop.
I try to build p5-Module-Install and the result error is Can't locate 
ExtUtils/MakeMaker.pm


when I attempt to build p5-ExtUtils-MakeMaker I cant because the 
module needs ExtUtils/Install.pm


Just experimented -- looks good here. Make just completes in few 
seconds. Maybe this helps. This is how it shoult look like...


# cd /usr/ports/devel/p5-Module-Install
# make
===  Vulnerability check disabled, database not found
===  Extracting for p5-Module-Install-0.77
= MD5 Checksum OK for Module-Install-0.77.tar.gz.
= SHA256 Checksum OK for Module-Install-0.77.tar.gz.
===   p5-Module-Install-0.77 depends on file: /usr/local/bin/perl5.8.8 
- found

===  Patching for p5-Module-Install-0.77
===   p5-Module-Install-0.77 depends on file: /usr/local/bin/perl5.8.8 
- found
===   p5-Module-Install-0.77 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.8/Archive/Tar.pm - found
===   p5-Module-Install-0.77 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.8/Module/ScanDeps.pm - found
===   p5-Module-Install-0.77 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.8/Module/CoreList.pm - found
===   p5-Module-Install-0.77 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.8/Module/Build.pm - found
===   p5-Module-Install-0.77 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.8/PAR/Dist.pm - found
===   p5-Module-Install-0.77 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.8/YAML/Tiny.pm - found
===   p5-Module-Install-0.77 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.8/ExtUtils/ParseXS.pm - found
===   p5-Module-Install-0.77 depends on file: /usr/local/bin/perl5.8.8 
- found
===   p5-Module-Install-0.77 depends on file: /usr/local/bin/perl5.8.8 
- found

===  Configuring for p5-Module-Install-0.77
Checking if your kit is complete...
Looks good
Warning: prerequisite ExtUtils::Install 1.50 not found. We have 1.33.
Warning: prerequisite File::Remove 1.40 not found.
Writing Makefile for Module::Install
===  Building for p5-Module-Install-0.77
cp lib/Module/Install/Admin/Bundle.pm 
blib/lib/Module/Install/Admin/Bundle.pm

cp lib/Module/Install/AutoInstall.pm blib/lib/Module/Install/AutoInstall.pm
cp lib/Module/Install/With.pm blib/lib/Module/Install/With.pm
cp lib/Module/Install/Run.pm blib/lib/Module/Install/Run.pm
cp lib/Module/Install/Can.pm blib/lib/Module/Install/Can.pm
cp lib/Module/Install/Admin.pm blib/lib/Module/Install/Admin.pm
cp lib/Module/Install/PAR.pm blib/lib/Module/Install/PAR.pm
cp lib/Module/Install/Fetch.pm blib/lib/Module/Install/Fetch.pm
cp lib/Module/Install/Admin/Compiler.pm 
blib/lib/Module/Install/Admin/Compiler.pm
cp lib/Module/Install/Admin/ScanDeps.pm 
blib/lib/Module/Install/Admin/ScanDeps.pm

cp lib/Module/Install/Deprecated.pm blib/lib/Module/Install/Deprecated.pm
cp lib/Module/Install/Admin/Find.pm blib/lib/Module/Install/Admin/Find.pm
cp lib/Module/Install/Metadata.pm blib/lib/Module/Install/Metadata.pm
cp lib/Module/Install/Bundle.pm blib/lib/Module/Install/Bundle.pm
cp lib/Module/Install/Makefile.pm blib/lib/Module/Install/Makefile.pm
cp lib/inc/Module/Install.pm blib/lib/inc/Module/Install.pm
cp lib/Module/Install/Admin/WriteAll.pm 
blib/lib/Module/Install/Admin/WriteAll.pm

cp lib/Module/Install/Compiler.pm blib/lib/Module/Install/Compiler.pm
cp lib/Module/Install.pm blib/lib/Module/Install.pm
cp lib/Module/Install/Include.pm blib/lib/Module/Install/Include.pm
cp lib/Module/Install/WriteAll.pm blib/lib/Module/Install/WriteAll.pm
cp lib/Module/AutoInstall.pm blib/lib/Module/AutoInstall.pm
cp lib/Module/Install/External.pm blib/lib/Module/Install/External.pm
cp lib/Module/Install/Win32.pm blib/lib/Module/Install/Win32.pm
cp lib/Module/Install/Admin/Include.pm 
blib/lib/Module/Install/Admin/Include.pm
cp lib/Module/Install/Admin/Makefile.pm 
blib/lib/Module/Install/Admin/Makefile.pm

cp lib/Module/Install/Share.pm blib/lib/Module/Install/Share.pm
cp lib/Module/Install/Admin/Manifest.pm 
blib/lib/Module/Install/Admin/Manifest.pm

cp lib/Module/Install/Base.pm blib/lib/Module/Install/Base.pm
cp lib/Module/Install/Admin/Metadata.pm 
blib/lib/Module/Install/Admin/Metadata.pm

cp lib/Module/Install/MakeMaker.pm blib/lib/Module/Install/MakeMaker.pm
cp lib/Module/Install/Inline.pm blib/lib/Module/Install/Inline.pm
cp lib/Module/Install/Philosophy.pod blib/lib/Module/Install/Philosophy.pod
cp lib/Module/Install.pod blib/lib/Module/Install.pod
Installing blib/lib/auto/share/dist/Module-Install/dist_file.txt
Manifying blib/man3/Module::Install::With.3
Manifying blib/man3/Module::Install::Bundle.3
Manifying blib/man3/Module::Install::Makefile.3
Manifying blib/man3/inc::Module::Install.3
Manifying blib/man3/Module::Install::Compiler.3
Manifying blib/man3/Module::AutoInstall.3
Manifying blib/man3/Module::Install::Can.3
Manifying blib/man3/Module::Install::Admin.3
Manifying blib/man3/Module::Install::PAR.3
Manifying blib/man3/Module::Install::External.3
Manifying blib/man3/Module

Re: Can't locate ExtUtils/MakeMaker.pm

2008-11-24 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Noah Garrett Wallach wrote:
 Hi List,
 
 Okay I am unable to figure out how to get out of this loop.
 I try to build p5-Module-Install and the result error is Can't locate
 ExtUtils/MakeMaker.pm
 
 when I attempt to build p5-ExtUtils-MakeMaker I cant because the module
 needs ExtUtils/Install.pm
 
 
 here is the output and perl -V too
 
 output tail from installing p5-Module-Install
 
 Cannot load ExtUtils::MakeMaker: Can't locate ExtUtils/MakeMaker.pm in
 @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8/mach
 /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
 /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval
 1) line 1.
 BEGIN failed--compilation aborted at
 /usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm line 17.
 Compilation failed in require at ./Makefile.PL line 8.
 BEGIN failed--compilation aborted at ./Makefile.PL line 8.
 *** Error code 2
 
[...]

Hi Noah,

What is the output of the following command on your system?

find /usr/local/lib/perl5 -name MakeMaker.pm -print

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJKutq0sRouByUApARAjENAKCplSrXpMfxJlPq4nKseIWILBx0FQCgp9V0
ntwXUoNetw8KVHzIH/N+ZM0=
=5yV6
-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 locate ExtUtils/MakeMaker.pm

2008-11-24 Thread Noah



Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Noah Garrett Wallach wrote:

Hi List,

Okay I am unable to figure out how to get out of this loop.
I try to build p5-Module-Install and the result error is Can't locate
ExtUtils/MakeMaker.pm

when I attempt to build p5-ExtUtils-MakeMaker I cant because the module
needs ExtUtils/Install.pm


here is the output and perl -V too

output tail from installing p5-Module-Install

Cannot load ExtUtils::MakeMaker: Can't locate ExtUtils/MakeMaker.pm in
@INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8/mach
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval
1) line 1.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm line 17.
Compilation failed in require at ./Makefile.PL line 8.
BEGIN failed--compilation aborted at ./Makefile.PL line 8.
*** Error code 2


[...]

Hi Noah,

What is the output of the following command on your system?

find /usr/local/lib/perl5 -name MakeMaker.pm -print

Regards,
Greg

sure


 sudo find /usr/local/lib/perl5 -name MakeMaker.pm -print[~]
Password:
/usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm

___
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 locate ExtUtils/MakeMaker.pm

2008-11-24 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Noah wrote:
 
 
 Greg Larkin wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Noah Garrett Wallach wrote:
 Hi List,

 Okay I am unable to figure out how to get out of this loop.
 I try to build p5-Module-Install and the result error is Can't locate
 ExtUtils/MakeMaker.pm

 when I attempt to build p5-ExtUtils-MakeMaker I cant because the module
 needs ExtUtils/Install.pm


 here is the output and perl -V too

 output tail from installing p5-Module-Install

 Cannot load ExtUtils::MakeMaker: Can't locate ExtUtils/MakeMaker.pm in
 @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8/mach
 /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
 /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval
 1) line 1.
 BEGIN failed--compilation aborted at
 /usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm line 17.
 Compilation failed in require at ./Makefile.PL line 8.
 BEGIN failed--compilation aborted at ./Makefile.PL line 8.
 *** Error code 2

 [...]

 Hi Noah,

 What is the output of the following command on your system?

 find /usr/local/lib/perl5 -name MakeMaker.pm -print

 Regards,
 Greg
 sure
 
 
  sudo find /usr/local/lib/perl5 -name MakeMaker.pm -print[~]
 Password:
 /usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm
 

Hi Noah,

When I run the same command, I get 2 lines of output:

/usr/local/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm
/usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm

The BSDPAN/ExtUtils/MakeMaker.pm file provides one overridden
subroutine, but the rest of the subroutines are loaded from the standard
ExtUtils/MakeMaker.pm.  If that file is missing, then it's likely that
your Perl installation is corrupted.

Did you ever run a file utility that removes duplicate files in a
directory tree?  The files are not identical in content, but if the
utility removed based on name only, that could explain why one is missing.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJKvVW0sRouByUApARAjmnAJ9grg5P1xGhlJLJEMnYGTNODKRNXwCeLzEQ
MKP7f1xwlN7yqvBn2EbdjQ0=
=U7jq
-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 locate ExtUtils/MakeMaker.pm

2008-11-24 Thread Noah




/usr/local/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm
/usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm

The BSDPAN/ExtUtils/MakeMaker.pm file provides one overridden
subroutine, but the rest of the subroutines are loaded from the standard
ExtUtils/MakeMaker.pm.  If that file is missing, then it's likely that
your Perl installation is corrupted.

Did you ever run a file utility that removes duplicate files in a
directory tree?  The files are not identical in content, but if the
utility removed based on name only, that could explain why one is missing.




not that I am aware of - what shall  I do rebuild and reinstall my perl 5.8

Cheers,

Noah


___
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 locate ExtUtils/MakeMaker.pm

2008-11-24 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Noah wrote:
 

 /usr/local/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm
 /usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm

 The BSDPAN/ExtUtils/MakeMaker.pm file provides one overridden
 subroutine, but the rest of the subroutines are loaded from the standard
 ExtUtils/MakeMaker.pm.  If that file is missing, then it's likely that
 your Perl installation is corrupted.

 Did you ever run a file utility that removes duplicate files in a
 directory tree?  The files are not identical in content, but if the
 utility removed based on name only, that could explain why one is
 missing.
 
 
 
 not that I am aware of - what shall  I do rebuild and reinstall my perl 5.8
 
 Cheers,
 
 Noah
 

Hi Noah,

It's pretty easy to do a forced re-install, but before you do, would you
mind sending me the output of the following commands?

cd /usr/local/lib/perl5/5.8.8/ExtUtils
find . -type f -print | sort

I'd like to compare the list of files in your ExtUtils directory with
the list from my machine.

Also, did you originally install Perl from a package or did you build it
from source and install it from the /usr/ports/lang/perl5.8 directory?

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJKzHk0sRouByUApARAnExAJ9bOd17VIK7SIg2o57Zqrc5kmOCXQCgupFD
7mvnV0OlGl5QqpAZLqA2lX0=
=d60h
-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 locate ExtUtils/MakeMaker.pm

2008-11-24 Thread Noah

Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Noah wrote:

/usr/local/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm
/usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm

The BSDPAN/ExtUtils/MakeMaker.pm file provides one overridden
subroutine, but the rest of the subroutines are loaded from the standard
ExtUtils/MakeMaker.pm.  If that file is missing, then it's likely that
your Perl installation is corrupted.

Did you ever run a file utility that removes duplicate files in a
directory tree?  The files are not identical in content, but if the
utility removed based on name only, that could explain why one is
missing.



not that I am aware of - what shall  I do rebuild and reinstall my perl 5.8

Cheers,

Noah



Hi Noah,

It's pretty easy to do a forced re-install, but before you do, would you
mind sending me the output of the following commands?

cd /usr/local/lib/perl5/5.8.8/ExtUtils
find . -type f -print | sort

I'd like to compare the list of files in your ExtUtils directory with
the list from my machine.

Also, did you originally install Perl from a package or did you build it
from source and install it from the /usr/ports/lang/perl5.8 directory?





sure thing - thanks for all your help Greg.

perl is installed from /usr/ports
p5-CGI-SpeedyCGI-2.22_4 Speed up perl CGI scripts by running them 
persistently
p5-DBI-1.60.4   The perl5 Database Interface.  Required for DBD::* 
modules
p5-Devel-Symdump-2.0800 A perl5 module that dumps symbol names or the 
symbol table
p5-Errno-1.10   A perl5 module providing access to System errno 
constants
p5-Error-0.17015Perl module to provide Error/exception support for 
perl: Er

p5-File-NFSLock-1.20 File::NFSLock - perl module to do NFS (or not) locking
p5-PPI-1.201Analyze and manipulate Perl code without using perl 
itself
p5-Scalar-List-Utils-1.19,1 Perl subroutines that would be nice to have 
in the perl cor

p5-Storable-2.18Persistency for perl data structures
p5-Test-Harness-3.14 Run perl standard test scripts with statistics
p5-Test-Simple-0.86 Basic utilities for writing tests in perl
perl-5.8.8_1Practical Extraction and Report Language
perltidy-20071205   Indents and reformats Perl scripts to make them 
easier to r



cd /usr/local/lib/perl5/5.8.8/ExtUtils
find . -type f -print | sorttyphoon# find . -type f -print | sort
./Command.pm
./Command/MM.pm
./Constant.pm
./Constant/Base.pm
./Constant/Utils.pm
./Constant/XS.pm
./Embed.pm
./Install.pm
./Installed.pm
./Liblist.pm
./Liblist/Kid.pm
./MANIFEST.SKIP
./MM.pm
./MM_AIX.pm
./MM_Any.pm
./MM_BeOS.pm
./MM_Cygwin.pm
./MM_DOS.pm
./MM_MacOS.pm
./MM_NW5.pm
./MM_OS2.pm
./MM_QNX.pm
./MM_UWIN.pm
./MM_Unix.pm
./MM_VMS.pm
./MM_VOS.pm
./MM_Win32.pm
./MM_Win95.pm
./MY.pm
./MakeMaker.pm
./MakeMaker/Config.pm
./MakeMaker/FAQ.pod
./MakeMaker/Tutorial.pod
./MakeMaker/bytes.pm
./MakeMaker/vmsish.pm
./Manifest.pm
./Miniperl.pm
./Mkbootstrap.pm
./Mksymlists.pm
./NOTES
./PATCHING
./Packlist.pm
./testlib.pm
./typemap
./xsubpp



Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJKzHk0sRouByUApARAnExAJ9bOd17VIK7SIg2o57Zqrc5kmOCXQCgupFD
7mvnV0OlGl5QqpAZLqA2lX0=
=d60h
-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]


locate: how to prune .svn directories?

2008-11-16 Thread clemens fischer
Hi,

I am trying to remove all the .svn directories and their contents from
/var/db/locate.database.  The uncommented entries in /etc/locate.rc look
like this:

  # /etc/locate.rc -  command script for updatedb(8)
  #
  SEARCHPATHS=/
  #
  PRUNEPATHS=/tmp /usr/tmp /var/tmp
  PRUNEPATHS=${PRUNEPATHS} /var/db/portsnap
  PRUNEPATHS=${PRUNEPATHS} /mnt
  PRUNEPATHS=${PRUNEPATHS} /usr/src-test
  #
  PRUNEPATHS=${PRUNEPATHS} '/*/.svn'
  #
  FILESYSTEMS=ufs zfs

pstree output looks like this:

  |-+= 06945 root sh /etc/periodic/weekly/310.locate
  | \-+- 06950 root su -fm nobody
  |   \-+= 06951 nobody su (bash)
  | \-+- 06952 nobody /bin/sh /usr/libexec/locate.updatedb
  |   |--- 06955 nobody find -s / ! ( -fstype ufs -or -fstype zfs ) -prune 
-or -path /tmp -prune -or -path /usr/tmp -prune -or -path /var/tmp -prune -or 
-path /var/db/portsnap -prune -or -path /mnt -prune -or -path /usr/src-test 
-prune -or -path '/*/.svn' -prune -or -print
  |   \-+- 06956 nobody /bin/sh /usr/libexec/locate.mklocatedb -presort
  | \--- 06958 nobody locate.code 
/tmp//locate8nuvNUT2eT/mklocateXYh7Vi1XUR/_mklocatedb6956.bigrams
 
As you might have guessed, this doesn't work, although running this
command[1] in a shell produces the result wanted.  What's wrong, and how
do I fix it?

[1] find /usr/src-main/ -path '/*/.svn' -prune -or -print

-c

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


Re: Locate command

2008-07-10 Thread RW
On Wed, 09 Jul 2008 21:48:02 -0500
Paul Procacci [EMAIL PROTECTED] wrote:

 Rem P Roberti wrote:
  Whenever I do a locate command on a new installation I get this
  message:
 
  locate: database too small: /var/db/locate.database
 
  Can someone give me a heads up on how to fix this?
 

 Run this shell script:
 
 /etc/periodic/weekly/310.locate
 

You might also think about installing sysutils/anacron, so that the
period scripts get run even if the machine is not left on overnight.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Locate command

2008-07-10 Thread Rem P Roberti
 
  Rem P Roberti wrote:
   Whenever I do a locate command on a new installation I get this
   message:
  
   locate: database too small: /var/db/locate.database
  
   Can someone give me a heads up on how to fix this?
  
 
  Run this shell script:
  
  /etc/periodic/weekly/310.locate
  
 
 You might also think about installing sysutils/anacron, so that the
 period scripts get run even if the machine is not left on overnight.

I didn't know about this program, and I will definitely do an
install.  Than you.

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


Re: Locate command

2008-07-10 Thread Roger Olofsson



Rem P Roberti skrev:

Whenever I do a locate command on a new installation I get this
message:

locate: database too small: /var/db/locate.database

Can someone give me a heads up on how to fix this?

Thanks,

Rem

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

No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.4.7/1542 - Release Date: 2008-07-09 06:50






Actually, the very first thing I always do after installing a FreeBSD is 
add this line to crontab:


00 02 * * * /usr/libexec/locate.updatedb

I guess I'm a locate-freak ;^D

/Roger

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


Re: Locate command

2008-07-10 Thread Rem P Roberti
 
 
 Whenever I do a locate command on a new installation I get this
 message:
 
 locate: database too small: /var/db/locate.database
 
 Can someone give me a heads up on how to fix this?
 
 Thanks,
 
 Rem
 
 
 Actually, the very first thing I always do after installing a FreeBSD is 
 add this line to crontab:
 
 00 02 * * * /usr/libexec/locate.updatedb
 
 I guess I'm a locate-freak ;^D
 

Done.  Thanks again.

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


Re: Locate command

2008-07-10 Thread Daniel Gerzo

Hello,

 Actually, the very first thing I always do after installing a FreeBSD is
 add this line to crontab:

 00 02 * * * /usr/libexec/locate.updatedb

 I guess I'm a locate-freak ;^D

 
 Done.  Thanks again.

You guys should rather use /etc/periodic/weekly/310.locate script
to update your locate database.

-- 
Best regards,
  Daniel Gerzo

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


Re: Locate command

2008-07-10 Thread Rem P Roberti
 
 Hello,
 
  Actually, the very first thing I always do after installing a FreeBSD is
  add this line to crontab:
 
  00 02 * * * /usr/libexec/locate.updatedb
 
  I guess I'm a locate-freak ;^D
 
  
  Done.  Thanks again.
 
 You guys should rather use /etc/periodic/weekly/310.locate script
 to update your locate database.

I'm pretty new to all of this, so how does one go about invoking that
script?

Thanks,

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


Re: Locate command

2008-07-10 Thread Matthew Seaman

Rem P Roberti wrote:

Hello,


Actually, the very first thing I always do after installing a FreeBSD is
add this line to crontab:

00 02 * * * /usr/libexec/locate.updatedb

I guess I'm a locate-freak ;^D


Done.  Thanks again.

You guys should rather use /etc/periodic/weekly/310.locate script
to update your locate database.


I'm pretty new to all of this, so how does one go about invoking that
script?


Well, to run it by hand you type:

   /etc/periodic/weekly/310.locate

Otherwise it will be run automatically by the periodic(8) system. 
It is enabled by default:


happy-idiot-talk:~:% grep locate /etc/defaults/periodic.conf 
# 310.locate

weekly_locate_enable=YES  # Update locate weekly

You can create a file /etc/periodic.conf to control turning on
or off or to tweak parameters for any of the periodic scripts.

As the name suggests it's a weekly script, and if you look at
/etc/crontab you will see the line:

15  4   *   *   6   rootperiodic weekly

Or in other words, it runs at around 4:15am on Saturdays.

If you wanted to run it every day, then you'ld copy it to
/usr/local/etc/periodic/daily/310.locate, globally substitute
daily_locate for weekly_locate eg. by:

sed -i.bak -e 's/weekly_locate/daily_locate/' \
/usr/local/etc/periodic/daily/310.locate

and then put both 'daily_locate_enable=YES' and 'weekly_locate_enable=NO' 
into /etc/periodic.conf

In this case it would be run by the periodic system like so:

1   3   *   *   *   rootperiodic daily

that is: at 3:01am every day.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: Locate command

2008-07-10 Thread Rem P Roberti
 Rem P Roberti wrote:
 Hello,
 
 Actually, the very first thing I always do after installing a FreeBSD is
 add this line to crontab:
 
 00 02 * * * /usr/libexec/locate.updatedb
 
 I guess I'm a locate-freak ;^D
 
 Done.  Thanks again.
 You guys should rather use /etc/periodic/weekly/310.locate script
 to update your locate database.
 
 I'm pretty new to all of this, so how does one go about invoking that
 script?
 
 Well, to run it by hand you type:
 
/etc/periodic/weekly/310.locate
 
 Otherwise it will be run automatically by the periodic(8) system. 
 It is enabled by default:
 
 happy-idiot-talk:~:% grep locate /etc/defaults/periodic.conf 
 # 310.locate
 weekly_locate_enable=YES  # Update locate 
 weekly
 
 You can create a file /etc/periodic.conf to control turning on
 or off or to tweak parameters for any of the periodic scripts.
 
 As the name suggests it's a weekly script, and if you look at
 /etc/crontab you will see the line:
 
 15  4   *   *   6   rootperiodic weekly
 
 Or in other words, it runs at around 4:15am on Saturdays.
 
 If you wanted to run it every day, then you'ld copy it to
 /usr/local/etc/periodic/daily/310.locate, globally substitute
 daily_locate for weekly_locate eg. by:
 
 sed -i.bak -e 's/weekly_locate/daily_locate/' \
 /usr/local/etc/periodic/daily/310.locate
 
 and then put both 'daily_locate_enable=YES' and 
 'weekly_locate_enable=NO' into /etc/periodic.conf
 
 In this case it would be run by the periodic system like so:
 
 1   3   *   *   *   rootperiodic daily
 
 that is: at 3:01am every day.
 
   Cheers,
 
   Matthew
 

Thanks to folks like you, Matthew, I'm slowly, but surely, learning this
stuff.

Rem

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


Locate command

2008-07-09 Thread Rem P Roberti
Whenever I do a locate command on a new installation I get this
message:

locate: database too small: /var/db/locate.database

Can someone give me a heads up on how to fix this?

Thanks,

Rem

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


Re: Locate command

2008-07-09 Thread Paul Procacci

Rem P Roberti wrote:

Whenever I do a locate command on a new installation I get this
message:

locate: database too small: /var/db/locate.database

Can someone give me a heads up on how to fix this?

Thanks,

Rem

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


Run this shell script:

/etc/periodic/weekly/310.locate


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


Re: Locate command

2008-07-09 Thread Rem P Roberti
 Whenever I do a locate command on a new installation I get this
 message:
 
 locate: database too small: /var/db/locate.database
 
 Can someone give me a heads up on how to fix this?
 
 Thanks,
 
 
 Run this shell script:
 
 /etc/periodic/weekly/310.locate

Thank you!

Rem

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


Re: Locate command

2008-07-09 Thread Paul Procacci

Rem P Roberti wrote:

Whenever I do a locate command on a new installation I get this
message:

locate: database too small: /var/db/locate.database

Can someone give me a heads up on how to fix this?

Thanks,

  

Run this shell script:

/etc/periodic/weekly/310.locate



Thank you!

Rem


  

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


Re: Locate command

2008-07-09 Thread Doug Poland

Rem P Roberti wrote:

Whenever I do a locate command on a new installation I get this
message:

locate: database too small: /var/db/locate.database

Can someone give me a heads up on how to fix this?


create the locate database via:

man locate.updatedb(8)
man locate(1)

--
Regards,
Doug


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


Re: trying to locate a specific port that I forget the name of

2008-01-20 Thread Zane C.B.
On Sun, 20 Jan 2008 04:33:34 +
Matthew Seaman [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256
 
 Zane C.B. wrote:
  I originally saw it in the ports tree, IIRC, about a year ago or
  around there.
  
  What it was was a massive piece of software for connecting
  multiple services allowing them all to be queried. It was capable
  of connecting to IMAP, LDAP, several SQL servers, and a few other
  things. The manual of the software was several hundred pages long.
  
  Any one remember what it is?
 
   perl ?

Nah. From what I remember it was written in Java.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


trying to locate a specific port that I forget the name of

2008-01-19 Thread Zane C.B.
I originally saw it in the ports tree, IIRC, about a year ago or
around there.

What it was was a massive piece of software for connecting multiple
services allowing them all to be queried. It was capable of
connecting to IMAP, LDAP, several SQL servers, and a few other
things. The manual of the software was several hundred pages long.

Any one remember what it is?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trying to locate a specific port that I forget the name of

2008-01-19 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Zane C.B. wrote:
 I originally saw it in the ports tree, IIRC, about a year ago or
 around there.
 
 What it was was a massive piece of software for connecting multiple
 services allowing them all to be queried. It was capable of
 connecting to IMAP, LDAP, several SQL servers, and a few other
 things. The manual of the software was several hundred pages long.
 
 Any one remember what it is?

perl ?

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHks8e8Mjk52CukIwRCG6xAJ9hsNk65vvWDAW53zD/sXRDgQMougCePaUs
YIo7gWMqS3r0VxcF/JPvApg=
=6Nu8
-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: Unable to locate Net-SMTP-SSL-1.01 perl module in ports

2007-02-06 Thread Justin Meyer
Hi Gerard!

On Mon, 05 Feb 2007, Gerard Seibert wrote:

 I am looking for the Net-SMTP-SSL perl module in the ports system. So
 far I have not been able to locate it.. If I cannot locate it, I will
 have to use CPAN to install it; which is something I would rather not do.
 
 Does anyone know if it exists under a different name perhaps?

Is this what you were looking for?

ttyp1 [EMAIL PROTECTED]:/usr/ports
0 09:30:21 545 # make search name=p5-net-smtp
...
Port:   p5-Net-SMTP-TLS-0.12
Path:   /usr/ports/mail/p5-Net-SMTP-TLS
Info:   An SMTP client supporting TLS and AUTH
Maint:  [EMAIL PROTECTED]
B-deps: p5-Digest-HMAC-1.01 p5-Digest-SHA1-2.11 p5-IO-Socket-SSL-1.02
p5-MIME-Base64-3.07 p5-Net-SSLeay-1.30_1 perl-5.8.8
R-deps: perl-5.8.8
WWW:http://search.cpan.org/dist/Net-SMTP-TLS/

TLS = SSLv3, IIRC.

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


Re: Unable to locate Net-SMTP-SSL-1.01 perl module in ports

2007-02-06 Thread Gerard Seibert
On Tuesday February 06, 2007 at 12:32:50 (PM) Justin Meyer wrote:


 Is this what you were looking for?
 
 ttyp1 [EMAIL PROTECTED]:/usr/ports
 0 09:30:21 545 # make search name=p5-net-smtp
 ..
 Port:   p5-Net-SMTP-TLS-0.12
 Path:   /usr/ports/mail/p5-Net-SMTP-TLS
 Info:   An SMTP client supporting TLS and AUTH
 Maint:  [EMAIL PROTECTED]
 B-deps: p5-Digest-HMAC-1.01 p5-Digest-SHA1-2.11 p5-IO-Socket-SSL-1.02
 p5-MIME-Base64-3.07 p5-Net-SSLeay-1.30_1 perl-5.8.8
 R-deps: perl-5.8.8
 WWW:http://search.cpan.org/dist/Net-SMTP-TLS/
 
 TLS = SSLv3, IIRC.

No, it is not the module I am looking for. There is a Net::SMTP::SSL
perl module available from CPAN. I guess that nobody has ever ported it
to FBSD. If I knew how, I would; however that isn't going to happen
anytime in the near future. I will just use CPAN to install it.

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


Unable to locate Net-SMTP-SSL-1.01 perl module in ports

2007-02-05 Thread Gerard Seibert
I am looking for the Net-SMTP-SSL perl module in the ports system. So
far I have not been able to locate it.. If I cannot locate it, I will
have to use CPAN to install it; which is something I would rather not do.

Does anyone know if it exists under a different name perhaps?

Thanks!

-- 
Gerard

Ruth rode upon my motor bike
directly in back of me.
I hit a bump at 95
and rode on Ruthlessly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Locate updatedb

2006-07-27 Thread Lowell Gilbert
Elijah Savage [EMAIL PROTECTED] writes:

 Running 6.1 fresh install one of my routines after installing is
 updating the locate database but I am getting errors and it is not
 fulling updating.

 locate: integer out of +-MAXPATHLEN (1024): 1027
 locate: integer out of +-MAXPATHLEN (1024): 1027

You have paths that are over 1024 characters long.
Tell updatedb not to use them (/etc/locate.rc exists for this).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Locate updatedb

2006-07-26 Thread Elijah Savage
Running 6.1 fresh install one of my routines after installing is  
updating the locate database but I am getting errors and it is not  
fulling updating.


locate: integer out of +-MAXPATHLEN (1024): 1027
locate: integer out of +-MAXPATHLEN (1024): 1027




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


how to locate file by inode?

2006-03-22 Thread Eugene M. Minkovskii
Hello!

Does anybody know how to locate file by inode? For example, using
fstat(1) I see:

USER CMD  PID   FD MOUNT   INUM MODE SZ|DV R/W
...
user some_program 84130 0  /dev  68 crw--w   ttyp0 rw
user some_program 84130 1  /usr  595890 -rw-r--r--   0 w
user some_program 84130 2  /dev  68 crw--w   ttyp0 rw
...

I see that some_program using file whith inode 595890 on mount
point /usr like STDOUT. To find it I do following:

$ find -x /usr -inum 595890

to find two files:

$ find -x /usr \( -inum 595890 -o -inum $other_inum \) -ls

but this is too slow. Does any body know other, more directly
method?

-- 
Sensory  yours, Eugene  Minkovskii
Сенсорно ваш,   Евгений Миньковский
___
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 locate file by inode?

2006-03-22 Thread Dan Nelson
In the last episode (Mar 23), Eugene M. Minkovskii said:
 Does anybody know how to locate file by inode? For example, using
 fstat(1) I see:
 
 USER CMD  PID   FD MOUNT   INUM MODE SZ|DV R/W
 ...
 user some_program 84130 0  /dev  68 crw--w   ttyp0 rw
 user some_program 84130 1  /usr  595890 -rw-r--r--   0 w
 user some_program 84130 2  /dev  68 crw--w   ttyp0 rw
 ...
 
 I see that some_program using file whith inode 595890 on mount point
 /usr like STDOUT. To find it I do following:
 
 $ find -x /usr -inum 595890
 
 to find two files:
 
 $ find -x /usr \( -inum 595890 -o -inum $other_inum \) -ls
 
 but this is too slow. Does any body know other, more directly
 method?

Not in the general case.  If the process still has the file open,
though, lsof (in ports) might be able to print the filename by digging
through the kernel's name cache.  Oddly enough, lsof on my 5.4 box is
able to resolve filenames for all open fds, even ones I know I have
never used (lpd's lockfile, for example :)

# lsof -c lpd
COMMAND PID USER   FD   TYPE DEVICE SIZE/OFF   NODE NAME
lpd 532 root  cwd   VDIR   4,16 1024  2 /
lpd 532 root  rtd   VDIR   4,16 1024  2 /
lpd 532 root  txt   VREG   4,2072180 784475 /usr/sbin/lpd
lpd 532 root  txt   VREG   4,16   443266  21269 /libexec/ld-elf.so.1
lpd 532 root  txt   VREG   4,16  2610745  21248 /lib/libc.so.5
lpd 532 root0u  VCHR2,2  0t0 18 /dev/null
lpd 532 root1u  VCHR2,2  0t0 18 /dev/null
lpd 532 root2u  VCHR2,2  0t0 18 /dev/null
lpd 532 root3u  unix 0xc286aa20  0t0-0xc27643cc
lpd 532 root4wW VREG   4,194639 
/var/spool/output/lpd.lock
lpd 532 root5u  unix 0xc286e144  0t0/var/run/printer
lpd 532 root6u  IPv4 0xc288e8ac  0t0TCP *:printer (LISTEN)

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


Unable to locate ports-installed library at compile-time

2005-08-29 Thread James P. Howard, II
I am trying to build an application that depends on libplot.  Despite
the fact libplot is installed (via ports), gcc is unable to find it at
compile time:

  [EMAIL PROTECTED]:~/tmp$ touch foo.c
  [EMAIL PROTECTED]:~/tmp$ gcc -o foo foo.c -lplot
  /usr/bin/ld: cannot find -lplot
  [EMAIL PROTECTED]:~/tmp$

Here's some output from ldconfig showing it is there:

  [EMAIL PROTECTED]:~/tmp$ ldconfig -r | grep libplot
324:-lplot.4 = /usr/local/lib/libplot.so.4
326:-lplotter.4 = /usr/local/lib/libplotter.so.4
  [EMAIL PROTECTED]:~/tmp$

Beyond this, everything seems to be in order.  Has anyone seen this
kind of situation or know of a solution?

Thank you, James

-- 
James P. Howard, II -- [EMAIL PROTECTED]
http://jameshoward.us/  --  443-430-4050
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


simple locate question

2005-07-08 Thread Florian Hengstberger
How to creata a second locate database for private use?
(mp3 database or so).
I have tried
$ locate -U dir_with_mp3s -o database.dtb

Searching in this database doent work
$ locate -d database.dtb somesong.mp3
gives no result.
The database exists and it looks ok, seems to be a simple
ascii format.
What am I doing wrong?
I guess its simple, isn't it!

Thanks Florian



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


Re: simple locate question

2005-07-08 Thread Lowell Gilbert
Florian Hengstberger [EMAIL PROTECTED] writes:

 How to creata a second locate database for private use?
 (mp3 database or so).
 I have tried
 $ locate -U dir_with_mp3s -o database.dtb
 
 Searching in this database doent work
 $ locate -d database.dtb somesong.mp3
 gives no result.
 The database exists and it looks ok, seems to be a simple
 ascii format.
 What am I doing wrong?
 I guess its simple, isn't it!

I don't know; the standard locate program doesn't take a -U option,
and will give an error message accordingly if called the way you claim
you did.  Have you installed some other version of locate?

To use the standard locate, you use the locate.updatedb(8) script, as
the locate(1) manual will tell you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: simple locate question

2005-07-08 Thread Jeremy Johnston

Lowell Gilbert wrote:


Florian Hengstberger [EMAIL PROTECTED] writes:

 


How to creata a second locate database for private use?
(mp3 database or so).
I have tried
$ locate -U dir_with_mp3s -o database.dtb

Searching in this database doent work
$ locate -d database.dtb somesong.mp3
gives no result.
The database exists and it looks ok, seems to be a simple
ascii format.
What am I doing wrong?
I guess its simple, isn't it!
   



I don't know; the standard locate program doesn't take a -U option,
and will give an error message accordingly if called the way you claim
you did.  Have you installed some other version of locate?

To use the standard locate, you use the locate.updatedb(8) script, as
the locate(1) manual will tell you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

 


FCODES=database.dtb; SEARCHPATHS=dir_with_mp3s;
export FCODES; export SEARCHPATHS;
/usr/libexec/locate.updatedb

then of course using locate -d database.dtb somefile

--
Jeremy Johnston (President / Developer)
SmartServ Hosting
Email: [EMAIL PROTECTED]
Phone: 1-250-402-6634 Ext. 201
Cell: 1-250-402-9583 | [EMAIL PROTECTED] (150 Characters max)
Fax: 1-250-402-6634
Toll Free: 1-866-702-2904

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


Cant locate system disk

2005-05-25 Thread Karan Gupta
Im trying to install fBSD 5.4 onto a Maxtor N256 10GB hdd. I have the 
hdd hooked up as a primary master, the cdrom as secondary master. The 
cdrom is the 1st boot device  the hdd the second. When I put in the 
fBSD firstdisk.iso into the CD, it finds the hdd...installs the boot 
manager, partitions it  installs to the point where it says 
Congratulations. It asks me to enter some config info. Everything 
looks good so far.


When I remove the cdrom and boot from the hdd i get  system disk boot 
failure. Insert system drive


thoughts?

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


Re: Cant locate system disk

2005-05-25 Thread Charles Swiger

On May 25, 2005, at 5:59 PM, Karan Gupta wrote:
Im trying to install fBSD 5.4 onto a Maxtor N256 10GB hdd. I have  
the hdd hooked up as a primary master, the cdrom as secondary  
master. The cdrom is the 1st boot device  the hdd the second. When  
I put in the fBSD firstdisk.iso into the CD, it finds the  
hdd...installs the boot manager, partitions it  installs to the  
point where it says Congratulations. It asks me to enter some  
config info. Everything looks good so far.


When I remove the cdrom and boot from the hdd i get  system disk  
boot failure. Insert system drive


thoughts?


Don't use dangerously dedicated mode if you are.  Try using an MS- 
DOS floppy or CD to create a small DOS partition, and double-check  
whether you can boot to that.  Then try installing FreeBSD in the  
remaining space, and see whether that works better.  Tweaking BIOS  
settings, including LBA mode and/or downgrading from UDMA to PIO may  
also help.


--
-Chuck

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


RE: trying to locate Teddy Field's son

2004-12-16 Thread Ted Mittelstaedt

Does he have a sister named Strawberry?

:-)
Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of sasha.roxie
 Sent: Tuesday, December 14, 2004 6:54 PM
 To: [EMAIL PROTECTED]
 Subject: trying to locate Teddy Field's son
 
 
 Hi Justin,
 
 I'm trying to locate Teddy's son, so googled your name.  If you're the 
 one, please contact me -- I'm doing genealogical research and have a 
 few questions.  Will try not to bother you overmuch.  Am related to 
 your grandfather Abe.
 
 Thanks,
 Nina Bunin
 Arlington, VA
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trying to locate Teddy Field's son

2004-12-15 Thread Toomas Aas
Subhro wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:owner-freebsd-
[EMAIL PROTECTED] On Behalf Of sasha.roxie

I'm trying to locate Teddy's son, so googled your name.  If you're the
Eh???!!
Maybe Teddy Field's son is called Questions Field. Or even Freebsd Q. Field.
Sorry, couldn't resist...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trying to locate Teddy Field's son

2004-12-15 Thread Kirk Strauser
On Tuesday 14 December 2004 20:54, sasha.roxie wrote:

 I'm trying to locate Teddy's son, so googled your name.

I hate to say it, but your relative's been hanging out with a pack of merry 
daemons.
-- 
Kirk Strauser


pgpul9hqYrv61.pgp
Description: PGP signature


trying to locate Teddy Field's son

2004-12-14 Thread sasha . roxie
Hi Justin,
I'm trying to locate Teddy's son, so googled your name.  If you're the 
one, please contact me -- I'm doing genealogical research and have a 
few questions.  Will try not to bother you overmuch.  Am related to 
your grandfather Abe.

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


RE: trying to locate Teddy Field's son

2004-12-14 Thread Subhro


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of sasha.roxie
 Sent: Wednesday, December 15, 2004 8:24
 To: [EMAIL PROTECTED]
 Subject: trying to locate Teddy Field's son
 
 Hi Justin,
 
 I'm trying to locate Teddy's son, so googled your name.  If you're the
 one, please contact me -- I'm doing genealogical research and have a
 few questions.  Will try not to bother you overmuch.  Am related to
 your grandfather Abe.
 
 Thanks,
 Nina Bunin
 Arlington, VA
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED] 

Eh???!!

Regards
S.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


locate

2004-10-30 Thread george
I am getting this error upon running periodic weekly
it looks to me that there is a very long directory but I dont know a command
to find this directory. can someone help?
locate: integer out of +-MAXPATHLEN (1024): 1028 

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


Re: locate

2004-10-30 Thread Ryan Thompson
george wrote to [EMAIL PROTECTED]:
I am getting this error upon running periodic weekly it looks to me
that there is a very long directory but I dont know a command to find
this directory. can someone help?
# find / | awk '{ if (length = 1024) print }'
It's linear on the number of inodes, but it should be accurate
locate: integer out of +-MAXPATHLEN (1024): 1028
- Ryan
--
  Ryan Thompson [EMAIL PROTECTED]
  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4
Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669 (877-SASKNOW) North America
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: k3b cannot locate growisofs executable

2004-09-28 Thread BSDjunkie
--- BSDjunkie [EMAIL PROTECTED] wrote:

 I have now upgraded everything with portupgrade. Now
 that I have the k3b-0.11.14 version, I still get the
 same error message. :|

Eureeka!

I've found the problem!

By executing growisofs under sudo I received the error
message:

growisofs -- executed under sudo -- exiting...

I was executing k3b under sudo which makes growisofs
exit.

If I su to root, then I can run k3b and it finds
growisofs.

*WHEW*

Thanks all who helped!!!

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


Re: Locate revealing contents of root:wheel 700 directories

2004-09-24 Thread Kris Kennaway
On Sun, Apr 21, 2002 at 01:27:14PM -0400, Dan Mahoney, System Admin wrote:
 Hi, I noticed that in freeBSD 4.5, locate shows the contents of all
 folders, even in my previously root:wheel 700 directory, /mnt/var/log.

Only if you run the locate.updatedb utility as root (i.e. in a
non-default way).  locate only searches the database, it doesn't have
any extra privileges.

Kris


pgpc0fEgqt1rz.pgp
Description: PGP signature


Re: k3b cannot locate growisofs executable

2004-09-23 Thread BSDjunkie

--- Ion-Mihai Tetcu [EMAIL PROTECTED] wrote:


 The problem has been resolved a few weeks ago,
 upgrade you k3b; the
 current versions is k3b-0.11.14

Ion-Mihai,

I have now upgraded everything with portupgrade. Now
that I have the k3b-0.11.14 version, I still get the
same error message. :|

Maybe I should remove and reinstall?

I tried this with the previous version of k3b and it
gave the same 'can't find growisofs' error message...

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


Re: k3b cannot locate growisofs executable

2004-09-21 Thread Ion-Mihai Tetcu
On Mon, 20 Sep 2004 15:40:49 -0700 (PDT)
BSDjunkie [EMAIL PROTECTED] wrote:

 FreeBSD users:
 
 I have yet another question
 
 I installed k3b for cd/dvd burning, however whenever I
 try to burn a DVD, I get the error message:
 
 'unable to find growisofs executable'
 
 It's in /usr/local/bin and '/usr/local/bin' is in the
 paths that k3b searches...
 
 I tried pkg_delete dvd+rw-tools, then I did a
 portinstall sysutils/dvd+rw-tools (from /usr/ports
 directory) to reinstall it.
 
 Just can't make k3b find itall other executables
 and plugins that it needs are present and have the
 green check next to them in the 'programs' section of
 the configuration.
 
 I'm using k3b.0.11.12 with kde 3.2.3

The problem has been resolved a few weeks ago, upgrade you k3b; the
current versions is k3b-0.11.14



-- 
IOnut
Unregistered ;) FreeBSD user
5.3-BETA4 - try `sysctl debug.witness_watch=0`
and prepare to fly :-)


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


k3b cannot locate growisofs executable

2004-09-20 Thread BSDjunkie
FreeBSD users:

I have yet another question

I installed k3b for cd/dvd burning, however whenever I
try to burn a DVD, I get the error message:

'unable to find growisofs executable'

It's in /usr/local/bin and '/usr/local/bin' is in the
paths that k3b searches...

I tried pkg_delete dvd+rw-tools, then I did a
portinstall sysutils/dvd+rw-tools (from /usr/ports
directory) to reinstall it.

Just can't make k3b find itall other executables
and plugins that it needs are present and have the
green check next to them in the 'programs' section of
the configuration.

I'm using k3b.0.11.12 with kde 3.2.3

When I type in the commandline growisofs --version, I
get:
rowisofs by [EMAIL PROTECTED], version 5.21

Any pointers, as always are appreciated...

Maybe reinstall k3b ? 

Thanks for listening

Mark Withers

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


perl and openwebmail - cant locate vars.pm

2004-02-25 Thread Noah Garrett Wallach

FreeBSD 4.9

okay i am attempting to install perl-5.8.2 from the /usr/ports

I am seeing the following thing happen

I suid'ed /usr/bin/suidperl with 4555
did a use.perl port

and also what should my /etc/make.conf file look like - is this okay?

--- snip ---

# -- use.perl generated deltas -- #
# Created: Tue Jul 15 22:09:26 2003
# Setting to use base perl from ports:
PERL_VER=5.8.2
PERL_VERSION=5.8.2
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo

 snip ---


output from speedyCGI files.

Can't locate vars.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.8.
0/mach /usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl/5.6.1
 /usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl
/usr/local/
lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach
/usr/local/lib/perl5/5.8.
0) at /dev/fd/10 line 19.
BEGIN failed--compilation aborted at /dev/fd/10 line 19.
speedy_backend[20770]: perl_parse error
speedy[20768]: Cannot spawn backend process
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: perl and openwebmail - cant locate vars.pm

2004-02-25 Thread parv
in message [EMAIL PROTECTED],
wrote Noah Garrett Wallach thusly...

 okay i am attempting to install perl-5.8.2 from the /usr/ports
 
 I am seeing the following thing happen
...
 and also what should my /etc/make.conf file look like - is this
 okay?
...
 # -- use.perl generated deltas -- #
 # Created: Tue Jul 15 22:09:26 2003
 # Setting to use base perl from ports:
 PERL_VER=5.8.2
 PERL_VERSION=5.8.2
 PERL_ARCH=mach
 NOPERL=yo
 NO_PERL=yo
 NO_PERL_WRAPPER=yo
...
 output from speedyCGI files.
 
 Can't locate vars.pm in @INC (@INC contains:

I have that in /usr/local/lib/perl5/5.8.2/vars.pm.

What does find /usr/local/lib -type f -name 'vars.pm' show?  Better
yet tell us the output of ...

  perl -Mstrict -w \
-e \
' use vars q/$polka/;
  $polka  = q/dot/;
'

...which should be whole lot of nothing.


( reformated original --v )
 /usr/local/lib/perl5/site_perl/5.8.0/mach
 /usr/local/lib/perl5/site_perl/5.8.0
 /usr/local/lib/perl5/site_perl/5.6.1
 /usr/local/lib/perl5/site_perl/5.005
 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.0/BSDPAN
 /usr/local/lib/perl5/5.8.0/mach /usr/local/lib/perl5/5.8.0) at
 /dev/fd/10 line 19.  BEGIN failed--compilation aborted at
 /dev/fd/10 line 19.  speedy_backend[20770]: perl_parse error
 speedy[20768]: Cannot spawn backend process

Wow, you have three versions of perl installed; now have installed,
rather, trying to install 5.8.2 -- as it is missing from above @INC --
*seemingly* under the same parent directory.  You are one brave
fellow!

If you do not need old files, why not deinstall old ports  nd/or clear
directories, deinstall 5.8.2,  recompile?  Then again problem could
itself be w/ the speedyCGI port.


For comparison, i have only Perl 5.8.2 installed  @INC is...

  # perl -e '$, = qq/\n/; print @INC'
  /usr2/local/lib/perl5/site_perl/5.8.2/mach
  /usr2/local/lib/perl5/site_perl/5.8.2
  /usr2/local/lib/perl5/site_perl
  /usr2/local/lib/perl5/5.8.2/BSDPAN
  /usr2/local/lib/perl5/5.8.2/mach
  /usr2/local/lib/perl5/5.8.2
  .


  - Parv

-- 

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


$ locate httpd.conf

2003-07-27 Thread DanB
When I try to use locate on  my  new box I get this below. What do I
need to do to make it work?
Dan


$ locate httpd.conf
locate: database too small: /var/db/locate.database
$


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


Re: $ locate httpd.conf

2003-07-27 Thread Frank Reppin
Hello,

DanB wrote:
When I try to use locate on  my  new box I get this below. What do I
need to do to make it work?
run /etc/periodic/weekly/310.locate manually, ie

	`sh /etc/periodic/weekly/310.locate`

and the locate.database gets build.

HTH,

best regards,

Frank Reppin

--

43rd Law of Computing:
Anything that can go wr
fortune: Segmentation violation -- Core dumped
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: $ locate httpd.conf

2003-07-27 Thread Jonas Anderson
On Sun, 27 Jul 2003, DanB wrote:

 When I try to use locate on  my  new box I get this below. What do I
 need to do to make it work?
 Dan


 $ locate httpd.conf
 locate: database too small: /var/db/locate.database

Use /usr/libexec/locate.updatedb .. That should fix your problem.

Best regards,

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


Re: $ locate httpd.conf

2003-07-27 Thread Daniel Bye
On Sun, Jul 27, 2003 at 02:03:17PM +, DanB wrote:
 When I try to use locate on  my  new box I get this below. What do I
 need to do to make it work?

When you first install the box, the script that generates the locatedb does
not run.  You can either wait until the first weekly periodic run, or 
execute it manually:

# /usr/libexec/locate.updatedb

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp0.pgp
Description: PGP signature


Re: $ locate httpd.conf

2003-07-27 Thread Kirk Strauser
At 2003-07-27T14:21:24Z, Jonas Anderson [EMAIL PROTECTED] writes:

 Use /usr/libexec/locate.updatedb .. That should fix your problem.

Unfortunately, you have to be root to run that.  Unless you, as root,
instruct it to run as 'nobody', it has full access to index every file on
the hard drive, including those with contents not otherwise visible to the
world.

Much better to run the 'periodic' script and let it properly handle setting
the correct user.
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


Re: $ locate httpd.conf

2003-07-27 Thread Sunil Sunder Raj
Hi,
Run  /etc/periodic/weekly/310.locate
Regards
SSR

From: DanB [EMAIL PROTECTED]
To: freebsd [EMAIL PROTECTED]
Subject: $ locate httpd.conf
Date: Sun, 27 Jul 2003 14:03:17 +
When I try to use locate on  my  new box I get this below. What do I
need to do to make it work?
Dan
$ locate httpd.conf
locate: database too small: /var/db/locate.database
$
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
E-mail just got better. Find out why. 
http://server1.msn.co.in/features/general/extrastorage/index.asp Click here!

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


Moving locate DB from weekly to daily?

2003-07-09 Thread Dragoncrest
	Other than just copying the script 310.locate from the weekly folder to 
the daily folder, what else do I need to do in order to move the rebuilding 
of the locate database from weekly to daily?  I want to rebuild it daily if 
possible.  I doubt that'll put a lot of extra load on my machine as it does 
the rebuild and other cron tasks around 3am anyways.  Any suggestions are 
welcome.

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


Re: Moving locate DB from weekly to daily?

2003-07-09 Thread Lowell Gilbert
Dragoncrest [EMAIL PROTECTED] writes:

   Other than just copying the script 310.locate from the
 weekly folder to the daily folder, what else do I need to do in order
 to move the rebuilding of the locate database from weekly to daily?  I
 want to rebuild it daily if possible.  I doubt that'll put a lot of
 extra load on my machine as it does the rebuild and other cron tasks
 around 3am anyways.  Any suggestions are welcome.

That should work fine, although if it were I, I'd use a different
number because there's already a 310.* script in periodic/daily.
This isn't important to the computer, of course, but it may save
some human confusion in the future.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


locate database

2003-06-24 Thread Ben Polidore
My locate database is not being updated.

If I run the script in /etc/periodic/weekly this is the output:

[EMAIL PROTECTED]:/etc/periodic/weekly]# ./310.locate

Rebuilding locate database:
[EMAIL PROTECTED]:/etc/periodic/weekly]#

That takes about 1 second.

This is an ls on the db file.

[EMAIL PROTECTED]:/etc/periodic/weekly]# ls -l /var/db/locate.database
-r--r--r--  1 nobody  wheel  5911 Jun 24 14:31 /var/db/locate.database
[EMAIL PROTECTED]:/etc/periodic/weekly]#

If I just run locate.updatedb as root, it works, but as soon as the periodic 
script runs, the database is reduced to the above.

Any thoughts?

-Ben Polidore


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


unix locate cmd

2002-10-01 Thread Lee Gold

I'm trying to use the  locate  cmd to find all
instances of .xinitrc in my system. I did,

root#  /usr/libexec/locate.unpdatedb
root# setenv $LOCATE_PATH /var/db/locate.database

I've tried  root# locate filename
with different input but the command gives no
feedback or output - it just goes to a new prompt.
and of course,
# locate .xinitrc  or \.initrc or anything else gives no
out from the cmd. what am I doing wrong?

Thanks

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



Re: unix locate cmd

2002-10-01 Thread Lee Gold



  (10.01.2002 @ 0418 PST): Lee Gold said, in 0.5K: 
  I'm trying to use the  locate  cmd to find all
  instances of .xinitrc in my system. I did,
  
..snip..
 
 when you run the program, you're leaving out the 'n' in locate.updatedb,
 right?

that's an email typo.

...snip...

 so you can't locate anything at all? so, for example, locate termcap
 gives no output? what's the filesize of your /var/db/locate.database?

the db is about 420kb
sorry, it works perfectly $locate temp or $locate X11
give big lists. I think I'm getting stuck on the dot beginning
the string  .xinitrc - I must not be handling that leading .
correctly w/locate. The output of $locate .xinitrc  is nothing
just a new prompt. What would be the reason?

Thanks for this help,
Lee


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



Re: unix locate cmd

2002-10-01 Thread Peter Ulrich Kruppa

On Tue, 1 Oct 2002, Lee Gold wrote:

 I'm trying to use the  locate  cmd to find all
 instances of .xinitrc in my system. I did,

 root#  /usr/libexec/locate.unpdatedb
 root# setenv $LOCATE_PATH /var/db/locate.database

 I've tried  root# locate filename
 with different input but the command gives no
 feedback or output - it just goes to a new prompt.
 and of course,
 # locate .xinitrc  or \.initrc or anything else gives no
 out from the cmd. what am I doing wrong?
The file is called xinitrc not .xinitrc

Uli.


 Thanks

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


*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


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



Re: unix locate cmd

2002-10-01 Thread Frank Heitmann


 The file is called xinitrc not .xinitrc
/usr/X11R6/lib/X11/xinit/xinitrc if user has no .xinitrc file
which would reside in ~  (so it's ~/.xinitrc).

See startx(1) - and my system were it works with ~/.xinitrc :)

Cheers,
Frank

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



Re: unix locate cmd

2002-10-01 Thread Adam Weinberger

k. first of all, do you actually HAVE any copies of an .xinitrc file?
the system-wide one has no dot.

if you DO have one, it's typically in ~/.xinitrc. is your /home
partition not a ufs partition? locacte.updatedb will only index ufs
partitions by default.

-Adam


 (10.01.2002 @ 0415 PST): Lee Gold said, in 0.9K: 
 
 
   (10.01.2002 @ 0418 PST): Lee Gold said, in 0.5K: 
   I'm trying to use the  locate  cmd to find all
   instances of .xinitrc in my system. I did,
   
 ..snip..
  
  when you run the program, you're leaving out the 'n' in locate.updatedb,
  right?
 
 that's an email typo.
 
 ...snip...
 
  so you can't locate anything at all? so, for example, locate termcap
  gives no output? what's the filesize of your /var/db/locate.database?
 
 the db is about 420kb
 sorry, it works perfectly $locate temp or $locate X11
 give big lists. I think I'm getting stuck on the dot beginning
 the string  .xinitrc - I must not be handling that leading .
 correctly w/locate. The output of $locate .xinitrc  is nothing
 just a new prompt. What would be the reason?
 
 Thanks for this help,
 Lee
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 end of Re: unix locate cmd from Lee Gold 


--
Oh good, my dog found the chainsaw.
-Lilo, Lilo  Stitch
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


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



Re: unix locate cmd

2002-10-01 Thread Joshua Lokken

  # locate .xinitrc  or \.initrc or anything else gives no
  out from the cmd. what am I doing wrong?
 The file is called xinitrc not .xinitrc
 
 Uli.
 

Huh??

 
 *---*
 *Peter Ulrich Kruppa*
 *  -  Wuppertal -   *
 *  Germany  *
 *---*


Joshua

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



Re: unix locate cmd

2002-10-01 Thread Gary W. Swearingen

Lee Gold [EMAIL PROTECTED] writes:

 I'm trying to use the  locate  cmd to find all
 instances of .xinitrc in my system. I did,
 
 root#  /usr/libexec/locate.unpdatedb
 root# setenv $LOCATE_PATH /var/db/locate.database

   ^-- Don't use $ there.

But that's probably not your problem.

Maybe you have a /etc/locate.rc and it's messed up, or maybe one of
/usr/libexec/locate.unpdatedb's env. vars. has a bad value.  ??

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



Re: unix locate cmd

2002-10-01 Thread Lee Gold


Subject: Re: unix locate cmd 
   From: Kevin Oberman [EMAIL PROTECTED]
..snip

Also, locate.updatedb runs as nobody so it will only index directories
and files with other read access. 

Oh. Maybe this is why even newbie questions  are supposed to be
posted here. So security issues for a new user (or any user) can be
pointed out by those in the know.

Ok. Would I repair the security of my locate db by running:
/etc/periodic/weekly/310.locate
right now?

would it overwrite the existing db and not just add to it?

Thank you.





From the man page for locate:
 The locate database was built by user ``nobody''.  find(1) skips directo-
 ries, which are not readable for user ``nobody'', group ``nobody'', or
 world.  E.g. if your HOME directory is not world-readable, all your files
 are not in the database.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED] Phone: +1 510 486-8634

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