Log exporting is failing. :(

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Log exporting is failing. :(

L2 Linker

Have export of traffic /threat/url etc set up on log export
All setup to use SCP.
Target linux server is setup correctly.
Test SCP server connection works correctly (see attach word doc)
Job fails with an error in system log :

Failed exporting data log via ssh (last-calendar-day) to 192.168.252.61. Permission denied, please try again..' )

Also tested everything is OK by running export from command line , this works , see log below:


****@sd061(active)> scp export log traffic to data-paloalto-prd@192.168.252.61:/home/data-paloalto-prd/sd060logs/sd060-20150914x start-time equal 2015/09/11@00:00:00 end-time equal 2015/09/14@10:09:00
(container-tag: export container-tag: log container-tag: traffic leaf-tag: to value: data-paloalto-prd@192.168.252.61:/home/data-paloalto-prd/sd060logs/sd060-20150914x container-tag: start-time leaf-tag: equal value: 2015/09/11@00:00:00 pop-tag: container-tag: end-time leaf-tag: equal value: 2015/09/14@10:09:00 pop-tag: pop-tag: pop-tag: pop-tag:)
((eol-matched: . #t) (cli-handler: . scp-handler) (context-inserted-at-end-p: . #f))
/usr/local/bin/pan_logquery  -L 3600 -b -t traffic -t1 1441926000 -t2 1442221740 2> /dev/null | /usr/bin/ssh 'data-paloalto-prd@192.168.252.61' ' cat > /home/data-paloalto-prd/sd060logs/sd060-20150914x '
data-paloalto-prd@192.168.252.61's password:
Marking log as exported successfully...
/usr/local/bin/pan_slog -t 1 -s 1 -o 'Succeed to export traffic log (2015/09/11@00:00:00 - 2015/09/14@10:09:00)'
/usr/local/bin/pan_logquery  -L 3600 -b -t traffic -t1 1441926000 -t2 1442221740 -m  1> /dev/null
'cfg.reportd.enable': NO_MATCHES
2015-09-14 10:41:26.518 +0100 Error:  pan_logdb_update_file_construct(pan_logdb.c:474): update file: /opt/panlogs/logdb/traffic/1/20150914/pan.0000000000.log.actionflags.updatefile exists but of wrong size: 800891 expected size: 809485
/usr/local/bin/pan_slog -t 1 -s 1 -o 'Succeed to mark traffic log as exported'

 

May you please help?

3 REPLIES 3

L6 Presenter

Hi...Please contact Support so that we can troubleshoot the SCP issue that you are experiencing.  Thanks.

L2 Linker

Hello,

I know this is a very old thread, but did anyone get around to fix the permission issue?

I am trying to run a manual scp export config-bundle from the CLI but it is also giving Permission Denied although I am issuing this command as a superuser.

Any thoughts?

Did you get this?

  • 4302 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!