Prophidys / RTG2

Realtime Traffic Grapher 2
GNU General Public License v2.0
11 stars 9 forks source link

librtgmysql.so: present, but not found by rtgpoll #56

Open 4001982248998 opened 6 years ago

4001982248998 commented 6 years ago
sudo /usr/local/rtg2/bin/rtgpoll -D -v -t /usr/local/rtg2/etc/targets.cfg
RTG version 2.0.0 starting.
Checking another instance with pid 6772.
PID 6772 is no longer running. Starting anyway.
Using RTG config file [/usr/local/rtg2/etc/rtg.conf].
Initialize hash table pointers: 40000 bytes.
Reading RTG target list [/usr/local/rtg2/etc/targets.cfg].
Successfully hashed [12] targets, (1152 bytes).
Initializing threads (5).
Initializing SNMP (port 161).
Couldn't load database driver librtgmysql.so: file not found
** Database error - check configuration.

ls -lsah /usr/local/rtg2/lib/
insgesamt 4,6M
4,0K drwxr-sr-x 2 root staff 4,0K Jan 19 15:54 .
4,0K drwxr-sr-x 9 root staff 4,0K Jan 19 14:33 ..
4,0K -rwxr-xr-x 1 root staff  924 Jan 19 15:54 librtgmysql.la
   0 lrwxrwxrwx 1 root staff   20 Jan 19 15:54 librtgmysql.so -> librtgmysql.so.0.0.0
   0 lrwxrwxrwx 1 root staff   20 Jan 19 15:54 librtgmysql.so.0 -> librtgmysql.so.0.0.0
4,6M -rwxr-xr-x 1 root staff 4,6M Jan 19 15:54 librtgmysql.so.0.0.0