HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   Apache Ownership (http://www.howtoforge.com/forums/showthread.php?t=21696)

cybereatl 25th March 2008 20:40

Apache Ownership
 
Hi Folks,

Am installing SugarCRM on the ISPConfig server and installation went ok, as soon as I finish up install I got this:

Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86

Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86

Then I've tried to log in and this error still maintain:

Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86
Warning: mkdir() [function.mkdir]: Permission denied in /home/www/web1/web/crm/include/dir_inc.php on line 86

Fatal error: Smarty error: the $compile_dir 'cache/smarty/templates_c' does not exist, or is not a directory. in /home/www/web1/web/crm/include/Smarty/Smarty.class.php on line 1095

I've checked with SugarCRM people and they talked about apache ownership and they tells me that cd to root folder were sugar is installed and then run:

chown -R www-data:www-data

Which I've did and I got this:

[admin@www crm]$ chown -R apache:apache
chown: missing operand after `apache:apache'
Try `chown --help' for more information.

I've looked over groups, but I got ISPConfig Group adn Admin, but there is no apache group!! :eek: :eek:

Any ideas ?? :confused:

Thanks

till 26th March 2008 09:32

The command is:

chown -R apache:apache /home/www/web1/web

But the user and group may vary, depending on your linux distribution. Other common names for the apache user and group are www-data and wwwrun.

cybereatl 26th March 2008 13:25

Hi Till,

Am using Fedora and works like a charm, just type that in and error has gone!! :D

Thank you


All times are GMT +2. The time now is 23:46.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.