To disable a service for jumpstart/create zone

To disable a service once a system is up a running, "svcadm disable" does the job well.
What would the suggested way of disabling a service before the system is up an running, in order to guarantee a service never runs.
Clarification of this point would be from a finish script when a system is being built using a Jumpstart system (which might traditionally use something like rm /a/etc/rc3.d/S55thing), or when creating a zone (which might use rm /zoneroot/zonename/root/etc/rc3.d/S55thing), either of these not running in the true context of the end system.

I wanted to elaborate a little on Tobin's comments.
Most of the Solaris services come disabled by default, but many of them are also re-enabled by our default profile, generic_open.xml.
Brian, you're on the right track, though -- changing the manifest isn't the right way to disable a service. Manifests we deliver aren't editable -- they'll get overwritten, not preserved on upgrade. You also shouldn't modify the profiles that we ship, as they're also overwritten on upgrade.
So how do you do the disabling, when you don't have a running repository to modify?
The best way is to provide a site-specific profile. You can create your own /var/svc/profile/site.xml which will be applied to the system after the system-supplied profiles (during svc:/system/manifest-import). There you can describe services as enabled or disabled.
Just create /a/var/svc/profile/site.xml during your jumpstart finish script. See the other .xml files in /var/svc/profile for examples of the format.
You can also test your profile on a running system by using "svccfg apply".

Similar Messages

  • Services for Object - Create external document (url) 132 characters limit

    Hello,
    I have this requirement:
    Maintenance people would like to relate a document on our portal on a work order to be able to print it with the work order.
    My suggestion was to use Services for Object in the Order -> Create external document (url).
    But the adress field cannot contain more than 132 characters.
    I have URL longer than 132 chars:
    eg: http://server.domain:port/irj/go/km/docs/documents/AAI/Gestion%20documentaire/Public/Entretien/Instructions%20de%20travail/EU-IT-01-02.pdf
    What do you suggest me?
    Thanks,
    François

    Thank you Pete but we are release 700 and this note applies to release 620 and older. I will try to find another note or another way.
    In the meantime we use the short-ID of SAP Portal Documents which are long to retrieve but always under 132 char.
    François

  • Services for Object (Create , Change, Delete)

    Hi All,
    Is there any sample program where we can create (Change and delete) a note in the services for object for sales order.
    We have requitement where we need to develop a Z program which should have the functionality of changing or creating or deleting the Note from the services for object in sales order. the input parameter will be sales order.
    Thanks.
    Chindam.

    I don't have any sample code
    Please check how this fm called
        CALL FUNCTION 'BDS_CALL_NAVIGATOR'
           EXPORTING
                classname      = 'BUS2037'    " Business object for sales order
                classtype      = 'BO'
                OBJKEY         = L_OBJKEY  " Sales order Number
           TABLES
                EXCLUDING      = i_excluding
           EXCEPTIONS
                INTERNAL_ERROR = 1
                OTHERS         = 2

  • How to disable the Services for Object in IW32?

    Hi Experts,
    May i know how to deactivate the create and delete attachment option if the status of the order in IW32 is already TECO? Please help

    I have found my own answer.  If your user type is setup as 'Service', you will not be have the "Services for Object" icon on IQS23.   If you need the icon to perform the that service, you must change the user type to Dialog from Logon Data.

  • Enterprise service for BP create

    Hi
    I want to find an enterprise service in CRM 7.0 for create BP
    pls let me know
    thanks
    mike

    Hi,
    Are you looking for a web service to create BP ? If yes then this is how you do it,
    Go to transaction SOAMANAGER
    In the web interface select Application and Senario communication tab, then select Service Administration
    In the web service administration page you can enter the search pattern as businesspartner* and search. I saw some 27 web services for BP.
    You can refer this Wiki to create a web service,
    http://wiki.sdn.sap.com/wiki/display/CRM/CreatingWebServiceinSAP+CRM
    Thanks & Regards,
    Arun

  • Lion Server DNS service not working for locally created zones. Caching working fine.

    OS Lion Server DNS service not working for local zones. Was fine under Snow leopard server but Lion server upgrade has severely broken my DNS and web sites. Zones look fine under Server Admin but keep getting "query failed (SERVFAIL) for xxxx at /SourceCache/bind9/bind9-42/bind9/bin/named/query.c:3921" in the logs. BTW - Server Admin cant seem to see the log file either.
    Surely someone actually tested that DNS still worked on Lion?

    I upgraded from Snow Leopard Server to Lion Server on day 01.  I hit the same issue where, after the upgrade, my Lion Server stopped serving names for my private local domain.
    I finally took a few minutes to figure out what was wrong.  After turning on debug logging and looking through the logs, I found my particular issue, now resolved.
    The issue I had was, when the domain initially was setup when I installed Snow Leopard Server, for some reason it created a zone just for the server (in my case, something like zone "s-01.mydomain.priv"), and a separate zone for all the other machines (zone "mydomain.priv", containing all the private IPs for my local domain).  I never messed with it because it worked, but generally I would have put all of them in the same zone.
    My zone "mydomain.priv" had a nameserver and mail exchanger entry for my server, s-01.mydomain.priv.  I could see this in the Server Admin app on the DNS bubble, Zones tab, mydomain.priv selected, and the General Info panel.  This was fine in Snow Leopard.  This was failing the zone load in the updated bind for Lion Server, though.  The issue was that the "mydomain.priv" zone was referencing the s-01.mydomain.priv server, which was not defined in the "mydomain.priv" zone but rather in the "s-01.mydomain.priv" zone.
    My fix:
    1. In Server Admin, add the server to the zone "mydomain.priv".  I put an A record (Add Machine) in the "mydomain.priv" zone for my server named s-01.mydomain.priv.
    2. shut down DNS on the OS X Lion Server (hit the Stop DNS button on Server Admin).
    3. edit /etc/named.conf by hand, removing the specialized zones that contianed just the server.  In this case, it would be the section titled 'zone "s-01.mydomain.priv"' and the section titled 'zone "3.10.1.10.in-addr.arpa"'.  Your in-addr.arpa zone name will change based on whatever your server IP address was.  My internal one happened to have s-01.mydomain.priv mapped to 10.1.10.3.
    4. Once the specialized zones for just the server were removed, I started the DNS up again.  Instead of serving four zones as it had in OS X Snow Leopard Server, it now servers two zones.  And, now, it is resolving my local machines for the mydomain.priv zone.
    YMMV.  I did note that it wasn't totally necessary to do step 3, but I never really understood the need for the specialized domain, and keeping it around would have a copy of data that would just confuse things.
    Hope that helps.  That's been the only hiccup I've noticed updating to OS X Lion Server thus far.

  • Disable rating service for anonymous user

    Hi,
    I'm trying to set permissions for anonymous users so they couldn't do anything else except displaying the documents in KM I want to disable their access to other services allowed for other users (e.g.. Subscription, Feedback, Discussion, Rating etc.).
    What I made so far: I've set permissions and service permissions to the Folders, created role with added Authentificated Users group and I added this role to property Roles with visibility in System administration/System configuration/Knowledge management/Content management/User interface/Commands/UI commands. This way, I set command permissions for every command I thought the anonymous user could see.
    Almost everything worked fine, i.e. anonymous user has disabled almost every unnecessary option, but he can still see Rating option in the context menu next to the file/folder. I set the permission to Rating UI command, but it didn't work.
    Can anyone suggest what else could be done so the anonymous user won't be able to rate documents?

    Thank you for your answer, but I know this note and I've done everything what's in it.
    I have functional anonymous login and anonymous user can only display documents, search them and RATE them. But I can't figure out how to disable the rating service just for anonymous user, not other users.
    That note won't help me with that.
    Marek

  • Creating a windows Service for Weblogic 12c Domain hosting Apex 2.2 listener

    Hi Guys,
    Does anyone have experience of Weblogic 12c under windows?
    I have some difficulties to create a windows service for a domain.
    Here is the script to create the service:
    echo off
    SETLOCAL
    set DOMAIN_NAME=PMU
    set USERDOMAIN_HOME=C:\Oracle\Middleware\user_projects\domains\PMU
    set SERVER_NAME=LICORNE2012
    set WL_HOME=C:\Oracle\Middleware\wlserver_12.1
    set PRODUCTION_MODE=true
    set JAVA_OPTIONS=-Dweblogic.Name=LICORNE2012
    set WLS_USER=weblogic
    set WLS_PW=password
    set ADMIN_URL=http://LICORNE2012:7001
    set MEM_ARGS=-Xms256m –Xmx256m
    call "C:\Oracle\Middleware\wlserver_12.1\server\bin\installSvc.cmd"
    ENDLOCAL
    The service is created and when I start the service, it start then stop few second after.
    Here is the error I am getting.
    [Tue Jun 25 23:36:01 2013] [I] [initLog] initializing logger
    [Tue Jun 25 23:36:01 2013] [E] [initLog] No 'ROTATION_TYPE' header found. 'TIME' based rotation will be used by default.
    [Tue Jun 25 23:36:01 2013] [E] [initLog] No 'TIME_START_DATE' header found or value is invalid. Rotation will take place every 24 hours beginning today at 23:59:59
    [Tue Jun 25 23:36:01 2013] [E] [initLog] No 'TIME_INTERVAL_MINS' header found. Using the default value of 24 hours.
    [Tue Jun 25 23:36:01 2013] [I] [initLog] TIME based log rotation is ON
    [Tue Jun 25 23:36:01 2013] [I] [trigger] First rotation due in 1438 secs
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] console allocation successful. THREAD_DUMP redirection enabled
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] About to execute CreateThread()
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszCmdLine = -client -Xms32m -Xmx200m -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+UseSpinning -Dweblogic.Name=LICORNE2012 -Xverify:none -Djava.endorsed.dirs=C:\Oracle\MIDDLE~1\JDK160~1/jre/lib/endorsed;C:\Oracle\MIDDLE~1\WLSERV~1.1/endorsed -classpath "C:\Oracle\MIDDLE~1\patch_wls1211\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_oepe101\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_12.1.1.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;" -Dweblogic.Name=LICORNE2012 -Dweblogic.management.username=weblogic -Dweblogic.management.server="http://LICORNE2012:7001" -Dweblogic.ProductionModeEnabled= -Djava.security.policy="C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic.policy" weblogic.Server
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszJavaHome = C:\Oracle\MIDDLE~1\JDK160~1
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszExecDir = C:\Oracle\Middleware\user_projects\domains\PMU
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszOldPath = C:\app\oracle\product\11.2.0.3\jko\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszNewPath = C:\Oracle\MIDDLE~1\WLSERV~1.1\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\native\win\32\oci920_8;C:\app\oracle\product\11.2.0.3\jko\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszDelay = 0
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszStopClass = []
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszLog = [c:\temp\web.log]
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] Thread created successfully
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] Reporting SCM of SERVICE_START_PENDING with delay=0
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszHost = []
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszPort = []
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] Reporting SCM of SERVICE_RUNNING
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] waiting for multiple events
    [Tue Jun 25 23:36:01 2013] [I] [StartJVM] Parsing JVM Arguments
    [Tue Jun 25 23:36:01 2013] [I] [StartJVM] Initializing JVM
    [Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Loading class - weblogic.Server
    [Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Locating method "public static void main([]String)" in main class
    [Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Building arguments for main class
    [Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Invoking main class
    <25 juin 2013 23 h 36 CEST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <25 juin 2013 23 h 36 CEST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <25 juin 2013 23 h 36 CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 20.4-b02 from Sun Microsystems Inc..>
    <25 juin 2013 23 h 36 CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for 13340309 Thu Feb 16 18:30:21 IST 2012
    WebLogic Server Temporary Patch for 13019800 Mon Jan 16 16:53:54 IST 2012
    WebLogic Server Temporary Patch for BUG13391585 Thu Feb 02 10:18:36 IST 2012
    WebLogic Server Temporary Patch for 13516712 Mon Jan 30 15:09:33 IST 2012
    WebLogic Server Temporary Patch for BUG13641115 Tue Jan 31 11:19:13 IST 2012
    WebLogic Server Temporary Patch for BUG13603813 Wed Feb 15 19:34:13 IST 2012
    WebLogic Server Temporary Patch for 13424251 Mon Jan 30 14:32:34 IST 2012
    WebLogic Server Temporary Patch for 13361720 Mon Jan 30 15:24:05 IST 2012
    WebLogic Server Temporary Patch for BUG13421471 Wed Feb 01 11:24:18 IST 2012
    WebLogic Server Temporary Patch for BUG13657792 Thu Feb 23 12:57:33 IST 2012
    WebLogic Server 12.1.1.0  Wed Dec 7 08:40:57 PST 2011 1445491 >
    <25 juin 2013 23 h 36 CEST> <Info> <Management> <BEA-141223> <The server name LICORNE2012 specified with -Dweblogic.Name does not exist. The configuration includes the following servers {AdminServer}.>
    <25 juin 2013 23 h 36 CEST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
    There are 1 nested errors:
    weblogic.management.ManagementException: [Management:141223]The server name LICORNE2012 specified with -Dweblogic.Name does not exist. The configuration includes the following servers {AdminServer}.
        at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(RuntimeAccessImpl.java:149)
        at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:41)
        at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
        at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
        at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:883)
        at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:570)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
        at weblogic.Server.main(Server.java:74)
    >
    <25 juin 2013 23 h 36 CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>
    <25 juin 2013 23 h 36 CEST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>
    <25 juin 2013 23 h 36 CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
    [Tue Jun 25 23:36:11 2013] [I] [ExitHandler] Fire (-1)
    [Tue Jun 25 23:36:11 2013] [I] [ServiceStart] done waiting for multiple events. Wait=0
    [Tue Jun 25 23:36:11 2013] [I] [ServiceStart] Informing SCM about SERVICE_STOP
    Thanks for your help
    jko

    - not sure about your script, but obviously it doesn't detect the name of your managed server LICORNE2012 since there seems to be an admin server only in that domain.
    - alternatively you might try the approach posted by the AMIS guys
    Weblogic Admin and Managed servers as a Windows service
    - btw: having your domain under user_projects is not best practice (but not the problem here).
    good luck!

  • Create service for new note

    Has anyone made a service where you can highlight some text and create a new note with the selected text?

    My comments/questions inline wdey>>>
    fcalias name ESX7 vsan 1
        member pwwn 20:00:00:25:b5:b0:00:ff
    wdey>>> I assume, that this is your new server's vhba (created in the SP) ? correct ? I also assume you have 2 separate fabrics, a and b, and therefore also 2 vhba's
    fcalias name PCVNX_A5 vsan 1
    member pwwn 50:06:01:65:3e:a0:53:19
    fcalias name PCVNX_B5 vsan 1
    member pwwn 50:06:01:6d:3e:a0:53:19
        zone name PCVNX_A5_ESX7 vsan 1
        member fcalias PCVNX_A5
        member fcalias ESX7
    zone name PCVNX_B5_ESX7 vsan 1
        member fcalias PCVNX_B5
        member fcalias ESX7
    wdey>>> about zones are new single initator - single target zones ? correct ?
    zoneset name PC-VSAN1-ZONE1 vsan 1
        member PCVNX_A5_ESX7
        member PCVNX_B5_ESX7
    zoneset activate name PC--VSAN1-ZONE1 vsan 1
    My main concern here is when i activate the zoneset will it drop traffic? This is a live production network, i CAN'T affort to drop traffic at all. Should i request a maintenance window? And don't have a lab to test it!
    wdey>>> No problem, this is non disruptive for the existing zones, can be done any time !
    2. Now i want this host to boot from SAN...
    fcalias name LUNESX1 vsan 1
    member pwwn 20:00:00:25:b5:A0:00:8F >>>> vHBA-A.... Host see the stoare on vHBA-B
    wdey>>> I don't understand this; the above zones 1) should be ok. e.g. zoning of your vhba (initiator) to the controller of the VNX (target); what you have to setup is the bootpolicy, where you specify the vhba over which the boot request is sent, plus the VNX controller pwwn. Then your storage admin has to do lun masking/mapping, based on your vhba's pwwn (=initiator)

  • Sun Convergence for user with disabled calendar service

    I have Communication Suite 7 installed with the "Sun Convergence" web interface.
    I create a test user with a disabled calendar service (service package platinum).
    The user test logged in in Sun Convergence web interface and I'm surprised,
    that the calendar for him is available.
    How can I disable the calendar view in Sun Convergence for user with disabled calendar service?
    Thank you.

    petrahu wrote:
    I'm getting the expected result with a service package for mail and calendar,
    e.g. mercury, and setting the status of calendar service to inactive or disabled.The behaviour you are seeing is both "expected" (i.e. as per the current Convergence design) and "unexpected" (i.e. doesn't make sense from a DA service provisioning perspective). It is a real "can-o-worms".
    The problem stems back to the "local.autoprovision" functionality provided at the Calendar Server end (enabled by default):
    http://docs.sun.com/app/docs/doc/819-4654/acajh?l=En&a=view
    "The first time a user logs in, the user's LDAP entry in updated to add calendar service, and a default calendar is created. The user entry must already exist in the LDAP directory. If it does not, an error is returned."
    So even if the calendar service has not been granted at the Delegated Administrator end, the calendar server will "helpfully" add the required objectclasses/attributes when a client (such as Convergence) attempts to login as that user.
    This means Convergence cannot automatically assume a user is not able to access the Calendar service based on the users current objectclass/attribute settings.
    This leads to an existing bug for Convergence:
    Bug#6871400 - "Mail only user is able to access the calendar service"
    I've also created a new Change Request for Calendar Server:
    RFE#6898717 - "local.autoprovision should be disabled by default"
    Please raise this issue with Sun support (log a support request) if you believe the current behaviour is confusing/needs changing (i.e. fix the bug/RFE above).
    Regards,
    Shane.

  • Problem with user services (creating a service for mpdas)

    Hi, I'm using mpd and using a user service to start it.
    However, I'm trying to create a service for mpdas (a mpd client for last.fm) and getting some errors:
    currently, my mpdas.service is as following:
    [Unit]
    Description=AudoScrobbler client for MPD
    After=mpd.service
    [Service]
    ExecStart=/usr/bin/mpdas
    [Install]
    WantedBy=default.target
    Which giving me the following errors:
    (14:49:55) [ERROR] You are not root. Not changing user ..
    (14:49:55) [INFO] Connected to MPD.
    (14:49:56) [INFO] Last.fm handshake successful. SessionID: ...
    terminate called after throwing an instance of 'std::ios_base::failure'
      what():  basic_filebuf::underflow error reading the file
    Aborted
    Which are the same errors I get if I run just "mpdas" instead of running it with sudo.
    If I use it as a root service (instead of a user service) it fails on startup, but works fine when I restart the server.
    So, I'm assuming:
    1) mpdas needs root permission
    2) if used as a root service, it fails at startup cause the mpd service (enabled as a user service) hasn't started yet
    3) if used as a user service, it fails cause it needs root permission
    What's the 'correct' way to solve this? (I believe mpdas should be a user service, cause it runs with a config that is just for my user).
    Is there a way to make a user service run with root privileges?
    I couldn't figure out the best way to configure it.
    Last edited by alv-r- (2014-11-29 18:37:56)

    TheSaint wrote:Why should it fails with sudo?
    It works only with sudo. It was failing as a system service because it needs mpd, which I configured as an user service. Then when systemd starts the system services (when booting) there's not mpd instance running and it fails.
    TheSaint wrote:Doesn't it works with fakeroot ?
    As a noob, I don't know exactly how fakeroot works, I'll take a better look at it, but running it with fakeroot takes rid of the errors I was getting when not running as sudo.
    The problem I have now is that it still fails on startup, but there isn't any helpful (or unhelpful) message. It just shows the PID and says it failed.
    If I run
    systemctl --user start mpdas
    it works well though. Any ideas of why this happens?
    My current unit file looks like this:
    [Unit]
    Description=AudoScrobbler client for MPD
    After=mpd.service
    Requires=mpd.service
    [Service]
    ExecStart=/usr/bin/fakeroot /usr/bin/mpdas
    [Install]
    WantedBy=default.target
    Raynman wrote:Why does it need root privileges? Maybe you just need to configure it properly to run under your normal user?
    Seeing the options in the man page and the config options for the config file, I don't see any that could do the trick.
    I'll send a message to the developer with the error I'm getting (when not running as sudo).
    Last edited by alv-r- (2014-11-29 18:36:59)

  • How to create web service for a Java class in SAP NetWeaver Studio

    hi all,
    i am using SAP Netweaver Developer Studio.have created a normal java project and i want to create web service for one of the classes in this project. i used the  Web Service Creation Wizard to create a web service for this class. but it says there's no methods available for VI. all my methods in this class are public, what should i do?

    Hi,
    I guess there are other ways. But this is an easy way, if you find the right wizards.
    Besides this it is good practise to define interface methods so that session bean implement these interface methods, and thus seperate the interface from the implementation.
    In this approach you will need 3 projects:
    An enterprise application project (will contain EJB Module)
    An EJB Module project (will contain session bean)
    A Java project (contains code that implements the session bean methods)
    In my previous post I suggested to use a J2EE web mudule project. This was a mistake, it should be EJB module.
    But it should be possible to do it in another way. It is up to you.
    Good luck, Roelof

  • Error when creating Service for transaction in SICF.

    Hi,
    I created a Transaction, and for this transaction transaction I am trying to create a service for this transaction using SICF transaction.
    but after creagting service when I am doing test service I am gettging error follwoing message - can any one please let me know how to solve this issue.
    The following error text was processed in the system DP2 : Communication failure
    The error occurred on the application server dp2dca0u_DP2_01 and in the work process 0 .
    The termination type was: IMC_CANCEL_TX
    The ABAP call stack was:
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_HTTP_EXT_ITS===============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    Thanks.
    Rajesh.

    Hi,
    First you need to publish your service which you would get from the dropdown fro utilities->setting->its->publish.
    Also check in transaction SICF whether your serivce is actiavted- else activate the same. you can find your serivice under the following path
    default_host/sap/bc/gui/sap/its/
    ITS Debugger
    http://help.sap.com/saphelp_47x200/helpdata/en/5f/1fbd2f4aee11d189740000e8322d00/frameset.htm
    Debugging Flow Logic Applications
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/7033b4ae5d11d3806500c04f99fbf0/frameset.htm
    ~rfcDebugging
    http://help.sap.com/saphelp_47x200/helpdata/en/5f/1fbbb14aee11d189740000e8322d00/frameset.htm
    Debugging WebRFC Applications
    http://help.sap.com/saphelp_47x200/helpdata/en/2b/d9211d4b8a11d1894c0000e8323c4f/frameset.htm
    Hope that helps,
    Regards,
    Gopal
    Edited by: Gopal on Oct 30, 2008 3:23 PM

  • I am unable to use services for objects  while creating a PO

    Hi All,
    I am unable to use services for objects  while creating a PO ie in me21n / Me22n .
    Our client wants to attach some doucument along with the PO, we want to use services for object for this. I use this services for objects in admin level , but unable to use this at user level. 
    System gives the following message
    No service available
    Message no. SGOS_MSG002
    Regards
    Gsg

    Hi,
    Refer the following OSS notes 552127, 598073
    For getting Object for services icon in ME21N and ME51N refer OSS note 913251

  • Service entry sheet create for contracts with unplanned services

    Hi,
    I am creating SES using BAPI_ENTRYSHEET_CREATE. I have a scenario in which i need to create SES based on the PO no, PO Item , Quantity, Headertext, Contract No, Contract Item, Contract_Item_Line. While creating manual SES using ML81N we use Contract button to provide contract no, item and service(service with master, without master). When i am creating SES it is creating SES but the service is getting posted as unplanned not contract checkbox. In ML81N screen there are four checkboxes for any service line. 1)Plannes 2) Unplanned 3)Contract 4) Dele. Indicator
    In my case it should flag the contract button but when there is an unplanned service for any contract no, it is flagging the Unplanned checkbox not contract checkbox.
    Please suggest
    Thanks
    Randhir

    you can get the PackNo details of entry sheet from ESSR and of PO from EKPO. from the packno find the subpack no in ESLL. put the subpack no again in ESLL as pack number and you get the services for entry sheet and PO. you may try a logic to link both

Maybe you are looking for

  • Next date in sales order, how to change it? if change it does it triggres

    Quick and simple question... what can change a Sales Order Next Date (field VBAK-CMNGV)?? it got changed for one of my Sales Orders according to the changes log via VA02, but no idea how... as I can not see the field via VA03. Appreciate any help in

  • HT4847 Viewing camera roll on iCloud

    How do I view my camera roll on iCloud so I can delete part, but not all of it?

  • ITunes wont sync with my iPhone anymore

    I'm not sure what happened, but iTunes won't sync with my iPhone 4 anymore at all. I changed my DNS server settings on my Mac and iPhone (because of stupid Comcast) and now I can't sync using wifi or usb. I reset all my settings to how it was before

  • Safari unwanted popups "Back, reload page, open in dashboard, etc..How to turn off?

    Using Safari 8.0 and OS X Yosemite,  repeated pop ups while scrolling with magic trackpad, - "Back, Reload Page, Open in Dashboard, etc.". and scrolling stopped. I have to hit esc to resume scrolling. How can I turn this off?

  • FLASHBACK syntax error in RMAN

    what is wrong here RMAN> FLASHBACK DATABASE TO TIMESTAMP TO_TIMESTAMP('2010-07-30 16:00:00', 'YYYY-MM-DD HH24:MI:SS') RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ====