View Full Version : I Need Help!!! Someone Plz!
Anzix
11-27-2003, 03:06 AM
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.
FarCry
11-27-2003, 10:03 AM
you re-ran the setup.sh AFTER DA was installed, and had clients on it?
DirectAdmin Support
11-27-2003, 12:43 PM
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
ProWebUK
11-27-2003, 01:28 PM
If thats the case.... i feel for you!
Im assuming sites data / records and logs would still be intact?
ProWebUK
11-27-2003, 01:30 PM
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
Anzix
11-27-2003, 02:09 PM
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
Anzix
11-27-2003, 02:12 PM
Originally posted by phriendly-Mark
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
Anzix
11-27-2003, 03:27 PM
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]
S2S-Robert
11-28-2003, 07:40 AM
Originally posted by Anzix
How would i add domains to the http.conf Perhaps recreate every user with the same username?
DirectAdmin Support
11-28-2003, 01:00 PM
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:
cd /usr/local/directadmin/customapache
./build php
and see if that fixes it.
John
etegration
02-05-2004, 05:21 AM
Originally posted by DirectAdmin Support
As for the php_flag error.. it would look like you don't have php installed. Run:
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
DirectAdmin Support
02-05-2004, 11:20 AM
Hello,
The "configure" script it's referring to is in ./php-4.3.4/configure .. make sure that it exists. Do:
./build clean
./build update
./build phpJohn
etegration
02-06-2004, 03:08 AM
Originally posted by DirectAdmin Support
Hello,
The "configure" script it's referring to is in ./php-4.3.4/configure .. make sure that it exists. Do:
./build clean
./build update
./build phpJohn
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
02-06-2004, 03:46 AM
Originally posted by etegration
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... (http://www.directadmin.com/forum/showthread.php?s=&threadid=1988)
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.