1839977 Members
3224 Online
110158 Solutions
New Discussion

Linux Script Help

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

Linux Script Help

I have an LC2 running Redhat9 and samba. When one of our windows systems runs a script that mounts a share and tries to pull a file I get the following error, when I run the script through a scheduling package call 'Maestro', from tivoli:
The script line I am having problems with is:

e: net use g: \\MAHIMAHI\fstst /user:ihs-domain\maestro

it returns error: "System error 85 has occured"
"the local device name is already in use"


I did get a hit on the error message in the knowledge base. Not sure how it applies here though. any help appreciated.





UNIX IS GOOD
4 REPLIES 4
Huc_1
Honored Contributor
Solution

Re: Linux Script Help

I think e: is already used you should try use an other one ... like m:

try not giving the letter in the script

like use \\MAHA....

J-P

Smile I will feel the difference
Brian Bergstrand
Honored Contributor

Re: Linux Script Help

This is a Windows error. I think it means that the drive letter is already in use. Do you have something mounted on g:\ ?

I don't think a "local device" error would have anything to do with Samba.

HTH.
Umapathy S
Honored Contributor

Re: Linux Script Help

Robert,
I also see the problem might be with the side of windows.
85 means in Windows world
Const ERROR_ALREADY_ASSIGNED = 85

So it must be a drive name.

HTH,
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Nobody's Hero
Valued Contributor

Re: Linux Script Help

Thanks,
Problem was resolved. My samba server authenticates through domain 'a' and the server in question is in domain 'b'. So I moved the problem server into domain 'a' and all is well. Thanks for the quick responses.

RPM
UNIX IS GOOD