Stone Steps Forums
Home All Threads   Register Log In
1 < >
#1freddo411
DNS resolver issue in 2.7

Hi,

I am trying to track down a specific error case that I have SSW.

Facts:
* SSW ver 2.7.2.1
* Compiled on RedHat ES 4
* Running on RH ES 5

* Also tried SSW2.7 compiled on RH 5, running on RH 5. That works.

* Run time Error: Cannot initialize DNS resolver
* Seem to be working otherwise


ldd comes up clean:
[root@sea-cdm9 bin]# ldd ../webalizer/webalizer.exe
linux-gate.so.1 => (0x00fa8000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00982000)
libm.so.6 => /lib/libm.so.6 (0x00bf4000)
libdl.so.2 => /lib/libdl.so.2 (0x00c1d000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00c23000)
libdb-4.2.so => /lib/libdb-4.2.so (0x04a8a000)
libgd.so.2 => /usr/lib/libgd.so.2 (0x00c87000)
libz.so.1 => /usr/lib/libz.so.1 (0x00c3c000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x006c5000)
libc.so.6 => /lib/libc.so.6 (0x00ab5000)
/lib/ld-linux.so.2 (0x00a98000)
libXpm.so.4 => /usr/lib/libXpm.so.4 (0x00c51000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00101000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x0079b000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x002e7000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00206000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x0058b000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00d27000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00c7f000)
libexpat.so.0 => /lib/libexpat.so.0 (0x00288000)


--------------
The ultimate end goal is a single executable binary that will work on RH 4 and RH 5 (and maybe other distros too?)

--Fred


#2Stone Steps
There's usually a message before this one that provides more detail. For example, failing to initialize the Berkeley DB used for the DNS cache, some system objects, etc. Do you see any of those by any chance?

If you are familiar with gdb, you can build SSW with MYCCFLAGS=-g option, which produces a debug build, and just see in gdb where dns_init is failing (it will return false).

Andre
1 < >
Format Codes
{b}bold{/b} bold
{i}italic{/i} italic
{u}undelined{/u} underlined
{strike}line-through{/strike} line-through
{color=blue}blue{/color} blue
{size=1.1}1.1em{/size} 1.1em
{samp}sample{/samp} sample
{pre}formatted
text{/pre}
formatted 
text
{noparse}{b}{/noparse} {b}
{q}inline quote{/q} inline quote
{blockquote}block quote{/blockquote}
block quote