Loading...
 
Skip to main content

Architecture / Installation


Unable to find directories?

posts: 9 United States

I decided to start with a clean slate. Deleted all previous tiki folders, dropped and recreated the database. I loaded tiki 1.9 through anonymous CVS, did the usual chmod +x setup.sh and ./setup.sh username group 02777, and the installation screen loaded. Connected to my database just fine, loaded a new installation profile (The database shows all records were created). I go to disable the installation script, and:
QUOTE
TikiWiki is not properly set up:
The directory '/backups/' does not exist.
The directory '/dump/' does not exist.
The directory '/img/wiki/' does not exist.
The directory '/img/wiki_up/' does not exist.
The directory '/modules/cache/' does not exist.
The directory '/temp/' does not exist.
The directory '/templates_c/' does not exist.

You may either chmod the directories above manually to 777, or run one of the sets of commands below.
Proceed to the Tiki installer after you run the commands below.

If you cannot become root, and are NOT part of the group nobody:
$ bash
$ cd
$ chmod +x setup.sh
$ ./setup.sh yourlogin yourgroup 02777
Tip: You can find your group using the command 'id'.

If you cannot become root, but are a member of the group nobody:
$ bash
$ cd
$ chmod +x setup.sh
$ ./setup.sh mylogin nobody

If you can become root:
$ bash
$ cd
$ chmod +x setup.sh
$ su -c './setup.sh nobody'

If you have problems accessing a directory, check the open_basedir entry in
/usr/local/lib/php.ini or httpd.conf.

Once you have executed these commands, this message will disappear!

Note: If you cannot become root, you will not be able to delete certain
files created by apache, and will need to ask your system administrator
to delete them for you if needed.

Consult the tikiwiki.org installation guide if you need more help.

Proceed to the Tiki installer if you've completed the steps above.
/QUOTE

Keep in mind, I have recieved no errors up to this point. I've tried FTPing instead, I've tried to chmod it to 777, everything.

The open_basedir record in php.ini shows none in both columns, httpd shows:
QUOTE
xanthus:~$ whereis httpd.conf
httpd: /usr/sbin/httpd /usr/sbin/httpd.run /etc/httpd /usr/man/man8/httpd.8.gz
xanthus:~$ httpd
PHP Warning: Function registration failed - duplicate name - mcrypt_ecb in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_cbc in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_cfb in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_ofb in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_get_key_size in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_get_block_size in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_get_cipher_name in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_create_iv in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_list_algorithms in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_list_modes in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_get_iv_size in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_encrypt in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_decrypt in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_module_open in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_generic_init in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_generic in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mdecrypt_generic in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_generic_end in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_generic_deinit in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_enc_self_test in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_enc_is_block_algorithm_mode in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_enc_is_block_algorithm in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_enc_is_block_mode in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_enc_get_block_size in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_enc_get_key_size in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_enc_get_supported_key_sizes in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_enc_get_iv_size in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_enc_get_algorithms_name in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_enc_get_modes_name in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_module_self_test in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_module_is_block_algorithm_mode in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_module_is_block_algorithm in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_module_is_block_mode in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_module_get_algo_block_size in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_module_get_algo_key_size in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_module_get_supported_key_sizes in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mcrypt_module_close in Unknown on line 0
PHP Warning: mcrypt: Unable to register functions, unable to load in Unknown on line 0
Wed Aug 24 22:15:48 2005 warn VirtualHost www.*******.us:80 overlaps with VirtualHost www.**********.*******.us:80, the first has precedence, perhaps you need a NameVirtualHost directive
Wed Aug 24 22:15:48 2005 error Failed to resolve server name for 64.8*.**.** (check DNS) — or specify an explicit ServerName
Wed Aug 24 22:15:48 2005 error Failed to resolve server name for 64.8*.**.** (check DNS) — or specify an explicit ServerName
Wed Aug 24 22:15:48 2005 warn VirtualHost www.*************.com:80 overlaps with VirtualHost www.*******************.com:80, the first has precedence, perhaps you need a NameVirtualHost directive
Wed Aug 24 22:15:48 2005 warn VirtualHost www.free-parking.*******.net:80 overlaps with VirtualHost www.*********.com:80, the first has precedence, perhaps you need a NameVirtualHost directive
Wed Aug 24 22:15:48 2005 warn VirtualHost 216.12*.**.***:80 overlaps with VirtualHost www.*******.net:80, the first has precedence, perhaps you need a NameVirtualHost directive
fopen: Permission denied
httpd: could not open error log file /www/logs/_-error-log. /QUOTE

So, I've tried those. The directories DO exist, and they are executable. So, I'm... confused. What's going wrong? Any ideas?

posts: 2881 United Kingdom
Does the Apache user have access to them through the tree ?

posts: 9 United States

drwxr-xr-x 3 troop63c troop63c 4096 Aug 24 21:01 backups/
drwxrwsrwx 4 troop63c troop63c 4096 Aug 24 21:01 dump/
drwxrwsrwx 3 troop63c troop63c 4096 Aug 24 21:01 wiki/
drwxrwsrwx 3 troop63c troop63c 4096 Aug 24 21:01 wiki_up/
drwxrwsrwx 3 troop63c troop63c 4096 Aug 24 21:01 cache/
drwxrwsrwx 5 troop63c troop63c 4096 Aug 24 21:03 temp/
drwxrwsrwx 25 troop63c troop63c 4096 Aug 24 21:04 templates_c/