Erroring out on step 6
-
Step 6: Installation
Installation status
Creating database connection OK
Checking database names OK
Creating system database OK
Creating mandator database OK
Importing system database OK
Importing mandator database OK
Adding mandator to system database OK
Adding system database privileges to i-doit OK
Adding mandator database privileges to i-doit OK
Cannot open configuration destination file! ERROR
Rollback (DB-Query): Dropping system database OK
Rollback (DB-Query): Dropping mandant database OK
Rollback (File-Delete): Deleting configuration file (/var/www/html/idoit/src/config.inc.php) ERROR
Finished installation rollback! OK
Installation failed! ERROR (1 errors)I have set the permissions of the files correctly, and yet it still fails. I have done the manual install, and it still wants to go through the setup. Please help me.
-
When you make a manual install you have to create a new /src/config.inc.php on your own. You can use the config_template.inc.php in the same directory for that. More information on that issue can be obtained when reading the INSTALL file in the i-doit root directory.
-
Seems like the i-doit installer has not enough rights to write the config to: /var/www/html/idoit/src
Try this:
chown www-data:www-data /var/www/html/idoit/srcor use out script:
chown +x /var/www/html/idoit/idoit-rights.sh
/var/www/html/idoit/idoit-rights.sh setAnd after installation:
/var/www/html/idoit/idoit-rights.sh unsetIn case of your www user is not www-data, you have to modify /var/www/html/idoit/idoit-rights.sh for your needs
-
Prior to contacting you, I had taken the following actions to install, and hit the forums only after failure:
My server uses apache:apache instead, and I had already chown'd it to apache:apache
I just did this:
cd /var/www/html
chown apache:apache idoit -RI did that prior to install, and still have errors.
I also went the manual route, and created the config.inc.php from the example one, and it still wanted to do the install. -
could you give me your output of:
ls -la /var/www/html
and
ls -la /var/www/html/idoit/src
?
-
ls -lah /var/www/html/idoit (can't give you the /var/www/html)
[root@virtserver ~]# ls -la /var/www/html/idoit
total 148
drwxr-xr-x 9 apache apache 4096 Feb 13 05:27 .
drwxr-xr-x 20 root root 4096 Feb 13 05:04 ..
-rw-r–r-- 1 apache apache 8219 Jan 12 2007 bugreport.php
-rw-r--r-- 1 apache apache 21276 Feb 13 05:43 ChangeLog
-rw-r--r-- 1 apache apache 342 Jan 29 03:21 controller
-rw-r--r-- 1 apache apache 4619 Jan 29 03:21 controller.php
-rw-r--r-- 1 apache apache 1286 Feb 13 07:31 CREDITS
drwxr-xr-x 2 apache apache 4096 Feb 13 08:49 cron
-rw-r--r-- 1 apache apache 1406 Jan 11 2005 favicon.ico
-rw-r--r-- 1 apache apache 3447 Feb 13 05:27 idoit-rights.sh
drwxr-xr-x 11 apache apache 4096 Feb 13 08:49 images
-rw-r--r-- 1 apache apache 9602 Dec 11 09:28 index.php
-rw-r--r-- 1 apache apache 7926 Feb 13 05:43 INSTALL
-rw-r--r-- 1 apache apache 14604 Jan 12 2007 LICENSE
-rw-r--r-- 1 apache apache 336 Jan 29 03:21 mandator
-rw-r--r-- 1 apache apache 4 Feb 13 05:43 REVISION
drwxr-xr-x 4 apache apache 4096 Feb 13 05:25 setup
drw-rw-rw- 8 apache apache 4096 Feb 13 05:24 src
drwxr-xr-x 2 apache apache 4096 Feb 13 08:49 temp
-rw-r--r-- 1 apache apache 3537 Nov 5 04:42 UPDATE
drwxr-xr-x 6 apache apache 4096 Feb 13 08:49 updates
drwxr-xr-x 4 apache apache 4096 Feb 13 08:49 upload
[root@virtserver ~]#ls -la /var/www/html/idoit/src results:
[root@virtserver ~]# ls -la /var/www/html/idoit/src
total 164
drw-rw-rw- 8 apache apache 4096 Feb 13 05:24 .
drwxr-xr-x 9 apache apache 4096 Feb 13 05:27 ..
-rw-rw-rw- 1 apache apache 11711 Aug 21 08:16 autoload.inc.php
-rw-rw-rw- 1 apache apache 4361 Jan 12 2007 caching.inc.php
d-wx–x--x 15 apache apache 4096 Feb 13 08:49 classes
-rw-rw-rw- 1 apache apache 9310 Feb 13 09:15 config_template.inc.php
-rw-rw-rw- 1 apache apache 14991 Sep 26 08:46 constants.inc.php
-rw-rw-rw- 1 apache apache 7776 Aug 24 09:08 debug.inc.php
-rw-rw-rw- 1 apache apache 23970 Sep 27 05:45 functions.inc.php
-rw-rw-rw- 1 apache apache 11809 Feb 12 08:59 globals.inc.php
d-wx--x--x 3 apache apache 4096 Feb 13 08:49 handler
-rw-rw-rw- 1 apache apache 7815 Feb 11 04:35 hypergate.inc.php
-rw-rw-rw- 1 apache apache 6105 Dec 11 09:28 i-doit.inc.php
-rw-rw-rw- 1 apache apache 14576 Nov 14 08:23 locales.inc.php
-rw-rw-rw- 1 apache apache 3649 Jul 30 2007 my-doit.inc.php
-rw-rw-rw- 1 apache apache 2577 Sep 12 06:11 my-tasks.inc.php
d-wx--x--x 2 apache apache 4096 Feb 13 08:49 tests
d-wx--x--x 4 apache apache 4096 Feb 13 08:49 themes
d-wx--x--x 5 apache apache 4096 Feb 13 08:49 tools
d-wx--x--x 2 apache apache 4096 Feb 13 08:49 utils
[root@virtserver ~]#output for my passwd file
[root@virtserver ~]#cat /etc/passwd
root0:0:root:/root:/bin/bash
<removed users="" for="" my="" systems="" security="">apache48:48:Apache:/var/www:/sbin/nologin
<removed users="" for="" my="" systems="" security="">clamav509:504:Clam AntiVirus:/home/clamav:/bin/false
splunk510:505:Splunk Server:/opt/splunk:/bin/false</removed></removed> -
Hmm thats strange, the rights are correct.
Have you checked that the apache service is really owned by the user "apache"?