Re: Mailman + Apache + Cookies + FreeBSD

2008-10-09 Thread Grant Peel

Jerry,

I tried a few times to build it from source but since I am using 
Apache+Suexec, I was stuck on how to 'make' it and pass the parms needed to 
set the user and home directory, i.e. I needed the install directory to be 
set to /home/mailmain when the ports version insisted on setting it to 
/usr/local/mailman.


-Grant

- Original Message - 
From: "Jerry" <[EMAIL PROTECTED]>

To: 
Sent: Thursday, October 09, 2008 6:22 PM
Subject: Re: Mailman + Apache + Cookies + FreeBSD


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


Re: Mailman + Apache + Cookies + FreeBSD

2008-10-09 Thread Jerry
On Thu, 9 Oct 2008 17:59:52 -0400
"Grant Peel" <[EMAIL PROTECTED]> wrote:

>Hi all,
>
>I am not a fan of cross posting, but, I have to make a exception in
>this case as I can't seem to nail down whether its the software or OS
>causing me the problem.
>
>Software: Apache 2.2, Python 2.5, Mailmain 2.1.11
>OS: FreeBSD 6.2 Release #0
>
>Apache and Python were built from ports, Mailman was built from source.
>
>Problem: I can't stay logged into the Mailman web interface. Each time
>I submit a form, I am logged out. When I do log in, If I look on my
>local machine, I cant find a session cookie anywhere. It like is never
>set. And the Mailman documentation clearly states that none of the
>changes will be saved in that scenario.
>
>Question: are there any people out there who can point me in the right 
>direction? I assume that Python should be setting a cookie, but thats
>just a guess ... could it be OS related?

Just out of morbid curiosity, why did you build it from source? Mailman
is available in the ports.


-- 
Jerry
[EMAIL PROTECTED]

The very remembrance of my former misfortune proves a new one to me.

Miguel de Cervantes


signature.asc
Description: PGP signature


Re: Mailman + Apache + Cookies + FreeBSD

2008-10-09 Thread Grant Peel

Thanks Chuck,

Tried all that several times.

My browser accepts cookies from many different (tested today and yesterday) 
sites.


-Grant

- Original Message - 
From: "Chuck Swiger" <[EMAIL PROTECTED]>

To: "Grant Peel" <[EMAIL PROTECTED]>
Cc: 
Sent: Thursday, October 09, 2008 6:09 PM
Subject: Re: Mailman + Apache + Cookies + FreeBSD



On Oct 9, 2008, at 2:59 PM, Grant Peel wrote:
Problem: I can't stay logged into the Mailman web interface. Each  time I 
submit a form, I am logged out. When I do log in, If I look  on my local 
machine, I cant find a session cookie anywhere. It like  is never set. 
And the Mailman documentation clearly states that none  of the changes 
will be saved in that scenario.


Question: are there any people out there who can point me in the  right 
direction? I assume that Python should be setting a cookie,  but thats 
just a guess ... could it be OS related?


Try restarting your browser, and double-checking that your preferences 
allow the webserver to set cookies.


Regards,
--
-Chuck

___
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: Mailman + Apache + Cookies + FreeBSD

2008-10-09 Thread Chuck Swiger

On Oct 9, 2008, at 2:59 PM, Grant Peel wrote:
Problem: I can't stay logged into the Mailman web interface. Each  
time I submit a form, I am logged out. When I do log in, If I look  
on my local machine, I cant find a session cookie anywhere. It like  
is never set. And the Mailman documentation clearly states that none  
of the changes will be saved in that scenario.


Question: are there any people out there who can point me in the  
right direction? I assume that Python should be setting a cookie,  
but thats just a guess ... could it be OS related?


Try restarting your browser, and double-checking that your preferences  
allow the webserver to set cookies.


Regards,
--
-Chuck

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


Mailman + Apache + Cookies + FreeBSD

2008-10-09 Thread Grant Peel

Hi all,

I am not a fan of cross posting, but, I have to make a exception in this 
case as I can't seem to nail down whether its the software or OS causing me 
the problem.


Software: Apache 2.2, Python 2.5, Mailmain 2.1.11
OS: FreeBSD 6.2 Release #0

Apache and Python were built from ports, Mailman was built from source.

Problem: I can't stay logged into the Mailman web interface. Each time I 
submit a form, I am logged out. When I do log in, If I look on my local 
machine, I cant find a session cookie anywhere. It like is never set. And 
the Mailman documentation clearly states that none of the changes will be 
saved in that scenario.


Question: are there any people out there who can point me in the right 
direction? I assume that Python should be setting a cookie, but thats just a 
guess ... could it be OS related?


TIA,

-Grant 


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


Re: newsyslog and apache

2008-10-03 Thread Ian Smith
On Fri, 03 Oct 2008 10:08:52 +0200 "DA Forsyth" <[EMAIL PROTECTED]> wrote:
 > On 2 Oct 2008 , [EMAIL PROTECTED] entreated about
 >  "freebsd-questions Digest, Vol 235, Issue 11":

I'm replying to the digest too, so threading is doubly screwed :)

 > > No need to change log rotation software since the problem clearly is
 > > somewhere else. You need to inspect Apache's error logs to see why it
 > > cannot start.
 > 
 > the previous error log shows
 > [Wed Oct 01 08:00:03 2008] [notice] Graceful restart requested, doing 
 > restart
 > [Wed Oct 01 08:00:04 2008] [notice] seg fault or similar nasty error 
 > detected in the parent process

This is what you need to find and fix.  Most likely a config error of 
some sort .. possibly re some module - php extensions order, maybe?

What does 'apachectl configtest' have to say?
 
 > the new error log shows, after the manual start
 > [Wed Oct 01 08:39:09 2008] [warn] pid file /var/run/httpd.pid 
 > overwritten -- Unclean shutdown of previous Apache run?
 > [Wed Oct 01 08:39:09 2008] [notice] Apache/2.0.63 (FreeBSD) PHP/4.4.9 
 > with Suhosin-Patch DAV/2 SVN/1.5.2 configured -- resuming normal 
 > operations
 > 
 > those error messages are repeated any time I do a 
 >apachectl graceful
 > 
 > However, doing
 >apachectl stop
 >apachectlstart
 > works as expected.

See apachectl(8) .. apachectl graceful sends httpd a SIGUSR1, as does 
your previously mentioned newsyslog line, which shuts apache down but 
without murdering existing connections, while apachectl restart does.

However both graceful and restart run configttest before restarting, and 
it seems likely that's where/why it's bombing.  OTOH, apachectl start 
doesn't run configtest, maybe explaining why it starts up ok that way?

 > apache version is apache-2.0.63_2 from ports
 > uname -a gives
 > FreeBSD iwr.ru.ac.za 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #2: Mon 
 > Jun  2 13:10:26 SAST 2008 
 > iwr.ru.ac.za:/usr/obj/usr/src/sys/KERNIWR70  i386

Here running apache 1.3 on 5.5-STABLE, but I doubt the apachectl 
functionality has changed significantly, though I may be wrong ..

 > php v4 is installed, though i do plan to upgrade that to V5 as soon 
 > as I get time to do it.

Good idea, especially if PHP is related to your apparent config issue.

 > PS: I used to use logrotate, but it too stopped working correctly, 
 > with apache process stopping in a similar way that is why I changed 
 > to newsyslog.  I rotate the logs monthly, and set it to 8am so there 
 > is a chance I'll be on hand to start apache to minimize downtime.

Theoretically if it survives an apachectl configtest, you should be 
good to go - and if it doesn't, neither method will restart apache.

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


Re: newsyslog and apache

2008-10-03 Thread DA Forsyth
On 2 Oct 2008 , [EMAIL PROTECTED] entreated about
 "freebsd-questions Digest, Vol 235, Issue 11":

> No need to change log rotation software since the problem clearly is
> somewhere else. You need to inspect Apache's error logs to see why it
> cannot start.
> 

the previous error log shows
[Wed Oct 01 08:00:03 2008] [notice] Graceful restart requested, doing 
restart
[Wed Oct 01 08:00:04 2008] [notice] seg fault or similar nasty error 
detected in the parent process

the new error log shows, after the manual start
[Wed Oct 01 08:39:09 2008] [warn] pid file /var/run/httpd.pid 
overwritten -- Unclean shutdown of previous Apache run?
[Wed Oct 01 08:39:09 2008] [notice] Apache/2.0.63 (FreeBSD) PHP/4.4.9 
with Suhosin-Patch DAV/2 SVN/1.5.2 configured -- resuming normal 
operations

those error messages are repeated any time I do a 
   apachectl graceful

However, doing
   apachectl stop
   apachectlstart
works as expected.

apache version is apache-2.0.63_2 from ports
uname -a gives
FreeBSD iwr.ru.ac.za 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #2: Mon 
Jun  2 13:10:26 SAST 2008 
iwr.ru.ac.za:/usr/obj/usr/src/sys/KERNIWR70  i386

php v4 is installed, though i do plan to upgrade that to V5 as soon 
as I get time to do it.

PS: I used to use logrotate, but it too stopped working correctly, 
with apache process stopping in a similar way that is why I changed 
to newsyslog.  I rotate the logs monthly, and set it to 8am so there 
is a chance I'll be on hand to start apache to minimize downtime.


--
   DA Fo rsythNetwork Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/


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


Re: newsyslog and apache

2008-10-02 Thread Zbigniew Szalbot
2008/10/2 Jerry <[EMAIL PROTECTED]>:
> On Thu, 2 Oct 2008 14:51:26 +0200
> "Zbigniew Szalbot" <[EMAIL PROTECTED]> wrote:
>
>>No need to change log rotation software since the problem clearly is
>>somewhere else. You need to inspect Apache's error logs to see why it
>>cannot start.
>
> All the information on getting it working correctly is located here:
>
> http://httpd.apache.org/docs/1.3/logs.html#rotation

But he clearly stated:

"I alos see that 'apachectl restart' stops apache but it doesn't
restart."

So I guess first thing is to check why apachectl does not restart the server.

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


Re: newsyslog and apache

2008-10-02 Thread Jerry
On Thu, 2 Oct 2008 14:51:26 +0200
"Zbigniew Szalbot" <[EMAIL PROTECTED]> wrote:

>No need to change log rotation software since the problem clearly is
>somewhere else. You need to inspect Apache's error logs to see why it
>cannot start.

All the information on getting it working correctly is located here:

http://httpd.apache.org/docs/1.3/logs.html#rotation

-- 
Jerry
[EMAIL PROTECTED]

"Surely you can't be serious."
"I am serious, and don't call me Shirley."


signature.asc
Description: PGP signature


Re: newsyslog and apache

2008-10-02 Thread Zbigniew Szalbot
Hello,

2008/10/2 Jerry <[EMAIL PROTECTED]>:
> On Thu, 02 Oct 2008 14:20:50 +0200
> "DA Forsyth" <[EMAIL PROTECTED]> wrote:
>
>>I used to have one big apache log file, but decided to rotate it once
>>a month using newsyslog.
>>
>>However, now apache stops and does not restart when the log is
>>rotated.
>>
>>line from newsyslog.conf
>>/var/log/apache/httpd-access.log640 13 *$M1D8 B
>>  /var/run/httpd.pid 30
>>
>>with a similar one for the error log.
>>
>>I have to manually start apache after this rotates the log.
>>
>>I alos see that 'apachectl restart' stops apache but it doesn't
>>restart.
>>
>>any ideas?
>
>
> I use 'rotatelogs':

No need to change log rotation software since the problem clearly is
somewhere else. You need to inspect Apache's error logs to see why it
cannot start.

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


Re: newsyslog and apache

2008-10-02 Thread Jerry
On Thu, 02 Oct 2008 14:20:50 +0200
"DA Forsyth" <[EMAIL PROTECTED]> wrote:

>I used to have one big apache log file, but decided to rotate it once 
>a month using newsyslog.
>
>However, now apache stops and does not restart when the log is 
>rotated.
>
>line from newsyslog.conf
>/var/log/apache/httpd-access.log640 13 *$M1D8 B   
>  /var/run/httpd.pid 30
>
>with a similar one for the error log.
>
>I have to manually start apache after this rotates the log.
>
>I alos see that 'apachectl restart' stops apache but it doesn't 
>restart.
>
>any ideas?


I use 'rotatelogs':

http://httpd.apache.org/docs/2.0/programs/rotatelogs.html

to facilitate the rotating of logs. If you need further information,
contact me OL.

-- 
Jerry
[EMAIL PROTECTED]

To see a need and wait to be asked, is to already refuse.


signature.asc
Description: PGP signature


newsyslog and apache

2008-10-02 Thread DA Forsyth
I used to have one big apache log file, but decided to rotate it once 
a month using newsyslog.

However, now apache stops and does not restart when the log is 
rotated.

line from newsyslog.conf
/var/log/apache/httpd-access.log640 13 *$M1D8 B   
  /var/run/httpd.pid 30

with a similar one for the error log.

I have to manually start apache after this rotates the log.

I alos see that 'apachectl restart' stops apache but it doesn't 
restart.

any ideas?


--
   DA Fo rsythNetwork Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/


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


Re: [OT] Apache SSL certificate authentication

2008-09-29 Thread Fraser Tweedale
On Mon, Sep 29, 2008 at 12:00:09PM -0500, CyberLeo Kitsana wrote:
> Fraser Tweedale wrote:
> > - Create my CA key and a CSR, and have CACert sign it.
> 
> Are you sure it's signed as an intermediary CA? cacert.org's website
> suggests they will only sign leaf certificates.
> http://wiki.cacert.org/wiki/SubRoot
> 
> Fortunately, your client certs need not be signed by the same CA as your
> server cert, and it's probably somewhat pointless to have a client cert
> (which will be used for your infrastructure alone) vetted by a third party.
> 
> -- 
> Fuzzy love,
> -CyberLeo
> Technical Administrator
> CyberLeo.Net Webhosting
> http://www.CyberLeo.Net
> <[EMAIL PROTECTED]>
> 
> Furry Peace! - http://.fur.com/peace/
>

Thanks for the clarification.  I hadn't picked up on the fact that you
need a special intermediary cert for the server cert to validate up the
chain.

Well, nevermind.  It's just for personal use anyway... if only X.509 could
be simple like OpenPGP :)

frase


pgpqxJMTtc3na.pgp
Description: PGP signature


Re: [OT] Apache SSL certificate authentication

2008-09-29 Thread CyberLeo Kitsana
Fraser Tweedale wrote:
> - Create my CA key and a CSR, and have CACert sign it.

Are you sure it's signed as an intermediary CA? cacert.org's website
suggests they will only sign leaf certificates.
http://wiki.cacert.org/wiki/SubRoot

Fortunately, your client certs need not be signed by the same CA as your
server cert, and it's probably somewhat pointless to have a client cert
(which will be used for your infrastructure alone) vetted by a third party.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<[EMAIL PROTECTED]>

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


[OT] Apache SSL certificate authentication

2008-09-27 Thread Fraser Tweedale
I've been trying to set up Apache to do certificate authentication
and although I've had success using a self-signed CA (which
naturally requires that the CA certificate be installed in the
browser), I want to do the same, only have the certificate(s) signed
by a real(*) CA, and am having some difficulty.

(*) Specifically, CACert, which still isn't a OOTB trusted CA in most
software.

The way I expect this to work is:

- Create my CA key and a CSR, and have CACert sign it.
- Create a server key and CSR, and sign it with my CA
- Create a client certificate, signed by my CA.

So I end up with a certificate chain that goes:
CACert -> my CA -> my server

But... this is not working.  Firefox won't verify the server (the
CACert root certificate .is. installed), and having bypassed this
check, Apache won't verify the client either.

The Apache configuration is as follows:


ServerName foo.bar
DocumentRoot /path/to/htdocs
SSLEngine on
SSLCipherSuite HIGH:MEDIUM
SSLProtocol all -SSLv2
SSLCertificateFile /sslpath/server.crt
SSLCertificateKeyFile /sslpath/server.key
SSLCACertificateFile /sslpath/my-ca.crt
SSLVerifyClient require
SSLVerifyDepth 1



Any suggestions are appreciated,

frase



pgpjMpbJXLvX2.pgp
Description: PGP signature


NFS under load-balanced apache

2008-09-21 Thread Murray Taylor
Hi all,

Looking for guidance / war stories on mounting nfs shares onto 
several load balanced web servers

Load balancer + web 1 --+
  + web 2 --+
  + web 3 --+- NFS -- Static stuff on NAS box

The NAS box will hold generated report files etc, while the web boxen 
do the dynamic stuff from the databases etc.

We are also considering storing session stuff on the NAS



Murray Taylor
Bytecraft Systems
Special Projects Engineer

P: +61 3 8710 0600
D: +61 3 9238 4275
F: +61 3 9238 4140

--
 |_|0|_|"Absence of evidence
 |_|_|0|is not evidence of absence"
 |0|0|0|Carl Sagan
---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

### This e-mail message has been scanned for Viruses by Bytecraft ###
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache 1.3 Problems

2008-09-16 Thread Ian Smith
On Tue, 16 Sep 2008, Annelise Anderson wrote:
 > On Wed, 17 Sep 2008, Ian Smith wrote:
 > > On Tue, 16 Sep 2008 17:48:48 +1000 (EST) [EMAIL PROTECTED] wrote:
 > > > > On Tue, 16 Sep 2008 [EMAIL PROTECTED] wrote:
 > > 
 > > From a digest post, trimming a bit ..

Trimming lots this time ..

 > > Ok, ping and DNS look fine.  I (also) can traceroute your box this far:
 > > 
 > > 14  bbrb-isp.Stanford.EDU (171.64.1.155)  193.489 ms  193.562 ms  195.603
 > > ms
 > > 15  * * *
 > > 16  * * *
 > > 17  * * *
 > > 18  * *^C
 > > 
 > > I don't know whether you allow inbound traceroutes? but the question
 > > now is, how many routers between you and and bbrb-isp.Stanford.EDU ?
 > > 
 > > Can you show us a 'traceroute bbrb-isp.Stanford.EDU' from your machine?
[..]

 > I think port 80 is being filtered.  I have started talking to the admins.
 > The traceroute looks like this--
 > 
 > andrsn  2:23PM ~ % traceroute bbrb-isp.Stanford.EDU
 > traceroute to bbrb-isp.Stanford.EDU (171.64.1.155), 64 hops max, 40 byte 
 > packets
 >  1  goz-srtr-vlan910.Stanford.EDU (171.66.112.1)  0.610 ms  0.571 ms 0.711 ms
 >  2  * bbra-rtr.Stanford.EDU (172.20.4.1)  1.093 ms *
 >  3  * * *
 >  4  * * *
 >  and so forth indefinitely.

While talking to the admins, you might show them your traceroute too.  

It's a bit strange that bbrb-isp.Stanford.EDU responds to traceroutes 
from the outside, but not from your internal machine.  Of course it may 
be that the port 80 blocking (and/or traceroute blocking) is occurring 
on another router between you and bbrb-isp .. we can see at least two.

 > When I filter out non-tcp traffic nothing shows up at all.

Obviously mail works both ways.  tcptraceroute was also a good clue.

 > I have not tried another port yet, but will do that now.
 > 
 >  Annelise

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


Re: Apache 1.3 Problems

2008-09-16 Thread Annelise Anderson

On Wed, 17 Sep 2008, Ian Smith wrote:


On Tue, 16 Sep 2008 17:48:48 +1000 (EST) [EMAIL PROTECTED] wrote:
> > On Tue, 16 Sep 2008 [EMAIL PROTECTED] wrote:


From a digest post, trimming a bit ..


> >>>   After 3 years, by apache 1.3 server quite working.  It shows a
> >>> PID, it's running, it can be stopped and restarted, and from FreeBSD
> >>> the home page comes up using lynx http://andrsn.stanford.edu
> >>>
> >>>   But from outside, it times out.
> >>>
> >>>   I have run the texts for valid configuration (I haven't changed
> >>> anything) and I actually rebooted the machine.  The texts are okay and
> >>> rebooting doesn't help.
> >>>
> >>>   The machine is pingable.  It's running FreeBSD 5.5 or so.
> >>>
> >>>   What to do next?
> >>>
> >>>   Annelise
> >>> ___
> >>
> >> Hmm..
> >> Can it connect to the outside world at all itself? Has the network
> >> changed
> >> at all recently? Did the server restart at all and if so are the
> >> firewall
> >> rules (if any) permitting external traffic?
> >>
> >> You could check the apache logs to see if any external connections are
> >> getting through to the box at all, too.
> >>
> >> Is the lynx test connecting from the same box to itself? or from another
> >> FreeBSD box..?
> >
> >>From the same box to itself.

What about from other boxes 'inside' your domain?

> >> --
> >> Also, what Chris said would cover most of these. :)
> >>
> >> Cheers,
> >> Mark
> >
> > Chris wrote:
> >
> >>Sounds like a (probebly external) firewall issue. Just because pings get
> >>through, doesn't mean the http requests are.
> >
> > No firewall on my machine.

No, but there are (hopefully :) Stanford firewall/s between you and the
outside world.  Might they have upgraded policy about allowing inbound
port 80 connections to boxes not known/expected to be running servers?

> >>I'd run ngrep or tcpdump on the console and double-check that the packets
> >>are actually making it to the server.
> >
> >>Also, do a "sockstat -4" and make sure it's listening on the approprate
> >>IP.
> >
> > Thank you both--
> >
> > sockstat -4 show that it's listening on *:80, which is right.
> > Neither tcpdump (assuming I'm reading it correcting) nor httpd-access.log
> > shows any tcp packets at all getting through except when lynx is run
> > from the machine on which apache is running after Sept 12 at 2:12 a.m.
> > Thus, I assume packets are not getting to the server, except when
> > requested from the local machine.

Sounds like your machine is setup ok, but inbound tcp setup packets are
apparently getting blocked upstream.

> > email and ftp are working--and I can log into the machine remotely--
> > so stuff is getting out and in.  tcpdump shows a lot of other activity,

Specific like 'tcpdump -pn -i $iface tcp port 80' quells other noise.

> > So, I'm stumped.
> >
> >   Annelise

Ok, ping and DNS look fine.  I (also) can traceroute your box this far:

14  bbrb-isp.Stanford.EDU (171.64.1.155)  193.489 ms  193.562 ms  195.603 ms
15  * * *
16  * * *
17  * * *
18  * *^C

I don't know whether you allow inbound traceroutes? but the question
now is, how many routers between you and and bbrb-isp.Stanford.EDU ?

Can you show us a 'traceroute bbrb-isp.Stanford.EDU' from your machine?

> This might sound like an odd test, but try configuring it to sit on a port
> other than 80 (8080, for example) and seeing if you get the same problem
> there.
>
> Cheers,
> Mark

If you're thinking what I'm thinking, 8080's just as unlikely to work :)

cheers, Ian


I think port 80 is being filtered.  I have started talking to the admins.
The traceroute looks like this--

andrsn  2:23PM ~ % traceroute bbrb-isp.Stanford.EDU
traceroute to bbrb-isp.Stanford.EDU (171.64.1.155), 64 hops max, 40 byte 
packets
 1  goz-srtr-vlan910.Stanford.EDU (171.66.112.1)  0.610 ms  0.571 ms 
0.711 ms

 2  * bbra-rtr.Stanford.EDU (172.20.4.1)  1.093 ms *
 3  * * *
 4  * * *
 and so forth indefinitely.

When I filter out non-tcp traffic nothing shows up at all.

I have not tried another port yet, but will do that now.

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


Re: Apache 1.3 Problems

2008-09-16 Thread Ian Smith
On Tue, 16 Sep 2008 17:48:48 +1000 (EST) [EMAIL PROTECTED] wrote:
 > > On Tue, 16 Sep 2008 [EMAIL PROTECTED] wrote:

>From a digest post, trimming a bit ..

 > >>>      After 3 years, by apache 1.3 server quite working.  It shows a
 > >>> PID, it's running, it can be stopped and restarted, and from FreeBSD
 > >>> the home page comes up using lynx http://andrsn.stanford.edu
 > >>>
 > >>>  But from outside, it times out.
 > >>>
 > >>>  I have run the texts for valid configuration (I haven't changed
 > >>> anything) and I actually rebooted the machine.  The texts are okay and
 > >>> rebooting doesn't help.
 > >>>
 > >>>  The machine is pingable.  It's running FreeBSD 5.5 or so.
 > >>>
 > >>>  What to do next?
 > >>>
 > >>>  Annelise
 > >>> ___
 > >>
 > >> Hmm..
 > >> Can it connect to the outside world at all itself? Has the network
 > >> changed
 > >> at all recently? Did the server restart at all and if so are the
 > >> firewall
 > >> rules (if any) permitting external traffic?
 > >>
 > >> You could check the apache logs to see if any external connections are
 > >> getting through to the box at all, too.
 > >>
 > >> Is the lynx test connecting from the same box to itself? or from another
 > >> FreeBSD box..?
 > >
 > >>From the same box to itself.

What about from other boxes 'inside' your domain?

 > >> --
 > >> Also, what Chris said would cover most of these. :)
 > >>
 > >> Cheers,
 > >> Mark
 > >
 > > Chris wrote:
 > >
 > >>Sounds like a (probebly external) firewall issue. Just because pings get
 > >>through, doesn't mean the http requests are.
 > >
 > > No firewall on my machine.

No, but there are (hopefully :) Stanford firewall/s between you and the 
outside world.  Might they have upgraded policy about allowing inbound 
port 80 connections to boxes not known/expected to be running servers?

 > >>I'd run ngrep or tcpdump on the console and double-check that the packets
 > >>are actually making it to the server.
 > >
 > >>Also, do a "sockstat -4" and make sure it's listening on the approprate
 > >>IP.
 > >
 > > Thank you both--
 > >
 > > sockstat -4 show that it's listening on *:80, which is right.
 > > Neither tcpdump (assuming I'm reading it correcting) nor httpd-access.log
 > > shows any tcp packets at all getting through except when lynx is run
 > > from the machine on which apache is running after Sept 12 at 2:12 a.m.
 > > Thus, I assume packets are not getting to the server, except when
 > > requested from the local machine.

Sounds like your machine is setup ok, but inbound tcp setup packets are 
apparently getting blocked upstream.

 > > email and ftp are working--and I can log into the machine remotely--
 > > so stuff is getting out and in.  tcpdump shows a lot of other activity,

Specific like 'tcpdump -pn -i $iface tcp port 80' quells other noise.

 > > So, I'm stumped.
 > >
 > >Annelise

Ok, ping and DNS look fine.  I (also) can traceroute your box this far:

14  bbrb-isp.Stanford.EDU (171.64.1.155)  193.489 ms  193.562 ms  195.603 ms
15  * * *
16  * * *
17  * * *
18  * *^C

I don't know whether you allow inbound traceroutes? but the question 
now is, how many routers between you and and bbrb-isp.Stanford.EDU ?

Can you show us a 'traceroute bbrb-isp.Stanford.EDU' from your machine?

 > This might sound like an odd test, but try configuring it to sit on a port
 > other than 80 (8080, for example) and seeing if you get the same problem
 > there.
 >
 > Cheers,
 > Mark

If you're thinking what I'm thinking, 8080's just as unlikely to work :)

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


Re: Segmentation fault & Apache-2.2.9

2008-09-03 Thread Michael Powell
Gerard wrote:

> I continue to see varying amounts of chatter in the 'httpd-error.log'
> file. This is a snipped of what is being written to the file.
> 
> 
> **
> 
> [Wed Sep 03 06:59:31 2008] [notice] Digest: generating secret for digest
> [authentication ... Wed Sep 03 06:59:31 2008] [notice] Digest: done
> [Wed Sep 03 06:59:32 2008] [notice] Apache/2.2.9 (FreeBSD) mod_ssl/2.2.9
> [OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.6 with Suhosin-Patch configured --
> [resuming normal operations Wed Sep 03 08:28:11 2008] [notice] child pid
> [1039 exit signal Segmentation fault (11) Wed Sep 03 08:56:01 2008]
> [[notice] child pid 989 exit signal Segmentation fault (11) Wed Sep 03
> [09:29:00 2008] [notice] child pid 1692 exit signal Segmentation fault
> [(11) Wed Sep 03 09:29:31 2008] [notice] child pid 990 exit signal
> [Segmentation fault (11)
> 
> 
> **
> 
> Some days there may be twenty or more 'segmentation fault' messages. How
> can I debug this to see what is crashing and why? Everything appears to
> be operating correctly.
> 
> 

Easiest thing to try quickly as a stab in the dark is to comment out
extension=hash.so in your extensions.ini and restart apache. I and others
have had trouble with this one. However, when this particular problem
surfaced for me Apache wouldn't start at all, so maybe you're seeing
something else. This is just a quick "rule out a possible", but deeper
investigation is probably warranted in your case.

If this doesn't make any difference you can crank up the logging levels in
both the Apache config and the php.ini both. Instructions are in the
commented out sections of the relevant files. Careful here especially with
the php.ini as you don't want the output showing to surfers.

Sometimes truss can be a potentially helpful utility. The -f switch will
allow it to look at child processes as they fork. truss -f -p [The "root"
Apache PID]

-Mike
 

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


Segmentation fault & Apache-2.2.9

2008-09-03 Thread Gerard
I continue to see varying amounts of chatter in the 'httpd-error.log'
file. This is a snipped of what is being written to the file.


**

[Wed Sep 03 06:59:31 2008] [notice] Digest: generating secret for digest 
authentication ...
[Wed Sep 03 06:59:31 2008] [notice] Digest: done
[Wed Sep 03 06:59:32 2008] [notice] Apache/2.2.9 (FreeBSD) mod_ssl/2.2.9 
OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.6 with Suhosin-Patch configured -- resuming 
normal operations
[Wed Sep 03 08:28:11 2008] [notice] child pid 1039 exit signal Segmentation 
fault (11)
[Wed Sep 03 08:56:01 2008] [notice] child pid 989 exit signal Segmentation 
fault (11)
[Wed Sep 03 09:29:00 2008] [notice] child pid 1692 exit signal Segmentation 
fault (11)
[Wed Sep 03 09:29:31 2008] [notice] child pid 990 exit signal Segmentation 
fault (11)


**

Some days there may be twenty or more 'segmentation fault' messages. How
can I debug this to see what is crashing and why? Everything appears to
be operating correctly.


-- 
Gerard
[EMAIL PROTECTED]

All men profess honesty as long as they can.
To believe all men honest would be folly.
To believe none so is something worse.

John Quincy Adams


signature.asc
Description: PGP signature


RE: getaddrinfo() failed in Apache 2.2

2008-08-15 Thread Tamouh Hakmi
 
> 
> 
> Hi,
> 
> I'm working on a problem with Apache 2.2 + PHP on FreeBSD 6.1 x86
> 
> Recently, we've upgraded from Apache 1.3 to v2.2 , and since 
> then PHP is unable to resolve hostnames unless they're 
> specified in /etc/hosts . The error we'd get would be:
> 
> php_network_getaddresses: getaddrinfo failed: hostname nor 
> servname provided, or not known in 
> /home/username/public_html/testphp.php on line 2
> 
> This is for a simple http://www.google.com); ?> 
> function. We know it is not a DNS problem, because if PHP is 
> setup as a CGI function, it works fine. It is only in DSO 
> mode that PHP malfunction like this. We're also having no 
> issues with our resolver for mail, ping or any other services.
> 
> Some people were pointing out that this is a fault of FreeBSD 
> reaching a maximum number of file descriptors. Others said 
> this can't be resolved until upgraded to FBSD 6.3 which we 
> are not planning to go through. There are several hundred 
> domains hosted on the server, but all was working fine with 
> Apache 1.3.
> 
>  Our VNODES are a bit high, but haven't seen any errors:
> 
> server# sysctl kern.maxvnodes
> kern.maxvnodes: 10
> server# sysctl vfs.numvnodes
> vfs.numvnodes:  84805
> 
> server# sysctl kern.maxfiles
> kern.maxfiles: 65536
> kern.maxfilesperproc: 32767
> 
> Anyone be able to guide me in the right direction here?
> 
> Thanks, 
> 
> Tamouh
> 
> 

We seem to have found the source of the issue. It looks like too many opened 
files by Apache 2.2 is causing this problem.

Once we disable for example CustomLog, everything works fine.

Is there a way around this on FreeBSD ?

Thanks,

Tamouh


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


getaddrinfo() failed in Apache 2.2

2008-08-13 Thread Tamouh H.

Hi,

I'm working on a problem with Apache 2.2 + PHP on FreeBSD 6.1 x86

Recently, we've upgraded from Apache 1.3 to v2.2 , and since then PHP is unable 
to resolve hostnames unless they're specified in /etc/hosts . The error we'd 
get would be:

php_network_getaddresses: getaddrinfo failed: hostname nor servname provided, 
or not known in /home/username/public_html/testphp.php on line 2

This is for a simple http://www.google.com); ?> function. We know it 
is not a DNS problem, because if PHP is setup as a CGI function, it works fine. 
It is only in DSO mode that PHP malfunction like this. We're also having no 
issues with our resolver for mail, ping or any other services.

Some people were pointing out that this is a fault of FreeBSD reaching a 
maximum number of file descriptors. Others said this can't be resolved until 
upgraded to FBSD 6.3 which we are not planning to go through. There are several 
hundred domains hosted on the server, but all was working fine with Apache 1.3.

 Our VNODES are a bit high, but haven't seen any errors:

server# sysctl kern.maxvnodes
kern.maxvnodes: 10
server# sysctl vfs.numvnodes
vfs.numvnodes:  84805

server# sysctl kern.maxfiles
kern.maxfiles: 65536
kern.maxfilesperproc: 32767

Anyone be able to guide me in the right direction here?

Thanks, 

Tamouh


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


Re: Building modules distributed with Apache, using ports

2008-07-30 Thread Lowell Gilbert
Jonathan McKeown <[EMAIL PROTECTED]> writes:

> This may be a daft question. I freely admit it's a lazy one - I'm hoping 
> someone has a quick answer that'll save me a couple of hours building a test 
> server and experimenting.
>
> I built apache 2.0 from ports, using WITH_LDAP - but not WITH_LDAP_MODULES, 
> as 
> the Makefile.doc says it's implied by WITH_LDAP. As far as I can tell it's 
> actually the other way round, that WITH_LDAP_MODULES triggers the WITH_LDAP 
> options (either that or I didn't set it properly).
>
> Be that as it may, I now have an installation of Apache to which I need to 
> add 
> mod_auth_ldap and mod_ldap from the Apache 2.0 distribution.
>
> Is it possible to use the www/apache20 port to build these, or additional 
> modules generally, without rebuilding/reinstalling Apache itself?

Not really, no.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Building modules distributed with Apache, using ports

2008-07-29 Thread Jonathan McKeown
This may be a daft question. I freely admit it's a lazy one - I'm hoping 
someone has a quick answer that'll save me a couple of hours building a test 
server and experimenting.

I built apache 2.0 from ports, using WITH_LDAP - but not WITH_LDAP_MODULES, as 
the Makefile.doc says it's implied by WITH_LDAP. As far as I can tell it's 
actually the other way round, that WITH_LDAP_MODULES triggers the WITH_LDAP 
options (either that or I didn't set it properly).

Be that as it may, I now have an installation of Apache to which I need to add 
mod_auth_ldap and mod_ldap from the Apache 2.0 distribution.

Is it possible to use the www/apache20 port to build these, or additional 
modules generally, without rebuilding/reinstalling Apache itself?

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


Re: Apache 2 in 6.0 jails: Connection refused: connect to listener on0.0.0.0:80

2008-07-14 Thread Chad Leigh -- Shire.Net LLC
Yes that is what I did.  Change the jail Listen directive to have the  
actual IP address of the jail


Chad

On Jul 13, 2008, at 11:13 PM, Rudy wrote:



Philippe,

Ha, I had the same problem in 7.0 jails.  :)
So, here is a response to your email from 2 years ago:

I made this change in httpd.conf and the problem seems gone:
-Listen 80
+Listen 208.69.40.119:80

Rudy



Your message from 2 years ago:
> Hi,
>
> Every now and then, Apache 2.2.2 starts filling my
> httpd-error.log with thousands of lines like:
>
> [Sat Jul 08 20:57:32 2006] [warn] (61)Connection refused:
> connect to listener on 0.0.0.0:80



---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: Apache 2 in 6.0 jails: Connection refused: connect to listener on0.0.0.0:80

2008-07-13 Thread Rudy


Philippe,

Ha, I had the same problem in 7.0 jails.  :)
So, here is a response to your email from 2 years ago:

I made this change in httpd.conf and the problem seems gone:
 -Listen 80
 +Listen 208.69.40.119:80

Rudy



Your message from 2 years ago:
> Hi,
>
> Every now and then, Apache 2.2.2 starts filling my
> httpd-error.log with thousands of lines like:
>
> [Sat Jul 08 20:57:32 2006] [warn] (61)Connection refused:
> connect to listener on 0.0.0.0:80

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


Re: Apache

2008-06-13 Thread sergio lenzi
Helllo

I understand your problem (I was once a SCO user/programmer)
well
the easy way is:  a disk of 20GB miminum...   
1) Install FreeBSD 7.0 RELEASE (choose your favorite lay out...) that
is /root, /var,swap, /usr  
in diferent slices  swap is about 2Gb...  (later will hold
the /tmp)  /root is 512M... /var is 8Gb (or more ..)
/usr the rest of the disk
2) during the installation process do not forget to set up the ethernet,
dns...   and install docs, 
kernel sources, and PORTS
3) once the machine boots, and is in internet, setup the timezone using
tzsetup, fix the time using
ntpdate -t 10 pool.ntp.org...  (this is important)
4) update the ports with portsnap fetch update . 
5) install some shell with pkg_add -r bash
6) create a super user named admin or whaterver you want
echo PAWORD | pw adduser admin -o -u 0 -g wheel
-s /usr/local/bin/bash -h 0
7) logout and login as admin 
8) go to the /usr/ports/www/apache22 and type make package, The system
will build your apache
for you
9) put "apache22_enable=YES"  in /etc/rc.conf, start it with the
command  /usr/local/etc/rc.d/apache22 start.

Your are done

There are 18600 ports you may want to try.

I use the 64 bits FreeBSD... is very stable and incredible fast.

Sergio

> 
> Hi. 
> 
>  
> 
> I have a wealth of experience with SCO products, but I have to admit I
> am stumped with BSD and specifically upgrading a customers Apache from
> 2.0.55 to 2.0.63 on BSD 5.4.  I have downloaded the product,  unsipped
> it and extracted the tar volume.  Where do I go from here?.  I have read
> many articles until I'm blue in the face.
> 
>  
> 
> Any help would be appreciated!
> 
>  
> 
> 
> 
> 
> 
> Dennis Kirschling
> 
> Office 916 714-1002
> 
> Cell916 825-3737
> 
> [EMAIL PROTECTED]
> 
>  
> 
>   
> 
>  
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 7 and Apache 1.3.41 PROBLEM

2008-06-11 Thread Wojciech Puchar

In httpd-error.log
[Wed Jun 11 17:01:04 2008] [info] mod_unique_id: using ip addr 10.10.10.10
[Wed Jun 11 17:01:05 2008] [info] (2)No such file or directory: make_sock: for 
port 80, setsockopt: (SO_ACCEPTFILTER)
[Wed Jun 11 17:01:05 2008] [warn] pid file /var/run/httpd.pid overwritten -- 
Unclean shutdown of previous Apache run?

After hashing out
#LoadModule unique_id_module   libexec/apache/mod_unique_id.so
#AddModule mod_unique_id.c

Apache starts normally

Can anyone explain this?


are you sure you use the same apache version as with 6.*?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 7 and Apache 1.3.41 PROBLEM

2008-06-11 Thread Jack Raats
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On a server I was running FreeBSD 6.3-STABLE together with apache 1.3.41 
without any problem.

After upgrading FreeBSD to FreeBSD 7.0-STABLE using a source upgrade, 
compiling, and a full recompile of all the ports apache refuses to start, or 
starts and exits with a .core dump.

In httpd-error.log
[Wed Jun 11 17:01:04 2008] [info] mod_unique_id: using ip addr 10.10.10.10
[Wed Jun 11 17:01:05 2008] [info] (2)No such file or directory: make_sock: for 
port 80, setsockopt: (SO_ACCEPTFILTER)
[Wed Jun 11 17:01:05 2008] [warn] pid file /var/run/httpd.pid overwritten -- 
Unclean shutdown of previous Apache run?

After hashing out
#LoadModule unique_id_module   libexec/apache/mod_unique_id.so
#AddModule mod_unique_id.c

Apache starts normally

Can anyone explain this?

Jack
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32) - GPGrelay v0.959

iD8DBQFIT+8bPh5RwW/NzC4RAn9aAKCVKIvHFmFzpeaveqvHYbXjIRrhuACg0vxr
f5f3FDGYigHPRaqGz+ZkDok=
=TZvG
-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: Not possible to install KDE 3.5.8 and Apache 2.2 together?

2008-06-10 Thread Stevan Tiefert
Thanks, it works!

With regards
Stevan Tiefert



  __
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com

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


Re: Not possible to install KDE 3.5.8 and Apache 2.2 together?

2008-06-10 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Stevan Tiefert wrote:
| Hello,
|
| when I want to install www/apache22 then following
| error appears:
|
| beastie# make install clean
| ===>  Installing for apache-2.2.8
|
| ===>  apache-2.2.8 conflicts with installed
| package(s):
|   apr-db42-1.2.8_2

Please configure apache to use the APR version coming from ports.
You can do that by making

$ make config

in www/apache22

and selecting the first option (APR_FROM_PORTS)


- --
Pietro Cerutti
[EMAIL PROTECTED]

PGP Public Key:
http://gahr.ch/pgp

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEAREKAAYFAkhOUSwACgkQwMJqmJVx944V9ACgvm+XzdCNArCDWs5RUXXZE64J
X3wAoK9iLHidFIEF+np3Rsb5DsWzdDnw
=B7c2
-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]"


Not possible to install KDE 3.5.8 and Apache 2.2 together?

2008-06-09 Thread Stevan Tiefert
Hello,

when I want to install www/apache22 then following
error appears:

beastie# make install clean
===>  Installing for apache-2.2.8

===>  apache-2.2.8 conflicts with installed
package(s):
  apr-db42-1.2.8_2

  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1

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

Stop in /usr/ports/www/apache22.
beastie# pkg_delete apr-db42-1.2.8_2
pkg_delete: package 'apr-db42-1.2.8_2' is required by
these other packages
and may not be deinstalled:
kde-3.5.8
kdesdk-3.5.8
kdevelop-3.5.0
kdewebdev-3.5.8,2
subversion-1.4.4_1
beastie#

The question: Is it possible to keep them both
running, or have I to delete really KDE?

With regards
Stevan Tiefert



  __
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com

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


Re: Updated php, and apache segfaults on SIGHUP

2008-05-23 Thread Andrew Moran

Excellent suggestions.

On May 20, 2008, at 12:42 PM, Sean C. Farley wrote:



I meant the opposite.  The latest port version of PHP has a bug on
FreeBSD 7.  Try it again with the previous patch.




How do I do that with the ports collection?


On May 20, 2008, at 12:45 PM, Claus Guttesen wrote:

Try to compile it into php rather than a module.

http://no.php.net/manual/en/mhash.installation.php


Same as above -- is there an easy way to do that with the ports  
collection?  an option I pass into portinstall/portupgrade?

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


Re: Updated php, and apache segfaults on SIGHUP

2008-05-20 Thread Claus Guttesen
> OK I've narrowed down my problem to:
>
> extension=mhash.so
>
> in extensions.ini
>
> If I comment out that php extension, I'm good.  If I don't, I crash when
> sending HUP signal to parent apache process. I experimented with the
> order of the extensions.ini file but could not get to work regardless of
> putting that mhash in the beginning or the end of the file.
>
> On freebsd 7, I've cvsup'd and rebuilt all ports, so I know it's not an 'out
> of date' kind of thing.  Hmm..

Try to compile it into php rather than a module.

http://no.php.net/manual/en/mhash.installation.php

-- 
regards
Claus

When lenity and cruelty play for a kingdom,
the gentlest gamester is the soonest winner.

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


Re: Updated php, and apache segfaults on SIGHUP

2008-05-20 Thread Sean C. Farley

On Tue, 20 May 2008, Andrew Moran wrote:


OK I've narrowed down my problem to:

extension=mhash.so

in extensions.ini

If I comment out that php extension, I'm good.  If I don't, I crash
when sending HUP signal to parent apache process.  I experimented with
the order of the extensions.ini file but could not get to work
regardless of putting that mhash in the beginning or the end of the
file.

On freebsd 7, I've cvsup'd and rebuilt all ports, so I know it's not
an 'out of date' kind of thing.  Hmm..


I meant the opposite.  The latest port version of PHP has a bug on
FreeBSD 7.  Try it again with the previous patch.


On May 20, 2008, at 8:02 AM, Sean C. Farley wrote:


*snip*


I recall mention on an E-mail list or on IRC of a core dump with PHP
due to improper use of putenv(), but I do not remember where.  Bug
#44836[1] discusses it.  It seems the patch was reverted, but I see
that it is included as a patch within the ports tree.  You could try
to see if things improve by using the older patch[2] for FreeBSD 7
(and above) systems.

Cc'ing delphij to mention that the patch was reverted in the PHP
tree.  Was the patch written for FreeBSD 6?  I noticed that it frees
memory just after the call to putenv().  The is valid for FreeBSD 6
where the string was duped, but in 7, it follows the POSIX standard
of using the string directly.

Sean
1. http://bugs.php.net/bug.php?id=44836
2. 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/files/patch-ext_standard_basic_functions.c?rev=1.1;content-type=text%2Fplain


Sean
--
[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: Updated php, and apache segfaults on SIGHUP

2008-05-20 Thread Andrew Moran


OK I've narrowed down my problem to:

extension=mhash.so

in extensions.ini

If I comment out that php extension, I'm good.  If I don't, I crash  
when sending HUP signal to parent apache process. I experimented  
with the order of the extensions.ini file but could not get to work  
regardless of putting that mhash in the beginning or the end of the  
file.


On freebsd 7, I've cvsup'd and rebuilt all ports, so I know it's not  
an 'out of date' kind of thing.  Hmm..


--Andy

On May 20, 2008, at 8:02 AM, Sean C. Farley wrote:


On Mon, 19 May 2008, Randy Bush wrote:


386 very current

i have been unable to get apache not to segv on one server for a  
while

now.

i tried the php rebuild

i tried clearing obj, full system build, full ports force  
rebuild, ...


i just tried


If you have a backup of php/extensions.ini from before you did your
updates, it would be worth trying reverting to that, to get the  
order

you had before that seemed OK.


still coring

but it is nice to know i have company :)


I recall mention on an E-mail list or on IRC of a core dump with PHP  
due
to improper use of putenv(), but I do not remember where.  Bug  
#44836[1]

discusses it.  It seems the patch was reverted, but I see that it is
included as a patch within the ports tree.  You could try to see if
things improve by using the older patch[2] for FreeBSD 7 (and above)
systems.

Cc'ing delphij to mention that the patch was reverted in the PHP tree.
Was the patch written for FreeBSD 6?  I noticed that it frees memory
just after the call to putenv().  The is valid for FreeBSD 6 where the
string was duped, but in 7, it follows the POSIX standard of using the
string directly.

Sean
 1. http://bugs.php.net/bug.php?id=44836
 2. 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/files/patch-ext_standard_basic_functions.c?rev=1.1;content-type=text%2Fplain
--
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
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: Updated php, and apache segfaults on SIGHUP

2008-05-20 Thread Sean C. Farley

On Mon, 19 May 2008, Randy Bush wrote:


386 very current

i have been unable to get apache not to segv on one server for a while
now.

i tried the php rebuild

i tried clearing obj, full system build, full ports force rebuild, ...

i just tried


If you have a backup of php/extensions.ini from before you did your
updates, it would be worth trying reverting to that, to get the order
you had before that seemed OK.


still coring

but it is nice to know i have company :)


I recall mention on an E-mail list or on IRC of a core dump with PHP due
to improper use of putenv(), but I do not remember where.  Bug #44836[1]
discusses it.  It seems the patch was reverted, but I see that it is
included as a patch within the ports tree.  You could try to see if
things improve by using the older patch[2] for FreeBSD 7 (and above)
systems.

Cc'ing delphij to mention that the patch was reverted in the PHP tree.
Was the patch written for FreeBSD 6?  I noticed that it frees memory
just after the call to putenv().  The is valid for FreeBSD 6 where the
string was duped, but in 7, it follows the POSIX standard of using the
string directly.

Sean
  1. http://bugs.php.net/bug.php?id=44836
  2. 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/files/patch-ext_standard_basic_functions.c?rev=1.1;content-type=text%2Fplain
--
[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: Updated php, and apache segfaults on SIGHUP

2008-05-20 Thread Norbert Papke
On May 19, 2008, Andrew Moran wrote:
> I recently upgraded my php5 ports to latest ports tree versions
> (5.2.6), and now I'm in a situation where any HUP signal sent to
> apache is causing the entire process to dump core.  I get this in the
> apache error log:
>
> [Mon May 19 16:08:48 2008] [notice] SIGHUP received.  Attempting to
> restart
> [Mon May 19 16:08:48 2008] [notice] seg fault or similar nasty error
> detected in the parent process
>
> and this in the messages log:
>
> May 19 16:14:45 celebrian kernel: pid 36900 (httpd), uid 0: exited on
> signal 11 (core dumped)

I ran into a similar problem.  In my case, the problem was caused by PHP5 
using the putenv(3) function incorrectly.  Removing 
files/patch-ext_standard_basic_functions.c from the port and rebuilding fixed 
the issue for me.  I have reported this to the maintainer but have not raised 
a PR.

For more information, see

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=875448+0+archive/2008/freebsd-stable/20080518.freebsd-stable

Cheers.

-- Norbert.

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


Re: Updated php, and apache segfaults on SIGHUP

2008-05-20 Thread Claus Guttesen
>> Could you guys google for fixphpextorder.sh and see if that would help.
>> It did help me last year when I had this problem and I always rely on it
>> during upgrade, but I'm not saying I guarantee it will:-)
>
> still cores
>
> # /usr/local/etc/rc.d/apache22 start
> Performing sanity check on apache22 configuration:
> Segmentation fault (core dumped)
> Starting apache22.
> Segmentation fault (core dumped)

Apache (1.3) would core dump when pgsql (from php 5.2.5) was loaded as
a module. Commenting this module out from
/usr/local/etc/php/extensions.php solved the startup problem (but then
the web-app could not connect to our postgresql-server). Compiling
pgsql statically into php worked around my problem.

-- 
regards
Claus

When lenity and cruelty play for a kingdom,
the gentlest gamester is the soonest winner.

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


Re: Updated php, and apache segfaults on SIGHUP

2008-05-20 Thread Randy Bush
>> # /usr/local/etc/rc.d/apache22 start
>> Performing sanity check on apache22 configuration:
>> Segmentation fault (core dumped)
>> Starting apache22.
>> Segmentation fault (core dumped)
> 
> Apache (1.3) would core dump when pgsql (from php 5.2.5) was loaded as
> a module. Commenting this module out from
> /usr/local/etc/php/extensions.php solved the startup problem

commenting out all extensions did not solve it

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


Re: Updated php, and apache segfaults on SIGHUP

2008-05-20 Thread Randy Bush
> Could you guys google for fixphpextorder.sh and see if that would help.
> It did help me last year when I had this problem and I always rely on it
> during upgrade, but I'm not saying I guarantee it will:-)

still cores

# /usr/local/etc/rc.d/apache22 start
Performing sanity check on apache22 configuration:
Segmentation fault (core dumped)
Starting apache22.
Segmentation fault (core dumped)


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


Re: Updated php, and apache segfaults on SIGHUP

2008-05-20 Thread Odhiambo Washington
On Tue, May 20, 2008 at 8:11 AM, Randy Bush <[EMAIL PROTECTED]> wrote:

> > did you ever try comment out the three extensions I mentioned in my
> > previous email? That fixed it right up for me.
>
> i did not have those extensions at all.  or maybe i did not understand
> where they are.
>


Could you guys google for fixphpextorder.sh and see if that would help.
It did help me last year when I had this problem and I always rely on it
during upgrade, but I'm not saying I guarantee it will:-)


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

"Oh My God! They killed init! You Bastards!"
--from a /. post
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Updated php, and apache segfaults on SIGHUP

2008-05-19 Thread Randy Bush
> did you ever try comment out the three extensions I mentioned in my
> previous email? That fixed it right up for me.

i did not have those extensions at all.  or maybe i did not understand
where they are.

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


Re: Updated php, and apache segfaults on SIGHUP

2008-05-19 Thread Kevin Downey
On Mon, May 19, 2008 at 9:51 PM, Randy Bush <[EMAIL PROTECTED]> wrote:
> 386 very current
>
> i have been unable to get apache not to segv on one server for a while now.
>
> i tried the php rebuild
>
> i tried clearing obj, full system build, full ports force rebuild, ...
>
> i just tried
>
>> If you have a backup of php/extensions.ini from before you did your
>> updates, it would be worth trying reverting to that, to get the order
>> you had before that seemed OK.
>
> still coring
>
> but it is nice to know i have company :)
>
> randy
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
did you ever try comment out the three extensions I mentioned in my
previous email? That fixed it right up for me.


-- 
The Mafia way is that we pursue larger goals under the guise of
personal relationships.
 Fisheye
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Updated php, and apache segfaults on SIGHUP

2008-05-19 Thread Randy Bush
386 very current

i have been unable to get apache not to segv on one server for a while now.

i tried the php rebuild

i tried clearing obj, full system build, full ports force rebuild, ...

i just tried

> If you have a backup of php/extensions.ini from before you did your
> updates, it would be worth trying reverting to that, to get the order
> you had before that seemed OK.

still coring

but it is nice to know i have company :)

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


Re: Updated php, and apache segfaults on SIGHUP

2008-05-19 Thread Barry Pederson

Kevin Downey wrote:

On Mon, May 19, 2008 at 4:18 PM, Andrew Moran <[EMAIL PROTECTED]> wrote:

Hey guys,

I recently upgraded my php5 ports to latest ports tree versions (5.2.6), and
now I'm in a situation where any HUP signal sent to apache is causing the
entire process to dump core.  I get this in the apache error log:

[Mon May 19 16:08:48 2008] [notice] SIGHUP received.  Attempting to restart
[Mon May 19 16:08:48 2008] [notice] seg fault or similar nasty error
detected in the parent process

and this in the messages log:

May 19 16:14:45 celebrian kernel: pid 36900 (httpd), uid 0: exited on signal
11 (core dumped)


I narrowed it down to php - when I disable the php5 module, it doesn't
behave like this.



there was a thread on a while back on one of the other lists, maybe -questions.
the offending extension is one of these three:
#extension=mcrypt.so
#extension=mbstring.so
#extension=mhash.so
I have the three of them commented out, so I am not sure which one was
the poblem.


Andy:

It seems the order of the extensions in 
/usr/local/etc/php/extensions.ini matters.  For example, in the php5 
ports Makefile.ext, there's an "Ugly hack to load session before pspell 
to avoid crashes" It could be there are other ordering dependencies.


If you have a backup of php/extensions.ini from before you did your 
updates, it would be worth trying reverting to that, to get the order 
you had before that seemed OK.


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


Re: Adding Modules to Apache Port Post Install

2008-05-19 Thread Chuck Swiger

On May 18, 2008, at 8:44 PM, [EMAIL PROTECTED] wrote:

I notice that the guide complies Apache with WITH_BERKELEYDB=db42 and
WITH_MPM=worker, which I did not do.  Any way to add these without
recompiling and losing everything?


Yes and no.  You probably can't change which BDB Apache uses without  
recompiling, but you can avoid losing everything by taking proper  
backups before making the change


--
-Chuck

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


Re: Adding Modules to Apache Port Post Install

2008-05-19 Thread Derek Ragona

At 10:44 PM 5/18/2008, [EMAIL PROTECTED] wrote:

Hello,

I configured and installed an Apache server on my FreeBSD box about a week
or so back.  Now I'm looking into installing subversion using this guide:

http://www.onlamp.com/pub/a/bsd/2007/09/27/subversion-for-bsd-with-all-the-bells-and-whistles.html

I notice that the guide complies Apache with WITH_BERKELEYDB=db42 and
WITH_MPM=worker, which I did not do.  Any way to add these without
recompiling and losing everything?

Regards,

montag



do:
cd /usr/ports/www/apache22
make config

Then pick the modules you want and rebuild and reinstall.  If you didn't do:
make clean

It will use what you already have built.

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: Updated php, and apache segfaults on SIGHUP

2008-05-19 Thread Kevin Downey
On Mon, May 19, 2008 at 4:18 PM, Andrew Moran <[EMAIL PROTECTED]> wrote:
>
> Hey guys,
>
> I recently upgraded my php5 ports to latest ports tree versions (5.2.6), and
> now I'm in a situation where any HUP signal sent to apache is causing the
> entire process to dump core.  I get this in the apache error log:
>
> [Mon May 19 16:08:48 2008] [notice] SIGHUP received.  Attempting to restart
> [Mon May 19 16:08:48 2008] [notice] seg fault or similar nasty error
> detected in the parent process
>
> and this in the messages log:
>
> May 19 16:14:45 celebrian kernel: pid 36900 (httpd), uid 0: exited on signal
> 11 (core dumped)
>
>
> I narrowed it down to php - when I disable the php5 module, it doesn't
> behave like this.
>
> celebrian# pkg_info  | grep php
> php5-5.2.6  PHP Scripting Language
> php5-gd-5.2.6   The gd shared extension for php
> php5-gettext-5.2.6  The gettext shared extension for php
> php5-iconv-5.2.6The iconv shared extension for php
> php5-mbstring-5.2.6 The mbstring shared extension for php
> php5-mhash-5.2.6The mhash shared extension for php
> php5-mysql-5.2.6The mysql shared extension for php
> php5-openssl-5.2.6  The openssl shared extension for php
> php5-pcre-5.2.6 The pcre shared extension for php
> php5-session-5.2.6  The session shared extension for php
> php5-xml-5.2.6  The xml shared extension for php
> celebrian#
>
> This is on apache-2.0.63 and php 5.2.6 on FreeBSD 7.0.
>
> In case it was an out of date dependency, I did a cvsup on the ports tree,
> then a portupgrade -fa .it rebuilt all ports without any errors.
>
>
> Has anyone else seen this?
>
> --Andy
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

there was a thread on a while back on one of the other lists, maybe -questions.
the offending extension is one of these three:
#extension=mcrypt.so
#extension=mbstring.so
#extension=mhash.so
I have the three of them commented out, so I am not sure which one was
the poblem.

-- 
The Mafia way is that we pursue larger goals under the guise of
personal relationships.
 Fisheye
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Adding Modules to Apache Port Post Install

2008-05-19 Thread montag
Hello,

I configured and installed an Apache server on my FreeBSD box about a week
or so back.  Now I'm looking into installing subversion using this guide:

http://www.onlamp.com/pub/a/bsd/2007/09/27/subversion-for-bsd-with-all-the-bells-and-whistles.html

I notice that the guide complies Apache with WITH_BERKELEYDB=db42 and
WITH_MPM=worker, which I did not do.  Any way to add these without
recompiling and losing everything?

Regards,

montag





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


Updated php, and apache segfaults on SIGHUP

2008-05-19 Thread Andrew Moran


Hey guys,

I recently upgraded my php5 ports to latest ports tree versions  
(5.2.6), and now I'm in a situation where any HUP signal sent to  
apache is causing the entire process to dump core.  I get this in the  
apache error log:


[Mon May 19 16:08:48 2008] [notice] SIGHUP received.  Attempting to  
restart
[Mon May 19 16:08:48 2008] [notice] seg fault or similar nasty error  
detected in the parent process


and this in the messages log:

May 19 16:14:45 celebrian kernel: pid 36900 (httpd), uid 0: exited on  
signal 11 (core dumped)



I narrowed it down to php - when I disable the php5 module, it doesn't  
behave like this.


celebrian# pkg_info  | grep php
php5-5.2.6  PHP Scripting Language
php5-gd-5.2.6   The gd shared extension for php
php5-gettext-5.2.6  The gettext shared extension for php
php5-iconv-5.2.6The iconv shared extension for php
php5-mbstring-5.2.6 The mbstring shared extension for php
php5-mhash-5.2.6The mhash shared extension for php
php5-mysql-5.2.6The mysql shared extension for php
php5-openssl-5.2.6  The openssl shared extension for php
php5-pcre-5.2.6 The pcre shared extension for php
php5-session-5.2.6  The session shared extension for php
php5-xml-5.2.6  The xml shared extension for php
celebrian#

This is on apache-2.0.63 and php 5.2.6 on FreeBSD 7.0.

In case it was an out of date dependency, I did a cvsup on the ports  
tree, then a portupgrade -fa .it rebuilt all ports without any  
errors.



Has anyone else seen this?

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


Re: Problems with Apache-2.2.8 & PHP5 (+extensions) ports

2008-05-18 Thread Peter Boosten

Reko Turja wrote:



How would I do that? I installed Apache22 from ports and after that PHP.
It never asked for any apache version.


I can't remember if that was at point in time when there 
wasAPACHE_VER=xxx knob - it was a long while ago. The module loading 
order difficulties tend to crop up every upgrade of PHP, forgetfulness 
to turn some extensions off from my part...




Solved it by installing PHP from source.

Thanks for your answer.

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


Re: Problems with Apache-2.2.8 & PHP5 (+extensions) ports

2008-05-18 Thread Reko Turja


How would I do that? I installed Apache22 from ports and after that 
PHP.

It never asked for any apache version.


I can't remember if that was at point in time when there 
wasAPACHE_VER=xxx knob - it was a long while ago. The module loading 
order difficulties tend to crop up every upgrade of PHP, forgetfulness 
to turn some extensions off from my part...


-Reko 


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


Re: Problems with Apache-2.2.8 & PHP5 (+extensions) ports

2008-05-18 Thread Peter Boosten



Mel wrote:


[notice] child pid 31685 exit signal Illegal instruction (4)


That would mean faulty CFLAGS when building or faulty asm in c files, usually 
seen in multimedia apps (seriously doubt that applies here). 


I thought so at first. I had these in my /etc/make.conf, but rebuild 
every port without them:


CPUTYPE=   i686
CFLAGS=-O -pipe
COPTFLAGS= -O -pipe


I don't think 
there's anything binary in joomla, but you may want to inspect the code in 
those faulty links. It might just shell_exec() an old binary you have lying 
around.




Both FreeBSD, apache, php and joomla were fresh installs.

Thanks for your answer.

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


Re: Problems with Apache-2.2.8 & PHP5 (+extensions) ports

2008-05-18 Thread Peter Boosten



Reko Turja wrote:
Whenever I click these, my browser wants to save a blank php-page, 
Apache reports this:


[notice] child pid 31685 exit signal Illegal instruction (4)


I've got signal 4's with PHP earlier, but I can't for now remember the 
exact cause. Usually my PHP problems have related to having module 
conflict in PHP, especially recode has been problematic. The solution 
has been commenting out extensions from 
/usr/local/etc/php/extensions.ini and then adding them back one by one 
until the problem returns - the last one added is the one causing the 
conflict. Of course you have to keep at least some extensions available 
in order to keep the website you're testing functional - databases etc.


Reko,

That's actually a good pointer. I'll try tonight.



Other solution is trying to tweak the extension load order in 
extensions.ini after you have found the extension causing the crash.


Other possible thing is accidentally building PHP against the wrong 
Apache if I recall right - in your case building Apache2 or Apache1 
version when you are running Apache22.


How would I do that? I installed Apache22 from ports and after that PHP. 
It never asked for any apache version.


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


Re: Problems with Apache-2.2.8 & PHP5 (+extensions) ports

2008-05-18 Thread Reko Turja
Whenever I click these, my browser wants to save a blank php-page, 
Apache reports this:


[notice] child pid 31685 exit signal Illegal instruction (4)


I've got signal 4's with PHP earlier, but I can't for now remember the 
exact cause. Usually my PHP problems have related to having module 
conflict in PHP, especially recode has been problematic. The solution 
has been commenting out extensions from 
/usr/local/etc/php/extensions.ini and then adding them back one by one 
until the problem returns - the last one added is the one causing the 
conflict. Of course you have to keep at least some extensions 
available in order to keep the website you're testing functional - 
databases etc.


Other solution is trying to tweak the extension load order in 
extensions.ini after you have found the extension causing the crash.


Other possible thing is accidentally building PHP against the wrong 
Apache if I recall right - in your case building Apache2 or Apache1 
version when you are running Apache22.


-Reko 


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


Re: Problems with Apache-2.2.8 & PHP5 (+extensions) ports

2008-05-18 Thread Mel
On Saturday 17 May 2008 22:48:32 Peter Boosten wrote:
> Hi all,
>
> Here's the situation: FreeBSD 7.0-RELEASE-p1, apache-2.2.8 from ports
> and php5:
>
> php5-5.2.6  PHP Scripting Language
> php5-bz2-5.2.6  The bz2 shared extension for php
> php5-ctype-5.2.6The ctype shared extension for php
> php5-dom-5.2.6  The dom shared extension for php
> php5-extensions-1.1 A "meta-port" to install PHP extensions
> php5-gd-5.2.6   The gd shared extension for php
> php5-gettext-5.2.6  The gettext shared extension for php
> php5-iconv-5.2.6The iconv shared extension for php
> php5-imap-5.2.6_1   The imap shared extension for php
> php5-mbstring-5.2.6 The mbstring shared extension for php
> php5-mcrypt-5.2.6   The mcrypt shared extension for php
> php5-mhash-5.2.6The mhash shared extension for php
> php5-mysql-5.2.6The mysql shared extension for php
> php5-pcre-5.2.6 The pcre shared extension for php
> php5-pdo-5.2.6  The pdo shared extension for php
> php5-posix-5.2.6The posix shared extension for php
> php5-session-5.2.6  The session shared extension for php
> php5-simplexml-5.2.6 The simplexml shared extension for php
> php5-spl-5.2.6  The spl shared extension for php
> php5-tokenizer-5.2.6 The tokenizer shared extension for php
> php5-xml-5.2.6  The xml shared extension for php
> php5-xmlreader-5.2.6 The xmlreader shared extension for php
> php5-xmlwriter-5.2.6 The xmlwriter shared extension for php
> php5-zlib-5.2.6 The zlib shared extension for php
>
> I've downloaded Joomla 1.5 from their site and installed it in my
> webroot, configured it with sample data and it works.... except for (so
> far) two links:
>
> Whenever I click these, my browser wants to save a blank php-page,
> Apache reports this:
>
> [notice] child pid 31685 exit signal Illegal instruction (4)

That would mean faulty CFLAGS when building or faulty asm in c files, usually 
seen in multimedia apps (seriously doubt that applies here). I don't think 
there's anything binary in joomla, but you may want to inspect the code in 
those faulty links. It might just shell_exec() an old binary you have lying 
around.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problems with Apache-2.2.8 & PHP5 (+extensions) ports

2008-05-18 Thread Peter Boosten

Quoting Volker Jahns <[EMAIL PROTECTED]>:



Apache reports this:

[notice] child pid 31685 exit signal Illegal instruction (4)

and my /var/log/messages state:

kernel: pid 31685 (httpd), uid 80: exited on signal 4


Have a look into apache log file,
increase loglevel in httpd.conf
  LogLevel debug



Hi Volker,

Thanks for your answer. I tried that, but unfortunately it doesn't  
give me any more information (except deflating my traffic with gzip).  
Since this was in the errorlog I removed the DEFLATE option, just as a  
test, but that doesn't give the desired result either.


This is the log:

[debug] mod_deflate.c(619): [client 192.168.13.173] Zlib: Compressed  
215 to 171 : URL /favicon.ico


Peter

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


Re: Problems with Apache-2.2.8 & PHP5 (+extensions) ports

2008-05-17 Thread Volker Jahns
On Sat, May 17, 2008 at 10:48:32PM +0200, Peter Boosten wrote:
> Here's the situation: FreeBSD 7.0-RELEASE-p1, apache-2.2.8 from ports 
> and php5:
> 
> I've downloaded Joomla 1.5 from their site and installed it in my 
> webroot, configured it with sample data and it works except for (so 
> far) two links:
> 
> Whenever I click these, my browser wants to save a blank php-page, 
> Apache reports this:
> 
> [notice] child pid 31685 exit signal Illegal instruction (4)
> 
> and my /var/log/messages state:
> 
> kernel: pid 31685 (httpd), uid 80: exited on signal 4
> 
Have a look into apache log file, 
increase loglevel in httpd.conf 
  LogLevel debug
-- 
Volker Jahns, [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problems with Apache-2.2.8 & PHP5 (+extensions) ports

2008-05-17 Thread Peter Boosten

Hi all,

Here's the situation: FreeBSD 7.0-RELEASE-p1, apache-2.2.8 from ports 
and php5:


php5-5.2.6  PHP Scripting Language
php5-bz2-5.2.6  The bz2 shared extension for php
php5-ctype-5.2.6The ctype shared extension for php
php5-dom-5.2.6  The dom shared extension for php
php5-extensions-1.1 A "meta-port" to install PHP extensions
php5-gd-5.2.6   The gd shared extension for php
php5-gettext-5.2.6  The gettext shared extension for php
php5-iconv-5.2.6The iconv shared extension for php
php5-imap-5.2.6_1   The imap shared extension for php
php5-mbstring-5.2.6 The mbstring shared extension for php
php5-mcrypt-5.2.6   The mcrypt shared extension for php
php5-mhash-5.2.6The mhash shared extension for php
php5-mysql-5.2.6The mysql shared extension for php
php5-pcre-5.2.6 The pcre shared extension for php
php5-pdo-5.2.6  The pdo shared extension for php
php5-posix-5.2.6The posix shared extension for php
php5-session-5.2.6  The session shared extension for php
php5-simplexml-5.2.6 The simplexml shared extension for php
php5-spl-5.2.6  The spl shared extension for php
php5-tokenizer-5.2.6 The tokenizer shared extension for php
php5-xml-5.2.6  The xml shared extension for php
php5-xmlreader-5.2.6 The xmlreader shared extension for php
php5-xmlwriter-5.2.6 The xmlwriter shared extension for php
php5-zlib-5.2.6 The zlib shared extension for php

I've downloaded Joomla 1.5 from their site and installed it in my 
webroot, configured it with sample data and it works except for (so 
far) two links:


Whenever I click these, my browser wants to save a blank php-page, 
Apache reports this:


[notice] child pid 31685 exit signal Illegal instruction (4)

and my /var/log/messages state:

kernel: pid 31685 (httpd), uid 80: exited on signal 4

I've reinstalled all my ports with portupgrade -af (as suggested by a 
google search result), but still it keeps doing this. On my other 
machine (6.3, apache from ports, but php installed from source) Joomla 
runs flawlessly.


Anyone seen this (a solution would be nice :-) )?

Thanks in advance.

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


Re: Apache and Environment

2008-05-12 Thread Fred Condo

On May 10, 2008, at 11:49 PM, Nicolas Letellier wrote:


Hello.

I use apache13 and php5. When I do a phpinfo(), I can see in  
"Environment" sensibles datas when I launch apache in root. I see  
all my env variables (as MAIL, TERM, USER, PWD, LOGNAME, EDITOR,  
OSTYPE, LANG, etc, etc...). So, we see informations about user who  
launched apache.


When apache is launched as boot (with apache_enable="YES"), I don't  
see these informations. I only see:


HOME/
PATH/sbin:/bin:/usr/sbin:/usr/bin
RC_PID  39
PWD /

This is OK. There is no critical informations.

How could I launch apache and mask these informations? I must reboot  
to have this default datas, else I see environment data about the  
user who lauch it.


Thanks.
--
- Nicolas.


Instead of just

$ su

do this:

$ su - root

This will give you only root's environment. Then do your startup  
command for apache.


--
Fred





Re: Nagios Apache and FreeBSD

2008-05-12 Thread Odhiambo Washington
On Mon, May 12, 2008 at 2:03 PM, DSA - JCR <[EMAIL PROTECTED]> wrote:

> Hi to all
>
> I use FreeBSD 6.2
>
> I have installed Nagios from ports and configured and also as required by
> Nagios Apache22
>
> The problem I have is that I cannot access the server by web, in order to
> see the Nagios frontend doing
>
> http://mynagiosIP/nagios
>
> doesn't work
>
> I suspect that maybe as I use inetd I must put somewhere in inetd.conf
> something about apache, is true?
>
> I have
> nagios_enable=YES and apache_enable=YES
> in rc.conf


apache22_enable=YES

Please look at /usr/local/etc/rc.d/apache22 for params to put in
/etc/rc.conf

then try /usr/local/etc/rc.d/apache22 start


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

"Oh My God! They killed init! You Bastards!"
--from a /. post
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Nagios Apache and FreeBSD

2008-05-12 Thread Jon Radel
DSA - JCR wrote:
> Hi to all
> 
> I use FreeBSD 6.2
> 
> I have installed Nagios from ports and configured and also as required by
> Nagios Apache22
> 
> The problem I have is that I cannot access the server by web, in order to
> see the Nagios frontend doing
> 
> http://mynagiosIP/nagios
> 
> doesn't work

Please be more precise.  Does http://mynagiosIP/ work?  When you try
http://mynagiosIP/nagios does the browser time out, or do you get an
error response, if so which one?  Or do you get another web page that
has nothing to do with Nagios?

> 
> I suspect that maybe as I use inetd I must put somewhere in inetd.conf
> something about apache, is true?

No.

> 
> I have
> nagios_enable=YES and apache_enable=YES
> in rc.conf
> 
> also I test and start nagios and apache manually and I don't get any error
> message or misconfiguration.

Did you configure apache at all after you installed it?  If so, what did
you do?

--Jon Radel


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Nagios Apache and FreeBSD

2008-05-12 Thread Enrico Rossin

Do you have the access rights to see the nagios directory?

Enrico Rossin


On Mon, 12 May 2008 11:03:42 - (GMT), "DSA - JCR" <[EMAIL PROTECTED]>
wrote:
> Hi to all
> 
> I use FreeBSD 6.2
> 
> I have installed Nagios from ports and configured and also as required by
> Nagios Apache22
> 
> The problem I have is that I cannot access the server by web, in order to
> see the Nagios frontend doing
> 
> http://mynagiosIP/nagios
> 
> doesn't work
> 
> I suspect that maybe as I use inetd I must put somewhere in inetd.conf
> something about apache, is true?
> 
> I have
> nagios_enable=YES and apache_enable=YES
> in rc.conf
> 
> also I test and start nagios and apache manually and I don't get any
error
> message or misconfiguration.
> 
> Can anybody help me?
> 
> Thanks in advance
> 
> Juan Coruña
> Desarrollo de Software Atlantico
> 
> 
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
-- 
Enrico Rossin
Consulente Informatico

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


Re: Nagios Apache and FreeBSD

2008-05-12 Thread Wojciech Puchar

http://mynagiosIP/nagios

doesn't work

I suspect that maybe as I use inetd I must put somewhere in inetd.conf
something about apache, is true?

I have
nagios_enable=YES and apache_enable=YES
in rc.conf

also I test and start nagios and apache manually and I don't get any error
message or misconfiguration.



are you sure http://mynagiosIP/nagios points to right place?

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


Nagios Apache and FreeBSD

2008-05-12 Thread DSA - JCR
Hi to all

I use FreeBSD 6.2

I have installed Nagios from ports and configured and also as required by
Nagios Apache22

The problem I have is that I cannot access the server by web, in order to
see the Nagios frontend doing

http://mynagiosIP/nagios

doesn't work

I suspect that maybe as I use inetd I must put somewhere in inetd.conf
something about apache, is true?

I have
nagios_enable=YES and apache_enable=YES
in rc.conf

also I test and start nagios and apache manually and I don't get any error
message or misconfiguration.

Can anybody help me?

Thanks in advance

Juan Coruña
Desarrollo de Software Atlantico




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


Apache and Environment

2008-05-11 Thread Nicolas Letellier

Hello.

I use apache13 and php5. When I do a phpinfo(), I can see in 
"Environment" sensibles datas when I launch apache in root. I see all my 
env variables (as MAIL, TERM, USER, PWD, LOGNAME, EDITOR, OSTYPE, LANG, 
etc, etc...). So, we see informations about user who launched apache.


When apache is launched as boot (with apache_enable="YES"), I don't see 
these informations. I only see:


HOME/
PATH/sbin:/bin:/usr/sbin:/usr/bin
RC_PID  39
PWD /

This is OK. There is no critical informations.

How could I launch apache and mask these informations? I must reboot to 
have this default datas, else I see environment data about the user who 
lauch it.


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


Re: Makefile OPTIONS (was: Re: Apache 2.2.8 + mod_authnz_ldap)

2008-05-09 Thread n j
> If this is a fixed dependency, then it's a bug in the port's Makefile. If it's
>  not set in stone (i.e.: mod_authnz_ldap could also work with
>  mod_fictional_3rdparty_ldap), then applying the logic you suggest, would kill
>  the option to use mod_fictional_3rdparty_ldap.
>
>  Set in stone would mean, "if there is a port mod_fictional_3rdparty_ldap, or
>  enough people have complained that they cannot use
>  mod_fictional_3rdparty_ldap, even though there's not a port for it".

It seems that the main problem arises from usage of OPTIONS.

If I had specified WITH_LDAP_MODULES (a category), both modules (ldap
and authnz_ldap) would have been included. If I had specified
WITH_LDAP, according to 'make show-options', it would have implied the
option WITH_LDAP_MODULES. However, when modules are selected through
OPTIONS dialog, AUTHNZ_LDAP means just AUTHNZ_LDAP and LDAP means just
LDAP.

Theoretically, this is not an error in port's Makefile, rather
something that gives even more flexibility to the user. However, the
same can't be said for user-friendliness. And to comment on your
message, I see no other LDAP-related options in Apache which would
make this a fixed dependency.

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


Re: Makefile OPTIONS (was: Re: Apache 2.2.8 + mod_authnz_ldap)

2008-05-09 Thread Mel
On Friday 09 May 2008 15:15:05 n j wrote:
> > What are you using for apr? The one that comes with apache itself, or the
> >  devel/apr port?
>
> AFAICT, the one that comes with Apache itself.
>
> It would seem that mod_authnz_ldap required mod_ldap to be compiled in
> Apache to work. Having little or no experience at all with Apache +
> LDAP combination so far, this was not really straightforward to me.

If this is a fixed dependency, then it's a bug in the port's Makefile. If it's 
not set in stone (i.e.: mod_authnz_ldap could also work with 
mod_fictional_3rdparty_ldap), then applying the logic you suggest, would kill 
the option to use mod_fictional_3rdparty_ldap.

Set in stone would mean, "if there is a port mod_fictional_3rdparty_ldap, or 
enough people have complained that they cannot use 
mod_fictional_3rdparty_ldap, even though there's not a port for it".

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Makefile OPTIONS (was: Re: Apache 2.2.8 + mod_authnz_ldap)

2008-05-09 Thread n j
> What are you using for apr? The one that comes with apache itself, or the
>  devel/apr port?

AFAICT, the one that comes with Apache itself.

It would seem that mod_authnz_ldap required mod_ldap to be compiled in
Apache to work. Having little or no experience at all with Apache +
LDAP combination so far, this was not really straightforward to me.

However, that combined with the (relatively) recent introduction of
OPTIONS to apache22 port leads me to ask the question if the Makefile
OPTIONS framework allows for dependencies (i.e. I mark one, the
framework automatically ticks other options my selection depends on).
Or, in this case, selecting mod_authnz_ldap automatically selects
mod_ldap. From the (scarce) documentation in the Porters Handbook, it
would seem that this is not currently possible, yet it doesn't seem
impossible to invoke another dialog and warn the user about inclusion
of additional options. Can anyone provide some insight into this?

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


Re: Apache 2.2.8 + mod_authnz_ldap

2008-05-09 Thread Mel
On Friday 09 May 2008 02:03:01 n j wrote:
> Hello,
>
> did anyone experience any problems trying to install mod_authnz_ldap
> with Apache 2.2.8 on FreeBSD 6.3?
>
> I ran into the following trouble:
>
> mod_authnz_ldap.c:41:2: #error mod_authnz_ldap requires APR-util to
> have LDAP support built in. To fix add --with-ldap to ./configure
> which caused "Stop in
> /usr/ports/www/apache22/work/httpd-2.2.8/modules/aaa. *** Error code
> 1".

What are you using for apr? The one that comes with apache itself, or the 
devel/apr port?
I found in practice that even though the "APR from ports" option contains a 
warning, it works better if you have more software depending on apr (i.e., 
subversion) and it's also better manageable with the plugins (in my case 
db4*). F.e., I don't have to rebuild apache, if I want to migrate to the 
latest and greatest db4 minor release.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Apache 2.2.8 + mod_authnz_ldap

2008-05-08 Thread n j
Hello,

did anyone experience any problems trying to install mod_authnz_ldap
with Apache 2.2.8 on FreeBSD 6.3?

I ran into the following trouble:

mod_authnz_ldap.c:41:2: #error mod_authnz_ldap requires APR-util to
have LDAP support built in. To fix add --with-ldap to ./configure
which caused "Stop in
/usr/ports/www/apache22/work/httpd-2.2.8/modules/aaa. *** Error code
1".

This helped:

http://brent.kearneys.ca/sysadmin/2006/building-ldap-authentication-into-apache2/

It turns out that by configuring manually, -lldap indeed gets added to
APRUTIL_LIBS, while the same configuration adds -liconv in that spot
when run "the ports way" (make; make install).

This caused some more problems when returning to normal build as
libtool starts to complain about being unable to infer tagged
configuration. Resolving that, build finishes ok, but fails again
during install, this time trying to relink libaprutil.la, again due to
failing to infer tag. Adding "tagname=CC" just before it's about to
fail in libtool script helped.

Hope this helps someone. It might be an Apache error as there are some
FreeBSD-specific hacks in the original libtool code; on the other
hand, it might be that the problem is the port.

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


Re: Using flags with portinstall of apache?

2008-04-16 Thread Mel
On Wednesday 16 April 2008 17:19:04 Derek Ragona wrote:

> If you want SSL, you need to install that port first.

Err, why?
It's apache22, not the old days of 
apache13-ssl/apache13-modssl/apache13-foossl.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using flags with portinstall of apache?

2008-04-16 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Dr. Jennifer Nussbaum wrote:
| In any case, after repeatedly trying and re-trying,
| one of my attempts just worked :-)

Sure your machine is fooling you :)

| Jen

- --
Pietro Cerutti
[EMAIL PROTECTED]

PGP Public Key:
http://gahr.ch/pgp

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

iEYEAREKAAYFAkgGMwAACgkQwMJqmJVx946ZVgCgwBDbYKSqiUin1PN69R1gkIA8
idgAoL2NApwusRGjfc2DTbguSRXW/l3G
=k6KQ
-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: Using flags with portinstall of apache?

2008-04-16 Thread Dr. Jennifer Nussbaum

--- Barry Byrne <[EMAIL PROTECTED]> wrote:

> > > > > >
> > > > > >Then i tried to add the flags i wanted:
> > > > > ># portinstall -m "WITH_PROXY_MODULES=yes
> > > > > >WITH_SSL_MODULES=yes" apache
> > > WITHOUT_APACHE_OPTIONS=yes
> > 
> > I tried this too, and it doesnt help...
> > 
> > Whether in /etc/make.conf or passed with -m as an
> > option to portinstall, it just doesnt want to
> build
> > the proxy modules. I dont know why
> > 
> > In my make output, I get:
> > 
> > ...
> > checking whether to enable mod_setenvif... shared
> > checking whether to enable mod_version... shared
> > checking whether to enable mod_proxy... no
> > checking whether to enable mod_proxy_connect... no
> > checking whether to enable mod_proxy_ftp... no
> > checking whether to enable mod_proxy_http... no
> > checking whether to enable mod_proxy_ajp... no
> > checking whether to enable mod_proxy_balancer...
> no
> > ..
> > 
> > No matter what i do :-(
> > 
> > Jen
> 
> Are you sure you're working on apache22 rather than
> v13 or v20?
> 
> I never use portinstall, just run make directly in
> the port directory.
> 
> Maybe something like:
> 
>  cd /usr/ports/www/apache22
>  make clean
>  make WITH_PROXY_MODULES=yes WITH_SSL_MODULES=yes
> WITHOUT_APACHE_OPTIONS=yes
> install clean
> 
> Alternatively, 
> 
>  cd /usr/ports/www/apache22
>  make clean
>  make config
>  make install clean
> 
> Should allow you to select the appropriate options.

I am sure it was apache22, and i tried both using the
flags with portinstall, and doing it directly with
make
in the directory.

In any case, after repeatedly trying and re-trying,
one of my attempts just worked :-)

I dont know why and i dont think i did anything
different than the last dozen times, but it is working
now. Thanks everyone for the help!

Jen


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using flags with portinstall of apache?

2008-04-16 Thread Leslie Jensen



Dr. Jennifer Nussbaum skrev:

--- Barry Byrne <[EMAIL PROTECTED]> wrote:

 


-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On
Behalf Of Dr. 

Jennifer Nussbaum
--- Derek Ragona <[EMAIL PROTECTED]>
wrote:


At 10:09 AM 4/16/2008, Dr. Jennifer Nussbaum

wrote:

Hi,

Im having trouble doing a simple Apache22

install.

I first installed it just using "portinstall

apache".

Then i saw that i needed to specify "flags"

during

hte

process, to get the modules i wan't, but i cant

figure

out how to do it.

I first did a pkg_delete of apache to start

over

from

scratch.

Then i tried to add the flags i wanted:
# portinstall -m "WITH_PROXY_MODULES=yes
WITH_SSL_MODULES=yes" apache

But this didnt work--it didnt build the proxy

modules.

I tried again putting those flags in

/etc/make.conf

but its STILL not building the proxy modules.

How am I supposted to do this?!?

If you want SSL, you need to install that port
first.  Also be sure you 
close your double quotes.

Well thats just the thing- i somehow got SSL

installed

the first time, and it installs now, but its the
proxy modules that arent installing now.

Jen

You might want to try adding the following to your
options:

WITHOUT_APACHE_OPTIONS=yes


I tried this too, and it doesnt help...

Whether in /etc/make.conf or passed with -m as an
option to portinstall, it just doesnt want to build
the proxy modules. I dont know why

In my make output, I get:

...
checking whether to enable mod_setenvif... shared
checking whether to enable mod_version... shared
checking whether to enable mod_proxy... no
checking whether to enable mod_proxy_connect... no
checking whether to enable mod_proxy_ftp... no
checking whether to enable mod_proxy_http... no
checking whether to enable mod_proxy_ajp... no
checking whether to enable mod_proxy_balancer... no
..

No matter what i do :-(

Jen



Can't you just do make config in /ust/ports/www/apachexx ?


/Leslie

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


RE: Using flags with portinstall of apache?

2008-04-16 Thread Barry Byrne
> > > > >
> > > > >Then i tried to add the flags i wanted:
> > > > ># portinstall -m "WITH_PROXY_MODULES=yes
> > > > >WITH_SSL_MODULES=yes" apache
> > WITHOUT_APACHE_OPTIONS=yes
> 
> I tried this too, and it doesnt help...
> 
> Whether in /etc/make.conf or passed with -m as an
> option to portinstall, it just doesnt want to build
> the proxy modules. I dont know why
> 
> In my make output, I get:
> 
> ...
> checking whether to enable mod_setenvif... shared
> checking whether to enable mod_version... shared
> checking whether to enable mod_proxy... no
> checking whether to enable mod_proxy_connect... no
> checking whether to enable mod_proxy_ftp... no
> checking whether to enable mod_proxy_http... no
> checking whether to enable mod_proxy_ajp... no
> checking whether to enable mod_proxy_balancer... no
> ..
> 
> No matter what i do :-(
> 
> Jen

Are you sure you're working on apache22 rather than v13 or v20?

I never use portinstall, just run make directly in the port directory.

Maybe something like:

 cd /usr/ports/www/apache22
 make clean
 make WITH_PROXY_MODULES=yes WITH_SSL_MODULES=yes WITHOUT_APACHE_OPTIONS=yes
install clean

Alternatively, 

 cd /usr/ports/www/apache22
 make clean
 make config
 make install clean

Should allow you to select the appropriate options.

 - barry

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


RE: Using flags with portinstall of apache?

2008-04-16 Thread Derek Ragona

At 11:16 AM 4/16/2008, Dr. Jennifer Nussbaum wrote:


--- Barry Byrne <[EMAIL PROTECTED]> wrote:

>
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On
> Behalf Of Dr.
> > Jennifer Nussbaum
>
> > --- Derek Ragona <[EMAIL PROTECTED]>
> > wrote:
> >
> > > At 10:09 AM 4/16/2008, Dr. Jennifer Nussbaum
> wrote:
> > > >Hi,
> > > >
> > > >Im having trouble doing a simple Apache22
> install.
> > > >
> > > >I first installed it just using "portinstall
> > > apache".
> > > >Then i saw that i needed to specify "flags"
> during
> > > hte
> > > >process, to get the modules i wan't, but i cant
> > > figure
> > > >out how to do it.
> > > >
> > > >I first did a pkg_delete of apache to start
> over
> > > from
> > > >scratch.
> > > >
> > > >Then i tried to add the flags i wanted:
> > > ># portinstall -m "WITH_PROXY_MODULES=yes
> > > >WITH_SSL_MODULES=yes" apache
> > > >
> > > >But this didnt work--it didnt build the proxy
> > > modules.
> > > >
> > > >I tried again putting those flags in
> /etc/make.conf
> > > >but its STILL not building the proxy modules.
> > > >
> > > >How am I supposted to do this?!?
> > >
> > > If you want SSL, you need to install that port
> > > first.  Also be sure you
> > > close your double quotes.
> >
> > Well thats just the thing- i somehow got SSL
> installed
> > the first time, and it installs now, but its the
> > proxy modules that arent installing now.
> >
> > Jen
>
> You might want to try adding the following to your
> options:
>
> WITHOUT_APACHE_OPTIONS=yes

I tried this too, and it doesnt help...

Whether in /etc/make.conf or passed with -m as an
option to portinstall, it just doesnt want to build
the proxy modules. I dont know why

In my make output, I get:

...
checking whether to enable mod_setenvif... shared
checking whether to enable mod_version... shared
checking whether to enable mod_proxy... no
checking whether to enable mod_proxy_connect... no
checking whether to enable mod_proxy_ftp... no
checking whether to enable mod_proxy_http... no
checking whether to enable mod_proxy_ajp... no
checking whether to enable mod_proxy_balancer... no
..

No matter what i do :-(

Jen


Did you try:
cd /usr/ports/www/apache22
make config

and choose the options you want?

Then do:
make install

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


RE: Using flags with portinstall of apache?

2008-04-16 Thread Dr. Jennifer Nussbaum

--- Barry Byrne <[EMAIL PROTECTED]> wrote:

>  
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On
> Behalf Of Dr. 
> > Jennifer Nussbaum
> 
> > --- Derek Ragona <[EMAIL PROTECTED]>
> > wrote:
> > 
> > > At 10:09 AM 4/16/2008, Dr. Jennifer Nussbaum
> wrote:
> > > >Hi,
> > > >
> > > >Im having trouble doing a simple Apache22
> install.
> > > >
> > > >I first installed it just using "portinstall
> > > apache".
> > > >Then i saw that i needed to specify "flags"
> during
> > > hte
> > > >process, to get the modules i wan't, but i cant
> > > figure
> > > >out how to do it.
> > > >
> > > >I first did a pkg_delete of apache to start
> over
> > > from
> > > >scratch.
> > > >
> > > >Then i tried to add the flags i wanted:
> > > ># portinstall -m "WITH_PROXY_MODULES=yes
> > > >WITH_SSL_MODULES=yes" apache
> > > >
> > > >But this didnt work--it didnt build the proxy
> > > modules.
> > > >
> > > >I tried again putting those flags in
> /etc/make.conf
> > > >but its STILL not building the proxy modules.
> > > >
> > > >How am I supposted to do this?!?
> > > 
> > > If you want SSL, you need to install that port
> > > first.  Also be sure you 
> > > close your double quotes.
> > 
> > Well thats just the thing- i somehow got SSL
> installed
> > the first time, and it installs now, but its the
> > proxy modules that arent installing now.
> > 
> > Jen
> 
> You might want to try adding the following to your
> options:
> 
> WITHOUT_APACHE_OPTIONS=yes

I tried this too, and it doesnt help...

Whether in /etc/make.conf or passed with -m as an
option to portinstall, it just doesnt want to build
the proxy modules. I dont know why

In my make output, I get:

...
checking whether to enable mod_setenvif... shared
checking whether to enable mod_version... shared
checking whether to enable mod_proxy... no
checking whether to enable mod_proxy_connect... no
checking whether to enable mod_proxy_ftp... no
checking whether to enable mod_proxy_http... no
checking whether to enable mod_proxy_ajp... no
checking whether to enable mod_proxy_balancer... no
..

No matter what i do :-(

Jen


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Using flags with portinstall of apache?

2008-04-16 Thread Barry Byrne
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Dr. 
> Jennifer Nussbaum

> --- Derek Ragona <[EMAIL PROTECTED]>
> wrote:
> 
> > At 10:09 AM 4/16/2008, Dr. Jennifer Nussbaum wrote:
> > >Hi,
> > >
> > >Im having trouble doing a simple Apache22 install.
> > >
> > >I first installed it just using "portinstall
> > apache".
> > >Then i saw that i needed to specify "flags" during
> > hte
> > >process, to get the modules i wan't, but i cant
> > figure
> > >out how to do it.
> > >
> > >I first did a pkg_delete of apache to start over
> > from
> > >scratch.
> > >
> > >Then i tried to add the flags i wanted:
> > ># portinstall -m "WITH_PROXY_MODULES=yes
> > >WITH_SSL_MODULES=yes" apache
> > >
> > >But this didnt work--it didnt build the proxy
> > modules.
> > >
> > >I tried again putting those flags in /etc/make.conf
> > >but its STILL not building the proxy modules.
> > >
> > >How am I supposted to do this?!?
> > 
> > If you want SSL, you need to install that port
> > first.  Also be sure you 
> > close your double quotes.
> 
> Well thats just the thing- i somehow got SSL installed
> the first time, and it installs now, but its the
> proxy modules that arent installing now.
> 
> Jen

You might want to try adding the following to your options:

WITHOUT_APACHE_OPTIONS=yes

 - barry

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


Re: Using flags with portinstall of apache?

2008-04-16 Thread Dr. Jennifer Nussbaum

--- Pietro Cerutti <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> Dr. Jennifer Nussbaum wrote:
> 
> | Well thats just the thing- i somehow got SSL
> installed
> | the first time, and it installs now, but its the
> | proxy modules that arent installing now.
> 
> it's WITH_PROXY, not WITH_PROXY_MODULE. Check
> Makfile.options.

But i want ALL the proxy modules. I checked
Makefile.doc, which had this:

## - To enable a category: WITH__MODULES=yes
##[WITH_PROXY_MODULES=yes]

And thats what i had in my original post.

Jen



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using flags with portinstall of apache?

2008-04-16 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Dr. Jennifer Nussbaum wrote:

| Well thats just the thing- i somehow got SSL installed
| the first time, and it installs now, but its the
| proxy modules that arent installing now.

it's WITH_PROXY, not WITH_PROXY_MODULE. Check Makfile.options.

|
| Jen

- --
Pietro Cerutti
[EMAIL PROTECTED]

PGP Public Key:
http://gahr.ch/pgp

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

iEYEAREKAAYFAkgGH8gACgkQwMJqmJVx947vMQCeOIXd9OXm7AUZe0Bo/Cgl9rxy
2PEAn1p2kK2D/9wXyaFPC22d8hZomPxm
=Ho/Q
-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: Using flags with portinstall of apache?

2008-04-16 Thread Dr. Jennifer Nussbaum

--- Derek Ragona <[EMAIL PROTECTED]>
wrote:

> At 10:09 AM 4/16/2008, Dr. Jennifer Nussbaum wrote:
> >Hi,
> >
> >Im having trouble doing a simple Apache22 install.
> >
> >I first installed it just using "portinstall
> apache".
> >Then i saw that i needed to specify "flags" during
> hte
> >process, to get the modules i wan't, but i cant
> figure
> >out how to do it.
> >
> >I first did a pkg_delete of apache to start over
> from
> >scratch.
> >
> >Then i tried to add the flags i wanted:
> ># portinstall -m "WITH_PROXY_MODULES=yes
> >WITH_SSL_MODULES=yes" apache
> >
> >But this didnt work--it didnt build the proxy
> modules.
> >
> >I tried again putting those flags in /etc/make.conf
> >but its STILL not building the proxy modules.
> >
> >How am I supposted to do this?!?
> 
> If you want SSL, you need to install that port
> first.  Also be sure you 
> close your double quotes.

Well thats just the thing- i somehow got SSL installed
the first time, and it installs now, but its the
proxy modules that arent installing now.

Jen


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using flags with portinstall of apache?

2008-04-16 Thread Derek Ragona

At 10:09 AM 4/16/2008, Dr. Jennifer Nussbaum wrote:

Hi,

Im having trouble doing a simple Apache22 install.

I first installed it just using "portinstall apache".
Then i saw that i needed to specify "flags" during hte
process, to get the modules i wan't, but i cant figure
out how to do it.

I first did a pkg_delete of apache to start over from
scratch.

Then i tried to add the flags i wanted:
# portinstall -m "WITH_PROXY_MODULES=yes
WITH_SSL_MODULES=yes" apache

But this didnt work--it didnt build the proxy modules.

I tried again putting those flags in /etc/make.conf
but its STILL not building the proxy modules.

How am I supposted to do this?!?


If you want SSL, you need to install that port first.  Also be sure you 
close your double quotes.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Using flags with portinstall of apache?

2008-04-16 Thread Dr. Jennifer Nussbaum
Hi,

Im having trouble doing a simple Apache22 install.

I first installed it just using "portinstall apache".
Then i saw that i needed to specify "flags" during hte
process, to get the modules i wan't, but i cant figure
out how to do it.

I first did a pkg_delete of apache to start over from
scratch.

Then i tried to add the flags i wanted:
# portinstall -m "WITH_PROXY_MODULES=yes
WITH_SSL_MODULES=yes" apache

But this didnt work--it didnt build the proxy modules.

I tried again putting those flags in /etc/make.conf
but its STILL not building the proxy modules.

How am I supposted to do this?!?

Thanks.

Jen


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache - warnings in httpd-error.log about duplicate definitions

2008-04-11 Thread Mike Clarke
On Friday 11 April 2008, Mel wrote:

> On Friday 11 April 2008 12:52:56 Mike Clarke wrote:
> > Every time I start up Apache (1.3.41) on my 6.3 system I get lots
> > of warnings in httpd-error.log about duplicate definitions of
> > constants and functions.

[snip]

> So...
> How did you get php4 and php5 to install simultaniously?

Oops, I really should have spotted that. The php5 packages crept in some 
time ago when I tried upgrading Apache to 2.x. The Apache upgrade ran 
into problems so I backed it out but somehow missed a few php5 
packages, they must have just sat there having no effect until Apache 
got rebuilt in the later portupgrade.

I've now deinstalled the php5 packages and that's fixed it. Thanks for 
pointing it out to me

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


Re: Apache - warnings in httpd-error.log about duplicate definitions

2008-04-11 Thread Mel
On Friday 11 April 2008 12:52:56 Mike Clarke wrote:
> Every time I start up Apache (1.3.41) on my 6.3 system I get lots of
> warnings in httpd-error.log about duplicate definitions of constants
> and functions. The timestamps suggest that this only started happening
> after I ran portupgrade on 23rd March. I can run portupgrade again
> tonight to see if that fixes it but I don't expect it'll have much
> effect since all the apache and php ports are up to date.:
>
> kestrel:/root# portversion -v | egrep 'php|apache'
> apache-1.3.41   =  up-to-date with port
> php4-4.4.8  =  up-to-date with port
> php4-bz2-4.4.8  =  up-to-date with port
> php4-ctype-4.4.8=  up-to-date with port
> php4-curl-4.4.8 =  up-to-date with port
> php4-gd-4.4.8   =  up-to-date with port
> php4-mbstring-4.4.8 =  up-to-date with port
> php4-mcrypt-4.4.8   =  up-to-date with port
> php4-mysql-4.4.8=  up-to-date with port
> php4-openssl-4.4.8  =  up-to-date with port
> php4-overload-4.4.8 =  up-to-date with port
> php4-pcre-4.4.8 =  up-to-date with port
> php4-posix-4.4.8=  up-to-date with port
> php4-session-4.4.8  =  up-to-date with port
> php4-tokenizer-4.4.8=  up-to-date with port
> php4-xml-4.4.8  =  up-to-date with port
> php4-zlib-4.4.8 =  up-to-date with port
> php5-5.2.5_1=  up-to-date with port
> php5-gd-5.2.5_1 =  up-to-date with port
> php5-pcre-5.2.5_1   =  up-to-date with port
> php5-xml-5.2.5_1=  up-to-date with port
> phpMyAdmin-2.11.5   =  up-to-date with port
> php_doc-en-20080318 =  up-to-date with port

So...
How did you get php4 and php5 to install simultaniously?

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Apache - warnings in httpd-error.log about duplicate definitions

2008-04-11 Thread Mike Clarke
Every time I start up Apache (1.3.41) on my 6.3 system I get lots of 
warnings in httpd-error.log about duplicate definitions of constants 
and functions. The timestamps suggest that this only started happening 
after I ran portupgrade on 23rd March. I can run portupgrade again 
tonight to see if that fixes it but I don't expect it'll have much 
effect since all the apache and php ports are up to date.:

kestrel:/root# portversion -v | egrep 'php|apache'
apache-1.3.41   =  up-to-date with port
php4-4.4.8  =  up-to-date with port
php4-bz2-4.4.8  =  up-to-date with port
php4-ctype-4.4.8=  up-to-date with port
php4-curl-4.4.8 =  up-to-date with port
php4-gd-4.4.8   =  up-to-date with port
php4-mbstring-4.4.8 =  up-to-date with port
php4-mcrypt-4.4.8   =  up-to-date with port
php4-mysql-4.4.8=  up-to-date with port
php4-openssl-4.4.8  =  up-to-date with port
php4-overload-4.4.8 =  up-to-date with port
php4-pcre-4.4.8 =  up-to-date with port
php4-posix-4.4.8=  up-to-date with port
php4-session-4.4.8  =  up-to-date with port
php4-tokenizer-4.4.8=  up-to-date with port
php4-xml-4.4.8  =  up-to-date with port
php4-zlib-4.4.8 =  up-to-date with port
php5-5.2.5_1=  up-to-date with port
php5-gd-5.2.5_1 =  up-to-date with port
php5-pcre-5.2.5_1   =  up-to-date with port
php5-xml-5.2.5_1=  up-to-date with port
phpMyAdmin-2.11.5   =  up-to-date with port
php_doc-en-20080318 =  up-to-date with port

Apart from the warnings Apache seems to be behaving correctly, I only 
noticed the warnings because I needed to check the error log after I 
made some additions to httpd.conf this morning. I'd appreciate any 
advice on what might be the cause of this, and if I should worry about 
it or not. 

Here's an extract from httpd-error.log with some repetitive lines edited 
out to keep the size down:

[Fri Apr 11 11:22:42 2008] [notice] SIGHUP received.  Attempting to 
restart
PHP Notice:  Constant XML_ERROR_NONE already defined in Unknown on line 
0
PHP Notice:  Constant XML_ERROR_NO_MEMORY already defined in Unknown on 
line 0
PHP Notice:  Constant XML_ERROR_SYNTAX already defined in Unknown on 
line 0
PHP Notice:  Constant XML_ERROR_NO_ELEMENTS already defined in Unknown 
on line 0
PHP Notice:  Constant XML_ERROR_INVALID_TOKEN already defined in Unknown 
on line 0
PHP Notice:  Constant XML_ERROR_UNCLOSED_TOKEN already defined in 
Unknown on line 0
PHP Notice:  Constant XML_ERROR_PARTIAL_CHAR already defined in Unknown 
on line 0
PHP Notice:  Constant XML_ERROR_TAG_MISMATCH already defined in Unknown 
on line 0
PHP Notice:  Constant XML_ERROR_DUPLICATE_ATTRIBUTE already defined in 
Unknown on line 0
PHP Notice:  Constant XML_ERROR_JUNK_AFTER_DOC_ELEMENT already defined 
in Unknown on line 0
PHP Notice:  Constant XML_ERROR_PARAM_ENTITY_REF already defined in 
Unknown on line 0
PHP Notice:  Constant XML_ERROR_UNDEFINED_ENTITY already defined in 
Unknown on line 0
PHP Notice:  Constant XML_ERROR_RECURSIVE_ENTITY_REF already defined in 
Unknown on line 0
PHP Notice:  Constant XML_ERROR_ASYNC_ENTITY already defined in Unknown 
on line 0
PHP Notice:  Constant XML_ERROR_BAD_CHAR_REF already defined in Unknown 
on line 0
PHP Notice:  Constant XML_ERROR_BINARY_ENTITY_REF already defined in 
Unknown on line 0
PHP Notice:  Constant XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF already 
defined in Unknown on line 0
PHP Notice:  Constant XML_ERROR_MISPLACED_XML_PI already defined in 
Unknown on line 0
PHP Notice:  Constant XML_ERROR_UNKNOWN_ENCODING already defined in 
Unknown on line 0
PHP Notice:  Constant XML_ERROR_INCORRECT_ENCODING already defined in 
Unknown on line 0
PHP Notice:  Constant XML_ERROR_UNCLOSED_CDATA_SECTION already defined 
in Unknown on line 0
PHP Notice:  Constant XML_ERROR_EXTERNAL_ENTITY_HANDLING already defined 
in Unknown on line 0
PHP Notice:  Constant XML_OPTION_CASE_FOLDING already defined in Unknown 
on line 0
PHP Notice:  Constant XML_OPTION_TARGET_ENCODING already defined in 
Unknown on line 0
PHP Notice:  Constant XML_OPTION_SKIP_TAGSTART already defined in 
Unknown on line 0
PHP Notice:  Constant XML_OPTION_SKIP_WHITE already defined in Unknown 
on line 0
PHP Warning:  Function registration failed - duplicate name - 
xml_parser_create in Unknown on line 0
PHP Warning:  Function registration failed - duplicate name - 
xml_parser_create_ns in Unknown on line 0
PHP Warning:  Function registration failed - duplicate name - 
xml_set_object in Unknown on line 0
PHP Warning:  Function registration failed - duplicate name - 
xml_set_element_handler in Unknown on line 0
PHP Warning:  Function registration failed - duplicate name - 
xml_set_character_data_handler in Unknown on line 0
PHP Warning:  Function regist

Apache 2.2.8 and mod_ssl

2008-04-10 Thread Mark A Christofferson
Hello,

 

I am currently running the Apache 2.2.8 port on the FreeBSD 6.3 platform
with mod_ssl enabled.  I received the following vulnerability scan
results from my organization:

 

Vulnerability:  mod_ssl Off-By-One HTAccess Buffer Overflow
Vulnerability

Risk Level:

Signature Group: Safe

Description: The remote host is using a version of mod_ssl which is
older than 2.8.10. This version is vulnerable

to an off by one buffer overflow, which may allow a user with write
access to .htaccess files to

execute arbitrary code on the system with permissions of the web server.

Resolution: Fixes have been made available by the affected vendor. We
recommend upgrading mod_ssl to a

more recent version that contains fixes addressing this issue.

BugTraq: 5084

CVE: CVE-2002-0653

CVSS: 4.9

 

I referenced CVE-2002-0653, noting that it is from 2002, and noticed
that there is no mention of this vulnerability affecting any version of
apache paired with mod_ssl in the 2.x branches.  I also can't find a
version 2.8.10 or greater for Apache 2.2.8.  I did find a site that
mentioned certain distributions patched the apache software so that this
vulnerability is no longer a concern.  

 

Could anyone give me some insight on this issue?  Is there a document I
overlooked that outlines remedial procedures, an updated ssl module, or
has the software been patched to negate the vulnerability?

 

I greatly appreciate any assistance on this matter,

 

Mark

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


Process in lockf with apache/php

2008-03-21 Thread Nicolas Letellier

Hi.

I use Apache 1.3 and PHP5 in module.
I have a timeout of 30 seconds for my PHP scripts.
When a process is out of this timeout, I have this message in my error.log:

 Maximum execution time of 30 seconds exceeded in 
/var/www/data/test.php on line 10


Ok, this is normal.

In a "top", I see the process is in lockf state. The process is not killed.
But when I do a "ps aux", I don't see the lockf state.

How show lockf states in "ps" command? I don't find it in ps manpage.

What's a lockf state precisely? Why Apache/PHP does not kill this 
process? I must kill them manually?

Is a bug number of lockf processes is important?

Thanks.

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


Re: Apache -- Analyzing core dump?

2008-03-18 Thread Chris Maness

Chris Maness wrote:

Chris Maness wrote:
I used to analyze core dumps with tnos to debug.  It has been a 
coon's age since I've done such.  I am having apache crash and core 
dump.  There isn't any error info in the log files.


Where is the core dumped to (the main log tells me the core has been 
dumped)?


How do I analyze this dump file to find out what went wrong?

Do I have to compile apache with debug features turned on to do this?

I am referring to my previous thread:

apache+mod_ssl-1.3.41+2.8.31 crashing with mod_php5


I was able to find my old e-mails on debugging tnos.  I used gdb.

Per the gdb man page I was able to figure out how to check the core 
file.  Here is the output:



GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and 
you are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for 
details.
This GDB was configured as "i386-marcel-freebsd"...(no debugging 
symbols found)...

Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.4...(no debugging symbols 
found)...done.

Loaded symbols for /lib/libcrypt.so.4
Reading symbols from /usr/local/lib/libmm.so.14...(no debugging 
symbols found)...done.

Loaded symbols for /usr/local/lib/libmm.so.14
Reading symbols from /usr/local/lib/libexpat.so.6...(no debugging 
symbols found)...done.

Loaded symbols for /usr/local/lib/libexpat.so.6
Reading symbols from /lib/libc.so.7...(no debugging symbols 
found)...done.

Loaded symbols for /lib/libc.so.7
Reading symbols from 
/usr/local/libexec/apache/mod_mmap_static.so...(no debugging symbols 
found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_mmap_static.so
Reading symbols from 
/usr/local/libexec/apache/mod_vhost_alias.so...(no debugging symbols 
found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_vhost_alias.so
Reading symbols from /usr/local/libexec/apache/mod_env.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_env.so
Reading symbols from /usr/local/libexec/apache/mod_define.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_define.so
Reading symbols from /usr/local/libexec/apache/mod_log_config.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_log_config.so
Reading symbols from /usr/local/libexec/apache/mod_mime_magic.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_mime_magic.so
Reading symbols from /usr/local/libexec/apache/mod_mime.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_mime.so
Reading symbols from 
/usr/local/libexec/apache/mod_negotiation.so...(no debugging symbols 
found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_negotiation.so
Reading symbols from /usr/local/libexec/apache/mod_status.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_status.so
Reading symbols from /usr/local/libexec/apache/mod_info.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_info.so
Reading symbols from /usr/local/libexec/apache/mod_include.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_include.so
Reading symbols from /usr/local/libexec/apache/mod_autoindex.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_autoindex.so
Reading symbols from /usr/local/libexec/apache/mod_dir.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_dir.so
Reading symbols from /usr/local/libexec/apache/mod_cgi.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_cgi.so
Reading symbols from /usr/local/libexec/apache/mod_asis.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_asis.so
Reading symbols from /usr/local/libexec/apache/mod_imap.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_imap.so
Reading symbols from /usr/local/libexec/apache/mod_actions.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_actions.so
Reading symbols from /usr/local/libexec/apache/mod_speling.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_speling.so
Reading symbols from /usr/local/libexec/apache/mod_userdir.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/libexec/apache/mod_userdir.so
Reading symbols from /usr/local/libexec/apache/mod_alias.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/local/lib

Re: apache 2.2.8 uid 80: exited on signal 4

2008-03-14 Thread Wael Nasreddine
This One Time, at Band Camp, Wael Nasreddine <[EMAIL PROTECTED]> said, On Fri, 
Mar 14, 2008 at 08:42:03PM +0100:
> This One Time, at Band Camp, Kevin Downey <[EMAIL PROTECTED]> said, On Fri, 
> Mar 14, 2008 at 11:14:59AM -0700:
> > I had a similar problem. I fixed it my commenting out one of the
> > extensions listed in  /usr/local/etc/php/extensions.ini
> > I forgot which one. I currently have three of them commented out:

> > #extension=mcrypt.so
> > #extension=mbstring.so
> > #extension=mhash.so

> I have commented the same modules that you have... I will try with it
> this way and see if it happens again...

> Thanks
Ok that actually does work, I did more tests and the modules causing
this are
extension=mbstring.so
extension=mcrypt.so
both of them cause the Segfault(11) the nhash.so module is ok...

Thanks

> > On Fri, Mar 14, 2008 at 10:55 AM, Wael Nasreddine <[EMAIL PROTECTED]> wrote:
> > > This One Time, at Band Camp, Mel <[EMAIL PROTECTED]> said, On Fri, Mar 
> > > 14, 2008 at 06:32:40PM +0100:


> > > > On Friday 14 March 2008 16:32:30 Abdullah Ibn Hamad Al-Marri wrote:
> > >  > > Hello,

> > >  > > I have this problem with apache 2.2.8, and I don't know the reason 
> > > yet.

> > >  > > FreeBSD 7.0-STABLE #0: Fri Feb 29 16:57:56 UTC 2008
> > >  > > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BB
> > >  > > Timecounter "i8254" frequency 1193182 Hz quality 0
> > >  > > CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz K8-class CPU)
> > >  > >   Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1

> > >  > > 
> > > Features=0xbfebfbff > >  > >A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> > >  > > Features2=0x641d
> > >  > >   AMD Features=0x20100800
> > >  > >   Logical CPUs per core: 2
> > >  > > usable memory = 2139377664 (2040 MB)
> > >  > > avail memory  = 2064826368 (1969 MB)
> > >  > > ACPI APIC Table: 
> > >  > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> > >  > >  cpu0 (BSP): APIC ID:  0
> > >  > >  cpu1 (AP): APIC ID:  1
> > >  > > ioapic0: Changing APIC ID to 4
> > >  > > ioapic0  irqs 0-23 on motherboard
> > >  > > ioapic1  irqs 24-47 on motherboard
> > >  > > acpi0:  on motherboard
> > >  > > acpi0: [ITHREAD]
> > >  > > acpi0: Power Button (fixed)
> > >  > > acpi0: reservation of 0, a (3) failed
> > >  > > acpi0: reservation of 10, 7fde (3) failed
> > >  > > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> > >  > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
> > >  > > cpu0:  on acpi0
> > >  > > p4tcc0:  on cpu0
> > >  > > cpu1:  on acpi0
> > >  > > p4tcc1:  on cpu1
> > >  > > acpi_button0:  on acpi0
> > >  > > pcib0:  port 0xcf8-0xcff on acpi0
> > >  > > pci0:  on pcib0
> > >  > > pcib1:  at device 1.0 on pci0
> > >  > > pci1:  on pcib1
> > >  > > pcib2:  at device 3.0 on pci0
> > >  > > pci2:  on pcib2
> > >  > > em0:  port
> > >  > > 0x9000-0x901f mem 0xf902-0xf903,0xf900-0xf901 irq 18 
> > > at
> > >  > > device 1.0 on pci2 em0: Ethernet address: 00:11:d8:ba:51:8d
> > >  > > em0: [FILTER]
> > >  > > pcib3:  at device 28.0 on pci0
> > >  > > pci3:  on pcib3
> > >  > > vgapci0:  port 0xa000-0xa0ff mem
> > >  > > 0xfa00-0xfaff,0xfc00-0xfc000fff irq 24 at device 2.0 on 
> > > pci3
> > >  > > pci0:  at device 29.0 (no driver attached)
> > >  > > pci0:  at device 29.1 (no driver attached)
> > >  > > pci0:  at device 29.4 (no driver attached)
> > >  > > pci0:  at device 29.7 (no driver attached)
> > >  > > pcib4:  at device 30.0 on pci0
> > >  > > pci4:  on pcib4
> > >  > > atapci0:  port
> > >  > > 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb87f mem
> > >  > > 0xfd02-0xfd020fff,0xfd00-0xfd01 irq 23 at device 4.0 on 
> > > pci4
> > >  > > atapci0: [ITHREAD]
> > >  > > atapci0: [ITHREAD]
> > >  > > ata2:  on atapci0
> > >  > > ata2: [ITHREAD]
> > >  > > ata3:  on atapci0
> > >

Re: apache 2.2.8 uid 80: exited on signal 4

2008-03-14 Thread Wael Nasreddine
This One Time, at Band Camp, Kevin Downey <[EMAIL PROTECTED]> said, On Fri, Mar 
14, 2008 at 11:14:59AM -0700:
> I had a similar problem. I fixed it my commenting out one of the
> extensions listed in  /usr/local/etc/php/extensions.ini
> I forgot which one. I currently have three of them commented out:

> #extension=mcrypt.so
> #extension=mbstring.so
> #extension=mhash.so

I have commented the same modules that you have... I will try with it
this way and see if it happens again...

Thanks


> On Fri, Mar 14, 2008 at 10:55 AM, Wael Nasreddine <[EMAIL PROTECTED]> wrote:
> > This One Time, at Band Camp, Mel <[EMAIL PROTECTED]> said, On Fri, Mar 14, 
> > 2008 at 06:32:40PM +0100:


> > > On Friday 14 March 2008 16:32:30 Abdullah Ibn Hamad Al-Marri wrote:
> >  > > Hello,

> >  > > I have this problem with apache 2.2.8, and I don't know the reason yet.

> >  > > FreeBSD 7.0-STABLE #0: Fri Feb 29 16:57:56 UTC 2008
> >  > > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BB
> >  > > Timecounter "i8254" frequency 1193182 Hz quality 0
> >  > > CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz K8-class CPU)
> >  > >   Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1

> >  > > 
> > Features=0xbfebfbff >  > >A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> >  > > Features2=0x641d
> >  > >   AMD Features=0x20100800
> >  > >   Logical CPUs per core: 2
> >  > > usable memory = 2139377664 (2040 MB)
> >  > > avail memory  = 2064826368 (1969 MB)
> >  > > ACPI APIC Table: 
> >  > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> >  > >  cpu0 (BSP): APIC ID:  0
> >  > >  cpu1 (AP): APIC ID:  1
> >  > > ioapic0: Changing APIC ID to 4
> >  > > ioapic0  irqs 0-23 on motherboard
> >  > > ioapic1  irqs 24-47 on motherboard
> >  > > acpi0:  on motherboard
> >  > > acpi0: [ITHREAD]
> >  > > acpi0: Power Button (fixed)
> >  > > acpi0: reservation of 0, a (3) failed
> >  > > acpi0: reservation of 10, 7fde (3) failed
> >  > > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> >  > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
> >  > > cpu0:  on acpi0
> >  > > p4tcc0:  on cpu0
> >  > > cpu1:  on acpi0
> >  > > p4tcc1:  on cpu1
> >  > > acpi_button0:  on acpi0
> >  > > pcib0:  port 0xcf8-0xcff on acpi0
> >  > > pci0:  on pcib0
> >  > > pcib1:  at device 1.0 on pci0
> >  > > pci1:  on pcib1
> >  > > pcib2:  at device 3.0 on pci0
> >  > > pci2:  on pcib2
> >  > > em0:  port
> >  > > 0x9000-0x901f mem 0xf902-0xf903,0xf900-0xf901 irq 18 at
> >  > > device 1.0 on pci2 em0: Ethernet address: 00:11:d8:ba:51:8d
> >  > > em0: [FILTER]
> >  > > pcib3:  at device 28.0 on pci0
> >  > > pci3:  on pcib3
> >  > > vgapci0:  port 0xa000-0xa0ff mem
> >  > > 0xfa00-0xfaff,0xfc00-0xfc000fff irq 24 at device 2.0 on 
> > pci3
> >  > > pci0:  at device 29.0 (no driver attached)
> >  > > pci0:  at device 29.1 (no driver attached)
> >  > > pci0:  at device 29.4 (no driver attached)
> >  > > pci0:  at device 29.7 (no driver attached)
> >  > > pcib4:  at device 30.0 on pci0
> >  > > pci4:  on pcib4
> >  > > atapci0:  port
> >  > > 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb87f mem
> >  > > 0xfd02-0xfd020fff,0xfd00-0xfd01 irq 23 at device 4.0 on 
> > pci4
> >  > > atapci0: [ITHREAD]
> >  > > atapci0: [ITHREAD]
> >  > > ata2:  on atapci0
> >  > > ata2: [ITHREAD]
> >  > > ata3:  on atapci0
> >  > > ata3: [ITHREAD]
> >  > > ata4:  on atapci0
> >  > > ata4: [ITHREAD]
> >  > > ata5:  on atapci0
> >  > > ata5: [ITHREAD]
> >  > > isab0:  at device 31.0 on pci0
> >  > > isa0:  on isab0
> >  > > atapci1:  port
> >  > > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 
> > 31.2 on
> >  > > pci0 ata0:  on atapci1
> >  > > ata0: [ITHREAD]
> >  > > ata1:  on atapci1
> >  > > ata1: [ITHREAD]
> >  > > pci0:  at device 31.3 (no driver attached)
> >  > > pci0:  at device 31.5 (no driver attached)
> >  > > sio0: configured irq 4 not 

Re: apache 2.2.8 uid 80: exited on signal 11 (was signal 4)

2008-03-14 Thread Wael Nasreddine
This One Time, at Band Camp, Kevin Kinsey <[EMAIL PROTECTED]> said, On Fri, Mar 
14, 2008 at 01:25:52PM -0500:
> Wael Nasreddine wrote:
>> This One Time, at Band Camp, Mel <[EMAIL PROTECTED]> 
>> said, On Fri, Mar 14, 2008 at 06:32:40PM +0100:
>>> On Friday 14 March 2008 16:32:30 Abdullah Ibn Hamad Al-Marri wrote:
>>>> pid 88487 (httpd), uid 80: exited on signal 4
>>>> pid 98657 (httpd), uid 80: exited on signal 4
>>>> pid 52780 (httpd), uid 80: exited on signal 4
>>>> pid 58619 (httpd), uid 80: exited on signal 4
>>> #define SIGILL  4   /* illegal instr. (not reset when caught) 
>>> */
>>> If you're sure there are no CPU specific flags set during apache 
>>> compilation, you might want to get a core dump. Is apache the only 
>>> program creating SIGILL?
>> I'm having a similar issue, ny dmesg is filled with
>>  CUT
>> pid 63364 (httpd), uid 80: exited on signal 11
>>  CUT
>> my /etc/make.conf:
>>  CUT
>> CFLAGS+="-march=pentium4"
>> WITHOUT_X11=yes
>> WITHOUT_JAVA=yes
>> # Use Perl with threads
>> WITH_THREADS=yes
>> # added by use.perl 2008-03-13 22:04:11
>> PERL_VER=5.8.8
>> PERL_VERSION=5.8.8
>>  CUT
>> what could be the problem...
>
> Well, first, signal 11 isn't signal 4, so the
> problem isn't very *closely* related, but I'll
> bite anyway.
>
Sorry for being off-topic I thought the solution would be almost the
same or he could try whatever solution proposed to both of us, anyway
sorry again :$

> That said, I've little idea what could be
> causing your httpd to die with sig 11.  In
> my experience, signal 11s are generally caused
> by incompatible modules (*.so) loading along
> with httpd during Apache startup.  PHP, in
> particular, after a portupgrade.  Any resemblance
> to your situation?
>
Actuallly it's a fresh 7.0-RELEASE Installation, So I don't think a
module might be broken unless it's a bug.

> Kevin Kinsey


-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.


pgpMKKppEDe1g.pgp
Description: PGP signature


Re: apache 2.2.8 uid 80: exited on signal 11 (was signal 4)

2008-03-14 Thread Kevin Kinsey

Wael Nasreddine wrote:

This One Time, at Band Camp, Mel <[EMAIL PROTECTED]> said, On Fri, Mar 14, 2008 
at 06:32:40PM +0100:

On Friday 14 March 2008 16:32:30 Abdullah Ibn Hamad Al-Marri wrote:

pid 88487 (httpd), uid 80: exited on signal 4
pid 98657 (httpd), uid 80: exited on signal 4
pid 52780 (httpd), uid 80: exited on signal 4
pid 58619 (httpd), uid 80: exited on signal 4



#define SIGILL  4   /* illegal instr. (not reset when caught) */


If you're sure there are no CPU specific flags set during apache compilation, 
you might want to get a core dump. Is apache the only program creating 
SIGILL?


I'm having a similar issue, ny dmesg is filled with
 CUT
pid 63364 (httpd), uid 80: exited on signal 11
 CUT

my /etc/make.conf:
 CUT
CFLAGS+="-march=pentium4"
WITHOUT_X11=yes
WITHOUT_JAVA=yes

# Use Perl with threads
WITH_THREADS=yes

# added by use.perl 2008-03-13 22:04:11
PERL_VER=5.8.8
PERL_VERSION=5.8.8
 CUT

what could be the problem...


Well, first, signal 11 isn't signal 4, so the
problem isn't very *closely* related, but I'll
bite anyway.

That said, I've little idea what could be
causing your httpd to die with sig 11.  In
my experience, signal 11s are generally caused
by incompatible modules (*.so) loading along
with httpd during Apache startup.  PHP, in
particular, after a portupgrade.  Any resemblance
to your situation?

Kevin Kinsey
--
Marry in haste and everyone starts counting the months.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: apache 2.2.8 uid 80: exited on signal 4

2008-03-14 Thread Kevin Downey
I had a similar problem. I fixed it my commenting out one of the
extensions listed in  /usr/local/etc/php/extensions.ini
I forgot which one. I currently have three of them commented out:

#extension=mcrypt.so
#extension=mbstring.so
#extension=mhash.so


On Fri, Mar 14, 2008 at 10:55 AM, Wael Nasreddine <[EMAIL PROTECTED]> wrote:
> This One Time, at Band Camp, Mel <[EMAIL PROTECTED]> said, On Fri, Mar 14, 
> 2008 at 06:32:40PM +0100:
>
>
> > On Friday 14 March 2008 16:32:30 Abdullah Ibn Hamad Al-Marri wrote:
>  > > Hello,
>
>  > > I have this problem with apache 2.2.8, and I don't know the reason yet.
>
>  > > FreeBSD 7.0-STABLE #0: Fri Feb 29 16:57:56 UTC 2008
>  > > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BB
>  > > Timecounter "i8254" frequency 1193182 Hz quality 0
>  > > CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz K8-class CPU)
>  > >   Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
>
>  > > 
> Features=0xbfebfbff  > >A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>  > > Features2=0x641d
>  > >   AMD Features=0x20100800
>  > >   Logical CPUs per core: 2
>  > > usable memory = 2139377664 (2040 MB)
>  > > avail memory  = 2064826368 (1969 MB)
>  > > ACPI APIC Table: 
>  > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>  > >  cpu0 (BSP): APIC ID:  0
>  > >  cpu1 (AP): APIC ID:  1
>  > > ioapic0: Changing APIC ID to 4
>  > > ioapic0  irqs 0-23 on motherboard
>  > > ioapic1  irqs 24-47 on motherboard
>  > > acpi0:  on motherboard
>  > > acpi0: [ITHREAD]
>  > > acpi0: Power Button (fixed)
>  > > acpi0: reservation of 0, a (3) failed
>  > > acpi0: reservation of 10, 7fde (3) failed
>  > > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
>  > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
>  > > cpu0:  on acpi0
>  > > p4tcc0:  on cpu0
>  > > cpu1:  on acpi0
>  > > p4tcc1:  on cpu1
>  > > acpi_button0:  on acpi0
>  > > pcib0:  port 0xcf8-0xcff on acpi0
>  > > pci0:  on pcib0
>  > > pcib1:  at device 1.0 on pci0
>  > > pci1:  on pcib1
>  > > pcib2:  at device 3.0 on pci0
>  > > pci2:  on pcib2
>  > > em0:  port
>  > > 0x9000-0x901f mem 0xf902-0xf903,0xf900-0xf901 irq 18 at
>  > > device 1.0 on pci2 em0: Ethernet address: 00:11:d8:ba:51:8d
>  > > em0: [FILTER]
>  > > pcib3:  at device 28.0 on pci0
>  > > pci3:  on pcib3
>  > > vgapci0:  port 0xa000-0xa0ff mem
>  > > 0xfa00-0xfaff,0xfc00-0xfc000fff irq 24 at device 2.0 on pci3
>  > > pci0:  at device 29.0 (no driver attached)
>  > > pci0:  at device 29.1 (no driver attached)
>  > > pci0:  at device 29.4 (no driver attached)
>  > > pci0:  at device 29.7 (no driver attached)
>  > > pcib4:  at device 30.0 on pci0
>  > > pci4:  on pcib4
>  > > atapci0:  port
>  > > 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb87f mem
>  > > 0xfd02-0xfd020fff,0xfd00-0xfd01 irq 23 at device 4.0 on pci4
>  > > atapci0: [ITHREAD]
>  > > atapci0: [ITHREAD]
>  > > ata2:  on atapci0
>  > > ata2: [ITHREAD]
>  > > ata3:  on atapci0
>  > > ata3: [ITHREAD]
>  > > ata4:  on atapci0
>  > > ata4: [ITHREAD]
>  > > ata5:  on atapci0
>  > > ata5: [ITHREAD]
>  > > isab0:  at device 31.0 on pci0
>  > > isa0:  on isab0
>  > > atapci1:  port
>  > > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.2 
> on
>  > > pci0 ata0:  on atapci1
>  > > ata0: [ITHREAD]
>  > > ata1:  on atapci1
>  > > ata1: [ITHREAD]
>  > > pci0:  at device 31.3 (no driver attached)
>  > > pci0:  at device 31.5 (no driver attached)
>  > > sio0: configured irq 4 not in bitmap of probed irqs 0
>  > > sio0: port may not be enabled
>  > > sio0: configured irq 4 not in bitmap of probed irqs 0
>  > > sio0: port may not be enabled
>  > > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
>  > > acpi0 sio0: type 16550A
>  > > sio0: [FILTER]
>  > > sio1: configured irq 3 not in bitmap of probed irqs 0
>  > > sio1: port may not be enabled
>  > > sio1: configured irq 3 not in bitmap of probed irqs 0
>  > > sio1: port may not be enabled
>  > > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
>  > 

Re: apache 2.2.8 uid 80: exited on signal 4

2008-03-14 Thread Wael Nasreddine
This One Time, at Band Camp, Mel <[EMAIL PROTECTED]> said, On Fri, Mar 14, 2008 
at 06:32:40PM +0100:
> On Friday 14 March 2008 16:32:30 Abdullah Ibn Hamad Al-Marri wrote:
> > Hello,

> > I have this problem with apache 2.2.8, and I don't know the reason yet.

> > FreeBSD 7.0-STABLE #0: Fri Feb 29 16:57:56 UTC 2008
> > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BB
> > Timecounter "i8254" frequency 1193182 Hz quality 0
> > CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz K8-class CPU)
> >   Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1

> > Features=0xbfebfbff >A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> > Features2=0x641d
> >   AMD Features=0x20100800
> >   Logical CPUs per core: 2
> > usable memory = 2139377664 (2040 MB)
> > avail memory  = 2064826368 (1969 MB)
> > ACPI APIC Table: 
> > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> >  cpu0 (BSP): APIC ID:  0
> >  cpu1 (AP): APIC ID:  1
> > ioapic0: Changing APIC ID to 4
> > ioapic0  irqs 0-23 on motherboard
> > ioapic1  irqs 24-47 on motherboard
> > acpi0:  on motherboard
> > acpi0: [ITHREAD]
> > acpi0: Power Button (fixed)
> > acpi0: reservation of 0, a (3) failed
> > acpi0: reservation of 10, 7fde (3) failed
> > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
> > cpu0:  on acpi0
> > p4tcc0:  on cpu0
> > cpu1:  on acpi0
> > p4tcc1:  on cpu1
> > acpi_button0:  on acpi0
> > pcib0:  port 0xcf8-0xcff on acpi0
> > pci0:  on pcib0
> > pcib1:  at device 1.0 on pci0
> > pci1:  on pcib1
> > pcib2:  at device 3.0 on pci0
> > pci2:  on pcib2
> > em0:  port
> > 0x9000-0x901f mem 0xf902-0xf903,0xf900-0xf901 irq 18 at
> > device 1.0 on pci2 em0: Ethernet address: 00:11:d8:ba:51:8d
> > em0: [FILTER]
> > pcib3:  at device 28.0 on pci0
> > pci3:  on pcib3
> > vgapci0:  port 0xa000-0xa0ff mem
> > 0xfa00-0xfaff,0xfc00-0xfc000fff irq 24 at device 2.0 on pci3
> > pci0:  at device 29.0 (no driver attached)
> > pci0:  at device 29.1 (no driver attached)
> > pci0:  at device 29.4 (no driver attached)
> > pci0:  at device 29.7 (no driver attached)
> > pcib4:  at device 30.0 on pci0
> > pci4:  on pcib4
> > atapci0:  port
> > 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb87f mem
> > 0xfd02-0xfd020fff,0xfd00-0xfd01 irq 23 at device 4.0 on pci4
> > atapci0: [ITHREAD]
> > atapci0: [ITHREAD]
> > ata2:  on atapci0
> > ata2: [ITHREAD]
> > ata3:  on atapci0
> > ata3: [ITHREAD]
> > ata4:  on atapci0
> > ata4: [ITHREAD]
> > ata5:  on atapci0
> > ata5: [ITHREAD]
> > isab0:  at device 31.0 on pci0
> > isa0:  on isab0
> > atapci1:  port
> > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.2 on
> > pci0 ata0:  on atapci1
> > ata0: [ITHREAD]
> > ata1:  on atapci1
> > ata1: [ITHREAD]
> > pci0:  at device 31.3 (no driver attached)
> > pci0:  at device 31.5 (no driver attached)
> > sio0: configured irq 4 not in bitmap of probed irqs 0
> > sio0: port may not be enabled
> > sio0: configured irq 4 not in bitmap of probed irqs 0
> > sio0: port may not be enabled
> > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
> > acpi0 sio0: type 16550A
> > sio0: [FILTER]
> > sio1: configured irq 3 not in bitmap of probed irqs 0
> > sio1: port may not be enabled
> > sio1: configured irq 3 not in bitmap of probed irqs 0
> > sio1: port may not be enabled
> > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
> > sio1: type 16550A
> > sio1: [FILTER]
> > orm0:  at iomem 0xc-0xc7fff on isa0
> > atkbdc0:  at port 0x60,0x64 on isa0
> > atkbd0:  irq 1 on atkbdc0
> > kbd0 at atkbd0
> > atkbd0: [GIANT-LOCKED]
> > atkbd0: [ITHREAD]
> > sc0:  at flags 0x100 on isa0
> > sc0: VGA <16 virtual consoles, flags=0x300>
> > vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
> > Timecounters tick every 1.000 msec
> > ad0: 238475MB  at ata0-master SATA150
> > ad4: 238475MB  at ata2-master SATA150
> > ad6: 381554MB  at ata3-master SATA150
> > SMP: AP CPU #1 Launched!
> > Trying to mount root from ufs:/dev/ad0s1a
> > em0: link state changed to UP
> > pid 8458 (httpd), uid 80: exited on signal 4
> > pid 82334 (httpd), uid 80: exited on signal 4
> > pid 82374 (httpd), uid 80: exited on signal 4
>

Re: apache 2.2.8 uid 80: exited on signal 4

2008-03-14 Thread Mel
On Friday 14 March 2008 16:32:30 Abdullah Ibn Hamad Al-Marri wrote:
> Hello,
>
> I have this problem with apache 2.2.8, and I don't know the reason yet.
>
> FreeBSD 7.0-STABLE #0: Fri Feb 29 16:57:56 UTC 2008
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BB
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz K8-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
>  
> Features=0xbfebfbffA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> Features2=0x641d
>   AMD Features=0x20100800
>   Logical CPUs per core: 2
> usable memory = 2139377664 (2040 MB)
> avail memory  = 2064826368 (1969 MB)
> ACPI APIC Table: 
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
> ioapic0: Changing APIC ID to 4
> ioapic0  irqs 0-23 on motherboard
> ioapic1  irqs 24-47 on motherboard
> acpi0:  on motherboard
> acpi0: [ITHREAD]
> acpi0: Power Button (fixed)
> acpi0: reservation of 0, a (3) failed
> acpi0: reservation of 10, 7fde (3) failed
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
> cpu0:  on acpi0
> p4tcc0:  on cpu0
> cpu1:  on acpi0
> p4tcc1:  on cpu1
> acpi_button0:  on acpi0
> pcib0:  port 0xcf8-0xcff on acpi0
> pci0:  on pcib0
> pcib1:  at device 1.0 on pci0
> pci1:  on pcib1
> pcib2:  at device 3.0 on pci0
> pci2:  on pcib2
> em0:  port
> 0x9000-0x901f mem 0xf902-0xf903,0xf900-0xf901 irq 18 at
> device 1.0 on pci2 em0: Ethernet address: 00:11:d8:ba:51:8d
> em0: [FILTER]
> pcib3:  at device 28.0 on pci0
> pci3:  on pcib3
> vgapci0:  port 0xa000-0xa0ff mem
> 0xfa00-0xfaff,0xfc00-0xfc000fff irq 24 at device 2.0 on pci3
> pci0:  at device 29.0 (no driver attached)
> pci0:  at device 29.1 (no driver attached)
> pci0:  at device 29.4 (no driver attached)
> pci0:  at device 29.7 (no driver attached)
> pcib4:  at device 30.0 on pci0
> pci4:  on pcib4
> atapci0:  port
> 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb87f mem
> 0xfd02-0xfd020fff,0xfd00-0xfd01 irq 23 at device 4.0 on pci4
> atapci0: [ITHREAD]
> atapci0: [ITHREAD]
> ata2:  on atapci0
> ata2: [ITHREAD]
> ata3:  on atapci0
> ata3: [ITHREAD]
> ata4:  on atapci0
> ata4: [ITHREAD]
> ata5:  on atapci0
> ata5: [ITHREAD]
> isab0:  at device 31.0 on pci0
> isa0:  on isab0
> atapci1:  port
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.2 on
> pci0 ata0:  on atapci1
> ata0: [ITHREAD]
> ata1:  on atapci1
> ata1: [ITHREAD]
> pci0:  at device 31.3 (no driver attached)
> pci0:  at device 31.5 (no driver attached)
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
> acpi0 sio0: type 16550A
> sio0: [FILTER]
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
> sio1: type 16550A
> sio1: [FILTER]
> orm0:  at iomem 0xc-0xc7fff on isa0
> atkbdc0:  at port 0x60,0x64 on isa0
> atkbd0:  irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> atkbd0: [ITHREAD]
> sc0:  at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
> Timecounters tick every 1.000 msec
> ad0: 238475MB  at ata0-master SATA150
> ad4: 238475MB  at ata2-master SATA150
> ad6: 381554MB  at ata3-master SATA150
> SMP: AP CPU #1 Launched!
> Trying to mount root from ufs:/dev/ad0s1a
> em0: link state changed to UP
> pid 8458 (httpd), uid 80: exited on signal 4
> pid 82334 (httpd), uid 80: exited on signal 4
> pid 82374 (httpd), uid 80: exited on signal 4
> pid 82375 (httpd), uid 80: exited on signal 4
> pid 82423 (httpd), uid 80: exited on signal 4
> pid 82520 (httpd), uid 80: exited on signal 4
> pid 88487 (httpd), uid 80: exited on signal 4
> pid 98657 (httpd), uid 80: exited on signal 4
> pid 52780 (httpd), uid 80: exited on signal 4
> pid 58619 (httpd), uid 80: exited on signal 4

#define SIGILL  4   /* illegal instr. (not reset when caught) */

If you're sure there are no CPU specific flags set during apache compilation, 
you might want to get a core dump. Is apache the only program creating 
SIGILL?

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


apache 2.2.8 uid 80: exited on signal 4

2008-03-14 Thread Abdullah Ibn Hamad Al-Marri
Hello,

I have this problem with apache 2.2.8, and I don't know the reason yet.

FreeBSD 7.0-STABLE #0: Fri Feb 29 16:57:56 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/BB
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.11-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
  
Features=0xbfebfbff
  Features2=0x641d
  AMD Features=0x20100800
  Logical CPUs per core: 2
usable memory = 2139377664 (2040 MB)
avail memory  = 2064826368 (1969 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 4
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
acpi0:  on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 7fde (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0:  on acpi0
p4tcc0:  on cpu0
cpu1:  on acpi0
p4tcc1:  on cpu1
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pcib2:  at device 3.0 on pci0
pci2:  on pcib2
em0:  port 0x9000-0x901f 
mem 0xf902-0xf903,0xf900-0xf901 irq 18 at device 1.0 on pci2
em0: Ethernet address: 00:11:d8:ba:51:8d
em0: [FILTER]
pcib3:  at device 28.0 on pci0
pci3:  on pcib3
vgapci0:  port 0xa000-0xa0ff mem 
0xfa00-0xfaff,0xfc00-0xfc000fff irq 24 at device 2.0 on pci3
pci0:  at device 29.0 (no driver attached)
pci0:  at device 29.1 (no driver attached)
pci0:  at device 29.4 (no driver attached)
pci0:  at device 29.7 (no driver attached)
pcib4:  at device 30.0 on pci0
pci4:  on pcib4
atapci0:  port 
0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb87f mem 
0xfd02-0xfd020fff,0xfd00-0xfd01 irq 23 at device 4.0 on pci4
atapci0: [ITHREAD]
atapci0: [ITHREAD]
ata2:  on atapci0
ata2: [ITHREAD]
ata3:  on atapci0
ata3: [ITHREAD]
ata4:  on atapci0
ata4: [ITHREAD]
ata5:  on atapci0
ata5: [ITHREAD]
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci1:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.2 on pci0
ata0:  on atapci1
ata0: [ITHREAD]
ata1:  on atapci1
ata1: [ITHREAD]
pci0:  at device 31.3 (no driver attached)
pci0:  at device 31.5 (no driver attached)
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]
orm0:  at iomem 0xc-0xc7fff on isa0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 1.000 msec
ad0: 238475MB  at ata0-master SATA150
ad4: 238475MB  at ata2-master SATA150
ad6: 381554MB  at ata3-master SATA150
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad0s1a
em0: link state changed to UP
pid 8458 (httpd), uid 80: exited on signal 4
pid 82334 (httpd), uid 80: exited on signal 4
pid 82374 (httpd), uid 80: exited on signal 4
pid 82375 (httpd), uid 80: exited on signal 4
pid 82423 (httpd), uid 80: exited on signal 4
pid 82520 (httpd), uid 80: exited on signal 4
pid 88487 (httpd), uid 80: exited on signal 4
pid 98657 (httpd), uid 80: exited on signal 4
pid 52780 (httpd), uid 80: exited on signal 4
pid 58619 (httpd), uid 80: exited on signal 4


here is my make.conf

KERNCONF=BB
PPP_NOSUID=true # to build ppp with normal permissions
NO_BLUETOOTH=true   # do not build Bluetooth related stuff
NO_I4B=true # do not build isdn4bsd package
NO_KERBEROS=true# do not build and install Kerberos 5 (KTH Heimdal)
NO_LPR=true # do not build lpr and related programs
NO_USB=true # do not build usbd(8) and related programs
NO_ATM=true # do not build ATM related programs and libraries
NO_GAMES=true   # do not build games (games/ subdir)
NO_UUCP=true # do not build uucp related programs
WITHOUT_X11=true# don't build X11 dependencies in ports
BATCH=yes
# added by use.perl 2008-03-02 17:37:37
PERL_VER=5.8.8
PERL_VERSION=5.8.8

 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/





  

Never miss

<    1   2   3   4   5   6   7   8   9   10   >