• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Uninstalled CF still causing problems during httpd service restart

O

oucil

Guest
I tried a test install of Cold Fusion a while back and it caused a whole slew of unrelated issues on my server so I decided to uninstall it. Following the uninstall Plesk properly notes in new accounts that CF is not installed and is thus unavailable..... however in Plesks server panel, there is no way to say it's not installed anymore so it still lists CF as a "server configuration" located at "/opt/coldfusionmx/" which is no longer true following the uninstall.

The problem lies here, as soon as I add a new domainor make a domain change the httpd.include file located at /etc/httpd/conf is replaced with the updated one by plesk, and each time it does that it inserts the line "LoadModule jrun_module /opt/coldfusionmx//runtime/lib/wsconfig/psa/mod_jrun20.so
" which does not exist and so during a restart of the "httpd" service it crashes and my sites all stay offline. I have to manually comment out (#) this line to restart the server.

How can I stop this line from apearing?

Thanks!
 
First thing I would do is check the 'psa' database, in the 'modules' table to make sure it actually knows that CF is not installed.

Also, from a shell prompt, do 'httpd -l' and see if mod_jrun20.so is listed. If it is, then you will have to recompile apache to get rid of it.
 
Thanks for the suggestions, this is what I found...

Modules table in PSA db is empty, no modules installed it seems.

httpd -l does not list mod_jrun20.so as one of the compiled options.

I'm assuming that there is a master template file that PSA uses to replace the httpd.include file somewhere (hoping its not hardcoded), any idea where that might be so I can see if it's something I can remove from there?

Thanks again!
 
If you are on a RH type OS, do:

locate mod_jrun20.so

or

locate mod_jrun20.*

and see if it is in

/usr/lib/httpd/modules/

or somewhere
 
FYI I'm on FC1 running PSA 7.5.3.

None of those produced any results, it doesn't seem to be installed anywhere on the system.
 
That is very strange indeed. AFAIK, if the module is not in the /modules/ directory, I have never seen or found anywhere else that Plesk uses to rebuild the httpd.conf file.

Maybe someone else will happen by and shed more light on the matter.
 

Similar threads

Back
Top