T24: EB.PHANTOM

1,499 views
Skip to first unread message

Adnan Bin Wasim

unread,
Jan 28, 2010, 11:45:30 AM1/28/10
to jbase
I want to post my OFS messages via Input directory defined in
OFS.SOURCE.. For that I created OFS.SOURCE record and defined input
and output directories, running mode s BATCH, phantom id etc... Then
I've created EB.PHANTOM record and defined run mode, time, user,
OFS.SOURCE, Routine as (OFS.QUEUE.MANAGER)...etc.... But still it's
not working the way expected. ...Can anyone guide me what could
possibly be missing or provide me some document from which I can
refer.

Santosh

unread,
Jan 28, 2010, 1:42:41 PM1/28/10
to jb...@googlegroups.com
Try to see whether the process is initiated or not ....also  instead of running in phantom mode make it as interactive mode(RUN.MODE Field) and verify the phantom ....you will come to know why its not getting processed...if any errors are there phantom in interactive mode it shows those....


--
Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24

To post, send email to jB...@googlegroups.com
To unsubscribe, send email to jBASE-un...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en



--
Mobile: 973-39406098

"Nobody can go back and start a new beginning, but anyone can start today and make a new ending"

JOSE L MARTINEZ-AVIAL

unread,
Jan 28, 2010, 2:36:34 PM1/28/10
to jb...@googlegroups.com
If it works in non interactive mode, it should leave a trace in the &PH& folder. Check it.

2010/1/28 Santosh <santosh....@gmail.com>

Adnan Bin Wasim

unread,
Jan 29, 2010, 1:44:53 AM1/29/10
to jb...@googlegroups.com
Dear Santosh/Jose,

Thanks for the help. It worked finally for me but I have some queries
for you guys.

a) All the transactions are posted in INAU apart from the fact that I
used 0 Level Authorization Versions.
b) If I run the phantom in Interactive mode everytime I have to start
it all over again.
c) If I run the phantom in PHANTOM mode is shows the Phantom is Active
but still doesn't pick up the messages from directory.

Regards,

Adnan

JOSE L MARTINEZ-AVIAL

unread,
Jan 30, 2010, 3:51:56 PM1/30/10
to jb...@googlegroups.com
a) In INAU status? That's not suppose to happen if you use ) level authorization. Although I remember the same issue when I tried to something like that with some applications like SIGN.ON.RESET. What application are you using?
b) I've never used the phanton in interactive mode, so I can't help you there.
c) Have you check if the process is up? You should find a process like the following:
jsh -Jz -c EX EB.PHANTOM.PH <USER_NAME> <OFS_NAME>

where USER_NAME is the name of the user used by the phantom, and OFS_NAME is the name of the OFS record. If there is no such process, maybe there is a problem with the phantom. Check the &PH& file. In the OFS SOURCE record there is a field called LOG FILE DIR. It should contain the name of a directory, in which you should find a file with the name of phanton, that contains the log of the transactions. I found that if that file does not exist, the phantom is not brought up. It gives an error in the &PH& file and refuses to work. Check that

2010/1/29 Adnan Bin Wasim <adn...@gmail.com>

Adnan Bin Wasim

unread,
Feb 1, 2010, 12:23:32 AM2/1/10
to jb...@googlegroups.com
Dear Jose,

I found the following error in &PH& when i execute it in PHANTOM MODE.
What do u think could possibly be goin' wrong?


0 [24;2H0CONTINUE (Y)
SECURITY.VIOLATION [23;11H0 [23;9H0 [23;11H0 [23;9H ** Error [
BACKGROUND_STDIN ] **
Background job attempted to get INPUT data from keyboard
Line 121 , Source I_SF.INPUT


Regards,

Adnan

JOSE L MARTINEZ-AVIAL

unread,
Feb 1, 2010, 9:37:29 AM2/1/10
to jb...@googlegroups.com
Can you post the content ofyour OFS.SOURCE record and EB.PHANTOM. record? It seems that is trying to execute it in interactive mode, even when you are launching it as a phantom.

2010/2/1 Adnan Bin Wasim <adn...@gmail.com>

JOSE L MARTINEZ-AVIAL

unread,
Feb 1, 2010, 1:38:57 PM2/1/10
to jb...@googlegroups.com
I just recalled that the user for your OFS Phantoms needs pernissions over EB.PHANTOM.PH. Otherwise you will receive a SECURITY VIOLATION

2010/2/1 JOSE L MARTINEZ-AVIAL <jlm...@gmail.com>

Adnan Bin Wasim

unread,
Feb 2, 2010, 4:30:34 AM2/2/10
to jb...@googlegroups.com
Dear Jose,

Plz. find attached the snapshots of OFS.SOURCE & EB.PHANTOM records. I
truly appreciate your consideration.

Regards,

Adnan

EB.PHANTOM.bmp
OFS.SOURCE.bmp

JOSE L MARTINEZ-AVIAL

unread,
Feb 2, 2010, 7:50:57 AM2/2/10
to jb...@googlegroups.com
So far it doesn't look bad. I see a few differences with my setup, but I don't know if they may be causing the problem. Can you test the following?
Clear field LOGIN.ID in OFS.SOURCE
Fill the field GENERIC.USER with a Globus User. Check that the user has permissions over EB.PHANTOM.PH. I'd suggest to give it full permissions for the test.
Change the directory for the files, putting the real relative path, as follows:
LOG.FILE.DIR..... ../bnk.data/ofdata/loginfo                                                                                      
IN.QUEUE.DIR..... ../bnk.data/ofdata/input                                                                                        
OUT.QUEUE.DIR.... ../bnk.data/ofdata/output

(Change the paths for yours)
And I'suggest to create a file in the LOG.FILE.DIR with the name TESTMSG, where the phantom will write the log of the message.

Let me know how it works.

Jose


2010/2/2 Adnan Bin Wasim <adn...@gmail.com>

Pawel (privately)

unread,
Feb 2, 2010, 3:19:56 PM2/2/10
to jb...@googlegroups.com
Hi,
 
Hint: as far as I remember OFS.QUEUE.MANAGER does not pick up OFS.SOURCE defined in EB.PHANTOM record. Please define OFS.SOURCE under exactly the same name as EB.PHANTOM (TESTMSG1 here).
 
EB.PHANTOM.ID in OFS.SOURCE is also not meaningfull as far as I remember.
 
Try and let us know. Send also beer to Jim if it worked ;)
 
Kind regards
Pawel
 
Dnia 2-02-2010 o godz. 13:50 JOSE L MARTINEZ-AVIAL napisaďż˝(a):

JOSE L MARTINEZ-AVIAL

unread,
Feb 2, 2010, 4:12:46 PM2/2/10
to jb...@googlegroups.com
Upps. you are right. I didn't see that the IDs didn't match. They should match in order to work.

2010/2/2 Pawel (privately) <ppriv...@wp.pl>
Hi,
 
Hint: as far as I remember OFS.QUEUE.MANAGER does not pick up OFS.SOURCE defined in EB.PHANTOM record. Please define OFS.SOURCE under exactly the same name as EB.PHANTOM (TESTMSG1 here).
 
EB.PHANTOM.ID in OFS.SOURCE is also not meaningfull as far as I remember.
 
Try and let us know. Send also beer to Jim if it worked ;)
 
Kind regards
Pawel
 

Adnan Bin Wasim

unread,
Feb 2, 2010, 11:42:27 PM2/2/10
to jb...@googlegroups.com
Well, I have tried following but still it's not working........What next?

a) Used similar ids for both OFS.SOURCE & EB.PHANTOM records.
b) User have the complete rights (SUPER.USER)
c) Cleared Login.ID in OFS.SOURCE & used generic user.

Still I am getting the aforementioned error in &PH&

(N.B. It worked fine in INTERACTIVE MODE. even if i had the different
OFS.SOURCE & EB.PHANTOM ids.)

Thanks a lot for your guidance.

Adnan

JOSE L MARTINEZ-AVIAL

unread,
Feb 3, 2010, 1:02:36 PM2/3/10
to jb...@googlegroups.com
To be SUPER.USER does not mean that you have permission. It only gives access to the command line in Globus. To give full permissions you need to give access to application ALL.PG with ALL permissions. Try that.

VK

unread,
Feb 4, 2010, 1:22:50 AM2/4/10
to jBASE
> What next?

Throw away EB.PHANTOM... it's an outdated technology anyway.

Set up filelistener in TCServer to process your OFS messages.
For more detail see manuals or contact Temenos H.D.

VK


On Feb 3, 9:02 pm, JOSE L MARTINEZ-AVIAL <jlm...@gmail.com> wrote:
> To be SUPER.USER does not mean that you have permission. It only gives
> access to the command line in Globus. To give full permissions you need to
> give access to application ALL.PG with ALL permissions. Try that.
>

> 2010/2/2 Adnan Bin Wasim <adna...@gmail.com>


>
> > Well, I have tried following but still it's not working........What next?
>
> > a) Used similar ids for both OFS.SOURCE & EB.PHANTOM records.
> > b) User have the complete rights (SUPER.USER)
> > c) Cleared Login.ID in OFS.SOURCE & used generic user.
>
> > Still I am getting the aforementioned error in &PH&
>
> > (N.B. It worked fine in INTERACTIVE MODE. even if i had the different
> > OFS.SOURCE & EB.PHANTOM ids.)
>
> > Thanks a lot for your guidance.
>
> > Adnan
>
> > On Wed, Feb 3, 2010 at 2:12 AM, JOSE L MARTINEZ-AVIAL <jlm...@gmail.com>
> > wrote:
> > > Upps. you are right. I didn't see that the IDs didn't match. They should
> > > match in order to work.
>

> > > 2010/2/2 Pawel (privately) <pprivat...@wp.pl>

> > >> 2010/2/2 Adnan Bin Wasim <adna...@gmail.com>


>
> > >>> Dear Jose,
>
> > >>> Plz. find attached the snapshots of OFS.SOURCE & EB.PHANTOM records. I
> > >>> truly appreciate your consideration.
>
> > >>> Regards,
>
> > >>> Adnan
>
> > >>> On Mon, Feb 1, 2010 at 7:37 PM, JOSE L MARTINEZ-AVIAL <
> > jlm...@gmail.com>
> > >>> wrote:
> > >>> > Can you post the content ofyour OFS.SOURCE record and EB.PHANTOM.
> > >>> > record? It
> > >>> > seems that is trying to execute it in interactive mode, even when you
> > >>> > are
> > >>> > launching it as a phantom.
>

> > >>> > 2010/2/1 Adnan Bin Wasim <adna...@gmail.com>

> > >>> >> > 2010/1/29 Adnan Bin Wasim <adna...@gmail.com>


>
> > >>> >> >> Dear Santosh/Jose,
>
> > >>> >> >> Thanks for the help. It worked finally for me but I have some
> > >>> >> >> queries
> > >>> >> >> for you guys.
>
> > >>> >> >> a) All the transactions are posted in INAU apart from the fact
> > that
> > >>> >> >> I
> > >>> >> >> used 0 Level Authorization Versions.
> > >>> >> >> b) If I run the phantom in Interactive mode everytime I have to
> > >>> >> >> start
> > >>> >> >> it all over again.
> > >>> >> >> c) If I run the phantom in PHANTOM mode is shows the Phantom is
> > >>> >> >> Active
> > >>> >> >> but still doesn't pick up the messages from directory.
>
> > >>> >> >> Regards,
>
> > >>> >> >> Adnan
>
> > >>> >> >> On Fri, Jan 29, 2010 at 12:36 AM, JOSE L MARTINEZ-AVIAL
> > >>> >> >> <jlm...@gmail.com> wrote:
> > >>> >> >> > If it works in non interactive mode, it should leave a trace in
> > >>> >> >> > the
> > >>> >> >> > &PH&
> > >>> >> >> > folder. Check it.
>

> > >>> >> >> > 2010/1/28 Santosh <santosh.kancha...@gmail.com>


>
> > >>> >> >> >> Try to see whether the process is initiated or not ....also
> > >>> >> >> >>  instead
> > >>> >> >> >> of
> > >>> >> >> >> running in phantom mode make it as interactive mode(RUN.MODE
> > >>> >> >> >> Field) and
> > >>> >> >> >> verify the phantom ....you will come to know why its not
> > getting
> > >>> >> >> >> processed...if any errors are there phantom in interactive
> > mode
> > >>> >> >> >> it
> > >>> >> >> >> shows
> > >>> >> >> >> those....
>
> > >>> >> >> >> On Thu, Jan 28, 2010 at 7:45 PM, Adnan Bin Wasim

> > >>> >> >> >> <adna...@gmail.com>

Adnan Bin Wasim

unread,
Feb 3, 2010, 11:31:08 PM2/3/10
to jb...@googlegroups.com
Dear Jose,

It 's SUPER.USER PLUS ALL.PG ACCESS.....:) Sorry, forgot to mention that.

Regards,

Adnan

jaro

unread,
Feb 5, 2010, 9:22:18 AM2/5/10
to jBASE
Hi,

if the messages is not picked up from the inward directory, it looks
that the process is crashing. Because for any other reasons (even
SECURITY.VIOLATION) the message should be removed from inward
directory.
Try to find out any usefull info from logs. first clear the existing
logs from LOG.FILE.DIR and F.OFS.REQUEST.DETAIL. then set logging
level to FULL and MAINTAIN.MSG.DETS to 'Y' in the corresponding
OFS.SOURCE. place the message into inward directory and ensure the
correct access permissions. Now initiate the EB.PHANTOM. Check the
logs in LOG.FILE.DIR directory and in F.OFS.REQUEST.DETAIL. You should
be able to get any info.

On Feb 4, 5:31 am, Adnan Bin Wasim <adna...@gmail.com> wrote:
> Dear Jose,
>
> It 's SUPER.USER PLUS ALL.PG ACCESS.....:) Sorry, forgot to mention that.
>
> Regards,
>
> Adnan
>
> On Wed, Feb 3, 2010 at 11:02 PM, JOSE L MARTINEZ-AVIAL <jlm...@gmail.com> wrote:
>
>
>
> > To be SUPER.USER does not mean that you have permission. It only gives
> > access to the command line in Globus. To give full permissions you need to
> > give access to application ALL.PG with ALL permissions. Try that.
>

> > 2010/2/2 Adnan Bin Wasim <adna...@gmail.com>


>
> >> Well, I have tried following but still it's not working........What next?
>
> >> a) Used similar ids for both OFS.SOURCE & EB.PHANTOM records.
> >> b) User have the complete rights (SUPER.USER)
> >> c) Cleared Login.ID in OFS.SOURCE & used generic user.
>
> >> Still I am getting the aforementioned error in &PH&
>
> >> (N.B. It worked fine in INTERACTIVE MODE. even if i had the different
> >> OFS.SOURCE & EB.PHANTOM ids.)
>
> >> Thanks a lot for your guidance.
>
> >> Adnan
>
> >> On Wed, Feb 3, 2010 at 2:12 AM, JOSE L MARTINEZ-AVIAL <jlm...@gmail.com>
> >> wrote:
> >> > Upps. you are right. I didn't see that the IDs didn't match. They should
> >> > match in order to work.
>

> >> > 2010/2/2 Pawel (privately) <pprivat...@wp.pl>

> >> >> 2010/2/2 Adnan Bin Wasim <adna...@gmail.com>


>
> >> >>> Dear Jose,
>
> >> >>> Plz. find attached the snapshots of OFS.SOURCE & EB.PHANTOM records. I
> >> >>> truly appreciate your consideration.
>
> >> >>> Regards,
>
> >> >>> Adnan
>
> >> >>> On Mon, Feb 1, 2010 at 7:37 PM, JOSE L MARTINEZ-AVIAL
> >> >>> <jlm...@gmail.com>
> >> >>> wrote:
> >> >>> > Can you post the content ofyour OFS.SOURCE record and EB.PHANTOM.
> >> >>> > record? It
> >> >>> > seems that is trying to execute it in interactive mode, even when
> >> >>> > you
> >> >>> > are
> >> >>> > launching it as a phantom.
>

> >> >>> > 2010/2/1 Adnan Bin Wasim <adna...@gmail.com>

> >> >>> >> > 2010/1/29 Adnan Bin Wasim <adna...@gmail.com>


>
> >> >>> >> >> Dear Santosh/Jose,
>
> >> >>> >> >> Thanks for the help. It worked finally for me but I have some
> >> >>> >> >> queries
> >> >>> >> >> for you guys.
>
> >> >>> >> >> a) All the transactions are posted in INAU apart from the fact
> >> >>> >> >> that
> >> >>> >> >> I
> >> >>> >> >> used 0 Level Authorization Versions.
> >> >>> >> >> b) If I run the phantom in Interactive mode everytime I have to
> >> >>> >> >> start
> >> >>> >> >> it all over again.
> >> >>> >> >> c) If I run the phantom in PHANTOM mode is shows the Phantom is
> >> >>> >> >> Active
> >> >>> >> >> but still doesn't pick up the messages from directory.
>
> >> >>> >> >> Regards,
>
> >> >>> >> >> Adnan
>
> >> >>> >> >> On Fri, Jan 29, 2010 at 12:36 AM, JOSE L MARTINEZ-AVIAL
> >> >>> >> >> <jlm...@gmail.com> wrote:
> >> >>> >> >> > If it works in non interactive mode, it should leave a trace
> >> >>> >> >> > in
> >> >>> >> >> > the
> >> >>> >> >> > &PH&
> >> >>> >> >> > folder. Check it.
>

> >> >>> >> >> > 2010/1/28 Santosh <santosh.kancha...@gmail.com>


>
> >> >>> >> >> >> Try to see whether the process is initiated or not ....also
> >> >>> >> >> >>  instead
> >> >>> >> >> >> of
> >> >>> >> >> >> running in phantom mode make it as interactive mode(RUN.MODE
> >> >>> >> >> >> Field) and
> >> >>> >> >> >> verify the phantom ....you will come to know why its not
> >> >>> >> >> >> getting
> >> >>> >> >> >> processed...if any errors are there phantom in interactive
> >> >>> >> >> >> mode
> >> >>> >> >> >> it
> >> >>> >> >> >> shows
> >> >>> >> >> >> those....
>
> >> >>> >> >> >> On Thu, Jan 28, 2010 at 7:45 PM, Adnan Bin Wasim

> >> >>> >> >> >> <adna...@gmail.com>

> ...
>
> read more »

Reply all
Reply to author
Forward
0 new messages