Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Having recently switched to Linux OS (Red Hat Linux ws 4), I am finding it extremely confusing to understand how to install and configure stuff as non-root.
I have installed tomcat and eclipse with its tomcat sysdeo plugin as root.
As a non-root user, when I try to start tomcat from within eclipse (i.e usiing the sysdeo plugin) I cannot and its says I do not have permission.
My understanding is that I should not be going around tomcat installation and changing the permissions and giving execute permissions to others and stuff. That will not be the correct way of doing things - right?
Even if I create a "tomcat" user to start tomcat, I will still not be able to start tomcat from eclipse when I am logged on as "myself".
Can anyone give me insight on how do ppl install and configure these applications without runnung into premission problems?
I never thought about these accesibilty/permission issues while working on Windows.
I have installed Tomcat as root at the following place:-
Using CATALINA_BASE: /opt/jakarta-tomcat-5.0.28
Using CATALINA_HOME: /opt/jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: /opt/jakarta-tomcat-5.0.28/temp
Using JAVA_HOME: /usr/java/j2sdk1.4.2_07
I have installed Eclipse in my home folder as myself (non-root)
I have also installed Eclipse Sysdeo Pluin to be able to start stop Tomcat from within eclipse itself.
When I(non-root) start eclipse and then try to start tomcat from witin eclipse, I get the following error
(I think it is beacuse I cannot start Tomcat as non-root)
Can't load server.xml
Can't load server.xml
Mar 11, 2005 10:55:37 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Caused by: java.lang.NullPointerException
... 6 more
My question is :-
How do I configue eclipse to be able to start stop Tomcat when I am logged on as non-root?
Am I doing something worng here in terms of permissions?
For anyone who stumbles upon this page like I did, the solution to running Tomcat as a non-root user is to do:
chmod 755 on com.sysdeo.tomcat
inside the eclipse plugin directory on your system. If you do not have root access, ask someone who does to do it for you. And please make sure that you also have executable permissions on the Tomcat binaries (since the Eclipse plugin would need to do that under your login).