Apache and vhosts

ReneDx

Verified User
Joined
Feb 28, 2007
Messages
20
Hello,

I did a brand new install today on an new server. Everything was done, the server works but had an old version of Apache. I decided to update it with the beta build option.

Right.. everything went wrong. Now, hours later, everything works right. But hes searching to "vhosts", but this apache installation did not added Vhosts. So everytime i add a new user it says:

2007:06:04-23:45:38: Unable to get lock on /etc/httpd/conf/extra/directadmin-vhosts.conf to add /usr/local/directadmin/data/users/USERNAME/httpd.conf

So, it ill never find the user domains. I tried to re-build it, i tried everything that was an option. But it doesn't go away.

Anyone an suggestion?
 
To rewrite configs use:
Code:
./build rewrite_confs
 
Last edited:
Code:
./build rewirte_confs

Brings me to the help doc of the build script. Even on the beta build.

Edit
I see, ty, works fine. Did not see that option. :)
 
Last edited:
Sorry, typo.. Just edited the post. It should be "./build rewrite_confs".
 
Now, that worked i got the next problem. After one hour it came with an message that my service was down. I restartedit by hand and this was the failure response. But i don't know what it means.

Code:
Starting httpd: Syntax error on line 15 of /etc/httpd/conf/extra/httpd-dav.conf:
Invalid command 'DavLockDB', perhaps mis-spelled or defined by a module not included in the server configuration
                                                           [FAILED]
 
So, you just rewrited configs, but didn't installed apache? Do "./build all".
 
Apache is installed. But if i do "./build all" php will get problems thats the reason i did it by hand.
then if i do "./build php y" PHP will install in a loop and the connection will break.

The php problem:
Code:
gcc: /usr/lib/mysql/libmysqlclient.so: No such file or directory
make: *** [libphp5.la] Error 1

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

I was looking on an other server and those doesn't have "libmysqlclient.so", so why this one need it, and where it need to come from?
 
Last edited:
Back
Top