" Btw, what is the difference between hash-types 4,5 & 6?"

jrf -?

will tell you this.

Dan

On Sun, Jun 24, 2012 at 3:24 PM, Simon Verona <[email protected]>wrote:

>  Ok, seems to be a mixture of issues.
>
> Firstly, the permissions on c:\jbase5 didn't allow access by my user (even
> though the user is part of the Administrators group)
>
> Once I got that working, the remote.cmd works, but then I found that I
> couldn't write any data (I could read).  I set all the permissions to
> read/write throughout to no avail.   The data had been copied (using the
> Windows COPY) across the network, and I found that running jrf -H6 to
> convert to type H6 seems to do the trick.
>
> Btw, what is the difference between hash-types 4,5 & 6?
>
> Thanks
> Simon
>
>
> On 24/06/2012 13:43, Daniel Klein wrote:
>
> At this point I would run a 'jdiag' from both the working and non-working
> sessions and compare.
>
>  Not sure if this matters but... is UAC turned off?
>
>  Also,  I would check permissions on $JBCRELEASEDIR. Set everything to
> 'everyone full control'. You can always tighten things up later.
>
>  Dan
>
> On Sun, Jun 24, 2012 at 7:54 AM, Simon Verona <[email protected]>wrote:
>
>>  Dan
>>
>> See jDiag below - the $HOME\lib directory doesn't exist!
>>
>>         jdiag - jBASE diagnostic '$Revision: 1.15 $'
>>
>> System Information
>> ==================
>>
>> System                      : WinNT JBASE52TEST 6.1 AMD64
>> OS Release                  : Windows Server 2008 R2, Build 7601, Service
>> Pack 1
>> NT User                     : dms.serv
>> Time                        : Sun Jun 24 12:47:13 2012
>>
>> Environment
>> ===========
>>
>> JBCPORTNO                   : Not Set
>> JBCRELEASEDIR               : 'c:\jBASE5\5.2'
>> JBCGLOBALDIR                : 'c:\jBASE5\5.2'
>> WARNING: JBCDATADIR is not set, Default 'c:\jBASE5\5.2\jbase_data'
>> WARNING: JBCDATADIR is subdirectory of JBCGLOBALDIR
>> HOME                        : 'D:\DMS\JBASE\DMS'
>> JEDIFILENAME_MD             : Not Set
>> JEDIFILENAME_SYSTEM         : Not Set
>> RELEASE Information         : Major 5.2 , Minor 16 , Patch 0234 (Change
>> 101797)
>> Spooler dir (Default)       : 'c:\jBASE5\5.2\jbase_data\jspooler'
>> WARNING: Cannot access Spooler directory
>> 'c:\jBASE5\5.2\jbase_data\jspooler', error 2
>> JBCEMULATE                  : Not Set
>> TEMP file path              : 'C:\Windows\TEMP\'
>> WARNING: Your execute path (PATH) does not contain 'D:\DMS\JBASE\DMS\bin'
>> Object path (Default)       : 'c:\jBASE5\5.2\lib;D:\DMS\JBASE\DMS\lib'
>> WARNING: Cannot access Object path 'D:\DMS\JBASE\DMS\lib', error 2
>> WARNING: From checking the registry, It appears that VC++ is not loaded
>> jBASE Compiler Run-time     : 'c:\jBASE5\5.2\config\system.properties'
>> Program dir (Default)       : 'D:\DMS\JBASE\DMS\bin'
>> WARNING: Cannot access Program dir 'D:\DMS\JBASE\DMS\bin', error 2
>> Subroutine dir (Default)    : 'D:\DMS\JBASE\DMS\lib'
>> WARNING: Cannot access Subroutine dir 'D:\DMS\JBASE\DMS\lib', error 2
>>
>> Simon
>>
>>
>> On 24/06/2012 12:41, Daniel Klein wrote:
>>
>> Any existing 32bit libraries that are in JBCOBJECTLIST (or $HOME/lib)
>> will produce that error.
>>
>>  If you remove the $HOME\lib directory do you still get the error?
>>
>>  Dan
>>
>>  On Sun, Jun 24, 2012 at 7:12 AM, Simon <[email protected]> wrote:
>>
>>> I know it's bad form to reply to my own message, but I've moved along.
>>>
>>> I found that if I delete the remote.cmd in the directory I expect the
>>> user to hit, I can login and get a "dos" command prompt.
>>>
>>> However, if I run any jBASE command I get :
>>>
>>> jBASE: Error 13 while creating a user object
>>>
>>> I suspect an enviroment variable is causing me grief..   but I can't see
>>> what.    I've compared the obvious (PATH/LIB etc) with the environment
>>> variables shown when logged into a jsh shell on the console (which runs
>>> fine) but can't see anything obvious.
>>>
>>> My environment variables are set :-
>>>
>>>
>>> ALLUSERSPROFILE=C:\ProgramData
>>> APPDATA=C:\Windows\system32\config\systemprofile\AppData\Roaming
>>> CLIENT_TNID=2500007f010030
>>> CommonProgramFiles=C:\Program Files (x86)\Common Files
>>> CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
>>> CommonProgramW6432=C:\Program Files\Common Files
>>> COMPUTERNAME=JBASE52TEST
>>> ComSpec=C:\Windows\system32\cmd.exe
>>> FP_NO_HOST_CHECK=NO
>>> HOME=D:\DMS\JBASE\DMS
>>> HOMEDRIVE=D:
>>> HOMEPATH=\DMS\JBASE\DMS
>>> INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include
>>> JBCGLOBALDIR=c:\jBASE5\5.2
>>> JBCRELEASEDIR=c:\jBASE5\5.2
>>> JBC_CLIENT_IP=127.0.0.1
>>> JBC_CLIENT_PORT=19136
>>> JBC_TELNET_FLAG=1
>>> LIB=C:\Program Files (x86)\Microsoft Visual Studio
>>> 9.0\VC\Lib\amd64;C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib\x64
>>> LOCALAPPDATA=C:\Windows\system32\config\systemprofile\AppData\Local
>>> NUMBER_OF_PROCESSORS=4
>>> OS=Windows_NT
>>> Path=c:\jBASE5\5.2\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
>>> Files (x86)\Microsoft Visual Studio 9.0\VC\Bin\amd64;C:\Program
>>> Files\Microsoft SDKs\Windows\v6.1\Bin\x64;
>>> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
>>> PROCESSOR_ARCHITECTURE=x86
>>> PROCESSOR_ARCHITEW6432=AMD64
>>> PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 26 Stepping 5, GenuineIntel
>>> PROCESSOR_LEVEL=6
>>> PROCESSOR_REVISION=1a05
>>> ProgramData=C:\ProgramData
>>> ProgramFiles=C:\Program Files (x86)
>>> ProgramFiles(x86)=C:\Program Files (x86)
>>> ProgramW6432=C:\Program Files
>>> PROMPT=$P$G
>>> PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
>>> PUBLIC=C:\Users\Public
>>> SystemDrive=C:
>>> SystemRoot=C:\Windows
>>> TEMP=C:\Windows\TEMP
>>> TERM=vt100
>>> TMP=C:\Windows\TEMP
>>> USERDOMAIN=JBASE52TEST
>>> USERNAME=dms.serv
>>> USERPROFILE=C:\Windows\system32\config\systemprofile
>>> windir=C:\Windows
>>> windows_tracing_flags=3
>>> windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
>>>
>>>
>>> Any thoughts ?
>>>
>>> Simon
>>>
>>>
>>> On Sunday, June 24, 2012 1:19:36 AM UTC+1, Simon wrote:
>>>>
>>>> I'm just starting to review migration from jBASE 3.4 to jBASE 5.2 with
>>>> some earnest.
>>>>
>>>> So far, I've set up a Windows server 2008R2 64 bit system, loaded jbase
>>>> 5.2.16, installed Windows Server 2008 SDK.
>>>>
>>>> I've loaded my data, and re-created my remote.cmd script using iju. If
>>>> I
>>>> start up a dos command prompt, move into the data directory and run the
>>>> remote.cmd script, it runs fine.
>>>>
>>>> I've then created a Windows user which should allow me to telnet into
>>>> the system .  I've set the local path on the "Profile" tab of the user
>>>> to my home directory (where the remote.cmd file lies).
>>>>
>>>> When I telnet into the server, I get the jBASE telnet prompt, but when
>>>> I
>>>> login I get an error :  "Error 2 starting command"
>>>>
>>>> AFAIK Errmsg 2 is "The System cannot find the file specified".
>>>>
>>>> I'm presuming that it's not looking in the directory that I expected!
>>>>
>>>> What have I done wrong ?
>>>>
>>>> Thanks in advance
>>>>
>>>> Simon
>>>>
>>>> --
>>>> =======================================
>>>> Simon Verona
>>>> Director
>>>> Dealer Management Services Ltd
>>>> T: 0845 686 2300
>>>> =======================================
>>>>
>>>   --
>>> -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. 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
>>>
>>
>>  --
>> -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. 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
>>
>>
>>
>>   --
>> =======================================
>> Simon Verona
>> Director
>> Dealer Management Services Ltd
>> T: 0845 686 2300
>> ========================================
>>
>>   --
>> -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. 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
>>
>
>  --
> -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. 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
>
>
>
> --
> =======================================
> Simon Verona
> Director
> Dealer Management Services Ltd
> T: 0845 686 2300
> ========================================
>
>  --
> -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. 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
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

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



Reply via email to