Am Dienstag, den 18.07.2006, 07:33 -0700 schrieb Rick Herrick:
> 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.

No thats not the problem if i start it without commons daemon ( java
-jar ....) it works. So no daemon is allready bind to this port.

> 
> 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 /).
> 
I know and thats exactly why i want to use commons daemon. I just use
-user root to see if its a permission problem. If all works like i
asspected i want to start it as root and after that drop the
privilieges ..

bye
Norman

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to