CentOS 5 Server :: Upgrade Tomcat 5 To 6 (CentOs 5.2) ?
Feb 25, 2009I have installed CentOS 5.2, apache tomcat 5 already included, How can I upgrade tomcat to version 6 ?
View 1 RepliesI have installed CentOS 5.2, apache tomcat 5 already included, How can I upgrade tomcat to version 6 ?
View 1 RepliesI 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
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.
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 RelatedMy 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?
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 RelatedI 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.
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 RelatedI should have caught this during the upgrade, I saw the potential problem but failed to write it down. All my applications served by Tomcat fail to load. Catalina logs show the following error for each app. Error deploying configuration descriptor msgboard.xml The complete error for an individual application is
[Code]...
Again, during the upgrade a warning popped up that each app would need to be spelled out in some configuration file SOMEWHERE because of a change in security! Would someone be so kind as to direct me as to where and how this would be accomplished. I apologizes for not being able to find this out on my own but have looked and can't find it. I'm pretty sure anyone proficient with Tomcat on Linux will know what and where these changes need to be made. Or if anyone knows if and where there is a log of all communication during the upgrade I might be able to figure this out on my own. Is there such a log kept during an upgrade? Also if this question would be more appropriate in the Server Platforms forum I will do that.
I have made a cluster between two server.In luci I can see that my cluster is green and the two nodes to.I have make an IP resource and associate it to a service : green : I can relocate the service from a node to the other one and the IP appears in the list of IP addresses The problem is that I have made the same in order to configure tomcat and postgresql and it does not work...I put my configuration only for ip and tomcat:
My host configuration:
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
10.0.0.1 server1.domain.com server1
10.0.0.2 server2.domain.com server2
I use Centos 5.5 and I want to upgrade to PHP 5.2 I read a lot on Google about the upgrade version and I realized right to change the sources of the YUM to development environment
I use in production and I can not move the development environment.
Can anyone tell me how to make this script,( located in /etc/init.d/tomcat ) startup at boot time under the tomcat user and not the root user?
#!/bin/bash
# tomcatStartup Script for Tomcat
# chkconfig: 2345 20 80
# description: Tomcat Server basic start/shutdown script
# processname: tomcat
# pidfile: /var/run/tomcat.pid
[Code]...
I have an intel DP35DP motherboard - ICH9 southbridge - set to AHCI mode. Working fine under 5.2. Yesterday I updated to centos 5.3, and got kernel 2.6.18-128.1.16 and now it can't boot. It hangs trying to read sata1 with DRDY errors and exceptions.So then I installed 5.3 from a DVD onto a new drive, and got kernel 2.6.18-128. This worked, most of the time, but occasionally gave me this error. I then updated my BIOS, and the error went away.Then I updated this new working drive to the latest kernel (yum update again) and got kernel 2.6.18-128.1.16, and now it wont boot again, with the same message.
ata1: failed to read log page 10h (errno=-5)
ata1.00 exception Emask 0x1 SAct 0x1 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000008
ata1.00: cmd 60/08:00:61:4b:38/00:00:3a:00:00/40 tag 0 ncq 4096 in
ata1.00: status: { DRDY }
ata1.00: revalidation failed (errno=-2)
ata1.00: revalidation failed (errno=-2)
[Code]....
have all ways been hiding in the background read not say a thinglets start well i look after 2 dell poweredge 2650 with 12 gig ram installed servers has been running fine onwell i though it was time to upgrade to 5 all went fine till reboot Memory for crash kernel (0x to 0x) not within permissible range ! well what i have been reading this is the norm for now What is mean by ignore it? LoLwell so i did the system keeps boot till i get to this linesbin/mingetty: /sbin/mingetty: cannot execute binary file alot, and it shows. INIT: Id "5" respawning too fast: disabled for 5 minutes ...so maybe its a memory issue so took 8 gig out left 4 in the system now it reboot alls good with only 4 gig of ram installed so is there a way to fix it to use all the ram can i get the system boot on 4 gig and then add the 8gig later on
View 7 Replies View RelatedI am running yum update and it thinks 2.6.18-128.1.10.el5 is the latest kernel, even though its really 2.6.18-194.3.1.el5
Code:
[localdomain ~]# uname -a
Linux localdomain 2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:39:21 EDT 2009 i686 i686 i386 GNU/Linux
[localdomain ~]# yum update kernel
[code]....
I have a perfectly functional Samba file and print server. I will be adding several Window 2008 servers to serve as terminal server hosts running in virtual machines. I would like to convert my Samba server to a PDC (Primary Domain Controller) for these terminal servers to use. And leave everyone else as a work group (the current situation). I'd like to
1) use /etc/password and /etc/samba/smbpasswd as the source of the user accounts
2) limit what users the terminal servers can see based on a particular group (/etc/group)
So far I have tried the example howto's on the samba site and wound up having to restore /etc/nsswitch.conf in rescue mode.
I need to do this to pass PCI compliance tests, I know it's not necessarily the best thing to do but it has to be done.
How would I go about compiling this version as it's not on the official repo?
I think CentOS 5.6 installs PHP 5.1 by default right? How do I upgrade PHP 5.1 to 5.2 or even 5.3 if possible?
View 1 Replies View RelatedI have made a cluster between two server.
In luci I can see that my cluster is green and the two nodes to.
I have make an IP resource and associate it to a service : green : I can relocate the service from a node to the other one and the IP appears in the list of IP addresses
The problem is that I have made the same in order to configure tomcat and postgresql and it does not work...
I put my configuration only for ip and tomcat:
My host configuration code...
I make upgrade from CentOS 5.4 to CentOS 5.5. Architecture is historical i386. On first boot my system was freezed by disabled earlier but not removed manualy writed xdm service. I disable it. But not found network. I see hardware address of card fe:ff:ff:ff:ff:ff. This address is not normal. But how to restore eeprom of this network adapter?
I don't think its trouble of new CentOS. I think this is random incident.Configuration of computer is Intel D510MO motherboard with integrated atom processor and realtek 8111dl nic. I know some trics about fix mac address in centos, but how to fix this address in bios?
After upgrading to CentOS 5.3 my sendmail will no longer deliver messages using a program in my /etc/smrsh. It fails with the message "unknown mailer error 1". This program was working perfectly before I did the upgrade using yum. Here is the list of packages that were upgraded. Does anything jump out as being the source of the issue? I don't believe that sendmail itself was upgraded:
Packages Installed:
dbus-libs - 1.1.2-12.el5.x86_64
libselinux-utils - 1.33.4-5.1.el5.x86_64
Packages Updated:
initscripts - 8.45.25-1.el5.centos.x86_64
[Code]....
I am not sure what is amiss here. I have enabled remi repo and updated remi-release, but I cannot seem to find an update for php:
[Code]....
i am running cent 5.1 and would like to upgrade httpd v.2.2.3 to the latest 2.2.11 version provided by apache to resolve some ajp errors i am experiencing.
I searched but did not find any rpms for cent nor did i find any instructions on how to do this.
I performed a system update yesterday to CentOS version 5.4. Now I cannot get vmware to start. I get the error "VMware Server is installed, but it has not been (correctly) configured for the running kernel. To (re-)configure it, invoke the following command: /usr/bin/vmware-config.pl." I tried running vmware-config but that did not resolve the issue. I saw the bug related to 2.0.x (after the update), but that does not seem to apply to 1.0.9.
View 7 Replies View RelatedI have to upgrade MySQL 5.0.77-3 to 5.1 for a webaplication.
If I write in Putty "# yam update" , it wont found a newer version of MySQL. how can I update my MySQL Version?
I need to upgrade our PHP from version 5.1.6 to anything higher.
What is the latest version of PHP for CentOS ? I need a stable version, not a test version.
Should I upgrade from CentOS 5.2 to 5.5 ?
I just did a yum upgrade (5.3 to 5.4) on one node of my three node cluster (RHCS), which did:
Rebooted to the new kernel, but cman failed to start. Rebooted back to the previous kernel, but no change, so it doesn't appear to be the kernel.... Some errors are:
On the upgraded node, the following processes are running:
Whereas on the non-upgraded node, the following processes are running:
I have encountered the same problem as indicated in this post: "udev hang after upgrade from 5.3 to 5.4"[URL]... I'm testing the upgrade path to centos 5.4 on several virtual machines prior to upgrading our production systems. I have upgraded centos 5.2 --> centos 5.4 and centos 5.3 to centos 5.4. In both cases udev hangs after the upgrade. The following message is displayed on the console: "Starting udev: Wait timeout. Will continue in the background [FAILED]"
I found another related post: "udev hangs on boot for a long time, suspect pam_console_apply"[URL]..So, I booted by VMs using the "udevdebug" option to grub and received the same error message - "udevd-event [###]: run_program: Waiting ## seconds for output of '/sbin/pam_console_apply /dev/..."
In my /etc/ldap.conf file "bind_policy hard" is commented out. I added a line "bind_policy soft" as described in the post and my VMs booted fine. NOTE: This problem is not encountered with a fresh install of CentOS 5.4 and the "bind_policy hard" option in the /etc/ldap.conf is commented out as in the upgraded systems. What is really causing this problem and how do I get it addressed? I have a couple hundred systems to update from various releases of CentOS 5 to the latest current version 5.4. It would be nice to get this bug squashed..
[Code]...
I have a problem with compiling of mod_ruby-1.3.0 After a succesfull configure i get a error in the make, it say "make: *** [apachelib.o] error 1" . Here below you can find the results of de configuring and the make.I was following the roles in Howtoforge " The perfect server - Centos 5.3" everything goes perfect till mod_ruby-1.3.0
./configure.rb --with-apr-includes=/usr/include/apr-1
checking for a BSD compatible install... /usr/bin/install -c
checking whether we are using gcc... yes
[code]....
is it possible to join Windows Server 2003 to CentOS 5 Cluster?
View 1 Replies View Related