AW: {Remedy ARS} Re: Active Link External $PROCESS$ on AR Server 7.5

2010-04-21 Thread Conny Martin
Koray,

to isolate the problem I would suggest the following.

1. . /bin/arsystem don't forget the dot in front, so you 
will have all the env-vars set by arsystem in your actual unix-shell 
2. try to start your script. It should abort with core dump
3. unset ENV-VAR
4. try to start your script
5. unset NEXT-ENV-VAR
6. try to start your script
...
...
...
...


you should be able to find the env-var which is causing trouble and perhaps 
this leads you to a solution.

HTH

Kind Regards Conny

-Ursprüngliche Nachricht-
Von: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] Im Auftrag von koray
Gesendet: Mittwoch, 21. April 2010 15:57
An: arslist@ARSLIST.ORG
Betreff: Re: {Remedy ARS} Re: Active Link External $PROCESS$ on AR Server 7.5

Update: FreeAREntryListFieldList causes this error, included with arfree.h 
file..

On Apr 21, 4:09 pm, koray  wrote:
> By the way, is there any way I can view the coredump file generated?
>
> On Apr 21, 3:47 pm, koray  wrote:
>
>
>
>
>
> > A few of them were missing such as ARCONFIGDIR but although I tried 
> > copying them from another server it didn't work again..
> > I did the server restart to see shell messages and it is exactly the 
> > same : X Abort(coredump)
>
> > I am totally lost.
>
> > On Apr 21, 3:05 pm, Conny Martin  wrote:
>
> > > following env-vars are set by arsystem
>
> > > LANG
> > > TWO_TASK
> > > ARCONFIGDIR
> > > LC_ALL
> > > PATH
> > > ORACLE_HOME
> > > LD_LIBRARY_PATH
> > > ORA_NLS
> > > ORA_NLS32
> > > ORA_NLS33
> > > NLS_LANG
> > > NLSPATH
> > > CLIENT_LOCALE
>
> > > -Ursprüngliche Nachricht-
> > > Von: Action Request System discussion list(ARSList) 
> > > [mailto:arsl...@arslist.org] Im Auftrag von koray
> > > Gesendet: Mittwoch, 21. April 2010 13:57
> > > An: arsl...@arslist.org
> > > Betreff: Re: {Remedy ARS} Re: Active Link External $PROCESS$ on AR 
> > > Server 7.5
>
> > > Hello again,
>
> > > Can anyone send me the output of "env" command related to Remedy or APIs?
>
> > > Best Regards,
> > > Koray
>
> > > On Apr 21, 12:24 pm, koray  wrote:
>
> > > > @Juan Ingles: The C script exits with 0 in any case.
> > > > Trying above "arsystem env " results with Abort - 
> > > > core dumped
>
> > > > However the script isn't directly called in order to set the 
> > > > environment variables. mypath/script consists of
>
> > > > #!/usr/bin/sh
> > > > LD_LIBRARY_PATH=
> > > > export LD_LIBRARY_PATH
> > > > // "$@"
>
> > > > @Conny: you are right, I doubt that this is really related to 
> > > > the environment variables.. But i am not sure how to overcome this..
>
> > > > Best Regards,
> > > > Koray
>
> > > > 
> > > > __ _  UNSUBSCRIBE or access ARSlist Archives 
> > > > atwww.arslist.org attend wwrug10www.wwrug.comARSlist:"Where the 
> > > > Answers Are"
>
> > > > --
> > > > You received this message because you are subscribed to the Google 
> > > > Groups "Remedy ARS" group.
> > > > To post to this group, send email to arsl...@googlegroups.com.
> > > > To unsubscribe from this group, send email to 
> > > > arslist+unsubscr...@googlegroups.com.
> > > > For more options, visit this group 
> > > > athttp://groups.google.com/group/arslist?hl=en.
>
> > > __
> > > _  UNSUBSCRIBE or access ARSlist Archives 
> > > atwww.arslist.orgattendwwrug10www.wwrug.comARSlist:"Where the Answers Are"
>
> > > __
> > > _  UNSUBSCRIBE or access ARSlist Archives 
> > > atwww.arslist.org attend wwrug10www.wwrug.comARSlist:"Where the Answers 
> > > Are"
>
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "Remedy ARS" group.
> > > To post to this group, send email to arsl...@googlegroups.com.
> > > To unsubscribe from this group, send email to 
> > > arslist+unsubscr...@googlegroups.com.
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/arslist?hl=en.
>
> > 
> > ___  UNSUBSCRIBE or access ARSlist Archives 
> > atwww.arslist.org attend wwrug10www.wwrug.comARSlist:"Where the Answers Are"
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Remedy ARS" group.
> > To post to this group, send email to arsl...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > arslist+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/arslist?hl=en.
>
> __
> _  UNSUBSCRIBE or access ARSlist Archives atwww.arslist.org 
> attend wwrug10www.wwrug.comARSlist: "Where the Answers Are"
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Remedy ARS" group.
> To post t

AW: {Remedy ARS} Re: Active Link External $PROCESS$ on AR Server 7.5

2010-04-21 Thread Conny Martin
following env-vars are set by arsystem

LANG
TWO_TASK
ARCONFIGDIR
LC_ALL
PATH
ORACLE_HOME
LD_LIBRARY_PATH
ORA_NLS
ORA_NLS32
ORA_NLS33
NLS_LANG
NLSPATH
CLIENT_LOCALE 

-Ursprüngliche Nachricht-
Von: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] Im Auftrag von koray
Gesendet: Mittwoch, 21. April 2010 13:57
An: arslist@ARSLIST.ORG
Betreff: Re: {Remedy ARS} Re: Active Link External $PROCESS$ on AR Server 7.5

Hello again,

Can anyone send me the output of "env" command related to Remedy or APIs?

Best Regards,
Koray

On Apr 21, 12:24 pm, koray  wrote:
> @Juan Ingles: The C script exits with 0 in any case.
> Trying above "arsystem env " results with Abort - core 
> dumped
>
> However the script isn't directly called in order to set the 
> environment variables. mypath/script consists of
>
> #!/usr/bin/sh
> LD_LIBRARY_PATH=
> export LD_LIBRARY_PATH
> // "$@"
>
> @Conny: you are right, I doubt that this is really related to the 
> environment variables.. But i am not sure how to overcome this..
>
> Best Regards,
> Koray
>
> __
> _  UNSUBSCRIBE or access ARSlist Archives atwww.arslist.org 
> attend wwrug10www.wwrug.comARSlist: "Where the Answers Are"
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Remedy ARS" group.
> To post to this group, send email to arsl...@googlegroups.com.
> To unsubscribe from this group, send email to 
> arslist+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/arslist?hl=en.

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 
www.wwrug.com ARSlist: "Where the Answers Are"

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"


AW: {Remedy ARS} Re: Active Link External $PROCESS$ on AR Server 7.5

2010-04-20 Thread Conny Martin
Koray,

when you restart arserverd in your shell and then execute the AL with run 
process you will perhaps see some helpful error-messages.

I think it's something related to the environment (ENV-Vars like 
LD_LIBRARY_PATH or something like that).

To execute your script with the same env. as arserverd do the following.

//bin/arsystem env /mypath/script -p1 parameter1 -p2 parameter2

Kind Regards Conny

 

-Ursprüngliche Nachricht-
Von: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] Im Auftrag von koray
Gesendet: Dienstag, 20. April 2010 18:54
An: arslist@ARSLIST.ORG
Betreff: Re: {Remedy ARS} Re: Active Link External $PROCESS$ on AR Server 7.5

Hello Conny,

I activated arfork-log and here is the output:

arforkd version 7.5.00 PatchTue Apr 20 18:46:00 2010 Arforkd: Opening log file 
in overwrite mode.
Tue Apr 20 18:46:00 2010 Awaiting record marker.
Tue Apr 20 18:46:04 2010 Received record marker.
Tue Apr 20 18:46:04 2010 Spawning child, shell "", command "/mypath/ script -p1 
parameter1 -p2 parameter2".
Tue Apr 20 18:46:04 2010 Spawned "/mypath/script -p1 parameter1 -p2 parameter2" 
as pid 886.
Tue Apr 20 18:46:04 2010 Awaiting record marker.
Tue Apr 20 18:46:06 2010 process id 886 has exited with status 0x86.
Tue Apr 20 18:46:14 2010 Received record marker.

@process id 886 has exited with status 0x86: Can you help me on what
0x86 status is?
@arserverd restart: How can I see the stdout messages related while the restart?

Best Regards,
Koray

On Apr 20, 7:32 pm, Conny Martin  wrote:
> Koray,
>
> acivate arfork-log. If you don't see anything in arfork.log restart arserverd 
> in your Unix-shell to see stdout/stderr.
>
> HTH
>
> Kind Regards Conny
>
> -Ursprüngliche Nachricht-
> Von: Action Request System discussion list(ARSList) 
> [mailto:arsl...@arslist.org] Im Auftrag von koray
> Gesendet: Dienstag, 20. April 2010 18:29
> An: arsl...@arslist.org
> Betreff: Re: {Remedy ARS} Re: Active Link External $PROCESS$ on AR 
> Server 7.5
>
> Script's working quite perfect. I tried copying&pasting "/mypath/ script -p1 
> parameter1 -p2 parameter2" to UNIX shell and it returns as expected. So it 
> can't be the syntax.
>
> On Apr 20, 7:21 pm, Frank Caruso  wrote:
>
>
>
>
>
> > Is the problem with the syntax or with what /mypath/script is doing?
>
> > On Tue, Apr 20, 2010 at 7:18 PM, koray  wrote:
> > > Hello together,
>
> > > I have upgraded my ARS servers from 6.3 to 7.5 and facing with 
> > > some major problems since then.
> > > The previous syntax to run an external process via an Active Link 
> > > was
>
> > > $PROCESS$ @@: /mypath/script -p1 parameter1 -p2 parameter2
>
> > > and it worked perfect. But since the 7.5 upgrade I have been 
> > > receiving
> > > errors:
>
> > >      -> Passed qualification -- perform if actions 
> > > 0: Set Fields
>
> > >              Process: /mypath/script -p1 parameter1 -p2
> > > parameter2
> > >       Error while performing active link action
>
> > > Do you have any idea? What am I doing wrong here?
> > > I even tried double-quoting the parameters but nothing seems to work.
>
> > > Also removing ":" character from active link results with no error 
> > > but returns null.
>
> > > Thanks in advance!
> > > Koray
>
> > > __
> > > __ ___  UNSUBSCRIBE or access ARSlist Archives 
> > > atwww.arslist.orgattend wwrug10www.wwrug.comARSlist:"Where the Answers 
> > > Are"
>
> > 
> > __ _  UNSUBSCRIBE or access ARSlist Archives 
> > atwww.arslist.org attend wwrug10www.wwrug.comARSlist:"Where the 
> > Answers Are"
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Remedy ARS" group.
> > To post to this group, send email to arsl...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > arslist+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/arslist?hl=en.
>
> __
> _  UNSUBSCRIBE or access ARSlist Archives atwww.arslist.orgattend 
> wwrug10www.wwrug.comARSlist: "Where the Answers Are"
>
> __
> _  UNSUBSCRIBE or access ARSlist Archives atwww.arslist.org 
> attend wwrug10www.wwrug.comARSlist: "Where the Answers Are"
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Remedy ARS" group.
> To post to this group, send email to arsl...@googlegroups.com.
> To unsubscribe from this group, send email to 
> arslist+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/arslist?hl=en.

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 
www.wwrug.com ARSlis

AW: {Remedy ARS} Re: Active Link External $PROCESS$ on AR Server 7.5

2010-04-20 Thread Conny Martin
Koray,

acivate arfork-log. If you don't see anything in arfork.log restart arserverd 
in your Unix-shell to see stdout/stderr.

HTH

Kind Regards Conny 

-Ursprüngliche Nachricht-
Von: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] Im Auftrag von koray
Gesendet: Dienstag, 20. April 2010 18:29
An: arslist@ARSLIST.ORG
Betreff: Re: {Remedy ARS} Re: Active Link External $PROCESS$ on AR Server 7.5

Script's working quite perfect. I tried copying&pasting "/mypath/ script -p1 
parameter1 -p2 parameter2" to UNIX shell and it returns as expected. So it 
can't be the syntax.

On Apr 20, 7:21 pm, Frank Caruso  wrote:
> Is the problem with the syntax or with what /mypath/script is doing?
>
>
>
>
>
> On Tue, Apr 20, 2010 at 7:18 PM, koray  wrote:
> > Hello together,
>
> > I have upgraded my ARS servers from 6.3 to 7.5 and facing with some 
> > major problems since then.
> > The previous syntax to run an external process via an Active Link 
> > was
>
> > $PROCESS$ @@: /mypath/script -p1 parameter1 -p2 parameter2
>
> > and it worked perfect. But since the 7.5 upgrade I have been 
> > receiving
> > errors:
>
> >      -> Passed qualification -- perform if actions           
> > 0: Set Fields
>
> >              Process: /mypath/script -p1 parameter1 -p2
> > parameter2
> >       Error while performing active link action
>
> > Do you have any idea? What am I doing wrong here?
> > I even tried double-quoting the parameters but nothing seems to work.
>
> > Also removing ":" character from active link results with no error 
> > but returns null.
>
> > Thanks in advance!
> > Koray
>
> > 
> > ___  UNSUBSCRIBE or access ARSlist Archives 
> > atwww.arslist.org attend wwrug10www.wwrug.comARSlist: "Where the Answers 
> > Are"
>
> __
> _  UNSUBSCRIBE or access ARSlist Archives atwww.arslist.org 
> attend wwrug10www.wwrug.comARSlist: "Where the Answers Are"
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Remedy ARS" group.
> To post to this group, send email to arsl...@googlegroups.com.
> To unsubscribe from this group, send email to 
> arslist+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/arslist?hl=en.

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 
www.wwrug.com ARSlist: "Where the Answers Are"

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"