Hi,
I have been attempting to install Baruwa as a replacement for mailwatch however
seem to be failing.
I am using a remote mysql server (This will be handling a few mailscanner
systems).
Once I have filled out the required information, I get the following from the
system:
mx1:/usr/local/src# dpkg -i baruwa_1.0.0-3_all.deb
(Reading database ... 41308 files and directories currently installed.)
Preparing to replace baruwa 1.0.0-3 (using baruwa_1.0.0-3_all.deb) ...
Unpacking replacement baruwa ...
Setting up baruwa (1.0.0-3) ...
Traceback (most recent call last):
File "/usr/share/pyshared/baruwa/manage.py", line 11, in <module>
execute_manager(settings)
File "/usr/lib/pymodules/python2.6/django/core/management/__init__.py", line
438, in execute_manager
utility.execute()
File "/usr/lib/pymodules/python2.6/django/core/management/__init__.py", line
379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/pymodules/python2.6/django/core/management/base.py", line 191,
in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/pymodules/python2.6/django/core/management/base.py", line 219,
in execute
self.validate()
File "/usr/lib/pymodules/python2.6/django/core/management/base.py", line 249,
in validate
num_errors = get_validation_errors(s, app)
File "/usr/lib/pymodules/python2.6/django/core/management/validation.py",
line 86, in get_validation_errors
connection.validation.validate_field(e, opts, f)
File "/usr/lib/pymodules/python2.6/django/db/backends/mysql/validation.py",
line 14, in validate_field
db_version = self.connection.get_server_version()
File "/usr/lib/pymodules/python2.6/django/db/backends/mysql/base.py", line
313, in get_server_version
self.cursor()
File "/usr/lib/pymodules/python2.6/django/db/backends/__init__.py", line 75,
in cursor
cursor = self._cursor()
File "/usr/lib/pymodules/python2.6/django/db/backends/mysql/base.py", line
297, in _cursor
self.connection = Database.connect(**kwargs)
File "/usr/lib/pymodules/python2.6/MySQLdb/__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "/usr/lib/pymodules/python2.6/MySQLdb/connections.py", line 170, in
__init__
super(Connection, self).__init__(*args, **kwargs2)
_mysql_exceptions.OperationalError: (2002, "Can't connect to local MySQL server
through socket '/var/run/mysqld/mysqld.sock' (2)")
dpkg: error processing baruwa (--install):
subprocess installed post-installation script returned error exit status 1
Processing triggers for python-support ...
Errors were encountered while processing:
baruwa
I can see no access denied errors within the mysql logs, however I have given
the user full grant privileges anyway.
On the mysql server I can see it has indeed created the baruwa database,
however no tables exist.
Is there anything further I can provide?
I am confused as to why it has "Can't connect to local MySQL server through
socket '/var/run/mysqld/mysqld.sock' (2)") when I haven't specified localhost
anywhere?
_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa