The 'Data Directory' you specified could not be found or created.

Re: The 'Data Directory' you specified could not be found or created.

by Mohamed Rasheed -
Number of replies: 0

Hi

I’m new to linux. I was trying to install moodle in Fedora7 virtual dedicated server using Plesk and/or SSH
I receive the same error message. I tried all the solutions posted here

1- Create the directory manually in different locations such as

/var/www/moodledata
/var/www/vhosts/chroot/var/moodledata
/var/www/vhosts/httpdocs/moodledata

also changed directory permissions, didn't work

2- Edited config.php manually, received the following error
"Error: Database connection failed. It is possible that the database is overloaded or otherwise not running properly. The site administrator should also check that the database details have been correctly specified in config.php".

Even though all parameters are correct

3- Logged in as root tried to edit the /boot/grub/grub.conf
could not find the file

4- I also Tried to edit selinux using the following command

#chcon system_u:object_r:httpd_sys_content_t moodledata

Received error message "operation not supported"


does anyone know what am missing here