enantiodromia
Newbie
Karma: 0
Posts: 10
|
 |
« on: December 11, 2006, 01:22:40 PM » |
|
I've been using TTX for a week now, and it's been great. I am getting my users in the habit of opening a ticket before coming to me with requests, making everything much easier on all of us.
This morning, we started getting the "Error writing file" error to the browser when a a user attempts to submit a new bug.
I don't see anything in syslog, apache logs, or ttx logs mentioning what might be happening.
The only thing I can think of that would have changed over the weekend is Apache restarting after the logs were rotated last night.
I tried to chmod 777 everything in the TTX directory to see if the problem still existed, and it does.
Any clue as to what might be happening?
|
|
|
|
|
Logged
|
|
|
|
enantiodromia
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #1 on: December 11, 2006, 01:58:51 PM » |
|
The numeric value in ticketid.txt increases even though the ticket does not seem created on the user's side.
|
|
|
|
|
Logged
|
|
|
|
|
Alex
|
 |
« Reply #2 on: December 11, 2006, 02:12:12 PM » |
|
First, check disk quotas. Advancing ticket ID does not require additional disk space, adding a ticket does.
What version - Standard or MySQL you use?
|
|
|
|
|
Logged
|
|
|
|
enantiodromia
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #3 on: December 11, 2006, 03:01:51 PM » |
|
Standard version right now.
Disk space:
[root@hulk cgi-bin]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 108G 6.0G 97G 6% / /dev/sda1 99M 11M 83M 12% /boot none 506M 0 506M 0% /dev/shm /dev/sdb1 917G 748G 123G 86% /backups
There are no quotas. This is on a fairly fresh install. This box is only used for TTX and my weekly backups.
|
|
|
|
|
Logged
|
|
|
|
|
Alex
|
 |
« Reply #4 on: December 11, 2006, 04:12:13 PM » |
|
What version - Standard or MySQL you use?
|
|
|
|
|
Logged
|
|
|
|
enantiodromia
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #5 on: December 11, 2006, 04:43:43 PM » |
|
As I stated in my last post, Standard version.
There are no other user accounts on this machine, and it does little else but TTX and some backups once a week, so I can do whatever I want to this machine in order to troubleshoot.
|
|
|
|
|
Logged
|
|
|
|
|
Alex
|
 |
« Reply #6 on: December 11, 2006, 05:25:31 PM » |
|
What are access rights for tickets.cgi and tickets folder?
|
|
|
|
|
Logged
|
|
|
|
enantiodromia
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #7 on: December 11, 2006, 05:35:40 PM » |
|
-rwxrwxr-x 1 apache apache 4449 Dec 8 17:50 tickets.cgi
drwxrwxr-x 2 apache apache 4096 Dec 8 17:50 tickets
[root@hulk tickets]# ls -la total 124 drwxrwxr-x 2 apache apache 4096 Dec 8 17:50 . drwxrwxr-x 8 root root 4096 Dec 11 11:05 .. -rwxrwxrwx 1 apache apache 3303 Dec 8 14:01 10.cgi -rwxrwxrwx 1 apache apache 1036 Dec 7 19:46 11.cgi -rwxrwxrwx 1 apache apache 316 Dec 7 17:00 12.cgi
i have made perms as liberal as possible while troubleshooting this issue. i think i have even tried 777 for /cgi-bin/* and that did not work. i can try again though if you like.
|
|
|
|
|
Logged
|
|
|
|
|
Alex
|
 |
« Reply #8 on: December 11, 2006, 05:43:36 PM » |
|
Is apache a member of root group?
|
|
|
|
|
Logged
|
|
|
|
enantiodromia
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #9 on: December 11, 2006, 05:54:03 PM » |
|
no:
[root@hulk tickets]# more /etc/group root:x:0:root apache:x:48:
|
|
|
|
|
Logged
|
|
|
|
|
Alex
|
 |
« Reply #10 on: December 11, 2006, 06:09:54 PM » |
|
Looks like you decided to secure your system after installing the Trouble Ticket Express. Otherwise I have no idea how it could create all the files and folders in data folder which is
drwxrwxr-x 8 root root 4096 Dec 11 11:05 ..
I would suggest making the data folder
drwxrwxrwx 8 root root 4096 Dec 11 11:05 ..
or
drwxrwxr-x 8 root apache 4096 Dec 11 11:05 ..
And mind the email based submission - the mailbox.cgi runs with sendmail's permissions...
|
|
|
|
|
Logged
|
|
|
|
enantiodromia
Newbie
Karma: 0
Posts: 10
|
 |
« Reply #11 on: December 11, 2006, 07:33:33 PM » |
|
Hrm. Well that was right. I don't know how my install directory went to 775. Maybe something didnt like cgi-bin/ being 777.
Perhaps I should make a ttx subdir in cgi-bin...
Thanks for the help.
|
|
|
|
|
Logged
|
|
|
|
|