The dbsync is the right process.
This time a better log is shown below. Probably de program calls another one, but I cannot see how it is done.
Below is the log
[linux@localhost ~]$ /home/linux/comm5/dbsync &> /dev/null &
[linux@localhost ~]$ ps aux|grep dbsync |grep -v grep
linux 5316 12.3 1.0 119768 11072 ? Sl 01:26 0:00 /home/linux/comm5/dbsync
+ concluded /home/linux/comm5/dbsync &>/dev/null
See that the code that would return from "echo $!" is 5313, put the code that comes from a call to the process is 5316.
At this time the 5313 does not exist any more.
Below the part of the program where it is started
class Service : public QtService<QCoreApplication>
Service( int argc, char** argv ) : QtService<QCoreApplication>(argc, argv, "Program")
setServiceDescription(("Name of the program"));
quint16 listenPort = Settings::instance()->value("server/listen", xxxx).toUInt();
if ( !listener.listen( QHostAddress::Any, listenPort ) )
applog.out(QString("Error to listen port %1").arg(listenPort), Logfile::ERROR );
This code is called server instead of dbsync, but it has the same problem.