Jump to content

Running MTA server with nohup on Debian


Woet

Recommended Posts

Posted

When running the MTA server using nohup, it keeps spamming the following in a nohup.out file:

[24d[m(B[39;49m[37m[40m[H[C[0;1m(B[34m[47m/

[24d[m(B[39;49m[37m[40m[H[C[0;1m(B[34m[47m-

[24d[m(B[39;49m[37m[40m[H[C[0;1m(B[34m[47m\

The command im using:

nohup ./mta_server & 

EDIT: I have fixed it for now by telling nohup to NOT make the nohup.out file

  • 1 month later...
Posted

It seems that MTA fails to start at certain conditions, which include nohup, but im not sure which other conditions.

I can start it from putty, but not using the PHP extension SSH with command ssh2_exec (executing the same command under the same user)

This extension works fine with SA:MP, Shoutcast, Ventrilo etc.

Posted

That's not a MTA bug, it's the way nohup works.

Though, you can disable it using something around the following lines

nohup ./mta > /dev/null 2>&1 & 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...