|
Home > Archive > AOL Webserver > February 2006 > Aolserver and ttrace
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Aolserver and ttrace
|
|
| Agnieszka Kukałowicz 2006-02-19, 8:15 am |
| Hi all,
I have problem with enabling ttrace mechanism In my AolServer
installation.
I followed the instructions from Thread2.6.2 package and did:
gunzip< thread2.6.2.tar.gz| tar -xv
cd thread2.6.2
../configure -enable-threads -with-aolserver=[my aolserver install dir]
-prefix=[my aolserver install dir]
-exec-prefix=[my aolserver install dir]
make; make install
and in my AolServer config file in module section:
ns_param libthread
${installdir}/lib/thread2.6.2/libthread2.6.2.so
After restarting AolServer I have in the log:
[17/Feb/2006:16:12:09][3125.1024][-main-] Notice: modload: loading
'/web/jail/opt/aolserver/lib/thread2.6.2/libthread2.6.2.so
So everything seems to be ok.
But further I don't know what I shall do to start using ttrace.
I would like to enable it in one place so nobody should trouble about
putting ttrace::enable or ns_eval in tcl files.
Is it possible?
By the way, my application running under AolServer is very similar to
OpenACS.
Any advice?
Thanks,
Agnieszka Kukalowicz
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
| |
| Gustaf Neumann 2006-02-19, 8:15 am |
| Hi Agniseszka,
i would think that ttrace does not depend on libtrhead, it just happens
to be distributed
with libthread. you should source from modules/tcl ttrace.tcl and call
then ::trace::enable
ttrace is nowadays packaged with sourceforge naviserver (i think, only
in cvs HEAD).
hope this helps
-gustaf
| |
| Bernd Eidenschink 2006-02-19, 8:15 am |
| Hi Agnieszka,
I send you ttrace-09.tar.gz. You will find all config options you need for
your config file in order to use it.
You do not need to install any shared libraries.
It works very well and stable for our servers -- but we do not run OpenAcs or
something like it. Nevertheless I know people also use it there on very large
installations.
Hope this helps,
Bernd.
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
| |
| Bernd Eidenschink 2006-02-19, 8:15 am |
| Ups...
> Hi Agnieszka,
.... To: AOLSERVER@LISTSERV.AOL.COM
Sorry for sending this over the list! It was not intended 
-Bernd.
| |
| Agnieszka Kukałowicz 2006-02-20, 7:45 am |
| Hi,
I used ttrace version 0.9 and followed the instructions.
So I copied init.tcl from ttrace-0.9/aolserver directory to
aolserver 4.x bin directory.
But when I start Aolserver and try to get any connection with my site
I get:
20/Feb/2006:14:47:08][6187.4101][-conn:mysite::0] Error: invalid command
name "\2"
invalid command name "\2"
while executing
"{\2} {\1} {\3} {}"
(in namespace eval "::xml" script line 3)
invoked from within
"::namespace eval ::xml {
::variable substExpr {}
{\2} {\1} {\3} {}
}"
or
Error: invalid command name "ad_conn"
invalid command name "ad_conn"
while executing
"ad_conn -set error_p 1"
or
Error: invalid command name "ns_cleanupchans"
invalid command name "ns_cleanupchans"
while executing
"ns_cleanupchans"
(procedure "ns_cleanup" line 5)
invoked from within
"ns_cleanup"
What else am I doing wrong?
Best regards
Agnieszka Kukalowicz
-----Original Message-----
From: AOLserver Discussion [mailto:AOLSERVER@LISTSERV.AOL.COM] On Behalf
Of Bernd Eidenschink
Sent: Friday, February 17, 2006 5:43 PM
To: AOLSERVER@LISTSERV.AOL.COM
Subject: Re: [AOLSERVER] Aolserver and ttrace
Hi Agnieszka,
I send you ttrace-09.tar.gz. You will find all config options you need
for
your config file in order to use it.
You do not need to install any shared libraries.
It works very well and stable for our servers -- but we do not run
OpenAcs or
something like it. Nevertheless I know people also use it there on very
large
installations.
Hope this helps,
Bernd.
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to
<listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.
| |
| Bernd Eidenschink 2006-02-20, 5:45 pm |
| Hi Agnieszka,
> I used ttrace version 0.9 and followed the instructions.
> So I copied init.tcl from ttrace-0.9/aolserver directory to
> aolserver 4.x bin directory.
did you
configure
make install
to actually also install "ttrace.tcl" to where your TCL libs are located?
-Bernd.
| |
| Agnieszka Kukałowicz 2006-02-20, 5:45 pm |
| Hi,
> did you
> configure
> make install
> to actually also install "ttrace.tcl" to where your TCL libs are
located?
Yes, I did.
I have two files in aolserver/lib/Ttrace1.0.0/: ttrace.tcl and
pkgIndex.tcl.
Agnieszka Kukalowicz
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to
<listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.
| |
| Agnieszka Kukałowicz 2006-02-21, 2:45 am |
| Hi all,=20
Because I didn't succeed in configure AOlserver with Ttrace version 0.9.
I again tried to install Ttrace from the Thread 2.6.2 package.=20
I have in directory aolserver/lib/tcl8.4/ directory thread2.6.2/ with
files=20
ttrace.tcl and pkgIndex.tcl. I also left the aolserver/bin/init.tcl file
from Ttrace 0.9 package. Everything seems to be ok.=20
But when I start server and try to make connection I still get errors
like this:
Error: invalid command name "ns_cleanupchans"
invalid command name "ns_cleanupchans"
while executing
"::tcl::unknown ns_cleanupchans"
("eval" body line 1)
invoked from within
"::eval ::tcl::unknown $args"
invoked from within
"ns_cleanupchans"
(procedure "ns_cleanup" line 5)
invoked from within
"ns_cleanup"
or=20
invalid command name "ad_conn"
while executing
"::tcl::unknown ad_conn -set error_p 1"
("eval" body line 1)
invoked from within
"::eval ::tcl::unknown $args"
invoked from within
"ad_conn -set error_p 1"
This seems to be problem with unknown procedure. =20
Any idea why it happens?
Agnieszka Kukalowicz
-----Original Message-----
From: AOLserver Discussion [mailto:AOLSERVER@LISTSERV.AOL.COM] On Behalf
Of Agnieszka Kuka=B3owicz
Sent: Monday, February 20, 2006 5:25 PM
To: AOLSERVER@LISTSERV.AOL.COM
Subject: Re: [AOLSERVER] Aolserver and ttrace
Hi,=20
> did you
> configure
> make install
> to actually also install "ttrace.tcl" to where your TCL libs are
located?
Yes, I did.=20
I have two files in aolserver/lib/Ttrace1.0.0/: ttrace.tcl and
pkgIndex.tcl.
Agnieszka Kukalowicz
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to
<listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to
<listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.
|
|
|
|
|