Hi everybody, I install a Pandora Server in Debian etch, Pandora server is correctly install (I think) but my agent don't transmite data to the server, when I write in the console(Agent): ls /var/spool/pandora/data_out/ I have many files, I think that information of the file is correctly. When I go to the server in the folder data_in, the folder is empty. If I write in the console, ssh pandora@pandora_server, the conection is stablished. The user pandora have permisions to wrote in data_in. In Pandora Console I see the servers and Pandora_data is correctly, the led is green. Any idea for this error? Sorry for my English, is very bad.
No trasmit data to Server
eloycoto · 29 ene 2009, 9:52 · 9 mensajes · 57 visitas
- Inicio del debate
Hi Eloycoto, When you do a ssh pandora@pandor_serve, do you need to enter the password? Did you you try the tentacle server?
No I don't need enter the password. The tentacle server is very good, but I need ssh (the manager don't like tentacle:()
Hi, When XML Genereted this is my XML. Is the file corectly creating?
The XML looks ok to me and your problem seems to be the transmission and not the xml generation... What user you are using to run the pandora_agent? Try to do the ssh with the same user. If it works, try to do a scp with this user and post here the results. To see if the XML is ok (appears ok to me) you can manualy copy some of them to the server data_in directory and watch the results.
Hi, Pandora Agent run with root user, I tryed scp pt-eloy.1222123123.data pandora@pandora_server:/var/spool/pandora/data_in/ (This OK) Any Idea?
Sorry, but I have no clue about this behaviour.... Every time I had problems sending the files to the server were related with ssh-keys... What versions of agent and server you are using?
I think that is the error, When I do /etc/init.d/pandora_agent_start, generetes a correct files in /var/spool/pandora/data_out/ but my time interval is 300 s, but crontab don't work correctly because don't have more files. When I go to log I see: 2009/01/30 13:43:46 - [SETUP] - Interval is 300 seconds 2009/01/30 13:43:46 - [SETUP] - Debug mode is 1 2009/01/30 13:43:46 - [SETUP] - Server Port is 22 2009/01/30 13:43:46 - [SETUP] - Transfer Mode is ssh 2009/01/30 13:43:47 - Finish writing XML /var/spool/pandora/data_out/pt-eloy.1233319427.data I don't see the SCP comand in this action, but in line 187 /usr/bin/pandora_agent I see that SCP send a error, but my log don't have this error. I see the logs, and don't create the files when pass five minutes.... In the pandora_agent.log.err I see nohup error, Can I be that the crontab don't run correctly? Sorry my version of pandora Server and agents are the 2.0
Hi eloycoto, note that you are running the agent in "debug" mode: 2009/01/30 13:43:46 - [SETUP] - Debug mode is 1 if it's in debug mode, it won't send the files to the server. Change the option: # Debug mode only generate XML, and stop after first execution, # and does not copy XML to server. debug 0 Cheers.
Entra en tu cuenta para publicar.
