We have the service started with the dbsvc utility using the -o and -oe options as described here.
For Windows, both options are described in the DCX documentation but they are not part of the Service utility for Linux.
Since the log files seem to be generated fine in the Linux server, are the -o and -oe options not supported for Linux for 18.104.22.16859?
Both of those options are server options, not dbsvc options. The dbsvc utility works as follows:
dbsvc [dbsvc switches] -w <name> [server exe] [server switches]
The confusing part is that on Windows, -o is both a dbsvc switch and a server switch. If the -o switch appears before the -w, dbsvc uses it itself and writes its output there. If it appears after the -w, dbsvc passes it along to the service it creates. The -o switch is not supported by dbsvc on Linux.
You are trying to use the -o and -oe server switches, so they need to appear after the -w. Sorry my answer was so terse before. I hope this clarifies things.
Well, according to the docs on dbsvc for Windows, -o is also a dbsvc modifier option and gives the possibiliy to log the dbsvc execution itself, so its meaning depends on its position - cf. this sample:
dbsvc -o out1.txt -y -as -w mydsn "%SQLANY12%\bin32\dbsrv12" -n mysrv -o c:\out2.txt
Don't know and can't test whether this is supported on Linux, too - it's not documented there.
Note: In your sample, you are just using -o and -oe as dbsrv12 options - that will work on both platforms.