Getting incorrect msg title of "The service 'httpd' on server .. is currently down"

James4

Verified User
Joined
Jun 10, 2009
Messages
8
Getting incorrect msg title of "The service 'httpd' on server .. is currently down"

Hiya, I have a very strange problem with the message system in directadmin.

When I click "message system" from the home page, I get a list of the messages. Except, every message shows the title:

The service 'httpd' on server mydomain.com is currently down.

However when I click on the message, it shows the message and title correctly, for example "User xyz has used up 81.6% of his/her bandwidth and 54.9% of his/her allocated disk space".

It doesn't seem to matter what the message is, the summary screen shows the title of the service httpd being down. Just for clarity too. The httpd service is not down.
 
Hi, I'm still getting this problem. It's not major as I just go in to read the messages, but it can get annoying at times because I can't tell what is urgent without going in.

Any thoughts?

Thanks,
James
 
Hello,

Each message should have an ID number.
Please check that ID number and check:
Code:
cd /usr/local/directadmin/data/tickets/[b]000000[/b]/
ls -la
cd [b]123[/b]
cat 000.conf
cat 000.msg
and see if the subject there matches up with the value you see in DA or not.

My guess would be a wrong binary, as the issue seems rather odd/random.
Check to ensure that the binaries you've got matches your OS:
http://help.directadmin.com/item.php?id=318

John
 
This looks like it may be relevant:

I went into those directories as suggested, however once I was in the directory, there was a 001 file as well as a 000. This seems to be true for all the folders.

# ls -a
total 16
-rw------- 1 diradmin diradmin 157 Feb 8 2009 000.conf
-rw------- 1 diradmin diradmin 101 Feb 8 2009 000.msg
-rw------- 1 diradmin diradmin 150 Jun 25 00:10 001.conf
-rw------- 1 diradmin diradmin 326 Jun 25 00:10 001.msg

The 000 message, is the "HTTP" service down message, where as the 001 message is the correct message.

My current highest message is 94, however I seem to have folders already existing upto 354.

Looks like I need to just delete all folders from 95 upwards to fix this going forwards? If so, any quick way to delete folders 95, 96, 97... 354 etc?

Many thanks,
James

P.S. As for the binaries, redhat-release and /usr/local/directadmin/directadmin o
both indicate CentOS 5.x
 
Hello,

Create the script
Code:
/usr/local/directadmin/data/tickets/000000/fix.sh
In it, put the code
Code:
#!/bin/sh

DIR=95
while [ "$DIR" -le 395 ];
do
        rm -rf $DIR
        DIR=`expr $DIR + 1`
done
exit 0;
Then run it.

My guess is that the tickets directory was copied from a previous install, hence there is already data there.

The other, probably easier solution, is to simply increase the number in the file:
Code:
/usr/local/directadmin/data/admin/next_ticket.number
set it to 396, if the highest directory is 395. That way, DA will use a number that has not yet been used.

John
 
Back
Top