SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Error 1314 with mapped/shared drive

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Error 1314 with mapped/shared drive
Author Message
Edwin



Joined: 02 Dec 2005
Posts: 2

Post Error 1314 with mapped/shared drive Reply with quote

Hi,

On finish of a loader procedure I want to drop a file
on a shared directory of an other server. I have
setup a drive mapping to the target server on the
server running the 24x7 service.
In first instance the log file reported succesful
execution of job but apparantly, it did not copy the
file. Then I changed the RunAsUser into the user
account of the server and checked that this user has
the "log on as a batch job" rights.
Now the logfile shows: Create process failed.
Return code: 1314 - A required privilege is not held
by the client.
Any idea how to fix this?

Fri Dec 02, 2005 9:03 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7970

Post Re: Error 1314 with mapped/shared drive Reply with quote

Don't use drive mapping. Mapping is not available to services. Use UNC share and file names (like \\server\share\dir\file) and make sure the service account has direct permissions for referenced share

: Hi,

: On finish of a loader procedure I want to drop a file
: on a shared directory of an other server. I have
: setup a drive mapping to the target server on the
: server running the 24x7 service.
: In first instance the log file reported succesful
: execution of job but apparantly, it did not copy the
: file. Then I changed the RunAsUser into the user
: account of the server and checked that this user has
: the "log on as a batch job" rights.
: Now the logfile shows: Create process failed.
: Return code: 1314 - A required privilege is not held
: by the client.
: Any idea how to fix this?

Fri Dec 02, 2005 10:11 am View user's profile Send private message
Edwin



Joined: 02 Dec 2005
Posts: 2

Post Re: Error 1314 with mapped/shared drive Reply with quote

I removed drive mapping from my cmd file and changed to \\server\share etc.
Again, manually launching the cmd file works perfect but 24x7 still returns
error 1314.
The target server is in another domain. I have setup a local user on that
server with a share on the target directory.
Which user and domain should I use as "RunAsUser"? The user of the
target-server or the user of the server running 24x7?

: Don't use drive mapping. Mapping is not available to services. Use UNC share
: and file names (like \\server\share\dir\file) and make sure the service
: account has direct permissions for referenced share

Fri Dec 02, 2005 11:25 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7970

Post Re: Error 1314 with mapped/shared drive Reply with quote

Local user won't work here. It must be a domain user having permissions for the share. If you use RunAsUser then the user of that command must have permissions for the share. In addition, the account running 24x7 service must have "act as part of operation system" permissions and the user in RunAsUser must have "logon as a batch job" and "logon as a service" permissions. If you don't run 24x7 as a service then you don't need all that. You can do pretty much everything without these complications.

: I removed drive mapping from my cmd file and changed to \\server\share etc.
: Again, manually launching the cmd file works perfect but 24x7 still returns
: error 1314.
: The target server is in another domain. I have setup a local user on that
: server with a share on the target directory.
: Which user and domain should I use as "RunAsUser"? The user of the
: target-server or the user of the server running 24x7?

Fri Dec 02, 2005 1:48 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.