Page 1 of 1

Export problems on 5.5 with php script

Posted: Fri Jul 22, 2011 6:41 pm
by Taisa
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?

Re: Export problems on 5.5 with php script

Posted: Fri Jul 22, 2011 11:35 pm
by Taisa
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.

Re: Export problems on 5.5 with php script

Posted: Sat Jul 23, 2011 10:03 pm
by Taisa
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 :-(