Community discussions

MUM Europe 2020
 
fivenetwork
newbie
Topic Author
Posts: 45
Joined: Thu Jul 08, 2004 4:39 am

Weird Problem

Thu Jul 08, 2004 4:56 am

We use a very basic script to backup our configs.

/export file=test;/tool e-mail send file=test to=abc@xyz.com subject=TestBackup;


We have about 30 odd Mikrotik depoyed in various locations for various purposes. The above script works in almost all locations but on some routers it fails with the error message "Not Enough Permitions".

The very same OS version works fine with this script in other places. This error occurs only in few installations.

Any idea whats going on?
 
edzix
Member
Member
Posts: 335
Joined: Thu Jul 01, 2004 3:01 pm
Location: Latvia

Thu Jul 08, 2004 12:32 pm

you should chech under '/user' menu and set the necessary permissions for users/groups (whis are logged in while the script is executed).

Edgars
 
fivenetwork
newbie
Topic Author
Posts: 45
Joined: Thu Jul 08, 2004 4:39 am

Sat Jul 10, 2004 5:53 am

Yeah. thats the first thing we thought of.

All scripts are ALWAYS created by the user 'admin'. admin has full rights.

Now what?
 
Bill
Frequent Visitor
Frequent Visitor
Posts: 70
Joined: Fri May 28, 2004 4:24 pm
Location: Nevada

Sat Jul 10, 2004 10:38 am

Check to make sure the User executing the script has sufficient rights to do so. It may be created by Admin, but someone else may be set to run it in those problem locations.
 
fivenetwork
newbie
Topic Author
Posts: 45
Joined: Thu Jul 08, 2004 4:39 am

Sat Jul 10, 2004 3:03 pm

Nopes. Done that too. admin is the one set to execute those scripts.
 
User avatar
lastguru
Trainer
Trainer
Posts: 435
Joined: Fri May 28, 2004 9:04 pm
Location: Certified Trainer/Consultant in Riga, Latvia
Contact:

Sat Jul 10, 2004 4:28 pm

If the script is created under /system script , check if it has the correct policy.
 
fivenetwork
newbie
Topic Author
Posts: 45
Joined: Thu Jul 08, 2004 4:39 am

Mon Jul 12, 2004 12:26 pm

script is created under /sys script and it has ALL policys enabled.
 
edzix
Member
Member
Posts: 335
Joined: Thu Jul 01, 2004 3:01 pm
Location: Latvia

Mon Jul 12, 2004 12:28 pm

make a supoutput file on one of these routers and send to support@mikrotik.com

Edgars
 
fivenetwork
newbie
Topic Author
Posts: 45
Joined: Thu Jul 08, 2004 4:39 am

Mon Jul 19, 2004 1:14 pm

Now this is real interesting.

I recreated , not copied, the exact script but with a different name and that works!

Who is online

Users browsing this forum: chris91, Google [Bot], rogerking1 and 73 guests