New build system (BETA)

iron, I'm going to fix it ASAP. For httpd-manual.conf - just remove that line, and in httpd-vhosts.conf change the |IP| to your server IP.
 
server ip seems to be ok in ips.conf which is included. another problem:

/etc/init.d/httpd restart
Stopping httpd:
Starting httpd: [Mon Apr 9 10:52:37 2007] [error] Cannot resolve host name |IP| --- ignoring!
[Mon Apr 9 10:52:37 2007] [error] Cannot resolve host name |IP| --- ignoring!
Syntax error on line 55 of /etc/httpd/conf/extra/httpd-default.conf:
Unrecognised ServerTokens keyword: Major

i just can't start apache
 
if i comment this line in httpd-default.conf then apache starts but with these warnings:
/etc/init.d/httpd restart
Stopping httpd:
Starting httpd: [Mon Apr 9 10:55:34 2007] [error] Cannot resolve host name |IP| --- ignoring!
[Mon Apr 9 10:55:34 2007] [error] Cannot resolve host name |IP| --- ignoring!
[Mon Apr 9 10:55:34 2007] [warn] NameVirtualHost 84.95.245.124:80 has no VirtualHosts
[Mon Apr 9 10:55:34 2007] [warn] NameVirtualHost 84.95.245.124:443 has no VirtualHosts
[Mon Apr 9 10:55:34 2007] [warn] NameVirtualHost 84.95.245.124:80 has no VirtualHosts
[Mon Apr 9 10:55:34 2007] [warn] NameVirtualHost 84.95.245.124:443 has no VirtualHosts
[Mon Apr 9 10:55:34 2007] [warn] NameVirtualHost 84.95.245.125:443 has no VirtualHosts
[Mon Apr 9 10:55:34 2007] [warn] NameVirtualHost 84.95.245.125:80 has no VirtualHosts
[Mon Apr 9 10:55:34 2007] [warn] NameVirtualHost 84.95.245.125:443 has no VirtualHosts

and when i try to access my site i get default apache page instead of the website
 
As I said it's located in extra/httpd-vhosts.conf, not ips.conf :) There you'll see |IP|.
 
/etc/init.d/httpd restart
Stopping httpd:
Remaining processes: 940
Stopping httpd:
Starting httpd: [Mon Apr 9 11:08:27 2007] [error] Cannot resolve host name |84.95.245.124| --- ignoring!
[Mon Apr 9 11:08:27 2007] [error] Cannot resolve host name |84.95.245.125| --- ignoring!


this is after adding the ip and its still showing me the default apache page :(


-----
edited
-----
i'm a newbie :P

changed to normal ip but still getting this :
/etc/init.d/httpd restart
Stopping httpd:
Remaining processes: 1042
Stopping httpd:
Starting httpd: [Mon Apr 9 11:11:46 2007] [warn] NameVirtualHost 84.95.245.124:443 has no VirtualHosts
[Mon Apr 9 11:11:46 2007] [warn] NameVirtualHost 84.95.245.124:80 has no VirtualHosts
[Mon Apr 9 11:11:46 2007] [warn] NameVirtualHost 84.95.245.124:443 has no VirtualHosts
[Mon Apr 9 11:11:46 2007] [warn] NameVirtualHost 84.95.245.125:443 has no VirtualHosts
[Mon Apr 9 11:11:46 2007] [warn] NameVirtualHost 84.95.245.125:80 has no VirtualHosts
[Mon Apr 9 11:11:46 2007] [warn] NameVirtualHost 84.95.245.125:443 has no VirtualHosts


and still default apache page
 
Last edited:
just did - thats why i edited the previous post and still getting this:
/etc/init.d/httpd restart
Stopping httpd:
Remaining processes: 1075
Stopping httpd:
Starting httpd: [Mon Apr 9 11:22:08 2007] [warn] NameVirtualHost 84.95.245.124:443 has no VirtualHosts
[Mon Apr 9 11:22:08 2007] [warn] NameVirtualHost 84.95.245.124:80 has no VirtualHosts
[Mon Apr 9 11:22:08 2007] [warn] NameVirtualHost 84.95.245.124:443 has no VirtualHosts
[Mon Apr 9 11:22:08 2007] [warn] NameVirtualHost 84.95.245.125:443 has no VirtualHosts
[Mon Apr 9 11:22:08 2007] [warn] NameVirtualHost 84.95.245.125:80 has no VirtualHosts
[Mon Apr 9 11:22:08 2007] [warn] NameVirtualHost 84.95.245.125:443 has no VirtualHosts
 
Everything is okay now :) It's just a warning, don't take a look at it and that's all. It means that there are no virtual hosts created on these IPs, when you will create them - warning won't be shown. Good luck!
 
but there were virtual hosts in my previous setup. you mean i have to recreate all the config from 0 ? maybe there is a way to use old config files?
 
i guess i have to include directadmin config files for apache. any clue how can i do it ?
 
smtalk any clue on why suphp doesnt seem to be working? I still have the same problem as nzyme.
 
It's included :) It's in extra/directadmin-vhosts.conf. Warning says that there are no virtual hosts created on 84.95.245.124 and 84.95.245.125.
 
Do this:
Code:
cd /usr/local/directadmin/data/users
for i in `ls`; do { echo "Include /usr/local/directadmin/data/users/$i/httpd.conf" >> /etc/httpd/conf/extra/directadmin-vhosts.conf; }; done;
 
vhosts working but another problem appeared. it seems that php is not working. got joomla and drupal installed and both shows blank pages. no idea why. drupal is clean installation without modifications so i guess the problem is with php somehow :confused:
 
When my httpd-suphp.com just contains

Code:
<Location />
suPHP_Engine on
suPHP_ConfigPath /usr/local/etc/php5/cgi/
suPHP_AddHandler x-httpd-php5
</Location>

I get this error

Code:
Syntax error on line 5 of /etc/httpd/conf/extra/httpd-suphp.conf:
Invalid command 'suPHP_Engine', perhaps misspelled or defined by a module not included in the server configuration

do i still need to do a loadmodule? cause i dont seem to be able to find the suphp module in /usr/lib/apache/
 
it might be cause i compiled php as cli ? if i change to cgi all the php scripts will work ? can i change from cli to cgi without building again ?
 
Back
Top