10-28-2009 06:52 AM
Hi, everybody.
I have problem with importing larger number of devices into MARS using Load from Seed File funcionality. I successfully connect to FTP server but I receive following error:
Status: Errors occured while retrieving csv file from ftp server. sed: can't read /tmp/mars.csv: No such file or directory while executing "exec sed -i "s/\15//g" /tmp/$fileName" (file "./ftpconfig.exp" line 243)
Any ideas how to resolve it ?
Thanks in advance
Marko
Solved! Go to Solution.
11-02-2009 08:41 AM
Hello,
It seems to me that if you have any of the following characters in SNMP string "/\.*[]^$" it could make problems to sed which is parsing the file. Try to change SNMP strings to avoid those characters.
BR,
--
Marko
10-29-2009 08:41 AM
Can you try breaking the seed files contents into two different files?
10-30-2009 02:14 AM
Hi.
I did this. I made smaller 5 lines file which includes just IP's and snmp string data for hosts. Stil same message.
10-30-2009 01:22 PM
Is it possible to post your seed file after replacing sensitive information with dummy values?
Regards
Farrukh
11-02-2009 01:09 AM
11-02-2009 08:41 AM
Hello,
It seems to me that if you have any of the following characters in SNMP string "/\.*[]^$" it could make problems to sed which is parsing the file. Try to change SNMP strings to avoid those characters.
BR,
--
Marko
11-08-2009 11:39 PM
Hello, Marko.
This is true. I have '$' in my snmp string. But I've tried also with different snmp string with no special characters and the problem still persists.
Best regards,
Marko
11-13-2009 01:46 AM
H, everybody.
Sorry to bother you all because the mistake was realy something completely different. Importing the file via ftp uses passive ftp and there were some problems with permission of hat traffic.
Thank you again.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide