I don't understand.
The connection to MySQL isn't working?

Yes sorry the makefile was in mysac

Le 31/05/2011 19:26, lkgs a écrit :
Hey,

now, I can start the APE Server in the newest version (1.2-dev). Also
I can see my module in the loading list: [JS] Loading script ../
scripts/plugins/MySQL.js... , but while starting the module class, the
code have to set up a MySQL-Connection, but there isn't any (debug)
output in the logfile or system output of ./aped.

And I noticed that there isn't a Makefile in directory modules/deps/.
Only in modules/deps/mysac/-folder, which is included in the main
Makefile.

But where is my MySQL-Connection, which could be set up and used by
the servermodule?! :/

I think it will not be possible to finish my project until Saturday...
But APE would have been such a nice and interessting topic.

Best regards,
Michael


On 31 Mai, 18:37, Anthony Catel<[email protected]>  wrote:
Yes, it seems that there is an issue with mysql.

What you need is to compile APE from the source :

Download this :https://github.com/APE-Project/APE_Server/tarball/master

Try this :

# apt-get install zip
$ tar -xzf file.tar.gz&&  cd APE_Server/
$ sh build.sh
$ cd modules/deps/&&  make
$ cd ../&&  make&&  cd ../&&  make

Le 31/05/2011 17:27, lkgs a crit :







Okay,
now APE is running in Version 1.1.1 on my server.
But I still get the referenced message "/usr/bin/aped: symbol lookup
error: /usr/lib/ape/libmod_spidermonkey.so: undefined symbol: scramble
failed!" while including my MySQL-Serverside-Module.
In this topic (http://groups.google.com/group/ape-project/
browse_thread/thread/bf7eb99f05551bbe), Pierre answered:
"Ok I compiled libmod_spidermonkey.so with sources, and all is fine."
->    But how can I compile the Unix Library (*.so) once again for error-
free execution?
I am grateful for your help.
Best wishes from Germany,
Michael
On 31 Mai, 16:36, Anthony Catel<[email protected]>    wrote:
Hi,
Oups indeed. Just fixed the amd64 package.
Le 31/05/2011 10:39, lkgs a crit :
Hello,
an no, it was APE 1.0.
But now, first i want to upgrade my APE.
Yesterday night (in Germany) I wanted to install APE 1.1.0, but first
I get problems with the "libmysqlclient16"-dependency and must add a
backport-source to get this files (unter Debian Lenny, 64bit). Here is
the url, if someone is interested to that:
Sources.list
debhttp://backports.debian.org/debian-backportslenny-backportsmain
Or directly in web 
under:http://packages.debian.org/lenny-backports/libmysqlclient16
After installation, I wanted to run my server modul-plugin, but I get
an error: /usr/bin/aped: symbol lookup error: /usr/lib/ape/
libmod_spidermonkey.so: undefined symbol: scramble
It's the same as in:
http://groups.google.com/group/ape-project/browse_thread/thread/bf7eb...
This morning I discovered, that once a new version (1.1.1) is
availible and I wanted to install this source with the
APE_Server-1.1.1-amd64.deb-File (http://www.ape-project.org/stable/
APE_Server-1.1.1-amd64.deb).
But there seems to be another error an while execute in bash I got the
error:
dpkg: error processing APE_Server-1.1.1-amd64.deb (--install):
package architecture (i386) does not match system (amd64)
I still contected the IRC Channel and Martin (User: Mekza) would take
care of it and now I hope I can test my servermodule in a few hours
once again. Then I will report you and keep you posted.
Greetings,
Michael
On 30 Mai, 18:50, Anthony Catel<[email protected]>      wrote:
Hi,
Are you using APE 1.1.0?
Thanks
Le 30/05/2011 18:33, lkgs a crit :
Hello everybody,
at first, excuse me for my bad English please.
At the end of the week (Saturday), I have to give away a practical
work for my university study, but my own APE-server modul won't work.
I can start my server, but after a certain period of time, the server
terminates unexpectedly.
The error message in the shell console is:
/lib/lsb/init-functions: line 30:  5812 Segmentation fault      /sbin/
start-stop idfile" -- "$@"
     failed!
Does anyone know this error message?
Or can help me with my server module?
It think the line of code is causing in the method called
'updateScreens' in the class ContentGenerator (see line 92 of the
document).
You can download the full javascript code of the module here:
http://www.file-upload.net/download-3470118/MySQL.js.html
And here is a cutting of the Ape-config-file (/etc/ape/ape.conf):
Server {
            port = 6969
            daemon = no
            ip_listen = 0.0.0.0
            domain = auto
            rlimit_nofile = 10000
            pid_file = /var/run/aped.pid
}
Log {
            debug = 1
            use_syslog = 0
            logfile = /var/log/ape.log
}
I hope someone can help me and thank you for your time you invested
here already.
If you have any questions, please ask.
Best regards,
Michael

--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to