::
Additional information about this issue:
The pandora_agent daemon is running properly by the user it’s meant to be:
# ps -aux | grep pandora
foo 15345 0.0 0.8 50088 8620 ? SN Nov11 0:00 /usr/bin/perl /usr/bin/pandora_agent /etc/pandora
This same user is the owner of the log folder:
# ls -lah /var/log/pandora/*
-rw-r—– 1 foo ubuntu 22K Nov 12 13:59 /var/log/pandora/pandora_agent.log
The user is allowed to run the pandora_agent as root:
# Allow foo to run pandora_agent
foo ALL=(ALL) NOPASSWD:/etc/init.d/pandora_agent_daemon
Here’s the log output:
# cat /var/log/pandora/pandora_agent.log
2015/11/11 18:26:27 – [log] – Running as user foo
2015/11/11 18:26:27 – [setup] – server_ip is http://ftp.example.com
2015/11/11 18:26:27 – [setup] – server_path is /var/spool/pandora/data_in
2015/11/11 18:26:27 – [setup] – temporal is /tmp
2015/11/11 18:26:27 – [setup] – logfile is /var/log/pandora/pandora_agent.log
2015/11/11 18:26:27 – [setup] – interval is 300
2015/11/11 18:26:27 – [setup] – debug is 0
2015/11/11 18:26:27 – [setup] – agent_name is Some Agent Name
2015/11/11 18:26:27 – [setup] – address is foo.example.com
2015/11/11 18:26:27 – [setup] – encoding is UTF-8
2015/11/11 18:26:27 – [setup] – server_port is 21
2015/11/11 18:26:27 – [setup] – transfer_mode is ftp
2015/11/11 18:26:27 – [setup] – server_pwd is somepass
2015/11/11 18:26:27 – [setup] – server_opts is -p
2015/11/11 18:26:27 – [setup] – remote_config is 0
2015/11/11 18:26:27 – [setup] – pandora_user is foo
2015/11/11 18:26:27 – [setup] – xml_buffer is 1
2015/11/11 18:26:27 – [setup] – temporal_min_size is 1024
2015/11/11 18:26:27 – [setup] – include is /etc/pandora/plainlinux.conf
2015/11/11 18:26:27 – [setup] – reading /etc/pandora/plainlinux.conf
2015/11/11 18:26:27 – [log] – Thread is disabled.