View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001458 | unreal | installing | public | 2003-12-30 04:49 | 2004-01-02 04:25 |
Reporter | mustapha88 | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | RedHat | OS Version | 8.0/8.1 |
Product Version | 3.2-beta19 | ||||
Summary | 0001458: A compile bug with the latest CVS version, I believe it has to do with enabling Remote Includes... | ||||
Description | I received this output when running make (note: I did follow all instructions in INSTALL.REMOTEINC): gcc -I../include -pipe -g -O2 -funsigned-char -DZIP_LINKS -I/home/ace/curl/include -DUSE_LIBCURL -export-dynamic -c random.c gcc -I../include -pipe -g -O2 -funsigned-char -DZIP_LINKS -I/home/ace/curl/include -DUSE_LIBCURL -export-dynamic -c extcmodes.c gcc -I../include -pipe -g -O2 -funsigned-char -DZIP_LINKS -I/home/ace/curl/include -DUSE_LIBCURL -export-dynamic -c extbans.c gcc -I../include -pipe -g -O2 -funsigned-char -DZIP_LINKS -I/home/ace/curl/include -DUSE_LIBCURL -export-dynamic -c url.c gcc -I../include -pipe -g -O2 -funsigned-char -DZIP_LINKS -I/home/ace/curl/include -DUSE_LIBCURL -export-dynamic -o ircd auth.o aln.o badwords.o channel.o cloak.o crule.o dbuf.o events.o fdlist.o hash.o help.o ircd.o ircsprintf.o list.o lusers.o match.o modules.o packet.o parse.o res.o res_init.o res_comp.o res_mkquery.o res_skipname.o s_auth.o s_bsd.o s_conf.o s_debug.o s_err.o s_extra.o s_kline.o s_misc.o s_numeric.o s_serv.o s_svs.o socket.o ssl.o s_user.o scache.o send.o support.o umodes.o s_stats.o version.o webtv.o whowas.o zip.o cidr.o random.o extcmodes.o extbans.o url.o -lcrypt -lnsl -lz -L/home/ace/curl/lib -lcurl -lz -ldl -lz -L/home/ace/curl/ares -lares -ldl /usr/bin/ld: cannot find -lares collect2: ld returned 1 exit status make[1]: *** [ircd] Error 1 make[1]: Leaving directory `/home/ace/Unreal3.2/src' make: *** [build] Error 2 | ||||
Steps To Reproduce | attempt to compile | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
|
This should be fixed in the latest CVS (among other remote include fixes). I'm going to leave the bug report open until you verify it though. After you update to the current CVS, you'll need to rerun ./curlinstall as well as ./Config to make the new changes take effect. |
|
compiles fine here now :). Could you take a look at the following warnings however (they are all easy to fix ;p): ircd.c:859: warning: implicit declaration of function `url_init' s_bsd.c:1653: warning: implicit declaration of function `url_do_transfers_async' s_conf.c:2448: warning: implicit declaration of function `remote_include' s_conf.c:6973: warning: implicit declaration of function `rehash_internal' url.c:140: warning: `res' might be used uninitialized in this function yeah I know, I'm keeping you buzzy :p. |
|
OK, compiles fine here as well. I have the IRCd configured to pull some config files (the badwords and help configs) from another server and appears to work fine. However, I would like to see some errors to be more detailed. For example, I copied all of the configs from Unreal3.2 to my HTTP directory and they had owner permissions, so could not be accessed by the web or UnrealIRCd. UnrealIRCd said that it couldn't download the fhttp://www.talkingirc.com/conf/badwords.message.conf because of error 403. Well, could we make it say something like "error 403 forbidden"? Thanks! |
|
Well the error message is generated by libcurl. |
|
I am not sure if this is the proper place to post this or not. Yesterday, everything seemed to work fine. Now, when I logged onto my test server, today, to rehash it, I got the following: [1:22 PM] -millions.mn.us.talkingirc.com- *** Notice -- ace is rehashing server config file [1:22 PM] -millions.mn.us.talkingirc.com- *** Notice -- error: Unable to create file 'tmp/79D9A7DB.conf/badwords.message.conf' : No such file or directory [1:22 PM] -millions.mn.us.talkingirc.com- *** Notice -- error: Unable to create file 'tmp/51BD0611.conf/badwords.channel.conf' : No such file or directory [1:22 PM] -millions.mn.us.talkingirc.com- *** Notice -- error: Unable to create file 'tmp/62EA3635.conf/badwords.quit.conf': No such file or directory [1:22 PM] -millions.mn.us.talkingirc.com- *** Notice -- error: Unable to create file 'tmp/4C306A24.conf/help.conf': No such file or directory [1:22 PM] -millions.mn.us.talkingirc.com- *** Notice -- Loading IRCd configuration .. [1:22 PM] -millions.mn.us.talkingirc.com- *** Notice -- unrealircd.conf:159 Ignoring extra end comment [1:22 PM] -millions.mn.us.talkingirc.com- *** Notice -- error: Couldn't open "tmp/79D9A7DB.conf/badwords.message.conf": No such file or directory [1:22 PM] -millions.mn.us.talkingirc.com- *** Notice -- error: Could not load config file tmp/79D9A7DB.conf/badwords.message.c onf [1:22 PM] -millions.mn.us.talkingirc.com- *** Notice -- error: IRCd configuration failed to load |
|
Also, I am not sure if this is a sign that it wasn't really working properly yesterday, but I assumed it had loaded the remote configuration files. All I saw was that it was loading unrealircd.conf and that it had loaded successfully. I know the HTTP messages are generated by Libcurl, but is it possible to say something like: Loading remote file http://www.talkingirc.com/conf/badwords.message.conf... Configuration file <URL above> loaded without any problems.. Just an idea... |
|
> Unable to create file 'tmp/79D9A7DB.conf/badwords.message.conf': No such file or directory Seems more like an error on our side... funny path :P. > [..]Configuration file <URL above> loaded without any problems.. nah that sucks ;). If it went ok I don't see any reason to get like 5-10 "blabla loaded without any problems" thingies. The error messages could perhaps someday be improved, but that's another thing. |
|
I'll look into those error messages, as for more detailed stuff, if you want to be flooded with tons of information about what files are being loaded, then run src/ircd -C 1 |
|
That problem should be fixed in the latest CVS (.2023). It was a problem due to local file caching (if the file was not changed on the server). |
|
OK, you fixed most of the errors, however, I still get: [5:52 PM] -millions.mn.us.talkingirc.com- *** Notice -- ace is rehashing server config file [5:52 PM] -millions.mn.us.talkingirc.com- *** Notice -- Loading IRCd configuration .. [5:52 PM] -millions.mn.us.talkingirc.com- *** Notice -- unrealircd.conf:159 Ignoring extra end comment [5:52 PM] -millions.mn.us.talkingirc.com- *** Notice -- error: Could not load config file tmp/2EBADE47.badwords.message.conf [5:52 PM] -millions.mn.us.talkingirc.com- *** Notice -- error: IRCd configuration failed to load And, no, I am not refering to the "ignoring extra end comment" :) |
|
Then what are you referring to? |
|
Hey it's new years (12:00) here in the US and I've had a few shots of rum and shit, so let's see how clearly I can explain this............ The line I was refering to was: [5:52 PM] -millions.mn.us.talkingirc.com- *** Notice -- error: Could not load config file tmp/2EBADE47.badwords.message.conf Thanks and have a splendid new year! :) |
|
That line simply means "we couldn't load the file because of the ignoring extra stuff" The tmp/..... is simply the temporary file it is in. I suppose I could actually make it say "in http://...." though that's actually going to wind up being a lot of work :) |
|
IT couldn't load the file because of the "ignoring extra close comment" thing? What does that have anything to do with the remote file, though? Shouldn't the IRCd just ignore that, as it says it's doing? |
|
Whatever it ignored caused it to be unable to correctly parse the file. |
|
OK, I'll fix the configuration file and see if that helps any. I e-mailed you regarding my bugtracker account, have you received that mail yet? |
|
OK, first off, it said that it was "ignoring extra end comment" on line 159 of the config, which I opened, and it was a open comment (/*) not a close comment. So I fixed this error, however, still: [1:02 PM] -millions.mn.us.talkingirc.com- *** Notice -- ace is rehashing server config file [1:02 PM] -millions.mn.us.talkingirc.com- *** Notice -- Loading IRCd configuration .. [1:02 PM] -millions.mn.us.talkingirc.com- *** Notice -- error: Could not load config file tmp/2EBADE47.badwords.message.conf [1:02 PM] -millions.mn.us.talkingirc.com- *** Notice -- error: IRCd configuration failed to load Also, what does this "2EBADE47" mean? If you want to talk on IRC about this, let me know where and when and I will try to make it. :) |
|
Yeah could you come on IRC? include "http://www.talkingirc.com/conf/badwords.message.conf"; That's the line you have right? Because I just added that to my config and it's working fine. Also those numbers and letters are just random. It's just to create a unique filename. Like if we just used tmp/badwords.message.conf, what happens if you have two URLs that use that filename? |
|
Hopefully this is the last of the remote include bugs :) |
Date Modified | Username | Field | Change |
---|---|---|---|
2003-12-30 04:49 | mustapha88 | New Issue | |
2003-12-30 18:46 |
|
Note Added: 0004469 | |
2003-12-30 19:38 | syzop | Note Added: 0004471 | |
2003-12-30 20:36 | mustapha88 | Note Added: 0004472 | |
2003-12-30 21:32 |
|
Note Added: 0004473 | |
2003-12-31 18:28 | mustapha88 | Note Added: 0004491 | |
2003-12-31 18:31 | mustapha88 | Note Added: 0004492 | |
2003-12-31 18:36 | syzop | Note Added: 0004493 | |
2003-12-31 18:52 |
|
Note Added: 0004496 | |
2003-12-31 21:24 |
|
Note Added: 0004497 | |
2003-12-31 22:57 | mustapha88 | Note Added: 0004498 | |
2003-12-31 23:16 |
|
Note Added: 0004499 | |
2004-01-01 05:59 | mustapha88 | Note Added: 0004501 | |
2004-01-01 06:06 |
|
Note Added: 0004502 | |
2004-01-01 08:18 | mustapha88 | Note Added: 0004504 | |
2004-01-01 17:33 |
|
Note Added: 0004508 | |
2004-01-01 17:43 | mustapha88 | Note Added: 0004510 | |
2004-01-01 18:07 | mustapha88 | Note Added: 0004511 | |
2004-01-01 18:14 |
|
Note Added: 0004512 | |
2004-01-02 04:25 |
|
Status | new => resolved |
2004-01-02 04:25 |
|
Resolution | open => fixed |
2004-01-02 04:25 |
|
Assigned To | => codemastr |
2004-01-02 04:25 |
|
Note Added: 0004513 |