I've just installed Magick IRC on a Windows 7 Ultimate test machine so I can have a mess around before I start working on an actual live-running IRC server. I'm having problems when starting magick.exe - it simply refuses to start.
Okay, I think I've fixed it. After reading through run_magick.bat, I noticed there was a service insertion point. Windows 7 won't allow you to insert or perform service operations unless you specifically Run as Administrator.
Because Run as Administrator changes CMD's path from the current directory to C:\Windows\system32, I added the following lines to the start of run_magick.bat to force it to use Magick's current path.
REM THIS ALLOWS RUNNING AS UAC ADMINISTRATOR. REMOVE THIS STATEMENT AND
REM THE FOLLOWING LINE TO DISABLE UAC ADMIN FUNCTIONALITY
CD "C:\IRCSVR\Magick IRC Services"
Now I'm getting different errors, and I'm going to assume it's to do with configuration. Here's the contents of the magick.txt log file:
26 Jan 2012 11:02:10.651 | STARTUP | Spawning into background ...
26 Jan 2012 11:02:10.652 | STARTUP | Loading default language file ...
26 Jan 2012 11:02:10.742 | STARTUP | Magick 2.0 startup procedure complete.
26 Jan 2012 11:02:10.744 | STARTUP | Starting events engine ...
26 Jan 2012 11:02:10.747 | INFO | Connecting to server [127.0.0.1]:9666 ...
26 Jan 2012 11:02:11.871 | ERROR | Connection to server [127.0.0.1]:9666 closed.
26 Jan 2012 11:02:11.871 | ERROR | Connection to server [127.0.0.1]:9666 refused.
26 Jan 2012 11:02:16.873 | INFO | Connecting to server [127.0.0.1]:6667 ...
26 Jan 2012 11:02:16.880 | INFO | Connection established and authenticated to server [127.0.0.1]:6667.
26 Jan 2012 11:02:16.884 | FATAL | Magick aborting, no valid servers available to connect to!
You should probably remove the ALLOW_x lines. You also only need one REMOTE_x line in this case - make sure it is REMOTE_1, but it should be for port 6667, since you're not listening on 9666 :)
The ALLOW lines is probably what is rejecting the unreal connection. If you want to use the allow lines, you should have the server name, not the IP or host name in the allow line (ie. "AfterLifeLochie.tk" not "localhost" or "127.0.0.1", obviously without quotes.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've just installed Magick IRC on a Windows 7 Ultimate test machine so I can have a mess around before I start working on an actual live-running IRC server. I'm having problems when starting magick.exe - it simply refuses to start.
I did a bit of digging on the fourms, and found this solution (http://sourceforge.net/projects/magick/forums/forum/37744/topic/779979), but when searching through my Services I found no service named "Magick IRC Services". I assume it should probably exist, but I've got no idea if I can create it through magick.exe -service.
I also tried to start magick.exe manually (using magick.exe -v from a UAC-elevated CMD prompt), and this is all I got:
I also noticed that the file magick.log has never been created, so I can't tell what's going on. Suggestions?
Okay, I think I've fixed it. After reading through run_magick.bat, I noticed there was a service insertion point. Windows 7 won't allow you to insert or perform service operations unless you specifically Run as Administrator.
Because Run as Administrator changes CMD's path from the current directory to C:\Windows\system32, I added the following lines to the start of run_magick.bat to force it to use Magick's current path.
Now I'm getting different errors, and I'm going to assume it's to do with configuration. Here's the contents of the magick.txt log file:
I assume I've messed up configuration somewhere, so here's links to my configuration files:
http://afterlifelochie.rocket-it.com.au/file/irc/magick.ini.txt
http://afterlifelochie.rocket-it.com.au/file/irc/unrealircd.conf.txt
You should probably remove the ALLOW_x lines. You also only need one REMOTE_x line in this case - make sure it is REMOTE_1, but it should be for port 6667, since you're not listening on 9666 :)
The ALLOW lines is probably what is rejecting the unreal connection. If you want to use the allow lines, you should have the server name, not the IP or host name in the allow line (ie. "AfterLifeLochie.tk" not "localhost" or "127.0.0.1", obviously without quotes.)