Im kinda new to this forum and I don't know if you guys can help me.
But I've been searching for a solution for a while now on the internet and on the openDCIM sites and stuff I can't get a decent solution.
So I will tell you guys my problem and hopefully you can help me .
I installed OpenDCIM on a Centos 6.5 on a virtual machine using VMWare. I followed the unixmen site step by step. (Link: https://www.unixmen.com/opendcim-free-open-source-data-center-management-tool/ ).
At the end though I stumbled upon a little problem. I can't restart my apache server.
I didn't have any problems restarting it until I reached the step to create a virtualhost.
After correcting some syntax errors, I found out I still had to create the /var/www/opendcim directory. This happens in the last steps though.
This is the code I wrote in that virtualhost creation file.
- Code: Select all
<VirtualHost *:443>
ServerAdmin root@rekencentrum.com
DocumentRoot /var/www/opendcim
ServerName rekencentrum.com
<Directory /var/www/opendcim>
AuthType Basic
AuthName "openDCIM"
AuthUserFile /var/www/.htpasswd
Require valid-user
</Directory>
</VirtualHost>
Beneath you can find what I wrote in the db.inc.php file. I configured my password to 123456 with the mysql -u root -p command line thing.
- Code: Select all
$dbhost = 'localhost';
$dbname = 'dcim';
$dbuser = 'dcim';
$dbpass = '123456';
Can someone please help me fix this why I can't restart my apache server?
Cheers