New domain not loading on server
Hi ,
recently when our user create new domain on server, this domain not loaded in browser, and example.com/cgi-sys/defaultwebpage.cgi'>cgi-sys/defaultwebpage.cgi open.
when i rebuild httpd.conf I got following error :
guide please .
/scripts/rebuildhttpdconf
/usr/sbin/httpd: line 87: /usr/sbin/httpd_ls_bak: No such file or directory
/usr/sbin/httpd: line 87: /usr/sbin/httpd_ls_bak: No such file or directory
/usr/sbin/httpd: line 87: /usr/sbin/httpd_ls_bak: No such file or directory
warn [rebuildhttpdconf] Invalid Apache Config File, /usr/sbin/httpd
/usr/sbin/httpd: line 87: /usr/sbin/httpd_ls_bak: No such file or directory
/usr/sbin/httpd: line 87: /usr/sbin/httpd_ls_bak: No such file or directory
warn [rebuildhttpdconf] Invalid Apache Config File, /usr/sbin/httpd
warn [rebuildhttpdconf] Unable to detect Apache version from binary
warn [rebuildhttpdconf] Failed to get apache configuration: Unable to detect Apache version from binary
Failed to build Apache configuration file (/etc/apache2/conf/httpd.conf.work.699ccf6e)
Failed to get apache configuration: Unable to detect Apache version from binary
guide please .
-
Are you using Litespeed? I think there was a problem with apache > litespeed or litespeed > apache switch. Try manual switching to Apache or LiteSpeed via the LiteSpeed plugin and then restart the server. Then delete the browser cache and check the site. 0 -
Hi @mahdy_sharifi It actually seems like there is something wrong with the Apache binary. LiteSpeed makes a backup of the httpd binary (/usr/sbin/httpd_ls_bak) but it seems like it's not seeing the actual apache binary. You might need to reinstall the ea-apache24 package. Thanks! 0 -
How can reinstall it ? 0 -
HI @mahdy_sharifi First, you need to identify the specific version of ea-apache you have: rpm -qa |grep ea-apache24-2.4
On my server it was# rpm -qa |grep ea-apache24-2.4 ea-apache24-2.4.34-3.3.1.cpanel.x86_64
Take the output from that and run yum reinstall to reinstall the package (replace my package with yours if it's different):yum reinstall ea-apache24-2.4.34-3.3.1.cpanel.x86_64
Thanks!0
Please sign in to leave a comment.
Comments
4 comments