LINUX.ORG.RU

Проблема при установке VMware


0

0

При попытке установить получаю:
Creating a new installer database using the tar3 format.

Installing the content of the package.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]

What is the directory that contains the init scripts?
[/etc/rc.d]

In which directory do you want to install the library files?
[/usr/lib/vmware]

The path "/usr/lib/vmware" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want? [yes]


In which directory do you want to install the manual files?
[/usr/share/man]
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware]

The path "/usr/share/doc/vmware" does not exist currently. This program is going
to create it, including needed parent directories. Is this what you want?
[yes]

The installation of VMware Workstation 5.5.1 build-19175 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.pl".

Before running VMware Workstation for the first time, you need to configure it
by invoking the following command: "/usr/bin/vmware-config.pl". Do you want this
program to invoke the command for you now? [yes]

Making sure services for VMware Workstation are stopped.

/etc/rc.d/vmware: line 726: [: -: integer expression expected
/etc/rc.d/vmware: line 684: [: -: integer expression expected
Stopping VMware services:
Virtual machine monitor failed
Unable to stop services for VMware Workstation


То же самое и при попытке запустить VMware Workstation 5.0 и VMware Player...
Slackware current. 2.6.15.3
В чём бага?

★★

ну так написано ж 
/etc/rc.d/vmware: line 726: [: -: integer expression expected
/etc/rc.d/vmware: line 684: [: -: integer expression expected 

вот и смотри чего там имеется...

alexmi3_new
()
Ответ на: комментарий от alexmi3_new

Смотрел:

status)
if [ "`vmmonUseCount`" -gt 0 ]; then <<-- Это строка line 684
echo 'At least one instance of '"`vmware_product_name`"' is still running.'
echo
if [ "$2" = "vmcount" ]; then
exit 2
fi
fi
if [ "$2" = "vmcount" ]; then
exit 0
fi

exitcode='0'

"$vmdb_answer_LIBDIR"/net-services.sh status
exitcode=$(($exitcode + $?))

echo -n "Module $driver "
[ "`isLoaded "$driver"`" = 'yes' ] && echo loaded || echo "not loaded"
if [ "`isPpuserNeeded`" = '1' ]; then
echo -n "Module $ppuser "
[ "`isLoaded "$ppuser"`" = 'yes' ] && echo loaded || echo "not loaded"
fi
if [ "$vmdb_answer_NETWORKING" = "yes" ]; then
echo -n "Module $vnet "
[ "`isLoaded "$vnet"`" = 'yes' ] && echo loaded || echo "not loaded"
fi

if [ "$exitcode" -gt 0 ]; then
exit 1
fi
;;

726-я строка аналогична.
На другой машине этот пакеи ставился, проблем не было.

PAY ★★
() автор топика
Ответ на: комментарий от PAY

не загрузился модуль vmmon
смотри выше по скрипту

#
# Report the number of references to the $driver module.
# Used to figure out if there are any VMs running.
#
vmmonUseCount() {
   # Beware of module dependancies here. An exact match is important
   /sbin/lsmod | awk 'BEGIN {n = 0;} {if ($1 == "'"$driver"'") n = $3;}
   END {print n;}'
}

alexmi3_new
()
Ответ на: комментарий от alexmi3_new

> может awk не установлен?

ls -l `which awk`
lrwxrwxrwx  1 root root 14 Ноя 20 23:52 /usr/bin/awk -> ../../bin/gawk

no-dashi ★★★★★
()
Ответ на: комментарий от PAY

Нашёл....

Errors about '[: -: operand expected' are caused by your kernel configuration. VMware can work only on kernels which have kernel modules unloading enabled. Enable this in your kernel configuration, and vmware-config.pl will succeed (modulo two other bugs you may find being reported on 2.6.16-rc1 & simillar systems).

PAY ★★
() автор топика
Ответ на: комментарий от PAY

да, и спасибо за помощь, конечто же :)

PAY ★★
() автор топика
Ответ на: комментарий от PAY

> VMware can work only on kernels which have kernel modules unloading enabled

Чего и требовалось доказать :-) Пересобраные ядра конечно рулят... Если пересобраны с чувством, расстановкой и интонацией :-)

no-dashi ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.