I want turn on the mail server(apache jmail) by normal user(not root user),
so i tried the following step for under 1024 ports.
It runs well when root turns it on.
But it shutting down few second later when normal user turn it on, and it isn't remain any log on server.
I don't under stand why it is happened, and i can't find any solution by googling.
setcap 'cap_net_bind_service=+ep' java
vi java.conf ---> /usr/local/java/lib/amd64/jli
chown –R userId:group projectfolder
chown –R userId:group shared
vi /etc/security/limits.conf --->
userId soft nofile 65535
userId hard nofile 65535
vi .bash_profile --->