Permission Denied on "unreal" but runs on "ircd"

These are old archives. They are kept for historic purposes only.
Post Reply
rkitect
Posts: 2
Joined: Sun Jan 31, 2010 5:44 pm

Permission Denied on "unreal" but runs on "ircd"

Post by rkitect »

Code: Select all

rkitect@blahServer:~/conf$ ./unreal start
Starting UnrealIRCd
./unreal: 136: /home/rkitect/bin: Permission denied
Possible error encountered (IRCd seemingly not started)
=====================================================
Check above for possible errors, and this output of  
ircd.log. If you cannot solve the problem, read
Unreal.nfo on where to get support
=====================================================
ps -ae verifies that ircd is indeed not running. However, if I run ircd from the ../bin folder it runs and I can connect, ps -ae shows ircd as running. I thought I'd be smart and look in the unreal file to see what was on line :136 but it was just the final fi. Once I run it via ircd, the daemon runs fine, I have services up and everything, I just can't use unreal restart/stop/etc because of the permission denied. I've checked all of file and folder permissions and they are all chowned by the user running unreal. I've also tried sudo unreal and get the same permission denied error.

I've also noted that I'm not getting any output to ircd.log or ircd.pid using the unreal bin.

Any pointers in the right direction here? TIA

-rkitect
rkitect
Posts: 2
Joined: Sun Jan 31, 2010 5:44 pm

Re: Permission Denied on "unreal" but runs on "ircd"

Post by rkitect »

rargh! I hate it when i get it fixed right after posting. Delete if you want, or leave if it will be helpful to others. Symbolic link fixed it:

Code: Select all

rkitect@blahServer:~/conf$ ln -s $(pwd)/unreal ~/bin/unreal
rkitect@blehServer:~/conf$ cd ../bin
rkitect@mehServer:~/bin$ unreal
Usage: unreal start|stop|rehash|restart|mkpasswd|version|gencloak
rkitect@f00Server:~/bin$ unreal restart
Restarting UnrealIRCd
rkitect@bardServer:~/bin$ 
*edit: I lied, that didn't fix it, same problem on unreal start. unreal stop results in No such process.
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Permission Denied on "unreal" but runs on "ircd"

Post by katsklaw »

Without more info I'd guess you compiled to run from the wrong directory. Re-do ./Config and make sure you answer the 2 directory related questions correctly.
Post Reply