Vserver

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Jan 8 23:05:32 CST 2004


on 1/8/04 10:48 PM, Erich Geiersberger at erichg at mcmm.com wrote:

>> All you need is
>> 
>>     V4MDReference.pdf       -- Hmm, it seems I need yet update it.
>>                                 okay, I will try to do this ASAP.
>> 
>>     Vserver.pdf -- it describe sever, how to make installers.
> 
> 
> I have downloaded these, but still a lot of questions left.

Ok, send such questions to Valentina list.

> - What about "opensession" / "closesession" are they required?

Optional.

You need it only if you want remotelly connect to Server as administrator.
Please note, in V4MD_Client now present 3d Xtra  Vserver.

You can see all its commands using standard Director command to list methods
of Xtra.


> - Do I need to add/remove users with "adduser"/"removeuser" or can I
> write directly to master.vdb?

Use Add/remove user.
And only administrator can do this.


> - how do I handle server timeout/disconnects?

>From client side?

You will get error code.


> - I get undocumented errors 363 somtimes without an obvious reason
> (seems to be a "cannot set record lock").

I need document it.
This is kernel error -- CANNOT SET record lock.


> - also error 10038 (seems to be winsock after a server timeout)

I am not sure, it seems all Server related errors are in Vserver.pdf

This is list 

enum EServer_Errors
{
    kSRV_ServerError = 1000,
    kSRV_ConnectionLimit,            // 1001: Connection limit reached
    kSRV_ProtocolNotSupported,        // 1002: Protocol version not
supported
    kSRV_NotEnoughMemory,            // 1003: Not enough memory
    kSRV_InvalidAccess,                // 1004: Invalid access
    kSRV_InvalidUserNameOrPassword,    // 1005: Invalid user name or
password
    kSRV_InvalidUserName,            // 1006: Invalid user name
    kSRV_InvalidDataBaseName,        // 1007: Invalid database name
    kSRV_NotSupported,                // 1008: Operation is not currently
supported
    kSRV_InvalidIdentifier,            // 1009: Invalid identifier
    kSRV_OperationFailed,            // 1010: Call to Valentina kernel
failed
    kSRV_AlreadyExist,                // 1011: Object already exists (field,
baseobject, database, user)
    kSRV_WrongResponse,                // 1012: Wrong client response
    kSRV_UnexpectedOperation,        // 1013: Unexpected operation
    kSRV_LogFail,                    // 1014: Operation with log fail
    kSRV_InitFailed,                // 1015: Server initialization failed
    kSRV_CannotAuthenticateUser,    // 1016: Cannot authenticate user
    kSRV_AccessDenied,                // 1017: Access denied
    kSRV_OutOfSync,                    // 1018: Command is out of sync
    kSRV_Unknown,                    // 1019: Unknown server error
    kSRV_NoCurrentDb,                // 1020: Current database not set
    kSRV_InvalidCommand,            // 1021: Command cannot be executed on
this type of object
    kSRV_CorruptedRegistry,            // 1022: Registry corrupted
    kSRV_ConnectionTimedOut,        // 1023: Connection timed out
    kSRV_WrongDeploymentSerial        // 1024: Wrong deployment serial
};


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list