Bug#473983: [Pkg-utopia-maintainers] Bug#473983: libnss-mdns: dns for a QT-application broken
* Betr.: Re: [Pkg-utopia-maintainers] Bug#473983: libnss-mdns: dns for a QT-application broken (Mon, 29 Sep 2008 11:54:30 +0200): On Wed, Apr 02, 2008, Mathias Behrle wrote: I have here an application built on QT 3.3.8, that couldn't find the database server any more with error: QPSQL: Cannot connect to database could not translate hostname postgres to address: Name or service not known The application runs on a workstation, the database runs on the server, that is also doing DNS lookups and caching for the local network (dnsmasq). Trying to search for the reason there were two posssibilities: 1) I am running testing, so it could be the upgrade of a package 2) I installed in this period tomcat5.5 and sun-java5-bin, which pulls in avahi-daemon and libnss-mdns Are you running 32-bits java from an amd64 install? Try installing lib32nss-mdns. It is not a problem in the java installation, but in the QT application. The only point with java was, that libnss-mdns was not installed before the tomcat installation on my system, but was installed as a dependency of the mentionned java packages. signature.asc Description: PGP signature
Bug#473983: [Pkg-utopia-maintainers] Bug#473983: libnss-mdns: dns for a QT-application broken
On Wed, Apr 02, 2008, Mathias Behrle wrote: I have here an application built on QT 3.3.8, that couldn't find the database server any more with error: QPSQL: Cannot connect to database could not translate hostname postgres to address: Name or service not known The application runs on a workstation, the database runs on the server, that is also doing DNS lookups and caching for the local network (dnsmasq). Trying to search for the reason there were two posssibilities: 1) I am running testing, so it could be the upgrade of a package 2) I installed in this period tomcat5.5 and sun-java5-bin, which pulls in avahi-daemon and libnss-mdns Are you running 32-bits java from an amd64 install? Try installing lib32nss-mdns. -- Loïc Minier -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#473983: [Pkg-utopia-maintainers] Bug#473983: libnss-mdns: dns for a QT-application broken
On Wed, Apr 02, 2008 at 03:31:15PM +0200, Mathias Behrle wrote: I am supposing, that 2) is the cause for the change, because experimenting with nsswitch.conf showed, that eliminating [NOTFOUND=return] from line hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 brought back connectivity for the application. I have no .local domains defined, neither on the server, nor on the workstation. Now I am not knowing, if this issue is placed right here or if I should report against avahi-daemon or if I should have reported not at all...;-) With the original line, what does getent ahosts progress return ? And what does host return? Sjoerd -- The absurd is the essential concept and the first truth. -- A. Camus -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#473983: [Pkg-utopia-maintainers] Bug#473983: libnss-mdns: dns for a QT-application broken
* Betr.: Re: [Pkg-utopia-maintainers] Bug#473983: libnss-mdns: dns for a QT-application broken (Sat, 12 Apr 2008 15:36:52 +0200): With the original line, what does getent ahosts progress return ? And what does host return? (x86_64)[EMAIL PROTECTED]:~$ getent ahosts postgres 192.168.1.10STREAM postgres.violadagamba.myfqdn.de 192.168.1.10DGRAM 192.168.1.10RAW (x86_64)[EMAIL PROTECTED]:~$ host postgres postgres.violadagamba.myfqdn.de has address 192.168.1.10 postgres.violadagamba.myfqdn.de mail is handled by 1 majestix. It's the same with the original and the changed line, nevertheless the application in question only can resolve the database server with the changed line. Mathias signature.asc Description: PGP signature