commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Herrick" <r...@violetshivers.com>
Subject Re: Use Commons Daemon to start an application uses phoenix (james)
Date Tue, 18 Jul 2006 14:33:45 GMT
Norman Maurer wrote:
> org.apache.avalon.phoenix.interfaces.ApplicationException: Component
> named "pop3server" failed to pass through the Starting stage. (Reason:
> java.net.BindException: Permission denied).
>
> But i don't know why cause i called jsvc as root.
>
> Someone have a clue what todo?

Run a netstat on the server and see if another process is using the port
for which your service is configured (standard POP3 is 110, I think).  My
guess would be that something's already got 110, which is why permission
was denied, not because of inadequate perms on the root user.

Just FYI (and you may already know this and be doing it for test/dev
purposes), it's generally not a good idea to run services as root.  Any
server exploits can allow hackers to access the system as the owning user
of the service.  We generally run Apache and Tomcat as www-data, etc., for
precisely that reason (as co-sysadmin of a system where we caught a guy,
who then bailed the system but not before kicking off rm -rf /).

-- 
Rick Herrick
rick@violetshivers.com

I haven't got time for inner peace.

"No reasonable definition of reality could be expected to permit
this."--Albert Einstein, Boris Podolsky and Nathan Rosen in 1935


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message