Submit a ticketCall us

Quickly Address Software Vulnerabilities
Patch Manager is an intuitive patch management software which extends the capabilities of WSUS and SCCM to not only patch Windows® servers and workstations, and Microsoft® applications, but also other 3rd-party applications which are commonly exploited by hackers. Learn More.

 

Home > Success Center > Log & Event Manager (LEM) > Exportsyslog command fails to export

Exportsyslog command fails to export

Updated March 13, 2017

Overview

When using the root of a share, the exportsyslog command fails to export with the below errors:

Use of uninitialized value $path in concatenation (.) or string at /usr/local/contego/scripts/exportsyslog.pl line 324, <STDIN> line 8.

syslog.1473343315.tar.gz: Not enough '\' characters in service
Usage: smbclient [-?EgBVNkPeC] [-?|--help] [--usage]
        [-R|--name-resolve=NAME-RESOLVE-ORDER] [-M|--message=HOST]
        [-I|--ip-address=IP] [-E|--stderr] [-L|--list=HOST]
        [-m|--max-protocol=LEVEL] [-T|--tar=<c|x>IXFqgbNan]
        [-D|--directory=DIR] [-c|--command=STRING] [-b|--send-buffer=BYTES]
        [-p|--port=PORT] [-g|--grepable] [-B|--browse]
        [-d|--debuglevel=DEBUGLEVEL] [-s|--configfile=CONFIGFILE]
        [-l|--log-basename=LOGFILEBASE] [-V|--version]
        [-O|--socket-options=SOCKETOPTIONS] [-n|--netbiosname=NETBIOSNAME]
        [-W|--workgroup=WORKGROUP] [-i|--scope=SCOPE] [-U|--user=USERNAME]
        [-N|--no-pass] [-k|--kerberos] [-A|--authentication-file=FILE]
        [-S|--signing=on|off|required] [-P|--machine-pass] [-e|--encrypt]
        [-C|--use-ccache] service <password>
ERROR: An error occurred uploading files

Environment

LEM 6.3.1

Cause 

There is an error in the script that is run when the exportsyslog command runs.

Resolution

Instead of using the root of the share, put the files one level deeper.

For example instead of \\server\share, use \\server\share\folder.

 

Last modified
17:33, 12 Mar 2017

Tags

Classifications

Public