Tried to switch to 81 port, Now additionally I see this error
[25/07/2009 13:11:47.574] (error) fdpoll-epoll.c:140 - epoll_ctl(25, EPOLL_CTL_DEL, -1): 'Bad file descriptor' ---------- Forwarded message ---------- From: Oleg Oltar <[email protected]> Date: Tue, Aug 25, 2009 at 1:05 PM Subject: Need help again. Now something wrong with mysql To: [email protected] Hi! I just trying to switch everything to cherokee completely. So I switched everything from port 81, to port 80. And turned off apache. But servers are not working. I am getting this error in cherokee.error self.cursor() File "/usr/lib/python2.5/site-packages/django/db/backends/__init__.py", line 56, in cursor cursor = self._cursor(settings) File "/usr/lib/python2.5/site-packages/django/db/backends/mysql/base.py", line 262, in _cursor self.connection = Database.connect(**kwargs) File "/usr/lib/python2.5/site-packages/MySQLdb/__init__.py", line 74, in Connect return Connection(*args, **kwargs) File "/usr/lib/python2.5/site-packages/MySQLdb/connections.py", line 169, in __init__ super(Connection, self).__init__(*args, **kwargs2) _mysql_exceptions.OperationalError: (2002, "Can't connect to local MySQL server through socket '/v ar/lib/mysql/mysql.sock' (2)") Strange why it appeared. Also when I am starting the django development server, e.g. python manage.py runserver 0.0.0.0:8888 I don't have any mysql related error Also my socket seems to be fine. E.g. [r...@oplot ~]# ls -la /var/lib/mysql/mysql.sock srwxrwxrwx 1 mysql mysql 0 Aug 25 12:50 /var/lib/mysql/mysql.sock Thanks, Oleg
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
