Questions tagged [servicemanager]

The service control manager (SCM) is started at system boot. It is a remote procedure call (RPC) server, so that service configuration and service control programs can manipulate services on remote machines.

The service functions provide an interface for the following tasks performed by the SCM:

  • Maintaining the database of installed services.
  • Starting services and driver services either upon system startup or upon demand.
  • Enumerating installed services and driver services.
  • Maintaining status information for running services and driver services.
  • Transmitting control requests to running services.
  • Locking and unlocking the service database.
75 questions
0
votes
0 answers

Pass argument in shellscript after creating exe with pyinstaller

Below is my shellscript: & 'C:\files\service_file.exe' install #Start the windows service & 'C:\file\service_file.exe' start --env "D:\full_project\device\config\windows.env" I used pyinstaller to create service_file.exe and 'start' arg is…
Titan
  • 244
  • 1
  • 4
  • 18
0
votes
0 answers

How do I host a discord bot with NSSM correctly?

I'm trying to use NSSM to host my discord bot written in Node.js on my Windows Server. When starting it, I get this error which I couldn't figure out: throw err; ^ Error: Cannot find module 'C:\discord' at Function.Module._resolveFilename…
Dezaku
  • 1
  • 2
0
votes
1 answer

How to troubleshoot issues related to requests and responses from ws loaded in SM

I am working on an integration between Microfocus Service Manager and Remedy. In order to troubleshoot issues related to requests and responses from SM to Remedy is needed to print or send that information to a log. I have tried using a debug -RTM:3…
Moth W.
  • 3
  • 1
0
votes
1 answer

How to get License info for Service Manager using Javascript

I need to get my SM license components using a scriptLibrary instead of using the GUI. Is there a table where I can perform a search or another way to get that information?. Any advise would be helpful.
0
votes
1 answer

How to block Service Manager Windows clients from logging in?

We want to require 100% of all non admin users to use the web client only. We need a way to detect unauthorized use of the Windows client and kill the session. Service Manager Version: 9.33 patch 7 What is the best practice to block Windows client…
0
votes
0 answers

Characters not allowed with powershell in the Cireson smlets Get-SCSMEnumeration

I am trying to import a enum list into this Service Manager Cireson Asset tool. Import-Module smlets $mpName = "CompanyName.ListValues.HWA.CatalogModels" $enum = Get-SCSMEnumeration -Name Cireson.AssetManagement.CatalogItemModelEnum$ $types =…
user10189172
0
votes
0 answers

setting basic authentication c# to call a soap web service

As suggested by Julian i accept this is not much different but still face difficulty may be because of the nature of the web service the client has exposed. anyway this is my latest code using System; using System.Collections.Generic; using…
seetharaman
  • 27
  • 1
  • 6
0
votes
0 answers

how can i pass two interaction ticket number in HPSM rest url

This is my Rest URL: http://serviceIP:servicePort/SM/9/rest/interactions/TicketNumer1 It will return all information of TicketNumer1. How can i add TicketNumer2 into same URL and fetch both tickets information at same time? According to HPSM…
im_mangesh
  • 177
  • 1
  • 1
  • 13
0
votes
1 answer

Zend Framework 3 share doctrine models between modules of the same project

I am new into Zend Framework 3 programming. Previously we create a project having all database table's mapping included in one particulare module. Now, we need to create another module into the same project. So we would like to put outside from the…
Vicking
  • 553
  • 6
  • 15
0
votes
1 answer

android how to import libraries not in public sdk

In android studio how I can import libraries not in public SDK such as android.os.ServiceManager ? there exist any command that I can write in gradle files to fix this problem?
ofskyMohsen
  • 1,121
  • 1
  • 12
  • 26
0
votes
1 answer

Factory not being loaded in ZF2 - Missing argument 1

I have a factory within Module/src/Module/Service/Factory/CourseServiceFactory.php I have defined this factory in module.config.php as follows: 'service_manager' => array( 'factories' => array( 'CourseServiceFactory' =>…
0
votes
2 answers

Fatal error: Uncaught exception in Zend ServiceManager

I'm having this error: ( ! ) Fatal error: Uncaught exception 'Zend\ServiceManager\Exception\ServiceNotFoundException' with message 'Zend\ServiceManager\ServiceManager::get was unable to fetch or create an instance for…
David Dutra
  • 391
  • 7
  • 21
0
votes
2 answers

How can I use getServiceLocator() to get an adapter in a Model?

I am learning ZF2. Can I use getServiceLocator() to get a adapter in a Model? /config/autoload/global.php return array( 'db' => array( 'driver' => 'Pdo', 'dsn' => 'mysql:dbname=zf2tutorial;host=localhost', …
0
votes
1 answer

Connection to SQL Server using Windows Authentication from an application started as service

MSSQL server is running with Windows and SQL Server Authentication mode on a server called 'HOST1'. The application which needs to connect with the SQL Server is started as a service on a server called 'HOST2'. Since the service manager starts…
0
votes
2 answers

How to get the configuration for database adapters

I'm using more than one database. So I have this kind of configuration in my global.php file: return [ 'db' => [ ... ], 'adapters' => [ 'adapter1' => [ ... ] ], 'adapter2' => [ …