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.
I have installed Apache 2.2 and Tomcat 5.5.23 on a RHEL 5.1 system.
I can see the tomcat home page at http://localhost:8080, and I can access and run my application servlets, but I cannot use the tomcat admin or manager functions. When I click admin, I get:
Tomcat's administration web application is no longer installed by default. Download and install the "admin" package to use it.
This is not true. The package is definitely installed. I did a yum on tomcat5-admin-webapps and then, just to be sure, downloaded and installed the tomcat admin package from tomcat.apache.org--no help.
(When I click tomcat manager, I get a 404 error. I assume that this is a symptom of the same problem.)
Anybody know what is going on? If so, please respond here or e-mail email@example.com. Thanks.
Thanks for your replies. The link you provided tells me that I have to have the manager.xml file (which I do, as it is installed by default) and that I have to set up one or more manager roles for users in
tomcat-users.xml, which I have already done. But I am still getting the 404 error. And I am assuming that these instructions are not relevant to my inability to see the admin function, which must be a different problem.
Okay, I'm struggling with this myself right now. I have a tomcat bundled with netbeans; I can get to the tomcat page buth all the rest (manager log-in, docs, examples, ...) is inaccessible. I have already determined that there is a conflict between server.xml an they way that it was configured by netbeans: if I use the information from server.xml and start tomcat in stand-alone mode, then I do get in. 404, by the way, is precisely the kind of error you will get if requests are redirected to the wrong port. I'll troubleshoot some more and let you know.
OK, solved if I let it use the default 8080 as defined in server.xml. Switching ports also screwed up my users.xml but that's fine, I rewrote it manually and now I can log-in fine. Here is an example of a proper users.xml (parts in bold are just for emphasis):
Here is another observation: there appears to be a copy of the conf directory in .netbeans in the user's home directory which clashes with any settings in the conf directory inside my /opt directory. Once both read the same, I can log-in just fine.