cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
prasannamalode
Flexera beginner

Not able to start License server using install_systemd.sh

Hi 

We are getting below after installing License server. Any help will be appreciated.

 

Command Output: 

root@PE3:~/License-Server-2017.02.0/flexnetls-x64_linux-2017.02.0/server# ./install-systemd.sh

Created symlink from /etc/systemd/system/multi-user.target.wants/flexnetls-IPICO.service to /etc/systemd/system/flexnetls-IPICO.service.

Installed.

===

root@PE3:~/License-Server-2017.02.0/flexnetls-x64_linux-2017.02.0/server# systemctl status flexnetls-IPICO.service

● flexnetls-IPICO.service - FlexnetLS Local License Server for IPICO.

   Loaded: loaded (/etc/systemd/system/flexnetls-IPICO.service; enabled)

  Drop-In: /etc/systemd/system/flexnetls-IPICO.service.d

           └─flexnetls.conf

   Active: activating (auto-restart) (Result: exit-code) since Thu 2019-10-03 05:13:19 EDT; 551ms ago

  Process: 20471 ExecStop=/usr/bin/java $DEFINES -jar flexnetls.jar --service-shutdown --logging-threshold=DEBUG (code=exited, status=0/SUCCESS)

Main PID: 20456 (code=exited, status=203/EXEC)

Oct 03 05:13:19 PE3 systemd[1]: Unit flexnetls-IPICO.service entered failed state.

==

root@PE3:~/License-Server-2017.02.0/flexnetls-x64_linux-2017.02.0/enterprise# ./flexnetlsadmin.sh -server http://127.0.0.1:7070/api/1.0/instances/~ -status

 

ERROR: Connection to server failed or refused

 

Please specify a valid server URL or make sure server is up and running at http://127.0.0.1:7070/

 

Usage:

 

    flexnetlsadmin -help

    [-server server-url]

    [-authorize <adminUser> <adminPasswd> [-users]]

    [-authorize <adminUser> <adminPasswd> [-users [-create <username> <password> [<roles>]]]]

    [-authorize <adminUser> <adminPasswd> [-users [-edit <username> <newpassword> [<newroles>]]]]

    [-authorize <adminUser> <adminPasswd> [-users [-delete <username>]]]

    [-authorize <username> <password> [<AnyOfTheOtherOptionsListedBelow>]]

    [-status [ -suspend | -resume ] ]

    [-activate -id <activation-id> [-count <value>]...]

    [-activate -id <activation-id> [-count <value>]...-o <filename>]

    [-activate -load <filename>]

    [-licenses [-verbose] ]

    [-features]

    [-config -set <config-property>=<config-value>...]

    [-config -reset <config-property>...]

    [-config -filter

     <none|license-policy|sync|security|log|general|capability> [-o <file>]]

    [-config -filter failover]

    [-config -load <file>]

    [-reservations -o <file>] [-reservations -group <group-id> -o <file>]

    [-reservations -genjson <file>]

    [-reservations -load <file>]

    [-reservations -delete -group <group-id>]

    [-reservations -delete -group <group-id> -reservation <reservation-id>]

    [-binding] [-version]

 

 

Use -help option to get full option descriptions.

 

 

 

0 Kudos
2 Replies
Flexera tphamda
Flexera

Re: Not able to start License server using install_systemd.sh

Did you make sure to start the service after installing it? Try running the following command:

systemctl start flexnetls-PRODUCER_NAME
0 Kudos
dragontattoo
Flexera beginner

Re: Not able to start License server using install_systemd.sh

I faced the same issue and i tried others way to succeed and they are not showing the right path.
0 Kudos