Parallels on Ubuntu 6.10

Discussion in 'Parallels Workstation for Windows and Linux' started by matahari, Sep 30, 2006.

  1. matahari

    matahari Bit poster

    Messages:
    2
    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
     
  2. David Corrales

    David Corrales Hunter

    Messages:
    189
    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`
     
  3. matahari

    matahari Bit poster

    Messages:
    2
    these packages are all installed...
    I tried all this already....

    I really have no idea anymore...
    greetz,

    matahari
     
  4. David Corrales

    David Corrales Hunter

    Messages:
    189
    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.
     
  5. David Corrales

    David Corrales Hunter

    Messages:
    189
    Sorry to be inquisitive... did my last solution work? :confused:
     
  6. vinnyduke

    vinnyduke Bit poster

    Messages:
    2
    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
     
  7. soundmaster80

    soundmaster80 Bit poster

    Messages:
    2
    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.
     
  8. David Corrales

    David Corrales Hunter

    Messages:
    189
    I'll try to get it working inside my virtual edgy and post back.
     
  9. David Corrales

    David Corrales Hunter

    Messages:
    189
    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.
     
  10. vinnyduke

    vinnyduke Bit poster

    Messages:
    2
    I can't believe it was because of that ! I learned something today. Works great now. Thanks a lot David.

    Cheers,

    Vincent
     
  11. soundmaster80

    soundmaster80 Bit poster

    Messages:
    2
    I have not tried it yet but thank you for your work. LOL, I can now see if I want to actually buy it :)
     
  12. David Corrales

    David Corrales Hunter

    Messages:
    189
    Awesome-o! I learned something myself too :) That's the good part of trying to help, you always get something in return.
     
  13. chen

    chen Bit poster

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

    thanks
     

Share This Page