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 akasbi <wi...@gmail.com> on 2017/03/31 10:31:13 UTC
James on Mac Sierra
Hi,
I can't start/run the james-2.3.2.1 on Mac Sierra.
When I run: ./run.sh I get the following:
Using PHOENIX_HOME: /Users/name/Dev/james-2.3.2.1
Using PHOENIX_TMPDIR: /Users/name/Dev/james-2.3.2.1/temp
Using JAVA_HOME:
/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
Running Phoenix:
Phoenix 4.2
James Mail Server 2.3.2.1
Remote Manager Service started plain:4555
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException:
Component named "pop3server" failed to pass through the Starting stage.
(Reason: java.net.BindException: Permission denied (Bind failed)).
....
....
and when I run: sudo ./run.sh I get:
ERROR: JAVA_HOME not found in your environment.
Please, set the JAVA_HOME variable in your environment to match the
location of the Java Virtual Machine you want to use.
but I do have the JAVA_HOME set.
In terminal: $JAVA_HOME gives me:
-bash: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home: is
a directory
which is correct.
Any ideas pls. what could be the reason.
Thanks
--
View this message in context: http://james.10919.n7.nabble.com/James-on-Mac-Sierra-tp59796.html
Sent from the James - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: James on Mac Sierra
Posted by akasbi <wi...@gmail.com>.
Hi,
Resolved... the solution was to set the JAVA_HOME Environment Variable for
Sudo. and this was done on: /etc/sudoers. I used 'vi' to edit the file via
terminal.
sudo visudo
and then adding the following line after the Default settings for
Environment Variables:
Defaults env_keep += "JAVA_HOME"
That's all. To Check if the JAVA_HOME Environment Variable has been set
correctly for sudo, I just typed this command in the terminal.
sudo printenv
Thanks!
--
View this message in context: http://james.10919.n7.nabble.com/James-on-Mac-Sierra-tp59796p59856.html
Sent from the James - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: James on Mac Sierra
Posted by Pietro Romanazzi <p....@innova.puglia.it>.
Hi,
just try exporting JAVA_HOME.
Regards,
Pietro
-----Messaggio originale-----
From: akasbi
Sent: Friday, March 31, 2017 12:31 PM
To: server-user@james.apache.org
Subject: James on Mac Sierra
Hi,
I can't start/run the james-2.3.2.1 on Mac Sierra.
When I run: ./run.sh I get the following:
Using PHOENIX_HOME: /Users/name/Dev/james-2.3.2.1
Using PHOENIX_TMPDIR: /Users/name/Dev/james-2.3.2.1/temp
Using JAVA_HOME:
/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
Running Phoenix:
Phoenix 4.2
James Mail Server 2.3.2.1
Remote Manager Service started plain:4555
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException:
Component named "pop3server" failed to pass through the Starting stage.
(Reason: java.net.BindException: Permission denied (Bind failed)).
....
....
and when I run: sudo ./run.sh I get:
ERROR: JAVA_HOME not found in your environment.
Please, set the JAVA_HOME variable in your environment to match the
location of the Java Virtual Machine you want to use.
but I do have the JAVA_HOME set.
In terminal: $JAVA_HOME gives me:
-bash: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home: is
a directory
which is correct.
Any ideas pls. what could be the reason.
Thanks
--
View this message in context:
http://james.10919.n7.nabble.com/James-on-Mac-Sierra-tp59796.html
Sent from the James - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org