Имя: Пароль:
1C
1С v8
1С8.3 Не видит лицензию HASP
0 boy-koff
 
12.09.16
14:57
Всех приветствую. Столкнулся со следующей проблемой:
На одном сервере (Windows Server 2003 r2, x64) стоит 1с8.3 и установлен ключик HASP (красный, на 50 лицензий), на другом сервере (Windows Server 2008 r2, x64) так же стоит 1с8.3, на этом же сервере есть информационная база, при входе в которую появляется ошибка "Не обнаружена лицензия на запуск сервера". Подробная описание ошибки:
---
На сервере 1С:Предприятия не найдена лицензия. Не обнаружен ключ защиты программы или полученная программная лицензия!
по причине:
Файл программной лицензии не найден
локальный ключ недоступен: Status=0, EN8SA Локальный, не установлен
Поиск лицензии в сервисе лицензирования:
Файл программной лицензии не найден
---
Содержимое файла nhsrv.ini:
;*******************************************************************************
;*
;* NetHASP License Manager sample configuration file.
;*
;*   boolean switches may have the values
;*     1, yes, true, enabled
;*     0, no, false, disabled
;*
;*******************************************************************************


; ------------------------------------------------------------------------------
; global LM settings
; ------------------------------------------------------------------------------

[NHS_SERVER]

NHS_USERLIST     = 250           ; maximum number of concurrent logins
                                 ; to this LM (default=250, max = 65520)

NHS_SERVERNAMES = LM1         ; server names to match the name a client
                 ; requests (max 6 names, max 7 chars/name)

NHS_HIGHPRIORITY = no            ; run LM at high priority (default=no)


; ------------------------------------------------------------------------------
; settings for the IP protocol
; ------------------------------------------------------------------------------

[NHS_IP]

;NHS_USE_UDP      = enabled   ; enabled or disabled (default: enabled)
NHS_USE_TCP      = enabled   ; enabled or disabled (default: enabled)
NHS_IP_portnum   = 475       ; IP port number (default: 475 (IANA registered))
                             ;   CAUTION: clients must use the same port !


NHS_IP_LIMIT = 192.168.*.*
; specifies the range of stations that are allowed to access the LM
; the LAST byte may be a range (e.g., 10-120)
; the 4th, the 4th and 3rd, or the 4th and 3rd and 2nd byte may be an asterisk,
;   acting as wildcard (e.g., 10.*.*.*, but NOT 10.*.20.1)
; an additional bitmask can be specified as number of one-bits (e.g., 10.0.0.0/8)


; ------------------------------------------------------------------------------
; settings for the IPX protocol
; ------------------------------------------------------------------------------

;[NHS_IPX]

;NHS_USE_IPX       = enabled  ; enabled or disabled (default: enabled)
;NHS_addrpath     = c:\temp  ; pathname for haspaddr.dat (default: current dir)
;NHS_AppendAddr    = no       ; append to haspaddr.dat (default: replace)
;NHS_usesap        = enabled  ; enabled or disabled (default: enabled)
;NHS_ipx_socketnum = 0x7483   ; IPX socket number (default: 0x7483)
                             ;   CAUTION: clients must use the same number !


; ------------------------------------------------------------------------------
; settings for the NetBios protocol
; ------------------------------------------------------------------------------

[NHS_NETBIOS]

NHS_USE_NETBIOS   = disabled  ; enabled or disabled (default: enabled)
;NHS_NBNAME       = NB1 ; use another than predefined NetBios name
                             ;   CAUTION: clients must use the same name !
;NHS_use_lana_nums = 3,0,7,2  ; default = all (automatic)


; ------------------------------------------------------------------------------
; end of file
; ------------------------------------------------------------------------------
Содержимое файла nethasp.ini:

;
; NetHASP Configuration file syntax.
;
;
; Note:
;
; All text lines were commented.
; Remove comments in the lines you want to use.
;


[NH_COMMON]

;
; Section-specific Keywords
;

;
; You can set either of the following three Keywords to "Enabled"!
;
;NH_IPX = Disabled             ; Use the IPX protocol
;NH_NETBIOS = Disabled            ; Use the NETBIOS protocol
NH_TCPIP = Enabled             ; Use the TCP/IP protocol

;
; General Keywords
;
;NH_SESSION = 15            ; See Adapting the Timeout Length
;NH_SEND_RCV = 30            ; in the HASP Programmer's Guide.



;[NH_IPX]

;
; Section-specific Keywords for the IPX protocol.
;

;;NH_NCLIENT32 = Disabled        ; Disable Novell Client use

;;NH_GET_LOCAL_TARGET = Disabled        ; Disable LM search over segments

;;NH_USE_BINDERY = Enabled or Disabled    ; Use IPX with bindery.
                    ; Default:  Disabled
                    ; Ignored under Win32 API.
                    ; This switch replaces older switch
                    ; named NH_USE_SAP.

;;NH_USE_BROADCAST = Enabled or Disabled; Use IPX Broadcast mechanism.
                    ; Default:  Enabled

;;NH_BC_SOCKET_NUM = <Number>        ; Broadcast socket number (HEX).
                    ; Default:  7483H

;;NH_USE_INT = 2F_NEW or 7A_OLD        ; 2F_NEW means that IPX protocol will
                    ; use interrupt 2Fh ONLY.
                    ; 7A_OLD means that IPX protocol will
                    ; use interrupt 7Ah ONLY.
                    ; Default:  2F_NEW.

;;NH_SERVER_NAME = <Server10>        ; Communicate with the NetHASP
                    ; Server with the specified name.
                    ; Maximum: 6 names, up to 7
                    ; case-insensitive characters each.

;;NH_SEARCH_METHOD = Localnet or Internet ; See Local Networks and
                      ; Internetworks in the HASP
                                          ; Programmer's Guide.

;;NH_DATFILE_PATH = <path>        ; Specify the location of the NetHASP
                    ; License Manager's address file.

;
; General Keywords
;
;;NH_SESSION = <Num>            ; See Adapting the Timeout Length
;;NH_SEND_RCV = <Num>            ; in the HASP Programmer's Guide.


[NH_NETBIOS]

;
; Section-specific Keywords for the NetBIOS protocol.
;
NH_NBNAME = NB1                ; Assign a name to the NetHASP
                    ; License Manager.
                    ; 1 name possible, up to 8
                    ; case-insensitive characters.

;;NH_USELANANUM = <Num>            ; Assign a lana number to be used
                    ; as a communication channel.
;
; General Keywords
;
;;NH_SESSION = <Num>            ; See Adapting the Timeout Length
;;NH_SEND_RCV = <Num>            ; in the HASP Programmer's Guide.


[NH_TCPIP]

;
; NetHASP does not support TCP/IP under DOS.
;

;
; Section-specific Keywords for the TCP/IP protocol.
;

NH_SERVER_ADDR = 192.168.0.10         ; IP addresses of all the NetHASP
                    ; License Managers you want to search.
                    ; Unlimited addresses and multiple
                    ; lines are possible.
                    ;
                    ; Possible address format examples:
                    ;  IP address:      192.114.176.65
                    ;  Local Hostname:  ftp.aladdin.co.il

NH_PORT_NUMBER = 475            ; Set the TCP/IP port number. This is
                    ; optional. The default number is 475.


NH_TCPIP_METHOD = TCP            ; Send a TCP packet or UDP packet
                    ; Default:  UDP
NH_USE_BROADCAST = Disabled        ; Use TCPI/IP Broadcast mechanism.
                    ; Default:  Enabled

;NH_SERVER_NAME = LM1            ; Communicate with the NetHASP
                    ; Server with the specified name.
                    ; Maximum: 6 names, up to 7
                    ; case-insensitive characters each.

;
; General Keywords.
;
;NH_SESSION = 15            ; See Adapting the Timeout Length
;NH_SEND_RCV = 30            ; in the HASP Programmer's Guide.

По Telnet`у без проблем заходит по 475 порту. Брандмауэры отключены. HASP LM исключён из DEP.
В чём причина понять не могу. Может всё же что то не так указал в .ini файликах, хотя уже помоему перепробовал все варианты.
1 Amra
 
12.09.16
14:59
Лицензия на пользователей это не на сервер. Сервер покупали? В тот сервер, где он установлен, серверный ключ включен?
2 Cyberhawk
 
12.09.16
15:00
Причина в том, что служба не видит серверный ключ 1С
3 boy-koff
 
12.09.16
15:21
(1) Сервер покупали но очень давно.
Ключ включен. Локально он работает. Alladdin Monitor со второго сервера видит лицензии.
4 boy-koff
 
12.09.16
15:22
(2) Это и так понятно. Вопрос в том, как сделать что бы служба увидела ключ.
5 Cyberhawk
 
12.09.16
15:23
(4) Наверное, купить второй ключ
6 Cyberhawk
 
12.09.16
15:24
Серверный ключ может быть только локальным и только на один сервер приложений
7 boy-koff
 
12.09.16
15:35
(6) Ключ "H4 Net50 217-50 ORGL8" если это что то даст
8 Cyberhawk
 
12.09.16
15:36
(7) Это не серверный ключ, а клиентский
9 probably
 
12.09.16
15:57
(3) +(7) и он не видится в мониторе)
10 boy-koff
 
12.09.16
16:04
(9) (8) Ошибся, ещё серверный ключ "H4 M1 ENSR8" стоит.
11 hhhh
 
12.09.16
16:12
ну вот где этот ключ стоит, там и запускайте 1с-сервер.
12 boy-koff
 
12.09.16
16:15
(11) необходимо запустить на другой сервер с этим же серверным ключом
13 hhhh
 
12.09.16
16:17
покупайте второй серверный ключ, сказали же.
14 Serg_1960
 
12.09.16
16:38
"Назначение, установка и администрирование ключей защиты HASP для «1С:Предприятие» 8"
http://tavalik.ru/administrirovanie-klyuchej-zashhity-hasp/
Маркировка, назначение, внешний вид, описание и особенности использования.
15 Cyberhawk
 
12.09.16
16:46
(12) Мечтать не вредно. Выдыхай.
16 Serg_1960
 
12.09.16
16:50
(0) "локальный ключ недоступен: Status=0, EN8SA Локальный, не установлен" - перевожу: 1С:Сервер (x64) не может быть запущен - нет ключа на 64бит. Почему? Может быть потому, что "Ошибся, ещё серверный ключ "H4 M1 ENSR8"(10) - запускай 1С:Сервер (х32).
17 boy-koff
 
12.09.16
17:22
разобрался. всем спасибо!