Re: [users@httpd] Logs not working

2022-01-04 Thread James Coyle
The error log also stopped working on the 31st  - probably because of trying to 
use an arcane php configuration.  Does any of this make sense to you?

> [Fri Dec 31 14:37:46.252199 2021] [mpm_prefork:notice] [pid 1833] AH00169: 
> caught SIGTERM, shutting down
> Failed loading /usr/local/opt/php/lib/php/20210902/opcache.so:  
> dlopen(/usr/local/opt/php/lib/php/20210902/opcache.so, 0x0009): tried: 
> '/usr/local/opt/php/lib/php/20210902/opcache.so' (code signature in 
> <6449B372-19F0-3B12-8B3D-5FF5F56DAEC8> 
> '/usr/local/Cellar/php/8.1.0/lib/php/20210902/opcache.so' not valid for use 
> in process: mapped file has no cdhash, completely unsigned? Code has to be at 
> least ad-hoc signed.), '/usr/lib/opcache.so' (no such file), 
> '/usr/local/Cellar/php/8.1.0/lib/php/20210902/opcache.so' (code signature in 
> <6449B372-19F0-3B12-8B3D-5FF5F56DAEC8> 
> '/usr/local/Cellar/php/8.1.0/lib/php/20210902/opcache.so' not valid for use 
> in process: mapped file has no cdhash, completely unsigned? Code has to be at 
> least ad-hoc signed.), '/usr/lib/opcache.so' (no such file)
> [Fri Dec 31 14:37:46.505444 2021] [mpm_prefork:notice] [pid 1843] AH00163: 
> Apache/2.4.51 (Unix) PHP/8.1.0 configured -- resuming normal operations
> [Fri Dec 31 14:37:46.505472 2021] [core:notice] [pid 1843] AH00094: Command 
> line: '/usr/sbin/httpd -D FOREGROUND'
> [Fri Dec 31 16:59:13.624383 2021] [mpm_prefork:notice] [pid 1843] AH00169: 
> caught SIGTERM, shutting down
> On Jan 4, 2022, at 5:51 PM, Jim Albert  wrote:
> 
> On 1/4/2022 8:37 PM, James Coyle wrote:
>> I have checked both, but have made no changes to the locations of either the 
>> access log nor the error log:
>> 
>>  CustomLog "/private/var/log/apache2/access_log” common
>> 
>> As per these instructions, I have not created a Virtual Host container, so 
>> ostensibly the log files should not be elsewhere:
>> 
>>   # The location and format of the access logfile (Common Logfile Format).
>> # If you do not define any access logfiles within a 
>> # container, they will be logged here.  Contrariwise, if you *do*
>> # define per- access logfiles, transactions will be
>> # logged therein and *not* in this file.
>> 
>> Might the change I added to the DirectoryIndex be culprit? i.e. the 
>> index.php file?
>> 
>> # DirectoryIndex: sets the file that Apache will serve if a directory
>> # is requested.
>> #
>> 
>> DirectoryIndex index.php index.html
>> 
>> 
>> Thank you
> 
> I don't believe DirectoryIndex would be relevant to logging, but simply what 
> content to provide when presented with a directory request.
> 
> How about your error log? Is it available and does it offer any clue when you 
> restart Apache?
> 
> If you have separate SSL configs do the SSL configs present their own log 
> configs?
> 
> Outside of those thoughts, are the directories listed in the log configs 
> writable by root assuming root starts Apache?
> 
> Jim
> 
> 
>> 
>> 
>>> On Jan 4, 2022, at 5:20 PM, Jim Albert >> > wrote:
>>> 
>>> On 1/4/2022 8:11 PM, James Coyle wrote:
 I recently added PHP and MySql to my Apache setup, and now notice that the 
 access and error logs are not working. (The site IS working)
 
 They both stopped working on the 31st - I don’t know if that is relevant 
 or not. I have not changed the location of the logs and I have not added a 
 Virtual Host.
 
 I’d be grateful if someone could help me rectify this.
 
 Thank you.
 -
 To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org 
 
 For additional commands, e-mail: users-h...@httpd.apache.org 
 
 
>>> 
>>> It would help if you provide some more information such as relevant Apache 
>>> log configs such as:
>>> CustomLog
>>> ErrorLog
>>> 
>>> Search for those settings throughout your Apache config files.
>>> Perhaps by reviewing those settings the answer will become apparent.
>>> 
>>> -- 
>>> Jim Albert
>>> 
>>> 
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org 
>>> 
>>> For additional commands, e-mail: users-h...@httpd.apache.org 
>>> 
>>> 
>> 
> 
> 
> -- 
> Jim Albert



Re: [users@httpd] Logs not working

2022-01-04 Thread Luis Speciale

Maybe it is a stupid question, but, have you run apachectl -V?

On 05/01/2022 02:51, Jim Albert wrote:

On 1/4/2022 8:37 PM, James Coyle wrote:
I have checked both, but have made no changes to the locations of 
either the access log nor the error log:


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Logs not working

2022-01-04 Thread Jim Albert

On 1/4/2022 8:37 PM, James Coyle wrote:
I have checked both, but have made no changes to the locations of 
either the access log nor the error log:


 CustomLog "/private/var/log/apache2/access_log” common

As per these instructions, I have not created a Virtual Host 
container, so ostensibly the log files should not be elsewhere:


  # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a 
    # container, they will be logged here. Contrariwise, if you *do*
    # define per- access logfiles, transactions will be
    # logged therein and *not* in this file.

Might the change I added to the DirectoryIndex be culprit? i.e. the 
index.php file?


# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#

    DirectoryIndex index.php index.html


Thank you


I don't believe DirectoryIndex would be relevant to logging, but simply 
what content to provide when presented with a directory request.


How about your error log? Is it available and does it offer any clue 
when you restart Apache?


If you have separate SSL configs do the SSL configs present their own 
log configs?


Outside of those thoughts, are the directories listed in the log configs 
writable by root assuming root starts Apache?


Jim






On Jan 4, 2022, at 5:20 PM, Jim Albert  wrote:

On 1/4/2022 8:11 PM, James Coyle wrote:
I recently added PHP and MySql to my Apache setup, and now notice 
that the access and error logs are not working. (The site IS working)


They both stopped working on the 31st - I don’t know if that is 
relevant or not. I have not changed the location of the logs and I 
have not added a Virtual Host.


I’d be grateful if someone could help me rectify this.

Thank you.
-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org 

For additional commands, e-mail: users-h...@httpd.apache.org 





It would help if you provide some more information such as relevant 
Apache log configs such as:

CustomLog
ErrorLog

Search for those settings throughout your Apache config files.
Perhaps by reviewing those settings the answer will become apparent.

--
Jim Albert


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org 

For additional commands, e-mail: users-h...@httpd.apache.org 








--
Jim Albert


Re: [users@httpd] Logs not working

2022-01-04 Thread James Coyle
I have checked both, but have made no changes to the locations of either the 
access log nor the error log:

 CustomLog "/private/var/log/apache2/access_log” common

As per these instructions, I have not created a Virtual Host container, so 
ostensibly the log files should not be elsewhere:

  # The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a 
# container, they will be logged here.  Contrariwise, if you *do*
# define per- access logfiles, transactions will be
# logged therein and *not* in this file.

Might the change I added to the DirectoryIndex be culprit? i.e. the index.php 
file?

# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#

DirectoryIndex index.php index.html


Thank you


> On Jan 4, 2022, at 5:20 PM, Jim Albert  wrote:
> 
> On 1/4/2022 8:11 PM, James Coyle wrote:
>> I recently added PHP and MySql to my Apache setup, and now notice that the 
>> access and error logs are not working. (The site IS working)
>> 
>> They both stopped working on the 31st - I don’t know if that is relevant or 
>> not. I have not changed the location of the logs and I have not added a 
>> Virtual Host.
>> 
>> I’d be grateful if someone could help me rectify this.
>> 
>> Thank you.
>> -
>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>> For additional commands, e-mail: users-h...@httpd.apache.org
>> 
> 
> It would help if you provide some more information such as relevant Apache 
> log configs such as:
> CustomLog
> ErrorLog
> 
> Search for those settings throughout your Apache config files.
> Perhaps by reviewing those settings the answer will become apparent.
> 
> -- 
> Jim Albert
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
> 



Re: [users@httpd] Logs not working

2022-01-04 Thread Jim Albert

On 1/4/2022 8:11 PM, James Coyle wrote:

I recently added PHP and MySql to my Apache setup, and now notice that the 
access and error logs are not working. (The site IS working)

They both stopped working on the 31st - I don’t know if that is relevant or 
not. I have not changed the location of the logs and I have not added a Virtual 
Host.

I’d be grateful if someone could help me rectify this.

Thank you.
-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



It would help if you provide some more information such as relevant 
Apache log configs such as:

CustomLog
ErrorLog

Search for those settings throughout your Apache config files.
Perhaps by reviewing those settings the answer will become apparent.

--
Jim Albert


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Logs analyse

2013-08-01 Thread Tom Evans
On Thu, Aug 1, 2013 at 2:32 AM, Jerry K apache...@oryx.cc wrote:
 looking at the home page of both products, the last Webalizer update was
 April 2011.  The last Awffull update was in 2008.


So? The piped logger that I use to rotate my logs was last updated in
2004, it doesn't make it any way not the best damned piped logger
there ever was.

Cheers

Tom

PS: The piped logger is cronolog, if you were wondering

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Logs analyse

2013-07-31 Thread Jerry K
looking at the home page of both products, the last Webalizer update was 
April 2011.  The last Awffull update was in 2008.


Jerry

On 07/26/13 08:17 AM, Christopher Schultz wrote:

Vitthal,

On Jul 26, 2013, at 7:18, vitthal@tatamotors.com wrote:


Can anyone tell me the name of apache logs analyzer tool which is free and 
easily available.


You could use Webalizer or its more currently-maintained fork, awffull.

-chris



-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Logs analyse

2013-07-26 Thread Vincenzo D'Amore
Hi,

I like AWStats.

http://awstats.sourceforge.net/

Cheers,
Vincenzo


2013/7/26 vitthal@tatamotors.com

  Hi,

 ** **

 Can anyone tell me the name of apache logs analyzer tool which is free and
 easily available.

 ** **

 Regards,

 vitthal


 
 This e-Mail may contain proprietary and confidential information and is
 sentfor the intended recipient(s) only.
 If, by an addressing or transmission error,this mail has been misdirected
 to you, you are requested to delete this mailimmediately.
 You are also hereby notified that any use, any form of reproduction,
 dissemination, copying, disclosure, modification, distribution
 and/or publication of this e-mail message,contents or its attachment(s)
 other than by its intended recipient(s) is strictly prohibited.
 Any opinions expressed in this email are those of the individual and not
 necessarily of the organization.
 Before opening attachment(s), please scan for viruses.

 



Re: [users@httpd] Logs analyse

2013-07-26 Thread Christopher Schultz
Vitthal,

On Jul 26, 2013, at 7:18, vitthal@tatamotors.com wrote:

 Can anyone tell me the name of apache logs analyzer tool which is free and 
 easily available.

You could use Webalizer or its more currently-maintained fork, awffull.

-chris