• 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

web-server wont start

E

Eightball8018

Guest
I'm new to all of this. I upgraded my plesk account to Pro recently, so I could use Coldfusion. Since the upgrade, my web-server will not start. I get the following message.

Unable to make action: Unable to manage service by websrvmng: websrvmng: Service httpd failed to start
0: /usr/local/psa/admin/htdocs/server/restart_services.php:28 psaerror(string "Unable to make action: Unable to manage service by websrvmng: websrvmng: Service httpd failed to start")

Can anyone help me please???
 
be root try:
Code:
apachectl graceful

Do you get an error?
 
I tried, and got the following :

Syntax error on line 33 of /etc/httpd/conf/httpd.include:
Cannot load /opt/coldfusionmx/runtime/lib/wsconfig/psa/mod_jrun20.so into server: /opt/coldfusionmx/runtime/lib/wsconfig/psa/mod_jrun20.so: cannot open shared object file: No such file or directory

I knwo its got something to do with the coldfusion installation, but I cant uninstall coldfusion for some reason (uninstall directory is not there). I try editing the file, permissio denied, and in PSFtp it wont let me change the file permissions for the file. I'm new to this linux stuff, so any help would be appreciated. All i want is to get my web-server running again, and get a working copy of coldfusion on the server, and ill be good. :(
 
first of all go into /etc/httpd/conf/httpd.include and comment count line 33

restart your apache server with
apachectl graceful
(I suspect it will start but not load coldfusion)

then type:
updatedb

when it finishes (awhile)

type:
locate mod_jrun20.so

and correct line 33 with its new location
 
k, i will try that.. but i have on very stupid question...

how do i get into the file? Like i said, I'm REALLY new to linux. I downloaded some putty programs and have gotten familiar with them, but as far as changing files on the remote server, the only way I know how to do it is to use PSFtp to download it, edit it, then upload it... only prob is the file permissions wont let me.... any suggestions?
 
on my virtual dedicated server, it wont let me log in as root.. some stupid restriction

As far as putty is concerned, i can login as a user, then use the 'su - root' command to login as root... but in psftp, i dont know who to switch to the root user
 
I would suggest learning a linux editor Maybe try
Code:
nano -w  /etc/httpd/conf/httpd.include
 
i got the nano-1.2.5.tar.gz file.... im guessing its not an installer cuz it says it cant open a binary file... im guessing this goes in some sort of command folder for the server (ie like the system32 folder for windows).
 
nano should have come with your system. You should not be install ANYTHING yourself. You just don't have the skills - depending on what flavor of linux you have you should use the built-in installer.

try:

yum install nano
 
holy **** batman... its up and running again
i thought I was SOL for sure!!! Thank you so much for your help, I learned a lot in the process. Again, thanks
 
Back
Top