Forum .LRN Q&A: Service break at fisrt request Debian Lenny

I installed the packages needed to run a dotlrn, but the first request the service this fall

In this way upload service

sudo /usr/sbin/aolserver4-nsd -b 142.163.32.38:8000 -u user -g group -t /var/websites/dotlrn/etc/config.tcl

este es parte del los log de

Postgres.log

[2009-06-22 08:04:31 CST] [] [] [] [4a3f8f6c.91a] --- LOG:  could not load root certificate file "root.crt": no SSL error$
[2009-06-22 08:04:31 CST] [] [] [] [4a3f8f6c.91a] --- DETAIL:  Will not verify client certificates.
[2009-06-22 08:04:31 CST] [] [] [] [4a3f8f6f.91b] --- LOG:  database system was shut down at 2009-06-19 17:01:34 CST
[2009-06-22 08:04:31 CST] [] [] [] [4a3f8f6f.91e] --- LOG:  autovacuum launcher started
[2009-06-22 08:04:31 CST] [] [] [] [4a3f8f6c.91a] --- LOG:  database system is ready to accept connections
[2009-06-22 08:04:32 CST] [[unknown]] [[unknown]] [[local]] [4a3f8f70.920] --- LOG:  incomplete startup packet
[2009-06-22 08:32:21 CST] [user] [db] [[local]] [4a3f959a.c1d] --- LOG:  unexpected EOF on client connection
[2009-06-22 08:32:21 CST] [user] [db] [[local]] [4a3f959a.c1e] --- LOG:  unexpected EOF on client connection
[2009-06-22 08:32:21 CST] [user] [db] [[local]] [4a3f959a.c1b] --- LOG:  unexpected EOF on client connection
[2009-06-22 08:32:21 CST] [user] [db] [[local]] [4a3f959a.c1a] --- LOG:  unexpected EOF on client connection
[2009-06-22 08:32:21 CST] [user] [db] [[local]] [4a3f959a.c1c] --- LOG:  unexpected EOF on client connection
[2009-06-22 08:32:21 CST] [user] [db] [[local]] [4a3f959a.c1f] --- LOG:  unexpected EOF on client connection

along with this is the error log to make a specific request

[2009-06-23 08:02:31 CST] [] [] [] [4a40e074.915] --- LOG:  could not load root certificate file "root.crt": no SSL error reported
[2009-06-23 08:02:31 CST] [] [] [] [4a40e074.915] --- DETAIL:  Will not verify client certificates.
[2009-06-23 08:02:31 CST] [] [] [] [4a40e077.916] --- LOG:  database system was shut down at 2009-06-22 16:55:20 CST
[2009-06-23 08:02:31 CST] [] [] [] [4a40e077.919] --- LOG:  autovacuum launcher started
[2009-06-23 08:02:31 CST] [] [] [] [4a40e074.915] --- LOG:  database system is ready to accept connections
[2009-06-23 08:02:31 CST] [[unknown]] [[unknown]] [[local]] [4a40e077.91b] --- LOG:  incomplete startup packet
[2009-06-23 08:30:23 CST] [user] [db] [127.0.0.1(42484)] [4a40e659.cf4] --- LOG:  could not receive data from client: Connection reset by peer
[2009-06-23 08:30:23 CST] [user] [db] [127.0.0.1(42484)] [4a40e659.cf4] --- LOG:  unexpected EOF on client connection
[2009-06-23 08:30:23 CST] [user] [db] [127.0.0.1(42486)] [4a40e659.cf6] --- LOG:  could not receive data from client: Connection reset by peer
[2009-06-23 08:30:23 CST] [user] [db] [127.0.0.1(42486)] [4a40e659.cf6] --- LOG:  unexpected EOF on client connection
[2009-06-23 08:30:23 CST] [user] [db] [127.0.0.1(42485)] [4a40e659.cf5] --- LOG:  could not receive data from client: Connection reset by peer
[2009-06-23 08:30:23 CST] [user] [db] [127.0.0.1(42485)] [4a40e659.cf5] --- LOG:  unexpected EOF on client connection
[2009-06-23 08:30:23 CST] [user] [db] [127.0.0.1(42483)] [4a40e659.cf3] --- LOG:  could not receive data from client: Connection reset by peer
[2009-06-23 08:30:23 CST] [user] [db] [127.0.0.1(42483)] [4a40e659.cf3] --- LOG:  unexpected EOF on client connection
[2009-06-23 08:30:23 CST] [user] [db] [127.0.0.1(42487)] [4a40e659.cf7] --- LOG:  could not receive data from client: Connection reset by peer
[2009-06-23 08:30:23 CST] [user] [db] [127.0.0.1(42487)] [4a40e659.cf7] --- LOG:  unexpected EOF on client connection
[2009-06-23 08:30:23 CST] [user] [db] [127.0.0.1(42488)] [4a40e659.cf8] --- LOG:  could not receive data from client: Connection reset by peer
[2009-06-23 08:30:23 CST] [user] [db] [127.0.0.1(42488)] [4a40e659.cf8] --- LOG:  unexpected EOF on client connection
[2009-06-23 08:30:23 CST] [user] [db] [127.0.0.1(42489)] [4a40e6fe.d26] --- LOG:  could not receive data from client: Connection reset by peer
[2009-06-23 08:30:23 CST] [user] [db] [127.0.0.1(42489)] [4a40e6fe.d26] --- LOG:  unexpected EOF on client connection

Collapse
Posted by Héctor Romojaro on
Hi Fernando,

Are you using the dotlrn debian packages? There is information about how to install them here: https://openacs.org/xowiki/debian

Cheers, Héctor

Hi Héctor

Yes i'm using deb package, for TCL8.5, PostgreSQL8.3 and AolServer4.5, tdom,... but i download dotLRN from official site, unpack, configure the config.tcl and install. what's wrong?

Thanks, Fernando.

Collapse
Posted by Byron Linares on
Hi Fernando,
You should post more specific details of your installation and the steps that you follow,
also post what the error.log of openacs is printing

Best,
Byron Linares

The installation process was as follows

apt-get install tcl8.5 .....
apt-get install postgresql-8.3 ....
apt-get install aolserver4 ...
apt-get install tdom ...
apt-get install xotcl ...
apt-get install tcllib tclthreads

unpack dotlrn2.4.1, config the config.tcl
up the service with aolserver-nsd .....

the error log is

[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: Bootstrap: Done loading OpenACS.
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: Sourcing files for postload...
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: Done.
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: Executing initialization code blocks...
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: Executing initialization code block filters_register in /var/websites/unis/packages/acs-tcl/tcl/request-processor-init.tcl
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: ns_register_filter trace GET /* rp_invoke_filter  0 0 3 ds_trace_filter {}
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: ns_register_filter trace POST /* rp_invoke_filter  1 0 3 ds_trace_filter {}
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: ns_register_filter trace HEAD /* rp_invoke_filter  2 0 3 ds_trace_filter {}
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: Executing initialization code block procs_register in /var/websites/unis/packages/acs-tcl/tcl/request-processor-init.tcl
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: ns_register_proc  GET /grades-sheet-csv* rp_invoke_proc {0 0 0 evaluation::generate_grades_sheet {}}
[23/Jun/2009:09:09:26][3637.3083474608][-main-] Notice: ns_register_proc  POST /grades-sheet-csv* rp_invoke_proc {0 0 0 evaluation::generate_grades_sheet {}}
[23/Jun/2009:09:09:27][3637.3083474608][-main-] Notice: nsmain: AOLserver/4.5.0 running
[23/Jun/2009:09:09:27][3637.3083474608][-main-] Notice: nsmain: security info: uid=1002, euid=1002, gid=1001, egid=1001
[23/Jun/2009:09:09:27][3637.3073559440][-sched-] Notice: sched: starting
[23/Jun/2009:09:09:27][3637.3083474608][-main-] Notice: driver: starting: nssock
[23/Jun/2009:09:09:27][3637.3045964688][-nssock:driver-] Notice: starting
[23/Jun/2009:09:09:27][3637.3045964688][-nssock:driver-] Notice: nssock: listening on <<IP:PORT>>
[23/Jun/2009:09:09:40][3637.3037567888][-conn:0-] Notice: random: generating 1 seed
[23/Jun/2009:09:09:42][3637.3037567888][-conn:0-] Notice: encoding: loaded: iso8859-1
Tcl_SetBooleanObj called with shared object

Collapse
Posted by Héctor Romojaro on
Hi Fernando,

The "Tcl_SetBooleanObj called with shared object" error on Lenny's aolserver 4.5.0 is a common problem, it is described here: http://article.gmane.org/gmane.comp.web.aolserver/13650

I rebuilt the package with the fix mentioned there (and bgdelivery patch) and uploaded it to my debian repo. (deb http://debian.adenu.ia.uned.es/apt lenny main). You can use them and check if the error persists.

Note that the packages are built on the amd64 arch, if you are using i386 (or other), you'll have to rebuild them. You can do it this way:

# apt-get source aolserver4
# apt-get build-dep aolserver4
# dpkg-buildpackage -rfakeroot -uc -b (into the package directory)
# dpkg -i aolserver4...

BTW, you don't need tcl8.5, aolserver is compiled against 8.4 on lenny.

Hope it helps.

-- Héctor

thank you very much Hector, the service is working correctly, doing this change to the package

Fernando