Copy link to clipboard
Copied
Hi,
I have a strange situation and I'm not sure where to go, so here I am.
Machines are Linux 64-bit.
My clients had someone tar up the /opt/coldfusion9 directory and copied to a new machine. They un-tar the package and said that it is running instead of using the normal install method.
The effects of this is that jrun keeps crashing and the -autorestart feature doesn't need to work. It returns (in the log file) a message that say:
autorestart: Process died in less than 30 seconds; not restarting.
Here is what I can accertain from the machines:
The OS version are slightly different where the original version (actually about 4 months older).
The configuration files all seem to be okay and match size and permssions to a similar server.
JRUN -autorestart fails to restart ... some times.
Does anyone know besides the obvious about what the installer does as far as determining system processor and type, OS versions, etc? I would assume that removing the entire CF process and re-installing (correctly) would solve most of the issues. Also, has anyone ever removed CF manually. Remembering that this is linux, If you have what "gotta" do I need to worry about.
Any help would be greatly appreciated.
Thanks,
Drew Nathanson
Technical Synergy, Inc.
drew@technicalsynergy.com
Copy link to clipboard
Copied
Hi Drew,
Quick questions;
1. Was the original CF9 a 64bit version ? Work a check (if poss.)
2. Is it a standalone CF9 with Jrun embedded ?
A tarred deployment of CF 9 should be OK as it's self contained except for the boot script (create a new boot script based on Aaron West Teh Blog - Super Guide: Installing CF 9 on CENTOS Linux - also has some good tweaks)
Make sure that you check the owner / group for the deployment with whatever user you require.
A manual uninstall can be done with standard linux commands from the /opt directory but also delete the CF boot script from /etc/init.d or /etc/rc.d/init.d depending on your OS
If you deployed your CFIDE to the apache webroot (/var/www/html/) remove that as well
Copy link to clipboard
Copied
Padster,
Thanks for the reply.
In order:
Yes, it is a 64-bit version (9.01) and it is a standalone install.
One of the issues, is that the OS is slightly older on this server than the original server. Now, if the install program does some tailoring of the jrun information based on system processors and such, this would certainly explain some of the issues.
As for the tech tips, do you happend to have an address for that article? It may (probably will) save me time.
Thanks for all your help,
Drew Nathanson
drew@technicalsynergy.com
Copy link to clipboard
Copied
Hi,
Also there's an excellent guide for CENTOS / RHEL (link at bottom of above page)
The installer is basically a big fat zip with an executable install script. The install script checks the OS version / type/ OS core libraries / valid paths for deployment (CF/search/openoffice etc) and deploys it's own JRE so is effectively self contained (the ol' Java write once - run anywhere).... however one of the *nix OS libraries that CF needs to install is the libstdc++.5.so or higher - use yum to update that library (compat-libstdc++) - this library is related to the installer rather than CF standalone actually running.
Best bet - backup what you have and do a clean install
Good luck
Copy link to clipboard
Copied
Padster,
Thanks for the reply. One last thing, you mentioned a link to installing on CENTOS/RHEL however there is not link (other than the one you provided to Aaron West) in any previous note.
Could you provide me with that link as well? If not, I will try to find it on my own.
( Short time later, I found Aaron's post on CENTOS. If you have another one besides his, please post it. )
Thanks for your help,
Drew Nathanson
Technical Synergy, Inc.
drew@technicalsynergy.com
Copy link to clipboard
Copied
Peter Freitags CF 9 server lockdown guide gives sound advice with sections specific to RHEL/CENTOS:
http://www.adobe.com/products/coldfusion/whitepapers/pdf/91025512_cf9_lockdownguide_wp_ue.pdf
Have fun ; )