X-Tab costs money to run, plese consider donating to help keep it online!

This FAQ is for Unreal 4.x. Click here for Unreal 3.2.x

Please note this is a work in progress!

Errors:

Error binding stream socket to IP 0.0.0.0 port 6667
./unreal : line 10: something: command not found
Couldn't open "unrealircd.conf": Nosuch file or directory
Failed to load SSL certificate server.cert.pem
I get SSL errors that say "Internal OpenSSL error or protocol error"
[Windows] Error: "This application has failed to start..."
[Windows] Error: cloak.dll access denied OR not found

K:Lines, G:Lines, and Spamfilters:

Where are G/K/Z:Lines and spamfilters stored?
How can I remove all the G:Lines?
How can I remove all the Spamfilters?
How do I save all my G/K/Z:Lines during a restart?


Errors

 

Error binding stream socket to IP 0.0.0.0 port 6667

The IP 0.0.0.0 = all interfaces. This error is because you are on a shell, or your curent user does not have permissions to bind to all interfaces.

To fix this, specify the IP that the shell provided you with to use in your listen block. If you do not know this IP, contact the administrator. If this is your own server, and you dont have the permissions as this user, simply use the IP of the device you want connections to come in on.

Example:
listen 1.2.3.4:6667;
1.2.3.4 will be the IP of the interface you wish to use.

If you still get this error, try running "netstat -anlp | grep 6667" (of course replace 6667 with whatever port is giving you problems) to see if anything is listening on that port, and to see what process is using it (it will not show which process if you are not the process owner)
 

./unreal : line 10: something: command not found

This is because in ./Config you did not specify the path for the binary file, but instead put the path to the binary file. You need to run ./Config again, and read the questions carefully. You need to specify a path for the binary that includes the name of the binary.
 

Couldn't open "unrealircd.conf": No such file or directory

There are a few possible causes for this error.
  • You did not create a configuration file. Read the docs.
  • The file is not named correctly.
To fix it:

Windows:
  1. Open the file in Notepad or another preferred program.
  2. In the File menu, select Save As
  3. In the field labeled "Save as type:" select "All Files (*.*)"
  4. Save the file as unrealircd.conf in the same folder as wircd.exe
*NIX:
  1. Go to the Unreal3.2 directory (or whatever directory UnrealIRCd is in) and make sure unrealircd.conf is in that directory.
  2. Make sure unrealircd.conf is spelled correctly AND is ALL lower-case, such as "unrealircd.conf". File names in *NIX are CaSe-SensiTIVe.
 

Failed to load SSL certificate server.cert.pem

*NIX:
./Config should have created keys, but "make install" does not copy the keys to your install directory for you. This is so if you are using your own keys (like from cacert.org) they do not get overwritten by the self-signed keys ./Config generates. If you cannot find these keys or need to generate new ones, run "make pem"

Windows:
It is possible the installation did not generate keys, or you may have cancelled the creation process. Simply run "makecert.bat" in the Unreal folder.
 

I get SSL errors that say "Internal OpenSSL error or protocol error"

You are getting errors that look like this because you have snomask +j (junk) set. The junk snomask is used for determining the cause of some SSL problems, and should otherwise be ignored. Common causes for these errors are: clients improperly closing the connection (user quits with "Input/Output Error"); as well as people connecting to a SSL port without SSL.

If you do not wish to see these errors, type /mode yournick +s -j


K:Lines, G:Lines, and Spamfilters

 

Where are G/K/Z:Lines and spamfilters stored?

G/K/Z:Lines are stored in memory, and not in any file. The only bans stored in a file are the ones you specify yourself in Unreal's configuration. This means that when Unreal is restarted, all bans and spamfilters added using /spamfilter are lost. To preserve such data, is to link Unreal to a network, where the other servers will store global bans and spamfilters and send them back when the server is restarted. Another method would be to get Gottem's m_storetkl module to save them to a database file.
 

How can I remove all the G:Lines?

There is no IRCd command to remove all the G:Lines. I have come up with ways to do it simply with both mIRC and XChat.

For mIRC, press ALT+R to open up the Remote Scripts Editor, and enter the following line:
raw 223:*:{ gline - $+ $3 }
For XChat, you may use the following TCL script:
on 223 rmgline {
  set gline [split $_rest " "]
  /gline -[lindex $gline 1]
}
Once you have entered the script, simply type /gline, and the script will remove the glines as it receives the list from the server. Additionally, you may use "/stats g +m <mask>" to only remove glines matching a certain mask. You may get disconnected while doing this, just reconnect and do it again.

When done, BE SURE TO REMOVE OR COMMENT THE SCRIPT! Otherwise, it will cause issues in the future.
 

How can I remove all the Spamfilters?

There is no IRCd command to remove all the Spamfilters. I have come up with ways to do it simply with both mIRC and XChat.

For mIRC, press ALT+R to open up the Remote Scripts Editor, and enter the following line:
raw 229:*:{ if ($2 === F) { spamfilter del $3 $4 - - $10- } }
For XChat, you may use the following TCL script (I think this is correct. If it is not, please let me know):
on 229 rmspamfilter {
  set spamfilter [split $_rest " "]
  /spamfilter del [lrange $spamfilter 1 2] - - [lrange $spamfilter 8 end]
}
Once you have entered the script, simply type /spamfilter (with no parameters), and the script will remove the spamfilters as it receives the list from the server. You may get disconnected while doing this, just reconnect and do it again.

When done, BE SURE TO REMOVE OR COMMENT THE SCRIPT! Otherwise, it will cause issues in the future.
 

How do I save all my G/K/Z:Lines during a restart?

The best method would be to get Gottem's m_storetkl module, which saves bans and spamfilters between reboots.


Page modified 5/4/2018