SSL Installation error -directive missing closing '>'

While installing the SSL on domain from WHM >> SSL/TLS >> Install an SSL Certificate on a Domain, the below error occured -

The “/usr/sbin/httpd” command (process 80677) reported error number 1 when it ended.
httpd_ls_bak: Syntax error on line 49909 of [Test Configuration File]: 
</VirtualHost>rdata/ssl/2_4/cPanel_username/domain_name/*.conf"> directive missing closing '>'

Solution -
This error was due </VirtualHost> was not closed in /etc/httpd/conf/httpd.conf file. I've corrected the entry and rebuild the httpd.conf file using below commands -
/scripts/rebuildhttpdconf

The previous code was as below -
</VirtualHost>rdata/ssl/2_4/cPanel_username/domain_name/*.conf">
</VirtualHost>

I've corrected the code as below -
</VirtualHost>
<VirtualHost> --------------------------------> added the opening for <VirtualHost>
rdata/ssl/2_4/cPanel_username/domain_name/*.conf">
</VirtualHost>

It fixed my issue! 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to reset Joomla Admin Panel Password?

Many times we used to forgot the current password of Joomla Administration panel and get in...

#1227 - Access denied; you need (at least one of) the SUPER privilege(s) for this operation

While running one query from cPanel >> PhpMyAdmin, I was getting this error message -#1227...

The MySQL server is currently offline. Mysql::initcache() failed: The mysql server is offline.

I was getting below error while accessing MySQL Databases from cPanel though MySQL service was...

Account Creation Status: failed. A database owner with the name <account-name> already exists.

I have deleted the account from the WHM but while recreating it, I was getting below error...

ERROR :Tablespace for table exist. Please DISCARD the tablespace before IMPORT.

// While creating the table from cPanel >> PHPMyAdmin>> SQL, I was getting...

Powered by WHMCompleteSolution