You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Kenneth Wombo <ke...@hotmail.com> on 2009/09/05 11:56:23 UTC
Problems with running JAMES as non-root
Hello, I'm setting up JAMES 2.3.2 and I'm trying to run it as a daemon via a non-root user on an Ubuntu server. Based on advice from old threads I've found I've used iptables to redirect the standard mail ports to non-privileged ones (above 38000) and set those in the config.xml for JAMES. I've tested out the port redirection using netcat and that seems to be working.
I have also chowned all of the files to be owned by the non-root user.
When I run phoenix.sh as root it looks like everything is working - I see the JAMES process through ps -e and jps and I can telnet into the remote manager.
But when I try to start it as my non-root user, although phoenix.sh appears to run normally and it reports a process ID, when I look in ps -e there isn't any process with that id or which otherwise corresponds to JAMES and I cannot connect to the remote manager. Is there anything I'm obviously doing wrong? I'm relatively new to Linux administration.
Thanks in advance,
Ken
_________________________________________________________________
Click less, chat more: Messenger on MSN.ca
http://go.microsoft.com/?linkid=9677404
RE: Problems with running JAMES as non-root
Posted by Kenneth Wombo <ke...@hotmail.com>.
Norman wrote:
> Any errors ?
No, that's what's odd. When logged in as the non-root user running phoenix.sh gives exactly the same output as does running it as root - stating PHOENIX_HOME, stating the pid for the process, etc. - but the process does not appear. I would have expected to see a stack trace or something.
Ken
_________________________________________________________________
New! Faster Messenger access on the new MSN homepage
http://go.microsoft.com/?linkid=9677406
Re: Problems with running JAMES as non-root
Posted by Norman Maurer <no...@apache.org>.
Any errors ?
Bye,
Norman
2009/9/5 Kenneth Wombo <ke...@hotmail.com>:
>
> Hello, I'm setting up JAMES 2.3.2 and I'm trying to run it as a daemon via a non-root user on an Ubuntu server. Based on advice from old threads I've found I've used iptables to redirect the standard mail ports to non-privileged ones (above 38000) and set those in the config.xml for JAMES. I've tested out the port redirection using netcat and that seems to be working.
>
> I have also chowned all of the files to be owned by the non-root user.
>
> When I run phoenix.sh as root it looks like everything is working - I see the JAMES process through ps -e and jps and I can telnet into the remote manager.
>
> But when I try to start it as my non-root user, although phoenix.sh appears to run normally and it reports a process ID, when I look in ps -e there isn't any process with that id or which otherwise corresponds to JAMES and I cannot connect to the remote manager. Is there anything I'm obviously doing wrong? I'm relatively new to Linux administration.
>
> Thanks in advance,
>
> Ken
>
> _________________________________________________________________
> Click less, chat more: Messenger on MSN.ca
> http://go.microsoft.com/?linkid=9677404
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org