Can the PATH for services be modified?

From the man page:
"PATH is set to “/usr/sbin:/usr/bin” by default. By default, all other environment variables supplied to svc.startd are those inherited from init(1M)."
http://docs.sun.com/app/docs/doc/816-5166/svc.startd-1m?a=view
My service depends on an application that is not on the default path fro SMF. Can I add a new directory to this path when I'm doing a package add of my service? I have a workaround, but it would be nice to do it automatically when the service is installed.
Thanks,
Bill

Your service needs that path or your method does?
Is there any reason you can't just expand the PATH at the top of your start method script?
I assume there's a way to modify the PATH within the service as well with svccfg, but I've never looked into that.
Darren

Similar Messages

  • Can you Please Tell Me the Process for service/operation  provide by one plant to other plant.

    Can you Please Tell Me the Process for service/operation  provide by one plant to other plant.
    In My Company No Of Plants Like 1000,2000,3000,4000
    Plant 1000 Provide the service/operation  like (welding ,cutting, painting ) to other plants (eg 2000,3000,4000)
    We want to give the profit for plant 1000 and book the service or operation charge in plant 2000 or 3000.
    We don’t want  to use material code in this process.
    Can you help me it is possible or not through SAP PP.

    Krishnendu,
                   Actually in my company we have one plant 1000 that plant provide the service like (CUTTING (SHAFT),WELDING,MACHINING,PAINTING)
    actually plant already made one material xyz and supply 2000 plant .
    we  can use STO in this scenario and set special procurement key  80.
    But my requirement is after some time plant 1000 provide few operation in xyz material that material already supply to 2000 plant.
    in this case we dont  use to produce any material.

  • HT203167 the path for several of my songs that i can't locate is wrong because the path uses forward slashes instead of back slashes.  Can I change this?

    several of my songs in itunes gives me the can't locate ! sign.  in going to the info for each of those songs i noticed the path to locate the file was in proper format except for the slash marks which were / instead of \ .  how can i change the slash makrs in the paths for those songs?

    thanks for the info.  if itunes is applying the wrong path i.e. - forward slashes in path instead of backward slash how will i ever access those songs I've purchased.  it won't let me download them again because it thinks they are on my computer? 

  • How can i change the path for uploadin videos??

    i m using javax.servlet.servletcontext for setting the path for storin upload videos...
    by using the getrealpath able to store videos in web-inf file...
    how can i change the location...

    this is the part of code in which i want to change my storage location:
    ** * The base path corresponds to the base directory of the
    * application context's WEB-INF directory. This means that
    * this directory is NOT visible to the end user.
    public static String getBasePath(javax.servlet.ServletContext context)
    { return context.getRealPath("/") + "WEB-INF" + directorySep;}
    /** * The temporary directory used to store files while they are
    * being uploaded. */
    public static String getTempPath(javax.servlet.ServletContext context)
    { return getBasePath(context); }
    /** * Gets the upload directory - used to indicate the local file
    * system storage area.
    can u tell me now how to change the context value???
    and how to change the storage loction??

  • Please guide the path in Service Market Place to find CR2008 latest Service Pack and CR2013 latest Service pack with Visual Studio integration

    Please guide the path in Service Market Place to find CR2008 latest Service Pack and CR2013 latest Service pack with Visual Studio integration for CR2013; I have S userID  and log in; but could not locate the place to download

    Hi,
    I believe you are right!, The support portal is Showing Crystal Report for VS not the other one; 
    Our S User ID is out dated might be; It was created when CR 2008 was purchased. But we bought CR2011 license recently  as mentioned below.
    Below is the product purchased by our organization
    CR 2011 INTL UPGR WIN NUL LICENSE - 1 to 2 Licenses, mix and match.
    Does this version have maintenance rights?
    I tried registering at Service MarketPlace hoping to get new S-User ID; Am i right path to get the new S- USerID ?
    During registering it asked for "Customer or Installation Number (1) *" ; Where can i get this info or number; Kindly suggest

  • Fixing the path for images in RoboHelp 8

    I am rather new to Robohelp, so please forgive me if this has been addressed in another dicussion...I have been searching and cannot seem to find what I am looking to describe.
    I am working in Robohelp 8, and  creating a new help system by importing topics from a previous help system. The problem I am running into and I cannot see how to fix is that there are a couple of topics that have images where instead of the path for the image directed to a folder called "Images" in the main directory, it dumps the graphic into the project manager window when I import the topic. I tried viewing topics that don't have their images on the main project manager window, and comparing against the one that does, and I cannot see the difference. I have tried renaming the images and placing in the correct folders, and then inserting the images into the topics, but it still tries to look at the main folder and still dumps the image into the project manager.
    Any help you can provide please share.

    I am going to say yes (because it sounds like what I am trying to get at, but not sure).....I have tried deleting the images, and recreating, and then re-inserting into the topic, and they still go to the root of project. As I am going along, I am finding more and more.....so far there are 20 images that are doing this.  However, I also just did what you mentioned and dragged it and put it under the topic. But I am still confused as to why I would need to do this for some topics and for other topics the images don't appear at all (meaning they don't show under topics or root of project), they are just linked through the folder on the main directory. Does this image help more?
    Left of picture above: The folder directory has a folder called Images, and this is where all of the images were stored and are stored for the new project.
    Middle of picture above: The topic Horizontal Command had an image in it "image20.gif", and it was at the root directory and as you suggested I moved to the topic. Also see the topic circled Expand and Collapse Folders topic has the image circled at the left within it.
    What I am trying to understand is why would the graphic from the Horizontal command topic dump into the root of the project, while the image from the Expand and Collapse Folders topic not show on the root project or even within the topic listed. (Which is what I prefer for all topics).

  • Can the path to the iTunes Music folder be locked?

    I'm trying to simplify the results of my own occasional user error.
    Can the path to the iTunes Music folder be locked?
    I have my library stored on an external drive that I keep turned off when not in use. If I accidentally start iTunes with that drive off, it recreates the original iTunes Music folder and directs itself there.
    Can that behavior be stopped? It seems like there should be a way for iTunes to send a pop up or something, rather than this automated over ride to manual settings.

    Yeah, I know I don't have an end of the world scenario here.
    But just remounting the drive doesn't do it. I have to go back into iTunes and reset the folder location. Then wait several minutes as it all reorganizes itself.
    I know just leaving the drive on is the easiest answer. It causes too much of a domestic dispute about all the blinking boxes I have running all the time. I have convinced her that the green one on the AEBS has to be on if she wants internet.

  • Once PO is released against a PR, how can the PR be deleted or modified by

    Once PO is released against a PR, how can the PR be deleted or modified by the Requisitioner. Any / deletion of a PR,
    Note: Our Req No one Can PR delete if it have converted in po,

    hI,
    Note 521174 - ME52N: Deletion of a PReq despite PO
    Check this note is applicable or not at your end
    Summary
    Reason and Prerequisites
    You create a purchase requisition and a purchase order is generated from it. Afterwards, you change the purchase requisition by setting the deletion indicator. The system generates a warning message that a purchase order already exists for this purchase requisition. However, the deletion of such a purchase requisition should be prevented. Therefore, the system should generate the error message 06152.
    Other terms
    ME52, 06152.
    Reason and Prerequisites
    The warning message does not suffice.
    Solution
    After you implemented the correction, you can set set the message via Customizing. If you customize the message as an error message, a deletion is no longer possible. However, the message is not output as an error message in order to block a further processing of the purchase order. This only appears as an information message.
    Regards
    Kailas Ugale

  • MR 11 not updating the invoicing for services

    Hi All,
    I have a scenario where the client uses MR11 for clearing the invoices.
    He does not use MIRO for invoicing.
    During our observation it is found that using MR11 does not update the invoices for services but the invoices for the material received is updated while checking the reports like ME2N.
    I have checked the Service based IV and the GR based IV in the  invoice tab of PO.
    Can you please advice me as to why this is happening only in case of services.
    Thanks and Regards
    Sridhar.

    Hi Charlie,
    Thank you very much for the response.
    Actually I am looking for the IR reduction and not the GR reduction.
    The note you have mentioned applies for GR reduction.
    Also we are in the ECC 6 environment.
    Please update me with further information.
    Regards
    Sridhar

  • How to set up the path for report in 10gAS?

    I have a report which can be run in one folder A but not in the other folder B, both folder are included in the forms_path in default.env of AS. How can I set up the path for the report in AS so that the report server knows to look for the report in the folder B?

    Hello,
    If you don't specify the "full path name" for your reports, the file will be searched in the directories listed in REPORTS_PATH or in the directory specified in the property sourceDir
    For more details :
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/envvars/envvar_reports_path.htm
    and
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_conf.htm
    Regards

  • How to grant "Write ServicePrincipalName" and "Write validated SPN" rights to the directory for service account

    Hi ,
    How can I grant "Write ServicePrincipalName” and “Write validated SPN” rights to the directory for service account or computers?
    Shailendra
    Shailendra Dev

    Right-Click on the OU and select Properties
    Select the "Security" tab
    Select the "Advanced" tab
     Select the "Add" button
     Enter the security principal name
     security principal
      Ok
     Properties tab
     Apply to:
     Descendant User objects
     Permissions:
     Read servicePrincipalName - Allow
     Write servicePrincipalName - Allow
      Ok
     Ok
    Ok
    Paul Bergson
    MVP - Directory Services
    MCITP: Enterprise Administrator
    MCTS, MCT, MCSE, MCSA, Security, BS CSci
    2012, 2008, Vista, 2003, 2000 (Early Achiever), NT4
    Twitter @pbbergs http://blogs.dirteam.com/blogs/paulbergson
    Please no e-mails, any questions should be posted in the NewsGroup.
    This posting is provided AS IS with no warranties, and confers no rights.

  • TS3988 i have updated my phone with the new software and it keeps saying that verification has failed on my icloud and that the certificate for service is invalid.  following this now my phone does not recognise any of my iphone contacts and so i cannot f

    i have updated my phone with the new 6 IOS. Since doing this my icloud account keeps saying that verification failed and the certificate for service is invalid.  Folowin this problem my phone also does not recognise my other iphone contacts so i cannot facetime or send imessage

    You don't need an app. You need couple's counseling. I believe what you want to do may also be illegal in many jurisdictions.

  • HT201210 Can the OS for an iPod Touch be updated beyond 3.1.3?  iTunes tells me that this is the latest software but many apps won't run on this older os.

    Can the OS for an iPod Touch be updated beyond 3.1.3?  iTunes tells me that this is the latest software but many apps won't run on this older os.

    If you have a 1G (first generation) iPod touch then it can only go to iOS 3.1.3. To identify yours:
    Identifying iPod models
    If you need a higher iOS, you will have to get a newer model iPod.

  • How to update the path for a field which is of type textarea

    Hi,
    1.I have multiple record block,i need to update the textarea field in this multi entry block.I have put a for loop to achieve the same,however i'm able to update the path for text field,checkbox,selecttype,but am unable to update the path for field which is of textarea.Please suggest.
    2. Also i have another problem which occurs randomly.although i have record for a button click event in  my property file,button click is not happening during the playback.am getting error asVariable "obj.libraryname.web_button_BTN_1" not found for string:
    please not i have entry for the above button in my property file.
    Please suggest.

    Say i have 5 rows then
    for(int i=1;i<=5;i++){
    String Newpath = updatepath(eval("{{obj.libraryname.web_input_text_fieldname}}"),i)
    web.text_area(Newpath).setText("Text to be set")
    Below function is used to update my path
    public String updatepath(String path,int i) throws exception {
    String FPath = "";
    if(i<2) {
    FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
    } else {
    FPath = path.substring(0, path.indexOf("'", path.lastIndexOf("@id=")+5))+(i-1)+path.substring(path.indexOf("'", path.lastIndexOf("@id=")+5));
    return Fpath
    anyother way to update path and set the fields in mutiple block is appreciable
    thanks
    Suresh

  • Can the requirement for a passcode be turned off?

    Can the requirement for a passcode be turned off for a new Ipod touch?

    Yes, settings, passcode - passcode off.  If you do that, the device is less secure, and you will have to re-enter your password for Find my iPhone, and find my friends each time you open the apps.

Maybe you are looking for

  • Extending JButton class , getting black text , Why??

    Hi, I'm extending the JButton class like this.... public class JIconButton extends JButton { public JIconButton(String label, String file, Icon rollovericon) { super(label,new ImageIcon(file)); etc... and when i construct a button from my new superco

  • Which statement is better?

    I have a statement which i could write in two formats as below, and I wonder which one is better? first : select type, (case type when '01' then 'looking'                         when '02' then 'for'                         when '03' then 'help' end

  • N80 backlight and new firmware - please advise

    Hi, I just got an N80 and I'm really happy with it except for the backlight which seems to come on randomly. I put this down to the light sensor and tried adjusting to maximum as suggested by Nokia FAQ, but that didn't help and I assumed it was norma

  • Apple Mac OS X Mountain Lion

    When the Apple Mac OS X Mountain Lion update comes, do I have to buy it or it will be a free updateWhen the Apple Mac OS X Mountain Lion update comes, do I have to buy it or it will be a free update? If I have to buy it how much will it be?

  • Translate ipaddr to ipnumber

    I have a table that contains info from an IDS device. I need to get hostname info from the table (country of origin) and it appears the most efficient way is to use a third party table that contains this info using some type of join. In order to use