PDA

View Full Version : Location cannot be found?



eagle
09-28-2007, 03:49 AM
When I try to build with apache 2.2 and MySQL 5:


Done iconv.
./build: line 3139: ldconfig: command not found
Shutting down MySQL.. [ OK ]
--11:32:32-- http://files.directadmin.com/services/all/mysql/MySQL-client-5.1.20-0.i386.rpm
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
11:32:33 ERROR 404: Not Found.

--11:32:33-- http://files.directadmin.com/services/all/mysql/MySQL-devel-5.1.20-0.i386.rpm
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
11:32:33 ERROR 404: Not Found.

--11:32:33-- http://files.directadmin.com/services/all/mysql/MySQL-server-5.1.20-0.i386.rpm
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
11:32:33 ERROR 404: Not Found.

--11:32:33-- http://files.directadmin.com/services/all/mysql/MySQL-shared-5.1.20-0.i386.rpm
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
11:32:34 ERROR 404: Not Found.

*** Cannot find /usr/local/directadmin/custombuild/mysql/MySQL-client-5.1.20-0.i386.rpm. Aborting ***


Files are missing? Build script is wrong?

DirectAdmin Support
09-28-2007, 10:16 AM
Hello,

Try the 5.0 version of mysql. 5.1 is sill in beta testing on dev.mysql.com.
Looking on their site, they don't have any static rpms available either.

I'd go with 5.0 for now.
I've removed the 5.1 option (just the question poriton) from the options configure file until that's sorted out on dev.mysql.com.

John

eagle
09-28-2007, 04:55 PM
Thanks, that's all right. If I see an option, I want to try it ;)

eagle
09-28-2007, 05:06 PM
Unfortunately, the building creates a wrong template somewhere. After adding a user, apache doesn't start:


Starting httpd: Syntax error on line 31 of /usr/local/directadmin/data/users/tester/httpd.conf:
Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration


<VirtualHost xxx.xxx.xxx.xxx:80>


ServerName www.xxx.com
ServerAlias www.xxx.com xxx.com
ServerAdmin webmaster@xxx.com
DocumentRoot /home/tester/domains/xxx.com/public_html
ScriptAlias /cgi-bin/ /home/tester/domains/xxx.com/public_html/cgi-bin/

UseCanonicalName OFF

SuexecUserGroup tester tester
CustomLog /var/log/httpd/domains/xxx.com.bytes bytes
CustomLog /var/log/httpd/domains/xxx.com.log combined
ErrorLog /var/log/httpd/domains/xxx.com.error.log

<Directory /home/tester/domains/xxx.com/public_html>
Options +Includes -Indexes


php_admin_value open_basedir /home/tester/:/tmp:/usr/local/lib/php/


suPHP_Engine ON
suPHP_UserGroup tester tester

</Directory>



</VirtualHost>




So, is this a mistake in the build?

eagle
09-29-2007, 03:53 AM
Continued over here:

http://www.directadmin.com/forum/showthread.php?p=114059#post114059