FedoraForum.org - Fedora Support Forums and Community
Results 1 to 12 of 12
  1. #1
    Join Date
    Apr 2009
    Posts
    1

    Smile Fedora 10 and VMWare Server 2.0.1 Running!

    Just wanted to let the community know that I have successfully installed and am running VMWare Server 2.0 on Fedora 10.

    Notes-

    1. Install Fedora 10 and the development packages
    2. Be sure to install all updates.
    3. Use the free VMWare Server 2.0.1 rpm package file.
    4. su to root then Use YUM to install the rpm package. Do not use the "rpm" installer.
    5. Disable SELinux! You will receive "Server not responding message" when trying to logon vi the web interface if you don't.
    6. su to root before running vmware-config.pl. Specify "root" as the management account.

    Hope this saves someone some grief....

    happy VMMing....

  2. #2
    Join Date
    Dec 2003
    Location
    Aurora, IL USA
    Age
    42
    Posts
    2
    If you want to continue using SELinux, changing /etc/pam.d/vmware-authd to the following also works (although it's terribly insecure):
    Code:
    #%PAM-1.0
    auth		required	pam_permit.so
    account		required	pam_permit.so
    Note that this will allow you to log in as anyone without a password, including as root, so only do this on machines you have complete physical and administrative control over, and don't run the web interface to VMware on anything other than localhost. Even then, you should be nervous about it.

    The problem appears to be related to some oddball way the VMware guys are making use of PAM for authentication via their new web interface. You'll notice a couple of zombie processes kicking around if you have SELinux enabled and try to use their PAM configuration as-is; that's the auth verification code, failing miserably.

    Another note: every time you run vmware-config.pl, you'll need to edit /etc/pam.d/vmware-authd again, as it overwrites it each time.

    This trick worked on F10, and is currently working for me on the F11 prerelease.
    -Ed

  3. #3
    Join Date
    Jun 2009
    Posts
    3
    Hi

    I've been fighting with this all day.

    it's my first install of any Linux so appoligies if this is simple stuff.

    I'm getting errors when I try to compile asking for c headers I have seen this error in a number of posts but nothing seem to have fixed it.
    Error xxxxx

    Making sure services for VMware Server are stopped.

    Stopping VMware autostart virtual machines:
    Virtual machines [FAILED]
    Stopping VMware management services:
    VMware Virtual Infrastructure Web Access
    VMware Server Host Agent [FAILED]
    Stopping VMware services:
    VMware Authentication Daemon [ OK ]
    Virtual machine monitor [ OK ]

    None of the pre-built vmmon modules for VMware Server is suitable for your
    running kernel. Do you want this program to try to build the vmmon module for
    your system (you need to have a C compiler installed on your system)? [yes] y

    Using compiler "/usr/bin/gcc". Use environment variable CC to override.

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]

    The path "/usr/src/linux/include" is not an existing directory.

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]

    I have seen this error on the site but it doesn't seem to have an answer.
    suggested fix was Yum perl-devel perl-Extutils-Embed which I did but it didn't help.

    It seems to think there is a kernel missmatch

    uname -a
    Linux basestation1 2.6.27.5-117.fc10.i686 #1 SMP Tue Nov 18 12:19:59 EST 2008 i686 i686 i386 GNU/Linux

    [root@basestation1 ~]# rpm -qa kernel*
    kernel-firmware-2.6.27.5-117.fc10.noarch
    kerneloops-0.12-1.fc10.i386
    kernel-2.6.27.5-117.fc10.i686
    kernel-headers-2.6.27.24-170.2.68.fc10.i386
    kernel-devel-2.6.27.24-170.2.68.fc10.i686
    [root@basestation1 ~]#

    I've added the update any any patch for 2.6.27.5.5 117d

    I used the RPM package as opposed to the TAZ file.

    Being used to the windows exe and away you go I'm defo not in Kansas any more So any pointers on where to look for further error codes or what to think of next would be much appreciated.

    PS the hardware is an hp DL360 g3 and is hopefully going to be my new home lab.

    Many thanks

  4. #4
    scottro's Avatar
    scottro is offline Retired Community Manager -- Banned from Texas by popular demand.
    Join Date
    Sep 2007
    Location
    NYC
    Posts
    8,129
    kernel-2.6.27.5-117.fc10.i686
    kernel-headers-2.6.27.24-170.2.68.fc10.i386

    Note the difference?

    You wiill probably need, at least

    yum install gcc gcc-c++ make automake kernel-devel

    (Some are probably installed.

    Then do a yum update--it looks like you updated your kernel but haven't rebooted, so that you're running a kernel but the headers don't match.

    You might be able to fix it now with a reboot, but I'd install the recommended above and do the update then reboot.

    You can get EVERYTHING with

    yum install @development-libraries @development-tools, but it's probably overkill
    --
    http://srobb.net

  5. #5
    Join Date
    Jun 2009
    Posts
    3
    Hi Scottro thanks for the swift support

    I noticed this i386 and i686 but was not sure if it was an issue or not and even if it was wasn't exactly sure how to fix it

    Added the screen shots for completeness before I reboot

    FYI

    [root@basestation1 ~]# yum install gcc gcc-c++ make automake kernel-devel
    Loaded plugins: refresh-packagekit
    fedora | 2.8 kB 00:00
    updates | 3.0 kB 00:00
    Setting up Install Process
    Parsing package install arguments
    Package gcc-4.3.2-7.i386 already installed and latest version
    Package gcc-c++-4.3.2-7.i386 already installed and latest version
    Package 1:make-3.81-14.fc10.i386 already installed and latest version
    Package automake-1.10.1-2.noarch already installed and latest version
    Package kernel-devel-2.6.27.24-170.2.68.fc10.i686 already installed and latest version
    Nothing to do
    [root@basestation1 ~]#

    [root@basestation1 ~]# yum install @development-libraries @development-tools
    Loaded plugins: refresh-packagekit
    Setting up Install Process
    Parsing package install arguments
    Package flex-2.5.35-2.fc10.i386 already installed and latest version
    Package gcc-4.3.2-7.i386 already installed and latest version
    Package redhat-rpm-config-9.0.3-3.fc10.noarch already installed and latest version
    Package strace-4.5.18-1.fc10.i386 already installed and latest version
    Package rpm-build-4.6.1-1.fc10.i386 already installed and latest version
    Package 1:make-3.81-14.fc10.i386 already installed and latest version
    Package 1kgconfig-0.23-6.fc10.i386 already installed and latest version
    Package gettext-0.17-10.fc10.i386 already installed and latest version
    Package automake-1.10.1-2.noarch already installed and latest version
    Package gdb-6.8-29.fc10.i386 already installed and latest version
    Package bison-2.3-5.fc9.i386 already installed and latest version
    Package libtool-1.5.26-4.fc10.i386 already installed and latest version
    Package autoconf-2.63-1.fc10.noarch already installed and latest version
    Package gcc-c++-4.3.2-7.i386 already installed and latest version
    Package binutils-2.18.50.0.9-8.fc10.i386 already installed and latest version
    Package ltrace-0.5-12.45svn.fc10.i386 already installed and latest version
    Package diffstat-1.43-8.fc10.i386 already installed and latest version
    Package 1:valgrind-3.3.0-4.i386 already installed and latest version
    Package intltool-0.40.5-1.fc10.i386 already installed and latest version
    Package subversion-1.5.4-3.i386 already installed and latest version
    Package texinfo-4.12-4.fc10.i386 already installed and latest version
    Package python-ldap-2.3.5-1.fc10.i386 already installed and latest version
    Package patchutils-0.3.1-1.fc10.i386 already installed and latest version
    Package git-1.6.0.6-3.fc10.i386 already installed and latest version
    Package frysk-0.4-2.fc10.i386 already installed and latest version
    Package gcc-gfortran-4.3.2-7.i386 already installed and latest version
    Package elfutils-0.141-1.fc10.i386 already installed and latest version
    Package rcs-5.7-33.fc10.i386 already installed and latest version
    Package automake16-1.6.3-14.noarch already installed and latest version
    Package automake17-1.7.9-11.noarch already installed and latest version
    Package automake14-1.4p6-17.fc10.noarch already installed and latest version
    Package automake15-1.5-25.noarch already installed and latest version
    Package ccache-2.4-13.fc9.i386 already installed and latest version
    Package ctags-5.7-3.fc10.i386 already installed and latest version
    Package oprofile-gui-0.9.4-6.fc10.i386 already installed and latest version
    Package systemtap-0.9.7-1.fc10.i386 already installed and latest version
    Package swig-1.3.35-2.fc10.i386 already installed and latest version
    Package byacc-1.9.20070509-4.fc10.i386 already installed and latest version
    Package 1:doxygen-1.5.7.1-1.fc10.i386 already installed and latest version
    Package indent-2.2.10-2.fc10.i386 already installed and latest version
    Package cvs-1.11.23-2.fc10.i386 already installed and latest version
    Package oprofile-0.9.4-6.fc10.i386 already installed and latest version
    Package cscope-15.6-2.fc10.i386 already installed and latest version
    Nothing to do

    try the reboot now and we will see not yet convinced.

  6. #6
    Join Date
    Jun 2009
    Posts
    3
    Ok ran the Yum update and it rebuilt loads of objects

    rebooted again (as a windows users if I sneeze I'm used to rebooting

    ran the config rile and got the same error but this time it rebuilt the kernels as it needed to.

    so it worked

    The installation of VMware VIX API 1.6.2 build-156745 for Linux completed
    successfully. You can decide to remove this software from your system at any
    time by invoking the following command: "/usr/bin/vmware-uninstall-vix.pl".

    Enjoy,

    --the VMware team

    Starting VMware services:
    Virtual machine monitor [ OK ]
    Virtual machine communication interface [ OK ]
    VM communication interface socket family: [ OK ]
    Virtual ethernet [ OK ]
    Bridged networking on /dev/vmnet0 [ OK ]
    Host-only networking on /dev/vmnet1 (background) [ OK ]
    DHCP server on /dev/vmnet1 [ OK ]
    Host-only networking on /dev/vmnet8 (background) [ OK ]
    DHCP server on /dev/vmnet8 [ OK ]
    NAT service on /dev/vmnet8 [ OK ]
    VMware Server Authentication Daemon (background) [ OK ]
    Shared Memory Available [ OK ]
    Starting VMware management services:
    VMware Server Host Agent (background) [ OK ]
    VMware Virtual Infrastructure Web Access
    Starting VMware autostart virtual machines:
    Virtual machines [ OK ]

    The configuration of VMware Server 2.0.1 build-156745 for Linux for this
    running kernel completed successfully.

    So a big thanks Scottro

    cheers guys and on to the next battle...

  7. #7
    Join Date
    Sep 2007
    Posts
    40

    VMWare-Server 2 fix without Disabling SELinux

    Quote Originally Posted by logic
    If you want to continue using SELinux, changing /etc/pam.d/vmware-authd to the following also works (although it's terribly insecure):
    Code:
    #%PAM-1.0
    auth		required	pam_permit.so
    account		required	pam_permit.so
    Note that this will allow you to log in as anyone without a password, including as root, so only do this on machines you have complete physical and administrative control over, and don't run the web interface to VMware on anything other than localhost. Even then, you should be nervous about it.

    The problem appears to be related to some oddball way the VMware guys are making use of PAM for authentication via their new web interface. You'll notice a couple of zombie processes kicking around if you have SELinux enabled and try to use their PAM configuration as-is; that's the auth verification code, failing miserably.

    Another note: every time you run vmware-config.pl, you'll need to edit /etc/pam.d/vmware-authd again, as it overwrites it each time.

    This trick worked on F10, and is currently working for me on the F11 prerelease.
    Solution:

    1. Download VMware-server 1 tarball
    2. tar -xvf VMware-server-1.0.7-108231.tar.gz
    3. cp /home/tclark/Download/vmware/vmware-server-distrib/lib/lib/libpam.so.0/security/pam_unix.so /lib/security/pam_unix_vm.so
    4. vi /etc/pam.d/vmware-authd to reflect:
    #%PAM-1.0
    auth required pam_unix_vm.so shadow nullok
    account required pam_unix_vm.so
    5. On a remote Linux machine with a less secure hash "grep tclark /etc/shadow" resulted in:
    tclark:1234567890123456789012345678901234:14377:0: 99999:7:::
    6. On PC I was trying to install VMware on "grep tclark /etc/shadow" resulted in:
    tclark:1234567890123456789012345678901234567890123 45678901234567890123456789012345678901234567890123 4567890123456:14377:0:99999:7:::
    7. vi /etc/shadow
    Changed from:
    tclark:1234567890123456789012345678901234567890123 45678901234567890123456789012345678901234567890123 4567890123456:14377:0:99999:7:::
    to:
    tclark:1234567890123456789012345678901234:14377:0: 99999:7:::
    8. service vmware restart

    I was then able to successfully login to VMWares Web Access running FC10.

  8. #8
    Join Date
    May 2011
    Posts
    4

    Re: Fedora 14 and VMWare Server 2.0.1 Running!

    Hi All I am facing the same Issue in FC-14 -64 bit, getting C directory error while trying to rebuild vmmon module by running the perl /usr/bin/vmware-config.pl.

    As susgested above I have done
    1) yum install gcc gcc-c++ make automake kernel-devel
    2) yum update
    3) Rebooted the Server (The Host Machine)

    Now I can see that

    root@vmware ~]# uname -a
    Linux vmware 2.6.35.13-91.fc14.x86_64 #1 SMP Tue May 3 13:23:06 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
    [root@vmware ~]# rpm -qa kernel*
    kernel-headers-2.6.35.13-91.fc14.x86_64
    kernel-2.6.35.13-91.fc14.x86_64
    kernel-devel-2.6.35.13-91.fc14.x86_64
    kernel-2.6.35.6-45.fc14.x86_64
    kernel-devel-2.6.35.6-45.fc14.x86_64

    So, I have same versions.


    On running the config file as a root uses am still getting the same error....

    [root@vmware ~]# /usr/bin/vmware-config.pl
    Making sure services for VMware Server are stopped.

    Stopping VMware autostart virtual machines:
    Virtual machines [FAILED]
    Stopping VMware management services:
    VMware Virtual Infrastructure Web Access
    VMware Server Host Agent [FAILED]
    Stopping VMware services:
    VMware Authentication Daemon [ OK ]
    Virtual machine monitor [ OK ]

    None of the pre-built vmmon modules for VMware Server is suitable for your
    running kernel. Do you want this program to try to build the vmmon module for
    your system (you need to have a C compiler installed on your system)? [yes] yes

    Using compiler "/usr/bin/gcc". Use environment variable CC to override.

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include] /usr/src/kernels/2.6.35.13-91.fc14.x86_64/include/
    The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
    your running kernel (version 2.6.35.13-91.fc14.x86_64). Even if the module
    were to compile successfully, it would not load into the running kernel.

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]

    _____________________________
    VMware Server 2.0.2 build-203138
    _____________________________


    I dont wnat to upgrade the VMware server as suggested by Niels in
    http://www.fedoraforum.org/forum/sho...d.php?t=131877

    What to do ? Plz help
    Last edited by LolaAmor; 18th May 2011 at 12:10 PM.

  9. #9
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,605

    Re: Fedora 10 and VMWare Server 2.0.1 Running!

    Moved to EOL (End Of Life) Versions.

    I've never used VMWare, but I know that with VirtualBox often times it helps to have dkms installed. Not sure if this applies to your situation.
    Glenn
    The Bassinator

  10. #10
    Join Date
    May 2011
    Posts
    4

    Re: Fedora 14 and VMWare Server 2.0.1 Running!

    Hi Glennzo,

    Thanks for your help.

    I have successfully installed dkms (yum install dkms) in my machine. But still it does not work, m getting the same error again
    __________________________________________________ ________________________
    The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
    your running kernel (version 2.6.35.13-91.fc14.x86_64). Even if the module
    were to compile successfully, it would not load into the running kernel.

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]
    __________________________________________________ _________________________

    Don't know what to do, plz help, I can not upgrade the vmware server but latest version of it.



    Thanks a lot

  11. #11
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,605

    Re: Fedora 10 and VMWare Server 2.0.1 Running!

    I trust you've booted into the newest kernel? It appears that you have.

    I'm trying to install this now and am facing the same issue as you. Perplexing to say the least. As far as I can tell I have everything I need installed.
    Glenn
    The Bassinator

  12. #12
    Join Date
    May 2011
    Posts
    4

    Re: Fedora 10 and VMWare Server 2.0.1 Running!

    Hi Glennzo,

    Thanks a lot for your help.

    Yes I have rebooted the server after installation of dkms.

    Thanks,

    Lola

Similar Threads

  1. vmware server 2 on fedora 10 - server not running
    By dashlevin in forum Using Fedora
    Replies: 8
    Last Post: 4th March 2009, 03:58 AM
  2. F8: Problems running VMWare Server 1.0.4
    By rweed in forum Using Fedora
    Replies: 8
    Last Post: 20th November 2007, 11:15 AM
  3. VMWare GSX Server running on my Workstation.
    By TKBuisan in forum Reviews, Rants & Things That Make You Scream
    Replies: 11
    Last Post: 24th February 2006, 01:05 PM
  4. Fedora Core 2 on VMWare- Running a server
    By DGNetwork in forum Servers & Networking
    Replies: 3
    Last Post: 22nd February 2005, 01:09 PM
  5. fedora running under vmware on xp
    By triple5adam in forum Using Fedora
    Replies: 1
    Last Post: 5th June 2004, 02:10 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •