I'm using Opensuse 11.3, compiling ZM from source.
My system uses a socket of '/var/run/mysql/mysql.sock'. This leads to some issues since ZM wants to use a default of "/var/lib/mysql/mysql.sock".
OK so no problem I have ensured that there is a soft link from /var/lib/mysql/mysql.sock to /var/run/mysql/mysql.sock. This was not enough, there are some DBI connect calls that have no provision for a socket as a variable.
More errors popped and I went to /usr/lib/perl5/site_perl/5.12.1/ZoneMinder and found there 3 *.pm files that call connect with no socket specified. I put in a specific socket and ran again. Lots of errors went away, but now I have
zmu[8286]: ERR [Can't connect to server: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)]
so there is perhaps another file I need to change to specify the correct socket. Anybody suggest where that file might be?
May I suggest that a variable to specify a socket be added to the todo list, unless there is a good reason so not to do?
Socket issues
Forum for questions and support relating to the 1.24.x releases only.
Jump to
- General
- ↳ Announcements
- ↳ Website Issues
- Support
- ↳ ZoneMinder 1.36.x
- ↳ ZoneMinder 1.34.x
- ↳ Mobile Apps and Event Server
- ↳ Docker
- ↳ ZoneMinder Distributions
- ↳ ZoneMinder Translations
- ↳ Archive [End of Life Versions]
- ↳ ZoneMinder 1.35.x Development Branch
- ↳ ZoneMinder 1.33.x Development Branch
- ↳ ZoneMinder 1.32.x
- ↳ ZoneMinder 1.31.x
- ↳ ZoneMinder 1.30.x
- ↳ ZoneMinder 1.29.x
- ↳ ZoneMinder 1.28.x
- ↳ ZoneMinder 1.27.x
- ↳ ZoneMinder 1.26.x
- ↳ ZoneMinder 1.25.x
- ↳ ZoneMinder 1.24.x
- ↳ ZoneMinder Previous Versions
- Development
- ↳ ZoneMinder 1.37.x Development Branch
- ↳ Feature Requests
- ↳ User Contributions
- Miscellaneous
- ↳ ZoneMinder Hints & Tips
- ↳ Non-ZoneMinder Chat
- ↳ Jobs / For Sale / Wanted / Exchange
- ↳ Hardware Compatibility List
- ↳ Hardware Queries