Hallo
Ich habe ein Problem mit dem Webserver. Wenn ich den Webserver neu Starte stützt das komplette NAS ab. Ich habe keinen Zugriff mehr über die Weboberfläche und auch nicht über SSH. Am NAS leuchtet die Power LED rot. Nachdem ich das NAS hart ausschalte und neu starte, läuft der Webserver wieder. Im Systemlog finden sich dann folgende Einträge
Number | Type | Date | Time | Users | Source IP | Computer name | Content |
31104 | Warning | 2016-07-03 | 21:06:31 | System | 127.0.0.1 | localhost | [Mirror Disk Volume: Drive 1 2] The file system is not clean. It is suggested that you go to [Storage Manager] to run "Check File System". |
31103 | Information | 2016-07-03 | 21:04:52 | System | 127.0.0.1 | localhost | System started. |
31102 | Warning | 2016-07-03 | 21:04:51 | System | 127.0.0.1 | localhost | The system was not shut down properly last time. |
31101 | Error | 2016-07-03 | 21:00:50 | System | 127.0.0.1 | localhost | Smart Fan Control: System fan failed. |
Wobei der Fehler 31101 nach einer gewissen Zeit nicht mehr existiert und der Systemstatus als GUT angegeben wird.
Ein manuelles Stoppen und Starten des Webservers über SSH hat folgendes zu Tage gebracht.
Webserver beenden
[/etc/init.d] # ./Qthttpd.sh stopShutting down Qthttpd services:./Qthttpd.sh: line 739: 7740 Segmentation fault rm -f /var/lock/subsys/Qthttpd OK.[/etc/init.d] #
Webserver starten
[/etc/init.d] # ./Qthttpd.sh start
./Qthttpd.sh: line 641: 8842 Broken pipe /usr/bin/readlink ${APACHE_DIR}/conf
8843 Segmentation fault | grep config >> /dev/null 2>> /dev/null
sed: /opt/lib/libc.so.6: version `GLIBC_2.7' not found (required by sed)
sed: /opt/lib/libc.so.6: version `GLIBC_2.7' not found (required by sed)
sed: /opt/lib/libc.so.6: version `GLIBC_2.7' not found (required by sed)
sed: /opt/lib/libc.so.6: version `GLIBC_2.7' not found (required by sed)
sed: /opt/lib/libc.so.6: version `GLIBC_2.7' not found (required by sed)
/sbin/ldconfig: /opt/lib/libstdc++.so.6.0.21-gdb.py is not an ELF file - it has the wrong magic bytes at the start.
/sbin/httpd_init: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
Starting Qthttpd services:/sbin/daemon_mgr: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
/sbin/getcfg: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
/sbin/getcfg: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
./Qthttpd.sh: line 755: [: too many arguments
/sbin/getcfg: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
./Qthttpd.sh: line 151: [: =: unary operator expected
/bin/touch: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
/bin/sync: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
/sbin/getcfg: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
/sbin/daemon_mgr: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
sleep: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
sleep: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
sleep: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
sleep: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
sleep: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
sleep: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
sleep: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
sleep: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
sleep: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
sleep: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
sleep: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
/bin/rm: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
/sbin/getcfg: error while loading shared libraries: /opt/lib/libc.so.6: ELF file OS ABI invalid
OK
[/etc/init.d] #
Alles anzeigen
So wie es aussieht, gibt es Probleme mit der libc.so.6. Er sucht da nach einer GLIBC_2.7, welche nicht gefunden wird.
NAS: TS 239 Pro II
Firmware: 4.2.0 Build 20160311
Ich habe diverse Pakete von entware-ng installiert. Unteranderem auch die libc-2.23-4. Von QNAP ist die libc-2.6.1 installiert. Kann es sein, dass sich diese beiden gegenseitig stören?
Gruss
Martin