System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

swpackage error with "file -t"

SOLVED
Go to solution
EricStar
Occasional Advisor

swpackage error with "file -t"

To whom it may concern.

I was building package with *.psf file, but I encounter issue:

The command I use is:
/usr/local/bin/sudo /usr/sbin/swpackage -v -s ./fresco.psf -d /lhome/eric/fresco/2009-07-12/hp/1131/debug/depot/fresco/debug \
-x write_remote_files=true \
-x compress_files=true \
-x reinstall_files=true \
-x create_target_acls=false

And the error I see is:
ERROR: Cannot access the source file
"/etc/fsc/type/static/fsconfigdump": No such file or directory
(2)

I later checked the fresco.psf, it seems this issue comes out when checking this line:
file -t s /etc/fsc/type/static/fsconfigdump /usr/lib/fresco/diag.d/fsconfigdump

I did some trials, it seems that if I remove or rename file "/usr/lib/fresco/diag.d/fsconfigdump", there will not be ERROR for fsconfigdump (of course ERROR will goes to other file beginning with "file -t").

I am not quite familiar with *.psf file, can you please help me with this? Based on our previous experience, it should not matters if the symlink file exist or not. I am now using a new HP-UX machine, and meet this issue without know why. Is there any workaround for this?

Thanks very much!
9 REPLIES
Dennis Handly
Acclaimed Contributor

Re: swpackage error with "file -t"

I had no problems on 11.23 with your "file -t s" entry. Neither existed.

I then pointed to an existing destination (second file) and still had no problems.
EricStar
Occasional Advisor

Re: swpackage error with "file -t"

I am using HP 11.11 PA-risc (9000/800), is it possible you try with that?
Dennis Handly
Acclaimed Contributor

Re: swpackage error with "file -t"

>I am using HP 11.11 PA-RISC, is it possible you try with that?

Still no problems. But all I have is your one file entry.
EricStar
Occasional Advisor

Re: swpackage error with "file -t"

Thanks, here is the software list I have on my HP 11.11, I am not sure whether I need to update any patch to fix that issue. That issue occurs when swpackage command is doing syntax checking for psf file. So I guess I may need to update the patch Bundle which contains "swpackage" command, do you have that or any advices?

$ /usr/sbin/swlist
# Initializing...
# Contacting target "rp3440-2"...
#
# Target: rp3440-2:/
#

#
# Bundle(s):
#

B3394BA B.11.11.02 HP-UX Developer's Toolkit for 11.11
B3907DB B.11.11.99.07 HP-UX 11.11 Fortran 90 Compiler and associated products (S700)
B3909DB B.11.11.99.07 HP-UX 11.11 Fortran 90 Compiler and associated products (S800)
B6848BA 1.4.gm.46.9 Ximian GNOME 1.4 GTK+ Libraries for HP-UX
B7697BA C.03.00 HP PRM Software Libraries
B8465BA A.02.00.07 HP WBEM Services for HP-UX
B9007AA B.11.11.20 HP C/aC++ Developer's Bundle
B9073BA B.11.11.07.01.00.00 HP-UX iCOD (Instant Capacity)
B9788AA 1.3.1.16.00 Java2 1.3 SDK for HP-UX
B9789AA 1.3.1.16.00 Java2 1.3 RTE for HP-UX
BUNDLE B.2009.06.02 Patch Bundle
BUNDLE11i B.11.11.0306.1 Required Patch Bundle for HP-UX 11i, June 2003
Base-VXVM B.03.50.5 Base VERITAS Volume Manager Bundle 3.5 for HP-UX
CDE-English B.11.11.0412 English CDE Environment
FDDI-00 B.11.11.02 PCI FDDI;Supptd HW=A3739A/A3739B;SW=J3626AA
FEATURE11-11 B.11.11.0209.5 Feature Enablement Patches for HP-UX 11i, Sept 2002
FibrChanl-00 B.11.11.12 PCI/HSC FibreChannel;Supptd HW=A6684A,A6685A,A5158A,A6795A
FibrChanl-01 B.11.11.06 PCI-X FibreChannel;Supptd HW=A6826A,A9782A,A9784A,AB465A
GigEther-00 B.11.11.19 PCI/HSC GigEther;Supptd HW=A4926A/A4929A/A4924A/A4925A;SW=J1642AA
GigEther-01 B.11.11.20 PCI/PCI-X GigEther;Supptd HW=A6794A/A6825A/A6847A/A9782A/A9784A/A7109A/AB465A
HP-ACC-Link B.11.11.18 HP aCC_link Bundle
HP-WDB-DEBUGGER B.11.11.20 HP DEBUGGER Bundle
HPUX11i-OE-MC B.11.11.0509 HP-UX Mission Critical Operating Environment Component
HPUXBase64 B.11.11 HP-UX 64-bit Base OS
HPUXBaseAux B.11.11.0509 HP-UX Base OS Auxiliary
HWEnable11i B.11.11.0509.430 Hardware Enablement Patches for HP-UX 11i v1, September 2005
IEther-00 B.11.11.09 PCI/PCI-X IEther;Supptd HW=A7011A/A7012A/AB352A/AB290A/AB545A
ISEEPlatform A.03.95.021 ISEE Platform
J4269AA B.04.00.02 LDAP-UX Integration
Java15JDK 1.5.0.01.01 Java 1.5 JDK for HP-UX
Java15JDKadd 1.5.0.01.01 Java 1.5 JDK -AA addon for HP-UX
Java15JRE 1.5.0.01.01 Java 1.5 JRE for HP-UX
Java15JREadd 1.5.0.01.01 Java 1.5 JRE -AA addon for HP-UX
MOZILLA 1.7.8.00.00 Mozilla 1.78 for HP-UX
MOZILLAsrc 1.7.8.00.00 Mozilla 1.78 Source distribution
NPar B.11.11.01.04.01.01 nPartition Provider - HP-UX
NParCmds A.01.02 Enhanced NPartition Commands
OnlineDiag B.11.11.16.09 HPUX 11.11 Support Tools Bundle, Sep 2005
OpenSSL A.00.09.07e.012 Secure Network Communications Protocol
ParMgr B.11.11.02.00.05.03 Partition Manager - HP-UX
RAID-00 B.11.11.01 PCI RAID; Supptd HW=A5856A
RAID-01 B.11.11.05 RAID SA; Supptd HW=A7143A/A9890A/A9891A
SysMgmtWeb A.2.2.0.4 HP-UX Web Based System Management User Interfaces
T1455AA 1.3.1.16.00 Java2 1.3 Mozilla Plugin for HP-UX
T1456AA 1.4.2.09.02 Java2 1.4 SDK for HP-UX
T1456AAaddon 1.4.2.09.02 Java2 1.4 SDK -AA addon for HP-UX
T1457AA 1.4.2.09.02 Java2 1.4 RTE for HP-UX
T1457AAaddon 1.4.2.09.02 Java2 1.4 RTE -AA addon for HP-UX
T1458AA 1.4.2.09.02 Java2 1.4 Netscape Plugin for HP-UX
T1471AA A.04.00.002 HP-UX Secure Shell
T2743AA A.01.01.01 HP Global Workload Manager Agent
hpuxiexpress1 A.04.00-010 HP-UX Internet Express
hpuxwsApache A.2.0.54.01 HP-UX Apache-based Web Server
hpuxwsTomcat A.5.5.9.01 HP-UX Tomcat-based Servlet Engine
hpuxwsWebmin A.1.070.04 HP-UX Webmin-based Admin
hpuxwsXml A.2.00 HP-UX XML Web Server Tools
perl D.5.8.3.B Perl Programming Language
scsiU320-00 B.11.11.02 PCI-X SCSI U320; Supptd HW=A7173A/AB290A
vparprovider B.11.11.01.01 vPar Provider - HP-UX
#
# Product(s) not contained in a Bundle:
#

PHSS_30966 1.0 ld(1) and linker tools cumulative patch
EricStar
Occasional Advisor

Re: swpackage error with "file -t"

The issue is like this, in *.psf file, suppose we have a line like
file -t s fileA fileB

if fileB exists (regardless whether it is a symbolic file or in correct grammer), then when running swpackage, it will report fileA can not be accessed. If we remove fileB, or rename it to something else, there will be no such an issue.

Does it ever occur in HP system bug list? Is there any way (Patch update, specific configuration) to get it fixed?

Thanks!
Dennis Handly
Acclaimed Contributor
Solution

Re: swpackage error with "file -t"

>I may need to update the patch Bundle which contains "swpackage" command

The recommended SD patch is PHCO_35587 and the latest is PHCO_38226. You may have one of them in "BUNDLE B.2009.06.02 Patch Bundle".
EricStar
Occasional Advisor

Re: swpackage error with "file -t"

Thanks, well, I think you are right, I replace the /usr/sbin/swpackage with one I get from another HP-UX, and it get fixed. I will close this Thread now, Thanks very much for your help!
EricStar
Occasional Advisor

Re: swpackage error with "file -t"

Thanks very much for your help!
Dennis Handly
Acclaimed Contributor

Re: swpackage error with "file -t"

>I replace the /usr/sbin/swpackage with one I get from another HP-UX

You need to be careful here. The SD programs are all hardlinks to the same file. You should install a patch so you have consistent SD installation.