[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updating request of help



Also, please take a look at this email thread http://lists.outoforder.cc/pipermail/mod_log_sql/2008-July/000312.html .
The error messages generated are just like the ones you posted. Looking somewhat in the middle of the page, you will see that disabling/removing mod_log_sql fixed the problem:
####### MIDDLE OF PAGE ##########
When installed:

libapache2-mod-log-sql                     1.100-11.1

In short, both Perl and Bash CGI files generate "end of script headers"
when there is nothing wrong with the files.  Removing mod_log_sql's
module restores the scripts without having to edit them in any way. 
According to appache.org "any misbehaving third party module can cause
this problem".  It was driving me nuts when I thought there was a syntax
error in any of the CGI files as I could find nothing wrong.

I am also attaching some of the CGI files mentioned in the log.

Thank you for your assistance,

Mike Southworth
##### END MIDDLE OF PAGE #####

To just disable (you may want to try this first and restart your apache server) sudo a2dismod mod_log_sql
To remove it, follow these instructions: https://installion.co.uk/ubuntu/trusty/universe/l/libapache2-mod-log-sql/uninstall/index.html


On Fri, Nov 11, 2016 at 5:52 AM, Sergio Chaves <..hidden..> wrote:

Hey Rodriguez,
I think that the issue lies at your repository choice ( the PPA).
You mentioned running Ubuntu server 14.04 lts but you mentioned that you added a PPA (repository ) from the newest 16.04 Ubuntu version.
Although similar in functionality,  there are many differences "under the hood", links,  libraries,  etc. causing applications not to behave as expected.
You may want to try:
01 - removing the package with apt or synaptic
02 - remove the 16.04 PPA
03 - restart the server
04 - do an "apt-get clean all" without the quotes.
05 - Add the same repository  (PPA) back  but for the 14.04 version
06 - do an "apt-get update "
07 - do an "apt-get install  <package name>


On Nov 9, 2016 3:08 PM, "RODRIGUEZ FONSECA JORGE ALBERTO" <..hidden..> wrote:
Hello:

At first I want to excuse if my english isn't clear, but it is because it isn't my native language. I did as well as I could.

Some days before, I request if would one help to run LedgerSMB in my Os Ubuntu 14.04-1 LTS. Now with ppa I have installed LedgerSMB 1.4.34. To remember my problem, when I run on the browser: http://localhost/ledgersmb/setup.pl, I get this message:

500 Internal Server Error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.
Apache/2.4.18 (Ubuntu) Server at localhost Port 80

The server error log show this:

PHP Warning:  Module 'mysqlnd' already loaded in Unknown on line 0
[Wed Nov 09 08:50:09.803926 2016] [mpm_prefork:notice] [pid 1226] AH00163: Apache/2.4.18 (Ubuntu) mod_perl/2.0.9 Perl/v5.22.1 configured -- resuming normal operations
[Wed Nov 09 08:50:09.804218 2016] [core:notice] [pid 1226] AH00094: Command line: '/usr/sbin/apache2'
[Wed Nov 09 08:50:10.807878 2016] [:error] [pid 4792] mod_log_sql: insufficient configuration info to establish database link
[Wed Nov 09 08:50:10.807966 2016] [:error] [pid 4792] mod_log_sql: child spawned but unable to open database link
[Wed Nov 09 08:50:10.808642 2016] [:error] [pid 4791] mod_log_sql: insufficient configuration info to establish database link
[Wed Nov 09 08:50:10.808686 2016] [:error] [pid 4791] mod_log_sql: child spawned but unable to open database link
[Wed Nov 09 08:50:10.809226 2016] [:error] [pid 4793] mod_log_sql: insufficient configuration info to establish database link
[Wed Nov 09 08:50:10.809266 2016] [:error] [pid 4793] mod_log_sql: child spawned but unable to open database link
[Wed Nov 09 08:50:10.810392 2016] [:error] [pid 4794] mod_log_sql: insufficient configuration info to establish database link
[Wed Nov 09 08:50:10.811456 2016] [core:notice] [pid 1226] AH00051: child pid 1237 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Nov 09 08:50:10.811525 2016] [core:notice] [pid 1226] AH00051: child pid 1238 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Nov 09 08:50:10.811542 2016] [core:notice] [pid 1226] AH00051: child pid 1239 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Nov 09 08:50:10.811558 2016] [core:notice] [pid 1226] AH00051: child pid 1240 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Nov 09 08:50:10.811574 2016] [core:notice] [pid 1226] AH00051: child pid 1241 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Nov 09 08:50:10.810448 2016] [:error] [pid 4794] mod_log_sql: child spawned but unable to open database link
[Wed Nov 09 08:50:10.812286 2016] [:error] [pid 4795] mod_log_sql: insufficient configuration info to establish database link
[Wed Nov 09 08:50:10.812317 2016] [:error] [pid 4795] mod_log_sql: child spawned but unable to open database link
[Wed Nov 09 13:57:01.289696 2016] [:error] [pid 1060] mod_log_sql: insufficient configuration info to establish database link
[Wed Nov 09 13:57:01.372054 2016] [:error] [pid 1060] mod_log_sql: child spawned but unable to open database link
[Wed Nov 09 13:57:38.091950 2016] [cgi:error] [pid 4791] [client 127.0.0.1:35408] End of script output before headers: setup.pl

The Access log show this:

127.0.0.1 - - [09/Nov/2016:13:57:33 -0600] "GET /ledgersmb/setup.pl HTTP/1.1" 500 799 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0"

Would someone help me please,

Regards,

Jorge Rodríguez




------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Ledger-smb-users mailing list
Ledger-smb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users




--
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users