open source scheduling system for shift workers

2011-01-31 Thread Noah

Hi there,

Is there a good open source scheduling system that somebody can 
recommendation?  Basically I need to track people who perform duties on 
4 to 8 hour shifts.  I am sure there is something written out there.  I 
have found limitations with phpscheduleit for creating 4 hour slices 
multiple times a day.  Maybe recent improvements to the code has fixed 
this.  But are there other options out there.


Cheers,

Noah
___
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"


rsync: failed to set permissions on "": Function not implemented (38)

2010-10-27 Thread Noah

Hi there,

No response on the rsync mail list so I am trying here.

I am trying to figure out how I can get my rsync client and server to 
coexist better.  I am running into the following error:



rsync: failed to set permissions on "": Function not 
implemented (38)


and the command line is

/usr/bin/rsync --recursive --compress --human-readable --progress 
--update --perms -avz '/Applications' -e 'ssh -p 22 -o 
ServerAliveInterval=10' --relative --delete root@:/



What can I do to alleviate these errors?

Cheers,
Noah
___
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: ZFS practical application?

2010-08-09 Thread Noah Pratt
On Mon, Aug 9, 2010 at 3:40 PM, Ed Flecko  wrote:
> Hi folks,
> I've been reading about the ZFS file system, and I'm having a hard
> time understanding maybe the most practical business application(s)?
>
> I think I understand a little bit about it (from a conceptual
> perspective) that it's a self-healing 128 bit filesystem, better data
> integrity checking, etc.
>
> I have a small business (< 50 end users) and I'm wondering perhaps
> some examples that you might think would be most applicable for a
> FreeBSD server(s) and the ZFS filesystem?
>
> One of the things that seems like might be a detriment as well as an
> asset, is it's ability to expand as necessary, but then I'm wondering
> what prevents the filesystem from just "running away"?
>
> Are there any sites out there with perhaps a more laymen's explanation of ZFS?
>
> Comments?
>
> Thank you,
> Ed


ZFS filesystems can grow automatically within the space allocated to
the pool, but you control the pool. You also get fine-grained control
via quotas. Sun's docs are a good starting point:
http://docs.sun.com/app/docs/doc/819-5461/gbcik

Also read the parts about snapshots and zfs send:
http://docs.sun.com/app/docs/doc/819-5461/gavvx

What are your users running? Here's one of my favorites:
http://blogs.sun.com/GregB/entry/using_zfs_to_protect_ntfs


-Noah
___
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: virtualbox

2010-08-06 Thread Noah Pratt
On Fri, Aug 6, 2010 at 9:19 AM, Samuel Martín Moro  wrote:
> Very powerfull, indeed
> too bad vrdp doesn't work on OSE...
>

True, but a VNC server was recently added to the OSE edition instead:
http://www.virtualbox.org/ticket/6020

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


Re: mounting UFS CD-ROMs

2010-08-04 Thread Noah Pratt
I tried `dd conv=swab`,  and it's not that easy. I gather it's only
the metadata within the filesystem that's affected, so swapping the
whole thing leaves you with garbage. Afterwards, `file` saw it as
"data", where before it at least knew it was a filesystem.

On 8/4/10, xSAPPYx  wrote:
> You could try the conv=swab option to dd
>
> dd if=/dev/acd0 of=5853-5864.iso conv=swab
>
> On Wed, Aug 4, 2010 at 18:04, Noah Pratt  wrote:
>> On Tue, Aug 3, 2010 at 8:44 PM, Michael Powell 
>> wrote:
>>> Noah Pratt wrote:
>>>
>>>> Hi,
>>>>
>>>> I have a whole bunch of UFS CD-ROMs, but I'm unable to mount them on
>>>> my FreeBSD 8 system.
>>>> I thought it would be possible. From the FAQ:
>>>> http://www.freebsd.org/doc/en/books/faq/disks.html
>>>>
>>>>     UFS CD-ROMs can be mounted directly on FreeBSD. Mounting disk
>>>> partitions from Digital UNIX and other systems that support UFS may be
>>>> more complex, depending on the details of the disk partitioning for
>>>> the operating system in question.
>>>>
>>>>
>>>> I tried the direct route:
>>>>
>>>> 6930p# file -s /dev/acd0t01
>>>> /dev/acd0: Unix Fast File system [v1] (big-endian), last mounted on
>>>                                         ^^
>>> [snip]
>>>>
>>>> 6930p# uname -a
>>>> FreeBSD 6930p.domain.com 8.0-STABLE FreeBSD 8.0-STABLE #1: Mon May 17
>>>> 01:26:14 PDT 2010
>>>> r...@6930p.domain.com:/usr/obj/usr/src/sys/GENERIC  amd64
>>>>
>>>>
>>>> Am I missing something that ought to be obvious? [probable]
>>>> Is it no longer possible to mount UFS filesystems? [unlikely ;-) ]
>>>> Is there something specific about *this* UFS filesystem that prevents
>>>> it from working?
>>>>
>>>
>>> I suspect maybe the disk was written using Solaris on SPARC, which is
>>> big-
>>> endian. Most PC architectures are little-endian.
>>>
>>> -Mike
>>
>>
>>
>> Yes, the CDs were created in Solaris on SPARC. (I think it was a Sparc
>> 10...)
>> And yes, my FreeBSD system is an Intel Core2Duo.
>>
>> In Linux, copying the disc and mounting the disc image via loopback
>> worked great:
>>   ubuntu# cat /dev/cdrom > cd-image
>>   ubuntu# mount -t ufs -o ro,loop cd-image /mnt
>>
>> It looks like NetBSD has a kernel build option FFS_EI, to enable
>> fsck_ffs -B to convert the byte order.
>> (I don't have a NetBSD system to test though.)
>>
>> I even found a Windows program called R-Studio ( http://www.r-tt.com/
>> ) that was able to recover data from these discs.
>>
>> Can the filesystem's endianness be converted in FreeBSD?
>>
>>
>>
>> Thanks a lot!
>>
>> -Noah
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscr...@freebsd.org"
>>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: mounting UFS CD-ROMs

2010-08-04 Thread Noah Pratt
On Tue, Aug 3, 2010 at 8:44 PM, Michael Powell  wrote:
> Noah Pratt wrote:
>
>> Hi,
>>
>> I have a whole bunch of UFS CD-ROMs, but I'm unable to mount them on
>> my FreeBSD 8 system.
>> I thought it would be possible. From the FAQ:
>> http://www.freebsd.org/doc/en/books/faq/disks.html
>>
>>     UFS CD-ROMs can be mounted directly on FreeBSD. Mounting disk
>> partitions from Digital UNIX and other systems that support UFS may be
>> more complex, depending on the details of the disk partitioning for
>> the operating system in question.
>>
>>
>> I tried the direct route:
>>
>> 6930p# file -s /dev/acd0t01
>> /dev/acd0: Unix Fast File system [v1] (big-endian), last mounted on
>                                         ^^
> [snip]
>>
>> 6930p# uname -a
>> FreeBSD 6930p.domain.com 8.0-STABLE FreeBSD 8.0-STABLE #1: Mon May 17
>> 01:26:14 PDT 2010
>> r...@6930p.domain.com:/usr/obj/usr/src/sys/GENERIC  amd64
>>
>>
>> Am I missing something that ought to be obvious? [probable]
>> Is it no longer possible to mount UFS filesystems? [unlikely ;-) ]
>> Is there something specific about *this* UFS filesystem that prevents
>> it from working?
>>
>
> I suspect maybe the disk was written using Solaris on SPARC, which is big-
> endian. Most PC architectures are little-endian.
>
> -Mike



Yes, the CDs were created in Solaris on SPARC. (I think it was a Sparc 10...)
And yes, my FreeBSD system is an Intel Core2Duo.

In Linux, copying the disc and mounting the disc image via loopback
worked great:
   ubuntu# cat /dev/cdrom > cd-image
   ubuntu# mount -t ufs -o ro,loop cd-image /mnt

It looks like NetBSD has a kernel build option FFS_EI, to enable
fsck_ffs -B to convert the byte order.
(I don't have a NetBSD system to test though.)

I even found a Windows program called R-Studio ( http://www.r-tt.com/
) that was able to recover data from these discs.

Can the filesystem's endianness be converted in FreeBSD?



Thanks a lot!

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


mounting UFS CD-ROMs

2010-08-03 Thread Noah Pratt
Hi,

I have a whole bunch of UFS CD-ROMs, but I'm unable to mount them on
my FreeBSD 8 system.
I thought it would be possible. From the FAQ:
http://www.freebsd.org/doc/en/books/faq/disks.html

UFS CD-ROMs can be mounted directly on FreeBSD. Mounting disk
partitions from Digital UNIX and other systems that support UFS may be
more complex, depending on the details of the disk partitioning for
the operating system in question.


I tried the direct route:

6930p# file -s /dev/acd0t01
/dev/acd0: Unix Fast File system [v1] (big-endian), last mounted on
/worm, last written at Fri Oct  6 04:01:43 2000, clean flag 1, number
of blocks 616699, number of data blocks 578377, number of cylinder
groups 126, block size 8192, fragment size 1024, minimum percentage of
free blocks 10, rotational delay 0ms, disk rotational speed 90rps,
TIME optimization
6930p# mount -t ufs -o ro /dev/acd0t01 /mnt
mount: /dev/acd0t01 : Invalid argument


To make sure it wasn't the media, I tried the loopback route:

6930p# cat /dev/acd0 > 5853-5864.iso
6930p# mdconfig -a -t vnode -f /usr/home/CDs/5853-5864.iso -u 1 -o readonly
6930p# mdconfig -lv
md0  swap  700M
md1  vnode 603M  /usr/home/CDs/5853-5864.iso
6930p# mount -o ro /dev/md1 /mnt
mount: /dev/md1 : Invalid argument
6930p# mount -o ro -t ufs /dev/md1 /mnt
mount: /dev/md1 : Invalid argument

6930p# file -s /dev/md1
/dev/md1: Unix Fast File system [v1] (big-endian), last mounted on
/worm, last written at Fri Oct  6 04:01:43 2000, clean flag 1, number
of blocks 616699, number of data blocks 578377, number of cylinder
groups 126, block size 8192, fragment size 1024, minimum percentage of
free blocks 10, rotational delay 0ms, disk rotational speed 90rps,
TIME optimization

6930p# fdisk md1
*** Working on device /dev/md1 ***
parameters extracted from in-core disklabel are:
cylinders=76 heads=255 sectors/track=63 (16065 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=76 heads=255 sectors/track=63 (16065 blks/cyl)

fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 1220877 (596 Meg), flag 80 (active)
 beg: cyl 0/ head 1/ sector 1;
 end: cyl 75/ head 254/ sector 63
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:


6930p# uname -a
FreeBSD 6930p.domain.com 8.0-STABLE FreeBSD 8.0-STABLE #1: Mon May 17
01:26:14 PDT 2010
r...@6930p.domain.com:/usr/obj/usr/src/sys/GENERIC  amd64


Am I missing something that ought to be obvious? [probable]
Is it no longer possible to mount UFS filesystems? [unlikely ;-) ]
Is there something specific about *this* UFS filesystem that prevents
it from working?

Thank you,

-Noah
___
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"


open source program for showing six degrees

2009-12-19 Thread Noah

Hi list,

Ive seen a nice app that takes pictures and shows how people are
socially connected to one another and makes a Jpg.  So I am looking for
a similar app that takes this type of information and makes a GUI
clickable webpage.

Here is what i am looking to do.  I want to have icons/pictures for
companies then have icon/pictures for people.  Then by certain data we
can connect the companies and people together to create collage of lines
and pictures and stuff.  Perhaps if you click the people and or
companies you can send to a link that is a biography and/or company
profile.

Is there anything out there that somebody knows about that is already
coded and does a decent job?


Cheers,

Noah

___
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 build from ports without downloading ports

2009-10-20 Thread Noah

Hi there,

I have a server with minimal disk space.  is there a way to build from 
ports without downloading ports or only downloading what is needed for 
the build and then it is removed?


Cheers,

Noah
___
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"


building lynx with ssl

2009-10-20 Thread Noah

Hi there,

I Built lynx-2.8.7 from the .tar.gz and unable to get ssl support to work

the error is:

Alert!: This client does not contain support for HTTPS URLs.


and the build strategy used is:
./configure --with-ssl && make && sudo make install

what am I doing wrong?
___
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"


phpscheduleit not allowing login

2009-10-20 Thread Noah

Hi there,

I just installed 1.2.11 and running apache
I get the Log in screen and I am able to register.
As soon as I enter my account information at the main Login page i am 
sent right back to the page and the error message is "You are not logged 
in!"


Nothing is appearing in the log eventhough I have it configured:

--- snip ---

// If we should log system activity or not

*

$conf['app']['use_log'] = 1;
// Directory/file for log ['/var/log/phpscheduleitlog.txt']
$conf['app']['logfile'] = '/var/log/phpscheduleitlog.txt';

--- snip ---

What else can I try here?

___
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"


openwebmail undefined subroutine

2009-04-25 Thread Noah

Hi there,

any clues why this is happening?
I have Compress::Zlib installs.

Undefined subroutine &Compress::Zlib::memGzip called at
/usr/local/www/cgi-bin/openwebmail/shares/ow-shared.pl line 1212.

Cheers,
Noah


___
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"


openwebmail undefined subroutine

2009-04-23 Thread Noah

Hi there,

any clues why this is happening?
I have Compress::Zlib installs.

Undefined subroutine &Compress::Zlib::memGzip called at 
/usr/local/www/cgi-bin/openwebmail/shares/ow-shared.pl line 1212.


Cheers,
Noah

___
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"


reinstall package with portinstall

2009-03-11 Thread Noah

Hi there,

how can I reinstall a package that could be the same version as the 
currently Install version with portinstall or portupgrade?


Cheers,

Noah
___
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: p5-Digest-HMAC-1.01 installation is corrupt!

2009-03-11 Thread Noah

yes and I still get the error again when running portmanager



# pkg_delete -f p5-Digest-HMAC-1.01
pkg_delete: package 'p5-Digest-HMAC-1.01' is required by these other 
packages

and may not be deinstalled (but I'll delete it anyway):
p5-Mail-SpamAssassin-3.2.5_1
pkg_delete: package 'p5-Digest-HMAC-1.01' doesn't have a prefix
#
# portmanager -u -y
rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" 
not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS

p5-Digest-HMAC-1.01 installation is corrupt!
recomend running "pkg_delete -f p5-Digest-HMAC-1.01" 
then manually reinstalling this port
rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" 
not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS

p5-Digest-HMAC-1.01 installation is corrupt!
recomend running "pkg_delete -f p5-Digest-HMAC-1.01" 
then manually reinstalling this port


portmanager 0.4.1_9: Collecting installed port data

^CMGPMrCatchSignal received signal -=>2

Olivier Nicole wrote:

I am trying to remove p5-Digest-HMAC-1.01 installation.  How do I do it?



# portmanager -u -y
rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" 
not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS

 p5-Digest-HMAC-1.01 installation is corrupt!
 recomend running "pkg_delete -f p5-Digest-HMAC-1.01" 


Did you try  "pkg_delete -f p5-Digest-HMAC-1.01" as recommended?

Bests,

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


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


Re: p5-Digest-HMAC-1.01 installation is corrupt!

2009-03-11 Thread Noah

yes

# pkg_delete -f p5-Digest-HMAC-1.01
pkg_delete: package 'p5-Digest-HMAC-1.01' is required by these other 
packages

and may not be deinstalled (but I'll delete it anyway):
p5-Mail-SpamAssassin-3.2.5_1
pkg_delete: package 'p5-Digest-HMAC-1.01' doesn't have a prefix

Olivier Nicole wrote:

I am trying to remove p5-Digest-HMAC-1.01 installation.  How do I do it?



# portmanager -u -y
rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" 
not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS

 p5-Digest-HMAC-1.01 installation is corrupt!
 recomend running "pkg_delete -f p5-Digest-HMAC-1.01" 


Did you try  "pkg_delete -f p5-Digest-HMAC-1.01" as recommended?

Bests,

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


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


p5-Digest-HMAC-1.01 installation is corrupt!

2009-03-11 Thread Noah


Hi there,

I am trying to remove p5-Digest-HMAC-1.01 installation.  How do I do it?



# portmanager -u -y
rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" 
not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS

p5-Digest-HMAC-1.01 installation is corrupt!
recomend running "pkg_delete -f p5-Digest-HMAC-1.01" 
then manually reinstalling this port
rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" 
not found in /var/db/pkg/p5-Digest-HMAC-1.01/+CONTENTS

p5-Digest-HMAC-1.01 installation is corrupt!
recomend running "pkg_delete -f p5-Digest-HMAC-1.01" 
then manually reinstalling this port


portmanager 0.4.1_9: Collecting installed port data

^CMGPMrCatchSignal received signal -=>2
# pkg_delete -f p5-Digest-HMAC-1.01
pkg_delete: package 'p5-Digest-HMAC-1.01' doesn't have a prefix

___
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: /libexec/ld-elf.so.1: Shared object "libxcb.so.1" not found, required by "libcairo.so.2"

2009-03-10 Thread Noah

Robert Huff wrote:

Noah writes:

 rebuilding emacs using portupgrade is dying and claiming I am missing a 
 library.  What shall I do?
 
 /libexec/ld-elf.so.1: Shared object "libxcb.so.1" not found,

 required by "libcairo.so.2"


Have you:
1) updated your whole ports tree?
2) read /usr/ports/UPDATING?




Sure Robert,

This is what I do to update the whole ports tree.  Am I missing something?


1) use cvsup and get the entire ports
2) cd /usr/ports && make index
3) cd /usr/ports && make fetchindex
4) /usr/local/sbin/portsdb -Uu
5) /usr/local/sbin/pkgdb -fu




Robert Huff


___
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"


/libexec/ld-elf.so.1: Shared object "libxcb.so.1" not found, required by "libcairo.so.2"

2009-03-10 Thread Noah

Hi there,

rebuilding emacs using portupgrade is dying and claiming I am missing a 
library.  What shall I do?



/libexec/ld-elf.so.1: Shared object "libxcb.so.1" not found, required by 
"libcairo.so.2"


___
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: restart rsync process via shell script

2008-12-29 Thread Noah

Mel wrote:

On Monday 29 December 2008 13:35:06 Noah wrote:

Hi there,

I am trying to figure out the most accurate way to assess if an rsync
process is running and is established to the remote rsync server and is
transferring data.  I am writing a bourne shell script to restart rsync
if the connection to the remote rsync server is lost.

The command "ps ax | grep 'rsync' | grep -v grep"  is not enough because
the rsync and ssh process can be running but the connection to the
remote server is no longer ESTABLISHED and the backup is no longer
proceeding.

Then perhaps the command "netstat -A | grep '192.168.1.10' | grep
'ESTABLISHED' | grep -v grep" would be helpful.  But in some cases I
have found that I have ssh connections to the remote rsync server that
obfuscate the rsync ssh ESTABLISH statistics.

the rsync command I am using is: "/usr/bin/rsync -avz '/Users/noah/' -e
'ssh -p 22' r...@192.168.1.10:/Users"

Any suggestions please?


Set ServerAliveInterval to a low value so the connection is dropped. You can 
do this on the commandline using -e 'ssh -o ServerAliveInterval=10 -p 22'. 
This would drop the connection if the server can't be reached within 10 
seconds.
Once the connection is dropped, rsync should exit with a value other then 0, 
so you can wrap your rsync command in a while loop, like:


KEEP_RUNNING=1
while test ${KEEP_RUNNING} -gt 0; do
rsync -avz /Users/noah/ -e 'ssh -p 22 -o ServerAliveInterval=10' \
r...@192.168.1.10:/Users
KEEP_RUNNING=$?
done



I like that - thanks!

___
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"


restart rsync process via shell script

2008-12-29 Thread Noah

Hi there,

I am trying to figure out the most accurate way to assess if an rsync
process is running and is established to the remote rsync server and is
transferring data.  I am writing a bourne shell script to restart rsync
if the connection to the remote rsync server is lost.

The command "ps ax | grep 'rsync' | grep -v grep"  is not enough because
the rsync and ssh process can be running but the connection to the
remote server is no longer ESTABLISHED and the backup is no longer
proceeding.

Then perhaps the command "netstat -A | grep '192.168.1.10' | grep
'ESTABLISHED' | grep -v grep" would be helpful.  But in some cases I
have found that I have ssh connections to the remote rsync server that
obfuscate the rsync ssh ESTABLISH statistics.

the rsync command I am using is: "/usr/bin/rsync -avz '/Users/noah/' -e
'ssh -p 22' r...@192.168.1.10:/Users"

Any suggestions please?

Cheers,

Noah

___
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: running shell command through ssh tunnel

2008-12-27 Thread Noah

Matthew Seaman wrote:

Lowell Gilbert wrote:

Noah  writes:


I am trying to run a shell command to the host at the far end of an ssh
tunnel.   Here is how I structured access.  Is there any way to do this
more compactly on one line?


ssh -L 12345:192.168.1.20:22 n...@domain.com
ssh -p 12345 localhost 'chown -R noah:noah /shares/internal/Music/'


Maybe I haven't had enough coffee yet, but wouldn't that just be
ssh n...@192.168.1.20 'chown -R noah:noah /shares/internal/Music/'
?  You might even want to use '-n' as an option to the ssh command.


ENOCOFFEE.  Your equivalence is only the case if you're already logged
into 'domain.com'  This is a fairly standard idiom for tunnelling a network
connection in through a NAT gateway or a firewall from an external Internet
site to a protected RFC 1918 internal back-end, although the forwarded 
protocol

is usually other than SSH.

Given that the OP is wanting to tunnel SSH through SSH, a one-liner to
achieve his desired effect might be something like:

ssh n...@domain.com ssh n...@192.168.1.20 chown -R noah:noah 
/shares/internal/Music/



you will the prize.   please retrieve it on the way out. :)




Cheers,

Matthew



___
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: running shell command through ssh tunnel

2008-12-27 Thread Noah

Lowell Gilbert wrote:

Noah  writes:


I am trying to run a shell command to the host at the far end of an ssh
tunnel.   Here is how I structured access.  Is there any way to do this
more compactly on one line?


ssh -L 12345:192.168.1.20:22 n...@domain.com
ssh -p 12345 localhost 'chown -R noah:noah /shares/internal/Music/'


Maybe I haven't had enough coffee yet, but wouldn't that just be
ssh n...@192.168.1.20 'chown -R noah:noah /shares/internal/Music/'
?  You might even want to use '-n' as an option to the ssh command.




I cant do this since I need to reach a publicly addressable host before 
reaching the server at 192.168.1.20 .  Therefore I am under the 
impression I need to tunnel through the publicly addressed host first 
then I can ssh to 192.168.1.20 .

___
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: running shell command through ssh tunnel

2008-12-27 Thread Noah

Christian Laursen wrote:

Noah  writes:


I am trying to run a shell command to the host at the far end of an ssh
tunnel.   Here is how I structured access.  Is there any way to do this
more compactly on one line?


ssh -L 12345:192.168.1.20:22 n...@domain.com
ssh -p 12345 localhost 'chown -R noah:noah /shares/internal/Music/'


Put something like the following in your ~/.ssh/config:

Host otherhost
  HostKeyAlias otherhost
  ProxyCommand ssh n...@domain.com nc 192.168.1.20 22

Then you can simply run:

ssh otherhost 'chown -R noah:noah /shares/internal/Music/'



I cant do this since I need to reach a publicly addressable host before 
reaching the server at 192.168.1.20







Reading the ssh_config man page might reveal a number of other nice
features ssh has to offer.



___
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"


running shell command through ssh tunnel

2008-12-26 Thread Noah

Hi there,

I am trying to run a shell command to the host at the far end of an ssh
tunnel.   Here is how I structured access.  Is there any way to do this
more compactly on one line?


ssh -L 12345:192.168.1.20:22 n...@domain.com
ssh -p 12345 localhost 'chown -R noah:noah /shares/internal/Music/'

Cheers,

Noah

___
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: control character file names

2008-12-15 Thread Noah



Sorry for being to briefly.

1.

The Midnight Commander is a curses based file manager that might
be a workaround for the problem you can't solve using Emacs at
the moment. It can be installed via ports or (more simple) from
packages using "pkg_add -r mc". The command to run it is "mc".



2.

PF6 (or F6) refers to the programmable function key number 6
which has the function to move or rename files (in the Midnight
Commander).

By the way, for deleting a directory, PF8 (or F8) - Delete - can
be useful. I'm not sure if the MC can be troubled by control
characters in filenames, but up to this point, I found nothing
the MC couldn't delete anyway. :-)



I hope I didn't explain too stupidly, I don't want to sound
impolite. Of course I cannot assume anyone to know what a
Midnight Commander is or what PF keys (IBM and robotron
terminology) are...






cool - that worked.  thanks for the verbosity :)
___
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: Renaming files with strange characters in dired-mode [was: Re: control character file names]

2008-12-15 Thread Noah

Giorgos Keramidas wrote:

On Mon, 15 Dec 2008 05:59:02 -0800, Noah  wrote:

If you have customized `dired-listing-switches' try reverting it to a
simpler set of options, like:

(setq-default dired-listing-switches "-lFa")

The -b and -B options tend to confuse dired about what the *real*
filename is, and may trigger this sort of error.

thanks I placed that setq option in my .emacs and that works for
renaming files and directories containing control character.  I am
unable to rename a directory that has nine '?'.

What setq modification will allow emacs to change those type filenames?


This seems like a dired problem.  Are the characters _really_ the
question mark character, or are they merely characters that are
un-displayable in the current coding system?

What do you see when you move the point on that filename and then type
`C-u C-x ='?  If the characters are really the question mark, then the
informational buffer that pops up should include something like this:


n...@tsunami:/mnt/mybook-music$ ls -lB | less
total 1778688
drwxr-xr-x   3 noah noah 0 2005-01-09 15:26 ?
-rwx--   1 noah noah   1841776 2007-12-13 19:57 
00_arditi-standards_of_triumph-2006-cd-amrc.jpg
-rwx--   1 noah noah   3223290 2007-12-13 20:02 
00_arditi-standards_of_triumph-2006-front-amrc.jpg
-rwx--   1 noah noah   2989502 2007-12-13 20:07 
00_arditi-standards_of_triumph-2006-inlay1-amrc.jpg



Here is what is shown in emacs:

 character: ? (63, #o77, #x3f, U+003F)
charset: ascii (ASCII (ISO646 IRV))
 code point: #x3F
 syntax: .  which means: punctuation
   category: a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0]) 
l:Latin

buffer code: #x3F
  file code: #x3F (encoded by coding system mule-utf-8)
display: by this font (glyph code)
 -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1 (#x3F)

There are text properties here:
  dired-filename   t
  face dired-directory
  fontifiedt
  help-echo"mouse-2: visit this file in other window"
  mouse-face   highlight





,---
| character: ? (63, #o77, #x3f)
| preferred charset: ascii (ASCII (ISO646 IRV))
|code point: 0x3F
|syntax: .  which means: punctuation
|  category: a:ASCII
| ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0]) l:Latin r:Roman
| Japanese roman
|   buffer code: #x3F
| file code: #x3F (encoded by coding system utf-8-emacs-unix)
|   display: terminal code #x3F
|
| Character code properties: customize what to show
|   name: QUESTION MARK
|   general-category: Po (Punctuation, Other)
|
| There are text properties here:
|   fontifiedt
|
`---

ASCII code 63 (octal #o77, hex #x3f) in this case is the question-mark
character.

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


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


Re: control character file names

2008-12-15 Thread Noah

Polytropon wrote:

On Mon, 15 Dec 2008 05:59:02 -0800, Noah  wrote:
I am 
unable to rename a directory that has nine '?'.


Maybe Midnight Commander - PF6: Rename - will do the job?
(Workaround)




okay I dont quite understand.  what is midnight commander - PF6: Rename?


Cheers,

Noah
___
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: control character file names

2008-12-15 Thread Noah

Hi there,

Giorgos Keramidas wrote:

On Sun, 14 Dec 2008 19:52:01 -0800, Noah  wrote:

  *   Use a file manager.

  I often use `dired-mode' inside an Emacs session to move around,
  copy, re-organize, rename or delete files.  Any file manager that
  can display several character sets at once will do fine :)

Hey there Giorgos,

I'd love to use emacs but I go into 'dired-mode' and I try to rename the
^M' directory and receive an error from emacs.  The error claims
"file-error Renaming no such file or directory /mnt/mybook-music/^M
/mnt/mybook-music/Music2

What do I do?


If you have customized `dired-listing-switches' try reverting it to a
simpler set of options, like:

(setq-default dired-listing-switches "-lFa")

The -b and -B options tend to confuse dired about what the *real*
filename is, and may trigger this sort of error.


thanks I placed that setq option in my .emacs and that works for 
renaming files and directories containing control character.  I am 
unable to rename a directory that has nine '?'.


What setq modification will allow emacs to change those type filenames?

Cheers,

Noah


___
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: control character file names

2008-12-14 Thread Noah




  *   Use a file manager.

  I often use `dired-mode' inside an Emacs session to move around,
  copy, re-organize, rename or delete files.  Any file manager that
  can display several character sets at once will do fine :)



Hey there Giorgos,

I'd love to use emacs but I go into 'dired-mode' and I try to rename the 
'^M' directory and receive an error from emacs.  The error claims 
"file-error Renaming no such file or directory /mnt/mybook-music/^M 
/mnt/mybook-music/Music2


What do I do?

___
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"


control character file names

2008-12-14 Thread Noah

Hi there,

there is a blank directory that I cant seem to view.  I believe the 
directory is a '^M'.  can somebody please explain how I can see 
filenames and directories containing control characters.  Also how do I 
rename the directory with 'mv'?


Cheers,

Noah

___
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"


dialog run away processes

2008-12-11 Thread Noah

Hi there,

sometimes I find there one or two processes with the command name of 
'dialog' tacking the cpu on my freebsd machines.  any clues what creates 
this situation and how I can circumvent the problem?  It appears to 
happen around the time I run portmanager to update all the system ports.


I am running 6.2-RELEASE-p11

Cheers,

Noah
___
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: bashrc configuration question: syntax error: unexpected end of file

2008-12-09 Thread Noah

Hi,

Christopher Cowart wrote:

Noah wrote:
I am unable to figure out why I am getting the following error: "-bash: 
/Users/user/.bashrc: line 10: syntax error: unexpected end of file

[...]

localhost:~ user$ cat .bashrc
#nc_fix() { sudo kill -9 $"(ps auxwww | grep [nN]cproxyd | awk '{print 
$2}')" }
nc_fix() { sudo kill -9 $(ps auxwww | grep "[nN]cproxyd" | awk '{print 
$2}') }


The } is a statement, and must be preceded with a newline or a ;.

Try:

nc_fix() { sudo kill -9 $(ps auxwww | grep "[nN]cproxyd" | awk '{print 
$2}'); }


or

nc_fix() { 
sudo kill -9 $(ps auxwww | grep "[nN]cproxyd" | awk '{print $2}')

}

Everything that follows right now is part of the definition of nc_fix().
When you get to the end of the file, it says "Hey! I'm still defining a
function!"



Christopher - you are the winner.  Please pick up your consolation prize 
at the door :)


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: bashrc configuration question: syntax error: unexpected end of file

2008-12-09 Thread Noah

Hi there,

Christopher Cowart wrote:

A couple more things I noticed after looking more closely at your actual
command: 


Christopher Cowart wrote:
nc_fix() { 
sudo kill -9 $(ps auxwww | grep "[nN]cproxyd" | awk '{print $2}')

 ^ this is equivalent to:
   $(ps auxwww | awk '/[nN]cproxyd/ {print $2}')

}


You might also want to check out pkill(1):

$ sudo pkill -9 '[nN]cproxyd'

And as an alias:

$ alias nc_fix="sudo pkill -9 '[nN]cproxyd'"



okay cool,

arent there two ways to get nc_fix defined in the .bashrc

option 1:  like as a function:
nc_fix() { sudo kill -9 $(ps auxwww | awk '/[nN]cproxyd/ {print $2}') }

option 2: as an alias:
alias nc_fix="sudo pkill -9 '[nN]cproxyd'"

right,

Noah



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


bashrc configuration question: syntax error: unexpected end of file

2008-12-09 Thread Noah

Hi there,

I am unable to figure out why I am getting the following error: "-bash: 
/Users/user/.bashrc: line 10: syntax error: unexpected end of file

localhost:~ user$"


 Here are the relevant hask configuration files --

localhost:~ user$ cat .bash_profile
if [ -f ~/.bashrc ]; then
 source ~/.bashrc
fi
localhost:~ user$ cat .bashrc
#nc_fix() { sudo kill -9 $"(ps auxwww | grep [nN]cproxyd | awk '{print 
$2}')" }
nc_fix() { sudo kill -9 $(ps auxwww | grep "[nN]cproxyd" | awk '{print 
$2}') }


# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
localhost:~ user$



--- snip ---


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 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]"


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 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]"


Can't locate ExtUtils/MakeMaker.pm

2008-11-24 Thread Noah Garrett Wallach
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-aliasing -pipe 
-Wdeclaration-after-statement -I/usr/local/include'

ccversion='', gccversion='3.4.6 [FreeBSD] 20060305', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, 
Off_t='off_t', lseeksize=8

alignbytes=4, prototype=define
  Linker and Libraries:
ld='cc', ldflags =' -Wl,-E -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lgdbm -lm -lcrypt -lutil
perllibs=-lm -lcrypt -lutil
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' 
-Wl,-R/usr/local/lib/perl5/5.8.8/mach/CORE'

cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MYMALLOC PERL_MALLOC_WRAP USE_64_BIT_INT
USE_LARGE_FILES USE_PERLIO
  Locally applied patches:
    defined-or
  Built under freebsd
  Compiled at Nov 10 2007 18:50:19
  @INC:
/usr/local/lib/perl5/5.8.8/BSDPAN
/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
.


--
Noah Garrett Wallach Juniper Networks
Consulting Engineer1194 North Mathilda Avenue
Professional Services Sunnyvale CA  94089
tel: +1-415-823-6624 fax: +1-415-431-7726
-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cd and rm a directory with '^M'

2008-09-03 Thread Noah

Hi there,

I had rsync create a directory with a '^M' in it.

how do I rm -rf the directory?

Cheers,

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


unwanted text before shell prompt

2008-06-23 Thread Noah

Hi there,

I just upgraded my FreeBSD box and now I am find that the is an almost 
blank line above my shell prompt that contains a "%" (without the 
quotes) about 20 columns in.  What would be the places that this line 
could be defined?


Cheers,

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


stunnel 4.25 and portdowngrade

2008-06-16 Thread Noah

Hi there,

I am in a bit of a peculiar situation.  So I upgraded to stunnel 4.25
now.  but since I upgraded the binary I find that the CPU is tacked and
also eventually the ports it is supposed to be answering for no longer
get answered.  So I decided since 4.24 was working perfectly to
portdowngrade.  I follow the standard procedure and stunnel 4.25 is
installed again instead of stunnel 4.24

any suggestions here?

machine:   6.2-RELEASE-p11


Cheers,

Noah

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


stunnel 4.25 and portdowngrade

2008-06-15 Thread Noah

Hi there,

I am in a bit of a peculiar situation.  So I upgraded to stunnel 4.25 
now.  but since I upgraded the binary I find that the CPU is tacked and 
also eventually the ports it is supposed to be answering for no longer 
get answered.  So I decided since 4.24 was working perfectly to 
portdowngrade.  I follow the standard procedure and stunnel 4.25 is 
installed again instead of stunnel 4.24


any suggestions here?

machine:   6.2-RELEASE-p11


Cheers,

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


stunnel: warning: can't get client address: Bad file descriptor

2008-06-08 Thread Noah

Just upgraded stunnel and getting the following error message in the
/var/log/messages file.  It appears that when I restart stunnel it 
complains "Error binding pop3s to 0.0.0.0:995 and bind: Address already 
in use (48)".  therefore the 995 port never becomes available during the 
restart.  Why is that happening?  She the stunel logs below.


any clues?

 snip ---

Jun  8 13:17:04  stunnel: warning: can't get client address: Bad file
descriptor
Jun  8 13:17:34  last message repeated 530400 times
Jun  8 13:18:00  last message repeated 488687 times

 snip ---


 here is the stunnel.log -

n# tail -n 50 -f /var/log/stunnel.log
Jun  8 00:00:00 typhoon newsyslog[72831]: logfile turned over
2008.06.08 04:05:41 LOG7[21238:134664192]: Snagged 64 random bytes from 
/root/.rnd
2008.06.08 04:05:41 LOG7[21238:134664192]: Wrote 1024 new random bytes 
to /root/.rnd
2008.06.08 04:05:41 LOG7[21238:134664192]: RAND_status claims sufficient 
entropy for the PRNG

2008.06.08 04:05:41 LOG7[21238:134664192]: PRNG seeded successfully
2008.06.08 04:05:41 LOG7[21238:134664192]: Certificate: 
/usr/local/etc/stunnel/mail.pem

2008.06.08 04:05:41 LOG7[21238:134664192]: Certificate loaded
2008.06.08 04:05:41 LOG7[21238:134664192]: Key file: 
/usr/local/etc/stunnel/mail.pem

2008.06.08 04:05:41 LOG7[21238:134664192]: Private key loaded
2008.06.08 04:05:41 LOG7[21238:134664192]: SSL context initialized for 
service pop3s
2008.06.08 04:05:41 LOG5[21238:134664192]: stunnel 4.25 on 
i386-unknown-freebsd6.2 with OpenSSL 0.9.8h 28 May 2008
2008.06.08 04:05:41 LOG5[21238:134664192]: Threading:PTHREAD SSL:ENGINE 
Sockets:POLL,IPv6 Auth:LIBWRAP
2008.06.08 04:05:41 LOG6[21238:134664192]: file ulimit = 11095 (can be 
changed with 'ulimit -n')
2008.06.08 04:05:41 LOG6[21238:134664192]: poll() used - no FD_SETSIZE 
limit for file descriptors

2008.06.08 04:05:41 LOG5[21238:134664192]: 5417 clients allowed
2008.06.08 04:05:41 LOG7[21238:134664192]: FD 5 in non-blocking mode
2008.06.08 04:05:41 LOG7[21238:134664192]: FD 6 in non-blocking mode
2008.06.08 04:05:41 LOG7[21238:134664192]: FD 7 in non-blocking mode
2008.06.08 04:05:41 LOG7[21238:134664192]: SO_REUSEADDR option set on 
accept socket
2008.06.08 04:05:41 LOG3[21238:134664192]: Error binding pop3s to 
0.0.0.0:995

2008.06.08 04:05:41 LOG3[21238:134664192]: bind: Address already in use (48)


--- configuration ---

# cat /usr/local/etc/stunnel/stunnel.conf
# Sample stunnel configuration file
# Copyright by Michal Trojnara 2002

# Comment it out on Win32
cert = /usr/local/etc/stunnel/mail.pem
chroot = /var/run/stunnel
#chroot = /var/run
# PID is created inside chroot jail
pid = /stunnel.pid
setuid = stunnel
setgid = stunnel
# grep stunnel /etc/rc.conf
stunnel_enable="YES"
# cat /usr/local/etc/rc.d/stunnel
#!/bin/sh
#
# $FreeBSD: ports/security/stunnel/files/stunnel.in,v 1.9 2008/01/26
14:18:12 roam Exp $
#

# PROVIDE: stunnel
# REQUIRE: NETWORKING SERVERS
# BEFORE: DAEMON
# KEYWORD: shutdown

#
# Add some of the following variables to /etc/rc.conf to configure stunnel:
# stunnel_enable (bool):Set to "NO" by default.
#   Set it to "YES" to enable stunnel.
# stunnel_config (str): Default
"/usr/local/etc/stunnel/stunnel.conf"
#   Set it to the full path to the config file
#   that stunnel will use during the automated
#   start-up.
# stunnel_pidfile (str):Default "/usr/local/var/stunnel/stunnel.pid"
#   Set it to the value of 'pid' in
#   the stunnel.conf file.
#

. /etc/rc.subr

name="stunnel"
rcvar=`set_rcvar`

load_rc_config $name

: ${stunnel_enable="NO"}
: ${stunnel_config="/usr/local/etc/stunnel/${name}.conf"}
: ${stunnel_pidfile="/var/run/stunnel/${name}.pid"}

command="/usr/local/bin/stunnel"
command_args=${stunnel_config}
pidfile=${stunnel_pidfile}

required_files="${stunnel_config}"

run_rc_command "$1"


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


stunnel: warning: can't get client address: Bad file descriptor

2008-06-08 Thread Noah
Just upgraded stunnel and getting the following error message in the 
/var/log/messages file.  any clues?


 snip ---

Jun  8 13:17:04  stunnel: warning: can't get client address: Bad file 
descriptor

Jun  8 13:17:34  last message repeated 530400 times
Jun  8 13:18:00  last message repeated 488687 times



 snip ---



--- configuration ---

# cat /usr/local/etc/stunnel/stunnel.conf
# Sample stunnel configuration file
# Copyright by Michal Trojnara 2002

# Comment it out on Win32
cert = /usr/local/etc/stunnel/mail.pem
chroot = /var/run/stunnel
#chroot = /var/run
# PID is created inside chroot jail
pid = /stunnel.pid
setuid = stunnel
setgid = stunnel
# grep stunnel /etc/rc.conf
stunnel_enable="YES"
# cat /usr/local/etc/rc.d/stunnel
#!/bin/sh
#
# $FreeBSD: ports/security/stunnel/files/stunnel.in,v 1.9 2008/01/26 
14:18:12 roam Exp $

#

# PROVIDE: stunnel
# REQUIRE: NETWORKING SERVERS
# BEFORE: DAEMON
# KEYWORD: shutdown

#
# Add some of the following variables to /etc/rc.conf to configure stunnel:
# stunnel_enable (bool):Set to "NO" by default.
#   Set it to "YES" to enable stunnel.
# stunnel_config (str): Default 
"/usr/local/etc/stunnel/stunnel.conf"

#   Set it to the full path to the config file
#   that stunnel will use during the automated
#   start-up.
# stunnel_pidfile (str):Default "/usr/local/var/stunnel/stunnel.pid"
#   Set it to the value of 'pid' in
#   the stunnel.conf file.
#

. /etc/rc.subr

name="stunnel"
rcvar=`set_rcvar`

load_rc_config $name

: ${stunnel_enable="NO"}
: ${stunnel_config="/usr/local/etc/stunnel/${name}.conf"}
: ${stunnel_pidfile="/var/run/stunnel/${name}.pid"}

command="/usr/local/bin/stunnel"
command_args=${stunnel_config}
pidfile=${stunnel_pidfile}

required_files="${stunnel_config}"

run_rc_command "$1"

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


Re: stunnel not running? (check /var/run/stunnel/stunnel.pid)

2008-06-07 Thread Noah

logs included below

Sahil Tandon wrote:

Noah <[EMAIL PROTECTED]> wrote:

Okay I am not understanding something with stunnel. it appears that stunnel 
cant start because it cant create a pid file.  It happens every time I 
upgrade it.


# /usr/local/etc/rc.d/stunnel restart
stunnel not running? (check /var/run/stunnel/stunnel.pid).
Starting stunnel.
# /usr/local/etc/rc.d/stunnel restart
stunnel not running? (check /var/run/stunnel/stunnel.pid).
Starting stunnel.
#

Anybody help me understand things here.  so here is the relevent output 
which I can provide some clues.


I notice below that you have modified the rc script, but even after mimicking 
your changes, I cannot reproduce your problem -- stunnel starts (and creates 
a pid) just fine.  What is logged to /var/log/messages by stunnel?




2008.06.07 10:37:55 LOG7[27645:134664192]: Snagged 64 random bytes from 
/root/.rnd
2008.06.07 10:37:55 LOG7[27645:134664192]: Wrote 1024 new random bytes 
to /root/.rnd
2008.06.07 10:37:55 LOG7[27645:134664192]: RAND_status claims sufficient 
entropy for the PRNG

2008.06.07 10:37:55 LOG7[27645:134664192]: PRNG seeded successfully
2008.06.07 10:37:55 LOG7[27645:134664192]: Certificate: 
/usr/local/etc/stunnel/mail.pem

2008.06.07 10:37:55 LOG7[27645:134664192]: Certificate loaded
2008.06.07 10:37:55 LOG7[27645:134664192]: Key file: 
/usr/local/etc/stunnel/mail.pem

2008.06.07 10:37:55 LOG7[27645:134664192]: Private key loaded
2008.06.07 10:37:55 LOG7[27645:134664192]: SSL context initialized for 
service pop3s
2008.06.07 10:37:55 LOG5[27645:134664192]: stunnel 4.25 on 
i386-unknown-freebsd6.2 with OpenSSL 0.9.8h 28 May 2008
2008.06.07 10:37:55 LOG5[27645:134664192]: Threading:PTHREAD SSL:ENGINE 
Sockets:POLL,IPv6 Auth:LIBWRAP
2008.06.07 10:37:55 LOG6[27645:134664192]: file ulimit = 11095 (can be 
changed with 'ulimit -n')
2008.06.07 10:37:55 LOG6[27645:134664192]: poll() used - no FD_SETSIZE 
limit for file descriptors

2008.06.07 10:37:55 LOG5[27645:134664192]: 5417 clients allowed
2008.06.07 10:37:55 LOG7[27645:134664192]: FD 5 in non-blocking mode
2008.06.07 10:37:55 LOG7[27645:134664192]: FD 6 in non-blocking mode
2008.06.07 10:37:55 LOG7[27645:134664192]: FD 7 in non-blocking mode
2008.06.07 10:37:55 LOG7[27645:134664192]: SO_REUSEADDR option set on 
accept socket

2008.06.07 10:37:55 LOG7[27645:134664192]: pop3s bound to 0.0.0.0:995
2008.06.07 10:37:55 LOG3[27646:134664192]: Cannot create pid file 
/tmp/stunnel.pid
2008.06.07 10:37:55 LOG3[27646:134664192]: create: No such file or 
directory (2)


[...]


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


stunnel not running? (check /var/run/stunnel/stunnel.pid)

2008-06-06 Thread Noah
Okay I am not understanding something with stunnel. it appears that 
stunnel cant start because it cant create a pid file.  It happens every 
time I upgrade it.


# /usr/local/etc/rc.d/stunnel restart
stunnel not running? (check /var/run/stunnel/stunnel.pid).
Starting stunnel.
# /usr/local/etc/rc.d/stunnel restart
stunnel not running? (check /var/run/stunnel/stunnel.pid).
Starting stunnel.
#

Anybody help me understand things here.  so here is the relevent output 
which I can provide some clues.



# ls -ld /var/run/stunnel/
drwxrwxr-x  2 stunnel  stunnel  512 Jun  5 14:28 /var/run/stunnel/
# cat /usr/local/etc/stunnel/stunnel.conf
# Sample stunnel configuration file
# Copyright by Michal Trojnara 2002

# Comment it out on Win32
cert = /usr/local/etc/stunnel/mail.pem
chroot = /var/run/stunnel
#chroot = /var/run
# PID is created inside chroot jail
pid = /stunnel.pid
setuid = stunnel
setgid = stunnel
# grep stunnel /etc/rc.conf
stunnel_enable="YES"
# cat /usr/local/etc/rc.d/stunnel
#!/bin/sh
#
# $FreeBSD: ports/security/stunnel/files/stunnel.in,v 1.9 2008/01/26 
14:18:12 roam Exp $

#

# PROVIDE: stunnel
# REQUIRE: NETWORKING SERVERS
# BEFORE: DAEMON
# KEYWORD: shutdown

#
# Add some of the following variables to /etc/rc.conf to configure stunnel:
# stunnel_enable (bool):Set to "NO" by default.
#   Set it to "YES" to enable stunnel.
# stunnel_config (str): Default 
"/usr/local/etc/stunnel/stunnel.conf"

#   Set it to the full path to the config file
#   that stunnel will use during the automated
#   start-up.
# stunnel_pidfile (str):Default "/usr/local/var/stunnel/stunnel.pid"
#   Set it to the value of 'pid' in
#   the stunnel.conf file.
#

. /etc/rc.subr

name="stunnel"
rcvar=`set_rcvar`

load_rc_config $name

: ${stunnel_enable="NO"}
: ${stunnel_config="/usr/local/etc/stunnel/${name}.conf"}
: ${stunnel_pidfile="/var/run/stunnel/${name}.pid"}

command="/usr/local/bin/stunnel"
command_args=${stunnel_config}
pidfile=${stunnel_pidfile}

required_files="${stunnel_config}"

run_rc_command "$1"



--

any ideas?

Cheers,

Noah


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


webcalendar and php and classes

2008-01-07 Thread Noah
webcalendar 1.16 installed since 1.05 was not working for me and getting 
the following fatal error and warning:



# /a/www/webcalendar/tools/send_reminders.php

Warning: PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20060613/fileinfo.so' - Cannot open 
"/usr/local/lib/php/20060613/fileinfo.so" in Unknown on line 0


Warning: require_once(../includes/classes/WebCalendar.class): failed to 
open stream: No such file or directory in 
/a/www/webcalendar/tools/send_reminders.php on line 59


Fatal error: require_once(): Failed opening required 
'../includes/classes/WebCalendar.class' 
(include_path='.:/usr/local/share/pear:../includes:') in 
/a/www/webcalendar/tools/send_reminders.php on line 59



How do I fix these errors? Any help is appreciated please.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: removing ipfw rules

2007-12-27 Thread Noah

thanks for the response.

I was Looking for awk to do some of the parsing like this:

/sbin/ipfw list | grep '%IP%' | awk '{ print "ipfw -q delete " $1 }' | sh


cheers,

Noah



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


removing ipfw rules

2007-12-27 Thread Noah

Hi,

I have two ipfw rules that I want to remove.  They are viewable with the 
"ipfw show" command



--- snip ---

06600  0 0 allow ip from any to any proto tcp src-ip 
66.66.66.66 dst-port 22
06700  0 0 allow ip from any to any proto tcp src-ip 
66.66.66.66 dst-port 22


--- snip 


I am typing the command "/sbin/ipfw -q delete pass proto tcp src-ip 
66.66.66.66 dst-port 22"


but both lines remain.  What am I doing wrong?

Cheers,

Noah


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


port knocking

2007-12-27 Thread Noah Garrett Wallach

Hi there,

doorman is core dumping and not working properly.  could somebody please 
recommend a good port knocker?


Cheers,

Noah

--
Noah Garrett Wallach Juniper Networks
Consulting Engineer1194 North Mathilda Avenue
Professional Services Sunnyvale CA  94089 


[EMAIL PROTECTED]
tel: +1-408-936-7363 fax: +1-415-431-7726 


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


Re: portmanager and apache2.0

2007-11-15 Thread Noah

Hi there,

I could not find anything in the portmanager.log

how can I make sure it is ignored in the portmanager configuratino file 
to make sure it is not built at all?


is there any other way to figure out what has a dependency to install it?



Cheers,

Noah


Gerard wrote:

On November 15, 2007 at 06:54PM Noah wrote:



access1# grep apache pm-020.conf
IGNORE|www/apache13*|
IGNORE|www/apache13|
IGNORE|www/apache13-*|
IGNORE|www/apache13*-*|
IGNORE|www/apache-1.3*|
IGNORE|www/apache20|
IGNORE|www/apache20*|
IGNORE|www/apache21|
IGNORE|www/apache21*|
access1# pkg_info | grep portmana
portmanager-0.4.1_9 FreeBSD installed ports status and safe update utility
access1#

How can I figure out why it is getting built?


 Make sure you only have apache-2.2.x installed, check the portmanager.log
file and see if another program is trying to build apache as a dependency.



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


portmanager and apache2.0

2007-11-15 Thread Noah

Hi there,

I keep running portmanager and throughout the portmanager run apache2.0 
is getting built.  I am tryign to get that to stop because apache2.2 is 
installed, configured, and runing.  I have it explicitly ignored in the 
/usr/local/etc/portmanager/pm-020.conf



access1# grep apache pm-020.conf
IGNORE|www/apache13*|
IGNORE|www/apache13|
IGNORE|www/apache13-*|
IGNORE|www/apache13*-*|
IGNORE|www/apache-1.3*|
IGNORE|www/apache20|
IGNORE|www/apache20*|
IGNORE|www/apache21|
IGNORE|www/apache21*|
access1# pkg_info | grep portmana
portmanager-0.4.1_9 FreeBSD installed ports status and safe update utility
access1#

How can I figure out why it is getting built?



Cheers,

Noah


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


apache22 complains of Module mod_ldap missing

2007-11-05 Thread Noah

Hi there,

I wrote in response too soon and after uncommenting the LDAP modules I
am still running into the same issue.

I checkbox the LDAP and AUTHNZ_LDAP options and I specifically set the
options to ON in the Makefile.options file by hand and still the same
error below occurs.  what could be wrong?



apache-2.2.6_2
6.2-RELEASE-p6

I am not quite sure what is wrong if I am not building apache correctly
or if my /usr/local/etc/apache22/httpd.conf file does not have
everything configured properly.  I might be missing the installation of
a module or something in my httpd.conf

please help.  I am not sure what to try next.


Cheers,

Noah



Table of contents:

1) log error message
2) cat /etc/make.conf
3) LoadModules from /usr/local/etc/apache22/httpd.conf
4) cat /usr/ports/www/apache22/Makefile.options



here is the log message:
[Sun Nov 04 18:26:41 2007] [error] Module mod_ldap missing. Mod_ldap
(aka. util_ldap) must be loaded in order for mod_auth_ldap to function
properly Configuration Failed


here is my /etc/make.conf

--- snip ---

# !cat
cat /etc/make.conf
## switches for RT3
WITH_FASTCGI=yes
WITH_APACHE2=yes
# for subversion
WITH_APACHE2_APR=yes
APR_UTIL_WITH_BERKELEY_DB=yes
WITH_MOD_DAV_SVN=yes
WITH_REPOSITORY_CREATION=yes
# for Apache
WITH_LDAP_MODULES=yes
WITH_SSL_MODULES=yes
WITH_BERKELEYDB=db42
#FORCE_PKG_REGISTER=yes

# added by use.perl 2007-11-03 20:21:58
PERL_VER=5.8.8
PERL_VERSION=5.8.8

 snip ---


here are the modules I install:


access1# grep "LoadModule" /usr/local/etc/apache22/httpd.conf
# have to place corresponding `LoadModule' lines at this location so the
# LoadModule foo_module modules/mod_foo.so
LoadModule perl_module libexec/apache22/mod_perl.so
LoadModule authn_file_module libexec/apache22/mod_authn_file.so
LoadModule authn_dbm_module libexec/apache22/mod_authn_dbm.so
LoadModule authn_anon_module libexec/apache22/mod_authn_anon.so
LoadModule authn_default_module libexec/apache22/mod_authn_default.so
LoadModule authn_alias_module libexec/apache22/mod_authn_alias.so
LoadModule authz_host_module libexec/apache22/mod_authz_host.so
LoadModule authz_groupfile_module libexec/apache22/mod_authz_groupfile.so
LoadModule authz_user_module libexec/apache22/mod_authz_user.so
LoadModule authz_dbm_module libexec/apache22/mod_authz_dbm.so
LoadModule authnz_ldap_module libexec/apache22/mod_authnz_ldap.so
LoadModule authz_owner_module libexec/apache22/mod_authz_owner.so
LoadModule authz_default_module libexec/apache22/mod_authz_default.so
LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so
LoadModule auth_digest_module libexec/apache22/mod_auth_digest.so
LoadModule file_cache_module libexec/apache22/mod_file_cache.so
LoadModule cache_module libexec/apache22/mod_cache.so
LoadModule disk_cache_module libexec/apache22/mod_disk_cache.so
LoadModule include_module libexec/apache22/mod_include.so
LoadModule filter_module libexec/apache22/mod_filter.so
LoadModule charset_lite_module libexec/apache22/mod_charset_lite.so
LoadModule deflate_module libexec/apache22/mod_deflate.so
LoadModule log_config_module libexec/apache22/mod_log_config.so
LoadModule logio_module libexec/apache22/mod_logio.so
LoadModule env_module libexec/apache22/mod_env.so
LoadModule mime_magic_module libexec/apache22/mod_mime_magic.so
LoadModule cern_meta_module libexec/apache22/mod_cern_meta.so
LoadModule expires_module libexec/apache22/mod_expires.so
LoadModule headers_module libexec/apache22/mod_headers.so
LoadModule usertrack_module libexec/apache22/mod_usertrack.so
LoadModule unique_id_module libexec/apache22/mod_unique_id.so
LoadModule setenvif_module libexec/apache22/mod_setenvif.so
LoadModule version_module libexec/apache22/mod_version.so
LoadModule ssl_module libexec/apache22/mod_ssl.so
LoadModule mime_module libexec/apache22/mod_mime.so
#LoadModule dav_module libexec/apache22/mod_dav.so
LoadModule status_module libexec/apache22/mod_status.so
LoadModule autoindex_module libexec/apache22/mod_autoindex.so
LoadModule asis_module libexec/apache22/mod_asis.so
LoadModule info_module libexec/apache22/mod_info.so
LoadModule cgi_module libexec/apache22/mod_cgi.so
#LoadModule dav_fs_module libexec/apache22/mod_dav_fs.so
LoadModule vhost_alias_module libexec/apache22/mod_vhost_alias.so
LoadModule negotiation_module libexec/apache22/mod_negotiation.so
LoadModule dir_module libexec/apache22/mod_dir.so
LoadModule imagemap_module libexec/apache22/mod_imagemap.so
LoadModule actions_module libexec/apache22/mod_actions.so
LoadModule speling_module libexec/apache22/mod_speling.so
LoadModule userdir_module libexec/apache22/mod_userdir.so
LoadModule alias_module libexec/apache22/mod_alias.so
LoadModule rewrite_module libexec/apache22/mod_rewrite.so
LoadModule php5_modulelibexec/apache22/libphp5.so
LoadModule speedycgi_module   libexec/apache22/mod_speedycgi.so
#LoadModule dav_svn_module modules/mod_dav_svn.so
#LoadModule authz_svn_module   modules/mod_authz_svn.so
LoadModule authnz_external

Re: apache-2.2.6 not installing [solved]

2007-11-05 Thread Noah

response in line below


Jason Bourne wrote:

Noah wrote:


Hi List,

Not receive good support on the ports mail list so I will post here now.


Might somebody please explain to me why apache-2.2.6 is not install from
/usr/ports ?  I am attempting to complile with mod_ldap and a bunch of
modules - nothing that should be causing a fuss, though.  All shell
output is below including error message.

Help please,

Noah

[snip]

Installing configuration files
Installing HTML documents
*** Error code 1

Stop in /usr/ports/www/apache22/work/httpd-2.2.6.
*** Error code 1

Stop in /usr/ports/www/apache22/work/httpd-2.2.6.
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache22.

Sorry to reply by email but I'm not subscribed. I had this problem last 
night. This is a workaround and not a true fix, but it's quick.


After doing make and prior to make install navigate to and open with an 
editor:


/usr/ports/www/apache22/work/httpd-2.2.6/Makefile

Look for line 126:

install-htdocs:
#   @echo Installing HTML documents ; \
#   $(MKINSTALLDIRS) $(DESTDIR)$(htdocsdir) ; \
#		test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp index.html 
#$(DESTDIR)$(EXAMPLESDIR)) && \
#		( [ ! -f $(DESTDIR)$(htdocsdir)/index.html ] && cp -p 
#$(DESTDIR)$(EXAMPLESDIR)/index.html $(DESTDIR)$(htdocsdir)/index.html)


Comment out the lines like above and then make install will skip over this 
and complete.




thanks Jason - please respond to the list in the future so other can see 
the fixture.


I suppose commenting out brokenness is a solution.

Cheers,

Noah





-Jason

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


apache-2.2.6 not installing

2007-11-04 Thread Noah

Hi List,

Not receive good support on the ports mail list so I will post here now.


Might somebody please explain to me why apache-2.2.6 is not install from
/usr/ports ?  I am attempting to complile with mod_ldap and a bunch of
modules - nothing that should be causing a fuss, though.  All shell 
output is below including error message.


Help please,

Noah






Table of contents
1) uname -a
2) cat Makefile.options  from /usr/ports/www/apache22
3) cat /etc/make.conf
4) make install clean from /usr/ports/www/apache22 with errors at the 
end - but complete output


# uname -a
FreeBSD  6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #1: Sun Aug 12 14:27:32
PDT 2007 root@:/usr/obj/usr/src/sys/SMP  i386

# cat Makefile.options
OPTIONS+= \
 AUTH_BASIC "Enable mod_auth_basic" ON \
 AUTH_DIGEST "Enable mod_auth_digest" ON \
 AUTHN_FILE "Enable mod_authn_file" ON \
 AUTHN_DBD "Enable mod_authn_dbd" OFF \
 AUTHN_DBM "Enable mod_authn_dbm" ON \
 AUTHN_ANON "Enable mod_authn_anon" ON \
 AUTHN_DEFAULT "Enable mod_authn_default" ON \
 AUTHN_ALIAS "Enable mod_authn_alias" ON \
 AUTHZ_HOST "Enable mod_authz_host" ON \
 AUTHZ_GROUPFILE "Enable mod_authz_groupfile" ON \
 AUTHZ_USER "Enable mod_authz_user" ON \
 AUTHZ_DBM "Enable mod_authz_dbm" ON \
 AUTHZ_OWNER "Enable mod_authz_owner" ON \
 AUTHZ_DEFAULT "Enable mod_authz_default" ON \
 CACHE "Enable mod_cache" ON \
 DISK_CACHE "Enable mod_disk_cache" ON \
 FILE_CACHE "Enable mod_file_cache" ON \
 MEM_CACHE "Enable mod_mem_cache" OFF \
 DAV "Enable mod_dav" ON \
 DAV_FS "Enable mod_dav_fs" ON \
 BUCKETEER "Enable mod_bucketeer" OFF \
 CASE_FILTER "Enable mod_case_filter" OFF \
 CASE_FILTER_IN "Enable mod_case_filter_in" OFF \
 EXT_FILTER "Enable mod_ext_filter" OFF \
 LOG_FORENSIC "Enable mod_log_forensic" OFF \
 OPTIONAL_HOOK_EXPORT "Enable mod_optional_hook_export" OFF \
 OPTIONAL_HOOK_IMPORT "Enable mod_optional_hook_import" OFF \
 OPTIONAL_FN_IMPORT "Enable mod_optional_fn_import" OFF \
 OPTIONAL_FN_EXPORT "Enable mod_optional_fn_export" OFF \
 LDAP "Enable mod_ldap" OFF \
 AUTHNZ_LDAP "Enable mod_authnz_ldap" OFF \
 ACTIONS "Enable mod_actions" ON \
 ALIAS "Enable mod_alias" ON \
 ASIS "Enable mod_asis" ON \
 AUTOINDEX "Enable mod_autoindex" ON \
 CERN_META "Enable mod_cern_meta" ON \
 CGI "Enable mod_cgi" ON \
 CHARSET_LITE "Enable mod_charset_lite" ON \
 DBD "Enable mod_dbd" OFF \
 DEFLATE "Enable mod_deflate" ON \
 DIR "Enable mod_dir" ON \
 DUMPIO "Enable mod_dumpio" ON \
 ENV "Enable mod_env" ON \
 EXPIRES "Enable mod_expires" ON \
 HEADERS "Enable mod_headers" ON \
 IMAGEMAP "Enable mod_imagemap" ON \
 INCLUDE "Enable mod_include" ON \
 INFO "Enable mod_info" ON \
 LOG_CONFIG "Enable mod_log_config" ON \
 LOGIO "Enable mod_logio" ON \
 MIME "Enable mod_mime" ON \
 MIME_MAGIC "Enable mod_mime_magic" ON \
 NEGOTIATION "Enable mod_negotiation" ON \
 REWRITE "Enable mod_rewrite" ON \
 SETENVIF "Enable mod_setenvif" ON \
 SPELING "Enable mod_speling" ON \
 STATUS "Enable mod_status" ON \
 UNIQUE_ID "Enable mod_unique_id" ON \
 USERDIR "Enable mod_userdir" ON \
 USERTRACK "Enable mod_usertrack" ON \
 VHOST_ALIAS "Enable mod_vhost_alias" ON \
 FILTER "Enable mod_filter" ON \
 VERSION "Enable mod_version" ON \
 PROXY "Enable mod_proxy" OFF \
 PROXY_CONNECT "Enable mod_proxy_connect" OFF \
 PROXY_FTP "Enable mod_proxy_ftp" OFF \
 PROXY_HTTP "Enable mod_proxy_http" OFF \
 PROXY_AJP "Enable mod_proxy_ajp" OFF \
 PROXY_BALANCER "Enable mod_proxy_balancer" OFF \
 SSL "Enable mod_ssl" ON \
 SUEXEC "Enable mod_suexec" OFF \
 CGID "Enable mod_cgid" OFF \

# cat /etc/make.conf
# $FreeBSD: src/etc/defaults/make.conf,v 1.97.2.80 2003/02/15 16:34:56
trhodes Exp $
#
# NOTE:  Please would any committer updating th

apache22 complains of Module mod_ldap missing

2007-11-04 Thread Noah

Hi there,

apache-2.2.6_2
6.2-RELEASE-p6

I am not quite sure what is wrong if I am not building apache correctly 
or if my /usr/local/etc/apache22/httpd.conf file does not have 
everything configured properly.  I might be missing the installation of 
a module or something in my httpd.conf


please help.

here is the log message:
[Sun Nov 04 18:26:41 2007] [error] Module mod_ldap missing. Mod_ldap 
(aka. util_ldap) must be loaded in order for mod_auth_ldap to function 
properly Configuration Failed



here is my /etc/make.conf

--- snip ---

# !cat
cat /etc/make.conf
## switches for RT3
WITH_FASTCGI=yes
WITH_APACHE2=yes
# for subversion
WITH_APACHE2_APR=yes
APR_UTIL_WITH_BERKELEY_DB=yes
WITH_MOD_DAV_SVN=yes
WITH_REPOSITORY_CREATION=yes
# for Apache
WITH_LDAP_MODULES=yes
WITH_SSL_MODULES=yes
WITH_BERKELEYDB=db42
#FORCE_PKG_REGISTER=yes

# added by use.perl 2007-11-03 20:21:58
PERL_VER=5.8.8
PERL_VERSION=5.8.8

 snip ---


here are the modules I install:


access1# grep "LoadModule" /usr/local/etc/apache22/httpd.conf
# have to place corresponding `LoadModule' lines at this location so the
# LoadModule foo_module modules/mod_foo.so
LoadModule perl_module libexec/apache22/mod_perl.so
LoadModule authn_file_module libexec/apache22/mod_authn_file.so
LoadModule authn_dbm_module libexec/apache22/mod_authn_dbm.so
LoadModule authn_anon_module libexec/apache22/mod_authn_anon.so
LoadModule authn_default_module libexec/apache22/mod_authn_default.so
LoadModule authn_alias_module libexec/apache22/mod_authn_alias.so
LoadModule authz_host_module libexec/apache22/mod_authz_host.so
LoadModule authz_groupfile_module libexec/apache22/mod_authz_groupfile.so
LoadModule authz_user_module libexec/apache22/mod_authz_user.so
LoadModule authz_dbm_module libexec/apache22/mod_authz_dbm.so
LoadModule authnz_ldap_module libexec/apache22/mod_authnz_ldap.so
LoadModule authz_owner_module libexec/apache22/mod_authz_owner.so
LoadModule authz_default_module libexec/apache22/mod_authz_default.so
LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so
LoadModule auth_digest_module libexec/apache22/mod_auth_digest.so
LoadModule file_cache_module libexec/apache22/mod_file_cache.so
LoadModule cache_module libexec/apache22/mod_cache.so
LoadModule disk_cache_module libexec/apache22/mod_disk_cache.so
LoadModule include_module libexec/apache22/mod_include.so
LoadModule filter_module libexec/apache22/mod_filter.so
LoadModule charset_lite_module libexec/apache22/mod_charset_lite.so
LoadModule deflate_module libexec/apache22/mod_deflate.so
LoadModule log_config_module libexec/apache22/mod_log_config.so
LoadModule logio_module libexec/apache22/mod_logio.so
LoadModule env_module libexec/apache22/mod_env.so
LoadModule mime_magic_module libexec/apache22/mod_mime_magic.so
LoadModule cern_meta_module libexec/apache22/mod_cern_meta.so
LoadModule expires_module libexec/apache22/mod_expires.so
LoadModule headers_module libexec/apache22/mod_headers.so
LoadModule usertrack_module libexec/apache22/mod_usertrack.so
LoadModule unique_id_module libexec/apache22/mod_unique_id.so
LoadModule setenvif_module libexec/apache22/mod_setenvif.so
LoadModule version_module libexec/apache22/mod_version.so
LoadModule ssl_module libexec/apache22/mod_ssl.so
LoadModule mime_module libexec/apache22/mod_mime.so
#LoadModule dav_module libexec/apache22/mod_dav.so
LoadModule status_module libexec/apache22/mod_status.so
LoadModule autoindex_module libexec/apache22/mod_autoindex.so
LoadModule asis_module libexec/apache22/mod_asis.so
LoadModule info_module libexec/apache22/mod_info.so
LoadModule cgi_module libexec/apache22/mod_cgi.so
#LoadModule dav_fs_module libexec/apache22/mod_dav_fs.so
LoadModule vhost_alias_module libexec/apache22/mod_vhost_alias.so
LoadModule negotiation_module libexec/apache22/mod_negotiation.so
LoadModule dir_module libexec/apache22/mod_dir.so
LoadModule imagemap_module libexec/apache22/mod_imagemap.so
LoadModule actions_module libexec/apache22/mod_actions.so
LoadModule speling_module libexec/apache22/mod_speling.so
LoadModule userdir_module libexec/apache22/mod_userdir.so
LoadModule alias_module libexec/apache22/mod_alias.so
LoadModule rewrite_module libexec/apache22/mod_rewrite.so
LoadModule php5_modulelibexec/apache22/libphp5.so
LoadModule speedycgi_module   libexec/apache22/mod_speedycgi.so
#LoadModule dav_svn_module modules/mod_dav_svn.so
#LoadModule authz_svn_module   modules/mod_authz_svn.so
LoadModule authnz_external_module libexec/apache22/mod_authnz_external.so
#LoadModule fastcgi_module libexec/apache22/mod_fastcgi.so
LoadModule dav_module libexec/apache22/mod_dav.so
LoadModule dav_svn_module libexec/apache22/mod_dav_svn.so
LoadModule authz_svn_module   libexec/apache22/mod_authz_svn.so
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /libexec/ld-elf.so.1: Shared object "libm.so.6" not found, required by "libstdc++.so.5"

2007-11-04 Thread Noah



Kris Kennaway wrote:

Noah wrote:



Kris Kennaway wrote:

Noah wrote:

thanks Kris,

something must be wrong then. I am running into problems rebuilding 
apache now and see undefined references from 
/usr/local/lib/libstdc++.so.5 during the build:


It looks like you have added a Linux libstdc++ library which is why 
it is failing to resolve other Linux symbols and libraries.  No linux 
ports should be putting them in /usr/local/lib though, so maybe you 
or someone else did this manually.




thanks Kris,

I am checking with the other admin.  In the meantime it wouldnt hurt 
to move the library /usr/local/lib/libstdc++.so.5 out of there, right?


Probably not.  The question is whether other bogus libraries were also 
added there to cause more problems later.  The pkg_which manpage has an 
example command you can run to try and track down extra files that were 
not installed by any packages.





Hi Kris,

I am not completely clear on which manpage to go to?  Is 'pkg_' 
command/man page truncated in some way?


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: /libexec/ld-elf.so.1: Shared object "libm.so.6" not found, required by "libstdc++.so.5"

2007-11-04 Thread Noah



Byung-Hee HWANG wrote:

Hi,

On Sat, 2007-11-03 at 19:47 -0700, Noah wrote:

HI there,

I am not quite sure what library I need to cure this issue up.


$ nmap -sP -v 192.168.1.1-255
/libexec/ld-elf.so.1: Shared object "libm.so.6" not found, required by 
"libstdc++.so.5"



Any clues please?


I think you are using the GNU/Linux. If not, show us `uname -a`;; 
If you need some guidance about FreeBSD, see http://www.freebsd.org/ 



nope FreeBSD.

access1# uname -a
FreeBSD access1 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6 #1: Wed Aug  1 
22:59:54 PDT 2007 root@:/usr/obj/usr/src/sys/LOCAL  i386

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


Re: /libexec/ld-elf.so.1: Shared object "libm.so.6" not found, required by "libstdc++.so.5"

2007-11-04 Thread Noah



Kris Kennaway wrote:

Noah wrote:

thanks Kris,

something must be wrong then. I am running into problems rebuilding 
apache now and see undefined references from 
/usr/local/lib/libstdc++.so.5 during the build:


It looks like you have added a Linux libstdc++ library which is why it 
is failing to resolve other Linux symbols and libraries.  No linux ports 
should be putting them in /usr/local/lib though, so maybe you or someone 
else did this manually.




thanks Kris,

I am checking with the other admin.  In the meantime it wouldnt hurt to 
move the library /usr/local/lib/libstdc++.so.5 out of there, right?


also I just performed a 'pkgdb -Faf' and I am seeing the following grep 
problems:


Stale dependency: irssi-0.8.12 -> openssl-0.9.8g (security/openssl):
grep: : No such file or directory
grep: : No such file or directory
"/usr/ports/Mk/bsd.openssl.mk", line 131: warning: "grep 
"^lib/libssl.so." """ returned non-zero status



What else did I mess up :)

Cheers,

Noah



Kris

___
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]"


Re: /libexec/ld-elf.so.1: Shared object "libm.so.6" not found, required by "libstdc++.so.5"

2007-11-04 Thread Noah
/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libgcc_s.so.1: undefined reference to 
[EMAIL PROTECTED]'

/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to 
[EMAIL PROTECTED]'

/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to 
[EMAIL PROTECTED]'

/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to 
[EMAIL PROTECTED]'

/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to 
[EMAIL PROTECTED]'

/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/libstdc++.so.5: undefined reference to [EMAIL PROTECTED]'
gmake[2]: *** [rarian-example] Error 1
gmake[2]: Leaving directory 
`/usr/ports/textproc/rarian/work/rarian-0.6.0/util'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/textproc/rarian/work/rarian-0.6.0'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/textproc/rarian.
*** Error code 1

Stop in /usr/ports/textproc/gnome-doc-utils.
*** Error code 1

Stop in /usr/ports/accessibility/accerciser.
*** Error code 1

Stop in /usr/ports/accessibility.
*** Error code 1

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

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache22.
access1# pkg_info | grep linux
linux-expat-1.95.8  Linux/i386 binary port of Expat XML-parsing library
linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig
linux-sun-jdk-1.5.0.12,2 Sun Java Development Kit 1.5 for Linux
linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
linux_base-fc-4_10  Base set of packages needed in Linux mode (for 
i386/amd64)



Kris Kennaway wrote:

Noah wrote:



HI there,

I am not quite sure what library I need to cure this issue up.


$ nmap -sP -v 192.168.1.1-255
/libexec/ld-elf.so.1: Shared object "libm.so.6" not found, required by 
"libstdc++.so.5"


That doesn't make much sense because no version of FreeBSD yet has a 
libm.so.6.  How did you obtain this nmap binary?


Kris

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


/libexec/ld-elf.so.1: Shared object "libm.so.6" not found, required by "libstdc++.so.5"

2007-11-03 Thread Noah



HI there,

I am not quite sure what library I need to cure this issue up.


$ nmap -sP -v 192.168.1.1-255
/libexec/ld-elf.so.1: Shared object "libm.so.6" not found, required by 
"libstdc++.so.5"



Any clues please?

Cheers,

Noah

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


apache finds mod_perl.so garbled

2007-10-30 Thread Noah

Hi there,

this is a FreebSD machine and I've built apache, perl, and mod_perl all
from /usr/ports

what could be wrong - and How do I fix it?

Cheers,

Noah



access1# /usr/local/etc/rc.d/apache22 start
Performing sanity check on apache22 configuration:
httpd: Syntax error on line 54 of /usr/local/etc/apache22/httpd.conf:
API module structure 'perl_module' in file
/usr/local/libexec/apache2/mod_perl.so is garbled - expected signature
41503232 but saw 41503230 - perhaps this is not an Apache module DSO, or
was compiled for a different Apache version?
Starting apache22.
httpd: Syntax error on line 54 of /usr/local/etc/apache22/httpd.conf:
API module structure 'perl_module' in file
/usr/local/libexec/apache2/mod_perl.so is garbled - expected signature
41503232 but saw 41503230 - perhaps this is not an Apache module DSO, or
was compiled for a different Apache version?
access1# uname -a
FreeBSD access1 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6 #1: Wed Aug  1
22:59:54 PDT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LOCAL  i386
access1# pkg_info | grep apache
apache-2.2.6_2  Version 2.2 of Apache web server with prefork MPM.
apache-tomcat-6.0.13_1 Open-source Java web server by Apache, 6.x branch

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


architecture considered wrong

2007-10-30 Thread Noah

Hi there,


I am on a 32-bit machine but see that 64-bit is the considered 
architecture.  What do I have configured and/or built wrong?


Cheers,

Noah


access1# make deinstall clean install clean
===>  Deinstalling for www/apache22
===>   apache not installed, skipping
===>  Cleaning for libtool-1.5.24
===>  Cleaning for apache-2.2.6_2

 To enable a module category: WITH__MODULES
 To disable a module category: WITHOUT__MODULES

 Per default categories are:
  AUTH AUTHN AUTHZ DAV CACHE MISC
 Categories available:
  AUTH AUTHN AUTHZ CACHE DAV EXPERIMENTAL LDAP  MISC PROXY SSL SUEXEC 
THREADS


  To see all available knobs, type make show-options
  To see all modules in different categories, type make show-categories
  You can check your modules configuration by using make show-modules

===>  Vulnerability check disabled, database not found
===>  Found saved configuration for apache-2.2.6_2
===>  Extracting for apache-2.2.6_2
=> MD5 Checksum OK for apache22/httpd-2.2.6.tar.bz2.
=> SHA256 Checksum OK for apache22/httpd-2.2.6.tar.bz2.
===>   apache-2.2.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Patching for apache-2.2.6_2
===>   apache-2.2.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Applying FreeBSD patches for apache-2.2.6_2
===>   apache-2.2.6_2 depends on file: /usr/local/lib/libcrypto.so.5 - found
===>   apache-2.2.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>   apache-2.2.6_2 depends on file: /usr/local/bin/autoconf-2.61 - found
===>   apache-2.2.6_2 depends on file: /usr/local/bin/libtool - found
===>   apache-2.2.6_2 depends on shared library: expat.6 - found
===>   apache-2.2.6_2 depends on shared library: db-4.2 - found
===>   apache-2.2.6_2 depends on shared library: ldap-2.3.2 - found
===>   apache-2.2.6_2 depends on shared library: iconv.3 - found
===>  Configuring for apache-2.2.6_2
found apr source: srclib/apr
found apr-util source: srclib/apr-util
rebuilding srclib/apr/configure
buildconf: checking installation...
buildconf: autoconf version 2.61 (ok)
buildconf: libtool version 1.5.24 (ok)
Copying libtool helper files ...
buildconf: Using libtool15.m4 at /usr/local/share/aclocal/libtool.m4.
Creating include/arch/unix/apr_private.h.in ...
Errno architecture (i386-freebsd-64int-6.2-release) does not match 
executable architecture (i386-freebsd-6.2-release-p6) at 
/usr/local/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
Compilation failed in require at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.
BEGIN failed--compilation aborted at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.

Compilation failed in require at /usr/local/bin/autoheader-2.61 line 48.
BEGIN failed--compilation aborted at /usr/local/bin/autoheader-2.61 line 48.
Creating configure ...
Errno architecture (i386-freebsd-64int-6.2-release) does not match 
executable architecture (i386-freebsd-6.2-release-p6) at 
/usr/local/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
Compilation failed in require at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.
BEGIN failed--compilation aborted at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.

Compilation failed in require at /usr/local/bin/autom4te-2.61 line 44.
BEGIN failed--compilation aborted at /usr/local/bin/autom4te-2.61 line 44.
rebuilding rpm spec file
rebuilding srclib/apr-util/configure

Looking for apr source in 
/usr/ports/www/apache22/work/httpd-2.2.6/srclib/apr

Creating include/private/apu_config.h ...
Errno architecture (i386-freebsd-64int-6.2-release) does not match 
executable architecture (i386-freebsd-6.2-release-p6) at 
/usr/local/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
Compilation failed in require at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.
BEGIN failed--compilation aborted at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.

Compilation failed in require at /usr/local/bin/autoheader-2.61 line 48.
BEGIN failed--compilation aborted at /usr/local/bin/autoheader-2.61 line 48.
./buildconf failed for apr-util
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache22.

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


wrong architecture used for apache build

2007-10-30 Thread Noah

Hi,

I am trying to figure out why the wrong architecture when I am building 
apache.  Any clues where I can correct this information?


Cheers,


Noah



access1# uname -a
FreeBSD access1.pslab.juniper.net 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6 
#1: Wed Aug  1 22:59:54 PDT 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LOCAL  i386



===>  Cleaning for apache-2.2.6_2

 To enable a module category: WITH__MODULES
 To disable a module category: WITHOUT__MODULES

 Per default categories are:
  AUTH AUTHN AUTHZ DAV CACHE MISC
 Categories available:
  AUTH AUTHN AUTHZ CACHE DAV EXPERIMENTAL LDAP  MISC PROXY SSL SUEXEC 
THREADS


  To see all available knobs, type make show-options
  To see all modules in different categories, type make show-categories
  You can check your modules configuration by using make show-modules

===>  Vulnerability check disabled, database not found
===>  Found saved configuration for apache-2.2.6_2
===>  Extracting for apache-2.2.6_2
=> MD5 Checksum OK for apache22/httpd-2.2.6.tar.bz2.
=> SHA256 Checksum OK for apache22/httpd-2.2.6.tar.bz2.
===>   apache-2.2.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Patching for apache-2.2.6_2
===>   apache-2.2.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Applying FreeBSD patches for apache-2.2.6_2
===>   apache-2.2.6_2 depends on file: /usr/local/lib/libcrypto.so.5 - found
===>   apache-2.2.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>   apache-2.2.6_2 depends on file: /usr/local/bin/autoconf-2.61 - found
===>   apache-2.2.6_2 depends on file: /usr/local/bin/libtool - found
===>   apache-2.2.6_2 depends on shared library: expat.6 - found
===>   apache-2.2.6_2 depends on shared library: db-4.2 - found
===>   apache-2.2.6_2 depends on shared library: ldap-2.3.2 - found
===>   apache-2.2.6_2 depends on shared library: iconv.3 - found
===>  Configuring for apache-2.2.6_2
found apr source: srclib/apr


found apr-util source: srclib/apr-util
rebuilding srclib/apr/configure
buildconf: checking installation...
buildconf: autoconf version 2.61 (ok)
buildconf: libtool version 1.5.24 (ok)
Copying libtool helper files ...
buildconf: Using libtool15.m4 at /usr/local/share/aclocal/libtool.m4.
Creating include/arch/unix/apr_private.h.in ...
Errno architecture (i386-freebsd-64int-6.2-release) does not match 
executable architecture (i386-freebsd-64int-6.2-release-p6) at 
/usr/local/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
Compilation failed in require at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.
BEGIN failed--compilation aborted at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.

Compilation failed in require at /usr/local/bin/autoheader-2.61 line 48.
BEGIN failed--compilation aborted at /usr/local/bin/autoheader-2.61 line 48.
Creating configure ...
Errno architecture (i386-freebsd-64int-6.2-release) does not match 
executable architecture (i386-freebsd-64int-6.2-release-p6) at 
/usr/local/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
Compilation failed in require at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.
BEGIN failed--compilation aborted at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.

Compilation failed in require at /usr/local/bin/autom4te-2.61 line 44.
BEGIN failed--compilation aborted at /usr/local/bin/autom4te-2.61 line 44.
rebuilding rpm spec file
rebuilding srclib/apr-util/configure

Looking for apr source in 
/usr/ports/www/apache22/work/httpd-2.2.6/srclib/apr

Creating include/private/apu_config.h ...
Errno architecture (i386-freebsd-64int-6.2-release) does not match 
executable architecture (i386-freebsd-64int-6.2-release-p6) at 
/usr/local/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
Compilation failed in require at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.
BEGIN failed--compilation aborted at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.

Compilation failed in require at /usr/local/bin/autoheader-2.61 line 48.
BEGIN failed--compilation aborted at /usr/local/bin/autoheader-2.61 line 48.
./buildconf failed for apr-util
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

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


trouble building perlmagick

2007-10-26 Thread Noah

Hi there,

not quite sure how to circumvent this issue?  please help?

cd PerlMagick && /usr/local/bin/perl5.8.8 Makefile.PL
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 15.
BEGIN failed--compilation aborted at Makefile.PL line 15.
*** Error code 2
1 error
*** Error code 2

Stop in /usr/ports/graphics/ImageMagick.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick.


cheers,

Noah

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
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]"


TreeList failed: Error in "/var/db/sup/ports-all/checkouts.cvs:

2007-10-25 Thread Noah


Hi there,

I keep receiving the same TreeList failure.  Any clues what I can do to
fix it so I can cvsup the entire ports tree


Cheers,

Noah


access1# /usr/local/bin/cvsup -g -L 2
/usr/share/examples/cvsup/ports-supfile.access1
Parsing supfile "/usr/share/examples/cvsup/ports-supfile.access1"
Connecting to cvsup10.FreeBSD.org
Connected to cvsup10.FreeBSD.org
Server software version: SNAP_16_1h
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection ports-all/cvs
 Edit ports/audio/gimmix/Makefile
  Add delta 1.3 2007.10.25.20.12.16 pav
 Edit ports/audio/gimmix/distinfo
  Add delta 1.2 2007.10.25.20.12.16 pav
 Edit ports/databases/xapian-core/Makefile
  Add delta 1.12 2007.10.25.19.59.22 thierry
 Edit ports/databases/xapian-core/distinfo
  Add delta 1.10 2007.10.25.19.59.22 thierry
 Edit ports/databases/xapian-core/pkg-plist
  Add delta 1.10 2007.10.25.19.59.22 thierry
 Edit ports/deskutils/pinot/Makefile
  Add delta 1.20 2007.10.25.19.59.29 thierry
 Edit ports/deskutils/recoll/Makefile
  Add delta 1.23 2007.10.25.19.59.27 thierry
TreeList failed: Error in "/var/db/sup/ports-all/checkouts.cvs:.":
44453: File is truncated.  Delete it and try again.
access1# rm /var/db/sup/ports-all/checkouts.cvs
rm: /var/db/sup/ports-all/checkouts.cvs: No such file or directory


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


Re: easiest way to install CPAN on FreeBSD

2007-10-25 Thread Noah



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



I don't install CPAN on FreeBSD.  I use the ports and packages from
http://www.freebsd.org/ports
Do a search for the module that you require P5- means it is a perl 
module also you can use the ports collection for PHP modules as well.  
This will automatically install any other dependent modules.


Hope this helps


Thanks Sean,

it does help indeed.  But I have installed some perl modules via CPAN.
What is the best way to list them and uninstall them so I can install
them via the the ports method?

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: easiest way to install CPAN on FreeBSD

2007-10-25 Thread Noah



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



I don't install CPAN on FreeBSD.  I use the ports and packages from
http://www.freebsd.org/ports
Do a search for the module that you require P5- means it is a perl 
module also you can use the ports collection for PHP modules as well.  
This will automatically install any other dependent modules.


Hope this helps


Thanks Sean,

it does help indeed.  But I have installed some perl modules via CPAN. 
What is the best way to list them and uninstall them so I can install 
them via the the ports method?


Cheers,

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


TreeList failed: Error in "/var/db/sup/ports-all/checkouts.cvs:

2007-10-25 Thread Noah


Hi there,

I keep receiving the same TreeList failure.  Any clues what I can do to
fix it so I can cvsup the entire ports tree


Cheers,

Noah


access1# /usr/local/bin/cvsup -g -L 2
/usr/share/examples/cvsup/ports-supfile.access1
Parsing supfile "/usr/share/examples/cvsup/ports-supfile.access1"
Connecting to cvsup10.FreeBSD.org
Connected to cvsup10.FreeBSD.org
Server software version: SNAP_16_1h
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection ports-all/cvs
 Edit ports/audio/gimmix/Makefile
  Add delta 1.3 2007.10.25.20.12.16 pav
 Edit ports/audio/gimmix/distinfo
  Add delta 1.2 2007.10.25.20.12.16 pav
 Edit ports/databases/xapian-core/Makefile
  Add delta 1.12 2007.10.25.19.59.22 thierry
 Edit ports/databases/xapian-core/distinfo
  Add delta 1.10 2007.10.25.19.59.22 thierry
 Edit ports/databases/xapian-core/pkg-plist
  Add delta 1.10 2007.10.25.19.59.22 thierry
 Edit ports/deskutils/pinot/Makefile
  Add delta 1.20 2007.10.25.19.59.29 thierry
 Edit ports/deskutils/recoll/Makefile
  Add delta 1.23 2007.10.25.19.59.27 thierry
TreeList failed: Error in "/var/db/sup/ports-all/checkouts.cvs:.":
44453: File is truncated.  Delete it and try again.
access1# rm /var/db/sup/ports-all/checkouts.cvs
rm: /var/db/sup/ports-all/checkouts.cvs: No such file or directory

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


Re: easiest way to install CPAN on FreeBSD

2007-10-24 Thread Noah



Martin Hepworth wrote:

what have you tried and what errors do you get?



Martin


thanks for responding.  here are the errors I am receiving when I am 
attempting to update things.



sudo perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)' 
[~]

Password:
Sorry, try again.
Password:
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 
4) 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 /usr/local/lib/perl5/5.8.8/CPAN.pm line 16.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.8/CPAN.pm 
line 16.

Compilation failed in require.
BEGIN failed--compilation aborted.





--
martin

On 10/24/07, *Noah* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote:

Hi there,

I am looking around for a really simple way to install CPAN on FreeBSD.
  I keep running into errors in one variation or another.

Anybody have a good page to send me to?

Cheers,

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



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


easiest way to install CPAN on FreeBSD

2007-10-23 Thread Noah

Hi there,

I am looking around for a really simple way to install CPAN on FreeBSD. 
 I keep running into errors in one variation or another.


Anybody have a good page to send me to?

Cheers,

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


sendmail built but does not work

2007-08-14 Thread Noah
sendmail appears to be horked up on my machine and no longer answers 
port 25.  I am not quite sure what the next steps of troubleshooting 
are.  Please help.




hostname# telnet 127.0.0.1 25
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
hostname# grep sendmail /etc/rc.conf
sendmail_enable="YES"
#sendmail_procname="/usr/local/sbin/sendmail"
sendmail_flags="-L sm-msp-queue -Ac -q10m"
hostname# pkg_info sendmail
pkg_info: can't find package 'sendmail' installed or in a file!
hostname# pkg_info | grep wsendmail
hostname# pkg_info | grep sendmail
sendmail+tls+sasl2-8.14.1 Reliable, highly configurable mail transfer 
agent with util

hostname# uname -a
FreeBSD hostname.blah.com 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #1: Sun 
Aug 12 14:27:32 PDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP 
 i386

hostname#


when starting the daemon here is what appears in the /var/log/maillog

Aug 14 07:57:44 hostname sm-msp-queue[23695]: starting daemon (8.14.1): 
[EMAIL PROTECTED]:10:00
Aug 14 07:57:44 hostname sm-msp-queue[23695]: unable to write pid to 
/var/spool/clientmqueue/sm-client.pid: file in use by another process


hostname# make restart
/bin/kill -HUP `head -1 /var/run/sendmail.pid`
head: /var/run/sendmail.pid: No such file or directory
usage: kill [-s signal_name] pid ...
   kill -l [exit_status]
   kill -signal_name pid ...
   kill -signal_number pid ...
*** Error code 1

Stop in /etc/mail.
hostname# make start
(. /etc/defaults/rc.conf; source_rc_confs;  case "${sendmail_enable}" in 
 [Yy][Ee][Ss])  /usr/sbin/sendmail ${sendmail_flags}  ;;  *)  case 
"${sendmail_outbound_enable}" in  [Yy][Ee][Ss])  /usr/sbin/sendmail 
${sendmail_outbound_flags}  ;;  esac  ;;  esac  )

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


Re: subversion doesnt build: /usr/bin/ld: cannot find -lgssapi_krb5

2007-08-12 Thread Noah



Herbert J. Skuhra wrote:

Noah <[EMAIL PROTECTED]> wrote:

Hi,

subversion doesnt build: /usr/bin/ld: cannot find -lgssapi_krb5
any clues why the gssapi_krb5 is not found.  where shall I find the 
gssapi_krb5 library?  Shall I use the library from the linux 
compatibility dirs?


security/krb5

I don't have libgssapi_krb5.so, but devel/subversion built fine.




thanks Herbert,

what switches are you using at build time.  I added the following to me 
/etc/make.conf



WITH_MOD_DAV_SVN=yes
WITH_REPOSITORY_CREATION=yes


cheers,

Noah




- Herbert
___
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]"


subversion doesnt build: /usr/bin/ld: cannot find -lgssapi_krb5

2007-08-11 Thread Noah

Hi,

subversion doesnt build: /usr/bin/ld: cannot find -lgssapi_krb5
any clues why the gssapi_krb5 is not found.  where shall I find the 
gssapi_krb5 library?  Shall I use the library from the linux 
compatibility dirs?


6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6

cd subversion/libsvn_ra_dav && /usr/local/bin/libtool --tag=CC --silent 
--mode=link cc  -O2 -fno-strict-aliasing -pipe  -L/usr/local/lib 
-L/usr/local/lib/db42  -rpath /usr/local/lib -o libsvn_ra_dav-1.la 
commit.lo fetch.lo file_revs.lo log.lo merge.lo options.lo props.lo 
replay.lo session.lo util.lo 
../../subversion/libsvn_delta/libsvn_delta-1.la 
../../subversion/libsvn_subr/libsvn_subr-1.la 
/usr/local/lib/libaprutil-1.la -lldap -llber -ldb-4.2 -lexpat -liconv 
/usr/local/lib/libapr-1.la -lcrypt  -lpthread -L/usr/local/lib 
-rpath=/usr/local/lib -L/usr/local/lib -lneon -lintl -lz 
-L/usr/local/lib -lssl -lcrypto -L/usr/local/lib -Wl,-rpath 
-Wl,/usr/local/lib -O2 -fno-strict-aliasing -pipe -lgssapi_krb5 -lkrb5 
-lk5crypto -lcom_err -lexpat -lintl  -lz

/usr/bin/ld: cannot find -lgssapi_krb5
*** Error code 1

Stop in /usr/ports/devel/subversion/work/subversion-1.4.4.
*** Error code 1

Stop in /usr/ports/devel/subversion.
access1#
access1# find / -name \*gssapi_krb5\*
/usr/compat/linux/usr/lib/libgssapi_krb5.so.2
/usr/compat/linux/usr/lib/libgssapi_krb5.so.2.2

Help please.

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: Issues while authenticating a user over openLDAP using PAM_ldap [cured]

2007-08-09 Thread Noah

see below

Andy Harrison wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 8/9/07, Noah  wrote:

running FreeBSD 6.2 Stable

we have openLDAP installed on a server called access1.  Users on access1
appear to not be able to ssh to access1.  The ssh authentication method
uses PAM ldap.  PAM_ldap reports "Invalid credentials" in /var/log/messages

We have another server called access2 that authenticates to the the ldap
server running on access1.  those users log in via ssh without issue on
access2.

I am trying to track down what is broken.  I am not even sure how to
receive verbose logging from PAM and/or PAM_ldap.  Any assistance is
much appreciated.




What about your nsswitch.conf file?




thanks Andy - that was it!

I matched the lines of access1's nsswitch.conf to access2's 
nsswitch.conf file


and things are fine!





- --
Andy Harrison
public key: 0x67518262
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQFGu3FBNTm8fWdRgmIRAoAQAJ4ocG7HEisT2k82NeoRzf1r0XKVawCg+Hrf
l+t2S41Im4TNPEoE8HF3jDc=
=aI1r
-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://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Issues while authenticating a user over openLDAP using PAM_ldap

2007-08-09 Thread Noah

running FreeBSD 6.2 Stable

we have openLDAP installed on a server called access1.  Users on access1
appear to not be able to ssh to access1.  The ssh authentication method
uses PAM ldap.  PAM_ldap reports "Invalid credentials" in /var/log/messages

We have another server called access2 that authenticates to the the ldap
server running on access1.  those users log in via ssh without issue on
access2.

I am trying to track down what is broken.  I am not even sure how to
receive verbose logging from PAM and/or PAM_ldap.  Any assistance is
much appreciated.




Aug  9 10:17:42 access1 sshd[91878]: pam_ldap: error trying to bind as
user "cn=Test User,cn=people,dc=blah,dc=blah,dc=com" (Invalid credentials)

related rc.conf lines on access1:
slapd_enable="YES"
slapd_flags='-h "ldapi:///var/run/openldap/ldapi/ ldap://0.0.0.0/"; -f
/usr/local/etc/openldap/slapd.conf'
slapd_sockets="/var/run/openldap/ldapi"
sshd_enable="YES"
sshd_program="/usr/local/sbin/sshd"


access1# cat /etc/pam.d/ldap
# debug
# $FreeBSD: src/etc/pam.d/sshd,v 1.15 2003/04/30 21:57:54 markm Exp $ debug
# debug
# PAM configuration for the "sshd" service debug
# debug

# auth debug

authsufficient  /usr/local/lib/pam_ldap.so  no_warn
try_first_pass debug
authrequiredpam_nologin.so  no_warn debug
authsufficient  pam_opie.so no_warn
no_fake_prompts debug
authrequisite   pam_opieaccess.so   no_warn
allow_local debug
#auth   sufficient  pam_krb5.so no_warn
try_first_pass debug
#auth   sufficient  pam_ssh.so  no_warn
try_first_pass debug
authrequiredpam_unix.so no_warn
try_first_pass debug

# account debug
#accountrequiredpam_krb5.so debug
account requiredpam_login_access.so debug
account requiredpam_unix.so debug

# session debug
#sessionoptionalpam_ssh.so debug
session required/usr/local/lib/pam_mkhomedir.so
#session required/usr/local/lib/pam_mkhomedir.so
skel=/etc/skel/ umask=0077 debug
session requiredpam_permit.so debug

# password debug
#password   sufficient  pam_krb5.so no_warn
try_first_pass debug
passwordrequiredpam_unix.so no_warn
try_first_pass debug


access1
[EMAIL PROTECTED] ~]$ pkg_info | grep pam
checkpassword-pam-0.99 Implementation of checkpassword authentication
program
nagios-spamd-plugin-1.4 Nagios plugin for checking SpamAssassins spamd
p5-Mail-SpamAssassin-3.2.1_1 A highly efficient mail filter for
identifying spam
pam_ldap-1.8.2  A pam module for authenticating with LDAP
pam_mkhomedir-0.1   Create HOME with a PAM module on demand
pamtester-0.1.2 A command line pam authentication tester
razor-agents-2.84   A distributed, collaborative, spam detection and
filtering
[EMAIL PROTECTED] ~]$ pkg_info | grep ldap
ldapsh-2.00_2,1 Interactive shell used to administer ldap directories
nss_ldap-1.255  RFC 2307 NSS module
openldap-client-2.3.37 Open source LDAP client implementation
openldap-server-2.3.37 Open source LDAP server implementation
p5-perl-ldap-0.34   A Client interface to LDAP servers
pam_ldap-1.8.2  A pam module for authenticating with LDAP
php5-ldap-5.2.3_1   The ldap shared extension for php
[EMAIL PROTECTED] ~]$ pkg_info | grep nss
nss-3.11.7  Libraries to support development of security-enabled
applic
nss_ldap-1.255  RFC 2307 NSS module
openssh-portable-4.6.p1,1 The portable version of OpenBSD's OpenSSH
openssl-0.9.8e_1SSL and crypto library
php5-openssl-5.2.3_1 The openssl shared extension for php
py25-openssl-0.6Python interface to the OpenSSL library
[EMAIL PROTECTED] ~]$


access2 files
[EMAIL PROTECTED] ~]$ pkg_info | grep pam
pam_ldap-1.8.2  A pam module for authenticating with LDAP
pam_mkhomedir-0.1   Create HOME with a PAM module on demand
pamtester-0.1.2 A command line pam authentication tester
[EMAIL PROTECTED] ~]$ pkg_info | grep ldap
nss_ldap-1.255  RFC 2307 NSS module
openldap-client-2.3.37 Open source LDAP client implementation
openldap-server-2.3.37 Open source LDAP server implementation
pam_ldap-1.8.2  A pam module for authenticating with LDAP
[EMAIL PROTECTED] ~]$ pkg_info | grep nss
nss_ldap-1.255  RFC 2307 NSS module
openssh-portable-4.6.p1,1 The portable version of OpenBSD's OpenSSH
[EMAIL PROTECTED] ~]$



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


pam_ldap receives Invalid credentials

2007-08-01 Thread Noah

Hi,

I am not sure why this happens but out terminal servers, routers, and 
ancillary devices are able to authenticate with our LDAP server.  For 
some reason pam_ldap claims "Invalid credentials" with the same exact 
user and password.


What could be wrong?  I cant seem to figure out what is wrong with the 
current log messages.  Is there a way to receive verbose messages from 
pam and/or pam_ldap to figure out if it is sending the proper 
authentication information to the LDAP server.


We are on a FreeBSD-6.2 stable machine.

Clues please,

Noah




Aug  1 11:24:11 access1 sshd[6277]: pam_ldap: error trying to bind as 
user "cn=Test User,cn=people,dc=bogus,dc=domain,dc=net" (Invalid 
credentials)
Aug  1 11:24:11 access1 sshd[6277]: Failed password for invalid user 
tuser from 172.24.241.234 port 49317 ssh2
Aug  1 11:24:14 access1 sshd[6277]: pam_ldap: error trying to bind as 
user "cn=Test User,cn=people,dc=bogus,dc=domain,dc=net" (Invalid 
credentials)
Aug  1 11:24:14 access1 sshd[6277]: Failed password for invalid user 
tuser from 172.24.241.234 port 49317 ssh2

Aug  1 11:24:14 access1 sshd[6277]: Connection closed by 172.24.241.234


access1# pkg_info | grep pam
checkpassword-pam-0.99 Implementation of checkpassword authentication 
program

nagios-spamd-plugin-1.4 Nagios plugin for checking SpamAssassins spamd
p5-Mail-SpamAssassin-3.1.8_1 A highly efficient mail filter for 
identifying spam

pam_ldap-1.8.2  A pam module for authenticating with LDAP
pam_mkhomedir-0.1   Create HOME with a PAM module on demand
pamtester-0.1.2 A command line pam authentication tester
razor-agents-2.84   A distributed, collaborative, spam detection and 
filtering

access1# pkg_info | grep ldap
ldapsh-2.00_2,1 Interactive shell used to administer ldap directories
nss_ldap-1.255  RFC 2307 NSS module
openldap-client-2.3.37 Open source LDAP client implementation
openldap-server-2.3.37 Open source LDAP server implementation
p5-perl-ldap-0.34   A Client interface to LDAP servers
pam_ldap-1.8.2  A pam module for authenticating with LDAP
php5-ldap-5.2.3_1   The ldap shared extension for php
access1#
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


openssh no X forwarding

2007-07-31 Thread Noah

Hi there,


$ ssh -X [EMAIL PROTECTED]
Last login: Tue Jul 31 14:47:59 2007
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California.  All rights reserved.

FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007
[access1 ~]$ xterm
xterm Xt error: Can't open display:
xterm:  DISPLAY is not set
[access1 ~]$ echo $DISPLAY

[access1 ~]$

X11Forwarding yes is in place on /etc/ssh/sshd_config and 
/usr/local/etc/ssh/sshd_config



access1# pkg_info | grep openssh
openssh-portable-4.6.p1,1 The portable version of OpenBSD's OpenSSH
^[[Aaccess1# pkg_info | grep xorg
linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
xorg-7.2X.Org complete distribution metaport
xorg-cf-files-1.0.2_2 X.org cf files for use with imake builds
xorg-docs-1.3,1 X.org documentation files
xorg-fonts-100dpi-7.2 X.Org 100dpi bitmap fonts
xorg-fonts-75dpi-7.2 X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-7.2 X.Org Cyrillic bitmap fonts
xorg-fonts-miscbitmaps-7.2 X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-7.2 X.Org TrueType fonts
xorg-fonts-type1-7.2 X.Org Type1 fonts
xorg-libraries-7.2_2 X.org libraries meta-port
xorg-protos-7.2 X.org protos meta-port
xorg-server-1.2.0_2,1 X.Org X server and related programs
access1#
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


xf86 madness - stop installing drivers

2007-07-31 Thread Noah

Hi,

I am wondering if there is an easy way to stop installing all of the 
xf86 input an video drivers listed below.



4 xf86-input-acecad-1.1.0 /x11-drivers/xf86-input-acecad
3 xf86-input-calcomp-1.1.0 /x11-drivers/xf86-input-calcomp
2 xf86-input-citron-2.2.0 /x11-drivers/xf86-input-citron
1 xf86-input-digitaledge-1.1.0 /x11-drivers/xf86-input-digitaledge
0 xf86-input-dmc-1.1.0 /x11-drivers/xf86-input-dmc
-0001 xf86-input-dynapro-1.1.0 /x11-drivers/xf86-input-dynapro
-0002 xf86-input-elo2300-1.1.0 /x11-drivers/xf86-input-elo2300
-0003 xf86-input-elographics-1.1.0 /x11-drivers/xf86-input-elographics
-0004 xf86-input-fpit-1.1.0 /x11-drivers/xf86-input-fpit
-0005 xf86-input-hyperpen-1.1.0 /x11-drivers/xf86-input-hyperpen
-0006 xf86-input-jamstudio-1.1.0 /x11-drivers/xf86-input-jamstudio
-0007 xf86-input-joystick-1.1.0 /x11-drivers/xf86-input-joystick
-0008 xf86-input-keyboard-1.1.1 /x11-drivers/xf86-input-keyboard
-0009 xf86-input-magellan-1.1.0 /x11-drivers/xf86-input-magellan
-0010 xf86-input-magictouch-1.0.0.5_1 /x11-drivers/xf86-input-magictouch
-0011 xf86-input-microtouch-1.1.0 /x11-drivers/xf86-input-microtouch
-0012 xf86-input-mouse-1.1.2 /x11-drivers/xf86-input-mouse
-0013 xf86-input-mutouch-1.1.0 /x11-drivers/xf86-input-mutouch
-0014 xf86-input-palmax-1.1.0 /x11-drivers/xf86-input-palmax
-0015 xf86-input-penmount-1.2.0 /x11-drivers/xf86-input-penmount
-0016 xf86-input-spaceorb-1.1.0 /x11-drivers/xf86-input-spaceorb
-0017 xf86-input-summa-1.1.0 /x11-drivers/xf86-input-summa
-0018 xf86-input-tek4957-1.1.0 /x11-drivers/xf86-input-tek4957
-0019 xf86-input-void-1.1.0 /x11-drivers/xf86-input-void
-0020 xf86-video-apm-1.1.1 /x11-drivers/xf86-video-apm
-0021 xf86-video-ark-0.6.0 /x11-drivers/xf86-video-ark
-0022 xf86-video-ati-6.6.3_2 /x11-drivers/xf86-video-ati
-0023 xf86-video-chips-1.1.1 /x11-drivers/xf86-video-chips
-0024 xf86-video-cirrus-1.1.0 /x11-drivers/xf86-video-cirrus
-0025 xf86-video-cyrix-1.1.0 /x11-drivers/xf86-video-cyrix
-0026 xf86-video-dummy-0.2.0 /x11-drivers/xf86-video-dummy
-0027 xf86-video-fbdev-0.3.1 /x11-drivers/xf86-video-fbdev
-0028 xf86-video-glint-1.1.1_2 /x11-drivers/xf86-video-glint
-0029 xf86-video-i128-1.2.1 /x11-drivers/xf86-video-i128
-0030 xf86-video-i740-1.1.0 /x11-drivers/xf86-video-i740
-0031 xf86-video-i810-1.6.5_2 /x11-drivers/xf86-video-i810
-0032 xf86-video-imstt-1.1.0 /x11-drivers/xf86-video-imstt
-0033 xf86-video-mga-1.4.6.1_1 /x11-drivers/xf86-video-mga
-0034 xf86-video-neomagic-1.1.1 /x11-drivers/xf86-video-neomagic
-0035 xf86-video-newport-0.2.1 /x11-drivers/xf86-video-newport
-0036 xf86-video-nsc-2.8.2 /x11-drivers/xf86-video-nsc
-0037 xf86-video-nv-2.1.2 /x11-drivers/xf86-video-nv
-0038 xf86-video-rendition-4.1.3 /x11-drivers/xf86-video-rendition
-0039 xf86-video-s3-0.5.0 /x11-drivers/xf86-video-s3
-0040 xf86-video-s3virge-1.9.1 /x11-drivers/xf86-video-s3virge
-0041 xf86-video-savage-2.1.2_2 /x11-drivers/xf86-video-savage
-0042 xf86-video-siliconmotion-1.4.2 /x11-drivers/xf86-video-siliconmotion
-0043 xf86-video-sis-0.9.3_1 /x11-drivers/xf86-video-sis
-0044 xf86-video-tdfx-1.3.0_1 /x11-drivers/xf86-video-tdfx
-0045 xf86-video-tga-1.1.0 /x11-drivers/xf86-video-tga
-0046 xf86-video-trident-1.2.3 /x11-drivers/xf86-video-trident
-0047 xf86-video-tseng-1.1.1 /x11-drivers/xf86-video-tseng
-0048 xf86-video-vesa-1.3.0 /x11-drivers/xf86-video-vesa
-0049 xf86-video-vga-4.1.0 /x11-drivers/xf86-video-vga
-0050 xf86-video-via-0.2.2_1 /x11-drivers/xf86-video-via
-0051 xf86-video-vmware-10.14.1 /x11-drivers/xf86-video-vmware
-0052 xf86-video-voodoo-1.1.1 /x11-drivers/xf86-video-voodoo
-0053 xf86rushproto-1.1.2 /x11/xf86rushproto

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


Re: cant uninstall nessus-gtk2-2.2.9_1 [solved]

2007-07-31 Thread Noah





Looks like your pkg db for that package is hosed; for certain it is 
missing the +COMMENTS file, and I would also wager that +CONTENTS is 
missing or corrupted. I would recommend deleting the 
/var/db/pkg/nessus-gtk2-2.2.9_1 directory, then reinstall the package/port.

___


thanks Reid,

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


difficulties remove stale dependency

2007-07-31 Thread Noah


Hi,

any clues on how to cure this situation.  It appears I am having 
difficulties removing stale dependencies.


access1# portupgrade -a
Stale dependency: Xaw3d-1.5E_2 <-- emacs-21.3_9 -- manually run 'pkgdb 
-F' to fix, or specify -O to force.

access1# portupgrade -
access1# pkgdb -F
--->  Checking the package registry database
access1# pkgdb -FO
--->  Checking the package registry database
access1# portupgrade -a
Stale dependency: Xaw3d-1.5E_2 <-- emacs-21.3_9 -- manually run 'pkgdb 
-F' to fix, or specify -O to force.



Cheers,

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


cant uninstall nessus-gtk2-2.2.9_1

2007-07-31 Thread Noah


Hi there,

I am having a bit of trouble with the nessus installation at the moment.
 any clues how I can fully remove it and install it properly.


access1# pkg_info | grep nessus
pkg_info: show_file: can't open '+COMMENT' for reading
nessus-gtk2-2.2.9_1 ???
nessus-libnasl-2.2.9 Nessus Attack Scripting Language
nessus-libraries-2.2.9 Libraries for Nessus, the security scanner
access1# pkg_delete -f nessus
pkg_delete: package 'nessus-gtk2-2.2.9_1' doesn't have a prefix
access1#


Cheers,

Noah

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


problem with nessus-gtk2-2.2.9_1 installation

2007-07-30 Thread Noah


Hi there,

I am having a bit of trouble with the nessus installation at the moment. 
 any clues how I can fully remove it and install it properly.



access1# pkg_info | grep nessus
pkg_info: show_file: can't open '+COMMENT' for reading
nessus-gtk2-2.2.9_1 ???
nessus-libnasl-2.2.9 Nessus Attack Scripting Language
nessus-libraries-2.2.9 Libraries for Nessus, the security scanner
access1# pkg_delete -f nessus
pkg_delete: package 'nessus-gtk2-2.2.9_1' doesn't have a prefix
access1#


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: any clues on this [solved]

2007-07-29 Thread Noah

that did it - thanks


Kris Kennaway wrote:

On Sun, Jul 29, 2007 at 08:04:58PM -0700, Noah wrote:

Hi List,

I recently reinstalled my entire OS and world, etc.
now I am running stable FreeBSD 6.2

when I run scripts now the following line "added: not found" is thrown 
in the output or shell scripts.


I cant figure out to the life of me why this would appear.

I tried different shells on the first line and it does not matter.
Output and Script are below.  Clues please.


here is the script:

#!/bin/sh

/usr/local/etc/rc.d/cucipop.sh stop
/usr/local/etc/rc.d/stunnel.sh restart
/usr/local/etc/rc.d/mysql-server restart
/usr/local/etc/rc.d/pure-ftpd.sh restart
/usr/local/etc/rc.d/sa-spamd.sh restart
/usr/local/etc/rc.d/saslauthd.sh restart
/usr/local/etc/rc.d/clamav-clamd restart
/usr/local/etc/rc.d/clamav-freshclam restart
#/usr/local/etc/rc.d/clamav-milter.sh restart
/usr/local/etc/rc.d/mailman restart
/usr/local/etc/rc.d/cucipop.sh start
/usr/local/etc/rc.d/dovecot.sh restart

/usr/local/bin/pure-pw mkdb
/usr/bin/newaliases
cd /etc/mail/ && make
cd /etc/mail/ && make install
cd /etc/mail/ && make restart

#sh /etc/rc.firewall


Here is the output:

added: not found


Check /etc/rc.conf

Kris

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


any clues on this

2007-07-29 Thread Noah

Hi List,

I recently reinstalled my entire OS and world, etc.
now I am running stable FreeBSD 6.2

when I run scripts now the following line "added: not found" is thrown 
in the output or shell scripts.


I cant figure out to the life of me why this would appear.

I tried different shells on the first line and it does not matter.
Output and Script are below.  Clues please.


here is the script:

#!/bin/sh

/usr/local/etc/rc.d/cucipop.sh stop
/usr/local/etc/rc.d/stunnel.sh restart
/usr/local/etc/rc.d/mysql-server restart
/usr/local/etc/rc.d/pure-ftpd.sh restart
/usr/local/etc/rc.d/sa-spamd.sh restart
/usr/local/etc/rc.d/saslauthd.sh restart
/usr/local/etc/rc.d/clamav-clamd restart
/usr/local/etc/rc.d/clamav-freshclam restart
#/usr/local/etc/rc.d/clamav-milter.sh restart
/usr/local/etc/rc.d/mailman restart
/usr/local/etc/rc.d/cucipop.sh start
/usr/local/etc/rc.d/dovecot.sh restart

/usr/local/bin/pure-pw mkdb
/usr/bin/newaliases
cd /etc/mail/ && make
cd /etc/mail/ && make install
cd /etc/mail/ && make restart

#sh /etc/rc.firewall


Here is the output:

added: not found
Stopping stunnel.
Starting stunnel.
service pop3s
added: not found
Stopping mysql.
Waiting for PIDS: 89536, 89536, 89536.
Starting mysql.
added: not found
added: not found
Stopping pureftpd.
added: not found
Starting pureftpd.
Running: /usr/local/sbin/pure-ftpd -A -c50 -B -C8 -D -E -fftp -I15
-lpuredb:/usr/local/etc/pureftpd.pdb -L2000:8 -m4 -s -U133:022 -u100 -w
-1 -Ostats:/var/log/pureftpd.log -g/var/run/pure-ftpd.pid -k99 -Z -Y0
added: not found
Stopping spamd.
Waiting for PIDS: 89561.
Starting spamd.
added: not found
added: not found
Stopping saslauthd.
added: not found
Starting saslauthd.
added: not found
Stopping clamav_clamd.
Waiting for PIDS: 89603.
Starting clamav_clamd.
added: not found
Stopping clamav_freshclam.
Starting clamav_freshclam.
added: not found
added: not found
added: not found
Stopping dovecot.
added: not found
Starting dovecot.


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: stop portmanager from building mysql-client-4.1.22

2007-07-25 Thread Noah

Hi there Gerard,

Even with the following IGNORE settings
mysql-4.1.22 is still attempting to be built.


# grep IGNORE /usr/local/etc/portmanager/pm-020.conf
#IGNORE|editors/openoffice*|
#IGNORE|java/jdk14|
IGNORE|www/apache13|
IGNORE|www/apache13*|
IGNORE|www/mod_perl|
IGNORE|net/openldap23-client|
IGNORE|net/openldap23-client*|
IGNORE|databases/mysql4*-client|
IGNORE|databases/mysql4*-server*|
IGNORE|databases/mysql3*-client|
IGNORE|databases/postgresql*|



Gerard wrote:

On July 20, 2007 at 01:09PM Noah wrote:



Hi there,

I am attempting to stop portmanager from installing mysql-client-4.1.22
so I added the following lines to my portmanager config file.

$ grep IGNORE /usr/local/etc/portmanager/pm-020.conf
#IGNORE|editors/openoffice*|
#IGNORE|java/jdk14|
IGNORE|www/apache13|
IGNORE|www/apache13*|
IGNORE|www/mod_perl|
IGNORE|net/openldap23-client|
IGNORE|net/openldap23-client*|
IGNORE|databases/mysql4*|
IGNORE|databases/mysql3*|
IGNORE|databases/postgresql*|


but still mysql-client-4.1.22 is being installed.

$ pkg_info | grep portmanager
portmanager-0.4.1_9 FreeBSD installed ports status and safe update utility


Try:

IGNORE|databases/mysql4*-client|

This should prevent any 4x version from being installed:

IGNORE|databases/mysql4*-server*|



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


where is bsdpan-CPAN in /usr/ports

2007-07-25 Thread Noah


Hi there,

i received the following error when port upgrading.

CreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" 
not found in /var/db/pkg/bsdpan-CPAN-1.9102/+CONTENTS

bsdpan-CPAN-1.9102 installation is corrupt!
recomend running "pkg_delete -f bsdpan-CPAN-1.9102" 
then manually reinstalling this port

--


I am a little lost - where might I find the bsdpan-CPAN port - so I can 
rebuid it?




Cheers,

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


XML Repository with HTML front end

2007-07-23 Thread Noah

Hi there,

might somebody be able to recommend a good XML repository that keeps 
files in XML format but still viewable, uploadable, downloadable, and 
searchable via a web front-end?


Cheers,

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


runaway dialog processes

2007-07-20 Thread Noah

Hi there,

I am administrating a machine that has runaway dialog processes?

I am not sure what the applications are?


 3758 root   1 1320  1696K  1072K CPU1   0 290:23 98.58% dialog
 9689 root   1 1320  1696K  1060K RUN1 215:16 98.49% dialog


Any clues what could be creating this?

Cheers,

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


stop portmanager from building mysql-client-4.1.22

2007-07-20 Thread Noah

Hi there,

I am attempting to stop portmanager from installing mysql-client-4.1.22
so I added the following lines to my portmanager config file.

$ grep IGNORE /usr/local/etc/portmanager/pm-020.conf
#IGNORE|editors/openoffice*|
#IGNORE|java/jdk14|
IGNORE|www/apache13|
IGNORE|www/apache13*|
IGNORE|www/mod_perl|
IGNORE|net/openldap23-client|
IGNORE|net/openldap23-client*|
IGNORE|databases/mysql4*|
IGNORE|databases/mysql3*|
IGNORE|databases/postgresql*|


but still mysql-client-4.1.22 is being installed.

$ pkg_info | grep portmanager
portmanager-0.4.1_9 FreeBSD installed ports status and safe update utility


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


Re: project-open on FreeBSD

2007-07-20 Thread Noah

yes


Giorgos Keramidas wrote:

On 2007-07-20 09:08, Noah <[EMAIL PROTECTED]> wrote:

Has anybody had luck installing project-open on FreeBSD?


What is ``project-open''?

I don't see anything about it in the Ports Collection. Are we talking
about <http://www.project-open.org/>?

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


installing RHEL 4 or Fedora Core 6 on FreeBSD

2007-07-20 Thread Noah

Hi,

is there a way to install RHEL 4 or Fedora Core 6 RPMs on FreeBSD?

Cheers,

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


project-open on FreeBSD

2007-07-20 Thread Noah

Has anybody had luck installing project-open on FreeBSD?

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


dhclient: Can't update forward map bogus ... timed out

2007-06-11 Thread Noah


HI List Folk,

I recently added firewall filters to my home linux box, and now I am
experiencing named errors.  I am running DDNS that sends out updates for 
my dynamically assigned IP address for the router/linux box at the edge 
of my home network.  It appears that those updates periodically time 
out.  I can telnet from the linux box to port 53 of the DNS server just 
fine.


It appears that the logging on the server  side is not working as well. 
 syslog is certainly running on the machine.  I have directory 
permissions set correctly.


here is my configuration:

--- logging configuration ---

logging {
   channel simple_log {
   file "/var/log/named/bind.log" versions 3 size 5m;
   severity warning;
   print-time yes;
   print-severity yes;
   print-category yes;
   };
   category default{
   simple_log;
   };

   category dnssec   { security_log; };
   category update   { security_log; };
   category security { security_log; };

   channel security_log {
   file "/var/log/named/dns-security.log" versions 5 size 20m;
   print-time yes;
   print-category yes;
   print-severity yes;
   severity info;
   };
};

--- logging configuration ---


# ls -ld /var/log/named/
drwx--  2 bind  wheel  512 Jun 11 08:19 /var/log/named/
# ls -l /var/log/named/
total 0
ps -auxww | grep syslog
root   68320  0.0  0.0  1376   988  ??  Is8:26AM   0:00.01
/usr/sbin/syslogd -l /var/run/log -l /var/named/var/run/log -s


dns server side system info
# pkg_info | grep bind
bind9-9.3.4 Completely new version of the BIND DNS suite with
updated D
FreeBSD-6.2


--- snip ---

Jun 11 07:17:10 hostname dhclient: Can't update forward map
bogus.domain.com. to 10.0.0.1: timed out

--- sinp ---



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


Re: qmail virtual domain and alias

2007-05-05 Thread Noah

forget it.  I am switching to another MTA that is easier to use.

cheers,

Noah


John L wrote:
I thought my explanation was fairly clear.  Also domain.com is a 
sample domain name and really has nothing to do with the issue at 
hand.  Sample domain names are used all the time In examples and 
should not hinder arriving or providing solutions to configuring qmail 
aliases and virtualdomains.


The problem is almost certainly that you have a typo in a control file 
somewhere.  Since you are unwilling to show us the actual contents of 
those control files, it is unlikely that we can help you.  If you think 
it would be a security problem if people knew your real domain, you have 
worse problems to fix than a few e-mail forwards.


If you read the qmail list, you will have seen many, many exchanges 
along these lines.  If you want real help, post real data.


Regards,
John Levine, [EMAIL PROTECTED], Primary Perpetrator of "The Internet for 
Dummies",

Information Superhighwayman wanna-be, http://www.johnlevine.com, ex-Mayor
"More Wiener schnitzel, please", said Tom, revealingly.

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


Re: qmail virtual domain and alias

2007-05-05 Thread Noah

Hi John,

hahaha - now that is a funny response.

I thought my explanation was fairly clear.  Also domain.com is a sample 
domain name and really has nothing to do with the issue at hand.  Sample 
domain names are used all the time In examples and should not hinder 
arriving or providing solutions to configuring qmail aliases and 
virtualdomains.


cheers,

noah


John Levine wrote:
Since I am not getting a response from the qmail list - well there are a 
bunch of knowledgeable members here.  So...


We saw your question on the qmail list, but we couldn't answer it because
you're not telling us what you're really doing.  (Unless you are the
registrant for domain.com, which you are not.)

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


qmail virtual domain and alias

2007-05-05 Thread Noah



Since I am not getting a response from the qmail list - well there are a 
bunch of knowledgeable members here.  So...


okay i collect mail for two domains with overlapping aliases.  the
acutal host name of the server is globs.domain.com

so there is
[EMAIL PROTECTED]
and
[EMAIL PROTECTED]

there is a

.qmail-globs file working fine for mail arriving at [EMAIL PROTECTED]

but then I placed the virtualdomains the line:

[EMAIL PROTECTED]:blobs

and then I created an alias file
.qmail-blobs-globs

but it does not work and the sender receives a bounce claiming user
[EMAIL PROTECTED] not found.

what can I do about this?

Cheers,

Noah

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


rndc.key auth issues and rndc.key file

2007-05-03 Thread Noah

Hey there FreeBSD'ers,

So I am trying to figure out what is the best configuration for bind on 
my FreeBSD6.2 system.


# pkg_info | grep bind
bind9-9.3.4 Completely new version of the BIND DNS suite with 
updated D

# grep named /etc/rc.conf
named_enable="YES"
named_symlink_enable="YES"
named_program="/usr/local/sbin/named"

something keeps not ending up correctly configured.

I made an rndc.key file
# ls -l /var/named/etc/namedb/rndc.key
-rw---  1 root  wheel  97 May  3 13:37 /var/named/etc/namedb/rndc.key

and then placed a copy of those contents in my 
/var/named/etc/namedb/named.conf file.


now when I restart (stop) named I receive an error:

# /etc/rc.d/named restart
Stopping named: rndc failed, trying killall: .
Starting named.

what on earth am I doing wrong?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Attempts to run 'fsck' fail can't stat device

2007-04-18 Thread Noah Garrett Wallach


My server lost power earlier today and now it doesnt boot.

Any clues what I can do to recover from the following errors:


s nip 

Server '' fails to mount /dev/da0s1g (/usr).

Attempts to run 'fsck' fail (can't stat device /dev/da0s1g)


 snip ---


cheers,

Noah

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


  1   2   3   4   5   >