Corrupted ticket system

Chrysalis

Verified User
Joined
Aug 25, 2004
Messages
1,336
Location
uk
Hi

I got a new major problem, there was a problem on a server and the ticket system has somehow got corrupted, these are whats happening.

1 - When a user tries to post a ticket they get msg saying ticket system down, they can view closed tickets.
2 - Messages no longer get posted, httpd down etc. and the send messages to email box was blank.
3 - Admin cant access ticket area the following error occurs.
Program Error

Details

A segmentation fault has occurred


It looks to me having checked out a bunch of files that the users tickets and total ticket count isnt synched and I have an email reffering to a ticket #150 before it all messed up and there is no ticket 150, I am wondering if its easy to manually wipe all tickets and start afresh but I dont know how to.

Have sent support an email on this about 6 hours ago no response yet.
 
got these from DA error log.

2005:05:05-08:53:29: *** Segmentation fault *** getlock(./data/users/admin/ticket.conf) : finished : User: admin : 84.12.x.x : /CMD_TICKET_MANAGE : (null) : (null)
2005:05:05-08:55:10: The username hasn't been set. Won't run the script without dropping privileges
2005:05:05-10:11:18: Didn't find two eols on the header from 82.135.x.x

Below repeated loads of times.

2005:05:05-15:21:17: *** Segmentation fault *** getlock(./data/users/admin/ticket.conf) : finished : User: admin : 82.21.x.x : /CMD_TICKET_MANAGE : (null) : (null)
 
found fault after reading that log

/usr/local/directadmin/data/users/admin/ticket.conf had missing 3 lines and I copied the lines of another server.

We have lost all previous tickets, but it functions again now.
 
Thanks for your info Chrysialis! I couldn't find an answer to my problem (exactly what you had) when searching under "message system" and started a new post :-P

I will try your suggestion!

Harro

p.s. I only have this problem with one reseller and it started after I changed this reseller from a user with the dauser.pl script.
 
unfortunately I can't find anything wrong with the ticket.conf (neither for the admin, nor for the reseller in question...)!

admin tickets.conf:
ON=yes
active=yes
[email protected]
html=Follow <a href="http://www.domain.com/support">this link</a> for a 3rd party ticket system.
new=1
newticket=0

reseller / user tickets.conf:

none of the users have "active=yes" in their conf.

So...
Back to the drawingboards.
 
Last night DA has down. In logs last messages:

19/08/2007:21:24:20 86.57.210.252 GET / HTTP/1.1 c001323
19/08/2007:21:24:27 86.57.210.252 GET /CMD_TICKET_MANAGE HTTP/1.1 c001323
19/08/2007:21:24:32 86.57.210.252 GET /CMD_TICKET_MANAGE HTTP/1.1 c001323
[root@s1 directadmin]#

2007:08:19-21:24:32: *** Segmentation fault *** getlock(/usr/local/directadmin/data/tickets/000000/316/000.conf) : finished : User: c001323 : 86.57.210.252 : /CMD_TICKET_MANAGE : action=view&number=000000316&type=ticket : (null)
2007:08:19-21:26:32: Timeout from from 86.57.210.252 : last flagged: getlock(/usr/local/directadmin/data/tickets/000000/316/000.conf) : finished

In tickets.conf admin and client:
ON=yes
active=yes

OS: RHEL4
 
Back
Top