Parallels on Ubuntu 6.10

matahari

Bit poster
Hi!

I have some installation problems on Ubuntu. It seems, parallels won_'t install correctly.
First of all i had to patch the kernel so it could compile.
Afterwards it won't insert the modules correctly as it seems.
Here is the error message:
philipp@ubuntu:~$ sudo parallels-config
Password:


[: 141: ==: unexpected operator
Compiling Parallels Workstation 2.2 drivers...
Drivers have been compiled successfully.
/usr/bin/parallels-config: 175: pushd: not found
/usr/bin/parallels-config: 186: popd: not found
Installing drivers...
Starting drivers...
/usr/lib/parallels/autostart/drivers_start: 19: Syntax error: "(" unexpected
Parallels Workstation drivers were successfully configured
and compiled but cannot be started (insmod command failed).
Run 'dmesg' command for more information.
exit: 3: Illegal number: -1
philipp@ubuntu:~$

This problem occurs not only in Parallels Workstation 2.2 but also in version 2.1.
I think i have some dependencies missing, but i can't see which ones.

Thanks, matahari
 
Let's install the compiler package, kernel sources and libqt3. Those are the necessary ones in Dapper.
sudo apt-get install build-essential libqt3-mt linux-headers-`uname -r`
 
these packages are all installed...
I tried all this already....

I really have no idea anymore...
greetz,

matahari
 
Might be the new bash -> dash transition.
Open the parallels-config script with sudo gedit /usr/bin/parallels-config and edit the first line so that it reads #!/bin/bash instead of #!/bin/sh and try again.
 
I do have the exact same problem. David, I tried the solution you proposed but it didn't do the trick. I try to figure out what is causing this looking at the output of dmesg but I'm a bit confused.

Vincent
 
I can confirm this as well. I changed the file to /bin/bash and got no change


Compiling Parallels Workstation 2.2 drivers...
Drivers have been compiled successfully.
Installing drivers...
Starting drivers...
/usr/lib/parallels/autostart/drivers_start: 19: Syntax error: "(" unexpected
Parallels Workstation drivers were successfully configured
and compiled but cannot be started (insmod command failed).
Run 'dmesg' command for more information.

This is with the Kubutnu 6.10 beta 1 on parallels 2.1 and 2.2.
 
Edit, as root, the files /usr/lib/parallels/autostart/drivers_start and /usr/lib/parallels/autostart/drivers_stop changing the first line to #!/bin/bash.
Afterwards, run parallels-config again to get Parallels working. You also need to change the first line in parallels-config by the way.
 
I can't believe it was because of that ! I learned something today. Works great now. Thanks a lot David.

Cheers,

Vincent
 
David Corrales said:
Edit, as root, the files /usr/lib/parallels/autostart/drivers_start and /usr/lib/parallels/autostart/drivers_stop changing the first line to #!/bin/bash.
Afterwards, run parallels-config again to get Parallels working. You also need to change the first line in parallels-config by the way.

David... and what is the solution for Ubuntu 7.04... this does not work...
could you give me a hand here?

thanks
 
Back
Top