CentOS 5 Server :: How To Setup Tomcat On 5.2
May 6, 2009
I am trying to setup Tomcat on CentOS 5.2,This is that ive done so far...Installed Apache, which works fine and I get the "Apache 2 Test Page powered by CentOS" Did this
yum install tomcat5 tomcat5-common-lib tomcat5-jasper tomcat5-jsp-2.0-api tomcat5-server-lib tomcat5-servlet-2.4-api
View 3 Replies
ADVERTISEMENT
May 7, 2011
I installed the Tomcat5.5, but when i test the port 8080 didn't work, where i can edit to work it properly? and then help me how to setup apache to tomcat? specific command, directory where i can edit and configure the scripts? and where i can put the web application file?
View 1 Replies
View Related
Nov 16, 2010
I have FC13 with apache up and running. I need to run tomcat to do some dynamic web with eclipse, I checked my setup and noticed that I already have tomcat5 in add/remove software as installed bu can not find any etc/tomcat and not able to find how to test. I went through the FC13 documentaion, nothing is mentioned abou apache tomcat setup finalizing and testing that ships with FC13 it works. I googled and found some docs around setup tomcat6 or tomcat 5 but not how finalize the one shipped with FC13.
View 2 Replies
View Related
Sep 9, 2009
I have one server with Jboss and Tomcat installed, I have to start these servers manually everytime I do reboot the server.How I could do to start Jboss and Tomcat automatically, when I do reboot the server?
View 1 Replies
View Related
Feb 25, 2009
I have installed CentOS 5.2, apache tomcat 5 already included, How can I upgrade tomcat to version 6 ?
View 1 Replies
View Related
Feb 5, 2009
I've installed Apache Tomcat--6 and even jdk1.6.I've even created a tomcat.sh file to start the serverautomatically and it includes the Environment variables also ($CATALINA_HOME & JAVA_HOME) for automatic startup.Next when i'm using http://localhost:8080 to call the server it shows unable to connect.I've tried changing the port no of tomcat in server.xml file. but still its not working.
-->Then i tried using--telnet localhost comand--it shows Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
Here I'[m stuck i don't understand how do i make the localhost work.
-->If I'm giving telnet localhost 25 the sendmail server is working.But the 80 and 8080 ports are not getting configured.
-->I've tried adding the port and its name in /etc/services file but still its not working.
-->When I'm giving the command--/sbin/chkconfig --list--->Its shows: xinetd based services:
...
...
telnet on.what should i do to get my tomcat server work properly.
View 2 Replies
View Related
May 5, 2009
My first time installing centos server and adding it to xp home network. I am new to setting up my own network in general. I have a home windows wired ethernet xp network (simple linxs router) with 2 xp boxes and one centos5 box all connected to the same router. I just set up the centos box running tomcat on port 8080. I need to do two very basic things at this point, but am not sure what I need to do:
What do I need to do so I can:
1. Connect in firefox on one of my xp boxes and call the tomcat server running on my centos box?
2. Be able to ftp to centos box from either of my xp boxes?
View 2 Replies
View Related
Jan 19, 2010
We are trying to set up a NIS server on a CentOS system. We need to have a NIS server which can provide NIS authentication to a couple of clients. We are practically new to all this stuff.
Just googled to find some ideas about installing ypserv and ypbind and portmapper. We did all that and also started them successfully. But now the clients are not able to join to the NIS domain . The error log states "YP_DOMAIN NOT BOUND".
I guess we have not entered the /etc/yp.conf, /etc/hosts files properly. Please let us know the detailed steps to setup a NIS server .
Also, please let us know what entries should go into the different /etc/<file_names>? What is meant by HOSTNAME in the /etc/hosts file?
Is there any other files which need to be changed? Are we missing any steps?
Also to add-on, while executing the ypinit command we faced the following error:
At this point, we have to construct a list of the hosts which will run NIS servers. localhost.localdomain is in the list of NIS server hosts. Please cont inue to add the names for the other hosts, one per line. When you are done with the list, type a <control D>. next host to add: localhost.localdomain next host to add:
The current list of NIS servers looks like this:
Is this correct? [y/n: y] y
Error running Makefile.
View 3 Replies
View Related
Feb 22, 2010
I want to setup tomcat and apache to run on SSL. I did set up apache to run with ssl and tomcat (wo ssl). Tomcat is on 8081 and apache is on standard HTTP/HTTPS ports. Now I installed JK module and I want to access "host-manager" application on tomcat with ssl, but when I try https://localhost/host-manager/ I get 503 error and when I try [URL]. I get 404 error. Here's my /etc/apache2/sites-available/default conf:
Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory> .....
Here is /etc/apache2/mods-enabled/jk.load:
Code:
LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so
JkWorkersFile /etc/apache2/workers.properties
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
and here is workers.properties:
Code:
worker.list=worker1
worker.testWorker.port=8009
worker.testWorker.host=localhost
worker.testWorker.type=ajp13
View 1 Replies
View Related
Aug 5, 2011
I am trying to install tomcat on my centos 5.6 box(vm) and it is giving me failure for make operation.
[panther@localhost unix]$ make
(cd native; make all)
make[1]: Entering directory
`/home/panther/apache-tomcat-7.0.19/bin/commons-daemon-1.0.6-native-src/unix/native'
gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU="i386" -Wall -Wstrict-prototypes
[Code].....
View 3 Replies
View Related
Apr 20, 2010
Is there any way to setup the Centos Directory Server without an internet connection?? i tried using the command: yum install centos-ds
but this just tries to connect to the internet to to download the packages. Is there a site where i can find the package so that i can copy it to my server and install it or is there some other way to do this?
View 3 Replies
View Related
Feb 7, 2011
I'm trying to setup RAID 1 on a CentOS 5 server for a zimbra email server.I get a partion schema error. Can I do this?The server is a HP Proliant ML150 G3 server with two 80GB HDD.
View 1 Replies
View Related
Feb 22, 2010
What is the easiest way to setup an incoming and outgoing mail server on centos? Without using a control panel, such was webmin.
View 2 Replies
View Related
Jan 5, 2010
I am trying to get an X window server setup on my CentOS 5.3 server rack. I have gotten as far as to doing:
yum groupinstall "X Window Sever" "GNOME Desktop Environment"
EDIT-Forgot to mention that I did Xorg -configure before testing the config. Only errors I got were:
(EE) LoadModule: Module ati_r500 does not have a ati_r500ModuleData data object.
(EE) Failed to load module "ati_r500" (invalid module, 0)
[Code]...
Linuxquestions--I posted this over on the CentOS forums, which are not as booming. Then I remembered these forums for when I had my VPS way back when and you guys were pretty helpful, of course expected me to mostly do my own reading which I dont mind its just having a hard time understanding some of the things in what I was reading. I even believe I came here with this problem before but abandoned the issue because my VPS was not powerful enough or something of the sort, but this was many years ago also on CentOS using apt. Now using yum which I like much better.
View 3 Replies
View Related
Apr 24, 2009
I am trying to set up a mail server on centos5 using sendmail and dovecot, and eventually spamassassin and some antivirus filter as well. I'd also like to get the proper secure auth mechanism set up at some point too. But for starters, I've been having a lot of difficulty trying to even connect to the mail server from a client computer in the local network. I installed Eudora on the client and after some tweaking in dovecot I was able to connect to the mail server, but then when I try to send an email I get a "connection refused" error, with nothing being logged on the server that I can see.
The last time I set up a mail server was Fedora Core 2, so the configuration files have changed a bit to say the least, and I can't really refer back to those to set up this new server. Does anybody know of a good step-by-step doc on getting the mail server going? I've read the man pages and other various readme's, but these really only list out the available options with no really good explanation of what needs to be done to get the mail server going. If there isn't a full write-up on how to do this, I'll put something together when I'm finished so others can use it in the future.
View 7 Replies
View Related
May 4, 2009
I have just installed CentOS 5. I have set mysql database to access from remote machines. But now the problem is it is not connecting from the local machine now.
View 5 Replies
View Related
Jan 13, 2011
We have two CentOS 5 servers in production (web and database). We are setting up a single staging server that will mirror the configurations of these servers as closely as possible. What is the easiest way to ensure the exact same software and configs as the production servers are setup on the new staging server. Our contracted data center provider has already informed us that they do not perform images and NO we do not have physical access to the machines. It is undetermined whether we will be virtualizing the staging server into two virtual servers yet, so for the purposes of this post lets assume we are not. I'm seeking a faster/more precise method than doing this by eye and hand.
Some information on our web server code...
View 4 Replies
View Related
Nov 3, 2010
I just recently purchased a vs from a company and i am trying to set up a web site on it with kloxo and set up the mail for it upon setting up the mail settings it says:
"It is very essential that you set the my name to a properly resolvable hostname, since otherwise, many public mailservers like hotmail will reject mails from your server"
Now this is my first time setting up a vs before i have set up linux vm's to get email access but that was about a year ago.
View 6 Replies
View Related
Aug 30, 2009
i try to install mysql-server how do i create a password for it
yum install mysql mysql-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.optus.net
* updates: mirror.optus.net
[Code]...
View 1 Replies
View Related
Jul 11, 2011
I am currently involved in setting up an openldap server on a CentOS platform. I am having some issues with getting it set up to the point that I can remotely manage the server via phpldapadmin in a web browser. I am running into an issue when starting the slapd daemon.
See the output below to better understand:
View 7 Replies
View Related
Aug 13, 2010
I have installed the nagios by FAN 2.0 CD. In this distro all the required softwares are bundled. Now i do not know where to start. How can i monitor my other server on the network. I have google on the internet but it is not giving the clear idea. Is there any document on the net or how to which can show that how to configure nagios with centreon or originally from changing nagios files.
View 6 Replies
View Related
Aug 20, 2009
i try slicehost out with CentOS5, What is the right direction to setup FTP access to my server?
View 1 Replies
View Related
Jun 27, 2011
on my server I have atMail and a intranet site being hosted using mySQL for the database locally, and obviously backing it up would be a good thing. I got the backup package from the list if you use the add/remove software called dump-0.4.etc.. can't seem to find much on how to use it, set it up, nothing. Granted I could be looking for the wrong thing which I'm sure is the case. As of now it's looking like a USB drive is going to be my only option, that will change in the future as this "project" goes further (we are a windows shop trying out Linux, and the next step is going to be adding another server that's a file server at that point we'll probably go to NAS for the backup and then transer that to a USB for offsite/secondary backup).
View 2 Replies
View Related
Nov 2, 2010
Have setup a CentOS 5.5 with IPSConfig that has been running for maybe 6 months, it was only intended to be a web server for multiple domains. Issue now is that a web developer has created a form that he is trying to email from the site, I did not have anything configured for mail and he does not care to write a script that would not require the mail service to be on the web server.
Have configured/reconfigured main.cf multiple times but no success.
Postfix appears to send the outbound email to the queue but never goes out. Have setup mail service for the domain "land***.com" in ISPConfig and tested with a single user created for the domain from the server.
What did I miss in the configuration to get "connection refused"?
Nov 2 11:27:19 WC01 postfix/cleanup[6711]: E4DFA1190011: message-id=<20101102162712.E4DFA1190011@WC01.nors***.com>
Nov 2 11:27:19 WC01 postfix/qmgr[6665]: E4DFA1190011: from=<admin@land***.com>, size=377, nrcpt=1 (queue active)
[Code].....
should I remove the domain from mail services and would postfix work on its own on a server with ISPConfig?
View 4 Replies
View Related
Dec 20, 2010
I am trying to build a Vehicle Tracking System in Centos 5.3 with project OpenGTS [URL]. Here a very simple guide to setup guide. But according to the guide things are not working. The components of OpenGTS:
(1) Apache Ant
(2) Apache Tomcat
(3) Java
(4) Mysql
(5) Java Mail
(6) OpenGTS
In this whole project java installation is creating problem.
View 3 Replies
View Related
Dec 7, 2010
I am trying to setup an OpenVPN server using CentOS 5. I ahve installed everything, configs are good, server starts fine. I have generated my certificates using the easy-rsa 2.0 included with OpenVPN. I have downloaded all the certificates to my machine and setup my client to connect. I am having that typical problem everyone seems to have where my client says certificate verify failed. However I can use openssl on the server to verify and it is ok. What am I doing wrong here?
Code:
[root@GSFOVPNxxx01 openvpn]# openssl verify -CAfile ca.crt gg-jbloomer.crt
gg-jbloomer.crt: OK
[root@GSFOVPNxxx01 openvpn]#
client output
Code:
2010-12-07 08:44:33 MANAGEMENT: CMD 'hold release'
[Code]...
I just dont get it, I have racked my brain and google until my eyes bleed and can not figure this one out.I am sure it is something simple that I am missing.
View 5 Replies
View Related
Apr 11, 2011
I was able to setup password-less ssh on two CentOS 5.5 servers, I don't encounter any problem on root account but when I try on another user it fails and ask for a password
This what I've done.
centostest1 = Source
centostest2 = Destination
On Source Server (centostest1)
1. ssh-keygen
2. ssh-copy-id -i id_rsa root@centostest2
ssh-copy-id -i id_rsa user@centostest2
3. Now to test
ssh root@centostest2 <--- no problem, no password needed
ssh user@centostest2 <--- problem, it asked the password for user
View 8 Replies
View Related
Jul 21, 2009
I looking to setup a CentOS server with RAID 5 i was wondering what the best way to set it up and How with the ability to add more HDD to the RAID system later on if needed?
View 1 Replies
View Related
Feb 10, 2009
I saw in CentOs Documentation that the only Tomcat package available in CentOs 5 was Tomcat 5, I would like to know why CentOs 5 didn't support Tomcat 6. And what's more I would like to know whether last version of Tomcat (6.0.18) can be installed on CentOs 5, and if we can trust installation tutorial we can read on centOs How 2 page? And in addition, could you tell me why Tomcat 6 isn't provided in CentOs Yum repository ... Is there a no working reason?
View 3 Replies
View Related
Nov 21, 2009
I have installed Tomcat 5.5 on a server with Centos 5.2. I can start Tomcat from command line with:
/var/lib/tomcat5/bin/catalina.sh start but if I add the command to /etc/rc.local Tomcat don't start on boot, I need to login and manually start. I have add other services to the /etc/rc.local file (mysql and apache) and all start with no problem. Only Tomcat failed to start on boot.
I added the JAVA_HOME to /root/.bashrc:
export JAVA_HOME=/usr/lib/jdk
export PATH=$JAVA_HOME/bin:$PATH
export CATALINA_HOME=/var/lib/tomcat5
export CATALINA_BASE=/var/lib/tomcat5
I have tried many different things I found on the net, but nothing worked for me.
View 4 Replies
View Related