Closed shagun30 closed 7 years ago
Hello Shagun30, the configuration and logs seems to be normal. It may be a network configuration problem. have you checked ,from inside the jail server, wget http://localhost:8080/OK ? You can obtain a detailed log of the service by starting it in debug mode with "service vpl-jail-system start -d 8". The logs will be written in "/var/log/syslog". Please send me the result (grep vpl /var/log/syslog) to spot better the problem.
Best regards.
Hello Juan, I checked the URL http://localhost:8080/OK but it didn't worked. Here is the link to my log file http://pastebin.com/PDbJB0yL/?e=1. These lines are repeated again and again. Though I was able to run the jail server successfully on our college experimental server. I don't know the reason why its not working on my system.
Also, I had one more question i.e. when student is allowed to submit program through vpl assignment then, vpl evaluates only the last submission by him. Though it shows the previous details and we can evaluate that too when interested. But I wanted if there is any such criteria by which can grade them on basis of no. of time they compiled the program.
For e.g I have 4 test cases and during 1st compilation student's program fails 2 cases and on second time he clears all then instead of giving him 100 he should be awarded 90 or so.
So, is there any such kind of evaluation possible ? If no, then i will like to work upon it.
Hello Shagun30, from the log file I see that the problem is that the system can't open the certificate file. Are you sure that the "/etc/vpl/cert.pem" file exist? if you need it you can reexecute the vpl.jail-system install script (don't need uninstall).
The feature you request about reduce the grade when using the evaluation is in the TODO list of VPL.
Best regards, Juan Carlos.
Hello Juan, I tried doing that and you are right "/etc/vpl/cert.pem" does not exist. I re-executed it again but it is unable to copy the certificate. Here is the link of my installation file http://pastebin.com/i0bysB2C.
If you would like to guide me then I want to work on this feature.
Thanks,
Hello Shagun30, it seems that you found a bug on the installation script that prevents customize the certificate. If you are in a hurry you can fix the problem changing the line 76 of the file "install-vpl-sh" by SUBJ=""
This problem will be fixed in the next release. Best regards, Juan Carlos
Hello Juan, I tried doing the same but it gave the same error. If it is bug then how it was installed on our experimental server. Link for the OK page is http://202.164.53.122:8081/OK. Is there any difference if we install it on our localhost or server?
Thanks !!!
Hi shagun 20, I have tested your "OK" URL and your server works perfectly. The installation do not difference one machine of other, but the service must be reachable from Moodle and the users' browsers using the correct URL Best regards, Juan Carlos .
Hello,
I am student and was trying to install VPL module on my system. I have already installed Moodle on my localhost and its working. I wanted to install VPL module along with the jail server. My VPL module is installed and I tried to install Jail server using following link http://vpl.dis.ulpgc.es/index.php/support/2014-09-27-15-06-22/40-how-to-install-vpl-jail-system.
I am trying to run it with URL http://jailserver:8080/OK. It should render me OK page but I am not getting anything.
Here is my vpl-jail-system.conf file http://pastebin.com/qz48Yc9t. I had apache pre-installed so I changed the port for jail server.
The link for my log file (vpl-jail-service.log) is http://pastebin.com/8hb7vzid. Also, the vpl-jail-system file in /etc/init.d is shared on this link http://pastebin.com/37rrMaAR. Kindly guide me further.
Thanks !!!!