PhPVirtualBox error

NethServer Version: 7.6
Module: PhPVirtualBox

Hi,
I’d test PhPVirtualBox but…
I tried two installations and received the same error.

and then

Any help?
TK

Did you try to login as root? I’ve read it’s not supported. Please look if the following link could help:

Yes, I have root.
When I did the installation, I had problems with creating the mariadb password. Maybe it’s the problem.
During the installation, I received this error:

ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES)

TK

Please have a look if

/root/.my.cnf

and

/var/lib/nethserver/secrets/mysql

have the same password.

Did you try the nethserver-phpvirtualbox in nethforge?

if the passwords are the same I don’t know, I haven’t checked and I’ll do it.
I installed the virtualbox from the software center.
I did various tests with fresh machines and the result of the updates is always the same.

let me time, i am coming on it

1 Like

I’m looking now.
Yes, the same password.

i am on it…trying first to reproduce

what is the output of : /sbin/vboxconfig

does it compile the phpvirtualbox module with your kernel

http://docs.nethserver.org/en/latest/phpVirtualBox.html#installation

in the documentation I stated your kernel must be up to date before to reboot on the last kernel, this is due to the lack of kernel-devel for old kernels, rhel keeps only some rpm, unfortunately not all

[root@ns7loc14 ~]# rpm -qa | grep kernel
kernel-tools-3.10.0-957.27.2.el7.x86_64
kernel-devel-3.10.0-957.27.2.el7.x86_64
kernel-3.10.0-957.5.1.el7.x86_64
kernel-3.10.0-957.27.2.el7.x86_64
kernel-headers-3.10.0-957.27.2.el7.x86_64
kernel-tools-libs-3.10.0-957.27.2.el7.x86_64
kernel-3.10.0-862.11.6.el7.x86_64
kernel-3.10.0-957.1.3.el7.x86_64
kernel-3.10.0-957.10.1.el7.x86_64

[root@ns7loc14 ~]# /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.

OT but I find another bug @roberto.schiano

https://github.com/NethServer/dev/issues/5826

thank :slight_smile:

I am a bit lost, you made several attempts, for what I saw, here you should be able to login with the user admin and password admin, does it works on your server ?

In the mean while I solved the error of software center you described

could you test please

yum install http://packages.nethserver.org/nethserver/7.6.1810/nethforge-autobuild/x86_64/Packages/nethserver-virtualbox-5.2-phpvirtualbox-1.0.2-1.8.pr4.g1a5149f.ns7.noarch.rpm http://packages.nethserver.org/nethserver/7.6.1810/nethforge-autobuild/x86_64/Packages/nethserver-virtualbox-5.2-VirtualBox-1.0.2-1.8.pr4.g1a5149f.ns7.noarch.rpm

could you please give the output of config show phpvirtualbox

Please @roberto.schiano, do not post screenshots of putty.
Copy and paste the output on the thread, using the
right tool
to format the output

1 Like

The right format could be a [code] Tag

Hi… So, I’m clear …
I have a ProxMox server where I do my tests and when I find a problem and I delete VM end restart …
Now I’ll do it all over again and then I’ll update you.
Thank you

  1. VM created
  2. updated so far
  3. installed the PHPvirtualbox package from the list of available packages
  4. end of installation and I receive in YUM the following two errors:

Resolving RPM dependencies

failure: repodata/repomd.xml from virtualbox: [Errno 256] No more mirrors to try. http://download.virtualbox.org/virtualbox/rpm/el/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for virtualbox

Then from teminal, execute this:

yum install http://packages.nethserver.org/nethserver/7.6.1810/nethforge-autobuild/x86_64/Packages/nethserver-virtualbox-5.2-phpvirtualbox-1.0.2-1.8.pr4.g1a5149f.ns7.noarch.rpm http://packages.nethserver.org/nethserver/7.6.1810/nethforge-autobuild/x86_64/Packages/nethserver-virtualbox-5.2-VirtualBox-1.0.2-1.8.pr4.g1a5149f.ns7.noarch.rpm

This is the result from putty…:crazy_face:

the problem always exists or I make a mistake, but which one?

Sorry. the last putty image…

1 Like

So… the phpvirtualbox dasen’t work