After I have upgraded my TS-109pro to the latest 1.1.1 firmware,
When using network related command, I get an error messages.
For example when using the command ping:
ping: symbol lookup error: /usr/lib/libnss_wins.so.2: undefined symbol: libiconv_open
What is the solution to this problem?
The same error is shown with the commands:
ssh: symbol lookup error: /usr/lib/libnss_wins.so.2: undefined symbol: libiconv_open
telnet: symbol lookup error: /usr/lib/libnss_wins.so.2: undefined symbol: libiconv_open
ftp: symbol lookup error: /usr/lib/libnss_wins.so.2: undefined symbol: libiconv_open
TS-109pro Symbol lookup error after install firmware 1.1.1
-
- New here
- Posts: 3
- Joined: Sat Sep 08, 2007 2:06 am
- Location: holland
-
- New here
- Posts: 3
- Joined: Sat Sep 08, 2007 2:06 am
- Location: holland
Reload firmware does not solve the problem
Hi Kent, Thanks for your reply.
I just bought the TS109Pro, and like it very much
I have followed your suggestion.
I've re-applied the firmware update (TS-109Pro_1.1.1.img), however it does not solve the missing symbol problem. I have discovered that it is related to DNS on the NAS. When I add the host name to the /etc/hosts file, the problem dissappears. This is however not a solution, since at every re-boot of the TS109Pro, the /etc/hosts files gets re-generated.
The ping I try to perform is a machine on the local network, a ping to an external web address works just fine.
Example:
[~] # ping silly
ping: symbol lookup error: /usr/lib/libnss_wins.so.2: undefined symbol: libiconv_open
[~] # ping http://www.google.com
PING http://www.l.google.com (64.233.183.104): 56 data bytes
64 bytes from 64.233.183.104: icmp_seq=0 ttl=246 time=13.3 ms
64 bytes from 64.233.183.104: icmp_seq=1 ttl=246 time=14.2 ms
Any other suggestions?
Another issue/question I have is:
How would I add my own startup scripts to the boot sequence, so they are preserved after reboot of the TS109Pro?
I just bought the TS109Pro, and like it very much
I have followed your suggestion.
I've re-applied the firmware update (TS-109Pro_1.1.1.img), however it does not solve the missing symbol problem. I have discovered that it is related to DNS on the NAS. When I add the host name to the /etc/hosts file, the problem dissappears. This is however not a solution, since at every re-boot of the TS109Pro, the /etc/hosts files gets re-generated.
The ping I try to perform is a machine on the local network, a ping to an external web address works just fine.
Example:
[~] # ping silly
ping: symbol lookup error: /usr/lib/libnss_wins.so.2: undefined symbol: libiconv_open
[~] # ping http://www.google.com
PING http://www.l.google.com (64.233.183.104): 56 data bytes
64 bytes from 64.233.183.104: icmp_seq=0 ttl=246 time=13.3 ms
64 bytes from 64.233.183.104: icmp_seq=1 ttl=246 time=14.2 ms
Any other suggestions?
Another issue/question I have is:
How would I add my own startup scripts to the boot sequence, so they are preserved after reboot of the TS109Pro?
- kent
- QNAP Staff
- Posts: 198
- Joined: Fri Aug 31, 2007 5:21 pm
- Location: Taipei, Taiwan
[quota]
Another issue/question I have is:
How would I add my own startup scripts to the boot sequence, so they are preserved after reboot of the TS109Pro?
[/quota]
Following below steps, you can add your own startup script: (Please be careful!!!!!)
1. mount /dev/mtdblock5 -t ext2 /tmp/config
2. cd /tmp/config
2. vi autorun.sh (edit your own startup script here)
3. chmod 755 autorun.sh
4. cd /root
5. umount /dev/mtdblock5
Then you can reboot system to check if it works fine.
Another issue/question I have is:
How would I add my own startup scripts to the boot sequence, so they are preserved after reboot of the TS109Pro?
[/quota]
Following below steps, you can add your own startup script: (Please be careful!!!!!)
1. mount /dev/mtdblock5 -t ext2 /tmp/config
2. cd /tmp/config
2. vi autorun.sh (edit your own startup script here)
3. chmod 755 autorun.sh
4. cd /root
5. umount /dev/mtdblock5
Then you can reboot system to check if it works fine.
I am Kent. Nice to meet you!
-
- New here
- Posts: 3
- Joined: Sat Sep 08, 2007 2:06 am
- Location: holland
Thanks, that works great!
This allows me to create a workaround for the missing symbol error.
(I just add the local host name to the /etc/hosts file)
Do you have any more news on the missing symbol problem itself?
Just some more info, the QNAP TS-109Pro is part of my home network, which consists only of WindowsXP SP2 computers.
I also have the problem as reported elsewhere in the forum, that no computers are shown anymore in the network view of windowsXP explorer.
Could this be related to the 'missing symbol' problem?
This allows me to create a workaround for the missing symbol error.
(I just add the local host name to the /etc/hosts file)
Do you have any more news on the missing symbol problem itself?
Just some more info, the QNAP TS-109Pro is part of my home network, which consists only of WindowsXP SP2 computers.
I also have the problem as reported elsewhere in the forum, that no computers are shown anymore in the network view of windowsXP explorer.
Could this be related to the 'missing symbol' problem?
-
- Starting out
- Posts: 11
- Joined: Wed Sep 26, 2007 10:57 pm
Is there a version of these instructions for the TS-201? I am trying to do a similar thing, but step 1. doesn't work!kent wrote:[quota]
Another issue/question I have is:
How would I add my own startup scripts to the boot sequence, so they are preserved after reboot of the TS109Pro?
[/quota]
Following below steps, you can add your own startup script: (Please be careful!!!!!)
1. mount /dev/mtdblock5 -t ext2 /tmp/config
2. cd /tmp/config
2. vi autorun.sh (edit your own startup script here)
3. chmod 755 autorun.sh
4. cd /root
5. umount /dev/mtdblock5
Then you can reboot system to check if it works fine.
Thanks
Steve
-
- Starting out
- Posts: 23
- Joined: Sun Sep 09, 2007 5:50 am
- Location: The Netherlands
When you disable wins in the /etc/nsswitch.conf you don't get the error.
Only use the next change when you know what you are doing:
Change this line:
hosts: files dns wins
to
hosts: files dns
The file /usr/lib/libnss_wins.so.2 is part of SAMBA, probably something missing there.
Furthermore the error only occurs when the host is not found in DNS or /etc/hosts.
When you don't use the FQDN the "search" option in /etc/resolv.conf will be used, but there is no such entry in /etc/resolv.conf on the Qnap.
Only use the next change when you have a functional DNS and you know what you are doing:
Add the following line to the top of your /etc/resolv.conf:
search yourdomain.ext
Maybe it is possible this can be added as a feature in the "System settings" page, where you also enter the hostname.
Only use the next change when you know what you are doing:
Change this line:
hosts: files dns wins
to
hosts: files dns
The file /usr/lib/libnss_wins.so.2 is part of SAMBA, probably something missing there.
Furthermore the error only occurs when the host is not found in DNS or /etc/hosts.
When you don't use the FQDN the "search" option in /etc/resolv.conf will be used, but there is no such entry in /etc/resolv.conf on the Qnap.
Only use the next change when you have a functional DNS and you know what you are doing:
Add the following line to the top of your /etc/resolv.conf:
search yourdomain.ext
Maybe it is possible this can be added as a feature in the "System settings" page, where you also enter the hostname.
Theo