Автор Тема: Проблем с инсталиране на vmware-server  (Прочетена 3145 пъти)

Ali Nebi

  • Напреднали
  • *****
  • Публикации: 394
  • Distribution: Centos, Debian, Fedora, Ubuntu
  • Window Manager: Gnome
    • Профил
Здравейте, имам един проблем с инсталирането и конфигурирането на VMWare-server на Fedora 6. Инсталирах rpm-а без проблем, но когато стартирах скрипта  /usr/bin/vmware-config.pl

получавам следната грешка в една от сътпките и там прекасва:

Примерен код

Trying to find a suitable vmmon module for your running kernel.

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)? [no] 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? [/lib/modules/2.6.20-1.2962.fc6/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.20-1.2962.fc6/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.20-1.2962.fc6-i686'
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:80:
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘compat_exit’
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘exit_code’
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to ‘int’ in declaration of ‘_syscall1’
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2962.fc6-i686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.


Някой можели да ми даде насоки какво бих могъл да направя? Липсват декларации на функции явно, но ...

Някакви идеи?

Мерси предварително!
Активен

Не се задоволявай да бъдеш дим, когато можеш да бъдеш огън!

neter

  • Global Moderator
  • Напреднали
  • *****
  • Публикации: 3408
  • Distribution: Debian, SailfishOS, CentOS
  • Window Manager: LXDE, Lipstick
    • Профил
    • WWW
Проблем с инсталиране на vmware-server
« Отговор #1 -: Jul 02, 2007, 19:06 »
Качил си версия на VMWare, която не е съвместима с ядрото ти. За целта, влизаш тук, изтегляш последния vmware-any-any patch (то по принцип е само един - последния) и с негова помощ ще можеш да си настроиш VMWare  '<img'>
Активен

"Да си добре приспособен към болно общество не е признак за добро здраве" - Джиду Кришнамурти

Ali Nebi

  • Напреднали
  • *****
  • Публикации: 394
  • Distribution: Centos, Debian, Fedora, Ubuntu
  • Window Manager: Gnome
    • Профил
Проблем с инсталиране на vmware-server
« Отговор #2 -: Jul 03, 2007, 18:08 »
Ммм да, аз вече го направих същотот. Мерси все пак за отговора. На някой друг може да му бъде в полза също '<img'>
Активен

Не се задоволявай да бъдеш дим, когато можеш да бъдеш огън!

Proxain

  • Участници
  • ***
  • Публикации: 9
    • Профил
Re: Проблем с инсталиране на vmware-server
« Отговор #3 -: Jun 04, 2009, 17:10 »
За пръв път инсталирам VMware и все още не съм много на ясно за какво точно става въпрос, но по време на инсталацията ми се появява следната грешка:

Extracting the sources of the vsock module.

Building the vsock module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vsock-only'
make -C /lib/modules/2.6.28-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
  CC [M]  /tmp/vmware-config2/vsock-only/linux/af_vsock.o
  CC [M]  /tmp/vmware-config2/vsock-only/linux/driverLog.o
  CC [M]  /tmp/vmware-config2/vsock-only/linux/util.o
/tmp/vmware-config2/vsock-only/linux/util.c: In function ‘VSockVmciLogPkt’:
/tmp/vmware-config2/vsock-only/linux/util.c:157: warning: format not a string literal and no format arguments
  CC [M]  /tmp/vmware-config2/vsock-only/linux/vsockAddr.o
  LD [M]  /tmp/vmware-config2/vsock-only/vsock.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "VMCIDatagram_CreateHnd" [/tmp/vmware-config2/vsock-only/vsock.ko] undefined!
WARNING: "VMCIDatagram_DestroyHnd" [/tmp/vmware-config2/vsock-only/vsock.ko] undefined!
WARNING: "VMCI_GetContextID" [/tmp/vmware-config2/vsock-only/vsock.ko] undefined!
WARNING: "VMCIDatagram_Send" [/tmp/vmware-config2/vsock-only/vsock.ko] undefined!
  CC      /tmp/vmware-config2/vsock-only/vsock.mod.o
  LD [M]  /tmp/vmware-config2/vsock-only/vsock.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
cp -f vsock.ko ./../vsock.o
make: Leaving directory `/tmp/vmware-config2/vsock-only'
Unable to make a vsock module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config2/vsock.o': -1 Unknown symbol in module
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel.  You may want to
rebuild a kernel based on that directory, or specify another directory.

The VM communication interface socket family is used in conjunction with the VM
communication interface to provide a new communication path among guests and
host.  The rest of this software provided by VMware Server is designed to work
independently of this feature.  If you wish to have the VSOCK feature  you can
install the driver by running vmware-config.pl again after making sure that
gcc, binutils, make and the kernel sources for your running kernel are
installed on your machine. These packages are available on your distribution's
installation CD.
[ Press the Enter key to continue.]

Някой би ли помогнал с идея какво трябва да правя в такъв момент?
Благодаря предварително!
Активен

b2l

  • Напреднали
  • *****
  • Публикации: 4786
  • Distribution: MCC Interim
  • Window Manager: - // - // -
  • ...sometimes I feel like screaming... || RTFM!
    • Профил
    • WWW
Re: Проблем с инсталиране на vmware-server
« Отговор #4 -: Jun 06, 2009, 01:54 »
Качил си версия на VMWare, която не е съвместима с ядрото ти. За целта, влизаш <a href="http://ftp.cvut.cz/vmware/" target="_blank">тук</a>, изтегляш последния vmware-any-any patch (то по принцип е само един - последния) и с негова помощ ще можеш да си настроиш VMWare  <!--emo&;)--><img src="http://www.linux-bg.org/iB_html/non-cgi/emoticons/wink.gif" border="0" valign="absmiddle" alt=';)'><!--endemo-->
Прочети горното и кажи опитали да го направиш?

There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel.  You may want to
rebuild a kernel based on that directory, or specify another directory.
С най-простия превод виждам, че има леко разминаване в конфигурацията на ядрото между С хедарите които използваш и тези които са в ядрото.
« Последна редакция: Jun 06, 2009, 01:58 от backtolife »
Активен

"Човекът е въже, опънато между звяра и свръхчовека, въже над пропаст. Човекът е нещо, което трябва да бъде превъзмогнато." - Фр. Ницше

Ogg1

  • Напреднали
  • *****
  • Публикации: 32
    • Профил
Re: Проблем с инсталиране на vmware-server
« Отговор #5 -: Jul 18, 2009, 18:32 »
Изтеглил съм си vmware-any-any-update115.tar.gz, разархивирал съм го и пуснах ./runme.pl
и пак стигам до тази грешка модула. Какво още да опитам за да се оправя ?

What is the location of the directory of C header files that match your running
kernel?
[/lib/modules/2.6.30.1_ver_16_07_2009/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Workstation 6.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config5/vmmon-only'
make -C /lib/modules/2.6.30.1_ver_16_07_2009/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/redhat/BUILD/kernel-2.6.30.1_ver_16_07_2009'
  CC [M]  /tmp/vmware-config5/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config5/vmmon-only/./include/x86.h:21,
                 from /tmp/vmware-config5/vmmon-only/linux/driver.h:15,
                 from /tmp/vmware-config5/vmmon-only/linux/driver.c:53:
/tmp/vmware-config5/vmmon-only/./include/x86apic.h:80:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/redhat/BUILD/kernel-2.6.30.1_ver_16_07_2009/arch/x86/include/asm/apic.h:11,
                 from /usr/src/redhat/BUILD/kernel-2.6.30.1_ver_16_07_2009/arch/x86/include/asm/smp.h:13,
                 from include/linux/smp.h:36,
                 from include/linux/topology.h:33,
                 from include/linux/gfp.h:7,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /tmp/vmware-config5/vmmon-only/linux/driver.c:16:
/usr/src/redhat/BUILD/kernel-2.6.30.1_ver_16_07_2009/arch/x86/include/asm/apicdef.h:133:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config5/vmmon-only/./include/x86.h:24,
                 from /tmp/vmware-config5/vmmon-only/linux/driver.h:15,
                 from /tmp/vmware-config5/vmmon-only/linux/driver.c:53:
/tmp/vmware-config5/vmmon-only/./include/x86paging.h:61:1: warning: "PTE_PFN_MASK" redefined
In file included from /usr/src/redhat/BUILD/kernel-2.6.30.1_ver_16_07_2009/arch/x86/include/asm/processor.h:19,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /tmp/vmware-config5/vmmon-only/linux/driver.c:16:
/usr/src/redhat/BUILD/kernel-2.6.30.1_ver_16_07_2009/arch/x86/include/asm/pgtable_types.h:177:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config5/vmmon-only/./include/vmci_kernel_defs.h:26,
                 from /tmp/vmware-config5/vmmon-only/./common/vmciContext.h:19,
                 from /tmp/vmware-config5/vmmon-only/linux/driver.h:21,
                 from /tmp/vmware-config5/vmmon-only/linux/driver.c:53:
/tmp/vmware-config5/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config5/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config5/vmmon-only/./include/vmci_kernel_defs.h:26,
                 from /tmp/vmware-config5/vmmon-only/./common/vmciContext.h:19,
                 from /tmp/vmware-config5/vmmon-only/linux/driver.h:21,
                 from /tmp/vmware-config5/vmmon-only/linux/driver.c:53:
/tmp/vmware-config5/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:67: error: previous declaration of ‘poll_initwait’ was here
In file included from /tmp/vmware-config5/vmmon-only/linux/vmhost.h:13,
                 from /tmp/vmware-config5/vmmon-only/linux/driver.c:84:
/tmp/vmware-config5/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory
/tmp/vmware-config5/vmmon-only/linux/driver.c:171: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config5/vmmon-only/linux/driver.c:172: warning: initialization from incompatible pointer type
/tmp/vmware-config5/vmmon-only/linux/driver.c:175: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config5/vmmon-only/linux/driver.c:176: warning: initialization from incompatible pointer type
/tmp/vmware-config5/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Open’:
/tmp/vmware-config5/vmmon-only/linux/driver.c:558: error: ‘struct task_struct’ has no member named ‘euid’
/tmp/vmware-config5/vmmon-only/linux/driver.c: In function ‘__LinuxDriver_Ioctl’:
/tmp/vmware-config5/vmmon-only/linux/driver.c:1495: error: ‘struct task_struct’ has no member named ‘suid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1496: error: ‘struct task_struct’ has no member named ‘cap_permitted’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1761: error: ‘struct task_struct’ has no member named ‘euid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1761: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1762: error: ‘struct task_struct’ has no member named ‘fsuid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1762: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1763: error: ‘struct task_struct’ has no member named ‘egid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1763: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1764: error: ‘struct task_struct’ has no member named ‘fsgid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1764: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1781: error: too many arguments to function ‘smp_call_function’
make[2]: *** [/tmp/vmware-config5/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config5/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.6.30.1_ver_16_07_2009'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config5/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.
Активен

b2l

  • Напреднали
  • *****
  • Публикации: 4786
  • Distribution: MCC Interim
  • Window Manager: - // - // -
  • ...sometimes I feel like screaming... || RTFM!
    • Профил
    • WWW
Re: Проблем с инсталиране на vmware-server
« Отговор #6 -: Jul 18, 2009, 18:41 »
Я само ми покажи:
Код:
#uname -a
Активен

"Човекът е въже, опънато между звяра и свръхчовека, въже над пропаст. Човекът е нещо, което трябва да бъде превъзмогнато." - Фр. Ницше

Ogg1

  • Напреднали
  • *****
  • Публикации: 32
    • Профил
Re: Проблем с инсталиране на vmware-server
« Отговор #7 -: Jul 18, 2009, 19:09 »
CentOS 5.3
Linux joybook.localdomain 2.6.30.1_ver_16_07_2009 #1 SMP Thu Jul 16 09:42:18 EEST 2009 i686 i686 i386 GNU/Linux
Активен

b2l

  • Напреднали
  • *****
  • Публикации: 4786
  • Distribution: MCC Interim
  • Window Manager: - // - // -
  • ...sometimes I feel like screaming... || RTFM!
    • Профил
    • WWW
Re: Проблем с инсталиране на vmware-server
« Отговор #8 -: Jul 18, 2009, 19:38 »
Сложи си този patch и после пробвай да го инсталираш отново.

ПС: И си намери последната версия на тоя VMware. Не знам коя, но най-добре си я намери и я пускай нея.
Активен

"Човекът е въже, опънато между звяра и свръхчовека, въже над пропаст. Човекът е нещо, което трябва да бъде превъзмогнато." - Фр. Ницше

Ogg1

  • Напреднали
  • *****
  • Публикации: 32
    • Профил
Re: Проблем с инсталиране на vmware-server
« Отговор #9 -: Jul 19, 2009, 13:35 »
Изтеглих си и инсталирах "VMware Workstation 6.5 Build 118166 Linux" от data.bg
Когато го стартирам от иконката, започва или поне се опитва да инсталира модули, но пак ми дава грешка и ми прави лог файл със следното съдържание:

Jul 19 13:15:36.839: app| Log for VMware Workstation pid=9471 version=6.5.0 build=build-118166 option=Release
Jul 19 13:15:36.839: app| Host codepage=UTF-8 encoding=UTF-8
Jul 19 13:15:36.839: app| Logging to /tmp/vmware-root/setup-9471.log
Jul 19 13:15:45.627: app| Extracting the sources of the vmmon module.
Jul 19 13:15:45.659: app| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.30.1_ver_16_07_2009/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.1.2

пробвам да сложа пак any-any-update115:

[root@joybook vmware-any-any-update115]# ./runme.pl
Unable to open the installer database /etc/vmware/locations in read-mode.

Execution aborted.

до колкото разбирам казва че database е read-mode,
давам му chmod 666 database

[root@joybook vmware]# pwd
/etc/vmware
[root@joybook vmware]# ls -l
total 1244
-rw-r--r-- 1 root root     314 Jul 19 13:11 bootstrap
drwxr-xr-x 8 root root    4096 Jul 19 13:12 components
-rw-r--r-- 1 root root     440 Jul 19 13:15 config
-rw-rw-rw- 1 root root 1216512 Jul 19 13:13 database
-rw------- 1 root root     464 Jul 19 13:15 networking
drwxr-xr-x 3 root root    4096 Jul 19 13:12 vmnet1
drwxr-xr-x 4 root root    4096 Jul 19 13:12 vmnet8

пробвам пак да изпълня ./runme.pl но пак дава същата грешка.
Активен

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
VMWare
Настройка на програми
jojopara 4 4712 Последна публикация Apr 22, 2003, 18:32
от sunhater
Vmware server
Настройка на програми
dakata_72 1 1171 Последна публикация Jan 25, 2007, 17:33
от dedmin
Проблем с инсталацията на vmware server
Настройка на програми
ilian_BIOS 2 1318 Последна публикация Apr 12, 2007, 21:53
от neter
vmware server 2 и парола
Настройка на програми
pwizard 10 2655 Последна публикация Nov 22, 2009, 23:37
от plamen_f
VMWARE SERVER MANAGEMENT
Хардуерни и софтуерни проблеми
plamen_f 3 1496 Последна публикация Jan 22, 2012, 18:22
от plamen_f