Re: which jdk?

2006-03-24 Thread Benjamin Thelen

Miguel schrieb:
hi, i need to install tomcat 5 in a client's server running 
freebsd-6.0R, i know there is a port in  /usr/ports/www/tomcat55, so far 
so good,  in


http://www.freebsd.org/java/

there are many options, which one  do you recommend, native?:

---
miguel

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



I have jdk 1.4 and tomcat 5.0 on FreeBSD 4.11-Release running now for 
months without problems. I'm just starting to test 1.5/5.5 on 6.0R and 
built jdk-1.5 successfully, but it is beta. Otherwise 1.3/1.4 is said to 
be used at their own risk...



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


Re: How to install x-windows in freeBSD

2006-01-18 Thread Benjamin Thelen

Hi Anirban,

a very good place to start is the handbook, chapter 5. Most important is 
to know the monitor specifications, video adapter chipset, the video 
adapter memory and to create a initial xorg.conf with


Xorg -configure

If you've done this already and still hung, you need to supply detailed 
information to the list.



Best,
Ben



Anirban Adhikary schrieb:

Hi guys ,This is Anirban here.I have just installed freeBSD 6.0 and i have
installed it properly.But i am not able to see any graphics on it.So my
question is that how i can install x-window system in freeBSD environment.
Hope i will receive my reply soon.
with regards
Anirban.
___
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]


doxygen 1.4.1 -- 1.4.6 error (solved)

2006-01-12 Thread Benjamin Thelen

Hi all,

I stumbled on this error while portupgrading doxygen 1.3.6 to 1.4.1 one 
year ago and here is an old friend again ;-):


Transcript written on doxygen_manual.log.
cp ../doc/doxygen_logo.eps .
cp ../doc/doxygen_logo.gif .
Running latex again to get a .dvi file...
latex doxygen_manual.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
---! /root/.texmf-var/web2c/latex.fmt was written by tex
(Fatal format file error; I'm stymied)
gmake[1]: *** [doxygen_manual.dvi] Error 1
gmake[1]: Leaving directory 
`/data/ports/devel/doxygen/work/doxygen-1.4.6/latex'

gmake: *** [pdf] Error 2
*** Error code 2

Stop in /data/ports/devel/doxygen.

Just in case someone stumbles on it, too remove ~/.texmf-var (see 
/usr/ports/UPDATING, 20050213 for more information).



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


Re: Postgresql 8.0 again

2006-01-09 Thread Benjamin Thelen
Reboot always helped for me. Otherwise see 
http://www.webservertalk.com/message292349.html.

Maybe this helps.

Best,
Ben

Mike Jeays schrieb:

I just re-installed postgresql80-server from the ports, and get exactly
the same error as from the package.  This is on my 5.4 machine, were I
previously had a working copy.

I have tried changing max_connections in the sample config file (setting
it down to 1 just to see if even that would work). I also tried the
following kernel setting changes (without a reboot), with no
improvement.

sysctl -w kern.ipc.shmall=32768
sysctl -w kern.ipc.shmmax=134217728
sysctl -w kern.ipc.semmap=256

Error message from initdb

...
...
creating configuration files ... ok
creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL:
could not create semaphores: No space left on device
DETAIL:  Failed system call was semget(1, 17, 03600).
HINT:  This error does *not* mean that you have run out of disk space.
It occurs when either the system limit for the maximum number of
semaphore sets (SEMMNI), or the system wide maximum number of semaphores
(SEMMNS), would be exceeded.  You need to raise the respective kernel
parameter.  Alternatively, reduce PostgreSQL's consumption of semaphores
by reducing its max_connections parameter (currently 10).
The PostgreSQL documentation contains more information about
configuring your system for PostgreSQL.
child process exited with exit code 1
initdb: removing data directory /usr/local/pgsql/data

Any more help will be very welcome!


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


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


Re: Postgresql 8.0 again

2006-01-09 Thread Benjamin Thelen
At first I did't find ipc_check.pl. You'll need the postgresql source 
tree: contrib/ipc_check/ipc_check.pl.
I also found ipcclean what may do the same like a reboot does... and 
ipcs gives some status information.


Best,
Ben



Mike Jeays schrieb:

I just re-installed postgresql80-server from the ports, and get exactly
the same error as from the package.  This is on my 5.4 machine, were I
previously had a working copy.

I have tried changing max_connections in the sample config file (setting
it down to 1 just to see if even that would work). I also tried the
following kernel setting changes (without a reboot), with no
improvement.

sysctl -w kern.ipc.shmall=32768
sysctl -w kern.ipc.shmmax=134217728
sysctl -w kern.ipc.semmap=256

Error message from initdb

...
...
creating configuration files ... ok
creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL:
could not create semaphores: No space left on device
DETAIL:  Failed system call was semget(1, 17, 03600).
HINT:  This error does *not* mean that you have run out of disk space.
It occurs when either the system limit for the maximum number of
semaphore sets (SEMMNI), or the system wide maximum number of semaphores
(SEMMNS), would be exceeded.  You need to raise the respective kernel
parameter.  Alternatively, reduce PostgreSQL's consumption of semaphores
by reducing its max_connections parameter (currently 10).
The PostgreSQL documentation contains more information about
configuring your system for PostgreSQL.
child process exited with exit code 1
initdb: removing data directory /usr/local/pgsql/data

Any more help will be very welcome!


___
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]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: openoffice-2 openssl-beta-0.9.8a

2005-12-11 Thread Benjamin Thelen
Hello Mike,

thanks for your response!

I suppose you're using the ports openssl instead of the base system. Thus
your solution is definitely a good way as far as I can see, but I would
like to keep the base system openssl if possible.

Best,
Ben


 Hi Benjamin,

 I had the same problem. The solution to this problem for me was the
 portupgrade -o option to replace openssl-beta with openssl-stable and
 update all the dependencies. Have a look in the portupgrade man page.
 There is an example how to use this option. For me it looked something
 like 'portupgrade -o security/openssl-stable openssl-beta' to get rid of
 the beta dep.
 Actually I don't know at what point openssl is important to openoffice
 and if this might lead to some issues. However, I didn't have any
 problems so far.
 Greetings,
 Mike

 Benjamin Thelen wrote:
 You FreeBSD guys,

 This is a kind of reposting, I got no response to this question (Why? Is
 there something wrong how I write my my question(s)?), whether list
 (archives) nor google told me something _really_ helpful - just stupid
 work arounds -sorry.

 I suppose there are many of you using the OpenOffice-2.0 package from
 http://porting.openoffice.org/freebsd/ which requires
 openssl-beta-0.9.8a
 to be installed (I don't understand why).

 Installing openssl-beta from ports at first doesn't hurt. But at the
 stage
 of portupgrading next time it starts to be a pain, so I end up removing
 openoffice-2 and openssl-beta _before_ I do a portupgrade. If I don't
 remove both ports, any port that requires openssl is built with
 openssl-beta instead of openssl from the base system. If I add
 WITH_OPENSSL_BASE=yes, which seemd to be a good  solution, net-snmp
 (required for kdeutils) complains that it cannot build if there is a
 newer
 openssl version installed by a port. There we are again, byebye
 openssl-beta/openoffice, portupgrade, reinstall both.


 I'm a bit of a loss, no answer, no help by google, but I can't be the
 only
 one who faces this problem. How are you dealing with this? Do I overlook
 something?


 Thanks,
 Ben

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






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


Re: openoffice-2 openssl-beta-0.9.8a

2005-12-11 Thread Benjamin Thelen
 * Benjamin Thelen [EMAIL PROTECTED] [09-12-2005 21:15:25 +0100]:
 I'm a bit of a loss, no answer, no help by google, but I can't be the
 only
 one who faces this problem. How are you dealing with this? Do I overlook
 something?

 Just force the thing to install and don't give another thought to that
 openssl dependency:

 pkg_add -f .tgz

 f like ... force! ;-)

Martin,

Usually force is something I like avoid ;-).

Nevertheless I did it your way :-). But I additionally had to delete the
dependency to openssl-beta, because portupgrade complained. I don't know
it this was the best idea...

Two messages were a little annoying, please see below. I don't know if
it's bad to see dependency registration is incomplete.
.
.
.
pkg_add: can't open dependency file
'/var/db/pkg/openssl-beta-0.9.8a/+REQUIRED_BY'!
dependency registration is incomplete
pkg_add: warning: package 'de-openoffice.org-2.0.20051202' requires
'perl-threaded-5.8.7', but 'perl-5.8.7' is installed


And I really don't know where this perl-threaded comes from - I even
couldn't find a port called like this - I suppose, it's a knob.


Best,
Ben



 HTH,
 Martin

 --
 Martin Möller mm at andvari.de - ICQ # 82221572
 GnuPG/PGP (DSA) Schlüssel-ID: 06746BEE - FAbdruck
 9D2E 943F A669 50E4 A638 E42F 2699 2A76 0674 6BEE



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


Re: openoffice-2 openssl-beta-0.9.8a

2005-12-10 Thread Benjamin Thelen
 On Friday 09 December 2005 15:36, Benjamin Thelen wrote:
  On Friday 09 December 2005 12:15, Benjamin Thelen wrote:
  You FreeBSD guys,
 
  This is a kind of reposting, I got no response to this question (Why?
 Is
  there something wrong how I write my my question(s)?), whether list
  (archives) nor google told me something _really_ helpful - just
 stupid
  work arounds -sorry.
 
  I suppose there are many of you using the OpenOffice-2.0 package from
  http://porting.openoffice.org/freebsd/ which requires
  openssl-beta-0.9.8a
  to be installed (I don't understand why).
 
  Installing openssl-beta from ports at first doesn't hurt. But at the
  stage
  of portupgrading next time it starts to be a pain, so I end up
 removing
  openoffice-2 and openssl-beta _before_ I do a portupgrade. If I don't
  remove both ports, any port that requires openssl is built with
  openssl-beta instead of openssl from the base system. If I add
  WITH_OPENSSL_BASE=yes, which seemd to be a good  solution, net-snmp
  (required for kdeutils) complains that it cannot build if there is a
  newer
  openssl version installed by a port. There we are again, byebye
  openssl-beta/openoffice, portupgrade, reinstall both.
 
 
  I'm a bit of a loss, no answer, no help by google, but I can't be the
  only
  one who faces this problem. How are you dealing with this? Do I
 overlook
  something?
 
 
  Thanks,
  Ben

 Mike,
 Thanks for your answer.

  You allready have the answer, you said it works when you build from
  ports. If you don't want to always rebuild openoffice when you upgrade
  ports mark it as ignored in pkgtools.conf.

 I already did - just because I don't want to compile OOo. Building OOo-2
 on a PIII/1,13 isn't very funny. :-). OOo-1.1 was a little nightmare,
 especially because it took me a while to succeed - you'd surely find on
 google ;-). Last but not least, I don't have 9 free GBs. Really. :-)

 I just don't understand why the package I mentioned requires openssl,
 because I can't see any dependency on openssl, neither for building nor
 for running.


 A third way would be to use the ports openssl-beta as systems default?

 Ben

  -Mike

 Your better off leaving openssl set to the one in base and building from
 source anything that depends on openssl.  The problem with packages is you
 are at the mercy of how someone else built them.

Mike,

Yes, but this case is a little strange, isn't it? Nobody else is
wondering, there actually is no dependency on openssl, using the ports
openssl, even a beta may be a litte uncommon (?) and I think this URL I
mentioned is the main source for getting OOo as a package.

Despite the problem I face, thanks to Nakata Maho at this point for his work.


 I also don't see where the openssl dependency is comming from and have to
 take your word for it the package of open office you tried had one.

Short and clear ;-):

[EMAIL PROTECTED] pkg_add
/data/software/freebsd/OOo_2.0m143_FreeBSD60Intel_install_de.tbz
pkg_add: could not find package openssl-beta-0.9.8a !



 If your installed open office was built by you and works I highly
 recommend
 you back it up, something like

 pkg_create -b /var/db/pkg/openoffice.org-2.0.0_1 and save the resulting
 openoffice.org-2.0.0_1.tgz somewhere safe.  Now if in the future yoy want
 to upgrade it again from source and it doesn't work you always have a
 known
 good copy to fall back on.

That sounds interesting. I never used pkg_create. Thanks for your hint,
I'll have a look at this and look for a fast compiling machine :-)!

Thanks for your response!

Best,
Ben


 -Mike






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


openoffice-2 openssl-beta-0.9.8a

2005-12-09 Thread Benjamin Thelen
You FreeBSD guys,

This is a kind of reposting, I got no response to this question (Why? Is
there something wrong how I write my my question(s)?), whether list
(archives) nor google told me something _really_ helpful - just stupid
work arounds -sorry.

I suppose there are many of you using the OpenOffice-2.0 package from
http://porting.openoffice.org/freebsd/ which requires openssl-beta-0.9.8a
to be installed (I don't understand why).

Installing openssl-beta from ports at first doesn't hurt. But at the stage
of portupgrading next time it starts to be a pain, so I end up removing
openoffice-2 and openssl-beta _before_ I do a portupgrade. If I don't
remove both ports, any port that requires openssl is built with
openssl-beta instead of openssl from the base system. If I add
WITH_OPENSSL_BASE=yes, which seemd to be a good  solution, net-snmp
(required for kdeutils) complains that it cannot build if there is a newer
openssl version installed by a port. There we are again, byebye
openssl-beta/openoffice, portupgrade, reinstall both.


I'm a bit of a loss, no answer, no help by google, but I can't be the only
one who faces this problem. How are you dealing with this? Do I overlook
something?


Thanks,
Ben

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


Re: How often portupgrades?

2005-12-09 Thread Benjamin Thelen
 Just wondering what a good rule of thumb is in how often to run
 portupgrades.

Kiffin,

In my opinion, there is no. If you need an upgrade, go for it, if not, why
portupgrade? You don't need to follow each little jump of version.



 I figure that once a week should be sufficient, however each time it runs
 it can take up to a few hours to complete which seems like an unnecessary
 hassle to me. Once it even started rebuilding the complete gnome port
 which took a couple days!

I think, that's how it is. You are off better of having a fast machine to
create your packages yourselves, which you then distribute to slower
machines.

Mine is a PIII/1,13 I run portupgrade between once a week and once a
month. Compiling time (I use KDE) is usually done within one night.
The last gnomeupdate.sh wasn't funny. That infact took the machine days to
rebuild all the ports.

Hope that helps a little.

Ben


 Is this worthwhile? What are the benefits?

 Thanks alot in advance.

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







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


Re: openoffice-2 openssl-beta-0.9.8a

2005-12-09 Thread Benjamin Thelen
 On Friday 09 December 2005 12:15, Benjamin Thelen wrote:
 You FreeBSD guys,

 This is a kind of reposting, I got no response to this question (Why? Is
 there something wrong how I write my my question(s)?), whether list
 (archives) nor google told me something _really_ helpful - just stupid
 work arounds -sorry.

 I suppose there are many of you using the OpenOffice-2.0 package from
 http://porting.openoffice.org/freebsd/ which requires
 openssl-beta-0.9.8a
 to be installed (I don't understand why).

 Installing openssl-beta from ports at first doesn't hurt. But at the
 stage
 of portupgrading next time it starts to be a pain, so I end up removing
 openoffice-2 and openssl-beta _before_ I do a portupgrade. If I don't
 remove both ports, any port that requires openssl is built with
 openssl-beta instead of openssl from the base system. If I add
 WITH_OPENSSL_BASE=yes, which seemd to be a good  solution, net-snmp
 (required for kdeutils) complains that it cannot build if there is a
 newer
 openssl version installed by a port. There we are again, byebye
 openssl-beta/openoffice, portupgrade, reinstall both.


 I'm a bit of a loss, no answer, no help by google, but I can't be the
 only
 one who faces this problem. How are you dealing with this? Do I overlook
 something?


 Thanks,
 Ben


Mike,
Thanks for your answer.

 You allready have the answer, you said it works when you build from ports.
 If you don't want to always rebuild openoffice when you upgrade ports
 mark it as ignored in pkgtools.conf.

I already did - just because I don't want to compile OOo. Building OOo-2
on a PIII/1,13 isn't very funny. :-). OOo-1.1 was a little nightmare,
especially because it took me a while to succeed - you'd surely find on
google ;-). Last but not least, I don't have 9 free GBs. Really. :-)

I just don't understand why the package I mentioned requires openssl,
because I can't see any dependency on openssl, neither for building nor
for running.


A third way would be to use the ports openssl-beta as systems default?

Ben



 -Mike








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


openssl, OpenOffice-2.0, make.conf

2005-12-05 Thread Benjamin Thelen

Hi list,

Since I've installed openssl-beta-0.9.8a which is required in order to 
install the OpenOffice-2.0 package from 
http://porting.openoffice.org/freebsd/, I'v always problems running 
portuprade, because the ports openssl is often used for compiling 
instead of the base openssl. I then found the switch 
WITH_OPENSSL_BASE=yes which I added to make.conf. Everthing seemd to be 
ok until the last portupgrade session which stopped while trying to 
upgrade net-snmp, which is a debendency of kdeutils with the follwing error:


Dependency error: this port wants the OpenSSL library from the FreeBSD
base system. You can't build against it, while a newer
version is installed by a port.
Please deinstall the port or undefine WITH_OPENSSL_BASE.

I try to upgrade these ports:

kdeutils-3.4.3needs updating (port has 3.4.3_1)
net-snmp-5.2.1.2  needs updating (port has 5.2.2)



I now of course could alwayse remove openssl-beta-0.9.8a and 
openoffice.org-2, before using portupgrade, but that cannot be the right 
way to do, can it?


As a last info: I set OOo-2 to held, because I don't want it upgraded 
by portupgrade.


de-openoffice.org-2.0.20051104_1[held] needs updating (port has 
2.0.20051128)




Does anybody have an idea? How do you manage this? Different 
OOo2-package? Using only the ports openssl-beta?



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


Re: FreeBSD 6.0 in VMware

2005-11-30 Thread Benjamin Thelen

David Miao schrieb:

On 11/29/05, 赵铭 [EMAIL PROTECTED] wrote:



the reason of the error ,i think it's the vmware and you real machine check
the  processor *MHZ is not the same number.
i start my vmware ,the vmware can tall me the message.


On 11/29/05, Konrad Heuer [EMAIL PROTECTED] wrote:



On Tue, 29 Nov 2005, David Miao wrote:



I installed a freebsd 6.0 in vmware 5.5, why I get a mass of error
message of calcu runtime error?


I installed PC-BSD 1.0rc1 which is in turn based on 6.0 within a VMware
GSX server and encountered no problems.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list



http://lists.freebsd.org/mailman/listinfo/freebsd-questions


To unsubscribe, send any mail to


[EMAIL PROTECTED]



--
==
姓 名:赵铭
电 话:13001067593
[EMAIL PROTECTED]
==



赵铭,

谢谢,我禁用了ACPI,现在似乎好了。




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


Hi,

I have 6.0 running even on VMWARE 3.2.1. No Problems. Ah, no, I can't 
install the VMWARE-Tools, but that happend to be under FreeBSD 5.4, too.


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


Re: broken openssl on freebsd60

2005-11-29 Thread Benjamin Thelen

Russell E. Meek schrieb:

Benjamin Thelen wrote:


Russell E. Meek schrieb:


Jeff D. Hamann wrote:


OpenSSL is in the base system and the library version should be 4, not
3.  Is there some reason you're installing it from the ports?






I have no idea. I didn't know it was part of the base system, but 
when I went to install apache2, postgresql, etc, those ports wanted 
to install the openssl port or at least they used to.





- Original Message - From: Lowell Gilbert 
[EMAIL PROTECTED]

To: Jeff D. Hamann [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Saturday, November 26, 2005 7:29 AM
Subject: Re: broken openssl on freebsd60



Jeff D. Hamann [EMAIL PROTECTED] writes:


I should preface this with I'm not sure if this is correct but I've
got a server running that doesn't make exstensive use of openssl and
everything seems to run alright for the apps I've been running...

so,

I've been trying to install a new server using the openssl port and
keep finding problems with the openssl libs...

$ pwd
/usr/local/lib
$ ls -la libssl*
-rw-r--r--  1 root  wheel  516602 Nov 26 12:23 libssl.a
lrwxr-xr-x  1 root  wheel  11 Nov 26 12:23 libssl.so - 
libssl.so.4

-r--r--r--  1 root  wheel  318507 Nov 26 12:23 libssl.so.4
lrwxr-xr-x  1 root  wheel  12 Sep 16 09:59 libssl3.so - 
libssl3.so.1

-r-xr-xr-x  1 root  wheel  155344 Sep 16 10:00 libssl3.so.1
$

should those be:

lrwxr-xr-x  1 root  wheel  12 Sep 16 09:59 libssl3.so - 
libssl.so.3

-r-xr-xr-x  1 root  wheel  155344 Sep 16 10:00 libssl.so.3

or some such thing, because when I attempt to start something like
postgresql81, I get:

$ psql
/libexec/ld-elf.so.1: Shared object libssl.so.3 not found, required
by psql
$

I need to get the following apps running on the new FREEBSD 6.0 
machine:


1) openssl

then,

2) apache2
3) subversion
4) uw-imap
5) postgresql81 or postgresql80+postgis
6) php

etc, etc, etc and I'm concerned that none of those will work with the
current status of openssl on freebsd 6.0. I'm running

$ uname -a
FreeBSD bobby.xxx.xxx 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Fri Nov 18
10:47:37 PST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64






OpenSSL is in the base system and the library version should be 4, not
3.  Is there some reason you're installing it from the ports?



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





Another user had a similar issue like this with OpenSSL, here is what 
I advised him to do which in the end worked perfectly.


Edit your make.conf file */etc/make.conf *and please in the following:

*WITH_OPENSSL_BASE=yes

*This will cause all future installed ports to build against the base 
version of OpenSSL rather than trying to install the port version as 
a dependency.


You can then uninstall the port version of openssl 
*/usr/ports/security/openssl make deinstall clean*


Once the uninstall is complete, reinstall all OpenSSL required ports 
either by using portupgrade or by manually deinstalling and then 
reinstalling the port as they will now build against the base version 
of OpenSSL.





Hi,

I already read your posting a few days ago. What I don't understand 
is, that openssl is per default within the base system, isn't it? So, 
I would suppose that any port, which requires openssl, would take it 
from the base rather than from ports? At least, I never installed a 
port, installing openssl from ports as a dependency (e.g. php5-openssl).


I don't really get it. Could you explain why this switch in make.conf 
is needed then?


This would also mean, that I would have to upgrade the base system 
openssl to openssl-beta in order to be able to install OOo-2 as having 
openssl within the base system _and_ openssl-beta as a port obviously 
leads to little confusion.



Thanks,
Ben




Thanks,

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



Ben,

Sorry about the confusion, make.conf is the global register that all 
ports look to for build information.


By default ports requiring dependancies will build these dependancies 
according to their individual make file (normally ports.)


(man make.conf) will show you more in depth about what the make.conf is 
file and many of the global registers that can be used.


Hello Russel,

Thanks for the clarification, I understand now.



php5-openssl is just a shared extension, how did you install Apache with 
OpenSSL?  Port or Base?


Base, just portinstall apache+mod_ssl.



How are you installing OpenOffice 2

Re: broken openssl on freebsd60

2005-11-28 Thread Benjamin Thelen

Lowell Gilbert schrieb:

Jeff D. Hamann [EMAIL PROTECTED] writes:



I should preface this with I'm not sure if this is correct but I've
got a server running that doesn't make exstensive use of openssl and
everything seems to run alright for the apps I've been running...

so,

I've been trying to install a new server using the openssl port and
keep finding problems with the openssl libs...

$ pwd
/usr/local/lib
$ ls -la libssl*
-rw-r--r--  1 root  wheel  516602 Nov 26 12:23 libssl.a
lrwxr-xr-x  1 root  wheel  11 Nov 26 12:23 libssl.so - libssl.so.4
-r--r--r--  1 root  wheel  318507 Nov 26 12:23 libssl.so.4
lrwxr-xr-x  1 root  wheel  12 Sep 16 09:59 libssl3.so - libssl3.so.1
-r-xr-xr-x  1 root  wheel  155344 Sep 16 10:00 libssl3.so.1
$

should those be:

lrwxr-xr-x  1 root  wheel  12 Sep 16 09:59 libssl3.so - libssl.so.3
-r-xr-xr-x  1 root  wheel  155344 Sep 16 10:00 libssl.so.3

or some such thing, because when I attempt to start something like
postgresql81, I get:

$ psql
/libexec/ld-elf.so.1: Shared object libssl.so.3 not found, required
by psql
$

I need to get the following apps running on the new FREEBSD 6.0 machine:

1) openssl

then,

2) apache2
3) subversion
4) uw-imap
5) postgresql81 or postgresql80+postgis
6) php

etc, etc, etc and I'm concerned that none of those will work with the
current status of openssl on freebsd 6.0. I'm running

$ uname -a
FreeBSD bobby.xxx.xxx 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Fri Nov 18
10:47:37 PST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64



OpenSSL is in the base system and the library version should be 4, not

3.  Is there some reason you're installing it from the ports?


Hi,

The OOo-2 from porting.openoffice.org/freebsd/ wants openssl-beta.
No Problem to install this port, but portupgrading (at least phpmyadmin 
and phppgadmin) lead to little confusion. I first had to remove 
openssl-beta, OOo2, then run portupgrade -aRr and then reinstall 
openssl-beta and OOo2. Maybe there is a better way?? Why is OOo-2 built 
with openssl-beta?



Ben




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


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


Re: broken openssl on freebsd60

2005-11-28 Thread Benjamin Thelen

Russell E. Meek schrieb:

Jeff D. Hamann wrote:


OpenSSL is in the base system and the library version should be 4, not
3.  Is there some reason you're installing it from the ports?




I have no idea. I didn't know it was part of the base system, but when 
I went to install apache2, postgresql, etc, those ports wanted to 
install the openssl port or at least they used to.





- Original Message - From: Lowell Gilbert 
[EMAIL PROTECTED]

To: Jeff D. Hamann [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Saturday, November 26, 2005 7:29 AM
Subject: Re: broken openssl on freebsd60



Jeff D. Hamann [EMAIL PROTECTED] writes:


I should preface this with I'm not sure if this is correct but I've
got a server running that doesn't make exstensive use of openssl and
everything seems to run alright for the apps I've been running...

so,

I've been trying to install a new server using the openssl port and
keep finding problems with the openssl libs...

$ pwd
/usr/local/lib
$ ls -la libssl*
-rw-r--r--  1 root  wheel  516602 Nov 26 12:23 libssl.a
lrwxr-xr-x  1 root  wheel  11 Nov 26 12:23 libssl.so - libssl.so.4
-r--r--r--  1 root  wheel  318507 Nov 26 12:23 libssl.so.4
lrwxr-xr-x  1 root  wheel  12 Sep 16 09:59 libssl3.so - 
libssl3.so.1

-r-xr-xr-x  1 root  wheel  155344 Sep 16 10:00 libssl3.so.1
$

should those be:

lrwxr-xr-x  1 root  wheel  12 Sep 16 09:59 libssl3.so - 
libssl.so.3

-r-xr-xr-x  1 root  wheel  155344 Sep 16 10:00 libssl.so.3

or some such thing, because when I attempt to start something like
postgresql81, I get:

$ psql
/libexec/ld-elf.so.1: Shared object libssl.so.3 not found, required
by psql
$

I need to get the following apps running on the new FREEBSD 6.0 
machine:


1) openssl

then,

2) apache2
3) subversion
4) uw-imap
5) postgresql81 or postgresql80+postgis
6) php

etc, etc, etc and I'm concerned that none of those will work with the
current status of openssl on freebsd 6.0. I'm running

$ uname -a
FreeBSD bobby.xxx.xxx 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Fri Nov 18
10:47:37 PST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64




OpenSSL is in the base system and the library version should be 4, not
3.  Is there some reason you're installing it from the ports?



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



Another user had a similar issue like this with OpenSSL, here is what I 
advised him to do which in the end worked perfectly.


Edit your make.conf file */etc/make.conf *and please in the following:

*WITH_OPENSSL_BASE=yes

*This will cause all future installed ports to build against the base 
version of OpenSSL rather than trying to install the port version as a 
dependency.


You can then uninstall the port version of openssl 
*/usr/ports/security/openssl make deinstall clean*


Once the uninstall is complete, reinstall all OpenSSL required ports 
either by using portupgrade or by manually deinstalling and then 
reinstalling the port as they will now build against the base version of 
OpenSSL.





Hi,

I already read your posting a few days ago. What I don't understand is, 
that openssl is per default within the base system, isn't it? So, I 
would suppose that any port, which requires openssl, would take it from 
the base rather than from ports? At least, I never installed a port, 
installing openssl from ports as a dependency (e.g. php5-openssl).


I don't really get it. Could you explain why this switch in make.conf is 
needed then?


This would also mean, that I would have to upgrade the base system 
openssl to openssl-beta in order to be able to install OOo-2 as having 
openssl within the base system _and_ openssl-beta as a port obviously 
leads to little confusion.



Thanks,
Ben




Thanks,

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


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


Re: missing $libdir in/for postgis?

2005-11-28 Thread Benjamin Thelen



Jeff D. Hamann schrieb:

I'm sure this is a really lamo question but...

I'm trying to get the postgis port up (which it has installed with 
postgresql81 just fine so far) and when I went to add the spatial caps 
to a simple database using the script lwpostgis.sql, I got the following:


test=# \i lwpostgis.sql
BEGIN
psql:lwpostgis.sql:35: NOTICE:  type histogram2d is not yet defined
DETAIL:  Creating a shell type definition.
psql:lwpostgis.sql:35: ERROR:  could not access file 
$libdir/liblwgeom.so.1: No such file or directory

...blah, blah, blah...
psql:lwpostgis.sql:3149: ERROR:  current transaction is aborted, 
commands ignored until end of transaction block

ROLLBACK
test=#

I thought to myself, odd, but no big deal. I thought I should verify 
the file liblwgeom.so.1 is in the /usr/local/lib dir. It is.


$ ls /usr/local/lib/liblw*
/usr/local/lib/liblwgeom.so /usr/local/lib/liblwgeom.so.1
$

The $libdir isn't assigned to anything becuase I didn't see anything 
when I typed the command:


$ echo $libdir

$

So should I simply set this variable in one of my login scripts (.cshrc, 
.bshrc,.shrc, .login) or is this something that should be (have been) 
set somewhere else?


I'm installing the latest port on FreeBSD 6.0 amd64.

$ uname -a
FreeBSD bobby.forestinformatics.com 6.0-RELEASE FreeBSD 6.0-RELEASE #2: 
Sun Nov 27 14:07:55 PST 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64

$


Jeff.

---
Jeff D. Hamann
Forest Informatics, Inc.
PO Box 1421
Corvallis, Oregon USA 97339-1421
541-754-1428
[EMAIL PROTECTED]
www.forestinformatics.com

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



Hi,

I also posted this error, twice to the list and once to the maintainer 
(hope, everthings all right!), but no resonse up to now.


I do not know, where this error suddenly comes from, earlier 1.0.x 
releases where ok.


As a workaround check what pg_config --pkglibdir sais, I suppose 
/usr/local/lib/postgresql. Then create a symlink in 
/usr/local/lib/postgresql pointing to /usr/local/lib/liblwgeom.so.1.


Best,
Ben

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


Re: PANIC on 6.0-BETA-1

2005-07-25 Thread Benjamin Thelen

[EMAIL PROTECTED] wrote:

Hello all!
Yesterday I tried moving from RELENG_5 to RELENG_6 with a custom kernel. 
Used cvsup for getting files.

Panic details follow at the end.
Here is what I did:
1. make clean in /usr/src
2. removed stale obj files.
3. commented out the NO_INFO and other knobs in /etc/make.conf  I had as 
I got error messages.

4. ran  make buildworld
5. ran make buildkernel KERNCONF=MYKERNEL. Got dependency error about 
IPDIVERT. It said IPFIREWALL was required so I commented it out.

6. removed /usr/obj/usr/srs/sys/MYKERNEL directory
7. ran make buildkernel KERNCONF=MYKERNEL
8. ran make installkernel KERNCONF=MYKERNEL

The system boots ok displaying copyright stuff, CPU features,ACPI 
stuff+links and goes booboo to here:


nvidia:0 GEFORCE FX 5200 mem 0xde00 - 
0xdeff,0xd000-0xd7ff irq 16 at device 0.0 pci 


Warning: Device driver 

Fatal trap 12: page fault while in kernel mode
fault virtual address= 0x480008
fault cod= supervisor read, page not present
instruction pointer  = 0x20:0xc07ff748
stack pointer = 0x28:0xc14207cc
frame pointer = 0x28:0xc14207cc
code segment= base 0x0, limit 0x, type 0x16
= DPL0, pres 1, def 32 1 gran 1
processor eflags=interrupt enabled, resume, IOPL=0
current process =0(swapper)
trap number  =12
panic:   page fault
uptime 1s

The problem is I can't boot in 5.4-STABLE either
At boot up I escape to loader prompt hit boot kernel.old
Boot up and spits out
Can't work out which disk we are booting from
Guessed BIOS disk 0x not found by probes, defaulting to disk0
panic face: guard1 fail @ 0x67b44 from 
/usr/src/sys/i386/loader/../../common/modul.c:957

- Press any key to reboot -

A little info about my system:
512MB RAM
AMD Seprom 2500+ CPU
2 disk system - ad0 and ad1 - FreeBSD is on ad1
Have nvidia_load=YES in loader.conf and snd_driver_all=YES
MYKERNEL is a generic kernel I have used for 5.x series with a little 
tweaks such as COMPAT_4x, device io and mem

Sorry I can't post it but currently I do not have access to it.
Can you advise of workarounds and get back my system running?
I'm thinking of 6.0-beta1 disk2 as a start, compiling a 6.0 generic kernel.
If that fails I'm considering the 6.0-beta1 disk1 as a second resort - 
hitting upgrade button.

If that fails too - 5.4-based or some other live cd

Thanks in advance!
Have a nice day,
Dimitar Vassilev
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


Hi,

Just a short shot, as the error message you've posted is not really 
talkative, but 'Warning: Device driver ' and 'nvidia_load=YES in 
loader.conf' leads me to the assumption, that your problem is the nvidia 
module. Try removing _everything_ that is non-standard, e.g. everything 
what loads additional modules!


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


Re: G550 dual-head problems

2005-07-05 Thread Benjamin Thelen

Eric Ekong wrote:

Here is my working config, before I upgraded to the parhelia...

attached...

Eric
* Benjamin Thelen [EMAIL PROTECTED] [050630 09:48]:


Hi List,

I really would appreciate your help, because I ran out of ideas!

Basically dual-head works, but only with a little workaround:
If I start X, with the xorg.conf I attached, the second monitor simply 
isn't activated, although the desktop is expanded to the second monitor! 
I first have to comment out Screen 0 and Screen 1 within both 
'Section Device' for Card0 and Card1. If I then start X, the second 
monitor is activated in cloning mode. After reaktivating the Screen 
0 and Screen 1 entries, which I just have commented out, dual-head works.


Do you have an idea what is wrong in my xorg.conf? I played around for 
example with commenting out Xinerama, removing the second 'Section 
Device' for Card1, but without success.



Kind Regards,
Benjamin




Section ServerLayout
Identifier Dual-Monitor
Screen  0  Screen0
Screen  1  Screen1 RightOf Screen0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
#   Option Clone off
EndSection


Section ServerFlags
Option Xinerama true
EndSection


Section Files
RgbPath  /usr/X11R6/lib/X11/rgb
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/TTF/
#FontPath /usr/X11R6/lib/X11/fonts/Type1/
#FontPath /usr/X11R6/lib/X11/fonts/CID/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
#FontPath/usr/X11R6/lib/X11/fonts/Speedo/
FontPath/usr/X11R6/lib/X11/fonts/URW/
FontPath/usr/local/share/fonts/
FontPath/usr/X11R6/lib/X11/fonts/
#FontPath/usr/local/share/fonts/override/
FontPath/usr/X11R6/lib/X11/fonts/bitstream-vera/
#FontPath/usr/X11R6/lib/X11/fonts/cyrillic/
#FontPath/usr/X11R6/lib/X11/fonts/latin2/
#FontPath/usr/X11R6/lib/X11/fonts/local/
#FontPath/usr/X11R6/lib/X11/fonts/PEX/
FontPath/usr/X11R6/lib/X11/fonts/TrueType/
#FontPath/usr/X11R6/lib/X11/fonts/latin2/100dpi/
#FontPath/usr/X11R6/lib/X11/fonts/latin2/75dpi/
EndSection

Section Module
Load  extmod
Load  glx
#Load  dri
Load  dbe
Load  record
Load  xtrap
Load  type1
Load  freetype
#Load  speedo
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option XkbModel pc105
   Option XkbLayout de
   Option XkbVariant nodeadkeys
EndSection

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


Section Monitor
##DisplaySize 400   300 # mm
#Identifier   Monitor0
#VendorName   IVM
#ModelName2140
OptionDPMS
IdentifierMonitor0
   VendorNameIIyama
   ModelName A201HT
HorizSync 30-130
VertRefresh   50-160
EndSection

Section Monitor
   IdentifierMonitor1
   VendorNameIIyama
   ModelName A201HT
   HorizSync 30-130
   VertRefresh   50-160
   OptionDPMS
EndSection

Section Device
   ### Available Driver options are:-
   ### Values: i: integer, f: float, bool: True/False,
   ### string: String, freq: f Hz/kHz/MHz
   ### [arg]: arg optional
   #Option SWcursor # [bool]
   #Option HWcursor # [bool]
   #Option PciRetry # [bool]
   #Option SyncOnGreen  # [bool]
   #Option NoAccel  # [bool]
   #Option ShowCache# [bool]
   #Option Overlay  # [str]
   #Option MGASDRAM # [bool]
   #Option ShadowFB # [bool]
   #Option UseFBDev # [bool]
   #Option ColorKey # i
   #Option SetMclk  # freq
   #Option OverclockMem # [bool]
   #Option VideoKey # i
   #Option Rotate   # [str]
   #Option TexturedVideo# [bool]
   #Option Crtc2Half# [bool]
   #Option Crtc2Ram # i
   #Option Int10# [bool]
   #Option AGPMode  # i
   #Option AGPSize  # i
   #Option DigitalScreen1   # [bool]
   #Option DigitalScreen2   # [bool]
   #Option TV   # [bool]
   #Option TVStandard   # [str]
   #Option

G550 dual-head problems

2005-06-30 Thread Benjamin Thelen


Hi List,

I really would appreciate your help, because I ran out of ideas!

Basically dual-head works, but only with a little workaround:
If I start X, with the xorg.conf I attached, the second monitor simply 
isn't activated, although the desktop is expanded to the second monitor! 
I first have to comment out Screen 0 and Screen 1 within both 
'Section Device' for Card0 and Card1. If I then start X, the second 
monitor is activated in cloning mode. After reaktivating the Screen 
0 and Screen 1 entries, which I just have commented out, dual-head works.


Do you have an idea what is wrong in my xorg.conf? I played around for 
example with commenting out Xinerama, removing the second 'Section 
Device' for Card1, but without success.



Kind Regards,
Benjamin
Section ServerLayout
Identifier Dual-Monitor
Screen  0  Screen0
Screen  1  Screen1 RightOf Screen0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
#   Option Clone off
EndSection


Section ServerFlags
Option Xinerama true
EndSection


Section Files
RgbPath  /usr/X11R6/lib/X11/rgb
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/TTF/
#FontPath /usr/X11R6/lib/X11/fonts/Type1/
#FontPath /usr/X11R6/lib/X11/fonts/CID/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
#FontPath/usr/X11R6/lib/X11/fonts/Speedo/
FontPath/usr/X11R6/lib/X11/fonts/URW/
FontPath/usr/local/share/fonts/
FontPath/usr/X11R6/lib/X11/fonts/
#FontPath/usr/local/share/fonts/override/
FontPath/usr/X11R6/lib/X11/fonts/bitstream-vera/
#FontPath/usr/X11R6/lib/X11/fonts/cyrillic/
#FontPath/usr/X11R6/lib/X11/fonts/latin2/
#FontPath/usr/X11R6/lib/X11/fonts/local/
#FontPath/usr/X11R6/lib/X11/fonts/PEX/
FontPath/usr/X11R6/lib/X11/fonts/TrueType/
#FontPath/usr/X11R6/lib/X11/fonts/latin2/100dpi/
#FontPath/usr/X11R6/lib/X11/fonts/latin2/75dpi/
EndSection

Section Module
Load  extmod
Load  glx
#Load  dri
Load  dbe
Load  record
Load  xtrap
Load  type1
Load  freetype
#Load  speedo
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option XkbModel pc105
Option XkbLayout de
Option XkbVariant nodeadkeys
EndSection

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


Section Monitor
##DisplaySize 400   300 # mm
#Identifier   Monitor0
#VendorName   IVM
#ModelName2140
OptionDPMS
IdentifierMonitor0
VendorNameIIyama
ModelName A201HT
HorizSync 30-130
VertRefresh   50-160
EndSection

Section Monitor
IdentifierMonitor1
VendorNameIIyama
ModelName A201HT
HorizSync 30-130
VertRefresh   50-160
OptionDPMS
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option SWcursor  # [bool]
#Option HWcursor  # [bool]
#Option PciRetry  # [bool]
#Option SyncOnGreen   # [bool]
#Option NoAccel   # [bool]
#Option ShowCache # [bool]
#Option Overlay   # [str]
#Option MGASDRAM  # [bool]
#Option ShadowFB  # [bool]
#Option UseFBDev  # [bool]
#Option ColorKey  # i
#Option SetMclk   # freq
#Option OverclockMem  # [bool]
#Option VideoKey  # i
#Option Rotate# [str]
#Option TexturedVideo # [bool]
#Option Crtc2Half # [bool]
#Option Crtc2Ram  # i
#Option Int10 # [bool]
#Option AGPMode   # i
#Option AGPSize   # i
#Option DigitalScreen1# [bool]
#Option DigitalScreen2# [bool]
#Option TV# [bool]
#Option TVStandard# [str]
#Option CableType # [str]
#Option NoHal # [bool]
  

Re: ndis0 dhcp question

2005-06-27 Thread Benjamin Thelen

Bryan Maynard wrote:

Hello all! :-D

I have a Linksys WPC11 ver.4 wireless NIC. I got it setup using ndisgen (very
cool tool by the way). Now when kldload /root/rtl8180_sys.ko (the location of
my wireless kernel object) dmesg shows this:

ndis0: Realtek RTL8180 Wireless LAN (Mini-)PCI NIC port 0x1000-0x10ff mem 0x88
00-0x880001ff irq 11 at device 0.0 on cardbus1
ndis0: NDIS API version: 5.1
ndis0: Ethernet address: 00:0f:66:cf:10:7e
ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps

and when I run ifconfig -a I get this:

::My onboard ethernet NIC
xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=9RXCSUM,VLAN_MTU
inet6 fe80::204:76ff:fe48:9301%xl0 prefixlen 64 scopeid 0x1
inet 192.168.1.101 netmask 0xff00 broadcast 192.168.1.255
ether 00:04:76:48:93:01
media: Ethernet autoselect (100baseTX full-duplex)
status: active

::I don't know what this is. . .
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500

::Loopback device
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3

::My Linksys WPC11 ver.4
ndis0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
ether 00:0f:66:cf:10:7e
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid 
channel -1 authmode OPEN powersavemode OFF powersavesleep 100
rtsthreshold 2312 protmode CTS
wepmode OFF weptxkey 1

I have several questions, but I'll ask them one at a time. . .

I have a Linksys WRT54G Wireless Router. Currently my onboard NIC is what I use
to access the net and stuff. How do I assign an IP address - and any other
needed parameters - to my wireless NIC, activate it, and use it instead of (or
along with) my onboard ethernet NIC?

I know about using ifconfig interface name blah blah blah, but what paramaters
do I pass and where do I get them?

Thanks,

Bryan


Hi Bryan,

something like this:

ifconfig ndis0 IP-Adresse Subnetzmaske ssid ssid wepmode on wepkey 
0x1234567


I alway had to issue this command-line twice - don't know why.

To automate this on boot-time using dhcp, there is /etc/dhclient.conf, 
where you have to add the parameters like ssid, wepmode and wepkey. I 
didn't try this yet.


I haven't been able to use my ndis-card with dhcp (issuing killall 
dhclient  dhclient ndis0 by hand), while my ath-card at least got a 
dhcp-address once :-).



Ben


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


256 MB not enough RAM for Desktop-FreeBSD, a strange experience

2005-04-27 Thread Benjamin Thelen
Hi list,
I started using FreeBSD as a Desktop in December 04 with the hardware 
configuration below

FreeBSD 5.3-RELEASE-p2
Asus TUSL-C with PIII-1133
256 MB RAM
WDC WD800JB
KDE 3.3.2
OOo-1.1.4
Very often OpenOffice-1.4 died on starting, just showing the splash 
screen. I couldn't kill the process, even not with -9. So I had to 
reboot. Because of KDEs behavior to start applications, which have 
been used before, OpenOffice was started automatically on KDEs 
startup. Mostly successful. OpenOffice started a bit more	reliable 
using XFCE4...

In combination with this FreeBSD was hanging on the end of a shutdown:
No buffers busy after final sync
I didn't find very helpful information on the net, but since I added 
256 MB of RAM I have never seen one of these errors.

Does someone have any idea what that could have been caused? Adding 
more RAM, gaining stability, gaining speed, ok...

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


Re: ssh root@localhost

2005-02-02 Thread Benjamin Thelen

Gert Cuykens wrote:
Why does it not accept my password ?
I# ssh [EMAIL PROTECTED]
Password:
Password:
Password:
Permission denied (publickey,keyboard-interactive).
I#
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
ssh root access is per default not permitted, as far as I know.
Log on as ordinary user, the su to root.
Ben
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php4-extensions broken dependency

2004-11-16 Thread Benjamin Thelen

Matthew Seaman wrote:
On Tue, Nov 09, 2004 at 09:06:46AM -0500, dave wrote:

   I've installed apache2 and mod_php4 and configured the extensions_dir
setting in php.ini. I then went to install lang/php4-extensions, but one of
the extensions i selected is mcve, marked as broken. When i try to get
around this the install detects my previous configuration choices. A make
clean;make distclean does not solve this. Suggestions welcome.

See ports(7):
# make rmconfig 

or
# make configure
Cheers,
Matthew

I've stumbled across your answer regarding the manpage ports(7). I'm 
running 4.10-RELEASE-p3. The target showconfig (didn't want to delete 
my config) is working, but not docoumented in the manpage. I suppose 
rmconfig would run as well and isn't documented, too. How is this? I 
found these targets documented in the online manpage of 5.3-RELEASE 
and Ports.

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


Re: portdb corrupt?

2004-11-05 Thread Benjamin Thelen
James Hong wrote:
Hi i have problem updating the portdb since i cvsup 
portversion/portupgrade or anything will fail with same or similar msgs.
Im not certain how I can start

already tried portsdb -F but didnt make difference
any help or comment is welcome
flute# portsdb -uU
Updating the ports index ... Generating INDEX.tmp - please wait..Warning:
Duplicate INDEX entry: freeciv-gtk2-1.14.2
Warning: Duplicate INDEX entry: fvwm-imlib-2.4.19
 Done.
done
[Updating the portsdb format:bdb1_btree in /usr/ports ... - 11889 port
entries found
.1000.2000.3000.4000.5000.60
00.7000.8000./usr/local/lib/ruby/site_ruby/1.8/portsdb.r
b:587: [BUG] Segmentation fault
ruby 1.8.2 (2004-07-29) [i386-freebsd4]
Abort (core dumped)

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

James,
Kent Stewart explained what to do and how that came on 11/2/04 subject 
 portupgrade core dump fix.


Maybe it should have considered a security problem, as it is such a 
basic and widely used procedure and thus somehow security relevant?

When will 4.11 released? :-) I suppose this bug is fixed in 4.11.
Kind Regards,
Benjamin

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


Re: Install error OOo-1.1.3 on 4.10p3

2004-10-22 Thread Benjamin Thelen
epilogue wrote:
On Wed, 20 Oct 2004 17:59:16 +0200
Benjamin Thelen [EMAIL PROTECTED] wrote:

Hi lists,
I am now really stumped and appreciate you for your assistance. I had 
this very error already with OOo-1.1.2 on three 4.10p2 FreeBSD boxes 
in the end of August, posted it to the list, but got no answer. I got 
along by installing a 1.1.0 package and hoped that this error will be 
solved in future ports.

Compiling seems alright. This error-message occurs right after make 
install.

#
# UGLY hack to not have to specify a X-Display.
#
/usr/X11R6/bin/Xvfb :1001 -screen 0 800x600x24  /dev/null 21  echo
$!  /data/ports/editors/openoffice-1.1/work/.Xvfb.pid
cd: can't cd to 
/data/ports/editors/openoffice-1.1/work/OOo_1.1.3_src/instsetoo/
*.pro/01/normal/
*** Error code 2
Stop in /data/ports/editors/openoffice-1.1.

Does anybody know, what's wrong here?

I then tried pkg_add -r openoffice-1.1, but the files couldn't be 
found. After this I asked google, found packages, but they were build 
against x.org (see thread initiated by Nakata Maho, diskussing using 
x.org or xFree86). Are there any packages built against xFree86
available?

until such time as other packages are made available, you can try what i
have done in the past - installing OO despite having the wrong X server.
this method has been successful for me numerous times:
1) download the pkg for your system
2) pkg_add -f openoffice-[ver] 

3) pkgdb -Fu# almost all the xorg/xfree pieces have very similar
names, so selecting the correct dependency is straightforward.  only
with XFree86-fontScalable might you have to make a choice between
Type1 or TrueType.  both seem to work, but with slightly different
results (i'm not sure which is best and don't much care - but if you
read-up on it, you should be able to figure it out).
4) start openoffice and enjoy.

Hi,
Sounds very good! I'll check it out as soon Don and I got along with
debugging this error!
Thank's to you as well!
Ben


... or do you generally recommend switching to x.org?

while xorg is now default on 5.3, what they will do with 4.11 is
unclear (at least to me).  either system (xorg/xfree) will work and
both should be available via ports for the forseeable future.  in short,
it is a matter of preference (or features) -- and a decision which is
entirely up to you.   =]
hth,
epi

Sorry, to bother, thanks for your help!
Ben
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-openoffice
To unsubscribe, send any mail to
[EMAIL PROTECTED]


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


Re: IBM Thinkpad R51 FreeBSD 4.10???

2004-09-07 Thread Benjamin Thelen
Hakim Z. Singhji wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi All,
I recently purchased an IBM Thinkpad R51 and I was looking to install
FreeBSD 4.10. Has anyone ever done this? Should I anticipate any
problems? Lastly I have never installed FreeBSD on a laptop before are
there things that I should know before I get started? Thanks in advance
for you help.
HZS
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBN9WwlT9WV6TztkoRAol1AJ9CJU9EOAA976RAfYOQNI6v4tf/OgCgkyPC
rnr5z0hnkABA5QNVyNnQ1KM=
=n2Vy
-END PGP SIGNATURE-
Hi,
I have successfully installed 4.10 on a R31 and a T22. There is some
info on the internet for older IBMs, but not much (see below).
Sound does work.
PCMCIA (16 bit!) should do, but I still could not test.
USB is working well.
Modem (winmodem) does more ore less *not* work. There is even a port 
(comms/ltmdm), providing a kernel-module, but I did not test it.
To setup X-Window with KDE is easy.

Overall, FreeBSD 4.10 on those IBMs, no Problem.

http://homepage.univie.ac.at/l.ertl/thinkpad/index.html
http://groups.google.de/groups?q=freebsd+thinkpadstart=10hl=delr=ie=UTF-8selm=200206051237.00014.metrol_metrol.net%40ns.sol.netrnum=20
http://groups.google.de/groups?q=freebsd+thinkpadstart=60hl=delr=ie=UTF-8selm=c6v6h3%24evs%241%40FreeBSD.csie.NCTU.edu.twrnum=61

I found this in GENERIC:
# If you have a ThinkPAD, uncomment this along with the rest of the
PCVT lines
#optionsPCVT_SCANSET=2  # IBM keyboards are non-std

I suppose R51 will be similar. Hope that helps. FreeBSD 5.x may be a 
better choice (ACPI, Cardbus,...whatever), but I still have no 5.x 
installation anywhere.

Good luck,
Ben

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


FreeBSD 4.9: Server Works GCSL -- unknown chipset

2004-02-10 Thread Benjamin Thelen (CCGIS)
Hello list,

First off, the environment:

FreeBSD 4.9 RELEASE,
Intel P4 3GH with HTT enabled
Mainboard ASUS NRL-L533
North Bridge: ServerWorks CMIC-SL
South Bridge: ServerWorks CSB6


I checked google and the mailing list archive but couldn't find helpful 
(for me) information on this.

A client brought us a server to install FreeBSD 4.9 on it, but the 
chipset isn't recognized by the system. I had to disable DMA in the BIOS 
to get FreeBSD booting off the IDE-HDD. I then read the Hardware Release 
notes (I know, it's too late):

FreeBSD 4.9: ServerWorks CSB5 ATA66/ATA100
FreeBSD 5.2: ServerWorks CSB5 and CSB6 ATA66/ATA10
According to this, it is the only way to install 5.2? Would 4.9-stable 
recognize the chipset? Is that lack fundamental to the whole system or 
would it suffice to just buy a new IDE-Controller?

I was so happy to have our client conviced of FreeBSD, that it would be 
a pity, if that faild now.

Thanks very much in advance,
Benjamin


dmesg:

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254  frequency 1193182 Hz
CPU: Intel(R) Pentium(R) 4 CPU 3.06GHz (3065.82-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf27  Stepping = 7
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 1073721344 (1048556K bytes)
avail memory = 1039736832 (1015368K bytes)
Preloaded elf kernel kernel at 0xc053f000.
Warning: Pentium 4 CPU: PSE disabled
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 10 entries at 0xc00f1ce0
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: ServerWorks host to PCI bridge(unknown chipset) on motherboard 
pci0: PCI bus on pcib0
bge0: Broadcom BCM5702 Gigabit Ethernet, ASIC rev. 0x1002 mem
0xfe00-0xfe00
 irq 12 at device 3.0 on pci0
bge0: Ethernet address: 00:0c:6e:ec:8f:0d
miibus0: MII bus on bge0
brgphy0: BCM5703 10/100/1000baseTX PHY on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-
FDX, auto
pci0: ATI Mach64-GR graphics accelerator at 9.0 irq 10
isab0: PCI to ISA bridge (vendor=1166 device=0203) at device 15.0 on pci0
isa0: ISA bus on isab0
atapci0: Generic PCI ATA controller port
0x9400-0x940f,0x9800-0x9803,0xa000-0xa
007,0xa400-0xa403,0xa800-0xa807 at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ohci0: OHCI (generic) USB controller mem 0xfc00-0xfc000fff irq 11 
at device
 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib255: ServerWorks host to PCI bridge(unknown chipset) on 
motherboard pci255: PCI bus on pcib255
pcib1: Host to PCI bridge on motherboard
pci1: PCI bus on pcib1
orm0: Option ROM at iomem 0xc-0xc7fff on isa0
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on 
isa0 sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port not found.
ad0: 114473MB WDC WD1200JB-00FUA0 [232581/16/63] at ata0-master 
BIOSDMA ad1: 114473MB WDC WD1200JB-00FUA0 [232581/16/63] at ata0-slave 
WDMA2 acd0: DVD-ROM IDE DVD-ROM 16X at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
stray irq 7
stray irq 7
stray irq 7
stray irq 7
stray irq 7
too many stray irq 7's; not logging any more

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


Re: php4-cgi -- internal server errror (solution)

2003-08-30 Thread Benjamin Thelen (CCGIS)
 Hi,

 I think I know what you're talking about, it's the UMN Mapserver for GIS
 application. Basically it's the php-mapscript part which needs php to be
 compiled as cgi. It's a wonderful open source GIS app which works very
 nice
 and very stable once configured correctly but it's a major pain in the
 butt
 to get it right.

 As for the internal server error premature end of script header, it
 could
 be either one of the many reasons :
 - the http header is not properly generated.
 - wrong permission
 - wrong directory path
 - apache port is screwed.
 - php4-cgi port is screwed.
 - and some other reasons unknown.

 Try writing a simple php script which contains ?php phpinfo() ? and cat
 it
 through the php binary in your cgi-bin. See if it generates proper HTTP
 header + all the config stuffs correctly. I upgraded to php4.3.3rc4 from
 the
 port on my own box and I have different problem altogether. The last
 working
 version of php compiled as cgi for me is from 4.3.0 version, that is, not
 installing from port but by hand instead (tar xzvf, config,...manually).
 So
 try by hand as well, and see if anything changes. You do have a backup
 copy
 of last working php-cgi binary, don't you ?

 Sorry can't help any farther but I share your pain man.

 Date: Mon, 25 Aug 2003 21:12:08 +0200 (CEST)
 From: Benjamin Thelen (CCGIS) [EMAIL PROTECTED]
 Subject: php4-cgi -- internal server errror
 To: [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain;charset=iso-8859-1

 Hi,

 sorry, I've already posted this into the German user list, but as I am
 still completely stuck I hope to find some more hints/help here.

 Systems:
 FreeBSD 4.7 (mod_php4 - a little changed) 4.8 (php4-cgi - the latest)
 Apache 1.3.27 and 28



 We need to run php as cgi, because of the requirements of software we run
 (called umn-mapserver - if somebody knows). Half a year ago I basically
 followed the instructions I found on the umn-mapserver wiki-pages:

 I quote, that's shorter:
 (http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI)

 quote
 PHP's default 'configure' behavior is to build a 'php' CGI executable.
 It's the --with-apxs and/or --with-apache PHP configure options that
 enable PHP to be built as an Apache DSO.

 ...to build PHP as a CGI ... don't provide the --with-apxs or
 --with-apache switch to the PHP configure.

 Then once you have a 'php' executable, copy it to your server's cgi-bin
 directory and add to your httpd.conf:


   AddType?  application/x-httpd-php .php3
   AddType?  application/x-httpd-php .phtml
   AddType?  application/x-httpd-php .php


   Action application/x-httpd-php /cgi-bin/php

 /quote

 As I could not find an ordinary php-port (not sure now, it's month ago), I
 removed one --with-apxs entry within the Makefile from www/mod_php4 (!)
 and php ran as cgi!

 Half a year later, I updated the ports-tree and I was happy to see a
 www/php4-cgi port and immediately checked this out on a test system. This
 time, I did not edit the php4-cgi makefile of course, as I expected to
 have php4 as cgi compiled. I again copied the php-binary, as said above to
 cgi-bin and surprisingly saw only 500 - internal server error and I
 found a Premeture end of script headers: /usr/local/www/cgi-bin/php in
 httpd-error.log.

 One thing you have to know is, that our scripts are in
 /usr/local/www/data/our-php-application. This worked on this 4.7/this
 edited mod_php4-system very well.

 I posted to the Germany user list, checked google. I found a few hints,
 but nothing really helped.
 e.g.:
 http://www.php.net/manual/en/security.cgi-bin.php
 http://httpd.apache.org/docs/howto/cgi.html

 My question basically is:
 How do I setup this php/cgi environment?

 One way, I was told and can be found on php.net is to add a
 #!/usr/local/lib/php on top of every php-Skript and all scripts need
 chmod a+x and need to be in /cgi-bin. This would work. But it is a little
 uncomfortable way and the main thing is that it would not work with our
 php-application, which is a set of css, html, php, pictures, so
 pictures, css, etc would be parsed, too!


 There are other solutions, one with an AddHandler directive in httpd.conf,
 but I don't get that running.

 As it worked half a year ago and as there is a similar way in IIS, to map
 an extension (.php) to an application (c:\php\bin\php.exe), I suppose that
 there is a similar way, but I am just to blind to find the solution!

 My second question is:
 Why did it work with those instructions from umn-mapserver wiki-pages and
 why does the same thing not work now?


 One way to find out, what's wrong, was to cp /bin/cat to
 /usr/local/www/cgi-bin/php. But the error is the same.


 I would be very grateful for hints/help!

 Thanks in advance!

 Best Regards,
 Benjamin

 _
 Get MSN 8 and help protect your children with advanced parental controls.
 http://join.msn.com/?page=features/parental

php4-cgi -- internal server errror

2003-08-25 Thread Benjamin Thelen (CCGIS)
Hi,

sorry, I've already posted this into the German user list, but as I am
still completely stuck I hope to find some more hints/help here.

Systems:
FreeBSD 4.7 (mod_php4 - a little changed) 4.8 (php4-cgi - the latest)
Apache 1.3.27 and 28



We need to run php as cgi, because of the requirements of software we run
(called umn-mapserver - if somebody knows). Half a year ago I basically
followed the instructions I found on the umn-mapserver wiki-pages:

I quote, that's shorter:
(http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI)

quote
PHP's default 'configure' behavior is to build a 'php' CGI executable.
It's the --with-apxs and/or --with-apache PHP configure options that
enable PHP to be built as an Apache DSO.

...to build PHP as a CGI ... don't provide the --with-apxs or
--with-apache switch to the PHP configure.

Then once you have a 'php' executable, copy it to your server's cgi-bin
directory and add to your httpd.conf:


  AddType?  application/x-httpd-php .php3
  AddType?  application/x-httpd-php .phtml
  AddType?  application/x-httpd-php .php


  Action application/x-httpd-php /cgi-bin/php

/quote

As I could not find an ordinary php-port (not sure now, it's month ago), I
removed one --with-apxs entry within the Makefile from www/mod_php4 (!)
and php ran as cgi!

Half a year later, I updated the ports-tree and I was happy to see a
www/php4-cgi port and immediately checked this out on a test system. This
time, I did not edit the php4-cgi makefile of course, as I expected to
have php4 as cgi compiled. I again copied the php-binary, as said above to
cgi-bin and surprisingly saw only 500 - internal server error and I
found a Premeture end of script headers: /usr/local/www/cgi-bin/php in
httpd-error.log.

One thing you have to know is, that our scripts are in
/usr/local/www/data/our-php-application. This worked on this 4.7/this
edited mod_php4-system very well.

I posted to the Germany user list, checked google. I found a few hints,
but nothing really helped.
e.g.:
http://www.php.net/manual/en/security.cgi-bin.php
http://httpd.apache.org/docs/howto/cgi.html

My question basically is:
How do I setup this php/cgi environment?

One way, I was told and can be found on php.net is to add a
#!/usr/local/lib/php on top of every php-Skript and all scripts need
chmod a+x and need to be in /cgi-bin. This would work. But it is a little
uncomfortable way and the main thing is that it would not work with our
php-application, which is a set of css, html, php, pictures, so
pictures, css, etc would be parsed, too!


There are other solutions, one with an AddHandler directive in httpd.conf,
but I don't get that running.

As it worked half a year ago and as there is a similar way in IIS, to map
an extension (.php) to an application (c:\php\bin\php.exe), I suppose that
there is a similar way, but I am just to blind to find the solution!

My second question is:
Why did it work with those instructions from umn-mapserver wiki-pages and
why does the same thing not work now?


One way to find out, what's wrong, was to cp /bin/cat to
/usr/local/www/cgi-bin/php. But the error is the same.


I would be very grateful for hints/help!

Thanks in advance!

Best Regards,
Benjamin

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