How-to: Upgrade Apache 1.x to 2.0

I'm getting this error...

Starting httpd: [Sun Mar 12 03:06:16 2006] [warn] module perl_module is already loaded, skipping
Syntax error on line 42 of /usr/local/directadmin/data/users/admin/httpd.conf:
Invalid command 'ProxyRequests', perhaps mis-spelled or defined by a module not included in the server configuration
 
Changes to be made in ips.conf and any other httpd config files that exist in the domains that you've created:

1. Change Port to Listen
2. Change the User XXXX and Group XXXX lines into a single line:
SuexecUserGroup XXXX XXXX


massive said:
is strange but now i made the same steps and its working.
The only change that i've made was to delete the original php.ini file, just in case...

Now everything works except the incompatibility of ips.conf.

is there any script that change this?
Also if i reinstall DA apache 2 will remain?
 
Maybe a stupid question but:
On apache 1.34 I updated the system by:

./build update
./build clean
./build all

Now, after I have upgraded to apache 2, is it a simple way to update the system if needed, like

./build update
./build clean
./build all_ap2

Or something?????
Or do you have to use the conversion script each time?
 
error in perl after
Code:
./build mod_perl_ap2

[root@server1 customapache]# ./build mod_perl_ap2
Found /usr/local/directadmin/customapache/mod_perl-2.0-current.tar.gz
Extracting ...
Done.
./build: line 1396: cd: mod_perl-2.0.2: No such file or directory
Configuring mod_perl-2.0.2...
Can't open perl script "Makefile.PL": No such file or directory.
Use -S to search $PATH for it.
Done. Making mod_perl-2.0.2...
Trying to make mod_perl-2.0...
make: *** No targets specified and no makefile found. Stop.

*** The make has failed, do you want to try to make again? (y,n):
y

Trying to make mod_perl-2.0...
make: *** No targets specified and no makefile found. Stop.

*** The make has failed, do you want to try to make again? (y,n):
n

[root@server1 customapache]#

Wael
 
Has anyone followed these steps to get Apache2 on Debian?

I did and it's working, but I have some issues with the httpd startup script in /etc/init.d/

First is:
./httpd: line 15: /etc/rc.d/init.d/functions: No such file or directory

What should this be?

Related to this, there is a function used 'killproc' that is not available on Debian, so I changed this to 'pkill' to resolve that.

Can anyone running Debian let me know if they have the same issues and if not, what their script is?
 
Just anyone running centos a tip:

Don't run "yum update all" after upgrading..

Just wanted to update my programs and yum downgrades the httpd (apache) back to 1.3 without converting the configs (thus shutting it down and giving an error when you start it)

Only way i found to fix this is to run this howto all over again.. :(

Anyone know how to get Yum update to work without updating httpd?
 
ZPillay said:
Just anyone running centos a tip:

Don't run "yum update all" after upgrading..

Just wanted to update my programs and yum downgrades the httpd (apache) back to 1.3 without converting the configs (thus shutting it down and giving an error when you start it)

Only way i found to fix this is to run this howto all over again.. :(

Anyone know how to get Yum update to work without updating httpd?


Hi, maybe you should check your /etc/yum.conf file. There should be a line at the bottom with

exclude=apache* httpd* mod_* mysql* MySQL* da* *ftp* exim* sendmail* php*
 
When ./build php_ap2

checking return type of qsort... void
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.

*** There was an error while trying to configure php. Check the configure.php file


configure:62118: checking base type of last arg to accept
configure:62146: g++ -c conftest.C 1>&5
configure:62195: checking return type of qsort
configure:62213: gcc -c -g -O2 conftest.c 1>&5
configure:62625: checking for mysql_close in -lmysqlclient
configure:62644: gcc -o conftest -g -O2 -Wl,-rpath,/usr/lib/mysql -L/usr/lib/mysql -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -lmysqlclient -lmhash -lmcrypt -lpng -lz -ljpeg -lcurl -lz -lresolv -lm -ldl -lnsl -lcurl -lssl -lcrypto -ldl -lz 1>&5
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x8): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x10): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x14): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x18): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x57): In function `yaSSL::x509::~x509(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x2ad): In function `yaSSL::CertManager::~CertManager(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL11SSL_SESSION+0x32): In function `mySTL::list<yaSSL::SSL_SESSION *>::~list(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL12input_buffer+0x32): In function `mySTL::list<yaSSL::input_buffer *>::~list(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL13output_buffer+0x32): In function `mySTL::list<yaSSL::output_buffer *>::~list(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPUc+0x32): more undefined references to `__builtin_delete' follow
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x8): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x10): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x14): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(yassl_imp.o)(.text+0x25b2): In function `yaSSL::ServerDHParams::~ServerDHParams(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_imp.o)(.text+0x420b): In function `yaSSL::Connection::~Connection(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x2bad): In function `yaSSL::SSL_SESSION::~SSL_SESSION(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x2c6b): In function `yaSSL::Sessions::~Sessions(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x2f79): In function `yaSSL::SSL_CTX::~SSL_CTX(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x3350): more undefined references to `__builtin_delete' follow
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x10): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x14): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x18): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x1c): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt11BER_Decoder+0xc): more undefined references to `__pure_virtual' follow
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.t._._Q28TaoCrypt13DSA_PublicKey+0x9f): In function `TaoCrypt::DSA_PublicKey::~DSA_PublicKey(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-random.o)(.text+0x106): In function `TaoCrypt::OS_Seed::~OS_Seed(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x14): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x18): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x1c): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x20): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x24): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x28): more undefined references to `__pure_virtual' follow
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x12a6): In function `yaSSL::RandomPool::~RandomPool(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x1b86): In function `yaSSL::Integer::~Integer(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x1ec6): In function `yaSSL::DiffieHellman::~DiffieHellman(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3DES7DESImpl+0x26): In function `yaSSL::DES::DESImpl::~DESImpl(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3AES7AESImpl+0x71): In function `yaSSL::AES::AESImpl::~AESImpl(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3RSA7RSAImpl+0x6e): more undefined references to `__builtin_delete' follow
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt9Mode_BASE+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x8): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x10): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0x8): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0xc): more undefined references to `__pure_virtual' follow
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q28TaoCrypt14RSA_PrivateKey+0x123): In function `TaoCrypt::RSA_PrivateKey::~RSA_PrivateKey(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(log.o)(.text+0x24): In function `yaSSL::Log::~Log(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x10): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x14): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x18): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x3c): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x40): more undefined references to `__pure_virtual' follow
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x68): In function `TaoCrypt::FileSource::~FileSource(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x228): In function `TaoCrypt::FileSink::~FileSink(void)':
: undefined reference to `__builtin_delete'
collect2: ld returned 1 exit status
configure: failed program was:
#line 62633 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysql_close();

int main() {
mysql_close()
; return 0; }
configure:62849: checking for mysql_error in -lmysqlclient
configure:62868: gcc -o conftest -g -O2 -Wl,-rpath,/usr/lib/mysql -L/usr/lib/mysql -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr -L/usr conftest.c -lmysqlclient -lz -lmhash -lmcrypt -lpng -lz -ljpeg -lcurl -lz -lresolv -lm -ldl -lnsl -lcurl -lssl -lcrypto -ldl -lz 1>&5
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x8): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x10): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x14): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(ssl.o)(.gnu.linkonce.d.__vt_Q25yaSSL7Message+0x18): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x57): In function `yaSSL::x509::~x509(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(cert_wrapper.o)(.text+0x2ad): In function `yaSSL::CertManager::~CertManager(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL11SSL_SESSION+0x32): In function `mySTL::list<yaSSL::SSL_SESSION *>::~list(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL12input_buffer+0x32): In function `mySTL::list<yaSSL::input_buffer *>::~list(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPQ25yaSSL13output_buffer+0x32): In function `mySTL::list<yaSSL::output_buffer *>::~list(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.t._._Q25mySTLt4list1ZPUc+0x32): more undefined references to `__builtin_delete' follow
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x8): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x10): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(template_instnt.o)(.gnu.linkonce.d.__vt_Q25yaSSL13HandShakeBase+0x14): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(yassl_imp.o)(.text+0x25b2): In function `yaSSL::ServerDHParams::~ServerDHParams(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_imp.o)(.text+0x420b): In function `yaSSL::Connection::~Connection(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x2bad): In function `yaSSL::SSL_SESSION::~SSL_SESSION(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x2c6b): In function `yaSSL::Sessions::~Sessions(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x2f79): In function `yaSSL::SSL_CTX::~SSL_CTX(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(yassl_int.o)(.text+0x3350): more undefined references to `__builtin_delete' follow
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x10): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x14): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x18): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt4HASH+0x1c): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt11BER_Decoder+0xc): more undefined references to `__pure_virtual' follow
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-asn.o)(.gnu.linkonce.t._._Q28TaoCrypt13DSA_PublicKey+0x9f): In function `TaoCrypt::DSA_PublicKey::~DSA_PublicKey(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-random.o)(.text+0x106): In function `TaoCrypt::OS_Seed::~OS_Seed(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x14): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x18): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x1c): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x20): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x24): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-hash.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt17HASHwithTransform+0x28): more undefined references to `__pure_virtual' follow
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x12a6): In function `yaSSL::RandomPool::~RandomPool(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x1b86): In function `yaSSL::Integer::~Integer(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.text+0x1ec6): In function `yaSSL::DiffieHellman::~DiffieHellman(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3DES7DESImpl+0x26): In function `yaSSL::DES::DESImpl::~DESImpl(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3AES7AESImpl+0x71): In function `yaSSL::AES::AESImpl::~AESImpl(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q35yaSSL3RSA7RSAImpl+0x6e): more undefined references to `__builtin_delete' follow
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt9Mode_BASE+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x8): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL4Auth+0x10): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0x8): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.d.__vt_Q25yaSSL10BulkCipher+0xc): more undefined references to `__pure_virtual' follow
/usr/lib/mysql/libmysqlclient.a(crypto_wrapper.o)(.gnu.linkonce.t._._Q28TaoCrypt14RSA_PrivateKey+0x123): In function `TaoCrypt::RSA_PrivateKey::~RSA_PrivateKey(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(log.o)(.text+0x24): In function `yaSSL::Log::~Log(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0xc): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x10): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x14): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x18): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x3c): undefined reference to `__pure_virtual'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-algebra.o)(.gnu.linkonce.d.__vt_Q28TaoCrypt23AbstractEuclideanDomain+0x40): more undefined references to `__pure_virtual' follow
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x68): In function `TaoCrypt::FileSource::~FileSource(void)':
: undefined reference to `__builtin_delete'
/usr/lib/mysql/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x228): In function `TaoCrypt::FileSink::~FileSink(void)':
: undefined reference to `__builtin_delete'
collect2: ld returned 1 exit status
configure: failed program was:
#line 62857 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mysql_error();

int main() {
mysql_error()
; return 0; }
 
it looks to me that a few people had problems with the upgrade and the fix wasnt posted just went and fixed their servers personally. Will someone please post the fix to the problem everyone was having so I can upgrade?
Question, is the apache 2 that much better than the 1.36? if so how?
Thanks
 
I have tried the "upgrade to apache2" on several clean servers (centos 4.3).
It all works ok, however there seems to be an error in de php-4.2.2 archive.

I've used this tutorial: http://www.directadmin.com/features.php?id=441

When I do "./build php_ap2", everything compiles fine, but at the end you'll see these errors:

Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar: bad md5sum for file /usr/local/lib/php/Archive/Tar.php
[PEAR] Console_Getopt: bad md5sum for file /usr/local/lib/php/Console/Getopt.php
[PEAR] HTML_Template_IT: bad md5sum for file /usr/local/lib/php/HTML/Template/IT.php
[PEAR] Net_UserAgent_Detect- already installed: 2.0.1
[PEAR] PEAR - already installed: 1.4.6


To fix this I downloaded the packages from http://pear.php.net/package/ and add them to the php-4.2.2.tar.gz.
Now everything runs ok.

Is this a known problem?
 
the pear stuff is incomeplete in php 4.4.2 I am amazed they have left this as the latest stable version for so long with this bug.

People who installed php over a older version of php probably wont have any problems since they will still have pear from the older version.

If you installed php 4.4.2 over no previous version the easiest way to fix it is to install php 4.4.1 then upgrade back to 4.4.2 and pear will be in place, you can then upgrade it via pear upgrade-all.

Their are other ways to fix it like modifying files in the package but using 4.4.1 is easiest.
 
I ve successfully upgraded apache from 1.3.x to 2.0.59
One thing I can't seem to understand is loadmodules.
Using the posted instructions, now I have 3 modules running:
Code:
LoadModule php4_module        /usr/lib/apache/libphp4.so
LoadModule frontpage_module   /usr/lib/apache/mod_frontpage.so
LoadModule perl_module        /usr/lib/apache/mod_perl.so
However, in my old apache 1.3.x httpd.conf I had like 20 modules.
Are those modules gone?
I know some of them must be working, for example:
access_module and auth_module, because my protected directories are working.

So, where are they??? (the modules directives)

Another thing I don't understand is this "prefork MPM", "worker MPM" and "perchild MPM" lingo. Maybe somebody can put a link ... that 'd be nice.
 
Please don't duplicate your posts.

You've got what we've got, in our one server running Apache2.

Apache2 build in a lot of functionality for which Apache1 required modules.

And in other cases, modules are not yet available.

But what you've got is right.

Have you tried googling for those terms you don't understand?

Jeff
 
Back
Top