PDA

View Full Version : Apache 1.3.29?


thoroughfare
11-04-2003, 01:18 PM
Any plans to update the custom apache build system to use Apache 1.3.29?

Thanks,
Matt

ActiveDomain.NL
11-04-2003, 03:16 PM
And don't forget PHP 4.3.4 :)

l0rdphi1
11-04-2003, 03:44 PM
Yes. Both would be nice :D

DirectAdmin Support
11-04-2003, 11:44 PM
Hello,

The build script is updated. I got all the new versions in 5 minutes after I found out (I love the flexibility of that script :D)

To update:cd /usr/local/directadmin/customapache
rm -f configure.*
./build clean
./build update
./build allThe only thing that the removal of the configure files is to ensure that the configure.apache_ssl is using the proper path (../apache_1.3.29 instead of ../apache_1.3.28). It will be restored (with the right path) during the update.

Added:
apache 1.3.29
mod_ssl 2.8.16
php 4.3.4

John

ActiveDomain.NL
11-05-2003, 02:02 AM
Seems to work fine, thanks. Btw ... those patches it's running on Apache 1.3.29, aren't those for 1.3.28? Oh well, it's running fine :)

Icheb
11-06-2003, 01:43 PM
Worked perfectly :)

Only, i don't agree with the rm line :

cd /usr/local/directadmin/customapache
cp configure.php oldconfigure.php
rm -f configure.*
./build clean
./build update
mv oldconfigure.php configure.php
./build all


This is what i suggest, this way you can keep your old php configure, it took me some time to get it working properly with all things my users want, i am not about to do that again :D

DirectAdmin Support
11-06-2003, 04:04 PM
I figure that those who have customizations would know better :)

There's a note about it in the README

John

hostpc.com
11-06-2003, 09:01 PM
A couple of "issues" with this - maybe you can shed some light:

************* WARNING *************
Your Perl is linked with -lpthread, make sure that your httpd is built with LIBS=-lpthread
************* WARNING *************


*************************************
* *
* All parts have been installed *
* *
*************************************

Type: service httpd restart
[root@www3 customapache]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Thu Nov 6 23:00:36 2003] [warn] module perl_module is already loaded, skipping
[ OK ]
[root@www3 customapache]#

and

[root@www3 customapache]# service named restart
Stopping named:
named: already running
[root@www3 customapache]#


these were all normal restarts before the "upgrade" -
any advice?

DirectAdmin Support
11-07-2003, 11:01 AM
Hello,

The mod_perl warning isn't much to worry about, when mod_perl installs itself, it adds a duplicate module load into the /etc/httpd/conf/httpd.conf ... apache sees this an ignores it. You can just remove one of the duplicates (paths are different, but they point to the same file using symlinks)

As for named.. I've never been impressed with the boot scripts they've provided.. but you can just do:
service named stop
wait a little bit, then
service named start

Failing that I'd just do a "killall -9 named" to toast them.

John

MagnuM
11-11-2003, 01:51 AM
I just make those updates, but Apache failed to start. I run configtest and I receive:

Syntax error on line 17 of /etc/httpd/conf/ips.conf:
Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module not included in the server configuration

This is on line 17: SSLEngine on

DirectAdmin Support
11-11-2003, 10:10 PM
Hello,

This has been asked about 5 times on the fourm. Don't use httpd, use it's boot script:

service httpd restart
John

MagnuM
11-12-2003, 12:33 AM
Ohh, sorry.

Now Apache is running, but if I run apachectl configtest it still give me the same error.

DirectAdmin Support
11-12-2003, 02:22 PM
Hello,

apachectl isn't setup either. The boot script adds all the required "-D<FLAGS>" for apache while apachectl doesn't, which is why the boot scripts are needed.

John

jlasman
11-19-2003, 10:16 AM
[QUOTE]Originally posted by DirectAdmin Support
As for named.. I've never been impressed with the boot scripts they've provided.. but you can just do:
service named stop
wait a little bit, then
service named start
[b]
Restarting named is never a good idea, especially if you don't have a secondary server. Named can take a few seconds (more if it's hosting DNS for lots of domains) to load everything, and during that time it can fail to return queries.

Instead I'd just reload it... That will cause it to reload all changed zone files and still serve requests.

# service named reload

Jeff

wendor
11-19-2003, 05:31 PM
Originally posted by jlasman
Restarting named is never a good idea, especially if you don't have a secondary server. Named can take a few seconds (more if it's hosting DNS for lots of domains) to load everything, and during that time it can fail to return queries.


Well, since ALL top level domains currently REQUIRE you to have a minimum of two active nameservers it shouldn't be a problem for anyone. Running without a secondary nameserver is not only a bad idea, it is a violation of your domain registration agreement and can result in your domain name registration(s) being cancelled.

jlasman
11-19-2003, 05:48 PM
Be that as it may, most hosting control panels, DA and Plesk included, presume you're only going to use the one control panel, and have no easy way for you to get slave DNS set up.

I'd bet that most DA users have only one nameserver, but list it with their registrars at two IP#s as both ns1 and ns2.

Jeff