ubuntu 22.04 and VPL

ubuntu 22.04 and VPL

by Christos Rodosthenous -
Number of replies: 5

Just updated my server in ubuntu 22.04 with vpl-jail 3.0 installed. When I run the checks.all i get the following:

----------                                                                      
==========                                                                      
19 MIPS: Hello from MIPS R2000/R3000 Assambler language!                        
20 PASCAL: Hello from the Pascal language!                                      
21 PERL: Hello from the Perl language!                                          
22 PHP:                                                                         
Fatal error: Uncaught Error: Call to undefined function readline() in /home/p105
66/test php/message hello.php:3                                                 
Stack trace:                                                                    
#0 /home/p10566/vpl hello.php(3): hello()                                       
#1 {main}                                                                       
  thrown in /home/p10566/test php/message hello.php on line 3                   
23 PROLOG: Hello from the Prolog language!                                      
24 PYTHON-2: Hello from the Python2 language!                                   
25 PYTHON-3: Hello from the Python3 language!                                   
26 PYTHON: Hello from the Python language!                                      
27 RUBY: Hello from the Ruby language!                                          
28 SCALA: Hello from the Scala language!                                        
29 SCHEME: Hello from the Scheme language!                                      
30 SHELL: Hello from the Shell (Bash) language!                                 
31 SQL: Hello from the SQL language!                                            
32 TYPESCRIPT: Hello from the TypeScript language!                              
33 VERILOG: Hello from the Verilog language!                                    
                                                 
The version of php installed is 8. Any pointers on how to fix that?

Average of ratings: -
In reply to Christos Rodosthenous

Re: ubuntu 22.04 and VPL

by Garth Brady -
Picture of Particularly helpful Moodlers
Please read the requirements here: https://vpl.dis.ulpgc.es/documentation/vpl-jail-system-3.0.0/requirements.html

Ubuntu 22 is not yet supported.
Average of ratings: Useful (1)
In reply to Garth Brady

Re: ubuntu 22.04 and VPL

by Christos Rodosthenous -
Thank you for pointing that out. I reverted my upgrade and stoppes at Ubuntu 20.04 which is supported. The error though is still there:

----------                                                                      
==========                                                                      
20 MIPS: Hello from MIPS R2000/R3000 Assambler language!                        
21 PASCAL: Hello from the Pascal language!                                      
22 PERL: Hello from the Perl language!                                          
23 PHP:                                                                         
Fatal error: Uncaught Error: Call to undefined function readline() in /home/p111
62/test php/message hello.php:3                                                 
Stack trace:                                                                    
#0 /home/p11162/vpl hello.php(3): hello()                                       
#1 {main}                                                                       
  thrown in /home/p11162/test php/message hello.php on line 3                   
24 PROLOG: |: Hello from the Prolog language!                                   
25 PYTHON-2: Hello from the Python2 language!                                   
26 PYTHON-3: Hello from the Python3 language!                                   
27 PYTHON: Hello from the Python language!                                      
28 RUBY: Hello from the Ruby language!                                          
29 SCALA: Hello from the Scala language!                                        
30 SCHEME: Hello from the Scheme language!                                      
31 SHELL: Hello from the Shell (Bash) language!                                 
32 SQL: Hello from the SQL language!                                            
33 TYPESCRIPT: Hello from the TypeScript language!                              
34 VERILOG: Hello from the Verilog language!
In reply to Christos Rodosthenous

Re: ubuntu 22.04 and VPL

by Thomas Bluhm -

Hello,

the same problem in our envrironment. Do you have a solution now?

In reply to Thomas Bluhm

Re: ubuntu 22.04 and VPL

by Garth Brady -
Picture of Particularly helpful Moodlers

Looks to me like php is installed in an unknown directory and Im running Ubuntu 18.04 so I can’t test. Please try Ubuntu 18.04. No issues here.

In reply to Thomas Bluhm

Re: ubuntu 22.04 and VPL

by Garth Brady -
Picture of Particularly helpful Moodlers
I have looked further into this situation but am struggling as well. Have you made any progress?