2 Errors.

spyfox5400

New member
Joined
Jul 15, 2008
Messages
4
When I use custombuild to install Apache and Php5 (using options all d), I get two errors first of all apache won't start and I get the following error "Invalid command 'suPHP_Engine', perhaps misspelled or defined by a module not included in the server configuration", also during the installation of php I get this error "*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file". At this moment apache is down, and so are my websites (I think my host tried to upgrade to PHP 5 and failed) so I tried to do it using custom build. On a side note I still have access to directadmin.
 
Try:

Code:
./build suphp

What error do you get with PHP (few lines before the error mentioned in your post)?
 
Actually I had already done ./build suphp and forgot to mention it, it didn't fix anything. Before that php error I just get normal stuff but heres like 10 lines above "checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for 8-bit clean memcmp... yes
checking for mcrypt support... yes
checking for libmcrypt version... >= 2.5.6
checking for mcrypt_module_open in -lmcrypt... yes
checking for mhash support... yes
checking whether to include mime_magic support... no
checking for MING support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock
configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore!

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file
"

And when I try to execute configure.php5 I get this "./configure.php5: line 3: ./configure: No such file or directory"
 
Now, mysqld won't start heres what the mysql installation looks like:

[root@rorrpg custombuild]# ./build mysql
Found /usr/local/directadmin/custombuild/mysql/MySQL-client-5.0.51a-0.i386.rpm
Found /usr/local/directadmin/custombuild/mysql/MySQL-devel-5.0.51a-0.i386.rpm
Found /usr/local/directadmin/custombuild/mysql/MySQL-server-5.0.51a-0.i386.rpm
Found /usr/local/directadmin/custombuild/mysql/MySQL-shared-5.0.51a-0.i386.rpm
Stopping mysqld ...
mysqld: unrecognized service
Preparing... ########################################### [100%]
1:MySQL-client ########################################### [ 25%]
2:MySQL-devel ########################################### [ 50%]
Giving mysqld a couple of seconds to exit nicely
3:MySQL-server ########################################### [ 75%]
080715 19:14:00 [Warning] Asked for 196608 thread stack, but got 126976
080715 19:14:00 [Warning] Asked for 196608 thread stack, but got 126976
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h rorrpg.com password 'new-password'

Alternatively you can run:
/usr/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.

See the manual for more instructions.

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Starting MySQL ERROR! Couldn't find MySQL manager or server
Thank you for installing the MySQL Community Server! For Production
systems, we recommend MySQL Enterprise, which contains enterprise-ready
software, intelligent advisory services, and full production support with
scheduled service packs and more. Visit www.mysql.com/enterprise for more
information.
4:MySQL-shared ########################################### [100%]
mysqld: unrecognized service
Giving mysqld a few seconds to start up...
Looking for 'mysql' in: /usr/bin/mysql
Looking for 'mysqlcheck' in: /usr/bin/mysqlcheck
Running 'mysqlcheck'...
/usr/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) when trying to connect
FATAL ERROR: Upgrade failed
Restarting MySQL.
./build: line 2159: /etc/init.d/mysqld: No such file or directory
It is recommended to do "./build php n" after MySQL update.
 
hostpc.com, user=DirectAdmin support? Or me? What needs to be tested in this case? (user had a custom installation of suPHP (compiled in "owner" (not "paranoid") mode)). When you want - you can damage everything.. I appreciate your opinion, but I don't understand where is the problem? Which piece of untested code did you see in the CustomBuild script? (which was not marked as BETA into the main (help) page).
 
Back
Top