First time here? Check out the FAQ!

Strange error after restarting apache


I have a question on askbot and apache.

Previously i changed the logo's etc from root (admin login) and it all works fine. logo displayed as it should, the site name etc.

Then i restart apache, and why after that when i access the page, all setting previously done is gone. and looks like it is reverted back to original layout?

Then i went in to the settings and tried to change them again but when i saved, i got internet server error, so i went to the log and here is what i have got: Could somebody point me why i got this error? Thanks.

Traceback (most recent call last):

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/core/handlers/", line 111, in get_response response = callback(request, callback_args, *callback_kwargs)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/views/decorators/", line 89, in _wrapped_view_func response = view_func(request, args, *kwargs)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/contrib/admin/views/", line 16, in _checklogin return view_func(request, args, *kwargs)

File "/home/ec2-user/teachqasite/askbot/deps/livesettings/", line 52, in group_settings request.user.message_set.create(message=e.message)

File "/home/ec2-user/teachqasite/askbot/models/", line 151, in create return self.model_class.objects.create(user=self.user, **kwargs)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/", line 137, in create return self.get_query_set().create(**kwargs)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/", line 377, in create, using=self.db)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/", line 463, in save self.save_base(using=using, force_insert=force_insert, force_update=force_update)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/", line 551, in save_base result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/", line 203, in _insert return insert_query(self.model, objs, fields, **kwargs)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/", line 1576, in insert_query return query.get_compiler(using=using).execute_sql(return_id)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/models/sql/", line 910, in execute_sql cursor.execute(sql, params)

File "/home/ec2-user/teachqa/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/", line 52, in execute return self.cursor.execute(query, args)

DatabaseError: current transaction is aborted, commands ignored until end of transaction block

lidyaagustina's avatar
asked 2014-08-21 02:21:13 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

1 Answer


I found out the issues after few hours!

To everybody encountering this issue:

I used memcached, and i just need to restart the memcached.


lidyaagustina's avatar
answered 2014-08-21 17:47:55 -0500
edit flag offensive 0 remove flag delete link


add a comment see more comments