Sponsored Content
Operating Systems Solaris IPS custom package user source Post 302971883 by dheitepriem on Tuesday 26th of April 2016 03:19:04 PM
Old 04-26-2016
Oracle IPS custom package user source

Hello guys,

I'm new to this forum and got a question which may be quite uncommon. I created a custom IPS package (using this How to) with some software I have to install frequently to different Solaris 11 zones (MongoDB to be precise).

This software will be installed under "/opt/mongodb" and has to be run by a user called "mongo". So I created a manifest like below and as I wanted to install the package the command told me that "mongo" is an unknown user.

As a little background. My zones are using LDAP to authenticate users and function users (like "mongo"). So "mongo" is not present in the "/etc/passwd" file. I don't know why but the "pkg install"-command wants to have the user to be present in "/etc/passwd" and fails because of this LDAP thing.

I'm able to create directories and files and "chown" them to "mongo" but apparently unable to install packages which refer to the user directly.

Manifest (excerpt)
Code:
dir  path=opt/mongodb owner=mongo group=mongo mode=0755
dir  path=opt/mongodb/bin owner=mongo group=mongo mode=0755
file opt/mongodb/bin/mongod \     path=opt/mongodb/bin/mongod owner=mongo \     group=mongo mode=0644

Thanks and regards,
Daniel Heitepriem

Last edited by dheitepriem; 05-27-2016 at 05:29 AM.. Reason: Added link to How to
 

9 More Discussions You Might Find Interesting

1. HP-UX

Output of Custom package scripts to terminal

Hi, I am doing some testing with creation of depots on HP-UX systems (11.11). Want to display some echo statements based on the processing during checkinstall, pre & postinstall scripts on the terminal. The echo statements are getting directed to /var/adm/sw/swagent.log I want to display... (7 Replies)
Discussion started by: vibhor_agarwali
7 Replies

2. AIX

AIX custom package install query

I have created a .bff package for an app to tbe installed on AIX servers across regions. I am pretty new to the AIX mode of packaging using mkinstallp but I have been able to get the same done. I installed the same on the server in which i created the package and the application was deployed... (9 Replies)
Discussion started by: jobbyjoseph
9 Replies

3. Red Hat

Custom package installation using kickstart

Hi there, I've started playing around with Linux a few days back, as part of my intenship. I was wondering if there is anyway I can install custom packages (non RPM packages...say like Oracle) as a part of Kickstart. My machines are running RHEL 4. Thanks a lot :) (1 Reply)
Discussion started by: iman453
1 Replies

4. UNIX Desktop Questions & Answers

Solaris 10 - Compiling package from source? Different from pkgadd?

Hey everyone, I'm using a SPARC based Solaris 10 5/09 machine and want to install PHP support to it. I already have mysql and apache( came with OS, just started the proccess) installed, so this is the last thing before I can get to learning development :) However, there's something I'm not sure... (1 Reply)
Discussion started by: agummad
1 Replies

5. AIX

How to compile a package in AIX when we download its source?

How to compile a package surce in AIX when we download its source? (2 Replies)
Discussion started by: johnveslin
2 Replies

6. Solaris

Solaris 11 - custom publisher IPS

Hi all, we are starting to build some basic infrastructure for using solaris 11. I have built an IPS of solaris packages from the DVD images. what I want to do next is create a repository of custom packages. so in that case I want a publisher of "my-company-name" and not solaris. can... (1 Reply)
Discussion started by: robsonde
1 Replies

7. Solaris

Package creation problems with Source files

Hi, I am creating "LSOF" solaris package from solaris "source" files. I have compiled the source file and with that i created prototype file also. Then using pkgmk command i can make the package . In the package i am having (pkginfo pkgmap reloc) two file and one directory respectively But... (3 Replies)
Discussion started by: Kathirvel G
3 Replies

8. Solaris

Displaying Solaris IPS package dependency graphs

What do people think of this tool? pkgtree - for displaying a visual representation of Solaris IPS package dependencies. (0 Replies)
Discussion started by: cambridge
0 Replies

9. AIX

XVFB Source package for AIX

Please send me link for XVFB Source package for AIX (3 Replies)
Discussion started by: prathap.g
3 Replies
MONGOFILES(1)							  Mongo Database						     MONGOFILES(1)

NAME
mongofiles - a simple GridFS interface SYNOPSIS
mongofiles [OPTIONS] DESCRIPTION
mongofiles is used to list, get, and insert files in the database. EXAMPLES
mongofiles list lists files in test.fs.files mongofiles put README.txt inserts the file README.txt into the collection test.fs.files mongofiles get photo.jpg retrieves photo.jpg from test.fs.files and saves it locally OPTIONS
--help show usage information -h, --host HOST mongo host to which to connect -d, --db DB database to use (default DB=test) -c, --collection COLLECTION (default COLLECTION=fs.files) collection to use --command [list|search|put|get] execute a command --file FILE filename for get or put list list all files. takes an optional filename. the file has to start with the filename search search all files for something that contains the string COPYRIGHT
Copyright 2007-2009 10gen SEE ALSO
For more information, please refer to the MongoDB wiki, available at http://www.mongodb.org. AUTHOR
Kristina Chodorow 10gen June 2009 MONGOFILES(1)
All times are GMT -4. The time now is 03:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy