mjnaderi / Sharif-Judge

A free and open source online judge system for programming courses
https://github.com/mjnaderi/Sharif-Judge/tree/docs
GNU General Public License v3.0
385 stars 152 forks source link

Problem with system when install on centos #44

Open khuongnn opened 8 years ago

khuongnn commented 8 years ago

Dear Supporter,

I have installed Sharif-Judge on centos but I have problem with system as follow: isse Please help me resolve this problem!

khuongnn commented 8 years ago

Dear @mjnaderi Please help me!!!

mjnaderi commented 8 years ago

Sharif Judge has problems with SELinux. Is SELinux enabled in your Linux?

khuongnn commented 8 years ago

screenshot from 2016-04-14 07-53-31 This is my SELinux status on my machine. Is show that disable on our OS. In your document, I should be disable? @mjnaderi.

DiegoQueiroz commented 8 years ago

I must be wrong, but, in the same screen, he shows the ./tester.sh running as expected, doesn't it? If so, what is wrong?

khuongnn commented 8 years ago

Dear @DiegoQueiroz and @mjnaderi

I have that screen because I comment this line: sudo -u restricted_user pkill -9 -u restricted_user If I do as follow: https://github.com/mjnaderi/Sharif-Judge/blob/docs/v1.4/security.md I will get errors as follow:

screenshot from 2016-04-17 07-00-47 Please help me as soon as possible!

Best and regard,

DiegoQueiroz commented 8 years ago

Have you tried to run this command directly from the command line? This appear to be a problem with your sudo instalation.

DiegoQueiroz commented 8 years ago

Also, www-data is the usual user for Apache in Debian-based systems. Did you check what user your system is using? And how did you installed sudo in your system? If I'm not mistaken, sudo is not installed by default in CentOS. (Why are you using CentOS, really? Nothing against it, but if you're not able to setup it, it would be good to try a different one.)

priteshisgreat commented 6 years ago

@DiegoQueiroz I have cloned the repository through git extensions on windows .But I don't know how to make cache twig writable??plz help

samirfor commented 6 years ago

@priteshisgreat just chown -R apache:apache /path/to/application/cache/Twig