Couldnt access directadmin

brew

Verified User
Joined
Mar 12, 2004
Messages
18
Hi Directadmin support,

I got this error after cant try to restart directadmin as i couldnt access my directadmin

-bash-2.05b# sh directadmin restart
Stopping DirectAdmin: [ FAILED ]
Starting DirectAdmin: ELF binary type "0" not known.
Abort trap
[ FAILED ]

then i try to telnet the directadmin's port and it show

-bash-2.05b# telnet localhost 2222
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
-bash-2.05b#

My OS:

4.10-RELEASE-p14 FreeBSD 4.10-RELEASE-p14 #3

your prompt reply deeply appreciated.Thanks
 

jmstacey

Verified User
Joined
Feb 12, 2004
Messages
4,107
Location
Colorado
DirectAdmin is not a telnet service, you can't telnet into it.

Do you have the correct/same Operating system in your license as the server your trying to run DA on?
Has DirectAdmin ever worked? What was the last thing that you did that made it stop working.
Have you tried a manual update to see if the binary just became corrupt?
http://help.directadmin.com/item.php?id=29
 

brew

Verified User
Joined
Mar 12, 2004
Messages
18
jmstacey said:
DirectAdmin is not a telnet service, you can't telnet into it.
I'm not telnet into it but i try to check whether the service is running or not by telneting the port.
Do you have the correct/same Operating system in your license as the server your trying to run DA on?
Has DirectAdmin ever worked? What was the last thing that you did that made it stop working.
Have you tried a manual update to see if the binary just became corrupt?
http://help.directadmin.com/item.php?id=29
I followed what John advise to me

1.cd /usr/local/directadmin/customapache/
2. ./build clean
3. ./build php n
4 cp /usr/local/directadmin/customapache/php-4.3.9/php.ini-dist /usr/local/lib/php.ini
Suddenly i saw all my websites and my squirrelmail inaccessible and i believe this due to broken php..

I try to access and failed and try to restart the directadmin and it showing me below error

-bash-2.05b# ./directadmin stop
Stopping DirectAdmin: [ FAILED ]
-bash-2.05b# ./directadmin start
Starting DirectAdmin: ELF binary type "0" not known.
Abort trap
[ FAILED ]
-bash-2.05b# ./directadmin restart
Stopping DirectAdmin: [ FAILED ]
Starting DirectAdmin: ELF binary type "0" not known.
Abort trap
[ FAILED ]
-bash-2.05b#

Please help me as this thing affected alot fo my customers..thanks
 

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
26,119
Location
California
DirectAdmin is an entirely selfcontained C++ program; it's not dependent on anything.

So if it doesn't start, I believe there's a fundamental problem with the server.

However, I'd recommend DA as your point contact for support at this time; if they can't figure it out my guess is you're going to need a complete reinstall :( .

Jeff
 

brew

Verified User
Joined
Mar 12, 2004
Messages
18
problem still persists..

this is my /usr/local/directadmin/customapache variables..

# User Variables

APACHE_VER=1.3.33
MODSSL_VER=2.8.22
APACHE2_VER=2.0.52
PHP_VER=4.3.9
GD_VER=2.0.28
CURL_VER=7.12.2
ZLIB_VER=1.2.1
PNG_VER=1.2.7
FRONTPAGE_VER=1.6.1
MCRYPT_VER=2.5.7
MODPERL_FILE=mod_perl-1.0-current.tar.gz
MODPERL2_FILE=mod_perl-2.0-current.tar.gz
MODPERL_DIR=mod_perl-1.29
MODPERL2_DIR=modperl-2.0
MHASH_VER=0.9.1
ZZIP_VER=0.10.82
ZEND_VER=2.5.5

PHP_CONFIGURE=configure.php
PHP_CONFIGURE_AP2=configure.php_ap2
PHP_INI=/usr/local/lib/php.ini
APACHE_SSL_CONFIGURE=configure.apache_ssl
APACHE2_CONFIGURE=configure.apache_2

HTTPDCONF=/etc/httpd/conf
HTTPD_CONF=${HTTPDCONF}/httpd.conf
WEBPATH=http://files.directadmin.com/services/customapache
WEBPATH_BACKUP=http://www.directadmin.com/services/customapache

DEBIAN_VERSION=/etc/debian_version


Please help!!
 

brew

Verified User
Joined
Mar 12, 2004
Messages
18
thanks to all..

now my server working fine..but maybe sooner or later this things will happened again:

-bash-2.05b# brandelf -t Linux directadmin
brandelf: error opening file directadmin: Text file busy
-bash-2.05b#
 
Top