Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

Creating or updating ticket hangs.

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


billwilliams at qcsoftware

May 14, 2008, 1:22 PM

Post #1 of 7 (272 views)
Permalink
Creating or updating ticket hangs.

We have Trac 0.10.4 running with FastCGI on apache 2.2.6.



Whenever we create or update a ticket, the browser never returns. It just
sits there attempting to refresh. I can hit the stop button and then click
view tickets and either the new ticket or updated ticket will be there so
obviously the create/update part is working. Another thing is an e-mail is
suppose to be sent which never occurs.



I have tried all of the various logging levels and nothing helpful is
logged. I don't see any errors in the log.



Our server was recently updated with the latest version of Mandriva along
with all of the various packages along with Trac (which also came from
Mandriva).



Before the update, we never had any problems so obviously, something in the
new installation is causing a problem but I can't figure out what. All
other aspects of Trac seems to be fine.



Any ideas?



Thanks




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


kantrn at rpi

May 14, 2008, 1:27 PM

Post #2 of 7 (263 views)
Permalink
Re: Creating or updating ticket hangs. [In reply to]

Bill Williams wrote:
> We have Trac 0.10.4 running with FastCGI on apache 2.2.6.
>
>
>
> Whenever we create or update a ticket, the browser never returns. It just
> sits there attempting to refresh. I can hit the stop button and then click
> view tickets and either the new ticket or updated ticket will be there so
> obviously the create/update part is working. Another thing is an e-mail is
> suppose to be sent which never occurs.
>
>
>
> I have tried all of the various logging levels and nothing helpful is
> logged. I don't see any errors in the log.

Chances are it is trying to contact the mail server and taking a long
time. Whats the last line in the log before it hangs?

--Noah
Attachments: signature.asc (0.24 KB)


billwilliams at qcsoftware

May 14, 2008, 1:35 PM

Post #3 of 7 (263 views)
Permalink
Re: Creating or updating ticket hangs. [In reply to]

Here's the last line.

2008-05-14 16:01:14,409 Trac[loader] DEBUG: Loading egg plugin codereview
from /usr/lib/python2.5/site-packages/TracCodeReview-2.0dev-py2.5.egg

-----Original Message-----
From: trac-users[at]googlegroups.com [mailto:trac-users[at]googlegroups.com] On
Behalf Of Noah Kantrowitz
Sent: Wednesday, May 14, 2008 4:28 PM
To: trac-users[at]googlegroups.com
Subject: [Trac] Re: Creating or updating ticket hangs.

Bill Williams wrote:
> We have Trac 0.10.4 running with FastCGI on apache 2.2.6.
>
>
>
> Whenever we create or update a ticket, the browser never returns. It
> just sits there attempting to refresh. I can hit the stop button and
> then click view tickets and either the new ticket or updated ticket
> will be there so obviously the create/update part is working. Another
> thing is an e-mail is suppose to be sent which never occurs.
>
>
>
> I have tried all of the various logging levels and nothing helpful is
> logged. I don't see any errors in the log.

Chances are it is trying to contact the mail server and taking a long time.
Whats the last line in the log before it hangs?

--Noah



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


manu.blot at gmail

May 14, 2008, 1:56 PM

Post #4 of 7 (263 views)
Permalink
Re: Creating or updating ticket hangs. [In reply to]

> Any ideas?

Try disabling the SMTP notification (, restart Trac) and give another try.

This issue usually comes from a buggy SMTP configuration/environment.

HTH,
Manu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


billwilliams at qcsoftware

May 14, 2008, 5:00 PM

Post #5 of 7 (261 views)
Permalink
Re: Creating or updating ticket hangs. [In reply to]

It looks like you're right. I disabled the smtp and the ticket create and
update now work. I guess I need to figure out why the mail does not work
from Trac.

I know I can send e-mail from the root user on the server to my normal
account.

-----Original Message-----
From: trac-users[at]googlegroups.com [mailto:trac-users[at]googlegroups.com] On
Behalf Of Emmanuel Blot
Sent: Wednesday, May 14, 2008 4:57 PM
To: trac-users[at]googlegroups.com
Subject: [Trac] Re: Creating or updating ticket hangs.


> Any ideas?

Try disabling the SMTP notification (, restart Trac) and give another try.

This issue usually comes from a buggy SMTP configuration/environment.

HTH,
Manu




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


manu.blot at gmail

May 15, 2008, 3:59 AM

Post #6 of 7 (257 views)
Permalink
Re: Creating or updating ticket hangs. [In reply to]

> I know I can send e-mail from the root user on the server to my normal
> account.

The first thing to do is to try sending an email from the *same*
account as the web server.

Maybe with something like this

sudo -u www-data telnet smtpserver 25

(www-data should be replaced with the actual Apache effective uid and
smtpserver with the FQDN of your mail server)

HTH,
Manu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


billwilliams at qcsoftware

May 15, 2008, 5:38 AM

Post #7 of 7 (257 views)
Permalink
Re: Creating or updating ticket hangs. [In reply to]

I disabled the SMTP in trac. We use webmin so I took a look at our mail
server (postfix) and saw it had a bunch of queued messages because it could
not send to user properly so I created an alias for that user and those
e-mails went out. Mind you, this user is not associated to the stuff we're
doing with trac but I thought I'd fix it. Anyway, after that worked and
decided to turn the SMTP back on in trac and all of the sudden, everything
worked so maybe that had something to do with it but I don't understand why.

Thank you for your help.


-----Original Message-----
From: trac-users[at]googlegroups.com [mailto:trac-users[at]googlegroups.com] On
Behalf Of Emmanuel Blot
Sent: Thursday, May 15, 2008 7:00 AM
To: trac-users[at]googlegroups.com
Subject: [Trac] Re: Creating or updating ticket hangs.


> I know I can send e-mail from the root user on the server to my normal
> account.

The first thing to do is to try sending an email from the *same*
account as the web server.

Maybe with something like this

sudo -u www-data telnet smtpserver 25

(www-data should be replaced with the actual Apache effective uid and
smtpserver with the FQDN of your mail server)

HTH,
Manu




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.