-
Member
Uh, had a couple of interesting things happen...
Hi RZ,
a couple of days ago, me and my dev were working hard on some aspects of the server, he was editing SCP's for a Reborn server and I was probably browsing the internet when, suddenly, the server completely failed itself. I kid you not, we started randomly getting 'Unknown DB Errors' upon Character creation, and you couldn't delete them either or enter worlds. Flash forward a bit, you can, half the time, barely enter the channels, and when you tried, it booted you to the Login screen. At this point I'm just about dead because there is nothing I can do to fix it (an Unknown DB Error is an issue pertaining to the link/gamserver - it was not touched, and I even redid it and all the DBs, didn't change the error.). Naturally, we reinstall the server. NOW we get SQL errors, something along the lines of '[unixODBC][Driver Manager]Can't open lib '/usr/lib/libtdsodbc.so.0' : /usr/lib/libtdsodbc.so.0: No such file or directory' and I'm totally lost, as there doesn't seem to be a resolution for it as I search. It makes me very sad to do so much work, only to have the server corrupt it self.
-
-
Re: Uh, had a couple of interesting things happen...
Your missing one of the library's.
yum install freetds
It was posted that odbcinst.ini reads from the 32bit (lib) directory on 64bit (lib64) OS version.
[FreeTDS]
Description = FreeTDS unixODBC Driver
Driver = /usr/lib/libtdsodbc.so.0
Setup = /usr/lib/libtdsodbc.so.0
UsageCount = 1
Changing the reference in odbcinst.ini from /usr/lib/libtdsodbc.so.0 to /usr/lib64/libtdsodbc.so.0 fixed this error for us in the same configuration as you describe.
php - unixODBC error "/usr/lib/libtdsodbc.so.0: wrong ELF class: ELFCLASS32" - Stack Overflow
Try messing around with the RPMs until it works.
You can also link the old ones to the new version ones, or copy them,..