Dear Massimo,

Switching MPM to prefork fixed the issue.
(Experimental code does not seem to run with event MPM, at least for the returned body.)

Thanks,

George

On 15/12/2014 18:29, Massimo Manghi wrote:
Hold on, if you built the apache-2 code you must run the prefork MPM, with the experimental code you have the option of running also worker. The event MPM should work with the threaded bridge but I have to check if the right bridge gets loaded

 -- Massimo

On 12/15/2014 05:26 PM, Georgios Petasis wrote:
On 15/12/2014 18:16, Massimo Manghi wrote:
which MPM are you running? Do you have any error in the error log?

Good question :D
There is no error in the log, but it seems that ubuntu uses the event MPM:

apachectl -V
AH00558: apache2: Could not reliably determine the server's fully
qualified domain name, using 127.0.1.1. Set the 'ServerName' directive
globally to suppress this message
Server version: Apache/2.4.10 (Ubuntu)
Server built:   Jul 25 2014 10:24:21
Server's Module Magic Number: 20120211:36
Server loaded:  APR 1.5.1, APR-UTIL 1.5.3
Compiled using: APR 1.5.1, APR-UTIL 1.5.3
Architecture:   64-bit
Server MPM:     event
   threaded:     yes (fixed thread count)
     forked:     yes (variable process count)
Server compiled with....
  -D APR_HAS_SENDFILE
  -D APR_HAS_MMAP
  -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
  -D APR_USE_SYSVSEM_SERIALIZE
  -D APR_USE_PTHREAD_SERIALIZE
  -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
  -D APR_HAS_OTHER_CHILD
  -D AP_HAVE_RELIABLE_PIPED_LOGS
  -D DYNAMIC_MODULE_LIMIT=256
  -D HTTPD_ROOT="/etc/apache2"
  -D SUEXEC_BIN="/usr/lib/apache2/suexec"
  -D DEFAULT_PIDLOG="/var/run/apache2.pid"
  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
  -D DEFAULT_ERRORLOG="logs/error_log"
  -D AP_TYPES_CONFIG_FILE="mime.types"
  -D SERVER_CONFIG_FILE="apache2.conf"

George

 -- Massimo

On 12/15/2014 05:14 PM, Georgios Petasis wrote:
Dear Massimo,

Thanks for the info. I tried compiling both codes, and both return no
result.
I can see the returned headers, but the body is missing (completely).

Best,

George


On 15/12/2014 17:48, Massimo Manghi wrote:
replace

  --with-apache-version=2
with

 --with-rivet-core=experimental or --with-rivet-code=apache-2

 -- Massimo

On 12/15/2014 04:39 PM, Georgios Petasis wrote:
On 15/12/2014 17:30, Massimo Manghi wrote:
Hi George

did you build the experimental or the traditional (apache-2) code?
Hm, I don't know. I followed (my) instractions here:
http://www.ellogon.org/index.php/support/installing-ellogon-services/43-installing-ellogon-http-rest-services-ubuntu



Step 5:

cd rivet
sh genconf.sh(this  may failwith  an error)
sh genconf.sh
autoreconf-fi
sh configure--enable-64bit  --enable-threads \
  --with-tcl=/opt/ActiveTcl-8.6/lib \
  --with-tclsh=/opt/ActiveTcl-8.6/bin/tclsh8.6  \
  --with-apxs=/usr/bin/apxs2 \
  --with-apache-version=2  \
  --with-rivet-target-dir=/usr/lib/tcltk/rivet2.2  \
  --enable-version-display


Best,

George

 -- Massimo

On 12/15/2014 04:25 PM, Georgios Petasis wrote:
Hi all,

I have just compiled the latest HEAD of Rivet from SVN under Ubuntu
14.10 64 bit.
While I don't get an error while calling a simple script (which
contains
only a simple "puts hello"), nothing is returned.
Any ideas why?

(No error is printed in /var/log/apache2/error.log either.)

Regards,

George

---------------------------------------------------------------------

To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org

Reply via email to