Re: Fuse > 2.7.4?

2011-04-06 Thread Joe Auty
Should I ask about this to the ports list? I'd really like to get an
up-to-date s3fs port installed on my FreeBSD machines...

>   Joe Auty <mailto:j...@netmusician.org>
> April 5, 2011 1:56 PM
>
>
> Hello,
>
> What is the status of the fusefs-libs port? I'd like to try the newer
> s3fs builds with FUSE, but they require 2.8.4 or higher. I was unable to
> get FUSE 2.8.5 to build with the current patches included in the port.
> Are these patches still necessary?
>
>
> ----


-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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"


Fuse > 2.7.4?

2011-04-05 Thread Joe Auty
Hello,

What is the status of the fusefs-libs port? I'd like to try the newer
s3fs builds with FUSE, but they require 2.8.4 or higher. I was unable to
get FUSE 2.8.5 to build with the current patches included in the port.
Are these patches still necessary?


-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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"


ipfw and outbound IP rules

2010-10-27 Thread Joe Auty
Hello,

I'm using imapproxy and it is making outbound connections using one of
my IP aliases rather than the parent IP. According to the devs of this
software there is no such option to specify the outbound IP.

Can I create an ipfw rule that will reroute/rewrite requests from one of
these secondary IP into my main IP? This will help make setting up
firewalls on machines that receive this traffic more predictable...

Is there a name for what I want to do so that I can Google this sort of
thing in the future?




-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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: IP aliasing and Postfix

2010-10-26 Thread Joe Auty
Коньков Евгений wrote:
>
> # OUTGOING MAIL FROM IP
> smtp_bind_address=
>
>

Thanks, this is exactly what I needed!


-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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"


IP aliasing and Postfix

2010-10-26 Thread Joe Auty
Hello,

I have a few IP aliases setup:

em0: flags=8843 metric 0 mtu 1500
options=9b
ether 00:0c:29:79:d5:66
inet  netmask 0xff80 broadcast 
inet  netmask 0xff80 broadcast 
inet  netmask 0xff80 broadcast 
media: Ethernet autoselect (1000baseT )
status: active


How do I make address3 the ifconfig default over its aliases?


The problem is, as far as mail sending goes the IP address that should
be used is address3, when what is presented to my relayhost is address1.
My rc.conf:

ifconfig_em0="inet address3  netmask 255.255.255.128"
ifconfig_em0_alias0="inet address1  netmask 255.255.255.128"
ifconfig_em0_alias1="inet address2  netmask 255.255.255.128"


How do I get Postfix to use address3 in sending out mail? If I set
Postfix's myhostname to a FQDN that resolves as address3,
inet_interfaces will not work when set to:

inet_interfaces = $myhostname

it needs to be set to:

inet_interfaces = $myhostname, localhost


I see nothing in Postfix that would explain why Postfix is gleaming onto
address1, which makes me think that perhaps this is a BSD ifconfig thing
and it is gleaming onto the first address it finds associated with my
em0 interface, which if the ifconfig and its IP order means anything, is
address1? Does this make sense?

Anyway to set the default here?





-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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: /usr/local/lib/compat and /usr/local/lib/compat/pkg

2010-10-21 Thread Joe Auty
Dan Nelson wrote:
> In the last episode (Oct 21), Joe Auty said:
>> The other night I spent some frustrating time discovering that after
>> updating from 7.2 to 8.1, for some reason some of the libraries in
>> /usr/local/lib/compat/pkg were 32 bit on my 64 bit system which was
>> causing several of my binaries to generate "unsupported filesystem
>> layout" errors. I ended up copying the ones from /usr/local/lib/compat
>> into /usr/local/lib/compat/pkg which seemed to fix the problem.
>
> Did you also do a 32-> 64-bit migration at some point?  You probably should
> have moved everything in /usr/local/lib/compat to /usr/local/lib32 then to
> avoid problems.  32-bit apps shouldn't look for their shlibs in
> /usr/local/lib on a 64-bit system.  You can manually move any remaining ones
> by using the "file" command to identify 32-bit files, then moving them (or
> removing them if you have no 32-bit apps anymore).
>
Nope, there was never a 32 -> 64 bit migration or vice versa. However,
doing a:

file /usr/local/lib/compat/pkg/libcrypt.so.4

indicated that several of these libraries in compat/pkg were i386 rather
than amd64.



-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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"


/usr/local/lib/compat and /usr/local/lib/compat/pkg

2010-10-21 Thread Joe Auty
The other night I spent some frustrating time discovering that after
updating from 7.2 to 8.1, for some reason some of the libraries in
/usr/local/lib/compat/pkg were 32 bit on my 64 bit system which was
causing several of my binaries to generate "unsupported filesystem
layout" errors. I ended up copying the ones from /usr/local/lib/compat
into /usr/local/lib/compat/pkg which seemed to fix the problem.

Will this solution end up hurting me? Was there an official pathname
change to phase out the pkg directory at some point that might warrant
updating all of my packages (which I forgot to do)?


-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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: newsyslog.conf and Apache log files

2010-10-07 Thread Joe Auty
Lowell Gilbert wrote:
> Joe Auty  writes:
>
>> Hello,
>>
>> I have the following entry for dealing with my Apache log files:
>>
>> /var/log/httpd/* 644 2 * $M1D0 GBJ
>> /var/run/httpd.pid 30
>>
>>
>> Unfortunately, this has created these big long log files such as the
>> following:
>>
>> httpderror_log.2.bz2.2.bz2.2.bz2.1.bz2.1.bz2.1.bz2.0.bz2
>>
>> How can I prevent these dumb log file names from being created?
>
> Don't use wildcards in newsyslog.conf.
>
> What's happening is "httperror_log.2.bz2" gets rotated into
> "httperror_log.2.baz2.1.bz2", because it matches the filename
> glob you specified.

Aha! That makes sense...

What alternatives are there then so that I don't have to type in log
file paths for each of my virtually hosted domains? How about:

/var/log/httpd/*_log


would this work?




-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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"


newsyslog.conf and Apache log files

2010-10-07 Thread Joe Auty
Hello,

I have the following entry for dealing with my Apache log files:

/var/log/httpd/* 644  2 *  $M1D0 GBJ   
/var/run/httpd.pid 30


Unfortunately, this has created these big long log files such as the
following:

httpderror_log.2.bz2.2.bz2.2.bz2.1.bz2.1.bz2.1.bz2.0.bz2

How can I prevent these dumb log file names from being created?



-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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: NFSv4 status

2010-06-22 Thread Joe Auty
Anybody?

Joe Auty wrote:
> Hello,
>
> I'm a little confused as to where NFSv4 is at... Is the client stable
> and considered ready for production use? If so, as of what OS version?
> The man page for nfsv4 listed here:
> http://www.freebsd.org/cgi/man.cgi?query=nfsv4&sektion=4  still lists
> this as experimental, however the bottom of this page has a signature
> for FBSD 7.2
>
> Can somebody kindly clarify as to where NFSv4 support is at, whether it
> is still considered experimental, what the roadmap for it is (if
> applicable), etc.?
>
> Thanks in advance!
>
>
>   


-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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"


NFSv4 status

2010-06-18 Thread Joe Auty
Hello,

I'm a little confused as to where NFSv4 is at... Is the client stable
and considered ready for production use? If so, as of what OS version?
The man page for nfsv4 listed here:
http://www.freebsd.org/cgi/man.cgi?query=nfsv4&sektion=4  still lists
this as experimental, however the bottom of this page has a signature
for FBSD 7.2

Can somebody kindly clarify as to where NFSv4 support is at, whether it
is still considered experimental, what the roadmap for it is (if
applicable), etc.?

Thanks in advance!


-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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: php-cgi 5.3.x and APC 3.1.3

2010-05-08 Thread Joe Auty
Michael Powell wrote:
> Joe Auty wrote:
>
>   
>> Hello,
>>
>> I'm trying to get the APC user cache to work for me... It works with PHP
>> installed as an Apache module, but not as a CGI.
>> 
>
> I run Apache with the event mpm. This may, or may not be wise, but I've been 
> doing it for a while now and had no problems with it. I also use Xcache so 
> my comments are not APC specific.
>
> Since not all of PHP is considered thread safe it is not advisable to run 
> PHP on the event mpm as it is a threaded version. The way around this is to 
> not use mod_php but instead run mod_fcgid.so so PHP can be run as a FastCGI.
>  
>   
The problem with mod_fcgid for me is that it doesn't work with the APC
cache... From
http://www.brandonturner.net/blog/2009/07/fastcgi_with_php_opcode_cache/ :

> Both mod_fcgid and mod_fastcgi can be told to limit the number of PHP
> processes to 1 per user. The PHP process can then be told how many
> children to spawn. Unfortunately mod_fcgid will only send one request
> per child process. The fact that PHP spawns its own children is
> ignored by mod_fcgid. If we use mod_fcgid with our setup, we can only
> handle one concurrent PHP request. This is not good. A long running
> request could easily block multiple smaller requests.



>> I understand that in order to get this to work one has to add a:
>>
>> 
>>> FastCgiConfig -maxClassProcesses 1
>>>   
>> to their Apache config (for those that use Apache). I've done this, but
>> I'm still not seeing any evidence that the user cache is working.
>> 
>
> This I do not know about and have never seen, but I do recall floundering 
> around in the beginning and being very confused by the difference between 
> exec'ing PHP code as a CGI as opposed to running it in a FastCGI process. 
> There is a huge difference, with the FastCGI being many times faster. 
>  
>   

I'm now convinced that FastCGI is running since I'm seeing FastCGI
signatures in my logs... I think I've been able to get everything to
work though, but I can see why this article above says that performance
of what I'm doing (upload progress bar) is not as good. Oh well, I
imagine that the general improvements in using FastCGI and PHP CGI will
offset this difference.

More below...

>
> In phpinfo(); you can see this:
>
> Server APICGI/FastCGI 
>
>   
I'm seeing that... Thanks for posting your example httpd.conf config, it
was useful to make sure I had all of my bases covered!


> My options for PHP build:
>
> WITH_CLI=true
> WITH_CGI=true
> WITH_APACHE=true
> WITHOUT_DEBUG=true
> WITH_SUHOSIN=true
> WITH_MULTIBYTE=true
> WITHOUT_IPV6=true
> WITHOUT_MAILHEAD=true
> WITH_REDIRECT=true
> WITH_DISCARD=true
> WITH_FASTCGI=true
> WITH_PATHINFO=true
>
> Also keep in mind that any time PHP is rebuilt APC will need to be rebuilt 
> too.
>
>   
Thanks! It looks like the with_fastcgi option has been removed from PHP
5.3's make config option list (no sign of it in the Makefile either),
but it appears that building with CGI support also builds it with
FastCGI support. I'm assuming this FastCGI support is generic and
supports both mod_fastcgi and mod_fcgi? This is the confusing part, I'm
sure someday I'll want to upgrade to mod_fcgi as soon as it supports the
APC (or some other) cache mechanism which I count on for upload progress
bars.

Thanks again for your help!


-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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"


php-cgi 5.3.x and APC 3.1.3

2010-05-07 Thread Joe Auty
Hello,

I'm trying to get the APC user cache to work for me... It works with PHP
installed as an Apache module, but not as a CGI.

I understand that in order to get this to work one has to add a:

> FastCgiConfig -maxClassProcesses 1

to their Apache config (for those that use Apache). I've done this, but
I'm still not seeing any evidence that the user cache is working.


The reason why I'm writing to this list rather than a PHP list is
because I'm a little confused by some of the PHP install options. It
looks like in 5.2 there was a FastCGI compile option. I'm assuming this
is enabled by default in 5.3?

> # php-cgi -v
> PHP 5.3.2 with Suhosin-Patch (cgi-fcgi) (built: May  7 2010 12:53:07)
> Copyright (c) 1997-2009 The PHP Group
> Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

What's confusing is the existence of both mod_fastcgi and mod_fcgi. Is
PHP compiled against fastcgi or fcgi? It looks like the former is
required for my setup. Since the key ingredient to this is the
FastCgiConfig directive above, I'm not sure if there is a way to test
that this directive has been recognized? I'm not seeing it in my
phpinfo() screens... Could I have mod_fcgi built into php-cgi and this
FastCGI Apache directive is being ignored?

In case this is relevant, I'm not doing any suexec stuff just yet.



-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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: Advice for finding a leaky Apache (probably PHP) process

2010-04-25 Thread Joe Auty
Not to blow off any of the fine suggestions that have been made, but I
may have solved my problem, sort of... I need help with one other
question though, see below (please and thanks!):

I'm not sure what the connection is here between the PHP upgrade,
perhaps nothing, but I did notice my individual httpd processes taking
up a crapload of RAM - they'd balloon to 600M and beyond, according to
top. According to this Apache directive:

http://httpd.apache.org/docs/2.0/mod/core.html#rlimitmem

> RLimitMEM Directive
>
> Description:Limits the memory consumption of processes launched by
> Apache children
> Syntax:RLimitMEM bytes|max [bytes|max]
> Default:Unset; uses operating system defaults

The OS defaults are applying here. I believe that the kernel option that
is tunable in /boot/loader.conf is "kern.maxdsiz" which is 34359738368
bytes, or 32 gigabytes. This machine is actually a VM guest that has
only been assigned 1 gig, so basically it seemed like there was nothing
to control how far these processes will balloon.

Obviously the better solution is to stop them from ballooning somehow,
but when I restart Apache each process takes under 200 MB, so I set the
RLimitMEM to 250 MB and made sure that I have enough child processes
running. I'll play around with a kern.maxdsiz limit once I can reboot
the machine.

Here's my question...

>From the Apache performance tuning guide:
http://httpd.apache.org/docs/2.2/misc/perf-tuning.html
> The single biggest hardware issue affecting webserver performance is
> RAM. A webserver should never ever have to swap, as swapping increases
> the latency of each request beyond a point that users consider "fast
> enough". This causes users to hit stop and reload, further increasing
> the load. You can, and should, control the MaxClients setting so that
> your server does not spawn so many children it starts swapping. This
> procedure for doing this is simple: determine the size of your average
> Apache process, by looking at your process list via a tool such as
> top, and divide this into your total available memory, leaving some
> room for other processes.

I'm not exactly sure how to best calculate this? Right now top is
showing 260M of active RAM. The total of the "size" or "res" columns for
all of my httpd processes definitely exceeds this. How can I determine
how much RAM a httpd process is *actively* using, as opposed to how much
size it is claiming so that I can best come up with a maxclients setting?



Matthew Seaman wrote:
> On 25/04/2010 02:02:52, Joe Auty wrote:
>
> > I'm wondering if you guys have any general tips on how to find the
> > Apache process/app that is gobbling up my RAM randomly until my machine
> > crashes and I'm forced to reboot? I'm tired of staring at top and
> > working with flimsy hacks such as 10 minute Apache restart cronjobs.
>
> > This seems to start (or worsen) after updating to PHP 5.3, but this is
> > not happening on my test machine where PHP 5.3 is also installed and the
> > same apps are used (although not publicly).
>
> > General tips and suggestions are welcome here!
>
> You need to divide and conquer.  Basically, you've got all of your PHP
> applications running in one PHP interpreter instance per apache child
> and you won't be able to tell which is the problem app until you can
> separate them out.
>
> One way of doing that is the simple and obvious method of commenting out
> each application in turn from the apache config, leaving it running for
> a while and seeing what happens to memory usage.  This is OK only if
> you're happy to turn off chunks of site functionality while testing.
>
> Alternatively, you can set up several different instances of apache,
> each configured to run one of the php applications and each binding to a
> different port on the loopback interface.  Then use another apache with
> a bit of mod_proxy or mod_rewrite glue to redirect the queries
> internally.  Or you could replace the front facing apache instance with
> something like varnish.
>
> Finally, it has been suggested else-thread that you contemplate
> switching to an alternative HTTP daemon like nginx -- in that case,
> you'ld want to be running your PHP apps under fCGI rather than embedded
> in the HTTP daemon.  Running each different PHP app in a separate fCGI
> process shouldn't be too hard to set up.  While this is a valid
> alternative configuration for your site, the Scientist in me complains
> that as an attempt to find out why your PHP apps are misbehaving, there
> are too many uncontrolled changes for it to be a good diagnostic.
>
> Cheers,
>
> Matthew
>
___
freebsd-questions@f

Re: Advice for finding a leaky Apache (probably PHP) process

2010-04-25 Thread Joe Auty
Adam Vande More wrote:
> On Sat, Apr 24, 2010 at 8:02 PM, Joe Auty  <mailto:j...@netmusician.org>> wrote:
>
> Hello,
>
> I'm wondering if you guys have any general tips on how to find the
> Apache process/app that is gobbling up my RAM randomly until my
> machine
> crashes and I'm forced to reboot? I'm tired of staring at top and
> working with flimsy hacks such as 10 minute Apache restart cronjobs.
>
> This seems to start (or worsen) after updating to PHP 5.3, but this is
> not happening on my test machine where PHP 5.3 is also installed
> and the
> same apps are used (although not publicly).
>
> General tips and suggestions are welcome here!
>
> THanks in advance...
>
>
> Have you tried working with php's mem limit abilities?  The base
> system provides procstat for tracking invidual process info.  You
> could try something like appending ps aux > file every minute or so to
> track growth etc.  Can you provide more info about the php app?
>
> -- 
> Adam Vande More

Well, I'm fishing. It is also possible that I'm seeing a denial of
service attack or something, but the result is my Apache processes
ballooning and CPU usage for some of my httpd processes going up to
around 100%. There are several PHP apps running on the server, so it is
very hard to pinpoint things to one app, which is part of the problem.

I can actually see the memory growth, I can sit and watch top and see my
memory consumption balloon until the machine swaps and then just grinds
to a halt. Sometimes it gets so bad that I'm forced to killall -9 httpd
just to bring the machine back to life.

What are some good techniques for trying to ascertain whether a
particular web app is being exploited for some sort of attack? Since I
had to recompile PHP and all of my PHP extensions is there a possibility
that a particular extension is causing memory consumption to balloon? A
long time ago I had an attack on a very old version of WordPress. I
found this via my Apache server-status page, but it was sort of a pure
fluke that I did find this. Surely there has to be better ways to
connect httpd processes to pages that are being served?

I wish that the machine was a little more responsive when I get to this
point so that I can ktrace the processes...

Thanks for your help!



-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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"


Advice for finding a leaky Apache (probably PHP) process

2010-04-24 Thread Joe Auty
Hello,

I'm wondering if you guys have any general tips on how to find the
Apache process/app that is gobbling up my RAM randomly until my machine
crashes and I'm forced to reboot? I'm tired of staring at top and
working with flimsy hacks such as 10 minute Apache restart cronjobs.

This seems to start (or worsen) after updating to PHP 5.3, but this is
not happening on my test machine where PHP 5.3 is also installed and the
same apps are used (although not publicly).

General tips and suggestions are welcome here!

THanks in advance...


-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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: Questions about port revision numbers, portsnap, csup

2010-04-20 Thread Joe Auty
Greg,

After applying the update (which I noticed was available immediately
after my last response to you, sorry about that!), everything is just
peachy now, or at least not causing the segfaults, thanks!

Not to sound unappreciative and purely in the spirit of being
constructive, I'd suggest a little more specificity as far as what a
"break" is on the commit history. This goofy title was created because
it didn't occur to me that the break fix committed on April 12 was only
for compilation. I would suggest specifying whether the break and the
fix is for compiling, or for the software to work properly
post-compilation. This would have saved me a little confusion and time.


Again, you kick ass, in no way do I want this to sound harshly critical,
I hope this can be taken as purely constructive :)

Thanks again for your help with this fix!

___
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: Questions about port revision numbers, portsnap, csup

2010-04-20 Thread Joe Auty
Greg Larkin wrote:
> Joe Auty wrote:
> > Greg Larkin wrote:
> >> John Levine wrote:
> >>> I have the same problem, recently upgraded to PHP 5.3.2 and Apache
> >>> was crashing whenever I tried to use a mediawiki page until I
> commented
> >>> out the apc library.  (Apache is 2.0, Freebsd is still 7.0, if that
> >>> matters.)
> >>>> cd /usr/ports
> >>>> fetch http://people.freebsd.org/~glarkin/diffs/pecl-APC-3.1.3p1.diff
> >>>> patch < pecl-APC-3.1.3p1.diff
> >>> Didn't work, because pecl-APC is www/pecl-APC, not devel/pecl-APC.  I
> >>> edited the patch to be www/ rather than devel/ at which point the
> >>> patch applied but make failed due to one of the other patches:
> >> Hi John,
> >>
> >> Sorry about that bit - I'll check my local development environment.
> >>
> >>> ===>  Patching for pecl-APC-3.1.3.p1
> >>> ===>  Applying FreeBSD patches for pecl-APC-3.1.3.p1
> >>> 1 out of 2 hunks failed--saving rejects to apc_sem.c.rej
> >>> => Patch patch-apc_sem.c failed to apply cleanly.
> >>> *** Error code 1
> >> Please run the other commands in my email to move those now-obsolete
> >> patch files out of the way:
> >>
> >> mkdir /usr/ports/devel/pecl-APC/files/save-patches
> >> mv /usr/ports/devel/pecl-APC/files/patch-*  \
> >> /usr/ports/devel/pecl-APC/files/save-patches
> >>
> >> Regards,
> >> Greg
> > I just did a search/replace of devel->www in Greg's patch...
>
> > It downloaded the beta, but I have compile errors now. Isn't pcre
> > supposed to be built into PHP 5.3 now?
>
> >> In file included from
> /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:43:
> >> /usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No
> >> such file or directory
> >> In file included from
> /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:43:
> >> /usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=',
> >> ',', ';', 'asm' or '__attribute__' before '*' token
>
> Hi Joe,
>
> PCRE problems are very common after upgrading to 5.3.2.  ale@ added an
> entry in /usr/ports/UPDATING that recommends uninstalling all
> PHP-related ports and recompiling, IIRC.  That's the best way to clean
> out all remnants of the php5-pcre port.
>

Yeah, I saw that notice and I've actually done this already... Perhaps I
missed something, although why would the older version compile before
applying this patch?


> Regards,
> Greg

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


-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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: Questions about port revision numbers, portsnap, csup

2010-04-19 Thread Joe Auty
Greg Larkin wrote:
> John Levine wrote:
> > I have the same problem, recently upgraded to PHP 5.3.2 and Apache
> > was crashing whenever I tried to use a mediawiki page until I commented
> > out the apc library.  (Apache is 2.0, Freebsd is still 7.0, if that
> > matters.)
>
> >> cd /usr/ports
> >> fetch http://people.freebsd.org/~glarkin/diffs/pecl-APC-3.1.3p1.diff
> >> patch < pecl-APC-3.1.3p1.diff
> > Didn't work, because pecl-APC is www/pecl-APC, not devel/pecl-APC.  I
> > edited the patch to be www/ rather than devel/ at which point the
> > patch applied but make failed due to one of the other patches:
>
> Hi John,
>
> Sorry about that bit - I'll check my local development environment.
>
> > ===>  Patching for pecl-APC-3.1.3.p1
> > ===>  Applying FreeBSD patches for pecl-APC-3.1.3.p1
> > 1 out of 2 hunks failed--saving rejects to apc_sem.c.rej
> > => Patch patch-apc_sem.c failed to apply cleanly.
> > *** Error code 1
>
> Please run the other commands in my email to move those now-obsolete
> patch files out of the way:
>
> mkdir /usr/ports/devel/pecl-APC/files/save-patches
> mv /usr/ports/devel/pecl-APC/files/patch-*  \
> /usr/ports/devel/pecl-APC/files/save-patches
>
> Regards,
> Greg

I just did a search/replace of devel->www in Greg's patch...

It downloaded the beta, but I have compile errors now. Isn't pcre
supposed to be built into PHP 5.3 now?

> In file included from /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:43:
> /usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No
> such file or directory
> In file included from /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:43:
> /usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=',
> ',', ';', 'asm' or '__attribute__' before '*' token
> /usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected '=',
> ',', ';', 'asm' or '__attribute__' before '*' token
> /usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected
> specifier-qualifier-list before 'pcre'
> /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:368: error: expected
> specifier-qualifier-list before 'pcre'
> /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c: In function
> 'apc_regex_compile_array':
> /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:429: error: 'apc_regex'
> has no member named 'preg'
> /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:429: error: 'apc_regex'
> has no member named 'preg'
> /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:430: error: 'apc_regex'
> has no member named 'nreg'
> /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:430: error: 'apc_regex'
> has no member named 'nreg'
> /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c: In function
> 'apc_regex_match_array':
> /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:462: error: 'apc_regex'
> has no member named 'preg'
> /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:462: error: 'apc_regex'
> has no member named 'preg'
> /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:463: error: 'apc_regex'
> has no member named 'nreg'
> /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:463: error: 'apc_regex'
> has no member named 'nreg'
> *** Error code 1
>
> Stop in /usr/ports/www/pecl-APC/work/APC-3.1.3p1.
> *** Error code 1
>
> Stop in /usr/ports/www/pecl-APC.
> *** Error code 1
>
> Stop in /usr/ports/www/pecl-APC.

Feel free to change the subject of this message if that would be
appropriate...

I did notice the full PHP 5.3 support in APC 3.1.3, but I figured that
the "initial support" in 3.0.19 was sufficient. I was obviously wrong!

http://pecl.php.net/package-changelog.php?package=APC



___
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: Questions about port revision numbers, portsnap, csup

2010-04-19 Thread Joe Auty
Greg Larkin wrote:
>
> Does pecl-APC not compile, or is it functionally broken after compiling
> succesfully?
It compiles, but once loaded it causes either Apache child processes to
segfault or abort traps depending on where the extension is listed in my
extensions.ini file. Apache itself is running fine, I don't have these
problems on non-PHP pages. Commenting out the apc.so in extensions.ini
makes Apache work again. I haven't done an extensive job of looking for
PHP extension conflicts just yet, but I've slowly been testing my PHP
extensions one by one on a test machine. I got as far as this:

> extension=session.so
> extension=mysql.so
> extension=json.so
> extension=curl.so
> extension=openssl.so
> ;extension=apc.so

apc.so is commented out because this was the point where I realized that
it was the culprit after this upgrade. So, I'd imagine that APC has some
sort of problem with PHP 5.3, or possibly one of these extensions?

>
> > 2) Is there a way to look at the commit history of the ports I have
> > installed in /usr/ports so that I can verify whether or not I have the
> > revision with this particular fix? Thus far I've been relying on
> > freshports.org and trusting that doing a portsnap will always fetch the
> > latest stuff visible on freshports.org, but now I'm not so sure...
>
> Is /usr/ports/www/pecl-APC/files/patch-php_apc.c present on your
> machine?  If so, then you have the latest commit.
>
Yeah, I have that file... I didn't know that the patch fixed compiling
problems, that was never my problem.

Perhaps PHP 5.3 needs different APC related php.ini options or
something? I'm generally pretty lazy about doing a diff between the
stock config files and my own...

I've been trying to no avail to get a good backtrace of my problem,
would that be useful to anybody? Should I keep at this?


Thanks for your help Greg!
___
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"


Questions about port revision numbers, portsnap, csup

2010-04-19 Thread Joe Auty
Hello,

I've identified my pecl-APC install as being broken after upgrading to
PHP 5.3.2. According to the commit history listed here:
http://www.freshports.org/www/pecl-APC/ there is a fix out. However,
doing a portsnap fetch update does not seem to fetch this latest
revision to this port, after doing my portsnap it shows no updates are
available for the port although I'm pretty certain that I last
portsnapped before April 12. I'm assuming that portsnap only grabs a new
version of the portrevision number has been bumped?

My questions:

1) If I were to csup my ports tree to force a fetch of this update,
would this break portsnap?

2) Is there a way to look at the commit history of the ports I have
installed in /usr/ports so that I can verify whether or not I have the
revision with this particular fix? Thus far I've been relying on
freshports.org and trusting that doing a portsnap will always fetch the
latest stuff visible on freshports.org, but now I'm not so sure...

3) Shouldn't the portrevision number be bumped whenever there is an
update? I always assumed that the _x suffixes indicated a portrevision
bump. Why was it not bumped for this pecl-APC fix? Human error? Is there
any other way I can force the download of this port, or is csup my best bet?





-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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: /etc/rc.conf and NFS

2010-03-17 Thread Joe Auty
Adam Vande More wrote:
> On Mon, Mar 15, 2010 at 8:38 PM, Joe Auty  <mailto:j...@netmusician.org>> wrote:
>
> Hello,
>
> I have my /usr/local partition hosted on an NFS share which is mounted
> at boot. Do you have any theories as to why my various services
> (Apache,
> Postfix, MySQL) listed in /etc/rc.conf do not start up
> automatically at
> boot, and I have to do this manually? When /usr/local is hosted
> locally
> these services start up fine on their own at boot time.
>
>
> What does /var/log/messages say?  May be that /usr/local isn't
> available when scripts are called.
>
That's what I'm thinking too... I'll play around the adjusting the
startup order and see if that fixes this, thanks!


> -- 
> Adam Vande More


-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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: /etc/rc.conf and NFS

2010-03-17 Thread Joe Auty
RW wrote:
> On Mon, 15 Mar 2010 21:38:39 -0400
> Joe Auty  wrote:
>
>   
>> Hello,
>>
>> I have my /usr/local partition hosted on an NFS share which is mounted
>> at boot. Do you have any theories as to why my various services
>> (Apache, Postfix, MySQL) listed in /etc/rc.conf do not start up
>> automatically at boot, and I have to do this manually?
>> When /usr/local is hosted locally these services start up fine on
>> their own at boot time.
>> 
>
>
> You probably need to set early_late_divider.
>
> rc reads in and orders the scripts in /etc/rc.d before it executes any
> of them, and this list is fixed. When it reaches $early_late_divider, it
> creates a new list that includes the local directory
> obviously /usr/local/etc must be mounted at this point.
>
> Bear in mind that a local script that's ordered before
> early_late_divider is ignored.
>
>   

Cool, I need to learn about this and, from the looks of things, rcorder.
I suppose I just want to make sure that the /usr/local startup scripts
start last.

Thanks for your help!




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


-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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"


/etc/rc.conf and NFS

2010-03-15 Thread Joe Auty
Hello,

I have my /usr/local partition hosted on an NFS share which is mounted
at boot. Do you have any theories as to why my various services (Apache,
Postfix, MySQL) listed in /etc/rc.conf do not start up automatically at
boot, and I have to do this manually? When /usr/local is hosted locally
these services start up fine on their own at boot time.




-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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"


fstab NFS mount option recommendations

2010-03-13 Thread Joe Auty
Hello,

I'm presenting NFS shares to some FreeBSD VM guests with the following
mount options (from my /etc/fstab):

nfsserverip:mymount /mountdir  nfs 
rw,tcp,intr,noatime,nfsv3,-w=32768,-r=32768 0 0


This seems to work well, except I have to manually load MySQL, Apache,
and Postfix at boot time, as my /usr/local directory is hosted on my NFS
share on this test server (these start up normally when /usr/local
resides on a local hard drive). Is it generally a bad idea to host a
share like this on NFS? I'm thinking that it probably is and am happy to
serve this locally if this would be better. However, if this is not a
red flag and there is a way to get these services to start up on their
own at boot, could you please let me know?

How about the wsize and rsize numbers? I was unable to find any
resources for determining what these numbers best be set as for FreeBSD
as a VM guest. Any pointers?




Thanks in advance for your help!


-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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: fstab NFS mount option recommendations

2010-03-13 Thread Joe Auty
Forgot to add,

I also need to do some NFS mounts from my VM host which is hosted on
CentOS. I know that this isn't a Linux based list, but if you could
kindly keep the information about wsize and rsize numbers general enough
so that I can apply this knowledge to my Linux box, that would be great :)

A lot of online resources I've come across suggest using various
numbers, but I don't really understand how these number are derived or
if they are even necessary at all...


Joe Auty wrote:
> Hello,
>
> I'm presenting NFS shares to some FreeBSD VM guests with the following
> mount options (from my /etc/fstab):
>
> nfsserverip:mymount /mountdir  nfs 
> rw,tcp,intr,noatime,nfsv3,-w=32768,-r=32768 0 0
>
>
> This seems to work well, except I have to manually load MySQL, Apache,
> and Postfix at boot time, as my /usr/local directory is hosted on my
> NFS share on this test server (these start up normally when /usr/local
> resides on a local hard drive). Is it generally a bad idea to host a
> share like this on NFS? I'm thinking that it probably is and am happy
> to serve this locally if this would be better. However, if this is not
> a red flag and there is a way to get these services to start up on
> their own at boot, could you please let me know?
>
> How about the wsize and rsize numbers? I was unable to find any
> resources for determining what these numbers best be set as for
> FreeBSD as a VM guest. Any pointers?
>
>
>
>
> Thanks in advance for your help!
>
>
> -- 
> Joe Auty, NetMusician
> NetMusician helps musicians, bands and artists create beautiful,
> professional, custom designed, career-essential websites that are easy
> to maintain and to integrate with popular social networks.
> www.netmusician.org <http://www.netmusician.org>
> j...@netmusician.org <mailto:j...@netmusician.org>
>


-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
j...@netmusician.org <mailto:j...@netmusician.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: GCC/GCJ and pdftk

2009-06-05 Thread Joe Auty

Joe Auty wrote:

bf wrote:





However, I've also read in the pdftk port logs that gcj is included in
GCC 3.4+ when WITHOUT_JAVA in the GCC Makefile is set to no or commented
out. So, I compiled GCC with gcj support without a problem, and



Oh yes, did you? Really? How? Better look again.



Sorry, I forgot to answer the "how" part of this: I simply build GCC42 
with WITHOUT_JAVA set to no.





Yes, I did:

$ ls /usr/local/bin/gcj*
/usr/local/bin/gcj42 /usr/local/bin/gcjh42






commented out the NOT_FOR_ARCHS line above to force an install of pdftk:



===> pdftk-1.41 depends on executable: gmake - found
===> pdftk-1.41 depends on shared library: gcj - not found
===> Verifying install for gcj in /usr/ports/lang/gcc42
===> Returning to build of pdftk-1.41
Error: shared library "gcj" does not exist



gcj does indeed exist in /usr/ports/lang/gcc42:



# find /usr/ports/lang/gcc42 -name "gcj"
/usr/ports/lang/gcc42/work/gcc-4.2-20090325/libjava/gnu/gcj
/usr/ports/lang/gcc42/work/gcc-4.2-20090325/libjava/gcj
/usr/ports/lang/gcc42/work/build/gcc/gcj


The "gcj" that the port is searching for must be the appropriate
binary executable, or a link to it, and must be in your PATH. In this
case,
if properly installed via the port, it would be:

gcj42, gcj43, gcj44, or gcj45,

and would be in /usr/local/bin.



See above. The reason why I was thinking that for some reason it looks
for it in the port directory is the following in the Makefile:


# needs gcj
LIB_DEPENDS= gcj:${PORTSDIR}/lang/gcc${CSUFF}



Perhaps I'm just misinterpreting things... It's strange though that the
reason for pdftk not building seems to be that gcj does not compile on
amd64 systems, when this doesn't seem to be true. I've read about
problems with memory consumption of gcj, but I don't know if these still
remain true - these posts were rather old.

However, again, all of this is with huge accuracy caveats, I'm
definitely not confident with my piecing together of information here...



All that you have done is find what I suspect are empty directories in
the WRKDIR for the lang/gcc42 port. Consider the 'which' command; or
limiting the directories searched and the using of '-not -type d' if
employing 'find' in this way in the future.



Any suggestions as to what I can do to build pdftk? This particular
project will surely be much harder if I can't get pdftk
to>build/compile...


In the order of increasing effort:

1) Use a tool other than pdftk to manipulate your PDF files. pdftk is
just a wrapper around an old version of devel/itext, structured with
the idea of compiling it with gcj. You could just install Java and
use the more up-to-date devel/itext. Or use print/ghostscript8,
graphics/poppler, or print/xpdf, either directly or via one of the many
programs (for example, print/kpdftool) that use them to do the dirty
work.
Also textproc/p5-CAM-PDF, print/py-pdf, ...



I will definitely look at itext! I'm using FPDI to insert header stamps
into existing PDF files, and need something to rotate and merge PDFs.
I've looked at Ghostscript a little, but was really attracted to the
simplicity of doing this in pdftk. If you have any other suggestions of
solutions I could look into other than itext, I'd appreciate them! I'm
rather new to PDF manipulation...



2) Switch your system to i386 and use pdftk.

3) Find a way to build gcj on architectures other than i386, or persuade
or browbeat gerald@ into doing it. Debian has packages for other
architectures, for example. You could look at what they've done.


b.





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






--
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
j...@netmusician.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: GCC/GCJ and pdftk

2009-06-05 Thread Joe Auty

bf wrote:





However, I've also read in the pdftk port logs that gcj is included in
GCC 3.4+ when WITHOUT_JAVA in the GCC Makefile is set to no or commented
out. So, I compiled GCC with gcj support without a problem, and



Oh yes, did you?  Really?  How?  Better look again.



Yes, I did:

$ ls /usr/local/bin/gcj*
/usr/local/bin/gcj42/usr/local/bin/gcjh42






commented out the NOT_FOR_ARCHS line above to force an install of pdftk:



===>pdftk-1.41 depends on executable: gmake - found
===>pdftk-1.41 depends on shared library: gcj - not found
===> Verifying install for gcj in /usr/ports/lang/gcc42
===>Returning to build of pdftk-1.41
Error: shared library "gcj" does not exist



gcj does indeed exist in /usr/ports/lang/gcc42:



# find /usr/ports/lang/gcc42 -name "gcj"
/usr/ports/lang/gcc42/work/gcc-4.2-20090325/libjava/gnu/gcj
/usr/ports/lang/gcc42/work/gcc-4.2-20090325/libjava/gcj
/usr/ports/lang/gcc42/work/build/gcc/gcj


The "gcj" that the port is searching for must be the appropriate binary 
executable, or a link to it, and must be in your PATH.  In this case,
if properly installed via the port, it would be:

gcj42, gcj43, gcj44, or gcj45,

and would be in /usr/local/bin.



See above. The reason why I was thinking that for some reason it looks 
for it in the port directory is the following in the Makefile:



# needs gcj
LIB_DEPENDS=gcj:${PORTSDIR}/lang/gcc${CSUFF}



Perhaps I'm just misinterpreting things... It's strange though that the 
reason for pdftk not building seems to be that gcj does not compile on 
amd64 systems, when this doesn't seem to be true. I've read about 
problems with memory consumption of gcj, but I don't know if these still 
remain true - these posts were rather old.


However, again, all of this is with huge accuracy caveats, I'm 
definitely not confident with my piecing together of information here...




All that you have done is find what I suspect are empty directories in the 
WRKDIR for the lang/gcc42 port.  Consider the 'which' command; or limiting the 
directories searched and the using of '-not -type d' if employing 'find' in 
this way in the future.



Any suggestions as to what I can do to build pdftk? This particular
project will surely be much harder if I can't get pdftk to>build/compile...


In the order of increasing effort:

1) Use a tool other than pdftk to manipulate your PDF files. pdftk is
just a wrapper around an old version of devel/itext, structured with
the idea of compiling it with gcj.  You could just install Java and
use the more up-to-date devel/itext.  Or use print/ghostscript8,
graphics/poppler, or print/xpdf, either directly or via one of the many
programs (for example, print/kpdftool) that use them to do the dirty work.
Also textproc/p5-CAM-PDF, print/py-pdf, ...



I will definitely look at itext! I'm using FPDI to insert header stamps 
into existing PDF files, and need something to rotate and merge PDFs. 
I've looked at Ghostscript a little, but was really attracted to the 
simplicity of doing this in pdftk. If you have any other suggestions of 
solutions I could look into other than itext, I'd appreciate them! I'm 
rather new to PDF manipulation...




2) Switch your system to i386 and use pdftk.

3) Find a way to build gcj on architectures other than i386, or persuade
or browbeat gerald@ into doing it.  Debian has packages for other
architectures, for example.  You could look at what they've done.


b.





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



--
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
j...@netmusician.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"


GCC/GCJ and pdftk

2009-06-05 Thread Joe Auty

Hello,

I'm a little confused.

I need pdftk to compile on an amd64 system, and see in the pdftk 
Makefile the following:


> # gcj/libgcj don't exist on these platforms
> NOT_FOR_ARCHS= amd64 ia64 sparc64

However, I've also read in the pdftk port logs that gcj is included in 
GCC 3.4+ when WITHOUT_JAVA in the GCC Makefile is set to no or commented 
out. So, I compiled GCC with gcj support without a problem, and 
commented out the NOT_FOR_ARCHS line above to force an install of pdftk:


> ===>   pdftk-1.41 depends on executable: gmake - found
> ===>   pdftk-1.41 depends on shared library: gcj - not found
> ===>Verifying install for gcj in /usr/ports/lang/gcc42
> ===>   Returning to build of pdftk-1.41
> Error: shared library "gcj" does not exist

gcj does indeed exist in /usr/ports/lang/gcc42:

> # find /usr/ports/lang/gcc42 -name "gcj"
> /usr/ports/lang/gcc42/work/gcc-4.2-20090325/libjava/gnu/gcj
> /usr/ports/lang/gcc42/work/gcc-4.2-20090325/libjava/gcj
> /usr/ports/lang/gcc42/work/build/gcc/gcj


Any suggestions as to what I can do to build pdftk? This particular 
project will surely be much harder if I can't get pdftk to build/compile...


Thanks very much in advance!


--
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
j...@netmusician.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"


GCC/GCJ and pdftk

2009-06-05 Thread Joe Auty

Hello,

I'm a little confused.

I need pdftk to compile on an amd64 system, and see in the pdftk 
Makefile the following:



# gcj/libgcj don't exist on these platforms
NOT_FOR_ARCHS= amd64 ia64 sparc64


However, I've also read in the pdftk port logs that gcj is included in 
GCC 3.4+ when WITHOUT_JAVA in the GCC Makefile is set to no or commented 
out. So, I compiled GCC with gcj support without a problem, and 
commented out the NOT_FOR_ARCHS line above to force an install of pdftk:



===>   pdftk-1.41 depends on executable: gmake - found
===>   pdftk-1.41 depends on shared library: gcj - not found
===>Verifying install for gcj in /usr/ports/lang/gcc42
===>   Returning to build of pdftk-1.41
Error: shared library "gcj" does not exist


gcj does indeed exist in /usr/ports/lang/gcc42:


# find /usr/ports/lang/gcc42 -name "gcj"
/usr/ports/lang/gcc42/work/gcc-4.2-20090325/libjava/gnu/gcj
/usr/ports/lang/gcc42/work/gcc-4.2-20090325/libjava/gcj
/usr/ports/lang/gcc42/work/build/gcc/gcj



Any suggestions as to what I can do to build pdftk? This particular 
project will surely be much harder if I can't get pdftk to build/compile...


Thanks very much in advance!




--
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
j...@netmusician.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: error loading php5.so

2007-04-04 Thread Joe Auty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Joe Auty wrote:
> Kevin Kinsey wrote:
>> Joe Auty wrote:
>>>>> # apachectl start Syntax error on line 273 of
>>>>> /usr/local/etc/apache2/httpd.conf: Cannot load
>>>>> /usr/local/libexec/apache2/libphp5.so into server:
>>>>> /usr/local/libexec/apache2/libphp5.so: Undefined symbol
>>>>> "__res_ninit"
>>>>>
>>>>> This is occurring under FBSD 6.2 running the latest
>>>>> versions of Apache/PHP
>>>> Possibly looks as if PHP is unaware of Apache's existence?
>>>> (or at least it was at time of compile). How did you do the
>>>> upgrade?
>>>>
>>> Just via a simple portupgrade... doing a:
>>>
>>> portupgrade -f php5
>>>
>>> Does not correct this problem (although it does create a new
>>> libphp5.so). Any further ideas?
>> Well, I'm not absolutely certain of anything.  I'd make sure that
>>  "make config" under /usr/ports/lang/php5 indicated Apache module
>>  was to be built, and do something more like "-rR php5" instead
>> of "-f".  Did you add new "extensions" to php at the time of this
>>  build, also?
>
>> ??,
>
>> Kevin Kinsey
>
> I did not manually add any extensions... In fact, this error
> persists even with all of my extensions commented out in my
> extensions.ini file. Could this be connected to the major gettext
> upgrade?
>
>
> I'm doing a portupgrade -rRf php5 as we speak (this will take a
> good while to complete on this slower computer).
>


Okay, doing the portupgrade -rRf php5 has resolved this issue. I'm not
sure as to what it was, but for now I suppose I can be content in just
having it working since this is not a production machine.

Thanks for all your help!


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGFA5xCgdfeCwsL5ERAgocAJ9jld7nxkgOp3Qz0146+dNwlZzr8wCeNiKp
QQIhqksZD9BNWpsvJJ9Rjxs=
=K0Ma
-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: error loading php5.so

2007-04-04 Thread Joe Auty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kevin Kinsey wrote:
> Joe Auty wrote:
>>>> # apachectl start Syntax error on line 273 of
>>>> /usr/local/etc/apache2/httpd.conf: Cannot load
>>>> /usr/local/libexec/apache2/libphp5.so into server:
>>>> /usr/local/libexec/apache2/libphp5.so: Undefined symbol
>>>> "__res_ninit"
>>>>
>>>> This is occurring under FBSD 6.2 running the latest versions
>>>> of Apache/PHP
>>> Possibly looks as if PHP is unaware of Apache's existence? (or
>>> at least it was at time of compile). How did you do the
>>> upgrade?
>>>
>>
>> Just via a simple portupgrade... doing a:
>>
>> portupgrade -f php5
>>
>> Does not correct this problem (although it does create a new
>> libphp5.so). Any further ideas?
>
> Well, I'm not absolutely certain of anything.  I'd make sure that
> "make config" under /usr/ports/lang/php5 indicated Apache module
> was to be built, and do something more like "-rR php5" instead of
> "-f".  Did you add new "extensions" to php at the time of this
> build, also?
>
> ??,
>
> Kevin Kinsey

I did not manually add any extensions... In fact, this error persists
even with all of my extensions commented out in my extensions.ini
file. Could this be connected to the major gettext upgrade?


I'm doing a portupgrade -rRf php5 as we speak (this will take a good
while to complete on this slower computer).

Thanks again for your help!


- --
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGE81CCgdfeCwsL5ERAjRIAKCblUt5Wicoq0PqptRm50BlBnPVDgCffGQd
BjiwVOBtOvsrkrX1wMjeEZI=
=gFML
-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: error loading php5.so

2007-04-03 Thread Joe Auty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kevin Kinsey wrote:
> Joe Auty wrote:
>>
>> # apachectl start Syntax error on line 273 of
>> /usr/local/etc/apache2/httpd.conf: Cannot load
>> /usr/local/libexec/apache2/libphp5.so into server:
>> /usr/local/libexec/apache2/libphp5.so: Undefined symbol
>> "__res_ninit"
>>
>> This is occurring under FBSD 6.2 running the latest versions of
>> Apache/PHP
>
> Possibly looks as if PHP is unaware of Apache's existence? (or at
> least it was at time of compile). How did you do the upgrade?
>

Just via a simple portupgrade... doing a:

portupgrade -f php5

Does not correct this problem (although it does create a new
libphp5.so). Any further ideas?

- --
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGEqOACgdfeCwsL5ERAjxfAJoDH2nnK1T3yH6PsHtEYlVwW2RPBACgjtJz
mv42QoL76+kHw4AJwZLUOJo=
=iz/w
-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]"


error loading php5.so

2007-04-02 Thread Joe Auty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Anybody see this error before?

# apachectl start
Syntax error on line 273 of /usr/local/etc/apache2/httpd.conf:
Cannot load /usr/local/libexec/apache2/libphp5.so into server:
/usr/local/libexec/apache2/libphp5.so: Undefined symbol "__res_ninit"


This is occurring under FBSD 6.2 running the latest versions of Apache/PHP

- --
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGEUsiCgdfeCwsL5ERAoSOAJ4rMtiZ0HMUIZYvtLzLg4D/cj5hgQCfb8Us
gUokor6Xt50UcU8GgfGMojU=
=odrU
-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: kernel panic at boot on any 6.x OS *SOLVED!*

2007-02-26 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sort of...

Thanks for everybody that has helped me!

It turns out I had a couple of rc.d scripts in /usr/local/etc/rc.d  
that were doing kldloads: rtc.sh and kqemu.sh - one of these was  
causing the panic. It might be worthwhile adding to the world rebuild  
doc a suggestion to grep kldload /usr/local/etc/rc.d and disable/ 
remove these services... Or, simply moving /usr/local/etc/rc.d might  
also be worthwhile test.


I guess the trick here was not considering that user space apps would  
be trying to do a kldload, and that calling upon a module that is  
either missing in /boot/kernel or /boot/modules or resides outside  
of /boot can trigger these panics.


Always the most simple of solutions that kicks you in the ass, isn't  
it? =)



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFF4894CgdfeCwsL5ERAlvfAKCiLEGZMTsGonn0OrdlTTMCp9GeZACePQ2V
WCwXuHBFh/FOVsDJLa84Yks=
=85PR
-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: kernel panic at boot on any 6.x OS

2007-02-26 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Unfortunately, my /boot/modules is already empty =(

On Feb 26, 2007, at 9:51 PM, Kip Macy wrote:


It looks like it may be loading an out of sync kernel module. Cleaning
out /boot/modules might help.

   -Kip

On 2/26/07, Joe Auty <[EMAIL PROTECTED]> wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Well,

My system does boot off of disc 1 of the FreeBSD 6.2 CD. However,
even when copying the /boot directory from the CD to my machine, it
still produces the same kernel panic, even when starting in safe
mode. I've run a memtest, and it checked out fine.

There must be something in my user space or world that it barfs on. I
guess I will try a clean install and rebuild at some point...

If you have any other ideas, I'm all ears!

Here is my error message again (with verbose logging enabled,
although that has no effect on this output):


> WARNING: Device driver "
>
> Fatal trap 12: page fault while in kernel mode
> fault virtual address = 0x40
> fault code = supervisor read, page not present
> instruction pointer = 0x20:0xc06d4614
> stack pointer = 0x28:0xf015491c
> frame pointer = 0x28:0xf015491c
> code segment = base 0x0, limit 0xff, type 0x1b
>= DPL 0, pres 1, def32 1, gran 1
> processor eflags = interupt enabled, resume, IOPL = 0
> current process = 898 (kldload)
> trap number = 12
> panic: page fault
> uptime: 36s
> cannot dump. No dump device defined
> automatic reboot in 15 seconds


Thanks again for your time!


- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD4DBQFF42FSCgdfeCwsL5ERArNQAJ9pEyu3ZT3BXe4YhEsgRsid6fB+SwCXeGjO
fO0GeeBUPKKYq4N5rRHDTw==
=PgI8
-END PGP SIGNATURE-


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


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFF47d2CgdfeCwsL5ERAg/iAKCLVp7f+SB/f2xbT43lu4IeQWJxuACfa+L1
tpwQkQetPAVf53uCTA3hr6A=
=ej7q
-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: kernel panic at boot on any 6.x OS

2007-02-26 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Well,

My system does boot off of disc 1 of the FreeBSD 6.2 CD. However,  
even when copying the /boot directory from the CD to my machine, it  
still produces the same kernel panic, even when starting in safe  
mode. I've run a memtest, and it checked out fine.


There must be something in my user space or world that it barfs on. I  
guess I will try a clean install and rebuild at some point...


If you have any other ideas, I'm all ears!

Here is my error message again (with verbose logging enabled,  
although that has no effect on this output):




WARNING: Device driver "

Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x40
fault code = supervisor read, page not present
instruction pointer = 0x20:0xc06d4614
stack pointer = 0x28:0xf015491c
frame pointer = 0x28:0xf015491c
code segment = base 0x0, limit 0xff, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
processor eflags = interupt enabled, resume, IOPL = 0
current process = 898 (kldload)
trap number = 12
panic: page fault
uptime: 36s
cannot dump. No dump device defined
automatic reboot in 15 seconds



Thanks again for your time!


- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD4DBQFF42FSCgdfeCwsL5ERArNQAJ9pEyu3ZT3BXe4YhEsgRsid6fB+SwCXeGjO
fO0GeeBUPKKYq4N5rRHDTw==
=PgI8
-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: kernel panic at boot on any 6.x OS

2007-02-26 Thread Joe Auty


On Feb 26, 2007, at 8:01 AM, Ted Mittelstaedt wrote:



- Original Message -
From: "Joe Auty" <[EMAIL PROTECTED]>
To: "Ted Mittelstaedt" <[EMAIL PROTECTED]>
Cc: "Daan Vreeken [PA4DAN]" <[EMAIL PROTECTED]>; "Kip Macy"
<[EMAIL PROTECTED]>; ;

Sent: Sunday, February 25, 2007 10:39 PM
Subject: Re: kernel panic at boot on any 6.x OS



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Feb 25, 2007, at 7:56 PM, Ted Mittelstaedt wrote:



- Original Message -
From: "Joe Auty" <[EMAIL PROTECTED]>
To: "Daan Vreeken [PA4DAN]" <[EMAIL PROTECTED]>
Cc: "Kip Macy" <[EMAIL PROTECTED]>; [EMAIL PROTECTED]>;


Sent: Sunday, February 25, 2007 8:14 AM
Subject: Re: kernel panic at boot on any 6.x OS




Any idea how this could have happened after disabling everything in
my /etc/loader.conf, and simply running a:

make buildworld
make buildkernel KERNCONF=myconfig
make installkernel KERNCONF=myconfig



well your supposed to do this single-user, run mergemaster and a
few other
things.
I also don't see a make installworld.



I usually perform those steps after I've rebooted to ensure that my
system will boot off the new kernel, as per the instructions in the
FreeBSD handbook.


Joe, please try booting from a 6.2-release install ISO.  If it
works without
panicing,
then you did something wrong during the upgrade.



Downloading the image now, I'll let you know if I'm able to boot from
it...


Since by your own admission your not an expert, you would be well
advised
to simply back up your files the old fashioned way, reformat your
hard disk,
install from a 6.2 boot ISO, then restore your files.  Leave the  
fancy

in-place
updating to someone else.  It's a big PIA and doesen't work half
the time
anyway.




How well does simply upgrading with the CD work (as opposed to wiping
clean)? I've upgraded several times to new releases simply by
rebuilding world, it has never failed me in the past. I don't doubt
what you are saying here, but since I will have to change how I work,
assuming that I can boot off of the 6.2 CD, I'd appreciate any
general upgrade tips that don't involve wiping the disk clean (which
is not really an option).



If wiping the disk really isn't an option then you have one or more  
of the

following
problems:

1) Production system with a lack of hardware spares

2) inadequate backup plan and execution.

People who state that wiping the disk isn't an option are screaming
at the top of their lungs for the hardware gremlins to explain what  
MTBF is

all about.

The gremlins will visit you, I guarentee.  And they always pick the  
very

best
times for it too.  I just hope (if this is your workplace) that  
your job

survives.



My production system is backed up daily to two different sites,  
that's not an issue. The system I'm thinking of upgrading to 6.2 is  
my test server I run out of my house that stores movie files and  
other non-essential files. Technically, wiping it clean *would* be an  
option if it came down to it, just an inconvenience. Perhaps I should  
invest in another HD to use for instances such as this.




For instance, is rebuilding world between point releases (e.g. 5.4 to
5.5) an okay idea, compared to across major releases (e.g. 5.5 to  
6.2)?



I'll do my own homework regarding this too, but I appreciate any
nuggets of wisdom you might have! As far as me being an expert, I
guess I'd categorize me somewhere in between complete newb and
FreeBSD developer =)



The problem is that all of the ports and packages that you put on a  
server
change from release to release.  The developers of openssl, for  
example,

don't give a tinkers damn about how FreeBSD's upgrade process works,
when they are making changes in their code.

I run a number of FreeBSD servers and what I do is simply keep them  
patched

with security updates.  Every once in a while a security hole will be
discovered in a non-core program and if it's serious enough I'll go  
into the

port
and do a "make deinstall" followed by downloading and compiling the  
program
the "old fashioned way"  I shoot for a min of 3 years on the OS  
before even

thinking about updating, and when it's time to update the hardware has
generally reached the old rag stage anyway.




Do you run any non-production machines where you test running newer  
OSes and test software updates and such?







---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[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: PHP 5.2.1 and the hard time with vbulletin 3.6.4

2007-02-25 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Have you recompiled all PHP extensions too?

I believe the php5-pcre extension might handle perl regular  
expressions (preg_replace) in PHP.



On Feb 26, 2007, at 1:20 AM, Abdullah Ibn Hamad Al-Marri wrote:


Hello,

I just used portupgrade -f last night.

Here is the error I got when I upgrade to PHP 5.2.1_2 when I try to
log to the admin Area.

Warning: preg_replace() [function.preg-replace]: Compilation failed:
lookbehind assertion is not fixed length at offset 13 in
/includes/functions_login.php on line 40

Here when I try to go to advanced reply.

Warning: preg_replace() [function.preg-replace]: Compilation failed:
lookbehind assertion is not fixed length at offset 8 in
/includes/functions_wysiwyg.php on line 149

Fatal error: Maximum execution time of 90 seconds exceeded in
/usr/home/bbwww/www/includes/functions_wysiwyg.php on line 189

I'm using FreeBSD 6.2, Apache 2.3.4, and PHP 5.2.1_2

Thanks in advance for your kind help.

PS: could someone give the syntax to use portdowngrade to to downgrade
PHP to PHP  5.2.0 date 20 Jan 2007 09:17:33
--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFF4oFWCgdfeCwsL5ERAqkYAJsFZPwC2dejb5ba2+4+PKG7LIzXhQCfZog9
I2X7Grc/l3c2WwWDO/flvYQ=
=ERCu
-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: kernel panic at boot on any 6.x OS

2007-02-25 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Feb 25, 2007, at 7:56 PM, Ted Mittelstaedt wrote:



- Original Message -
From: "Joe Auty" <[EMAIL PROTECTED]>
To: "Daan Vreeken [PA4DAN]" <[EMAIL PROTECTED]>
Cc: "Kip Macy" <[EMAIL PROTECTED]>; ;

Sent: Sunday, February 25, 2007 8:14 AM
Subject: Re: kernel panic at boot on any 6.x OS




Any idea how this could have happened after disabling everything in
my /etc/loader.conf, and simply running a:

make buildworld
make buildkernel KERNCONF=myconfig
make installkernel KERNCONF=myconfig



well your supposed to do this single-user, run mergemaster and a  
few other

things.
I also don't see a make installworld.



I usually perform those steps after I've rebooted to ensure that my  
system will boot off the new kernel, as per the instructions in the  
FreeBSD handbook.


Joe, please try booting from a 6.2-release install ISO.  If it  
works without

panicing,
then you did something wrong during the upgrade.



Downloading the image now, I'll let you know if I'm able to boot from  
it...


Since by your own admission your not an expert, you would be well  
advised
to simply back up your files the old fashioned way, reformat your  
hard disk,

install from a 6.2 boot ISO, then restore your files.  Leave the fancy
in-place
updating to someone else.  It's a big PIA and doesen't work half  
the time

anyway.




How well does simply upgrading with the CD work (as opposed to wiping  
clean)? I've upgraded several times to new releases simply by  
rebuilding world, it has never failed me in the past. I don't doubt  
what you are saying here, but since I will have to change how I work,  
assuming that I can boot off of the 6.2 CD, I'd appreciate any  
general upgrade tips that don't involve wiping the disk clean (which  
is not really an option).


For instance, is rebuilding world between point releases (e.g. 5.4 to  
5.5) an okay idea, compared to across major releases (e.g. 5.5 to 6.2)?



I'll do my own homework regarding this too, but I appreciate any  
nuggets of wisdom you might have! As far as me being an expert, I  
guess I'd categorize me somewhere in between complete newb and  
FreeBSD developer =)




Thanks again!






- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFF4oC3CgdfeCwsL5ERAj3vAJ9bMYSj33hg/jU5jU6RyIjXqJ/YLwCfVumh
FsunyXJGMjXHEHKso7xWzcI=
=0p6j
-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: kernel panic at boot on any 6.x OS

2007-02-25 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Feb 25, 2007, at 11:14 AM, Joe Auty wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Feb 25, 2007, at 5:46 AM, Daan Vreeken [PA4DAN] wrote:


On Sunday 25 February 2007 08:59, Kip Macy wrote:
It looks as if you've hit a device driver that is trying to print  
out

a null string. The message you've given doesn't provide any more
information than that. If you install a snapshot kernel it will
probably have ddb compiled in which will allow you to at least get a
backtrace. I'm sorry you're having trouble.


Grepping the source tree on 6.2-RELEASE shows this message can  
only have com

from one place : sys/kern/kern_conf.c in the function prep_cdevsw() :

if (devsw->d_version != D_VERSION_01) {
printf(
"WARNING: Device driver \"%s\" has wrong  
version %s\n",

devsw->d_name == NULL ? "???" : devsw->d_name,
"and is disabled.  Recompile KLD module.");

Looks like the kernel and the modules are out of sync.



Any idea how this could have happened after disabling everything in  
my /etc/loader.conf, and simply running a:


make buildworld
make buildkernel KERNCONF=myconfig
make installkernel KERNCONF=myconfig


Shouldn't this have installed a fresh kernel plus only essential  
modules?


Here is a diff of my kernel config (which I've called, rather  
uncreatively, 6.x) against GENERIC:


nothing unusual, just IPFIREWALL and Linux compat stuff, right?



Forgot to add that I believe I've also tried building a GENERIC  
kernel and ran into this same problem. It's been a while since I  
tried this though, so I'll gladly try this again if you think it  
would be a useful test! =)










# diff 6.x GENERIC
19c19
< # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.7.2.2 2006/05/01  
00:15:12 scottl Exp $

- ---
> # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.13 2006/10/09  
18:41:36 simon Exp $

30,42c30
< options IPFIREWALL
< options IPFIREWALL_VERBOSE
< options IPFIREWALL_VERBOSE_LIMIT=10
< options IPFIREWALL_DEFAULT_TO_ACCEPT
< options IPDIVERT
< #options VFS_AIO
< #options HZ=1200
< #options SMP # Symmetric  
MultiProcessor Kernel

< #device  pf
< #device  pflog
< #device  pfsync
< options COMPAT_LINUX
< options BRIDGE
- ---
> makeoptions   DEBUG=-g# Build kernel with gdb(1)  
debug symbols

44,49d31
< # Enable the linux-like proc filesystem support (requires  
COMPAT_LINUX and PSEUDOFS)

< options LINPROCFS
<
< #makeoptions  DEBUG=-g# Build kernel with gdb(1)  
debug symbols

<
< #options  SCHED_ULE   # ULE scheduler
77,80d58
< options   AHC_REG_PRETTY_PRINT# Print register bitfields  
in debug
<   # output.  Adds ~128k to  
driver.
< options   AHD_REG_PRETTY_PRINT# Print register bitfields  
in debug
<   # output.  Adds ~215k to  
driver.

103a82,83
> options   AHC_REG_PRETTY_PRINT# Print register bitfields  
in debug
>   # output.  Adds ~128k to  
driver.

104a85,86
> options   AHD_REG_PRETTY_PRINT# Print register bitfields  
in debug
>   # output.  Adds ~215k to  
driver.

226a209
> devicestge# Sundance/Tamarack TC9021  
gigabit Ethernet

248a232,234
> devicewlan_wep# 802.11 WEP support
> devicewlan_ccmp   # 802.11 CCMP support
> devicewlan_tkip   # 802.11 TKIP support
249a236,238
> deviceath # Atheros pci/cardbus NIC's
> deviceath_hal # Atheros HAL (Hardware  
Access Layer)
> deviceath_rate_sample # SampleRate tx rate  
control for ath










On 2/24/07, Joe Auty <[EMAIL PROTECTED]> wrote:

Hello,

(sorry, don't know whether kernel problems should go to  
questions or

hackers, or both)..

This has been a long-standing problem of mine, but I always ignored
it hoping it would go away on its own with a future 6.x release,  
but

it remains...

No matter whether I boot into safe mode or regular mode, with all
kernel extensions disabled in /boot/loader.conf, I get the  
following

panic late at boot of a fresh RELENG_6_2 kernel (with only a few
services left to bring up). The 6.x kernels I've tried all build  
and

installed cleanly without any errors...


WARNING: Device driver "

Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x40
fault code = supervisor read, page not present
instruction pointer = 0x20:0xc06d461

Re: kernel panic at boot on any 6.x OS

2007-02-25 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Feb 25, 2007, at 5:46 AM, Daan Vreeken [PA4DAN] wrote:


On Sunday 25 February 2007 08:59, Kip Macy wrote:

It looks as if you've hit a device driver that is trying to print out
a null string. The message you've given doesn't provide any more
information than that. If you install a snapshot kernel it will
probably have ddb compiled in which will allow you to at least get a
backtrace. I'm sorry you're having trouble.


Grepping the source tree on 6.2-RELEASE shows this message can only  
have com

from one place : sys/kern/kern_conf.c in the function prep_cdevsw() :

if (devsw->d_version != D_VERSION_01) {
printf(
"WARNING: Device driver \"%s\" has wrong  
version %s\n",

devsw->d_name == NULL ? "???" : devsw->d_name,
"and is disabled.  Recompile KLD module.");

Looks like the kernel and the modules are out of sync.



Any idea how this could have happened after disabling everything in  
my /etc/loader.conf, and simply running a:


make buildworld
make buildkernel KERNCONF=myconfig
make installkernel KERNCONF=myconfig


Shouldn't this have installed a fresh kernel plus only essential  
modules?


Here is a diff of my kernel config (which I've called, rather  
uncreatively, 6.x) against GENERIC:


nothing unusual, just IPFIREWALL and Linux compat stuff, right?



# diff 6.x GENERIC
19c19
< # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.7.2.2 2006/05/01  
00:15:12 scottl Exp $

- ---
> # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.13 2006/10/09  
18:41:36 simon Exp $

30,42c30
< options IPFIREWALL
< options IPFIREWALL_VERBOSE
< options IPFIREWALL_VERBOSE_LIMIT=10
< options IPFIREWALL_DEFAULT_TO_ACCEPT
< options IPDIVERT
< #options VFS_AIO
< #options HZ=1200
< #options SMP # Symmetric MultiProcessor  
Kernel

< #device  pf
< #device  pflog
< #device  pfsync
< options COMPAT_LINUX
< options BRIDGE
- ---
> makeoptions   DEBUG=-g# Build kernel with gdb(1)  
debug symbols

44,49d31
< # Enable the linux-like proc filesystem support (requires  
COMPAT_LINUX and PSEUDOFS)

< options LINPROCFS
<
< #makeoptions  DEBUG=-g# Build kernel with gdb(1)  
debug symbols

<
< #options  SCHED_ULE   # ULE scheduler
77,80d58
< options   AHC_REG_PRETTY_PRINT# Print register bitfields in  
debug

<   # output.  Adds ~128k to driver.
< options   AHD_REG_PRETTY_PRINT# Print register bitfields in  
debug

<   # output.  Adds ~215k to driver.
103a82,83
> options   AHC_REG_PRETTY_PRINT# Print register bitfields  
in debug
>   # output.  Adds ~128k to  
driver.

104a85,86
> options   AHD_REG_PRETTY_PRINT# Print register bitfields  
in debug
>   # output.  Adds ~215k to  
driver.

226a209
> devicestge# Sundance/Tamarack TC9021  
gigabit Ethernet

248a232,234
> devicewlan_wep# 802.11 WEP support
> devicewlan_ccmp   # 802.11 CCMP support
> devicewlan_tkip   # 802.11 TKIP support
249a236,238
> deviceath # Atheros pci/cardbus NIC's
> deviceath_hal # Atheros HAL (Hardware  
Access Layer)
> deviceath_rate_sample # SampleRate tx rate control  
for ath










On 2/24/07, Joe Auty <[EMAIL PROTECTED]> wrote:

Hello,

(sorry, don't know whether kernel problems should go to questions or
hackers, or both)..

This has been a long-standing problem of mine, but I always ignored
it hoping it would go away on its own with a future 6.x release, but
it remains...

No matter whether I boot into safe mode or regular mode, with all
kernel extensions disabled in /boot/loader.conf, I get the following
panic late at boot of a fresh RELENG_6_2 kernel (with only a few
services left to bring up). The 6.x kernels I've tried all build and
installed cleanly without any errors...


WARNING: Device driver "

Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x40
fault code = supervisor read, page not present
instruction pointer = 0x20:0xc06d4614
stack pointer = 0x28:0xf015491c
frame pointer = 0x28:0xf015491c
code segment = base 0x0, limit 0xff, type 0x1b
   = DPL 0, pres 1, def32 1, gran 1
processor eflags = interupt enabled, resume, IOPL = 0
current process = 898 (kldload)
trap number = 12
panic: page fault
uptime: 36s
cannot dump. No dump device defined
automatic reboot in 15 seconds


Thi

Re: kernel panic at boot on any 6.x OS

2007-02-25 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hey Kip,

I'd gladly try a snapshot kernel, but I'm not sure which one to pick  
out of this list:


ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/6.2-RELEASE/kernels

Any suggestions?



On Feb 25, 2007, at 2:59 AM, Kip Macy wrote:


It looks as if you've hit a device driver that is trying to print out
a null string. The message you've given doesn't provide any more
information than that. If you install a snapshot kernel it will
probably have ddb compiled in which will allow you to at least get a
backtrace. I'm sorry you're having trouble.

-Kip




On 2/24/07, Joe Auty <[EMAIL PROTECTED]> wrote:

Hello,

(sorry, don't know whether kernel problems should go to questions or
hackers, or both)..

This has been a long-standing problem of mine, but I always ignored
it hoping it would go away on its own with a future 6.x release, but
it remains...

No matter whether I boot into safe mode or regular mode, with all
kernel extensions disabled in /boot/loader.conf, I get the following
panic late at boot of a fresh RELENG_6_2 kernel (with only a few
services left to bring up). The 6.x kernels I've tried all build and
installed cleanly without any errors...


> WARNING: Device driver "
>
> Fatal trap 12: page fault while in kernel mode
> fault virtual address = 0x40
> fault code = supervisor read, page not present
> instruction pointer = 0x20:0xc06d4614
> stack pointer = 0x28:0xf015491c
> frame pointer = 0x28:0xf015491c
> code segment = base 0x0, limit 0xff, type 0x1b
>= DPL 0, pres 1, def32 1, gran 1
> processor eflags = interupt enabled, resume, IOPL = 0
> current process = 898 (kldload)
> trap number = 12
> panic: page fault
> uptime: 36s
> cannot dump. No dump device defined
> automatic reboot in 15 seconds


This problem does not occur within any 5.x OS for me. I would
certainly like to resolve this issue now, but this sort of debugging
is over my head beyond running fsck (which I've tried). Any ideas  
here?


Thanks in advance for your help!





---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]





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


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFF4bZMCgdfeCwsL5ERAv0zAJ4zRjih+XoXGjF8Bc4hd2Yj7I0WNQCfeEb5
5mLoo1jTuYnJpa2z1EJqbUY=
=Jwsg
-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: kernel panic at boot on any 6.x OS

2007-02-25 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Feb 25, 2007, at 3:01 AM, LI Xin wrote:


Hi,

Joe Auty wrote:
This problem does not occur within any 5.x OS for me. I would  
certainly

like to resolve this issue now, but this sort of debugging is over my
head beyond running fsck (which I've tried). Any ideas here?


Which .ko are you trying to load?  try removing them and see if things
changes?




I've disabled all third party modules (this happens when I boot in  
safe mode too). The modules that are being loaded are whatever  
modules are installed after a:


make buildworld
make buildkernel KERNCONF=myconfig
make installkernel KERNCONF=myconfig

Does this reveal anything useful?







- -------
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFF4bSSCgdfeCwsL5ERAmi0AKCKu0DwEP1JtUuAkhj5O85sKDYlqwCeOWbz
NQvULu8I/0B/EBesXo+mtjQ=
=S3Mo
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd-hackers list dead?

2007-02-24 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On Feb 25, 2007, at 2:46 AM, Dan Nelson wrote:


In the last episode (Feb 25), Joe Auty said:

Is the absence of the hackers list a known problem/reality at this
point?

Feb 25 02:23:51 netmusician postfix/smtp[17122]: 14E317E8DB:
to=, relay=mx1.freebsd.org 
[69.147.83.52]:

25, delay=0.91, delays=0.13/0.06/0.51/0.2, dsn=4.7.1, status=deferred
(host mx1.freebsd.org[69.147.83.52] said: 450 4.7.1 : Recipient address rejected: Service is
unavailable (in reply to RCPT TO command))


My guess is they're using some sort of greylisting but don't actually
put that fact in the error message.  Since it's a 4xx-class error,  
your

server should retry it and it should get delivered then.




It appears that you are right

Strange, I've never seen a graylist work this way before... makes  
sense though, and I knew that a 450 meant my message was only  
deferred, but I don't think I've ever gotten a 450 from Questions


Thanks for your help!




- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFF4UHDCgdfeCwsL5ERArIaAKCWUWrWQ8X2G8QntZYX6JZ3SSQuIQCfSv7X
a6n2O6dAJ1NRWFVdCzbmW/s=
=OQqQ
-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-hackers list dead?

2007-02-24 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is the absence of the hackers list a known problem/reality at this  
point?


Feb 25 02:23:51 netmusician postfix/smtp[17122]: 14E317E8DB:  
to=, relay=mx1.freebsd.org[69.147.83.52]: 
25, delay=0.91, delays=0.13/0.06/0.51/0.2, dsn=4.7.1, status=deferred  
(host mx1.freebsd.org[69.147.83.52] said: 450 4.7.1 [EMAIL PROTECTED]>: Recipient address rejected: Service is  
unavailable (in reply to RCPT TO command))




I'm trying to report a kernel bug, and this list seemed like the most  
appropriate match in the list of available lists (http:// 
lists.freebsd.org/mailman/listinfo). Is this not the most appropriate  
place to report such a bug? I've also reported it to this list just  
now, I hope this was appropriate...


I'm happy to be routed to another list which might be better suited  
for my problem (subject: kernel panic at boot on any 6.x OS)


Thanks!



- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFF4TuaCgdfeCwsL5ERAkN9AJ9YAqlhv1zURRBD2maV6LC4U4EIUwCfbz5t
FScxGgGtXWiJXPBvyslI2E8=
=ott7
-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]"


kernel panic at boot on any 6.x OS

2007-02-24 Thread Joe Auty

Hello,

(sorry, don't know whether kernel problems should go to questions or  
hackers, or both)..


This has been a long-standing problem of mine, but I always ignored  
it hoping it would go away on its own with a future 6.x release, but  
it remains...


No matter whether I boot into safe mode or regular mode, with all  
kernel extensions disabled in /boot/loader.conf, I get the following  
panic late at boot of a fresh RELENG_6_2 kernel (with only a few  
services left to bring up). The 6.x kernels I've tried all build and  
installed cleanly without any errors...




WARNING: Device driver "

Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x40
fault code = supervisor read, page not present
instruction pointer = 0x20:0xc06d4614
stack pointer = 0x28:0xf015491c
frame pointer = 0x28:0xf015491c
code segment = base 0x0, limit 0xff, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
processor eflags = interupt enabled, resume, IOPL = 0
current process = 898 (kldload)
trap number = 12
panic: page fault
uptime: 36s
cannot dump. No dump device defined
automatic reboot in 15 seconds



This problem does not occur within any 5.x OS for me. I would  
certainly like to resolve this issue now, but this sort of debugging  
is over my head beyond running fsck (which I've tried). Any ideas here?


Thanks in advance for your help!





---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


Re: freebsd-update

2007-02-23 Thread Joe Auty

Hello,

Could somebody kindly clarify my question about freebsd-update  
branches? I'd really appreciate it!


Thanks in advance!



On Feb 20, 2007, at 11:01 AM, Joe Auty wrote:

I just discovered freebsd-update, and one thing I'm not sure of  
based on both the freebsd-update website and manpage is whether  
specifying a branch is necessary after I've recompiled world in the  
past if no kerberos/crypt related options are present in make.conf  
overriding the defaults? Is the specification of the branch only  
necessary if you want to abide by your make.conf overrides, and if  
you have none, the branch argument is optional?









---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


Xen status

2007-02-21 Thread Joe Auty

Hello,

Will Xen run as a guest OS in FreeBSD 5.5?

The information on this page is a little ambiguous:

http://wiki.xensource.com/xenwiki/OSCompatibility







---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[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: freebsd-update

2007-02-20 Thread Joe Auty

Hi Colin,

I just discovered freebsd-update, and one thing I'm not sure of based  
on both the freebsd-update website and manpage is whether specifying  
a branch is necessary after I've recompiled world in the past if no  
kerberos/crypt related options are present in make.conf overriding  
the defaults? Is the specification of the branch only necessary if  
you want to abide by your make.conf overrides, and if you have none,  
the branch argument is optional?




On Jan 21, 2007, at 6:54 PM, Colin Percival wrote:


eoghan wrote:

Hi
I am trying to run the freebsd-update, so as root I do:
/usr/local/sbin/freebsd-update fetch
And I get:
Fetching public key...
fetch: http://update.daemonology.net/amd64/6.1/pub.key: Not Found


Updates aren't being built for amd64 for the version of FreeBSD Update
in the ports tree.  If you upgrade to FreeBSD 6.2, you can use the
version of FreeBSD Update which it contains (for which amd64 updates
are being built).

Colin Percival
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[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: Internet Explorer on FreeBSD

2007-02-19 Thread Joe Auty
What is the status of getting Xen on FreeBSD? It's a shame that an  
emulator is required to run Windows on the same architecture. Does  
Qemu virtualized on x86 hardware?



On Feb 19, 2007, at 9:06 AM, Tom Grove wrote:


Bill Moran wrote:

"Kevin Downey" <[EMAIL PROTECTED]> wrote:

I do a bit of web dev stuff so it would be nice to be able to see  
the

page in IE.
A website I use for work uses ActiveX.
I hate dual booting.
What is the best(easiest) way to run ie on freebsd?



In addition to everything else that's been suggested, give qemu
a try.  It's rather slow, but I use it often for an app we need
that only runs on widows.


qemu is nice and kqemu is also now open source.  You could give  
Win4BSD a shot...it is $50.00 but I use if for all things Windows  
at work.

-Tom
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[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: RT36 port WITH_APACHE2

2007-02-13 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I figured this out,

My pkgtools.conf make args needed to read:


MAKE_ARGS = {

'www/rt36' => '-DWITH_APACHE2'
  }


rather than:


MAKE_ARGS = {

'www/rt36' => 'WITH_APACHE2'
  }



Why is it that some make arguments in this file need the -D while  
some don't? Hmmm.




On Feb 12, 2007, at 9:03 PM, Joe Auty wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Anybody?

Why would the pkgtools.conf make args not work while throwing in a - 
D to a manual make command in the ports tree works?



On Feb 12, 2007, at 2:36 AM, Joe Auty wrote:


Hello,

Why is it that when I:

cd /usr/ports/www/rt36
make -DWITH_APACHE2


This works fine, but when I add:

 MAKE_ARGS = {

'www/rt36' => 'WITH_APACHE2'
  }


to my /usr/local/etc/pkgtools.conf and do a portupgrade -f rt, I get:

# portupgrade -f rt
--->  Reinstalling 'rt-3.6.3' (www/rt36)
--->  Building '/usr/ports/www/rt36' with make flags: WITH_APACHE2
make: don't know how to make WITH_APACHE2. Stop
** Listing the failed packages (*:skipped / !:failed)
! www/rt36 (rt-3.6.3)   (clean error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed






---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFF0RyNCgdfeCwsL5ERAj4HAKCjw54u2ikFoT96ff2X/JDMB6qbNgCgir25
/Dkmsa9kzE4rLq+vNbAxBlc=
=zSg2
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFF0pHXCgdfeCwsL5ERAppVAJ0a4zL85uHVKEVqWadnTBxOdJt1NQCeNiLl
q/SV779NHAZMVsFIk/jokSE=
=zP+2
-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: RT36 port WITH_APACHE2

2007-02-12 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Anybody?

Why would the pkgtools.conf make args not work while throwing in a - 
D to a manual make command in the ports tree works?



On Feb 12, 2007, at 2:36 AM, Joe Auty wrote:


Hello,

Why is it that when I:

cd /usr/ports/www/rt36
make -DWITH_APACHE2


This works fine, but when I add:

 MAKE_ARGS = {

'www/rt36' => 'WITH_APACHE2'
  }


to my /usr/local/etc/pkgtools.conf and do a portupgrade -f rt, I get:

# portupgrade -f rt
--->  Reinstalling 'rt-3.6.3' (www/rt36)
--->  Building '/usr/ports/www/rt36' with make flags: WITH_APACHE2
make: don't know how to make WITH_APACHE2. Stop
** Listing the failed packages (*:skipped / !:failed)
! www/rt36 (rt-3.6.3)   (clean error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed






---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFF0RyNCgdfeCwsL5ERAj4HAKCjw54u2ikFoT96ff2X/JDMB6qbNgCgir25
/Dkmsa9kzE4rLq+vNbAxBlc=
=zSg2
-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]"


RT36 port WITH_APACHE2

2007-02-11 Thread Joe Auty

Hello,

Why is it that when I:

cd /usr/ports/www/rt36
make -DWITH_APACHE2


This works fine, but when I add:

 MAKE_ARGS = {

'www/rt36' => 'WITH_APACHE2'
  }


to my /usr/local/etc/pkgtools.conf and do a portupgrade -f rt, I get:

# portupgrade -f rt
--->  Reinstalling 'rt-3.6.3' (www/rt36)
--->  Building '/usr/ports/www/rt36' with make flags: WITH_APACHE2
make: don't know how to make WITH_APACHE2. Stop
** Listing the failed packages (*:skipped / !:failed)
! www/rt36 (rt-3.6.3)   (clean error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed






---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


Re: Sorta OT - Backup solutions Mac to FreeBSD

2007-01-29 Thread Joe Auty
I've heard of many people having problems with RsyncX and the version  
of rsync included in OS X crapping out and being unreliable.


RsyncX and the patched rsync (the former being a GUI for the CLI  
rsync) that ships with OS X attempts to preserve resource forks and  
other file metadata (a lot of it from the OS 9 era where this stuff  
mattered). If you don't care at all about these attributes (I don't),  
I would recommend building a copy of the stock rsync from Macports,  
similar to FreeBSD ports in design: http://www.macports.org


Here is a partial (or possibly complete) list of file metadata that I  
believe would be lost by using the stock rsync in OS X:


- get info/Finder comments (this has been replaced with Spotlight  
comments in 10.4 which are saved to the Spotlight DB, not as file  
metadata)


- application associations for files without file extensions

- application associations for many OS 9 files, since OS 9 did not  
force file extensions and many users didn't bother with them


- custom icons pasted on




On Jan 26, 2007, at 5:28 PM, Gable Barber wrote:


On 1/26/07, Doug Hardie <[EMAIL PROTECTED]> wrote:





RsyncX for Mac will sync to a FreeBSD filesystem.


Thank you.

I will try these out.

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




PGP.sig
Description: This is a digitally signed message part


Re: apache exiting on signal 6

2007-01-21 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Okay,

I've done some Googling and it does appear as if this could be the  
source of this problem...


This page in particular suggests that:

http://www.pingle.org/2006/10/18/php-crashes-extensions/


However, I've tried all sorts of combinations with my extension set  
and haven't found an order which rids me of this problem. Does  
anybody have any general suggestions for coming up with  
troubleshooting strategies? As of know, I don't know which extensions  
to focus on, and whether to focus on putting them towards the  
beginning or end of the list, so I'm sort of grasping at straws here.


Any suggestions? Would doing a portupgrade -fr php4 straighten things  
out perhaps by building and reinstalling the extensions in the  
correct order?



Thanks in advance!


On Jan 20, 2007, at 1:13 PM, Joe Auty wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Any suggestions where I might start first in tweaking this file?

# cat /usr/local/etc/php/extensions.ini
extension=gettext.so
extension=mcrypt.so
extension=ftp.so
extension=session.so
extension=posix.so
extension=xml.so
extension=ctype.so
extension=readline.so
extension=openssl.so
extension=pcre.so
extension=imap.so
extension=mhash.so
extension=overload.so
extension=mysql.so
extension=zlib.so
extension=tokenizer.so
extension=iconv.so
extension=bz2.so
extension=rrdtool.so
extension=gd.so
extension=mbstring.so
extension=pdf.so
extension=snmp.so


On Jan 20, 2007, at 10:54 AM, Joe Holden wrote:


Joe Auty wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Just FYI, disabling eAccelerator hasn't rid me of this problem. I  
am using PHP as an Apache module.
I might look at using Fast CGI, or else simply ignore this  
problem. Is there a list somewhere of PHP apps that don't work  
with Fast CGI, or will I have to research this myself?
As far as I recall, it was something to do with the order of  
extensions in extensions.ini.


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


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFFslu5CgdfeCwsL5ERAlhHAJ4y05L1C2P95CQ2m1nitu5mVCkSdACfdave
7M/JvAv6qlKBwJBtbbnA0h4=
=zarN
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFFs8xfCgdfeCwsL5ERAkwZAKCdtdSMEp0SgF+hm1RaBt/SytygwACgga80
KP5/5mgeSdGH4Ni+6ZdzLNE=
=Tm4W
-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: apache exiting on signal 6

2007-01-20 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Any suggestions where I might start first in tweaking this file?

# cat /usr/local/etc/php/extensions.ini
extension=gettext.so
extension=mcrypt.so
extension=ftp.so
extension=session.so
extension=posix.so
extension=xml.so
extension=ctype.so
extension=readline.so
extension=openssl.so
extension=pcre.so
extension=imap.so
extension=mhash.so
extension=overload.so
extension=mysql.so
extension=zlib.so
extension=tokenizer.so
extension=iconv.so
extension=bz2.so
extension=rrdtool.so
extension=gd.so
extension=mbstring.so
extension=pdf.so
extension=snmp.so


On Jan 20, 2007, at 10:54 AM, Joe Holden wrote:


Joe Auty wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Just FYI, disabling eAccelerator hasn't rid me of this problem. I  
am using PHP as an Apache module.
I might look at using Fast CGI, or else simply ignore this  
problem. Is there a list somewhere of PHP apps that don't work  
with Fast CGI, or will I have to research this myself?
As far as I recall, it was something to do with the order of  
extensions in extensions.ini.


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


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFFslu5CgdfeCwsL5ERAlhHAJ4y05L1C2P95CQ2m1nitu5mVCkSdACfdave
7M/JvAv6qlKBwJBtbbnA0h4=
=zarN
-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: apache exiting on signal 6

2007-01-20 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Just FYI, disabling eAccelerator hasn't rid me of this problem. I am  
using PHP as an Apache module.


I might look at using Fast CGI, or else simply ignore this problem.  
Is there a list somewhere of PHP apps that don't work with Fast CGI,  
or will I have to research this myself?



On Jan 20, 2007, at 6:04 AM, Ivan Voras wrote:


Joe Auty wrote:

I've also seen some info which suggests that this might be an  
Apache bug
of some sort, but I've seen this in both Apache 1.3 and 2.0. Right  
now,

I'm running 2.0.59 with eAccelerator.

I guess the next step might be to try disabling eAccelerator...  
I'll let

you know if this helps. In the meantime, if you have any other
suggestions they would be welcome!


You're using PHP as an Apache module, right?
The closest thing I've come to is that there's a long-standing bug in
PHP or in its interaction with FreeBSD. Yes, disabling eAccelerator
might help, but what will probably help you most is to convert your
setup to fastcgi (with mod_fcgid) - beware that this might subtly  
break

some PHP applications (it's say about 5% of them rely on mod_php
features). Also, you might want to try changing the order in which PHP
extensions are loaded (google for many threads on this subject).



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFFsjNKCgdfeCwsL5ERArfYAKCgihMQZD64M8d6CNL7yqNlyR639ACfVH3j
bqwqeLCuaVf0tVX1l73rUns=
=TAAZ
-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: apache exiting on signal 6

2007-01-20 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Forgot to mention, I'm using Apache with the prefork MPM.


On Jan 20, 2007, at 5:16 AM, Joe Auty wrote:


Hello,

I've seen a lot of information on Google about this error message  
I've been seeing a lot of in my logs:



pid 11443 (httpd), uid 80: exited on signal 6
pid 11454 (httpd), uid 80: exited on signal 6
pid 11447 (httpd), uid 80: exited on signal 6
pid 11442 (httpd), uid 80: exited on signal 6
pid 11527 (httpd), uid 80: exited on signal 6
pid 11525 (httpd), uid 80: exited on signal 6
pid 11523 (httpd), uid 80: exited on signal 6
pid 11756 (httpd), uid 80: exited on signal 6
pid 11755 (httpd), uid 80: exited on signal 6
pid 11828 (httpd), uid 80: exited on signal 6



Many of these pages point to resource limits issues, but I'm a  
little puzzled.


I do have some httpd processes that have been taking around 30 -  
40% of my CPU (although not constantly), but I believe I generally  
have a decent amount of free RAM (my snmp daemon doesn't seem to  
log memory consumption, unfortunately).


# limits -d
Resource limits (current):
  datasize   524288 kb

If this is a resource limits issue, what is the best way to track  
down this issue? I have tried raising Apache's MaxClients, but this  
hasn't helped.


I've also seen some info which suggests that this might be an  
Apache bug of some sort, but I've seen this in both Apache 1.3 and  
2.0. Right now, I'm running 2.0.59 with eAccelerator.


I guess the next step might be to try disabling eAccelerator...  
I'll let you know if this helps. In the meantime, if you have any  
other suggestions they would be welcome!








---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFFseyaCgdfeCwsL5ERAvw5AJ9trNdvisXEg2n+pR03tdI/iQwdTwCcDzf6
t8kjPokGpzwnMd4k+SUOLRg=
=x84t
-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]"


apache exiting on signal 6

2007-01-20 Thread Joe Auty

Hello,

I've seen a lot of information on Google about this error message  
I've been seeing a lot of in my logs:



pid 11443 (httpd), uid 80: exited on signal 6
pid 11454 (httpd), uid 80: exited on signal 6
pid 11447 (httpd), uid 80: exited on signal 6
pid 11442 (httpd), uid 80: exited on signal 6
pid 11527 (httpd), uid 80: exited on signal 6
pid 11525 (httpd), uid 80: exited on signal 6
pid 11523 (httpd), uid 80: exited on signal 6
pid 11756 (httpd), uid 80: exited on signal 6
pid 11755 (httpd), uid 80: exited on signal 6
pid 11828 (httpd), uid 80: exited on signal 6



Many of these pages point to resource limits issues, but I'm a little  
puzzled.


I do have some httpd processes that have been taking around 30 - 40%  
of my CPU (although not constantly), but I believe I generally have a  
decent amount of free RAM (my snmp daemon doesn't seem to log memory  
consumption, unfortunately).


# limits -d
Resource limits (current):
  datasize   524288 kb

If this is a resource limits issue, what is the best way to track  
down this issue? I have tried raising Apache's MaxClients, but this  
hasn't helped.


I've also seen some info which suggests that this might be an Apache  
bug of some sort, but I've seen this in both Apache 1.3 and 2.0.  
Right now, I'm running 2.0.59 with eAccelerator.


I guess the next step might be to try disabling eAccelerator... I'll  
let you know if this helps. In the meantime, if you have any other  
suggestions they would be welcome!








---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


filtercmd, krb5, heimdal

2007-01-13 Thread Joe Auty

Hello,

Working with this guide:

http://perlstalker.amigo.net/tiki/tiki-index.php?page=serversidefilter 
%20on%20FreeBSD


First of all, I'm having the same problem described here:

http://lists.freebsd.org/pipermail/freebsd-questions/2006-June/ 
124454.html


where the Heimdal port conflicts with krb5 and therefore won't  
install. I'm assuming that Heimdal is built into krb5 and that I  
won't need it, so moving along...




My initial problem was this build-time error:

# make
gcc -c filtercmd.c  -DSQUIRRELMAILCONFIGFILE='"/usr/local/www/ 
squirrelmail/config/config.php"'

gcc -c checkcreds_cclient.c
checkcreds_cclient.c:12:10: #include expects "FILENAME" or 
checkcreds_cclient.c: In function `checkcredentials':
checkcreds_cclient.c:28: error: `MAILTMPLEN' undeclared (first use in  
this function)
checkcreds_cclient.c:28: error: (Each undeclared identifier is  
reported only once

checkcreds_cclient.c:28: error: for each function it appears in.)
checkcreds_cclient.c:29: error: `MAILSTREAM' undeclared (first use in  
this function)
checkcreds_cclient.c:29: error: `stream' undeclared (first use in  
this function)

checkcreds_cclient.c:30: error: syntax error before "mb"
checkcreds_cclient.c:31: error: `DRIVER' undeclared (first use in  
this function)
checkcreds_cclient.c:31: error: `d' undeclared (first use in this  
function)

checkcreds_cclient.c:38:18: #include expects "FILENAME" or 
checkcreds_cclient.c:41: error: syntax error before ')' token
checkcreds_cclient.c:54: error: `NIL' undeclared (first use in this  
function)
checkcreds_cclient.c:54: error: `SET_MAXLOGINTRIALS' undeclared  
(first use in this function)

checkcreds_cclient.c: At top level:
checkcreds_cclient.c:78: error: syntax error before '*' token
checkcreds_cclient.c: In function `mm_login':
checkcreds_cclient.c:80: error: `mb' undeclared (first use in this  
function)
checkcreds_cclient.c:84: error: `user' undeclared (first use in this  
function)
checkcreds_cclient.c:84: error: `MAILTMPLEN' undeclared (first use in  
this function)
checkcreds_cclient.c:85: error: `pwd' undeclared (first use in this  
function)

checkcreds_cclient.c: In function `mm_log':
checkcreds_cclient.c:90: error: `NIL' undeclared (first use in this  
function)
checkcreds_cclient.c:91: error: `PARSE' undeclared (first use in this  
function)
checkcreds_cclient.c:92: error: `WARN' undeclared (first use in this  
function)
checkcreds_cclient.c:93: error: `ERROR' undeclared (first use in this  
function)

checkcreds_cclient.c: At top level:
checkcreds_cclient.c:100: error: syntax error before '*' token
checkcreds_cclient.c: In function `mm_notify':
checkcreds_cclient.c:101: error: `string' undeclared (first use in  
this function)
checkcreds_cclient.c:101: error: `errflg' undeclared (first use in  
this function)

checkcreds_cclient.c: At top level:
checkcreds_cclient.c:106: error: syntax error before '*' token
checkcreds_cclient.c:107: error: syntax error before '*' token
checkcreds_cclient.c:108: error: syntax error before '*' token
checkcreds_cclient.c:109: error: syntax error before '*' token
checkcreds_cclient.c:110: error: syntax error before '*' token
checkcreds_cclient.c:111: error: syntax error before '*' token
checkcreds_cclient.c:112: error: syntax error before '*' token
checkcreds_cclient.c:114: error: syntax error before '*' token
checkcreds_cclient.c:115: error: syntax error before '*' token
checkcreds_cclient.c:116: error: syntax error before '*' token
*** Error code 1

Stop in /usr/local/www/squirrelmail/plugins/serversidefilter/script.


The include in question that it doesn't like appears to be this:

// c-client library
#include MAIL_H

(this is line 12)

I changed this to the complete path to mail.h:

#include "/usr/local/include/c-client/mail.h"

I did the same for linkage.h, which it also complained about:

#include "/usr/local/include/c-client/linkage.c"


My remaining problem is this:

# make
gcc -o filtercmd filtercmd.o checkcreds_cclient.o -lc-client4 -lssl - 
lpam -lcrypt -lcom_err  -L /usr/local/lib -lz -lcrypto -L /usr/lib - 
static -lkrb5 -lk5crypto  -lgssapi -lopie -lradius -lskey -ltacplus - 
lutil -lmd -static

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

Stop in /usr/local/www/squirrelmail/plugins/serversidefilter/script.



Is this due to my missing Heimdal port? What would you suggest trying?







---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


Re: startup script for poppassd

2007-01-11 Thread Joe Auty

Thank you! Works great


On Jan 11, 2007, at 9:29 PM, John Nielsen wrote:


On Thursday 11 January 2007 21:26, Joe Auty wrote:

Does anybody have a startup script or experience with how to get the
poppassd port to listen on port 106?


You run it from inetd, so all you have to do is add a line
to /etc/inetd.conf (and enable inetd if it isn't already). There are
examples in the poppassd manpage.

JN


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


startup script for poppassd

2007-01-11 Thread Joe Auty

Hello,

Does anybody have a startup script or experience with how to get the  
poppassd port to listen on port 106?







---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


Re: problems compiling Maildrop

2006-12-31 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Awesome! That worked

Thanks!



On Dec 30, 2006, at 5:40 AM, Jurjen Middendorp wrote:

http://lists.freebsd.org/pipermail/freebsd-ports/2006-September/ 
035268.html
maybe this works? haven't tried it myself though, because make-ing  
the port

worked without problems...


On Fri, Dec 29, 2006 at 11:55:16AM -0500, Joe Auty wrote:


On Dec 29, 2006, at 11:38 AM, Lowell Gilbert wrote:


Joe Auty <[EMAIL PROTECTED]> writes:


Is it just me having problems with this port? I'd really appreciate
if somebody could confirm whether or not they are getting this  
error

so I know whether or not to bug the port maintainer.


It seems to build in a clean environment:

http://pointyhat.freebsd.org/errorlogs/i386-5-latest-logs/
maildrop-2.0.2.log





Hmmm... Any ideas what be happening for me then? I've duplicated this
problem on another machine of mine running FBSD 5.4.


Here is the error in question:



Compiling maildirkwtest.c
Linking maildirkwtest
Compiling maildirkw.c
Linking maildirkw
/usr/local/lib/libfam.a(fam.o)(.text+0x31): In function `FAMOpen2':
: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(fam.o)(.text+0x4f): In function `FAMOpen2':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x81): In function `FAMOpen2':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x12e): In function `FAMClose':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x225): In function `FAMMonitor
(FAMConnection*, char const*, FAMRequest*, void*, int)':
: undefined reference to `operator delete[](void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x243): In function `FAMMonitor
(FAMConnection*, char const*, FAMRequest*, void*, int)':
: undefined reference to `operator delete[](void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x414): In function
`FAMMonitorCollection':
: undefined reference to `operator delete[](void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x433): In function
`FAMMonitorCollection':
: undefined reference to `operator delete[](void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x5d3): In function
`GroupStuff::GroupStuff()':
: undefined reference to `operator new[](unsigned int)'
/usr/local/lib/libfam.a(fam.o)(.text+0x60b): In function
`GroupStuff::GroupStuff()':
: undefined reference to `operator new[](unsigned int)'
/usr/local/lib/libfam.a(fam.o)(.eh_frame+0x12): undefined reference
to `__gxx_personality_v0'
/usr/local/lib/libfam.a(Client.o)(.text+0xb92): In function
`Client::storeUserData(int, void*)':
: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o)(.text+0xbab): In function
`Client::storeUserData(int, void*)':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o)(.text+0xc17): In function
`Client::storeEndExist(int)':
: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o)(.text+0xc2f): In function
`Client::storeEndExist(int)':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o)(.text+0xeca): In function
`__static_initialization_and_destruction_0(int, int)':
: undefined reference to `std::ios_base::Init::Init()'
/usr/local/lib/libfam.a(Client.o)(.text+0xef8): In function  
`__tcf_0':

: undefined reference to `std::ios_base::Init::~Init()'
/usr/local/lib/libfam.a(Client.o)
(.gnu.linkonce.t._ZN5BTreeIiPvE6removeERKi+0xfc): In function
`BTree::remove(int const&)':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o)
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertERKiRKS0_+0x5a): In function
`BTree::insert(int const&, void* const&)':
: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o)
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertERKiRKS0_+0x87): In function
`BTree::insert(int const&, void* const&)':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o)
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0xde): In
function `BTree::insert(BTree::Node*, int
const&, void* const&)':
: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o)
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0xfb): In
function `BTree::insert(BTree::Node*, int
const&, void* const&)':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o)
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0x191): In
function `BTree::insert(BTree::Node*, int
const&, void* const&)':
: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o)
(.gnu.linkonce.t._ZN5BTreeIiPvE6ins

Re: problems compiling Maildrop

2006-12-29 Thread Joe Auty


On Dec 29, 2006, at 11:38 AM, Lowell Gilbert wrote:


Joe Auty <[EMAIL PROTECTED]> writes:


Is it just me having problems with this port? I'd really appreciate
if somebody could confirm whether or not they are getting this error
so I know whether or not to bug the port maintainer.


It seems to build in a clean environment:

http://pointyhat.freebsd.org/errorlogs/i386-5-latest-logs/ 
maildrop-2.0.2.log






Hmmm... Any ideas what be happening for me then? I've duplicated this  
problem on another machine of mine running FBSD 5.4.



Here is the error in question:



Compiling maildirkwtest.c
Linking maildirkwtest
Compiling maildirkw.c
Linking maildirkw
/usr/local/lib/libfam.a(fam.o)(.text+0x31): In function `FAMOpen2':
: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(fam.o)(.text+0x4f): In function `FAMOpen2':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x81): In function `FAMOpen2':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x12e): In function `FAMClose':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x225): In function `FAMMonitor 
(FAMConnection*, char const*, FAMRequest*, void*, int)':

: undefined reference to `operator delete[](void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x243): In function `FAMMonitor 
(FAMConnection*, char const*, FAMRequest*, void*, int)':

: undefined reference to `operator delete[](void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x414): In function  
`FAMMonitorCollection':

: undefined reference to `operator delete[](void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x433): In function  
`FAMMonitorCollection':

: undefined reference to `operator delete[](void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x5d3): In function  
`GroupStuff::GroupStuff()':

: undefined reference to `operator new[](unsigned int)'
/usr/local/lib/libfam.a(fam.o)(.text+0x60b): In function  
`GroupStuff::GroupStuff()':

: undefined reference to `operator new[](unsigned int)'
/usr/local/lib/libfam.a(fam.o)(.eh_frame+0x12): undefined reference  
to `__gxx_personality_v0'
/usr/local/lib/libfam.a(Client.o)(.text+0xb92): In function  
`Client::storeUserData(int, void*)':

: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o)(.text+0xbab): In function  
`Client::storeUserData(int, void*)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o)(.text+0xc17): In function  
`Client::storeEndExist(int)':

: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o)(.text+0xc2f): In function  
`Client::storeEndExist(int)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o)(.text+0xeca): In function  
`__static_initialization_and_destruction_0(int, int)':

: undefined reference to `std::ios_base::Init::Init()'
/usr/local/lib/libfam.a(Client.o)(.text+0xef8): In function `__tcf_0':
: undefined reference to `std::ios_base::Init::~Init()'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE6removeERKi+0xfc): In function  
`BTree::remove(int const&)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertERKiRKS0_+0x5a): In function  
`BTree::insert(int const&, void* const&)':

: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertERKiRKS0_+0x87): In function  
`BTree::insert(int const&, void* const&)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0xde): In  
function `BTree::insert(BTree::Node*, int  
const&, void* const&)':

: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0xfb): In  
function `BTree::insert(BTree::Node*, int  
const&, void* const&)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0x191): In  
function `BTree::insert(BTree::Node*, int  
const&, void* const&)':

: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0x1ae): In  
function `BTree::insert(BTree::Node*, int  
const&, void* const&)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0x237): In  
function `BTree::insert(BTree::Node*, int 

Re: problems compiling Maildrop

2006-12-29 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is it just me having problems with this port? I'd really appreciate  
if somebody could confirm whether or not they are getting this error  
so I know whether or not to bug the port maintainer.


Thanks in advance!


On Dec 27, 2006, at 2:18 PM, Joe Auty wrote:

Anybody having problems building Maildrop from ports? If not, any  
suggestions as to how I ought to negotiate this error under FBSD 5.5?




Compiling maildirkwtest.c
Linking maildirkwtest
Compiling maildirkw.c
Linking maildirkw
/usr/local/lib/libfam.a(fam.o)(.text+0x31): In function `FAMOpen2':
: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(fam.o)(.text+0x4f): In function `FAMOpen2':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x81): In function `FAMOpen2':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x12e): In function `FAMClose':
: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x225): In function `FAMMonitor 
(FAMConnection*, char const*, FAMRequest*, void*, int)':

: undefined reference to `operator delete[](void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x243): In function `FAMMonitor 
(FAMConnection*, char const*, FAMRequest*, void*, int)':

: undefined reference to `operator delete[](void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x414): In function  
`FAMMonitorCollection':

: undefined reference to `operator delete[](void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x433): In function  
`FAMMonitorCollection':

: undefined reference to `operator delete[](void*)'
/usr/local/lib/libfam.a(fam.o)(.text+0x5d3): In function  
`GroupStuff::GroupStuff()':

: undefined reference to `operator new[](unsigned int)'
/usr/local/lib/libfam.a(fam.o)(.text+0x60b): In function  
`GroupStuff::GroupStuff()':

: undefined reference to `operator new[](unsigned int)'
/usr/local/lib/libfam.a(fam.o)(.eh_frame+0x12): undefined reference  
to `__gxx_personality_v0'
/usr/local/lib/libfam.a(Client.o)(.text+0xb92): In function  
`Client::storeUserData(int, void*)':

: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o)(.text+0xbab): In function  
`Client::storeUserData(int, void*)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o)(.text+0xc17): In function  
`Client::storeEndExist(int)':

: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o)(.text+0xc2f): In function  
`Client::storeEndExist(int)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o)(.text+0xeca): In function  
`__static_initialization_and_destruction_0(int, int)':

: undefined reference to `std::ios_base::Init::Init()'
/usr/local/lib/libfam.a(Client.o)(.text+0xef8): In function `__tcf_0':
: undefined reference to `std::ios_base::Init::~Init()'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE6removeERKi+0xfc): In function  
`BTree::remove(int const&)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertERKiRKS0_+0x5a): In function  
`BTree::insert(int const&, void* const&)':

: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertERKiRKS0_+0x87): In function  
`BTree::insert(int const&, void* const&)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0xde):  
In function `BTree::insert(BTree::Node*,  
int const&, void* const&)':

: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0xfb):  
In function `BTree::insert(BTree::Node*,  
int const&, void* const&)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0x191):  
In function `BTree::insert(BTree::Node*,  
int const&, void* const&)':

: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0x1ae):  
In function `BTree::insert(BTree::Node*,  
int const&, void* const&)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE6insertEPNS1_4NodeERKiRKS0_+0x237):  
In function `BTree::insert(BTree::Node*,  
int const&, void* const&)':

: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.

problems compiling Maildrop

2006-12-27 Thread Joe Auty
`BTree::insert(int const&, bool const&)':

: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIibE6insertERKiRKb+0x87): In function  
`BTree::insert(int const&, bool const&)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIibE6insertEPNS0_4NodeERKiRKb+0xde): In  
function `BTree::insert(BTree::Node*, int  
const&, bool const&)':

: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIibE6insertEPNS0_4NodeERKiRKb+0xfb): In  
function `BTree::insert(BTree::Node*, int  
const&, bool const&)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIibE6insertEPNS0_4NodeERKiRKb+0x194): In  
function `BTree::insert(BTree::Node*, int  
const&, bool const&)':

: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIibE6insertEPNS0_4NodeERKiRKb+0x1b1): In  
function `BTree::insert(BTree::Node*, int  
const&, bool const&)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIibE6insertEPNS0_4NodeERKiRKb+0x23d): In  
function `BTree::insert(BTree::Node*, int  
const&, bool const&)':

: undefined reference to `operator new(unsigned int)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIibE6insertEPNS0_4NodeERKiRKb+0x27b): In  
function `BTree::insert(BTree::Node*, int  
const&, bool const&)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE9underflowEPNS1_4NodeEj+0x12d): In  
function `BTree::underflow(BTree::Node*,  
unsigned int)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE9underflowEPNS1_4NodeEj+0x18e): In  
function `BTree::underflow(BTree::Node*,  
unsigned int)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIiPvE4NodeD1Ev+0x2c): In function  
`BTree::Node::~Node()':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIibE6removeERKi+0xfc): In function  
`BTree::remove(int const&)':

: undefined reference to `operator delete(void*)'
/usr/local/lib/libfam.a(Client.o) 
(.gnu.linkonce.t._ZN5BTreeIibE4NodeD1Ev+0x2c): more undefined  
references to `operator delete(void*)' follow
/usr/local/lib/libfam.a(Client.o)(.gnu.linkonce.r._ZTI5BTreeIiPvE 
+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/local/lib/libfam.a(Client.o)(.gnu.linkonce.r._ZTI5BTreeIibE 
+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
/usr/local/lib/libfam.a(Client.o)(.eh_frame+0x12): undefined  
reference to `__gxx_personality_v0'

*** Error code 1

Stop in /usr/ports/mail/maildrop/work/maildrop-2.0.2/maildir.
*** Error code 1

Stop in /usr/ports/mail/maildrop/work/maildrop-2.0.2/maildir.
*** Error code 1

Stop in /usr/ports/mail/maildrop/work/maildrop-2.0.2.
*** Error code 1

Stop in /usr/ports/mail/maildrop.


---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


clean old portsnap snapshots?

2006-10-24 Thread Joe Auty

Hello,


What is the best mechanism for deleting old portsnap shots to free up  
some space? Or, is this supposed to be handled automatically?






---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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


iCal Server

2006-08-09 Thread Joe Auty
Anybody working on porting this Apple product to FreeBSD? The source  
code can be downloaded here:


http://trac.macosforge.org/projects/collaboration/wiki


I'm really interested in a product like this, and Chandler looks like  
a pretty decent client.








-------
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


Re: portupgrade incompatible version of BDB

2006-07-06 Thread Joe Auty


On Jul 6, 2006, at 8:52 AM, Andrey Slusar wrote:


Thu, 6 Jul 2006 08:43:05 -0400, Joe Auty wrote:


As of the latest portupgrade upgrade I'm getting the following error
message when I try to invoke and of the portupgrade scripts:



# pkgdb -F
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so:
(NotImplementedError)
BDB needs compatible versions of libdb & db.h
you have db.h version 4.1.25 and libdb version 4.3.29
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:152:in
`set_db_driver'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:81:in `setup'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:76:in
`initialize'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:5:in `new'
from /usr/local/lib/ruby/1.8/singleton.rb:95:in `instance'
from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:206:in
`init_pkgtools_global'
from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:1155
from /usr/local/sbin/pkgdb:36




I've tried deleting db43, and while this changed the error message,
I'm still having problems. Before I start randomly deinstalling and/
or reinstalling anything this, is there a smart way to fix this
problem?


 Solution for fix this error described in ports/UPDATING file. Read  
this!



H... I should definitely be sure to read this file *after* doing  
a portsnap update.


I've gotten portupgrade working again with the BDB 1.x backend. What  
do I need to if I want to move to the 2.x backend without running  
into the error message listed above? I tried deleting the .db files  
prior to the upgrade as instructed in UPDATING, but this didn't seem  
to do the trick.



Thanks for your help! At least I have a working portupgrade now =)



---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


portupgrade incompatible version of BDB

2006-07-06 Thread Joe Auty
As of the latest portupgrade upgrade I'm getting the following error  
message when I try to invoke and of the portupgrade scripts:


# pkgdb -F
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so:   
(NotImplementedError)

BDB needs compatible versions of libdb & db.h
you have db.h version 4.1.25 and libdb version 4.3.29
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:152:in  
`set_db_driver'

from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:81:in `setup'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:76:in  
`initialize'

from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:5:in `new'
from /usr/local/lib/ruby/1.8/singleton.rb:95:in `instance'
from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:206:in  
`init_pkgtools_global'

from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:1155
from /usr/local/sbin/pkgdb:36


I've tried deleting db43, and while this changed the error message,  
I'm still having problems. Before I start randomly deinstalling and/ 
or reinstalling anything this, is there a smart way to fix this problem?









---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


Re: MySQL RC script failing

2006-06-25 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This problem has been resolved...

As it turns out, both parent mysql directories in /usr/local/share  
and /usr/local/lib were set with incorrect permissions. I was  
expecting that reinstalling the port would have corrected that, but  
clearly portupgrade does not correct all permissions errors.




On Jun 23, 2006, at 12:06 AM, Joe Auty wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm basically having the same problem described in this thread:

http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/ 
067213.html



A solution was never posted... Has anybody come up with something?  
This same RC script is working fine on my other FreeBSD machine.



My other FreeBSD machine also has a working Mailman install I can't  
get working on this machine, despite carefully and thoroughly  
reinstalling the software from scratch. I'm starting to wonder if  
my production machine I'm having these problems on isn't somehow  
cursed =)




- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEm2jjCgdfeCwsL5ERAomAAJ9tDWZ7FQ/J+soEgtImWum70SqdgACeNyOP
I89bRp/TzinQc376blvk7nM=
=eZHK
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEnwo8CgdfeCwsL5ERAt+dAJ41EHLpGiP7AsZNBZ0NIUFzo/ewVQCfccFR
QSf3ln71RVi0I+hZf7RIYw8=
=9TJX
-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: Python port problems

2006-06-23 Thread Joe Auty

This problem has been resolved, thanks to my new friend Alex Zbyslaw!

The problem was that my /usr/local/lib/python2.4 was set with perms  
754 rather than 755. I didn't realize that doing a port uninstall and  
reinstall doesn't necessarily correct permission problems on parent  
directories.


I hope this is useful to somebody else =)


On May 22, 2006, at 12:02 AM, Joe Auty wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

Starting up Mailman on one machine I'm on produces the following  
error message (see below). For some reason, this is not a problem  
with the same version on another FreeBSD machine I'm on, both  
installed from ports. I have 'mail/mailman' => 'MAIL_GID=mailman'   
in my pkgtools.conf on both machines, and a mailman user/group...


According to the Mailman list, this is actually a Python build  
problem, which is why I'm posting this there (can't explain the  
fact that I'm not reproducing it on the same machine, although I  
think I may have accidently messed up some of the permissions in / 
usr on the machine this is no longer working on)... The list  
suggests that the configure arguments reference the Python  
executables, not the lib directory. I'm not sure if this applies to  
my problem, but here is the thread:


http://www.mail-archive.com/mailman-users@python.org/msg28164.html


Any ideas?



Could not find platform independent libraries 
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Traceback (most recent call last):
Traceback (most recent call last):
  File "/usr/local/mailman/bin/qrunner", line 76, in ?
import getopt
ImportError: No module named getopt

(snip... all sorts of similar errors)









- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEcTfyCgdfeCwsL5ERAiUSAJ9HVru6UkqytTBCBgt/BZESQ2cEwQCcDnIK
hqoZq3z42bhokFJ0r/5PvJA=
=s/2K
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"




PGP.sig
Description: This is a digitally signed message part


Re: problems with strace

2006-06-23 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Jun 23, 2006, at 12:23 AM, Dan Nelson wrote:


In the last episode (Jun 23), Joe Auty said:

No matter what command I run with strace, I have the same problem:

# strace ls
strace: open("/proc/...", ...): No such file or directory
trouble opening proc file

Any ideas why this is?


Is /proc mounted?




That was easy, no is wasn't =)

I take it proc is optional in FreeBSD?







- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEm9KmCgdfeCwsL5ERAuwsAJ0dcANwxX0wP7qWruKS6zRUaVisTQCgldP1
dYrSP9u3iG+paGQKsfSIW9w=
=tllO
-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: MySQL RC script failing

2006-06-22 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Jun 23, 2006, at 12:19 AM, Dennis Olvany wrote:

I recall having to tinker with the rc script. Let's have a look at  
the script and also the log residing in the db root, probably /var/ 
db/mysql.

___



Sure!

Here is the RC script:


#!/bin/sh
#
# $FreeBSD: ports/databases/mysql50-server/files/mysql- 
server.sh.in,v 1.3 2006/03/07 16:25:00 ale Exp $

#

# PROVIDE: mysql
# REQUIRE: LOGIN
# KEYWORD: shutdown

#
# Add the following line to /etc/rc.conf to enable mysql:
# mysql_enable (bool):  Set to "NO" by default.
#   Set it to "YES" to enable MySQL.
# mysql_limits (bool):  Set to "NO" by default.
#   Set it to yes to run `limits -e -U mysql`
#   just before mysql starts.
# mysql_dbdir (str):Default to "/var/db/mysql"
#   Base database directory.
# mysql_args (str): Custom additional arguments to be passed
#   to mysqld_safe (default empty).
#

. /etc/rc.subr

name="mysql"
rcvar=`set_rcvar`

load_rc_config $name

: ${mysql_enable="NO"}
: ${mysql_limits="NO"}
: ${mysql_dbdir="/var/db/mysql"}
: ${mysql_args=""}

mysql_user="mysql"
mysql_limits_args="-e -U ${mysql_user}"
pidfile="${mysql_dbdir}/`/bin/hostname`.pid"
command="/usr/local/bin/mysqld_safe"
command_args="--defaults-extra-file=${mysql_dbdir}/my.cnf --user=$ 
{mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile} $ 
{mysql_args} > /dev/null &"

procname="/usr/local/libexec/mysqld"
start_precmd="${name}_prestart"
mysql_install_db="/usr/local/bin/mysql_install_db"
mysql_install_db_args="--ldata=${mysql_dbdir}"

mysql_create_auth_tables()
{
eval $mysql_install_db $mysql_install_db_args >/dev/null
[ $? -eq 0 ] && chown -R ${mysql_user}:${mysql_user} $ 
{mysql_dbdir}

}

mysql_prestart()
{
if [ ! -d "${mysql_dbdir}/mysql/." ]; then
mysql_create_auth_tables || return 1
fi
if checkyesno mysql_limits; then
eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null
else
return 0
fi
}

run_rc_command "$1"



Here is the relevant snippet from my error log:

060622 23:54:39  mysqld started
060622 23:54:39 [ERROR] Can't find messagefile '/usr/local/share/ 
mysql/english/errmsg.sys'

060622 23:54:39 [ERROR] Aborting

060622 23:54:39  mysqld ended


This file does exist, and has the same permissions assigned to it  
that my working FreeBSD machine has, so I don't think this error  
message should be taken at face value.







- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEm26VCgdfeCwsL5ERAuXfAJwOPilCeI2b2CFDTzRjLyEF7ai8/gCfVgsz
ZKel2JXXdF0BcFJpnam+Q+w=
=Do5b
-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]"


problems with strace

2006-06-22 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

No matter what command I run with strace, I have the same problem:

# strace ls
strace: open("/proc/...", ...): No such file or directory
trouble opening proc file


Any ideas why this is?






- -------
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEm2t6CgdfeCwsL5ERAnBEAKCBFCnGeJbxPBbCrhDQcdCoKX/BVQCbBASW
BWlfS8Q2ChQWqjpcn7k6epY=
=GCd0
-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]"


MySQL RC script failing

2006-06-22 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm basically having the same problem described in this thread:

http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/ 
067213.html



A solution was never posted... Has anybody come up with something?  
This same RC script is working fine on my other FreeBSD machine.



My other FreeBSD machine also has a working Mailman install I can't  
get working on this machine, despite carefully and thoroughly  
reinstalling the software from scratch. I'm starting to wonder if my  
production machine I'm having these problems on isn't somehow cursed =)




- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEm2jjCgdfeCwsL5ERAomAAJ9tDWZ7FQ/J+soEgtImWum70SqdgACeNyOP
I89bRp/TzinQc376blvk7nM=
=eZHK
-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: Python port problems

2006-06-19 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Jun 19, 2006, at 4:34 AM, Alex Zbyslaw wrote:


Joe Auty wrote:



On Jun 18, 2006, at 1:28 PM, Alex Zbyslaw wrote:


Joe Auty wrote:



On Jun 15, 2006, at 6:16 AM, Alex Zbyslaw wrote:


Joe Auty wrote:


jauty# python -v /usr/local/mailman/bin/qrunner
[...snip...]
# /usr/local/lib/python2.4/getopt.pyc matches /usr/local/ 
lib/   python2.4/getopt.py
import getopt # precompiled from /usr/local/lib/python2.4/  
getopt.pyc
# /usr/local/mailman/bin/paths.pyc matches /usr/local/mailman/  
bin/  paths.py

import paths # precompiled from /usr/local/mailman/bin/paths.pyc
[...snip...]




OK, you just ran qrunner successfully without getting the  
error  you  were getting earlier about getopt.  Doesn't matter  
that all  you got  was help, it found *everything* that it  
tried to import.


I missed the start of this thread.  How did you run qrunner to   
get  your earlier error and where did the error appear?  I  
think  you  said the rc script.  If it's not too big can you  
post it?   Or  compare it against your working mailman?




My Mailman rc script (exactly identical to the one on my  
working   machine):


You're getting your error when mailman starts at boot time; is  
that  right?


If so, what happens if you try as root (csh):

# sh -x /usr/local/etc/rc.d/mailman.sh start

(you might have to check the exact name of the rc.d script).

If this starts mailman then something bizarre is going on.

If you get the same error as usual, then judicious snippets with   
the error and prior context.




Running the RC script under sh, csh, and bash yields the same  
error  spew


I've attached the errors spewed out in their entirety:


Sorry, the csh/sh distinction should have been edited out by me - I  
was redirecting the output in my first edit then took it out.   
However, the point was to run with sh -x as that will trace  
execution and might find where  has been written.


Can you try:

$ ls /usr/local/etc/rc.d/mailman*



# ls /usr/local/etc/rc.d/mailman*
/usr/local/etc/rc.d/mailman.sh



$ ls /etc/rc.d/mailman*



# ls /etc/rc.d/mailman*
ls: No match.



(in case some old script has hung around)

$ find /usr/local/mailman -type f -exec egrep -H  '' {} \;

(to try to find  somewhere in mailman install)



# find /usr/local/mailman -type f -exec egrep -H  '' {} \;
/usr/local/mailman/messages/ja/README.ja:% cd /pythonlib



and if that finds nothing

$ sh -x /usr/local/etc/rc.d/mailman.sh start



Same problem, would you like a copy of this output? I'm presuming the  
lines prefaced by a "+" are of interest to you?


+ named_symlink_enable=YES
+ kerberos5_server_enable=NO
+ kerberos5_server=/usr/libexec/kdc
+ kadmind5_server_enable=NO
+ kadmind5_server=/usr/libexec/kadmind
+ kpasswdd_server_enable=NO
+ kpasswdd_server=/usr/libexec/kpasswdd
+ rwhod_enable=NO

Anything in particular you'd like me to pull from this output?




[from mailman list]

One wild guess - look at bin/paths.py. It should contain real  
paths as

definitions for 'prefix' and 'exec_prefix'. If it's wrong, then so
probably are cron/paths.py and scripts/paths.py (and who knows what
else).




We tried looking in that first  file a couple iterations ago :- 
(  Above I've tried looking in others but I don't think that will  
be it.   don't think it's the mailman install per se as you ran  
qrunner from the command line and it worked.  Try again to be sure:


/usr/local/mailman/bin/qrunner

and you' should get the help message and not an import error.



Indeed, I do!


Thanks again for your help! I hope that isolating and resolving my  
problem will be useful for others too...







- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFElpc2CgdfeCwsL5ERAmTMAKCP+gq9x5grPHc/2PrSLlBnvPltGQCfZj1Z
sIzmqj95/1mEeuAlhOENNfo=
=faPl
-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: Python port problems

2006-06-18 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I sent on this problem to the Mailman list and got the following  
response is this useful?





Joe Auty wrote:



On Jun 18, 2006, at 12:41 PM, Mark Sapiro wrote:



Joe Auty wrote:



When I try to startup the Mailport FreeBSD port via its rc  
script, I

get the following:


... snipped all sorts of stuff 

Traceback (most recent call last):
Could not find platform independent libraries 
  File "/usr/local/mailman/bin/qrunner", line 76, in ?





First it seems some configuration step may have been missed.  

should have been replaced with a path - probably /usr/local/ 
mailman/.




Hmmm...

How do I correct this?




I have no idea. What I said in my first response still applies.




This same port works on another FreeBSD machine of mine. I've posed
this question to the FreeBSD Questions list, but I seem to have
baffled some, which is why I thought I would post this question  
here.

I hope this appropriate to post here.




You might compare the 'rc' file on this machine to the one on the
working machine. That might provide a clue.


This is the paragraph I was referring to above by "what I said ..."




We probably can't be much help either. The output you posted seems
'interleaved' and is not too intelligible without knowing what is
being run. In general, we are not able to help much with 3rd party
packages when the problem is with the package rather than the
underlying Mailman.




Just in case you'd like to take a stab at this, I'm enclosing the
full error message. I'd *really* appreciate your help if you are able
to help me, since I'd really like to get Mailman running again on
this computer somehow, and have reached the end of my rope...




The full output really isn't any more help than the excerpt, since we
still have no idea what's in /usr/local/etc/rc.d/mailman.sh that's
producing all these errors. This script is part of your FreeBSD port.
It's not in our distribution. Also, we have no idea in what ways files
we do know about have been changed in your package.

One wild guess - look at bin/paths.py. It should contain real paths as
definitions for 'prefix' and 'exec_prefix'. If it's wrong, then so
probably are cron/paths.py and scripts/paths.py (and who knows what
else).

--
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan







- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFElhcJCgdfeCwsL5ERAt6PAJ0SXIrbu4000QYRmR7Wwo4kiOwfDwCeN0gK
f5QmeUciYUq9w+e5rcHyoxw=
=JWcR
-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: Python port problems

2006-06-18 Thread Joe Auty


On Jun 18, 2006, at 1:28 PM, Alex Zbyslaw wrote:


Joe Auty wrote:



On Jun 15, 2006, at 6:16 AM, Alex Zbyslaw wrote:


Joe Auty wrote:


jauty# python -v /usr/local/mailman/bin/qrunner
[...snip...]
# /usr/local/lib/python2.4/getopt.pyc matches /usr/local/lib/   
python2.4/getopt.py
import getopt # precompiled from /usr/local/lib/python2.4/ 
getopt.pyc
# /usr/local/mailman/bin/paths.pyc matches /usr/local/mailman/ 
bin/  paths.py

import paths # precompiled from /usr/local/mailman/bin/paths.pyc
[...snip...]



OK, you just ran qrunner successfully without getting the error  
you  were getting earlier about getopt.  Doesn't matter that all  
you got  was help, it found *everything* that it tried to import.


I missed the start of this thread.  How did you run qrunner to  
get  your earlier error and where did the error appear?  I think  
you  said the rc script.  If it's not too big can you post it?   
Or  compare it against your working mailman?




My Mailman rc script (exactly identical to the one on my working   
machine):


You're getting your error when mailman starts at boot time; is that  
right?


If so, what happens if you try as root (csh):

# sh -x /usr/local/etc/rc.d/mailman.sh start

(sh/bash)

# sh -x /usr/local/etc/rc.d/mailman.sh start

(you might have to check the exact name of the rc.d script).

If this starts mailman then something bizarre is going on.

If you get the same error as usual, then judicious snippets with  
the error and prior context.




Running the RC script under sh, csh, and bash yields the same error  
spew


I've attached the errors spewed out in their entirety:


# /usr/local/etc/rc.d/mailman.sh start
Could not find platform independent libraries 
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Traceback (most recent call last):
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Traceback (most recent call last):
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/local/mailman/bin/qrunner", line 76, in ?
  File "/usr/local/mailman/bin/qrunner", line 76, in ?
  File "/usr/local/mailman/bin/qrunner", line 76, in ?
import getopt
ImportError: No module named getopt
Traceback (most recent call last):
  File "/usr/local/mailman/bin/qrunner", line 76, in ?
import getopt
ImportError: No module named getopt
Traceback (most recent call last):
  File "/usr/local/mailman/bin/qrunner", line 76, in ?
import getopt
ImportError: No module named getopt
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
import getopt
ImportError: No module named getopt
Traceback (most recent call last):
Traceback (most recent call last):
  File "/usr/local/mailman/bin/qrunner", line 76, in ?
import getopt
ImportError: No module named getopt
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
import getopt
ImportError: No module named getopt
jauty#   File "/usr/local/mailman/bin/qrunner", line 76, in ?
import getopt
ImportError: No module named getopt
Could not find platform independent libraries 
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/local/mailman/bin/qrunner", line 76, in ?
import getopt
ImportError: No module named getopt
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Could not find platform 

Re: Python port problems

2006-06-17 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Jun 15, 2006, at 6:16 AM, Alex Zbyslaw wrote:


Joe Auty wrote:



On Jun 14, 2006, at 1:10 PM, Alex Zbyslaw wrote:



And one which may spew quite a lot.  Cut it off if it gets to   
printing help.


$ python -v /usr/local/mailman/bin/qrunner



jauty# python -v /usr/local/mailman/bin/qrunner
[...snip...]
# /usr/local/lib/python2.4/getopt.pyc matches /usr/local/lib/  
python2.4/getopt.py

import getopt # precompiled from /usr/local/lib/python2.4/getopt.pyc
# /usr/local/mailman/bin/paths.pyc matches /usr/local/mailman/bin/  
paths.py

import paths # precompiled from /usr/local/mailman/bin/paths.pyc
[...snip...]


OK, you just ran qrunner successfully without getting the error you  
were getting earlier about getopt.  Doesn't matter that all you got  
was help, it found *everything* that it tried to import.


I missed the start of this thread.  How did you run qrunner to get  
your earlier error and where did the error appear?  I think you  
said the rc script.  If it's not too big can you post it?  Or  
compare it against your working mailman?




My Mailman rc script (exactly identical to the one on my working  
machine):



. /etc/rc.subr

name="mailman"
rcvar=${name}_enable

pidfile="/usr/local/mailman/data/master-qrunner.pid"

load_rc_config $name

: ${mailman_enable="NO"}

start_cmd=${name}_start
stop_cmd=${name}_stop
extra_commands="reload"

mailman_start() {
/usr/local/mailman/bin/mailmanctl -s -q start
}

mailman_stop() {
/usr/local/mailman/bin/mailmanctl -q stop
}

run_rc_command "$1"



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFElLx/CgdfeCwsL5ERAkzKAJwICVvUmDpHBPCfcu11Zn+VBnhk/ACfSwLA
SSkS0cFRTCvxrk56WceoZ8A=
=WDJc
-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: Python port problems

2006-06-14 Thread Joe Auty
I did do my usual portsnap update before my reinstallation, and have  
reinstalled both ports several times...


On Jun 14, 2006, at 3:36 PM, fbsd wrote:


Try reloading the cvs base for changes / updates before reinstalling
both Python and Mailman.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joe Auty
Sent: Wednesday, June 14, 2006 12:11 PM
To: Alex Zbyslaw
Cc: FreeBSD Questions
Subject: Re: Python port problems



On Jun 14, 2006, at 6:01 AM, Alex Zbyslaw wrote:


Joe Auty wrote:



Sorry for the delay in response here. This is still a problem for
me,  and I would still like this problem resolved.

Yes, I've tried reinstalling both Python and Mailman, and

upgraded

to  newer port revisions of Mailman which have been released

since

this  message. I'm still getting the same error message when I go
to start  Mailman via its rc script:

... snip
Traceback (most recent call last):
:
: No module named getopt  File "/usr/local/mailman/bin/qrunner",
line  76, in ?

ImportErrorimport getopt
No module named getopt:
No module named getopt
ImportErrorCould not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
: No module named getopt
Traceback (most recent call last):
  File "/usr/local/mailman/bin/qrunner", line 76, in ?
import getopt
ImportError: No module named getopt


Honestly, this looks like a screwed python install or some screw

up

when mailman compiled.  Can you do a few basic info things?



Sure, happy to do so!


which python



/usr/local/bin/python


whereis python



python: /usr/local/bin/python /usr/local/man/man1/python.1.gz /usr/
ports/lang/python


python
# and to the command interpreter type
import getopt
# and exit with ^D (control D)



# python
Python 2.4.3 (#2, Jun 13 2006, 21:29:49)
[GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
Type "help", "copyright", "credits" or "license" for more
information.

import getopt



(I'm assuming this means no issues here)



egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf

/etc/make.conf




# egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf
/etc/make.conf
/usr/local/etc/pkgtools.conf-  # 'perl',
/usr/local/etc/pkgtools.conf-  # 'ruby',
/usr/local/etc/pkgtools.conf:  #'python',
/usr/local/etc/pkgtools.conf-  #   ]
/usr/local/etc/pkgtools.conf-  #



egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf

/etc/make.conf




# egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf
/etc/make.conf
/usr/local/etc/pkgtools.conf-'security/clamav' => 'CLAMAVUSER?
=vscan CLAMAVGROUP?=vscan',
/usr/local/etc/pkgtools.conf-'www/MT' => '-DWITH_MYSQL',
/usr/local/etc/pkgtools.conf:'mail/mailman' =>
'MAIL_GID=mailman'
/usr/local/etc/pkgtools.conf-  }
/usr/local/etc/pkgtools.conf-




head -5 /usr/local/mailman/bin/qrunner



# head -5 /usr/local/mailman/bin/qrunner
#! /usr/local/bin/python

# Copyright (C) 2001-2006 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or





--Alex




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







PGP.sig
Description: This is a digitally signed message part


Re: Python port problems

2006-06-14 Thread Joe Auty


On Jun 14, 2006, at 1:10 PM, Alex Zbyslaw wrote:



I've truncated the tests since nothing there showed any problem  
whatsoever.  I'm running out of ideas, so this one may be off the  
wall:

($ to indicate command lines but don;t type the $ :-))



Just as a preface, Mailman is working fine on another FreeBSD machine  
of mine. I'm wondering if this could be something as simple as bad  
permissions set somewhere?




$ egrep prefix /usr/local/mailman/bin/qrunner



nothing


I've found a mailman installation I can compare this next one against.

$ egrep prefix /usr/local/mailman/bin/paths.py

If this doesn't look like below, then we have found the problem, if  
not the cause.  If anything contains the <> you have the problem  
and can ignore the next item.  (Yours should have /usr/local for / 
var but it's a cruddy Linux machine which happens to have mailman).



# importing this module, sys.path gets `hacked' so that the $prefix/ 
Mailman

prefix = '/var/mailman'
exec_prefix = '${prefix}'
if exec_prefix == '${prefix}':
   exec_prefix = prefix
# Hack the path to include the parent directory of the $prefix/ 
Mailman package

sys.path.insert(0, prefix)
sys.path.insert(0, os.path.join(prefix, 'pythonlib'))
sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3],



# grep prefix /usr/local/mailman/bin/paths.py
# importing this module, sys.path gets `hacked' so that the $prefix/ 
Mailman

prefix = '/usr/local/mailman'
exec_prefix = '${prefix}'
if exec_prefix == '${prefix}':
exec_prefix = prefix
# Hack the path to include the parent directory of the $prefix/ 
Mailman package

sys.path.insert(0, prefix)
sys.path.insert(0, os.path.join(prefix, 'pythonlib'))
sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3],


Only difference here seems to be the prefix...




And one which may spew quite a lot.  Cut it off if it gets to  
printing help.


$ python -v /usr/local/mailman/bin/qrunner




# grep prefix /usr/local/mailman/bin/paths.py
# importing this module, sys.path gets `hacked' so that the $prefix/ 
Mailman

prefix = '/usr/local/mailman'
exec_prefix = '${prefix}'
if exec_prefix == '${prefix}':
exec_prefix = prefix
# Hack the path to include the parent directory of the $prefix/ 
Mailman package

sys.path.insert(0, prefix)
sys.path.insert(0, os.path.join(prefix, 'pythonlib'))
sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3],
jauty# python -v /usr/local/mailman/bin/qrunner
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/local/lib/python2.4/site.pyc matches /usr/local/lib/python2.4/ 
site.py

import site # precompiled from /usr/local/lib/python2.4/site.pyc
# /usr/local/lib/python2.4/os.pyc matches /usr/local/lib/python2.4/os.py
import os # precompiled from /usr/local/lib/python2.4/os.pyc
import posix # builtin
# /usr/local/lib/python2.4/posixpath.pyc matches /usr/local/lib/ 
python2.4/posixpath.py
import posixpath # precompiled from /usr/local/lib/python2.4/ 
posixpath.pyc
# /usr/local/lib/python2.4/stat.pyc matches /usr/local/lib/python2.4/ 
stat.py

import stat # precompiled from /usr/local/lib/python2.4/stat.pyc
# /usr/local/lib/python2.4/UserDict.pyc matches /usr/local/lib/ 
python2.4/UserDict.py

import UserDict # precompiled from /usr/local/lib/python2.4/UserDict.pyc
# /usr/local/lib/python2.4/copy_reg.pyc matches /usr/local/lib/ 
python2.4/copy_reg.py

import copy_reg # precompiled from /usr/local/lib/python2.4/copy_reg.pyc
# /usr/local/lib/python2.4/types.pyc matches /usr/local/lib/python2.4/ 
types.py

import types # precompiled from /usr/local/lib/python2.4/types.pyc
# /usr/local/lib/python2.4/warnings.pyc matches /usr/local/lib/ 
python2.4/warnings.py

import warnings # precompiled from /usr/local/lib/python2.4/warnings.pyc
# /usr/local/lib/python2.4/linecache.pyc matches /usr/local/lib/ 
python2.4/linecache.py
import linecache # precompiled from /usr/local/lib/python2.4/ 
linecache.pyc

import encodings # directory /usr/local/lib/python2.4/encodings
# /usr/local/lib/python2.4/encodings/__init__.pyc matches /usr/local/ 
lib/python2.4/encodings/__init__.py
import encodings # precompiled from /usr/local/lib/python2.4/ 
encodings/__init__.pyc
# /usr/local/lib/python2.4/codecs.pyc matches /usr/local/lib/ 
python2.4/codecs.py

import codecs # precompiled from /usr/local/lib/python2.4/codecs.pyc
import _codecs # builtin
# /usr/local/lib/python2.4/encodings/aliases.pyc matches /usr/local/ 
lib/python2.4/encodings/aliases.py
import encodings.aliases # precompiled from /usr/local/lib/python2.4/ 
encodings/aliases.pyc
# /usr/local/lib/python2.4/encodings/ascii.pyc matches /usr/local/lib/ 
python2.4/encodings/ascii.py
import encodings.ascii # precompiled from /usr/local/lib/python2.4/ 
encodings/ascii.pyc

Python 2.4.3 (#2, Jun 13 2006, 21:29:49)
[GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
Type "help", "copyright", "credits" or "license" for more information.
# /usr/local/lib/python2.4/getopt.pyc matches /usr/local/lib/ 

Re: Python port problems

2006-06-14 Thread Joe Auty


On Jun 14, 2006, at 6:01 AM, Alex Zbyslaw wrote:


Joe Auty wrote:



Sorry for the delay in response here. This is still a problem for  
me,  and I would still like this problem resolved.


Yes, I've tried reinstalling both Python and Mailman, and upgraded  
to  newer port revisions of Mailman which have been released since  
this  message. I'm still getting the same error message when I go  
to start  Mailman via its rc script:


... snip
Traceback (most recent call last):
:
: No module named getopt  File "/usr/local/mailman/bin/qrunner",  
line  76, in ?


ImportErrorimport getopt
No module named getopt:
No module named getopt
ImportErrorCould not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
: No module named getopt
Traceback (most recent call last):
  File "/usr/local/mailman/bin/qrunner", line 76, in ?
import getopt
ImportError: No module named getopt


Honestly, this looks like a screwed python install or some screw up  
when mailman compiled.  Can you do a few basic info things?




Sure, happy to do so!


which python



/usr/local/bin/python


whereis python



python: /usr/local/bin/python /usr/local/man/man1/python.1.gz /usr/ 
ports/lang/python



python
# and to the command interpreter type
import getopt
# and exit with ^D (control D)



# python
Python 2.4.3 (#2, Jun 13 2006, 21:29:49)
[GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
Type "help", "copyright", "credits" or "license" for more information.
>>> import getopt
>>>

(I'm assuming this means no issues here)



egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf /etc/make.conf



# egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf /etc/make.conf
/usr/local/etc/pkgtools.conf-  # 'perl',
/usr/local/etc/pkgtools.conf-  # 'ruby',
/usr/local/etc/pkgtools.conf:  #'python',
/usr/local/etc/pkgtools.conf-  #   ]
/usr/local/etc/pkgtools.conf-  #



egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf /etc/make.conf



# egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf /etc/make.conf
/usr/local/etc/pkgtools.conf-'security/clamav' => 'CLAMAVUSER? 
=vscan CLAMAVGROUP?=vscan',

/usr/local/etc/pkgtools.conf-'www/MT' => '-DWITH_MYSQL',
/usr/local/etc/pkgtools.conf:'mail/mailman' => 'MAIL_GID=mailman'
/usr/local/etc/pkgtools.conf-  }
/usr/local/etc/pkgtools.conf-




head -5 /usr/local/mailman/bin/qrunner



# head -5 /usr/local/mailman/bin/qrunner
#! /usr/local/bin/python

# Copyright (C) 2001-2006 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or





--Alex




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




PGP.sig
Description: This is a digitally signed message part


Re: Python port problems

2006-06-13 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Jun 13, 2006, at 7:51 PM, Michael P. Soulier wrote:


On 13/06/06 Joe Auty said:


Sorry for the delay in response here. This is still a problem for me,
and I would still like this problem resolved.

Yes, I've tried reinstalling both Python and Mailman, and upgraded to
newer port revisions of Mailman which have been released since this
message. I'm still getting the same error message when I go to start
Mailman via its rc script:


What order did you install them in? Mailman has some compiled C  
code for
security and performance reasons. Your Python install needs to be  
stable when

Mailman builds against it.



I just tried a portupgrade -f python, and then a portupgrade -f  
mailman, and I have the same problem...


Unfortunately, I'm kind of flying blind here since I don't really  
know how to troubleshoot this particular problem =(


Hope you can help!







- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEj2dkCgdfeCwsL5ERAt0yAJ0SnNK9QjQCUG4DSEpwSY2b8oEL/gCfU3hu
Fzi4bT+oNh09Ud7n4gObvck=
=m4YC
-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: Python port problems

2006-06-13 Thread Joe Auty


On May 23, 2006, at 12:42 PM, Alex Zbyslaw wrote:


Lowell Gilbert wrote:


Joe Auty <[EMAIL PROTECTED]> writes:



$ python -c 'import sys; print sys.path'
['', '/usr/local/lib/python24.zip', '/usr/local/lib/python2.4', '/ 
usr/ local/lib/python2.4/plat-freebsd5', '/usr/local/lib/ 
python2.4/lib- tk', '/usr/local/lib/python2.4/lib-dynload', '/usr/ 
local/lib/ python2.4/site-packages']



I don't have a /usr/local/bin/python in there. Is that my problem?



That's where the ports would install it, so that does sound like a
problem.   Look at "which python" and "pkg_info|grep python".

The executable /usr/local/bin/python has no business being in the  
path for *modules*.  This is not your problem.


I have never used mailman so do not know how it picks up its  
modules.  It *might* install them into one of these directories on  
the module patch, but more likely it just pushes its own directory  
of modules onto this path when it runs, in which case the output  
you have won't help.


Have you tried simply re-installing mailman?  Maybe you upgraded  
python at some point after installing mailman and that is throwing  
something.





Sorry for the delay in response here. This is still a problem for me,  
and I would still like this problem resolved.


Yes, I've tried reinstalling both Python and Mailman, and upgraded to  
newer port revisions of Mailman which have been released since this  
message. I'm still getting the same error message when I go to start  
Mailman via its rc script:


... snip
Traceback (most recent call last):
:
: No module named getopt  File "/usr/local/mailman/bin/qrunner", line  
76, in ?


ImportErrorimport getopt
No module named getopt:
No module named getopt
ImportErrorCould not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
: No module named getopt
Traceback (most recent call last):
  File "/usr/local/mailman/bin/qrunner", line 76, in ?
import getopt
ImportError: No module named getopt



Any ideas here?


---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


Re: Python port problems

2006-05-22 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On May 22, 2006, at 8:27 PM, Michael P. Soulier wrote:


On 5/22/06, Joe Auty <[EMAIL PROTECTED]> wrote:

Starting up Mailman on one machine I'm on produces the following
error message (see below). For some reason, this is not a problem


Test your python installation. Try

python -c 'import sys; print sys.path'

See which python interpreter this is, /usr/local/bin/python most
likely, and make sure that mailman is using this python.



I'm not sure how to determine what Python Mailman is using, but the  
only Python I've installed on the system is from FreeBSD ports,  
unless some other software bundles its own...


Here is the output of the command printed above:

$ python -c 'import sys; print sys.path'
['', '/usr/local/lib/python24.zip', '/usr/local/lib/python2.4', '/usr/ 
local/lib/python2.4/plat-freebsd5', '/usr/local/lib/python2.4/lib- 
tk', '/usr/local/lib/python2.4/lib-dynload', '/usr/local/lib/ 
python2.4/site-packages']



I don't have a /usr/local/bin/python in there. Is that my problem?







- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEclhpCgdfeCwsL5ERAlu4AJ9cye7laavwZtplMtl1eAYXaAnypQCcDrP5
KhrwPI/K02VISTmkjsWV0wU=
=paE7
-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]"


determining files installed by a port

2006-05-22 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is there a way to get a listing of all files installed by a port?  
Perhaps there is a tool that will scan a package and output its  
contents to standard out?







- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEcaN1CgdfeCwsL5ERAobNAJ9YwKEy8VECNQloyiuTDqIb/Nx0JACdHPOD
9Y0qsjNAqpN7FMItTu8x/00=
=gpn2
-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]"


Python port problems

2006-05-21 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

Starting up Mailman on one machine I'm on produces the following  
error message (see below). For some reason, this is not a problem  
with the same version on another FreeBSD machine I'm on, both  
installed from ports. I have 'mail/mailman' => 'MAIL_GID=mailman'  in  
my pkgtools.conf on both machines, and a mailman user/group...


According to the Mailman list, this is actually a Python build  
problem, which is why I'm posting this there (can't explain the fact  
that I'm not reproducing it on the same machine, although I think I  
may have accidently messed up some of the permissions in /usr on the  
machine this is no longer working on)... The list suggests that the  
configure arguments reference the Python executables, not the lib  
directory. I'm not sure if this applies to my problem, but here is  
the thread:


http://www.mail-archive.com/mailman-users@python.org/msg28164.html


Any ideas?



Could not find platform independent libraries 
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Traceback (most recent call last):
Traceback (most recent call last):
  File "/usr/local/mailman/bin/qrunner", line 76, in ?
import getopt
ImportError: No module named getopt

(snip... all sorts of similar errors)









- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEcTfyCgdfeCwsL5ERAiUSAJ9HVru6UkqytTBCBgt/BZESQ2cEwQCcDnIK
hqoZq3z42bhokFJ0r/5PvJA=
=s/2K
-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: clean reinstall all ports

2006-05-21 Thread Joe Auty


On May 21, 2006, at 12:50 PM, David Kelly wrote:


On Sun, May 21, 2006 at 03:40:05AM -0400, Joe Auty wrote:

Hello,

I kind of messed up the permissions of my /usr/local directory. Is
there a way to clean install all ports? I notice that manually
reinstalling doesn't seem to correct all permission errors, which is
why doing some sort of clean reinstall that would produce squeaky
clean versions of all my ports would be great.

Any way to do this?


portupgrade -fa



Yeah, this is what I was using, but it doesn't seem to recreate  
permissions properly... it just seems to inherit permissions from the  
parent directory, although it sets permissions contained within the  
directory where the files are installed properly.


I could be mistaken here though...




-------
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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


clean reinstall all ports

2006-05-21 Thread Joe Auty

Hello,

I kind of messed up the permissions of my /usr/local directory. Is  
there a way to clean install all ports? I notice that manually  
reinstalling doesn't seem to correct all permission errors, which is  
why doing some sort of clean reinstall that would produce squeaky  
clean versions of all my ports would be great.


Any way to do this?








-------
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[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: kernel panic on kldload in 6.1

2006-05-19 Thread Joe Auty


On May 19, 2006, at 2:38 PM, Kris Kennaway wrote:


On Thu, May 18, 2006 at 10:54:19PM -0400, Joe Auty wrote:


On May 18, 2006, at 12:36 AM, Kris Kennaway wrote:


On Wed, May 17, 2006 at 07:06:59PM -0400, Joe Auty wrote:

Hello,

A problem I've had since 6.0 remains in 6.1 where my machine kernel
panics at boot trying to kldload some module (it doesn't say which
one). It also does not log this panic.

I suppose this isn't terribly helpful information, but if there is
anything you can suggest I do (including pass this on to an
interested party), please let me know how I can help =)


It sounds like you have an old (6.0) module you're still trying to
load.  Things like the nvidia driver and other ports are prime
candidates.




Hi, I tried commenting out all of the kernel modules in /boot/
loader.conf, and I'm still panicing. I wrote down some of the panic
message this time.

The code is "superviser read, page not present"

the panic output is:

panic: page fault


Unless you guys have any ideas of things I can try, I'll just file  
this.


Any ideas?


So you claimed originally that it was due to kldloading "some module",
but now you're still getting the same panic when you're not kldloading
anything?  Can you please clarify exactly what is the situation?

I suspect you're still actually kldloading something (modules are
loaded on demand for some things): did you boot into single-user mode
and confirm that all modules are up-to-date?




I'm getting this error message during boot time, not during manual  
loading of modules.  I'm getting this error message despite disabling  
all my third-party modules listed in /boot/loader.conf. I'm assuming  
that all modules stored in /boot/kernel are system modules, and it  
would be expected that they would all be able to run without kernel  
panicing during boot?


Sorry for my lack of clarity! Where I became unclear was probably in  
saying "some module". During boot time, once this panic is spewed  
onto my screen, it doesn't indicate which (system) module it is  
choking on.


This panic occurred in single user mode under 6.0 too, I haven't  
tried single user mode in 6.1 yet





---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


Re: kernel panic on kldload in 6.1

2006-05-18 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On May 18, 2006, at 12:36 AM, Kris Kennaway wrote:


On Wed, May 17, 2006 at 07:06:59PM -0400, Joe Auty wrote:

Hello,

A problem I've had since 6.0 remains in 6.1 where my machine kernel
panics at boot trying to kldload some module (it doesn't say which
one). It also does not log this panic.

I suppose this isn't terribly helpful information, but if there is
anything you can suggest I do (including pass this on to an
interested party), please let me know how I can help =)


It sounds like you have an old (6.0) module you're still trying to
load.  Things like the nvidia driver and other ports are prime
candidates.




Hi, I tried commenting out all of the kernel modules in /boot/ 
loader.conf, and I'm still panicing. I wrote down some of the panic  
message this time.


The code is "superviser read, page not present"

the panic output is:

panic: page fault


Unless you guys have any ideas of things I can try, I'll just file this.

Any ideas?







- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEbTNcCgdfeCwsL5ERAvchAJ4toYHlfKLLcZV6XoedQQi3DDKLqwCeLZsX
BHq3DxDtX+cg2gSPNqAaUVo=
=XNLD
-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: undo geom mirror

2006-05-17 Thread Joe Auty
Hi Craig (sending this to the list too, for the general interest of  
whomever):


I tried this out on a test machine:

1) rolled back fstab to original (non-mirror version)
2) commented out automatic load of mirror in /boot/loader.conf
3) rebooted

This worked fine, however, going back to the mirrored version of  
fstab would even allow me to boot the machine until I deactivated the  
mirrored drive, and reattached it (which forced it to rebuild).


Not too difficult to do though. Now, I just need to know whether it  
is wise to ensure that no writing or changes to the disk are  
occurring when the drives are syncing for the first time. Any ideas?




On May 17, 2006, at 4:11 PM, Craig Ryhorchuk wrote:


Good question, but I'd think there would be a chance of things getting
messed up if the kernel thought you had a mirror and you were  
trying to

use the two drives independently.  Stuff like whatever you write to /
ending up in the middle of your /usr partition on drive 2 as well.
Or it might just not boot or maybe it'd work.  I'm not willing to try
it just because I don't want to have to rebuild everything on the one
server I have it set up on.

-Original Message-
From: Joe Auty [mailto:[EMAIL PROTECTED]
Sent: May 17, 2006 3:58 PM
To: Craig Ryhorchuk
Subject: Re: undo geom mirror

Thanks for your response!

So, basically, all I have to do is just undo fstab and loader.conf,
and that will essentially get me back up and running? What would
happen if I didn't remove the mirror?

On May 17, 2006, at 3:40 PM, Craig Ryhorchuk wrote:


I'm sending this off-list because apparently even though spammers
have free posting access to the list, I don't.

Just to be safe, I'd recommend removing your primary bootdisk from  
the

mirror, changing your /etc/fstab back to the original values as
well as /boot/loader.conf.

At this point you should be safely able to simply boot from the
original
boot disk and remove the second drive from the GM and delete the  
whole

mirror.

Make sure you have the boot CD available just in case.  If you
forget/mess up one step like I did when setting one up it's easy to
fix.

 - Craig

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe Auty
Sent: May 17, 2006 7:47 AM
To: FreeBSD Questions
Subject: undo geom mirror

Hello,

What is the best way to "undo" a geom-based mirror, just out of
curiosity, and return the configuration to allowing independent
control over the two disks?

something like this?

gmirror clear mirror/gm0
gmirror remove ad1
gmirror remove ad2

- unload geom, remove from boot/loader.conf
- revise /etc/fstab


Please help me fill in the gaps here, I've never successfully done
this.... Or, is this procedure inadvisable?






---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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


kernel panic on kldload in 6.1

2006-05-17 Thread Joe Auty

Hello,

A problem I've had since 6.0 remains in 6.1 where my machine kernel  
panics at boot trying to kldload some module (it doesn't say which  
one). It also does not log this panic.


I suppose this isn't terribly helpful information, but if there is  
anything you can suggest I do (including pass this on to an  
interested party), please let me know how I can help =)








---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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


safe to write to drive while doing initial mirror?

2006-05-17 Thread Joe Auty

Hello,

Is it safe to write to my new geom mirrored FreeBSD drive while it is  
still doing the initial mirroring of data to the secondary drive? In  
other words, if the quality is in a badly degraded state (like it  
would be for a first-time mirror), is it best to leave the drive  
untouched while it syncs?




---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


Re: vinum concat

2006-05-17 Thread Joe Auty
There might be some helpful nuggets in there, but I'm looking to  
basically combine the storage of multiple disks, like RAID-0, except  
I want my second drive written to only when my first drive has been  
filled. I understand this can be done via vinum concatenation. I'm  
looking for general feedback on whether anybody has tried this setup,  
how it worked, and what was useful to know to get started.




On May 17, 2006, at 12:06 PM, Emil Thelin wrote:


On Wed, 17 May 2006, Joe Auty wrote:

Are their any tutorials explaining how to do so? So far, based on  
the lack of info I've been able to find, it seems to me that this  
is a rarely used configuration... I'm wondering what the reasons  
for this might be?


http://devel.reinikainen.net/docs/how-to/Vinum/ might be helpful.

/e

--
http://hostname.nu/~emil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[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: moving /usr

2006-05-17 Thread Joe Auty
How would you mount your old drive once booted into your new RAIDed  
system? Would mount /dev/ad0s1a /mnt work even when you are booted  
off of your gm0 RAIDed drive?




On May 17, 2006, at 11:55 AM, Perttu Laine wrote:


On 5/17/06, Derek Ragona <[EMAIL PROTECTED]> wrote:


 That should work fine.  I would also still mount the old /usr on a
different mount point so if something doesn't get copied right you  
will

still have it available.



Gonna do that. Thank's.
Now I have one more think before I can start working on this. Are  
these SATA
RAID cards (or one of them) supported in FreeBSD 5.4 (or 5.5).  
Would be nice

if someone knows :)

XFX Revo 64 (SP-PCC3-H000)
Adaptec 1420SA

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




PGP.sig
Description: This is a digitally signed message part


undo geom mirror

2006-05-17 Thread Joe Auty

Hello,

What is the best way to "undo" a geom-based mirror, just out of  
curiosity, and return the configuration to allowing independent  
control over the two disks?


something like this?

gmirror clear mirror/gm0
gmirror remove ad1
gmirror remove ad2

- unload geom, remove from boot/loader.conf
- revise /etc/fstab


Please help me fill in the gaps here, I've never successfully done  
this Or, is this procedure inadvisable?







---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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


vinum concat

2006-05-17 Thread Joe Auty

Hello,

Can anybody recommend using vinum to concatenate across two disks?  
What are the upsides? Downsides?


Are their any tutorials explaining how to do so? So far, based on the  
lack of info I've been able to find, it seems to me that this is a  
rarely used configuration... I'm wondering what the reasons for this  
might be?








-------
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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


  1   2   >