Re: apache22: Can't access startfile

2009-06-27 Thread Glen Barber
On Sat, Jun 27, 2009 at 6:37 PM, Gary Klinekl...@thought.org wrote:

        Can anybody remind me what all I need to do to create a new virtual
        website?  (Or move /usr/local/www/foo to /usr/local/www/bar/ and have
        bar be my new website?  I've seen this lynx error:
        Can't access startfile before and can't remeber what I'm doing wrong.

        thanks for some clues here,


Take a look at the error log for apache, as I suspect the following:
usually, apache wants to look in /usr/local/www/apache22/* for its
information.  If you have changed DocumentRoot, could you give us
snippets (if not all) of your httpd.conf ?



        PS: yes, i edited the apache22/Includes/httpd-local.conf and restarted 
 the
        etc/rv.d/apache script... .


Is this apache13, 20, or 22 by the way?

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


Re: apache22: Can't access startfile

2009-06-27 Thread Glen Barber
On Sat, Jun 27, 2009 at 6:41 PM, Glen Barberglen.j.bar...@gmail.com wrote:
 On Sat, Jun 27, 2009 at 6:37 PM, Gary Klinekl...@thought.org wrote:

        Can anybody remind me what all I need to do to create a new virtual
        website?  (Or move /usr/local/www/foo to /usr/local/www/bar/ and have
        bar be my new website?  I've seen this lynx error:
        Can't access startfile before and can't remeber what I'm doing 
 wrong.

        thanks for some clues here,


 Take a look at the error log for apache, as I suspect the following:
 usually, apache wants to look in /usr/local/www/apache22/* for its
 information.  If you have changed DocumentRoot, could you give us
 snippets (if not all) of your httpd.conf ?



        PS: yes, i edited the apache22/Includes/httpd-local.conf and 
 restarted the
        etc/rv.d/apache script... .


 Is this apache13, 20, or 22 by the way?

Wow... I must really be loosing it... Forget I asked that last question. ;)

Gary, if the problem persists after my previous suggestions, could you
also include info from the error log?

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


Re: apache22: Can't access startfile

2009-06-27 Thread Gary Kline
On Sat, Jun 27, 2009 at 06:41:22PM -0400, Glen Barber wrote:
 On Sat, Jun 27, 2009 at 6:37 PM, Gary Klinekl...@thought.org wrote:
 
         Can anybody remind me what all I need to do to create a new virtual
         website?  (Or move /usr/local/www/foo to /usr/local/www/bar/ and have
         bar be my new website?  I've seen this lynx error:
         Can't access startfile before and can't remeber what I'm doing 
  wrong.
 
         thanks for some clues here,
 
 
 Take a look at the error log for apache, as I suspect the following:
 usually, apache wants to look in /usr/local/www/apache22/* for its
 information.  If you have changed DocumentRoot, could you give us
 snippets (if not all) of your httpd.conf ?
 


This is the first change in 18 months.  The logs in
/usr/local/www/apache22/ haven't been touched for months.

I did remember to edit my named/* files, update the Date and restart.
Then I restarted other apache related scripts and binaries.  The next 
trick is a reboot.  That won't tell me too much.

 
 
         PS: yes, i edited the apache22/Includes/httpd-local.conf and 
  restarted the
         etc/rv.d/apache script... .
 
 
 Is this apache13, 20, or 22 by the way?
 

22

gary


 -- 
 Glen Barber

-- 
  Gary Kline  kl...@thought.org   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org

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


Re: apache22: Can't access startfile

2009-06-27 Thread Glen Barber
On Sat, Jun 27, 2009 at 7:08 PM, Gary Klinekl...@thought.org wrote:
 On Sat, Jun 27, 2009 at 06:41:22PM -0400, Glen Barber wrote:
 On Sat, Jun 27, 2009 at 6:37 PM, Gary Klinekl...@thought.org wrote:
 
         Can anybody remind me what all I need to do to create a new virtual
         website?  (Or move /usr/local/www/foo to /usr/local/www/bar/ and 
  have
         bar be my new website?  I've seen this lynx error:
         Can't access startfile before and can't remeber what I'm doing 
  wrong.
 
         thanks for some clues here,
 

 Take a look at the error log for apache, as I suspect the following:
 usually, apache wants to look in /usr/local/www/apache22/* for its
 information.  If you have changed DocumentRoot, could you give us
 snippets (if not all) of your httpd.conf ?



        This is the first change in 18 months.  The logs in
        /usr/local/www/apache22/ haven't been touched for months.

        I did remember to edit my named/* files, update the Date and restart.
        Then I restarted other apache related scripts and binaries.  The next
        trick is a reboot.  That won't tell me too much.


... especially since rebooting (ideally) shouldn't _fix_ apache22
problems.. If that works, it is only masking the real problem.

Do you remember any other major changes to your system or apache22
since your last reboot or apache update?

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


Re: apache22: Can't access startfile

2009-06-27 Thread Gary Kline
On Sat, Jun 27, 2009 at 06:54:33PM -0400, Glen Barber wrote:
 On Sat, Jun 27, 2009 at 6:41 PM, Glen Barberglen.j.bar...@gmail.com wrote:
  On Sat, Jun 27, 2009 at 6:37 PM, Gary Klinekl...@thought.org wrote:
 
         Can anybody remind me what all I need to do to create a new virtual
         website?  (Or move /usr/local/www/foo to /usr/local/www/bar/ and 
  have
         bar be my new website?  I've seen this lynx error:
         Can't access startfile before and can't remeber what I'm doing 
  wrong.
 
         thanks for some clues here,
 
 
  Take a look at the error log for apache, as I suspect the following:
  usually, apache wants to look in /usr/local/www/apache22/* for its
  information.  If you have changed DocumentRoot, could you give us
  snippets (if not all) of your httpd.conf ?
 
 
 
         PS: yes, i edited the apache22/Includes/httpd-local.conf and 
  restarted the
         etc/rv.d/apache script... .
 
 
  Is this apache13, 20, or 22 by the way?
 
 Wow... I must really be loosing it... Forget I asked that last question. ;)
 
 Gary, if the problem persists after my previous suggestions, could you
 also include info from the error log?
 

:-) [above].   no the reboot got things launched.  my server is
sage.thought.org, but the mail, web, and dns stuff are all in 
a jail, aristotle.thought.org, so my guess is that things were 
blocked at sage.  i realize that's a really LAME excuse... :-)

if ever i find somebody out here in the seattle area to help me, i'll 
buy
a Dell and built ns1.thought.org as aristotle.thought.org; no mo' jails.

meanwhile, if anybody else has some clues re wha' happened, Pulleze clue
me in. there was nothing in the error log; it was dated 


2 drwxr-xr-x   3 www  www  1024 Jan 13  2008 error
4 drwxr-xr-x   3 www  www  3584 Jan 13  2008 icons
p0 16:29 Jail:: aristotle [5061]  
/usr/local/www/apache22


um, for apache22, the http.conf no longer has any of the virtual stuff. 
 
it's all in Include/httpd-local.conf.  Meanwhile, this newest apache is
getting to be a religion in its own right.   like emacs vs vim/vi, etc,
etc..

(*whew*)

gary


 -- 
 Glen Barber

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
   For FBSD list: http://transfinite.thought.org/slicejourney.php
The 4.98a release of Jottings: http://jottings.thought.org/index.php

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


Re: apache22: Can't access startfile

2009-06-27 Thread Glen Barber
On Sat, Jun 27, 2009 at 7:32 PM, Gary Klinekl...@thought.org wrote:

        :-) [above].   no the reboot got things launched.  my server is
        sage.thought.org, but the mail, web, and dns stuff are all in
        a jail, aristotle.thought.org, so my guess is that things were
        blocked at sage.  i realize that's a really LAME excuse... :-)


I'm confused.  Everything works now?

        if ever i find somebody out here in the seattle area to help me, i'll 
 buy
        a Dell and built ns1.thought.org as aristotle.thought.org; no mo' 
 jails.

        meanwhile, if anybody else has some clues re wha' happened, Pulleze 
 clue
        me in. there was nothing in the error log; it was dated


Perhaps the logs didn't rotate?  When was the last time that the
access log was 'touch'ed?


 2 drwxr-xr-x   3 www  www  1024 Jan 13  2008 error
 4 drwxr-xr-x   3 www  www  3584 Jan 13  2008 icons
 p0 16:29 Jail:: aristotle [5061]                          
 /usr/local/www/apache22


        um, for apache22, the http.conf no longer has any of the virtual stuff.
        it's all in Include/httpd-local.conf.  Meanwhile, this newest apache is
        getting to be a religion in its own right.   like emacs vs vim/vi, etc,
        etc..


True, true.  I don't _need_ vhosts on my FreeBSD box because it's
overkill for what I use apache for.  When I ran my site off of my own
hardware, I did need vhosts -- I had forgotten this.

Thanks for reminding me about how much I don't remember. ;)

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


Re: apache22: Can't access startfile

2009-06-27 Thread Gary Kline
On Sat, Jun 27, 2009 at 07:38:35PM -0400, Glen Barber wrote:
 On Sat, Jun 27, 2009 at 7:32 PM, Gary Klinekl...@thought.org wrote:
 
         :-) [above].   no the reboot got things launched.  my server is
         sage.thought.org, but the mail, web, and dns stuff are all in
         a jail, aristotle.thought.org, so my guess is that things were
         blocked at sage.  i realize that's a really LAME excuse... :-)
 
 
 I'm confused.  Everything works now?


still checking, but seem to.  i'll check my /var/log/httpd/* files next.
That excuse was my best SWAG, and nothing more.  sometimes, 
reinitializing
everything, the OS turns out to be smarter than the rest of us... 


 
         if ever i find somebody out here in the seattle area to help me, 
  i'll buy
         a Dell and built ns1.thought.org as aristotle.thought.org; no mo' 
  jails.
 
         meanwhile, if anybody else has some clues re wha' happened, Pulleze 
  clue
         me in. there was nothing in the error log; it was dated
 
 
 Perhaps the logs didn't rotate?  When was the last time that the
 access log was 'touch'ed?


where do i check, glen?  my favoite place to grep around is /var/logs,
and the httpd-error.log has some potentially serious [warn]ing messages,
but i'm not familiar with apache22.  until my network began falling 
apart
in dec, 2007, i was happy as a clam with apache13.  jon horne installed 
22 and things just-worked.  

can you or anybody else make sense of any of this::

[Sat Jun 27 15:50:12 2009] [notice] SIGHUP received.  Attempting to restart
[Sat Jun 27 15:50:12 2009] [warn] (2)No such file or directory: Failed to enable
 the 'httpready' Accept Filter
[Sat Jun 27 15:50:13 2009] [warn] RSA server certificate CommonName (CN) `aristo
tle.thought.org' does NOT match server name!?
[Sat Jun 27 15:50:14 2009] [notice] Digest: generating secret for digest authent
ication ...
[Sat Jun 27 15:50:14 2009] [notice] Digest: done
[Sat Jun 27 15:50:15 2009] [notice] Apache/2.2.6 (FreeBSD) mod_ssl/2.2.6 OpenSSL
/0.9.8e DAV/2 PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operati
ons
[Sat Jun 27 15:51:13 2009] [notice] caught SIGTERM, shutting down
[Sat Jun 27 15:51:15 2009] [warn] RSA server certificate CommonName (CN) `aristo
tle.thought.org' does NOT match server name!?
[Sat Jun 27 15:51:17 2009] [warn] RSA server certificate CommonName (CN) `aristo
tle.thought.org' does NOT match server name!?
[Sat Jun 27 15:51:18 2009] [notice] Digest: generating secret for digest authent
ication ...
[Sat Jun 27 15:51:18 2009] [notice] Digest: done
[Sat Jun 27 15:51:19 2009] [notice] Apache/2.2.6 (FreeBSD) mod_ssl/2.2.6 OpenSSL
/0.9.8e DAV/2 PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operati
ons
[Sat Jun 27 16:10:54 2009] [notice] caught SIGTERM, shutting down
[Sat Jun 27 16:13:52 2009] [warn] RSA server certificate CommonName (CN) `aristo
tle.thought.org' does NOT match server name!?
[Sat Jun 27 16:13:54 2009] [warn] RSA server certificate CommonName (CN) `aristo
tle.thought.org' does NOT match server name!?
[Sat Jun 27 16:13:56 2009] [notice] Digest: generating secret for digest authent
ication ...
[Sat Jun 27 16:13:56 2009] [notice] Digest: done
[Sat Jun 27 16:13:57 2009] [notice] Apache/2.2.6 (FreeBSD) mod_ssl/2.2.6 OpenSSL
/0.9.8e DAV/2 PHP/5.2.6 with Suhosin-Patch configured -- resuming normal 
operations
httpd-error.log: unmodified, readonly: line 48148 of 48148 [100%].



i dont think it is Urgent that this is fixed instantly-if-not-sooner
but if time, once some network wizard can drop by, sure...



 
 
  2 drwxr-xr-x   3 www  www  1024 Jan 13  2008 error
  4 drwxr-xr-x   3 www  www  3584 Jan 13  2008 icons
  p0 16:29 Jail:: aristotle [5061]                          
  /usr/local/www/apache22
 
 
         um, for apache22, the http.conf no longer has any of the virtual 
  stuff.
         it's all in Include/httpd-local.conf.  Meanwhile, this newest apache 
  is
         getting to be a religion in its own right.   like emacs vs vim/vi, 
  etc,
         etc..
 
 
 True, true.  I don't _need_ vhosts on my FreeBSD box because it's
 overkill for what I use apache for.  When I ran my site off of my own
 hardware, I did need vhosts -- I had forgotten this.
 
 Thanks for reminding me about how much I don't remember. ;)


oh, man, same here; and i was doing this stuff on my own until november,
'07   

i'm adding a clue to my ~/.HowTo file.   if httpd stuff w/ virt dirs 
fail:
REBOOT.

(*mumble*)


 
 -- 
 Glen Barber

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
   For FBSD list: http://transfinite.thought.org/slicejourney.php
The 4.98a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-questions@freebsd.org 

Re: apache22: Can't access startfile

2009-06-27 Thread Glen Barber
On Sat, Jun 27, 2009 at 8:10 PM, Gary Klinekl...@thought.org wrote:
 On Sat, Jun 27, 2009 at 07:38:35PM -0400, Glen Barber wrote:
 On Sat, Jun 27, 2009 at 7:32 PM, Gary Klinekl...@thought.org wrote:
 
         :-) [above].   no the reboot got things launched.  my server is
         sage.thought.org, but the mail, web, and dns stuff are all in
         a jail, aristotle.thought.org, so my guess is that things were
         blocked at sage.  i realize that's a really LAME excuse... :-)
 

 I'm confused.  Everything works now?


        still checking, but seem to.  i'll check my /var/log/httpd/* files 
 next.
        That excuse was my best SWAG, and nothing more.  sometimes, 
 reinitializing
        everything, the OS turns out to be smarter than the rest of us...


I think they call that 'Skynet'. ;)



         if ever i find somebody out here in the seattle area to help me, 
  i'll buy
         a Dell and built ns1.thought.org as aristotle.thought.org; no mo' 
  jails.
 
         meanwhile, if anybody else has some clues re wha' happened, Pulleze 
  clue
         me in. there was nothing in the error log; it was dated
 

 Perhaps the logs didn't rotate?  When was the last time that the
 access log was 'touch'ed?


        where do i check, glen?  my favoite place to grep around is /var/logs,
        and the httpd-error.log has some potentially serious [warn]ing 
 messages,
        but i'm not familiar with apache22.

There should be a httpd-access.log -- 'ls -a' should show you the last
time it was modified, but reading the tail of it should show the last
time it was accepting input.

    until my network began falling apart
        in dec, 2007, i was happy as a clam with apache13.  jon horne installed
        22 and things just-worked.

        can you or anybody else make sense of any of this::

 [Sat Jun 27 15:50:12 2009] [notice] SIGHUP received.  Attempting to restart

SIGHUP on apache22 is normal, as it is indicating a forceful shutdown
(restart).

 [Sat Jun 27 15:50:12 2009] [warn] (2)No such file or directory: Failed to 
 enable
  the 'httpready' Accept Filter

This is a 'known issue'.  Irrelevant to your problems, AFAICT.

 [Sat Jun 27 15:50:13 2009] [warn] RSA server certificate CommonName (CN) 
 `aristo
 tle.thought.org' does NOT match server name!?

Edit either /etc/hosts or the vhost file to fix this -- whichever does
not contain the `hostname` info.

[snip]

 httpd-error.log: unmodified, readonly: line 48148 of 48148 [100%].

Try 'mv'ing httpd-error.log to httpd-error.log.bak and restarting
apache22 again -- see if this error persists.

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


Re: apache22: Can't access startfile

2009-06-27 Thread Gary Kline
On Sat, Jun 27, 2009 at 07:23:33PM -0400, Glen Barber wrote:
 
 
 ... especially since rebooting (ideally) shouldn't _fix_ apache22
 problems.. If that works, it is only masking the real problem.
 
 Do you remember any other major changes to your system or apache22
 since your last reboot or apache update?
 


other that editing my php files, i touch the computer very little.  
the last thing i did was to upgrade the hp kayak to 7.2.  but this
was technically sage.   the kayak is a SCSI box and dmesg spat out 
some
unusual GEOM_LABEL strings, then rm'd several ufsid labels.  [?]


i don't want to break anything, nor have hardware problems since this 
is 
an Old, 1998 box.


 -- 
 Glen Barber

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
   For FBSD list: http://transfinite.thought.org/slicejourney.php
The 4.98a release of Jottings: http://jottings.thought.org/index.php

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