Hi Guys,
This is my first post so please bear with me.
I've recently been imaging Lenovo Thinkpad laptops using Altiris Deployment and had some hiccups but eventually got through them, one which I noticed I kept getting and "error 41 during script execution" when trying to image newly acquired laptops.
Basically we have a new Dell Latitude E6400 (as we've just switched vendor to Dell) and I need to get imaging working on these laptops.
Can someone help me with the following log,
The first task in the deployment job is to push an altiris image to the machine, this works with success, its the next part which is a script that our consultant has wrote for us which has always worked.
I know there has been no change to the script, but still, I'm having issues.
Here is the script,
/mnt/ds/RDeploy/Linux/firm -recurse copy /mnt/ds/Drivers/%#*"SELECT LTRIM(RTRIM(manuf)) FROM computer where computer_id=%ID%"%%#*"SELECT LEFT(prod_name,4) FROM computer where computer_id=%ID%"%/Drivers "PROD:/Drivers"
Basically from what I can see, is that the script is sent to the PC and query's the MANUFACTURE ID & Model Number/Product Name, the PC reports what the MANUFACTUR IS (Dell/Lenovo) and also Model Number/Product Name and looks for a folder with both of these strings together as a folder name under a folder located on the DS - EG. "\\ALTIRISDS\EXPRESS\DRIVERS\LENOVO2746" From there it copies that folder to the local C:\drivers folder on the laptop, the laptop then restarts and runs through the setup of XP
I have setup a folder called DELL INC.LATITUDE within the DRIVERS folder on the DS share, and still I get this error 41.
However what is even weirder is if I remove the folder completely, I will receive error 46 during script execution.
I've checked permissions, case sensitive, anything I can think of...
I've copied log entry as per below.
------------------------------------------------
Error description:
The file could not be opened.
Possible causes:
A file that was expected to exist does not exist.
You do not have permission for this operation on the file or directory.
Possible resolutions:
Make sure the file exists and is accessible.
If the missing file is part of this program, reinstall the program.
Fix the permissions on the file or directory.
==================== Technical details ====================
Logfile = created Thu Jun 11 08:38:02 2009
Build = firm 6.9 (9020)
Cmdline = /mnt/ds/RDeploy/Linux/firm -recurse copy /mnt/ds/Drivers/Dell Inc.Lati/Drivers PROD:/Drivers
Status = 41 (0x29)
Source file = imglib/fs/native/nativefs.cpp
Line number = 806 (0x326)
Stack trace = 0x80b559d 0x80b5899 0x804f81d 0x8053ba3 0x804b50d &Known=0x811d780
Path = /mnt/ds/Drivers/Dell
Imaging library revision = 9020 (linux-x86-release build, Fri Oct 10 23:50:32 2008)
------------------------------------------------
Any help would be great!
I'm so stuck and I'm sure it's something quite simple.
Let me know if you need more info...
Thanks guys =]