View Issue Details

IDProjectCategoryView StatusLast Update
0003857unrealircdpublic2010-01-01 18:39
Reporterdanopia Assigned Tosyzop  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
OSUbuntu Server Linux 
Product Version3.2.8 
Summary0003857: Remote includes error! "Could not resolve host (Successful completion)"
DescriptionI'm having issues with Remote Includes on 3.2.8. Rolling back to 3.2.7 worked. LibCurl was installed as specified in http://forums.unrealircd.com/viewtopic.php?t=353 ( http://www.fbsd-dev.org/cURL/cURL.sh )

I found the same exact bug posted at http://forums.unrealircd.com/viewtopic.php?f=3&t=6167

My config file has (on line 202):
  include "http://opers.---------.net/remoteconf.txt";
(domain censored, but the real value is valid, nonetheless)

[00:13:05] * *** Notice -- danopia is rehashing server config file
[00:13:05] * unrealircd.conf :Rehashing
[00:13:05] * *** Notice -- Loading IRCd configuration ..
[00:13:05] * *** Notice -- error: unrealircd.conf:202: include: error downloading 'http://opers.---------.net/remoteconf.txt': Could not resolve host: opers.---------.net (Successful completion)
[00:13:05] * *** Notice -- error: IRCd configuration failed to load

The domain name IS valid, it's used in the LINK BLOCKS! I can also load the txt in my browser.
Steps To ReproduceUse include 'http://domain.name.here'; in 3.2.8

At least, it failed for me
Additional InformationThe opers.-----.net is a CNAME to danopia.net. However, using danopia.net fails too
TagsNo tags attached.
3rd party modules

Activities

danopia

2009-06-18 12:03

reporter   ~0015874

Last edited: 2009-06-18 12:04

I just got the smart idea to use ./curlinstall but can't manage to get it working either. It gets some build errors when I try running it, and I'm not exactly sure what it wants for the path to ares and curl (isn't it supposed to install them? why would it need a path to them?). I do have dev libraries for ares and curl installed, though.

I forget how to scroll in screen, so here's all I have:

modules.o:/home/codeblock/eighthbit-ircd/src/modules.c:454: more undefined references to `dlsym' follow
modules.o: In function `Module_Create':
/home/codeblock/eighthbit-ircd/src/modules.c:487: undefined reference to `dlerror'
/home/codeblock/eighthbit-ircd/src/modules.c:375: undefined reference to `dlclose'
/home/codeblock/eighthbit-ircd/src/modules.c:416: undefined reference to `dlclose'
/home/codeblock/eighthbit-ircd/src/modules.c:401: undefined reference to `dlclose'
/home/codeblock/eighthbit-ircd/src/modules.c:395: undefined reference to `dlclose'
/home/codeblock/eighthbit-ircd/src/modules.c:422: undefined reference to `dlclose'
modules.o: In function `Module_SymEx':
/home/codeblock/eighthbit-ircd/src/modules.c:860: undefined reference to `dlsym'
collect2: ld returned 1 exit status
make[1]: *** [ircd] Error 1
make[1]: Leaving directory `/home/codeblock/eighthbit-ircd/src'
make: *** [build] Error 2

Should libcurl be built with SSL support?
->

I cancelled at that prompt because the make failed.

I think that some more docs would be nice.

syzop

2009-06-23 12:46

administrator   ~0015879

Last edited: 2009-06-23 12:47

These dlsym errors usually only happen if you use ./configure instead of ./Config for Unreal -- so it looks more like your curlinstall is running configure on Unreal which is completely wrong ;P

Try this one... this assumes your UnrealIRCd is in /home/whatever/Unreal3.2 (uh.. why is it called eightbit-ircd at you?)

mkdir ~/tmp
cd ~/tmp
wget http://curl.haxx.se/download/curl-7.19.5.tar.gz
tar xzvf curl-7.19.5.tar.gz
tar xzvf ~/Unreal3.2/extras/c-ares.tar.gz
cd ~/Unreal3.2
./curlinstall ~/tmp/curl-7.19.5 ~/tmp/c-ares-1.6.0


Max13

2009-11-05 00:07

reporter   ~0015950

Hey Guys,

I'm running the 3.8.2.1
I tried to do as specified there: http://forums.unrealircd.com/viewtopic.php?t=353

I have the same problem: "Could not resolve host"

Then I tried as syzop tells on his last note, same error...

Did you find a solution, anyone of you ?

syzop

2009-12-21 11:44

administrator   ~0015980

Anyone still experiencing this issue? I'm interested in fixing this, or at least finding out if we can do anything about it (could be a curl/c-ares issue)...
Problem is I cannot reproduce it here.

Max13

2009-12-25 20:20

reporter   ~0015987

Hi,

I'm still experiencing this issue.
What about if I give you a shell on my shell hosting, and you try to install Unreal with remote includes yourself ?

syzop

2009-12-25 22:13

administrator   ~0015988

Sounds good, you can mail the details to [email protected]

syzop

2009-12-27 18:25

administrator   ~0015989

I'm taking a look at your shell as we speak :).

But apart from that...
I made a mistake in my previous posting with ./curlinstall instructions (should be: c-arespath curlpath, not the other way around).
So (with newer curl version too):
mkdir ~/tmp
cd ~/tmp
wget http://curl.haxx.se/download/curl-7.19.7.tar.gz
tar xzvf curl-7.19.7.tar.gz
tar xzvf ~/Unreal3.2/extras/c-ares.tar.gz
cd ~/Unreal3.2
./curlinstall ~/tmp/c-ares-1.6.0 ~/tmp/curl-7.19.7

syzop

2009-12-27 18:46

administrator   ~0015990

With these correct instructions it seems to run OK. Let me know if the issue persists.

Max13

2009-12-29 01:36

reporter   ~0015991

YEAH !

Everything is Good... I'm sorry not having verified that it's just the syntax of ./curlinstall...

Anyway, thanks a lot.

Todo for the Next Unreal: An executable which will take as parameter the link to the last curl, then will automaticaly install it...
Even if it's very easy to do it ouselves, maybe someone too lazy to come here took another IRC Server because of this little problem... Or something else.

Good Luck and many thanks again !

syzop

2010-01-01 18:39

administrator   ~0015992

Great :)

Btw, I now noticed 0003656 which suggests an curl auto download + install script... it was tagged for 3.3, I've now changed it to 3.2 (otherwise it doesn't show up in my bug view). I'm considering it (am in favor of the idea, just need [time] to do it)

Issue History

Date Modified Username Field Change
2009-06-18 01:04 danopia New Issue
2009-06-18 12:03 danopia Note Added: 0015874
2009-06-18 12:04 danopia Note Edited: 0015874
2009-06-23 12:46 syzop Note Added: 0015879
2009-06-23 12:46 syzop Note Edited: 0015879
2009-06-23 12:47 syzop Note Edited: 0015879
2009-11-05 00:07 Max13 Note Added: 0015950
2009-12-21 11:44 syzop Note Added: 0015980
2009-12-25 20:20 Max13 Note Added: 0015987
2009-12-25 22:13 syzop Note Added: 0015988
2009-12-27 18:25 syzop Note Added: 0015989
2009-12-27 18:46 syzop Note Added: 0015990
2009-12-29 01:36 Max13 Note Added: 0015991
2010-01-01 18:39 syzop QA => Not touched yet by developer
2010-01-01 18:39 syzop U4: Need for upstream patch => No need for upstream InspIRCd patch
2010-01-01 18:39 syzop Note Added: 0015992
2010-01-01 18:39 syzop Status new => resolved
2010-01-01 18:39 syzop Resolution open => no change required
2010-01-01 18:39 syzop Assigned To => syzop