Re: [mlmmj] Errors on Cron job
Ben Schmidt <[email protected]>
| Newsgroups | org.mlmmj.mlmmj |
|---|---|
| Message-ID | <[email protected]> |
My guess: Mlmmj looks at the command used to invoke it to call other processes. It requires the full path to be used. So you must use /usr/bin/mlmmj-receive not just mlmmj-receive. It will then execute other commands such as /usr/bin/mlmmj-sub and /usr/bin/mlmmj-send. If you used a symlink, it could be that it can't find these other executables unless you symlinked them all. I would suggest finding where /usr/local/bin/mlmmj-receive is being called by script or your mail server and changing it to the correct path rather than using symlinks. Check syslog and $listdir/operation.log for useful messages (most likely in syslog), too. They might shed more light on what's going on. Smiles, Ben On 27/01/2017 4:31 am, Barco van Rhijn wrote: > Good Evening, > > Recently setup MLMMJ on a Centos server that has Cpanel installed. > > *I get this error in my mail delivery log:* > > "Child process of mlmmj_transport transport returned 127 (could mean unable to > exec or command does not exist) from command: /usr/local/bin/mlmmj-receive" > > I checked the commands do not exist in this location > On Centos the commands are indeed located in /usr/bin/ > > So I've created a symbolic link for that file in the expected directory. > > *This did sort of work but now I get an error :* > Child process of mlmmj_transport transport returned 1 from command: > /usr/local/bin/mlmmj-receive > > Any ideas how I could resolve this? > > BTW: My Cron is executed as root and I've checked permissions to the spool > directory before hitting this roadblock. > > Warm Regards > Barco van Rhijn