Hi Jim, if i seperate the script from .profile, so when i should to executue that script interm of operation processing of TJ?
Regads, Acleda On May 25, 11:17 pm, Jim Idle <[email protected]> wrote: > acleda wrote: > > Hi Jim, > > > The broken pipe was successful solved now....i can do rsh > > 192.168.0.19 ls properly.... > > > but I still got an error of jlogdup command below.... > > > jlogdup -u5 -l/mkcdfs/stat/jlogdup_info INPUT set=current > > terminate=wait OUTPUT set=stdout | rsh p570 /gbdev/kuong/bnk/bnk.run/ > > jlogacldr.sh > > > Please find the error as below > > * > > * > > It looks like you are trying to login to a standard application login > user, which is running the T24 start up script/.profile. You need to > create a separate user, that is a member of all the groups required to > access the jBASE files in the application and which has a separate > .profile from the standard one. The new profile should just set up the > environment variables your installation needs and not try to start up > any other programs or scripts and certainly not replace the login shell > with jSHELL and so on. > > So, when you login right now, it looks like all sorts of junk is running > and interfering with the operation, but perhaps the interspersing of the > local and remote output makes it look worse than it is and it is just > that your remote script is not correct. > > Additionally, make sure that you do not have other copied of jlogdup > running on the server that were orphaned etc because of this incorrect > setup. As I said in the previous email, make sure that you can remotely > execute a simple ls command before trying your jlogdup script. Make sure > that you read the literature of course, there are some good articles on > the jBASE site. > > Jim > > > ******************************************************************************* > > Last unsuccessful login: Wed Feb 4 08:00:53 THAIST 2009 on /dev/pts/ > > 268 from 192.168.32.17 > > Last login: Fri May 22 11:05:30 THAIST 2009 on /dev/pts/5 from > > 192.168.40.25 > > > .profile[20]: jlogdup: not found > > Check to see what line 20 is doing, but this is what tends to make me > think that you are running an incorrect .profile. The jlogdup is being > executed somehow before any environment variables are set up. A profile > for a remote session should just set up environment variables, give out > no prompts and just fall off the end into the standard shell. > > > 11:04:17 22 MAY 2009 : ERROR: > > Cannot have 2 copies of jlogdup restoring to the database > > simultaneously > > Here it looks like you have had crashes or have orphaned jlogdups - > clean up the server processes. But it could be a side effect of the > wrong login .profile anyway. > > > 11:04:17 22 MAY 2009 : STATUS: > > Termination Statistics: usr 0.04 , sys 0.02 , elapsed 0m0.10 > > INPUT : 0 records , 0 blocks , 0 record bytes , 0 errors > > OUTPUT: 0 records , 0 blocks , 0 bytes , 0 errors > > 11:04:17 22 MAY 2009 : STATUS: > > Program terminated. Exit code is 6 > > START GLOBUS Y/N > > And here of course you are getting prompted to start Globus, which is > not at all what you need to be doing :-) > > Jim- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en -~----------~----~----~----~------~----~------~--~---
