PKGADD error


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users PKGADD error
# 1  
Old 05-15-2006
PKGADD error

Hello.. I'm making a pkg file that inserts a few files into an existing directory structure.

I'm having some trouble in that the package will insert the directories I need.. but will fail to put the files I want into those directories.

What I'm getting is this:
Code:
[ verifying class <none> ]
ERROR: attribute verification of </usr/local/jboss-4.0.1sp1/server/default/conf/nVIEW.xml> failed
    pathname does not exist
ERROR: attribute verification of </usr/local/jboss-4.0.1sp1/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/images/nVIEW/CompanyLogo.gif> failed
    pathname does not exist
ERROR: attribute verification of </usr/local/jboss-4.0.1sp1/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/images/nVIEW/ProductLogo.gif> failed
    pathname does not exist
ERROR: attribute verification of </usr/local/jboss-4.0.1sp1/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/images/nVIEW/bell_mobility_logo_large-transparent.gif> failed
    pathname does not exist
ERROR: attribute verification of </usr/local/jboss-4.0.1sp1/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/images/nVIEW/cable_wireless_logo_big-transparent.gif> failed
    pathname does not exist

If you will notice, I can add the /images/nVIEW directories, but the files adamantly insist that I have not found the right home for them.
And yet....
Code:
root@xxx # pwd
/usr/local/jboss-4.0.1sp1
root@xxx# find . -type d
.
./bin
<snip>
./server/default/conf
<snip>
./server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/images
./server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/images/nVIEW
<snip>

This was done AFTER the partial install..

I'm quite confused.
# 2  
Old 05-15-2006
It seems that something is the matter with a install script for the <none> class.

Here it is..
Code:
echo "boing!"
/bin/echo "/^DIRNAME/i\nJAVA_HOME=$JAVADIR\n.\nwq" \
| ex -s $BASEDIR/jboss-4.0.1sp1/bin/run.sh

When I exclude it, the pkgadd runs without error..
Well.. at least I have a starting point now.
# 3  
Old 05-15-2006
Well.. I fixed the problem by changing the script from a class script (i.none) to a post install script (postinstall).

Still don't know "what's the dilly-o".. but it works..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Pkgadd error no packages found in /var

Hello all! So I'm trying to do an install, I'm using a command like pkgadd -d /opt/te_agent_8.1.0_en_solaris_sparc/te_agent.pkg TWEagent And receive the following: pkgadd: ERROR: no packages were found in </var/tmp/dstreAAAAXaq3z> So what gives? Why is it looking in /var/tmp? I'm telling... (5 Replies)
Discussion started by: HannibalRex
5 Replies

2. Solaris

samba error after install with pkgadd

Hello this is samiulla. i face this issue. i installed samba with pkgadd after i install i add paths for that. -bash-3.00# echo $PATH /usr/sbin:/usr/bin:/usr/ccs/bin:/usr/local/samba/sbin:/usr/local/samba/bin/ -bash-3.00# when enter this commad smbd -D i got this error smbd -D... (3 Replies)
Discussion started by: samiulla
3 Replies

3. Solaris

pkgadd changes permissions of /etc

Hi, when I install a package using pkgadd, it correctly installs the binary files with the user name that I want. However it also changes the permissions of /etc/rc2.d. I don't want this to happen. I want to retain original owner of /etc/rc2.d as it is. I could see that before installing,... (1 Reply)
Discussion started by: funwithdolphin
1 Replies

4. Solaris

Pkgadd error

Hi All, Good Mng,Here I am getting one error while adding the top package to one of my Aun server. root@HYDREM01 # pkgadd -d top-3.6.1-sol9-sparc-local The following packages are available: 1 SMCtop top (sparc) 3.6.1 Select package(s) you wish to process (or... (6 Replies)
Discussion started by: lbreddy
6 Replies

5. Solaris

pkgadd woes

Morning all, I am attempting to load a package from a Solaris 8 CDROM. This fails with the error : "pkgadd: ERROR: unable to access pkgmap file </cdrom/ .........../SUNWlibC/pkgmap> No changes were made to the system" Any help would be appreciated Andy (6 Replies)
Discussion started by: AndyD
6 Replies

6. Solaris

pkgadd?

Hi all. Is there an option to #pkgadd to test if package bundle you want to install requires a reboot? #pkgadd -d "package bundle" an option like test or a dry run? Suggestions, anyone? :confused: Reloader (2 Replies)
Discussion started by: Reloader
2 Replies

7. Solaris

WARNING: filename <not present on Read Only file system>+pkgadd error

Hi when trying to install the package initially that i have created on to the target host, i am getting error as below for all the files/directories during pkgadd. WARNING: filename <not present on Read Only file system> ........... ........... and so on. When i do the second attempt to... (1 Reply)
Discussion started by: kiran.zamre
1 Replies

8. Solaris

pkgadd help

I'm trying to install a package and it worked on most of the sun boxes and one of the box is just freezing and not going further. Her is the output. pkgadd -d packagename.dstream Select package(s) you wish to process (or 'all' to process all packages). (default: all) : Processing... (1 Reply)
Discussion started by: mokkan
1 Replies

9. Solaris

pkgadd

is there an option in pkgadd to accept the default option? I want to use pkgadd in a script and do not want to stop at intercative questions. thx. (6 Replies)
Discussion started by: melanie_pfefer
6 Replies

10. UNIX for Dummies Questions & Answers

pkgadd

I am adding gcc 3.3.2 to my unix box what is the best way to do it???? (4 Replies)
Discussion started by: alsande
4 Replies
Login or Register to Ask a Question