[fpc-pascal] FpHttpServer and DaemonApp does not works on Linux

silvioprog silvioprog at gmail.com
Thu Nov 7 14:47:50 CET 2013


I'm trying to use a HTTP server with daemon on Linux, but, it does not
works. I did a project that is working perfectly well on Windows, but on
Linux, although the service is successfully installed, it does not starts
the HTTP server.

I followed this tutorial:


You can download the project test in attached or in this link:


And the shell script:


To test, follow these steps:

1. Compile the project1.lpr, and copy the generated executable to "/bin/";
2. Unzip "project1.zip", it is just a shell script, and copy if to
/etc/init.d/, after execute "# chmod +x project1" and  "# service project1
3. Open your browser and access: http://localhost:5445;

Where am I going wrong? Some time ago I've done this test, and if I not
mistake it worked.

Silvio Cl├ęcio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20131107/6d3bae72/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: daemon.zip
Type: application/zip
Size: 2379 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20131107/6d3bae72/attachment.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: project1.zip
Type: application/zip
Size: 990 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20131107/6d3bae72/attachment-0001.zip>

More information about the fpc-pascal mailing list