Community discussions

MikroTik App
 
Taisa
just joined
Topic Author
Posts: 23
Joined: Tue Jun 02, 2009 6:56 pm

Export problems on 5.5 with php script

Fri Jul 22, 2011 6:41 pm

Hello. I have a question. Is bug or what? I've written some time ago a small script in php, that log in each RB and executes command "export". Then script save gathered data into files - you could say - easy buckup. Everything worked fine on 3.x , but on 5.5 my script stops suddenly - "segmentation fault". It stops exactly when MT gets command "export", if for example I send command "int wir export" error occurs too :-(, but if I do "system export" or smth else - error doesn;t occur. Do you have an idea what's wrong?
 
Taisa
just joined
Topic Author
Posts: 23
Joined: Tue Jun 02, 2009 6:56 pm

Re: Export problems on 5.5 with php script

Fri Jul 22, 2011 11:35 pm

I found smth. Error occurs, whenever there's more data to gather. If the output is small - 4-5 lines - that's ok, but when there's a few more lines - script stops. Really strange.
 
Taisa
just joined
Topic Author
Posts: 23
Joined: Tue Jun 02, 2009 6:56 pm

Re: Export problems on 5.5 with php script

Sat Jul 23, 2011 10:03 pm

I think it;s a bug in Mikrotik. Segmentation fault occurs, whenever output is bigger than few lines :-(. As I said before - the problem doesn;t occur in MT 3.x. I asked some php programmers. They said its impossible that could be php fault :-(