Page 1 of 1
Linux Server - How to run the example server
Posted: Thu 7. Oct 2010, 09:45
by F.Hessemer
The easiest way to run our demo server is to use a ubuntu 10.04.
Install the mysql-Server.
Create the mySQL-Database (Set <USERNAME> to your user name)
Now type after the prompt mysql>
Restore the mysql-Database.
Code: Select all
mysql -u root -p fmsdb < fmsdb.sql
Extract the server code from the tar archive with:
Code: Select all
tar -xzvf PCAN-GPSRLink_Linux_Server_x86_v1_2.tar.gz
Than install the libs, used with this server:
Code: Select all
sudo apt-get install libxerces-c28
sudo apt-get install libmysqlcppconn4
Now edit the file service.config. And set all parameter for your server.
Start the server.
Re: Linux Server - How to run the example server
Posted: Wed 16. Mar 2011, 15:17
by sberequek
Hi,
I followed all the steps described in previous posts, but as I start the server "Debug/pcanGprsd" I get the error "Segmentation Fault". The distribution I'm using is Ubuntu 10.10 . Suggestions?
thanks
Re: Linux Server - How to run the example server
Posted: Wed 16. Mar 2011, 16:20
by sberequek
Ok, problem solved, the server is running.
Thanks
Re: Linux Server - How to run the example server
Posted: Thu 23. Feb 2012, 14:34
by jmuller
Hi,
I would like to install this demo on Red Hat Enterprise Linux Server release 5.7. I tried to follow instructions in PCAN-GPRS SocketServer Installation Manual.pdf - I succesfully installed mysql-connector-c++-1.0.5, Xerces 2.8, MySQL Server 5 with database schema, but included server service binary (Debug/pcanGprsd) didn't start (error while loading shared libraries: libmysqlcppconn.so.4: cannot open shared object file: No such file or directory). So I tried to install mysql-connector-c++-1.1.0 instead of v1.0.5, but only library libmysqlcppconn.so.5 was installed. Then I tried to make link libmysqlcppconn.so.4 -> libmysqlcppconn.so.5, but then I got another error (error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory). Yes, because there is only libmysqlclient.so.15 installed and I didn't find any suitable package with this library.
Please, could somebody advise me, how to install this demo software on Red Hat Enterprise Linux Server release 5.7 or how to compile it ?
Thanks
Re: Linux Server - How to run the example server
Posted: Thu 23. Feb 2012, 15:47
by S.Michaelsen
Hello jmuller,
I'm sorry but I can't provide you any help about a Red Hat distribution. We are developing on Ubuntu 10.04 LTS only at the moment.
Best Regards,
Stephan Michaelsen