./unreal: line 10: Unreal3.2/src/ircd: Permission denied
Hello, when starting Unrealircd (./unreal start command) - theres nothing in the log file so what can i do :s
Permission Denied!
Re: Permission Denied!
make sure you the same user that installed Unreal. "Permission Denied" is a very literal error.
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ
-
joethomas3000
- Posts: 31
- Joined: Tue Oct 26, 2010 12:36 am
Re: Permission Denied!
I had to install it with the root user or i would get that annoying no c compiler found for some reason, i tried starting it on root and the normal user aswell... no difference :s
Re: Permission Denied!
No IRC application should ever be run as root. Installing as root to avoid a system configuration issue like yours isn't the answer either. If you have a compiler but it can't be seen as a user, that just means it's not installed in $PATH. The solution is to add it to $PATH and not install as root. My advice is to fix your $PATH issue first (just google it). then install as a normal non-root user.joethomas3000 wrote:I had to install it with the root user or i would get that annoying no c compiler found for some reason, i tried starting it on root and the normal user aswell... no difference :s
All that said, it's still a permissions issue regardless of who you run it as. "Permission Denied" is a very literal error.
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ
-
joethomas3000
- Posts: 31
- Joined: Tue Oct 26, 2010 12:36 am
Re: Permission Denied!
soo... where do i find $path
Re: Permission Denied!
$PATH is a list of directories that will be used to find programs you use. so if you type: gcc, your shell will look in $PATH for that application, if it doesn't exist then it will complain.
Notice how my gcc is in /usr/bin ? and /usr/bin is in my $PATH ??
Different distributions act differently as far as where to set your $PATH permanently, sometimes it's .bashrc sometimes it's .profile. You'll just have to find it as configuring gcc is outside the scope of this website. Which is why I said google it.
Code: Select all
katsklaw@THEBES:~$ which gcc
/usr/bin/gcc
katsklaw@THEBES:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
Different distributions act differently as far as where to set your $PATH permanently, sometimes it's .bashrc sometimes it's .profile. You'll just have to find it as configuring gcc is outside the scope of this website. Which is why I said google it.
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ
-
joethomas3000
- Posts: 31
- Joined: Tue Oct 26, 2010 12:36 am
Re: Permission Denied!
$PATH seems to be fine...
Code: Select all
root@sting [~]# which gcc
/usr/bin/gcc
root@sting [~]# echo $PATH
/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin
Re: Permission Denied!
Again, get away from root! Try it as a normal user.
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ