10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I just started working on a script. After my research, i found a command which can help me:
AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2.
So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies
2. Red Hat
I had a doubt if any services need to be restarted if port no in /etc/services in an RHEL setup is changed. For eg, the port no of 443 for SSL may need to be changed.
I hope my query is clear whether any services need to be restarted if port no in /etc/services is changed.
Please revert with... (10 Replies)
Discussion started by: RHCE
10 Replies
3. AIX
Hi
In my AIX 5.3 box I already have the below entry:
#cat /etc/services | grep -i 3602
infiniswitchcl 3602/tcp # InfiniSwitch Mgr Client
infiniswitchcl 3602/udp # InfiniSwitch Mgr Client
Now I got an requirement to add the below entry in the same port... (6 Replies)
Discussion started by: samsungsamsung
6 Replies
4. Solaris
Need help from the unix admins out there. I am trying to telnet from a windoze machine to a sun machine. It won't let me connect. I looked at etc/services and I found the port that telnet was listening on. But, how can I tell if its actually up and available? is there a unix command I can issue?... (15 Replies)
Discussion started by: Harleyrci
15 Replies
5. UNIX for Dummies Questions & Answers
According to security manual only DNS, files, or LDAP should be allowed in nsswitch file however it seems like i have many other services configured in nsswitch files.
below are the content from nsswitch file.
What services can be removed considering the system stability.
passwd: files... (6 Replies)
Discussion started by: pinga123
6 Replies
6. UNIX and Linux Applications
Hi all,
I am fairly new to Unix/Linux, have been working on installattion for Tivoli Directory Services.The installation has a conflict with ports which is a known issue with the Directory Service. As per IBM the properties files can be changed to manually, for the Webadmin(Websphere) protal... (1 Reply)
Discussion started by: abdulhaindade
1 Replies
7. SuSE
Hello,
I recently updated a test system from Suse 8 to 9.3. Now our runlevel services program doesn't work, but works fine on our other 9.3 boxes.
We have a file in /etc/init.d/rc3.d called S99fooprog(not actual name ofcourse).
It just has a command to start a program daemon up. Anyways... (3 Replies)
Discussion started by: benefactr
3 Replies
8. HP-UX
Hi,
We are running HP-UX 11.11 in trusted mode. We have a audit scheduled next week and I have been given the resp. to check all the network servies and other user maintenance things.
Is there any HP document which states which services can be easily disabled and how. Like ftp, finger etc.... (1 Reply)
Discussion started by: isingh786
1 Replies
9. UNIX for Dummies Questions & Answers
I have an application service running on an AIX server
Client application is able to connect to the server machine.
Strange thing is
when i do "netstat -a | grep servicename" I get no output
but
when i do "ps -ef | grep service name", I am able to see the service running
I... (1 Reply)
Discussion started by: bryan
1 Replies
10. UNIX for Advanced & Expert Users
Hi,
Is it possible to remove/disconnect a socket connection having
a status of LISTEN, from command prompt..??
Thanks in Advance.. (1 Reply)
Discussion started by: shibz
1 Replies
xpcservice.plist(5) BSD File Formats Manual xpcservice.plist(5)
NAME
xpcservice.plist -- XPC Service configuration keys and values
DESCRIPTION
This document describes the keys-value pairs which configure an XPC Service. An XPC Service is a process which implements the server-side of
an XPC connection. The service program is contained inside a Mac OS X bundle. The bundle contains an Info.plist. The XPC Service configu-
ration settings are specified by keys and values defined in a dictionary included within the Info.plist.
OVERVIEW
An application has a namespace which maps a service name to a running instance of the service program. The namespace is created dynamically
and is unique to each application. The namespace is populated with the set of services embedded in the application bundle and embedded in
the frameworks used by the application.
System frameworks may have embedded XPC Services. Typically, a developer would not connect to this service directly. Instead, the developer
would call an API function in the framework and that would contact the service. However, the name of XPC Service must be in the applica-
tion's namespace so that the framework code can "see" and connect to the service.
XPC Services are "launched-on-demand". They are only started when an application creates a connection to the service and sends a message to
it. The service process can be terminated when it is inactive and has been idle for a a period of time. The service process can be started
again upon receipt of a new message or connection request. XPC Services should be state-less so that they can come and go as needed.
The results of a connection request to an XPC Service from two different applications depends upon the type of the service. The service type
controls the policy used to create a new instance of the service. For example, a new connection request from two different applications to
an Application-type service in a framework will result in a new instance of the service being created for each application. However, if two
applications request the same User-type service, then only one instance of the service will be created for each user.
Services embedded in an application bundle will only be visible to the containing application and will be, by definition, Applicaton-type
services. A subsequent connection request from an application to a service will result in a new connection to an existing service.
CF Bundle Keys
These top-level Info.plist keys are required to be defined in the Info.plist file:
CFBundleIdentifier <string>
This key defines the name of the service; clients use this name to connect to the service.
CFBundlePackageType "XPC!"
This key identifies the bundle as being an XPC Service.
XPCService <dictionary>
This key defines a dictionary which contains the settings to configure the XPC Service.
XPCService Dictionary Keys
The XPC Service may be configured by setting these keys in the XPCService dictionary:
ServiceType <string> (default: Application)
The type of the XPC Service specifies how the service is instantiated. The values are:
o Application
Each application will have a unique instance of this service.
o User
There is one instance of the service process created for each user.
o System
There is one instance of the service process for the whole system. System XPC Services are restricted to reside in system frameworks and
must be owned by root.
RunLoopType <string> (default: dispatch_main)
The RunLoop type specifies which style of runloop will be started once xpc_main has finished initializing. The values are:
o dispatch_main
xpc_main will call dispatch_main().
o NSRunLoop
xpc_main will call [[NSRunLoop currentRunLoop] run].
JoinExistingSession <bool> (default: False)
By default XPC Services are placed into their own unique audit session. If this key is true, then the service is placed into the session of
the application requesting a connection to the service.
EnvironmentVariables <dictionary> (default: none)
A dictionary containing environment variables (represented as key-value pairs) which are set in the environment of the service process.
SEE ALSO
plist(5)
Darwin February 8, 2011 Darwin