Page 1 of 1

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

Posted: Sun Jan 31, 2010 5:53 pm
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

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

Posted: Sun Jan 31, 2010 5:57 pm
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.

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

Posted: Wed Feb 03, 2010 5:35 pm
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.