I Need Help!!! Someone Plz!

Anzix

Verified User
Joined
Aug 17, 2003
Messages
39
Location
portland
Hello, im from http://www.frag-wire.com ... i did setup.sh again and every since I did that my site has the "shared ip" page and all the sites I host have it. How would I get it to load the sites again without this page?

Can someone please help me im a noob at this stuff.
 
Last edited:
setup.sh is for new installs only... If you've re-run the script you'll have to setup everything again (make sure the domain is created and is in your httpd.conf)

John
 
If thats the case.... i feel for you!

Im assuming sites data / records and logs would still be intact?
 
Seeing as something like this has happened... would it be possible to automatically remove the setup.sh from the server once DA was setup successfully?

Chris
 
everything is still setup so what would I have to do all the domains and accounts all still run but its not showing the page
 
phriendly-Mark said:
you re-ran the setup.sh AFTER DA was installed, and had clients on it?

I did not know it was for fresh installs..like I said everything is still up clients and all their files.

How would i add domains to the http.conf
 
now i get

Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 27 of /usr/local/directadmin/data/users/fragwire/httpd.conf:
Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration
[FAILED]
 
Hello,

If you've re-run the setup.sh.. it will re-install DirectAdmin along with the services. It will also re-copy the /etc/httpd/conf/httpd.conf file (among other things).

The only difference between what you had and what the install did would be all of the:

Include /usr/local/directadmin/data/users/username/httpd.conf

lines... so if you manually re-add them, it should fix everything.


As for the php_flag error.. it would look like you don't have php installed. Run:
Code:
cd /usr/local/directadmin/customapache
./build php
and see if that fixes it.

John
 
DirectAdmin Support said:

As for the php_flag error.. it would look like you don't have php installed. Run:
Code:
cd /usr/local/directadmin/customapache
./build php
and see if that fixes it.

John

I have the same error and when i try running ./build php

till the line, error occured.

Configuring php-4.3.4...
/usr/local/directadmin/customapache/configure.php: line 3: ./configure: No such file or directory

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

My /usr/local/directadmin/customapache/configure.php reads:

#!/bin/sh
./configure \
--with-apxs \
--with-curl \
--with-curl-dir=/usr/local/lib \
--with-gd \
--with-gd-dir=/usr/local/lib \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-kerberos \
--with-mcrypt \
--with-mysql \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars

to add: i see a folder named php-4.3.4 and a file php-4.3.4.tar.gz in /usr/local/directadmin/customapache
 
Last edited:
Hello,

The "configure" script it's referring to is in ./php-4.3.4/configure .. make sure that it exists. Do:
Code:
./build clean
./build update
./build php
John
 
DirectAdmin Support said:
Hello,

The "configure" script it's referring to is in ./php-4.3.4/configure .. make sure that it exists. Do:
Code:
./build clean
./build update
./build php
John

Hi john, i;ve done the above (]./build clean ./build update ./build php) but problem persists. Where do i get this file (./php-4.3.4/configure) from? The guy reselling me DA doesn't really know how to use it in the first place. :(
 
etegration said:
Hi john, i;ve done the above (]./build clean ./build update ./build php) but problem persists. Where do i get this file (./php-4.3.4/configure) from? The guy reselling me DA doesn't really know how to use it in the first place. :(

Solved! i deleted
/usr/local/directadmin/customapache/php-4.3.4.tar.gz

rerun ./build update

causing php-4.3.4.tar.gz to be re-downloaded automatically and then ran:

./build php and all turned up.

John, you can ignore my e-mail.

Now to solve the Nameserver Problems i am having...
 
Back
Top