How to create a new bundle of service and import it as normal user.

Hi,
I have created a service.
Now am able to import and enable the service.
I have placed my xml file under
/var/svc/manifest/site
The service name is
<service
name='site/newservice'
I have imported the service as root user.
<exec_method type='method' name='start' exec='/tmp/new/method/newservice start' timeout_seconds='30' />
This service is not able to execute the operation which I have mentioned above. The following error is thrown in log file.
Error: User 'root' is not the owner of '/tmp/new/method'
So I tried to import the service as normal user, the following error is thrown.
svccfg import /var/svc/manifest/site/newservice.xml
svccfg: Could not create temporary service "TEMP/site/newservice" (permission de nied).
svccfg: Import of /var/svc/manifest/site/newservice.xml failed. Progress:
svccfg: Service "site/newservice": not reached.
svccfg: Instance "newservice": not reached.
Please help me to solve this issue.
I thought instead of placing the service in default location,Why cant we create a new service of bundle and place the service there.
Please help to solve this issue by suggesting some solution or how to create a new bundle of service and import it as normal user.
Regards,
Kalai

kalaiyarasan_P wrote:
Hi,
I have created a service.
Now am able to import and enable the service.
I have placed my xml file under
/var/svc/manifest/site
The service name is
<service
name='site/newservice'
I have imported the service as root user.Okay.
<exec_method type='method' name='start' exec='/tmp/new/method/newservice start' timeout_seconds='30' />
This service is not able to execute the operation which I have mentioned above. The following error is thrown in log file.
Error: User 'root' is not the owner of '/tmp/new/method'By default, services run as the 'root' user. It's complaining that the method isn't also root.
So I tried to import the service as normal user, the following error is thrown.You won't be able to do that easily. The user that does the import is almost always root. But wihin the manifest you could have it run as a different user.
I thought instead of placing the service in default location,Why cant we create a new service of bundle and place the service there.
Please help to solve this issue by suggesting some solution or how to create a new bundle of service and import it as normal user.You don't need to import this as a normal user, do you? You just want it to run as one, right?
Darren

Similar Messages

  • Service Manager 9.21: How to create a new instance of scautolistener and assign a port to it.

    Hi,
    2 instances of scautolistener are already running and i want to create a new instance of scautolistener.
    The sm.cfg file entry of scautolistener instances are:
    sm -scautolistener:12670 -debugscauto -log:..\logs\scauto.log
    sm -scautolistener:12690 -log:..\logs\scsmtp.log
    Please guide me as how to create a new instance of scautolistener.

    first, you cannot create instances of methods. but you can create instances of classes (==objects).
    the algorithm for primes does not work yet (its your work) but i inserted the code to create your object.
    import java.math.*;
    public class IsPrime {
    public boolean isPrime1(int arg){
    for(int e = 2; e < arg; e++){
    int remainder=arg%e;
    if(remainder==0){
    System.out.println("This number is not a prime number");
    break;
    else {
    System.out.println("This number is a prime number");
    break;
    return true;
    public static void main(String[] args){
    System.out.println(args.length);
    if (args.length>1){
    System.out.println("Sorry you can only enter one number");
    else{
    String sNum =args[0];
    int iNum=Integer.parseInt(sNum);
    IsPrime myPrimesObject = new IsPrime(); // here is your object
    if (myPrimesObject.IsPrime1(iNum)==true)
    System.out.println("is a prime");else System.out.println("is not a prime");
    }

  • How to create a new attribute in OID and auto-populate it during sync from AD

    Hi,
          I'm new to OID and we are planning to set up AD to OID sync and we need to create an extra attribute in OID that we do not have currently in AD. We need to concat 4 attributes with "." in between and populate this new attribute.
    If anyone has done something like this, can you please give me the steps involved and/or any examples?
    Thank you

    I think you need to create a custom plugin to create the value of new attribute and populate it, may be post plugin in OID.
    Java Server Plug-in Developer's Reference

  • Hai , How to create 'Define New ' ?

    hai,
    How to create 'Define New ' in Combo box and then Enter the value in the user defined table how to get the value  from the database table and display combo box ?

    Hi.
    I used this example for the matrix column. It's work and open a form for defining new values.
    Your need to add an event to refresh values in combobox.
    Think I help you.
    Best regards
    Sierdna S.
    P.S. How to proceed.
    1) Fill the combobox with valid values:
    Try
      ' Add first value to combobox
      oCombo.ValidValues.Add("", "")
      Dim oRS As SAPbobsCOM.Recordset
      oRS = SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
      Dim sSql As String = "SELECT Code, Name FROM [@" & sLinkedTable & "]"
      oRS.DoQuery(sSql)
      oRS.MoveFirst()
      While oRS.EoF = False
          oCombo.ValidValues.Add(oRS.Fields.Item("Code").Value, oRS.Fields.Item("Name").Value)
          oRS.MoveNext()
      End While
      ' Last value
      oCombo.ValidValues.Add("Define","Define")
      If Not oRS Is Nothing Then
          System.Runtime.InteropServices.Marshal.ReleaseComObject(oRS)
          oRS = Nothing
      End If
      System.GC.Collect() 'Release the handle to the table
    Catch ex As Exception
      ' log exception
    Finally
      oCombo = Nothing
    End Try
    2) In Item event handler
    If pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT _
    And pVal.FormUID = sFormUID _
    And pVal.ItemUID = sMatrixUID _
    And pVal.ColUID = sColUID _
    And pVal.BeforeAction = False _
    And pVal.ItemChanged = True _
    Then
      Try
        Dim oMatrix As SAPbouiCOM.Matrix
        oMatrix = oForm.Items.Item(MatrixID).Specific
        If oMatrix Is Nothing Then Throw New Exception("ERROR: matrix object is nothing"))
        Try
          Dim oCombo As SAPbouiCOM.ComboBox
          Dim sValue As String = ""
          oCombo = oMatrix.Columns.Item(sColUID).Cells.Item(pVal.Row).Specific
          sValue = oCombo.Selected.Value
          If sValue.Equals("Define") Then
            Try
                oCombo.Select(0, SAPbouiCOM.BoSearchKey.psk_Index)
                oForm.Refresh()
            Catch ex As Exception
            ' log exception
            End Try
            SBO_Application.Menus.Item("<menu id to activate>").Activate()
          End If
          BubbleEvent = False
        Catch ex1 As Exception
          ' log exception
        End Try
      Catch ex As Exception
        ' log exception
      End Try
    End If

  • Create a new set of skin and style for OC4J

    hi, I have created a new set of skin and style
    for example,
    just duplicated folders s_oracle10 , sk_oracle10 and rename them as s_oracle10b , sk_oracle10b (in \OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res)
    however, I found that there is no new choice - oracle10b in the dropdownlist for selecting style.
    how to create a new set of skin and style ??

    I have read Oracle® Business Intelligence Suite Enterprise Edition Release Notes Version 10.1.3.4.1 E10404-25
    =====================================================================
    In Chapter 10, the section "About Skins and Styles" contains incomplete
    information. The following information should appear after the section's first
    paragraph:
    Respective Web servers require resource files like styles to be deployed
    appropriately for those applications. For example, when using OC4J as is common
    in Oracle BI deployments, skins, styles and images need to be duplicated in the
    following directories:
    – {OracleBI}\oc4j_bi\j2ee\home\applications\analytics\analytics\res
    – {OracleBI}\web\app\res
    As a rule, customer-specific files like custom styles should live in the
    {OracleBIData} folders so these are not lost during upgrades. In this case, the
    custom style would then be deployed to OC4J as described above and to the
    following directory: {OracleBIData}\web\res
    ===================================================================== copied from the pdf
    we need to copy the new set to two directories.
    however, I found that resources of the new set are from {OracleBI}\oc4j_bi\j2ee\home\applications\analytics\analytics\res
    not from {OracleBI}\web\app\res
    if there is a upgrade or redeployment, will the new set be removed or replaced.
    why isn't load from {OracleBI}\web\app\res?
    how to configure to make it load from {OracleBI}\web\app\res?
    thanks

  • TS2756 How can i create a new usb connection (service)  on my iMac for sharing internet from my iPhone5 ( i seem have to deleted it )

    How can i create a new usb connection (service)  on my iMac for sharing internet from my iPhone5 ( i seem have to deleted it )
    i know its not a problem whit my carrier o data plan or sharing preferences on the ipone because when i use it un my laptop it works perfectly through
    the usb and even works on the Imac through wifi and bluethood tethering but NOT through usb!!.
    the problem is that trying to make it work i deleted the "profile" usb iphone on the network prefereces panel. Now i only have 3 options: ethernet / wifi / bluetooth
    but not the usb iPhone i used to have.
    And when i try to add a new one i dont get a USB option.
    can some one help me please??
    this is how it looks (after the bluetooth PAN i used to have USB iPhone option)

    The question would be more appropriate in the Mac forums as it is not really related to the iPhone.

  • How To Create The New VO in Standered Page?

    Hi Gurus,
    Pl z help me how to create the new Custom VO in slandered page,and how to attach that VO in custom RN in all are slandered page only.
    Regards,
    Srini

    Hi Sara,
    <i>1. Could you please tell me how to create the new webservice in XI?</i>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    <i>2. What tools we have to use to create it.?</i>
    /people/community.user/blog/2006/09/19/xi-webservice-studio--a-plain-jane-soap-tool
    http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
    Altova is also a good option
    <i>3. How to send the SOAP request to XI?</i>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    SAP Note 856597
    An Add-on
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    Regards,
    Prateek

  • How to create a new Oracle OSB project automaticaly with script without IDE

    Hello,
    I want to create automatically an "Oracle service bus project" and an "Oracle service bus configuration project" with scripts (ANT or Maven or ...) without using IDE, without using workshop or Eclipse. I want to create automatically (ANT or Maven) just a skeleton of an OSB project witch i can use after in workshop.
    I want to create 1 "Oracle service bus configuration project" with many "Oracle service bus project" automatically (ANT or Maven or scripts) witch i can use after in workshop. How to create a new Oracle OSB project automaticaly with script without IDE ? How can i do this ?
    I'm using Oracle service bus 10.3.1
    Thank you for your help.

    Thank you for your response,
    I do not want to just create the services (proxy services and business services) but I want to create a template for 40 OSB project with the same scripts ANT/Maven.
    Template="Oracle service bus configuration project" + "Oracle service bus project" + services of 40 OSB projects
    The goal is that I have more than 40 projects to create and just the name of the projects that changes (when I say the name of the project ie the name of the OSB project, the name of proxy services and the name of business services ).
    So I want to give my script (ANT/Maven) the name of 40 OSB project and the script must generate the skeleton of the 40 projects at once time and after generation of skeleton of the 40 project, I will import them in the workshop to add manually mapping and routing and other things that differs from one project to another.
    So i want to generate automatically a skeletons of 40 OSB projects using a script (ANT / Maven) and I give to the script juste the names of the 40 projects.
    I want to create a "Oracle service bus configuration project" and "Oracle service bus project" automatically of 40 OSB projects (ANT or Maven or scripts) witch i can use after in workshop.
    I want to create one 'template' of all 40 projects in the same time, with the same directory structure (Transforlation, Business services, proxy services, WSDL .....) and all 40 project have the same transport, just the names of projects and services witch changes and i can give to the script all names of projects and services and i can give also all WSDL.
    Regards,
    Tarik

  • How to create a new classification at element level

    Hi,
    Can you please help me out in how to create a new element classification and I want to enable DFF at element entry screen only for this classifcation elements.
    Thanks
    Anil Lakkoju

    Hi friend,
    you can create the user on Administration Tool, on Manage ->Security -> Users -> right click and then new user.
    Now, connect to presentation service as administrator. Then, on Settings -> Administration -> Manage Catalog... here you can create new folder and grant access to folder users what you want.
    regards.
    Edited by: Hammett81 on Aug 2, 2010 5:54 PM

  • How to create the new webservice in XI?

    Hi All,
    1. Could you please tell me how to create the new webservice in XI?
    2. What tools we have to use to create it.?
    3. How to send the SOAP request to XI?
    Regards
    Sara

    Hi Sara,
    <i>1. Could you please tell me how to create the new webservice in XI?</i>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    <i>2. What tools we have to use to create it.?</i>
    /people/community.user/blog/2006/09/19/xi-webservice-studio--a-plain-jane-soap-tool
    http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
    Altova is also a good option
    <i>3. How to send the SOAP request to XI?</i>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    SAP Note 856597
    An Add-on
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    Regards,
    Prateek

  • I dropped my macbook and it broke - I bought a new iMac and created a new itunes apple ID, and I forgot what the ID and Password of my broken macbook was - how do i retrieve the lost purchases and music from my forgotten ID?

    I dropped my macbook and it broke - I bought a new iMac and created a new itunes apple ID, and I forgot what the ID and Password of my broken macbook was - how do i retrieve the lost purchases and music from my forgotten ID?
    Regards,

    Well, it's kind of like walking into a bank and saying you forgot your name and address but you want access to your account, still:
    iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html > Get iTunes support via Express Lane > iTunes > iTunes Store

  • How to create a new blog

    Hi people,
    I know that are a stupid question, but here I go. Anayone can help how to create a new blog in Owc Wiki? I can just create new Wiki Pages. There's a blog created when I create a new domain, I would like delete this and create new blogs.
    I'm using URL http://172.20.1.210:8890/owc_wiki/domain/activities.jz to acess my administration. I won't use webcenter custom application to create a new blog, I just want create in Blog tool.
    Thks in advance
    Nelson

    First of all, there's no such a thing as "stupid question". If you have this question we might not have it well documented.
    Wiki Server and Blog Server is the same thing. When you login to owc_wiki, there is a item on the top menu called owc_wiki Blog. Click there and on the left menu you will see:
    Entries
    Blog Home
    Add New Entry
    Click on "Add New Entry" to create a new post.
    Now comes my tips:
    1. There are web services that you can invoke to manipulate the blogs if you don't want to use Oracle's Interface.
    2. If you only want to remove the outerframe you can add "&inline=1" at the end of the url. Try it on your browser.
    Have fun.

  • How to Create a new column from two different result sets

    How to Create a new column from two different result sets, both the result set uses the different date dimensions.

    i got solutions for this is apply filters in column formula it self, based on the requirement.

  • How to create a new connection from SAPGUI to Test drive?

    Hi,
    I have installed Sap Netweaver Test drive on a linux virtual machine (windows host). The installation was successful and I was able to start the instance (application server and the database), yet I don't know how to create a new connection from my SAPGUI client (7.20) to this server. The static IP address of the server is 192.168.1.160.
    I entered the following values for my new connection entry
    Description: SAP Netweaver
    Application server: 192.168.1.160
    Instance number: 01
    System ID: DB2
    SAProuter: /H/192.168.1.160/S/3201/H/
    But it does not work. Any idea about the values needed  for creating a new entry?
    Thanks in advance,
    Dariyoosh

    >
    Dibya R Das wrote:
    > Why are you entering a router string? Can't you reach a box directly from your machine?
    >
    > Doesn't a ping to that host & a "telnet <host/ip address> 3201" work from your machine to the SAP System.
    >
    > Remove the router string you wont need if the above works.
    >
    > - Regards, Dibya
    Hello there,
    Thank you very much for your answer which solved my problem. In fact there was no need of providing router string.
    Kind Regards,
    Dariyoosh

  • How to create a new facebook account in iphoto?

    How to create a new facebook account in iphoto?

    Instructions can be found by selecting iPhoto Help from the Help menu within iPhoto.

Maybe you are looking for

  • New Mini 2010 tells "no cabel connected to ethernetport"

    Hi Folks, two days ago I bought a new Mini 2,4 HDMI (not Server!). I cloned my old 10.6.4 SL Server to that new Mini and tried to connect to my network. Nothing happend - prefs told me "no cable conneced to ethernet port". I checkt everything - cable

  • Patch available for JMS?

    Hi,           I am using a Weblogic Server 8.1 SP4 on my local development environment. The application has a JMS based report module. A report is created by the front-end and stored in a JMS Queue with a persistent FileStore. Once the report is crea

  • Archiving photos- What is the best way?

    I would like to copy my photos from iPhoto to a DVD to create a permanent record that can be accessed many years in the future. I have a few ideas but I'd like to hear what solutions others have found. I bought some Kodak Preservation DVD's, which ar

  • File transfer Problem with open dataset

    I am transfering file in ECC6.0 unicode system to nonsap.In al11 transaction the file has the '#' symbol in the text field.But while downloading to local system to upload other legasy it is taking as Tab.so the file is corrupting.I have tried with fi

  • How can i download Keynote for ios 6.1.3?

    How can you buy or download keynote for ios6.1.3 used on an iphone4. With all the problems with ios7 on earlier iphone models, I have not updated past ios6.1.3. In the App Store I can't download the latest version of Keynote because it only works wit