coctic писал(а):
and писал(а):
При запуске сервера под windows, а клиента под убунтой, на разных машинах все работает, но при запуске сервера под убунтой, а клиента под windows, они не соединяются, клиент пишет Inicialization и всё.. а сервер так и ждёт. файрвол, антивирус отключены.
Запустите клиент с ключом -d, когда он зависнет, нажмите CTRL+Break и покажите вывод. Заодно покажите вывод сервера X-Com при старте.
and@and-desktop:~/xCoM/gserv$ ./XServ.pl power.ini
XServ: ready at
http://62.33.211.25:65002Power: initialization argument is 2
XServProcessor: Power initialized (1 -> 50)
это пишет клиент под убунтой
and@and-desktop:~$ cd /home/and/xCoM/gcli/
and@and-desktop:~/xCoM/gcli$ ./client.pl -d
http://62.33.211.25:65002Usage: client.pl [-d] [-c <client id>] [-T <directory>] [--http-proxy <URL>] [--add-arg <argument>] -s <URL> [-ssl <ssl mode>] [--cert-file <certificate file>] [--key-file <key file>] [--ca-path <CA path>]
-d Enables debug output
-c Sets client id passed to server
-T Sets temporary directory to use
--http-proxy sets the URL to HTTP PROXY to connect to
-s Sets the URL to client manager to connect to.
--add-arg Sets additional argumetn passed to client part both in gcprepare and gctask.
--impersonate Task received from server MUST have 'api' attribute set to 'processes'
and MUST have 'user' attribute set to user name to execute client part as.
--cert-file Full path to client certificate file for HTTPS.
--key-file Full path to client private key file fot HTTPS.
--ca-path Full path to CA directory for HTTPS.
Client manager URL is not defined at /home/and/xCoM/gcli/Configurator.pm line 147.
and@and-desktop:~/xCoM/gcli$
а это клиент под windows
E:\NEW\KURS\xcom2\gcli>"E:\NEW\KURS\xcom2\gcli\client.exe" -d -s
http://62.33.211.25:65002
Initializing.
Terminating on signal SIGBREAK(21)
^CЗавершить выполнение пакетного файла [Y(да)/N(нет)]?