Apropriate location for configuration files.

What are the issues with placing configuration files in /etc? In particular, with regards to configuration files shared between multiple applications.
Would you rather see these files in /opt/companyname or /usr/local? Why?
Further, does anyone know where I could find any standards documentation on exactly what types of files belong in which directories?
Thanks!

Take a look at the following documentation on docs.sun.com:
-- docs.sun.com -> Solaris 7 -> System Admin Guide I -> Managing File System -> chapter 32.
http://docs.sun.com:80/ab2/coll.47.8/SYSADV1/@Ab2PageView/idmatch(FSFILESYSAPPX-94408)#FSFILESYSAPPX-94408?Ab2Lang=C&Ab2Enc=iso-8859-1
You will find that /etc/opt -> Configuration information for optional packages. Another typical location where such configuration files are kept are /var/opt -> Root of a subtree for varying files associated with software packages.
You can also find alot of specific/additional information for files in /etc directory in 'man' pages (eg. man networks, etc). An example search order of configuration file by application for your reference.
     $HOME---->/var/opt/xyz---->/etc/opt/xyz---->/opt/xyz
(most customizable)---------------------(least customizable)
user specific--------------------------factory default
config-----------------------------------config
chulsoo
DTS

Similar Messages

  • LSO 600 Configuration - Central Storage Location for XSLT Files

    Hi,
    We are implementing LSO 600 with enhancement pack 2 and I am haiving trouble figuring out what do do with the configuration steps
    Enter Address of Central Storage Location for XSLT Files
    and
    Enter Address of Central Storage Location for Templates.
    The config notes indicate that these can be a directory or network path with the format
    servername\filename\.
    As I understand it this is is the address of the file on the Portal Server where  XSLT files and templates be stored. The problem that I am hearing from the basis team is (I am qouting an email from them) "who accesses the share? Is it the server, the client PC or both? We’re running in a linux environment so I don’t have any shares the PC can access."
    Does anybody have any input?
    Thanks,
    Andy

    Hi Andy!
    I am happy that the issue is already clear!
    Beeing busy makes life more interesting )
    May I ask for your private mail, because I had some questions regarding your LSO implementation.
    Mine is:
    [email protected]
    Thx in advance and have a nice day!
    best regards,
    Zsolt
    P.S.: since I am a Moderator for SDN it is my job to keep the rules on the Forum therefore I would like to ask you to close this thread because the question - as you stated - is answered.
    Thank you!

  • Best place for configuration files

    I am creating an application that gets installed into the the [ProgramFiles] directory. The application writes to a config file every time it closes and the user also has the ability to write a config file at any point in time. After the application is installed no configuration files can be written. I am getting the following error:  "LabVIEW:  File permission error. You do not have the correct permissions for the file."
    1. What do I need to do to be able to write config files to the directory where the application is installed?
    2. If I wanted to save the files in some users folder, how can I keep track of this path from the development environment, to the exe and then across different OS's?
    3. Is there a general convention/location for config files that the application needs to write to?
    I know during the build installer phase we can put data in all these different Microsoft folders. But is there a way to get the paths to these folders in my application? (see image below)
    I am running Windows 7 and LabVIEW 8.5.
    Thanks for your help
    -Anthony M.

    Win32 consists of several DLLs. It is not .Net but the original interface in Windows to access operation system functions. It is available on every Windows PC because it implements Windows. The LV VI "File Dialog" is just a wrapper for the Win32 function FileOpenEx Which every program uses to select a file.
    Storing user settings in the registry is outdatet. Modern Visual Studio programs store setting in files with .config extention.
    Settings may be stored in various places depending of their need.
    Settings which apply only to this special PC are stored where the application is installed. These settings are set during setup and won't change afterwards whithout any changes to the PC.
    Settings which are common to different Windows users are stored in the All users\Appdata folder. The path to this folder is in the registry under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Common AppData. Typical data stored there are test setups or serial numbers of external devices.
    Data files which are common to different Windows users are stored in the All users\Data folder. The path to this folder is in the registry under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Common Documents. Typical data may be test result protocolls.
    Settings which are unique to different Windows users are stored in the<username> \Appdata folder. The path to this folder is in the registry under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\AppData. Typical data may be personal number, department number.
    Data files which are unique to different Windows users are stored in the <username>\Data folder. The path to this folder is in the registry under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personal.
    It is normal that the user has full acces to the last for paths and read access to the first path.
    Use the Example Finder to find the registry VI examples.
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • When i double click itunes it doesn't open it just comes up with an error saying " The itunes library.itl file cannot be found or created. The default location for this file is in the 'itunes' folder in the 'music' folder". How can i fix this?

    When i double click itunes it doesn't open it just comes up with an error saying " The itunes library.itl file cannot be found or created. The default location for this file is in the 'itunes' folder in the 'music' folder. How can i fix this problem?

    Anyone can help to advice how to solve this issue ?

  • How can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,-

    how can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,…"

    It sounds like if you open Preferences in Word there will be a place where you can specify where to store autorecover files. Right now it sounds like it's pointing to somewhere that doesn't exist.

  • I cannot update or install updates on itunes. It says that the location for that file does not exist. I cant even uninstall itunes as the same error message comes up.

    I cannot update or install updates on itunes. It says that the location for that file does not exist. I cant even uninstall itunes as the same error message comes up.

    Hi vindog60,
    Thank you for using Apple Support Communities.
    To troubleshoot this issue where you get an installation error with iTunes on your Windows PC, please follow the steps in the article linked to below.
    Issues installing iTunes for Windows - Apple Support
    Cheers,
    Alex H.

  • I just upgraded my mac book to 10.6.8 and downloaded the new version of itunes. When I try to open it and error message appears saying, "The iTunes Library file cannot be found or created. The default location for this file is in the "iTunes" folder.

    I just upgraded my mac book to 10.6.8 and downloaded the new version of itunes. When I try to open it and error message appears saying, "The iTunes Library file cannot be found or created. The default location for this file is in the "iTunes" folder in the "Music" folder."
    I have tried a few things but iTunes closes right after i click okay. Anyone know anything?

    Look in your Home > Music folder.  There should be an iTunes folder there and it should have a number of files and folders including one called library.itl  You want to guide iTunes to that file.  If you don't see that file or folder then in your next post you will have to be very specific as to what you do see or how you have your iTunes set up because that's where it should be according to default settings.

  • I need help every time my iTunes library updates i get this error messege: The iTunes.itl file cannot be found or created. The default location for this file is in the "iTunes" folder in the "Music" folder. but the file should be there.

    Every time I have to upgrade iTunes it gives me this messege:'The default location for this file is in the "iTunes" folder in the "Music" folder.' the file should be there but I don't understand why it does this every time Apple upgrades the Itunes library. Its on the computer somewhere but it only affects this login on my computer (meaning on this Windows Account). Why does my iTunes do this? Then I have to spend hours placing all my libraries back together and all my music back into the library. Which usually takes me a few days to sort all out. What is wrong with my iTunes? The iTunes folder is a folder in my Music folder where I store the iTunes music/files/libraries at on my computer so I can have all of the iTunes files in one place on my computer.

    I have a Windows 7 operating system my computer runs from.

  • Itunes library.itl file cannot be found or created. The default location for this file is in the "iTunes" folder in the "Music" folder

    itunes library.itl file cannot be found or created. The default location for this file is in the "iTunes" folder in the "Music" folder, I keep getting this message everytime I try to install Itunes after having to remove windows 8.1 and go back to windows 8.  I have uninstalled and reinstalled and it keeps telling me the same thing. What do I do?

    Hi Renee31,
    If you are having issues with the library.itl file in iTunes, you may find the following articles helpful:
    iTunes: What are the iTunes library files?
    http://support.apple.com/kb/ht1660
    Apple Support: Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/HT1923
    Regards,
    - Brenden

  • TS1717 iTunes will not open.  I get a message that says, "The iTunes Library.itl file cannot be found or created.  The default location for this file is in the "iTunes" folder in the music folder."  How can I fixt this?

    iTunes will not open.  I get a message that says, "The iTunes Library.itl file cannot be found or created.  The default location for this file is in the "iTunes" folder in the music folder".  How can I fix this?

    Hi pgarard1,
    If you are having issues with launching iTunes after an update, you may want to take a look at the troubleshooting in the following article:
    iTunes for Windows: Doesn't open after upgrading in Windows Vista or Windows 7
    http://support.apple.com/kb/TS2363
    Regards,
    - Brenden

  • The iTunes Library.itl file cannot be found or created. The default location for this file is in the "i Tunes" folder in the "Music" folder. PLEASE HELP!!!

    I have been trying for over 2 weeks now trying to get my iTunes to open up so I can use my iTunes but I have not had any luck since I up graded to the new itunes. I have tried uninstalling (all apple programs) and reinstalling and nothing seems to work. Everytime I try to open my iTunes I receive the following message - The iTunes Library.itl file cannot be found or created. The default location for this file is in the "i Tunes" folder in the "Music" folder. Please help as I'm getting very frustrated and want to throw every apple device in the trash!!!
    FYI: I thought about getting the iPhone but since I"m not having very good luck getting assistance with my iPod/iTunes I think I will rethink my decision.

    Found the solution.

  • I can't open my Itunes keep receiving error message- The iTunes Library.itl file cannot be found or created. The default location for this file is in the "i Tunes" folder in the "Music" folder

    I can't open my Itunes keep receiving error message- The iTunes Library.itl file  cannot be found or created. The default location for this file is in the "i Tunes" folder in the "Music" folder. I have even tried removing and reinstalling iTunes and it still does work because I continue to receive this error message. Please Help!

    Anyone can help to advice how to solve this issue ?

  • I am trying to open iTunes on my Windows 7 PC and am getting the following message...the itunes library can not be found or created.  The default location for this file is in the "iTunes" folder in the "Music" folder.  Any ideas?

    I am trying to open iTunes on my Windows 7 PC and am getting the following message...the itunes library can not be found or created.  The default location for this file is in the "iTunes" folder in the "Music" folder.  Any ideas?

    Let's try this first. Hold down the Shift key while you try to launch iTunes. You should eventually see the following dialog:
    Click "Choose library". Browse to inside the following location (depending on what operating system you're running):
    Operating System
    Default location of iTunes library
    Microsoft Windows XP
    \Documents and Settings\[your username]\My Documents\My Music\iTunes\
    Microsoft Windows Vista
    \Users\[your username]\Music\iTunes\
    Microsoft Windows 7
    \Users\[your username]\My Music\iTunes\
    ... and open the iTunes library you find in there.

  • I keep getting the following message The iTunes library cannot be found or created. The default location for this file is in the iTunes folder in the music folder.

    I keep getting the following message The iTunes library cannot be found or created. The default location for this file is in the iTunes folder in the music folder. All of my playlists have disappeared and I am trying to recover them however I now can't even open iTunes!

    Hi crazymaiden,
    I have two articles for you here that should be able to help you troubleshoot this issue with your ability to launch iTunes:
    Troubleshooting iTunes installation on Mac OS X
    http://support.apple.com/kb/HT2311
    iTunes: How to re-create your iTunes library and playlists
    http://support.apple.com/kb/HT1451
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • TS3494 my iTunes has stopped working on my mac book pro 13" when i try oping it it saysThe iTunes Library file cannot be found or created. The default location for this file is in the "iTunes" folder in the "Music" folder.

    my iTunes has stopped working on my mac book pro 13" when i try oping it it saysThe iTunes Library file cannot be found or created. The default location for this file is in the “iTunes” folder in the “Music” folder. i dont know what to do i need my itunes back

    Hi pgarard1,
    If you are having issues with launching iTunes after an update, you may want to take a look at the troubleshooting in the following article:
    iTunes for Windows: Doesn't open after upgrading in Windows Vista or Windows 7
    http://support.apple.com/kb/TS2363
    Regards,
    - Brenden

Maybe you are looking for

  • Photoshop CS6: Mini Bridge's Reveal in Bridge clears Bridge Filter list

    I have Bridge CS6's Filter List set to reveal jpegs,PSDs,PNGs,and Tiff files,because those are the common file types I open in Photoshop. I even turn on "Keep Filter when browsing",so I do not have to repeat in each folder. Then later I will be in Ph

  • Value in payment terms field not dispalyed in invoice after saving MIRO

    Hi, I Implemented the BADI- MRM_PAYMENT_TERMS to populate GR date as baseline date in invoice, But after saving the invoice when I display the invoice document in MIR4 it not showing the payment terms. It only show the condition ie the discount get i

  • Missing last GL account code in system Trial Balance report

    Hi, Customer is using 2005A PL23. They are using standard Trial Balance report in system to display Trial balance. Example, there is 10 GL account codes display on screen but when print preview, the report only show 9 GL account codes instead of 10.

  • Support for Headstart?/FRM-40735 Error

    Hello, I am a consultant for Oracle, but I am very new to Oracle Applications and Headstart. I have a client with questions on Headstart, however this is outside the area of expertise of my group. I would like to ask 2 questions: 1. It is my understa

  • Activating Objects after Upgrade

    i have done a BW 3.5 to 7.0 Upgrade After upgrade i see that some of the objects are in active. Please let me know whehter there is any program/report to active the objects which was active before