[Lazarus] Linux service

Michael Van Canneyt michael at freepascal.org
Fri Mar 15 12:42:02 CET 2013



On Fri, 15 Mar 2013, Antonio Fortuny wrote:

>> 
>> -> the process is started and writes to the system log. You should see
>> what happens in /var/log/syslog.
> /var/log/messages:
> Mar 15 11:14:29 linux-5yg5 ipservice: [Info] Daemon Sita - Pocket service 
> current status: Start Pending
> Mar 15 11:14:29 linux-5yg5 ipservice: [Info] Failed to start daemon 
> SitaPocketService : Semaphore init failed (possibly too many concurrent 
> threads)
>
> both messages are written on every launch. The progran does not use any 
> explicit semaphore

did you add
{$ifdef unix}
uses cthreads;
{$endif}

To your program's uses clause ?

Michael.




More information about the Lazarus mailing list