Menu

syncronization data

Kalicharan
2012-09-24
2012-12-19
  • Kalicharan

    Kalicharan - 2012-09-24

    **Hi All

    i need ur help regarding data Synchronization through ITOp. i have created a object of target class Server and it create a temprory table in database of that class,  and then i run  synchro_exex.php script through command line it comes with the following error.

    php -q synchro_exec.php -auth_user=<login> -auth_pwd=<password> -data_sources=<comma_separated_list_of_data_sources>

    I have  to synchronize External server through Itop.
    i am a beginner ,can u people please help me for this.

    Thanx
    **

     
  • TheBigOne

    TheBigOne - 2012-09-24

    Hi

    this "error" ist just the "usage" function of synchro_exec.php which means that you missed to give some required options.

    You should post your complete commandline (excluding password) to get some help.

    php -q synchro_exec.php -auth_user=<login> -auth_pwd=<password> -data_sources=<comma_separated_list_of_data_sources>

     
  • Kalicharan

    Kalicharan - 2012-09-25

    **Thanx for the Response sir.

    here is the actual command line that i typed.

    root@ubuntu:/var/www/web/synchro# php -q synchro_exec.php  -auth_login=administrator -auth_pwd=mypassword -data_sources=7
    ERROR: Missing argument 'auth_user'

    USAGE:

    php -q synchro_exec.php -auth_user=<login> -auth_pwd=<password> -data_sources=<comma_separated_list_of_data_sources>

    Sir i am testing this synchronization on local host..
    Sir plz tell me the steps i should follow for successful synchronization as i told u i am a beginner.

    Thanx**

     
  • Erwan Taloc

    Erwan Taloc - 2012-09-25

    Hi Mitul123

    The answer is in the usage explanation

    USAGE:
    php -q synchro_exec.php -auth_user=<login> -auth_pwd=<password> -data_sources=<comma_separated_list_of_data_sources>

    You have to specify -auth_user=….  and not -auth_login

    Hope this helps

    Erwan

     
  • Kalicharan

    Kalicharan - 2012-09-25

    Thank you so much Erwan

    That was a silly mistake.

    Now it works fine.

     
  • Kalicharan

    Kalicharan - 2012-09-25

    I need one More favor..

    Now i can i run a cron job for automatic execution of this script after 1 hour. 

    Thnx

     
  • Kalicharan

    Kalicharan - 2012-09-25

    ** I need one More favor..
    Now how i can  run a cron job for automatic execution of this script after 1 hour.

    Thnx **

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.