Looking at this, a couple of ideas ...

Is UV supported on SuSE? Last I knew (probably out of date :-) it was only 
supported on RHEL.

Catdir looks to be a type 1 file - can you change it to a type 19? What 
are/were the permissions on the *client*SCRNHD directory? Do you only get this 
problem where the catalog name (ie *client*SCRNHDG) is over 14 characters?

Next time you want to take a backup (especially if you're going to recatalog it 
:-) what happens if you do a mv rather than a cp? If that fails, it means the 
problem probably lies with the directory, not the file.

Cheers,
Wol

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent: 12 November 2008 21:39
To: [email protected]
Subject: [U2] UV 10.2 catdir problems

Once again, the catdir issue has raised its ugly head.  Here's the synopsis.

I have a customer running UV 10.2 (not 10.1 as previously mentioned) on a
SuSE Linux box.  Everything will be humming along swimmingly and then
something weird happens with a catalog pointer (for reasons unknown) and
everyone who is running a program that calls that subroutine finds themself
greeted by an error and then drops to a colon prompt.

In diagnosing this today I went to the offending file in /usr/ibm/uv/catdir
and the file was in fact there, 666 perrmissions, so I figured I'd copy it
off before correction so that I could compare the old and new versions to
possibly spot some differences.  Well get this: Despite being root (via
"su") I could not copy that file because the system said I didn't have read
permissions.  The following is the transcript of the highlights of that
session:

Last login: Wed Nov 12 09:04:59 2008 from 68.246.114.44

UniVerse Command Language 10.2
(c) Copyright IBM Corporation 2006. All rights reserved.
client logged on: Wed Nov 12 14:01:50 2008

Program "MS005": Line 209, "/usr/ibm/uv/catdir/*client*SCRNHD/G" is not in
the CATALOG space.
[EACCES] Permission denied
Program "MS005": Line 209, Incorrect VOC entry for SCRNHDG.
Program "MS005": Line 209, Unable to load subroutine.
>*sh*
[EMAIL PROTECTED]:/u1/client> cd /usr/ibm/uv/catdir/*client*SCRNHD
[EMAIL PROTECTED]:/usr/ibm/uv/catdir/*client*SCRNHD> *ls -l*
total 4
-rw-rw-rw- 1 kking users 1042 2008-11-12 13:56 G
[EMAIL PROTECTED]:/usr/ibm/uv/catdir/*client*SCRNHD> *cp G G.old*
cp: cannot open `G' for reading: Permission denied
[EMAIL PROTECTED]:/usr/ibm/uv/catdir/*client*SCRNHD> *su*
Password:
linux-oar1:/usr/ibm/uv/catdir/*client*SCRNHD # *cp G G.old*
cp: cannot open `G' for reading: Permission denied
linux-oar1:/usr/ibm/uv/catdir/*client*SCRNHD # *ls -l*
total 4
-rw-rw-rw- 1 kking users 1042 2008-11-12 13:56 G
*(note, I did not catalog this item at this time.  That time does correlate
to when I attempted to login above, however)*
linux-oar1:/usr/ibm/uv/catdir/*client*SCRNHD # *cp G /tmp*
cp: cannot open `G' for reading: Permission denied
linux-oar1:/usr/ibm/uv/catdir/*client*SCRNHD # *cp * /tmp*
cp: cannot open `G' for reading: Permission denied
linux-oar1:/usr/ibm/uv/catdir/*client*SCRNHD # *exit*
[EMAIL PROTECTED]:/usr/ibm/uv/catdir/*client*SCRNHD> *exit*
>*CATALOG BP SCRNHDG*
"*client*SCRNHDG" cataloged.
>*SH*
[EMAIL PROTECTED]:/u1/client> *cd /usr/ibm/uv/catdir/*client*SCRNHD*
[EMAIL PROTECTED]:/usr/ibm/uv/catdir/*client*SCRNHD> *ls -l*
total 4
-rw-rw-rw- 1 kking users 1042 2008-11-12 14:05 G
[EMAIL PROTECTED]:/usr/ibm/uv/catdir/*client*SCRNHD> *cp G G.old*
[EMAIL PROTECTED]:/usr/ibm/uv/catdir/*client*SCRNHD> *ls -l*
total 8
-rw-rw-rw- 1 kking users 1042 2008-11-12 14:05 G
-rw-rw-rw- 1 kking users 1042 2008-11-12 14:05 G.old
[EMAIL PROTECTED]:/usr/ibm/uv/catdir/*client*SCRNHD> *rm G.old*
[EMAIL PROTECTED]:/usr/ibm/uv/catdir/*client*SCRNHD> *ls -l*
total 4
-rw-rw-rw- 1 kking users 1042 2008-11-12 14:05 G

Once the routine was recatalogued, everything worked fine.  But how is it
that the item was not readable despite the rw- privs and me being
authenticated as root?  Has anyone seen this and have any clues as to what
might be causing this?  It keeps happening on this system and the customer
is most frustrated (as am I!).

-Kevin
http://www.PrecisOnline.com
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to