after update version DirectAdmin 1.26.2

bigboy

Verified User
Joined
Nov 25, 2005
Messages
231
Location
USA
after update version DirectAdmin 1.26.2


A new message or response with subject:

The service 'directadmin' on server mars.siaminterserver.com is
currently down

has arrived for you to view.
Follow this link to view it:
 
Of course if DA is down, you can't follow the link to a DA page to view the message.

That's what happens when templated messages get used ;) .

You need to login as root, and attempt to start directadmin from the command line:

# service directadmin start

and see if you get any error messages, either on the screen, or in the directadmin log file.

Jeff
 
http://www.directadmin.com/versions.php



/usr/local/etc/rc.d/directadmin restart
Stopping DirectAdmin: [ FAILED ]
Starting DirectAdmin: [ OK ]
mars#

#/usr/local/etc/rc.d/directadmin status
directadmin dead but subsys locked

cannot access http://siaminterserver.com:2222




A new message or response with subject:

*** An error has occurred while trying to update the software ***

has arrived for you to view.
Follow this link to view it:

http://siaminterserver.com:2222


======================================================
Automatically generated email produced by DirectAdmin 1.26.1





/var/log/directadmin/sysytem.log



2006:01:22-17:04:00: directadmin started
2006:01:22-17:04:11: directadmin restarted
2006:01:22-17:05:00: directadmin started
2006:01:22-17:05:11: directadmin restarted
2006:01:22-17:06:00: directadmin started
2006:01:22-17:06:11: directadmin restarted
2006:01:22-17:07:00: directadmin started
2006:01:22-17:07:12: directadmin restarted
2006:01:22-17:08:00: directadmin started
2006:01:22-17:08:11: directadmin restarted
2006:01:22-17:09:00: directadmin started
2006:01:22-17:09:11: directadmin restarted
2006:01:22-17:10:00: directadmin started
2006:01:22-17:10:11: directadmin restarted
2006:01:22-17:11:00: directadmin started
2006:01:22-17:11:11: directadmin restarted
2006:01:22-17:12:00: directadmin started
2006:01:22-17:12:11: directadmin restarted
 
Last edited:
I'm not where I can log into a server and look right now, but there's a lockfile somehwere; do:

find / -name "*lock"

or look for a pidfile somewhere; I'm not sure where FreeBSD stores them.

I was hoping to find a response to this in the DA knowledgebase as I know it comes up.

So I'm going to bring this post to the attention of DA support.

Jeff
 
Hello,

Any errors relating to DA not running are going to be in /var/log/directadmin/error.log:
Code:
tail /var/log/directadmin/error.log
This would also be a related help guide:
http://help.directadmin.com/item.php?id=75
as DA is not running.

You can manually test to see why DA isn't running by using the terminal daemon mode (ctrl-c to stop):
Code:
cd /usr/local/directadmin
./directadmin
It will likely dump out an error if there is a problem.

John
 
Hello, DirectAdmin Support



mars# tail /var/log/directadmin/error.log

Jan 23 00:00:00 mars newsyslog[33603]: logfile turned over
Jan 23 00:00:00 mars newsyslog[33603]: logfile turned over
Jan 22 00:00:01 mars newsyslog[13677]: logfile turned over
Jan 21 00:00:00 mars newsyslog[37959]: logfile turned over
2006:01:21-19:30:24: Auth::passValid: unable to get user_info for suansin.com
2006:01:21-19:30:45: Auth::passValid: unable to get user_info for suansin
2006:01:21-21:10:58: Socket write error: fd is connected to a pipe or socket whose reading end is closed. When this happens the writing process will also receive a SIG_PIPE signal. (Thus, the write return value is seen only if the program catches, blocks or ignores this signal.)
2006:01:21-21:10:58: Error while sending ./data/skins/enhanced/images/nav-password-over.gif
2006:01:21-22:20:59: Auth::passValid: unable to get user_info for suansin.com
2006:01:21-23:21:27: Socket write error: fd is connected to a pipe or socket whose reading end is closed. When this happens the writing process will also receive a SIG_PIPE signal. (Thus, the write return value is seen only if the program catches, blocks or ignores this signal.)
Jan 22 00:00:01 mars newsyslog[13677]: logfile turned over


#./directadmin
elf_load_section: truncated ELF file
Abort

#mars# /usr/local/etc/rc.d/directadmin restart
Stopping DirectAdmin: cat: /var/run/directadmin.pid: No such file or directory
usage: kill [-s signal_name] pid ...
kill -l [exit_status]
kill -signal_name pid ...
kill -signal_number pid ...
[ FAILED ]
Starting DirectAdmin: [ OK ]


not run service
 
It appears that your directadmin executable is corrupted; that's what the ELF file is.

You'll need to get help from DirectAdmin support and for fastest service should contact them by email.

Jeff
 
Hello,

If you ever see the "no match" error, escape the ? character with the \ character.

eg:
Code:
wget -O update.tar.gz https://www.directadmin.com/daupda[b]te\?uid[/b]=123\&lid=1234
John
 
Back
Top