AIX custom package install query


 
Thread Tools Search this Thread
Operating Systems AIX AIX custom package install query
# 1  
Old 07-21-2009
Java 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 correctly. However when I move the same .bff file to another server and try to complete the install it fails with message

/usr/lib/instl/instal[15]: NMApplication1-AIX.Client.rte.pre_i: not found.
instal: Failed while executing the NMApplication1-AIX.Client.rte.pre_i script.

To get this covered I moved the whole directory tree which hosted the .pre_i and other files onto the target server but this does not seem to work.

Any help on this would be great. I also would like to know if I can use the .bff file only for the package deployment or do I need to move the entrie directory tree sibnce documentation on AIX packaging is basically very rudimentatry and not in depth as say an rpm package or .pkg package

Regds,
Jobby
# 2  
Old 07-21-2009
I've never tried this but as a complete guess I would say there is a path problem.
I'd check the path on both systems (echo $PATH) and also look at all the commands and their respective paths in the script.
HTH
# 3  
Old 07-22-2009
Well thats the first thing I checked but the paths correct. Whats more important is that the path is irellevant as the pre/post install would already be a part of the package with the paths defined. I am checking on this further and will updatein case I get to know the solution
# 4  
Old 07-22-2009
Another guess - file permissions?

Also, you could try running mkinstallp in "truss", i.e. truss mkinstallp ... , to see what the underlying OS calls are when it fails.
# 5  
Old 07-22-2009
Nope.. Not file permissions. They are 0755.

Problem is not with the package creation i.e mkinstallp but with the installation process i.e installp command. Sorry if I was not clear enough

I believe when we use the installp command the scripts are written to the /sr/lpp/<packagename folder>. This is not happening and could be the causeSmilie
# 6  
Old 07-23-2009
Are you saying that your package tries to run a script "NMApplication1-AIX.Client.rte.pre_i", but that you are not including this file in the package itself?
# 7  
Old 07-23-2009
No the script NMApplication1-AIX.Client.rte.pre_i is part of the package.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

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... (1 Reply)
Discussion started by: dheitepriem
1 Replies

2. Debian

Query a package

Hi all, On debian , what is the equivalent of rpm -qf and rpm -qi? please find below an example I am looking for. BASH:~/-> rpm -qf /usr/libexec/rtkit-daemon rtkit-0.4-1.fc12.i686 BASH:~/-> rpm -qi rtkit Name : rtkit Relocations: (not relocatable) Version : 0.4 Vendor: Fedora... (2 Replies)
Discussion started by: oliv66
2 Replies

3. UNIX for Dummies Questions & Answers

Make install in custom path

I would like to install a binary from source on a custom path, say /usr/local/myapps. There is no --prefix option in ./configure How can I "make install" at custom path. I tried this. No --prefix root@server # ./configure --help | grep prefix root@server # Make install ... (3 Replies)
Discussion started by: anil510
3 Replies

4. Windows & DOS: Issues & Discussions

how to install custom .bat files in perl

I'm using damke to install perl modules on windows. I have my custom .bat files for the perl script. How to overwrite the .bat files that gets generated by pl2bat with my custom .bat files! Thanks, Hansini (1 Reply)
Discussion started by: hansini
1 Replies

5. UNIX for Dummies Questions & Answers

Query: How to install commercial cert into AIX and use it for FTPS connection

Hi Techies, I wish to check with everyone here something regarding Configuration of FTPS Server in AIX using Commercial Digital Cert instead of Sel Sign Cert. I'm working as system integration designer and I'm currently working on a interface which involves integration btw two systems using... (6 Replies)
Discussion started by: mkmuraly
6 Replies

6. UNIX for Dummies Questions & Answers

Can't install rpm package with --prefix in new path.Error: package is not relocatable

Hello, i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm" in /usr/local/ directory. I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't. I did: 1st try: Didn't work sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies

7. Linux

How install a new package without remove old package?

Dear all, I would like to install a new version of package without remove old version on Centos and vice versa. Please give me advice! thanks much, (2 Replies)
Discussion started by: all4cfa
2 Replies

8. 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

9. 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

10. Solaris

how to install package

Hi How to install package from Freeware for Solaris Specificaly i want to install lsof-4.77-sol10-sparc-local.gz Thanks Amit (2 Replies)
Discussion started by: amitarcade
2 Replies
Login or Register to Ask a Question