1834055 Members
2533 Online
110063 Solutions
New Discussion

file name too long error

 
SOLVED
Go to solution
Mike Rightmire
Frequent Advisor

file name too long error

I am attempting to install DB2 on an HP-UX 11 box, from a CD specifically for HP-UX 11. The install will fail about half way through saying it cannot find/read a specific file.

I can find the specific file on the CD, and it has a huge name. When I do a list for the file with a partial file name, I.E.

ll remov*

... it responds with ...

removeschemepriviledgespromptdialogip.htm not found

...figure that one out. When I attempt to cat the filename directly, it says ...

cannot open: file name too long.

Is there a way around this? A setting, perhaps, in HP-UX to allow it to access and see longer filenames?

Thanks for all the help in the past, and again in the future!
Mike
"If we treated each person we met as if they were carrying an unspeakable burden, we might almost treat each other as we should." Dale Carnegie
2 REPLIES 2
Frederic Soriano
Honored Contributor
Solution

Re: file name too long error

Well, I recognize that your file is really looking strange !

But maybe you can overcome this with pfs commands, as pfs does support several cd filesystems (like rockridge or iso9660). Maybe you'll be luckier with them ! Here is the proper syntax:

pfs_mountd &
pfsd &
pfs_mount -t rrip -x unix /dev/rdsk/cXtXdX /cdrom (replace Xs with your proper raw-device file)

Try to cat your file again. And once you are finished (if lucky), pfs_umount /cdrom, and send a TERM signal to pfsd and pfs_mountd.

If this still does not work, you could try replacing rrip by other formats (have a look at pfs_mount man page).

Best regards.

Fred.
Mike Rightmire
Frequent Advisor

Re: file name too long error

Whoo-Hoo! That seems to have done it. I have not tested the install yet, to see if it will make it all the way through, however the files now list and cat without error messages (with the exception that you cannot successfully cat an html file, but I think you know what I mean!)

Thanks!
Mike
"If we treated each person we met as if they were carrying an unspeakable burden, we might almost treat each other as we should." Dale Carnegie