Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unable to configure SMB share for log archiving

I'm trying to configure ASG to archive my logs to a share on my local NAS.  It allowed me to enter the necessary parameters when I initially set it up, but I subsequently discovered I made an error in the share definition.  However, now when I try to apply the updated information, the WebAdmin interface blinks a red box around the Host field and pops up the following message in red text:
Cannot apply changes:
conflicting data types for specified node


The host definition I'm using is not used anywhere else.  I've also tried creating a completely new host definition, and I've also tried both Host and DNS Host definitions; it won't accept any of them.

Any and all suggestions welcomed!

Thanks.


This thread was automatically locked due to age.
Parents
  • They say the first sign of madness is repeating the same steps expecting a different result, but that's exactly what just happened.  As I was repeating the same steps over and over while examining the live logs, all of a sudden it started accepting my input!

    Or at least it says it has.  I get a green "Changes have been applied successfully" message, but the Host field reverts to what was there before, not the updated value that it claims it just accepted. [:S]

    When I try a test connection, I get the following:

    loginuser@astaro:/home/login > logarchiver.plx -t -d 15
    DEBUG: **************************************************
    DEBUG: logarchiver.pl ($Revision: 1.33.2.1.2.1 $)
    DEBUG: Options:
    DEBUG:  - debug mode: 15
    DEBUG:  - remote archive testing run
    DEBUG: **************************************************
    DEBUG: * doing remote storage test...
    DEBUG: - writing test file: /opt/tmpfs/remote-log-test.txt
    DEBUG: - storing test file...
     INFO: - doing remote storage via smb
    DEBUG: found data: (key:REMOTE_HOST) 192.168.0.8
    DEBUG: found data: (key:REMOTE_USER) backup
    DEBUG: found data: (key:REMOTE_PASS) ******xx
    DEBUG: found data: (key:REMOTE_SHARE) Backups\Astaro
    DEBUG: smbclient //192.168.0.8/Backups\Astaro -U backup%******xx -W tower -c put /opt/tmpfs/remote-log-test.txt remote-log-test.txt
    DEBUG: file exists: yes
    params.c[:$]penConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
            No such file or directory
    /usr/sbin/smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it
    Domain=[TOWER] OS=[Unix] Server=[Samba 3.3.7]
    tree connect failed: NT_STATUS_BAD_NETWORK_NAME
     WARN: couldn't store logfile archive remotely! Error code was: 1
    DEBUG: -> failed!
    loginuser@astaro:/home/login >


    So the symptoms have changed, but the end result - broken SMB archiving - remains.

    I feel a support case coming on. [:(]
Reply
  • They say the first sign of madness is repeating the same steps expecting a different result, but that's exactly what just happened.  As I was repeating the same steps over and over while examining the live logs, all of a sudden it started accepting my input!

    Or at least it says it has.  I get a green "Changes have been applied successfully" message, but the Host field reverts to what was there before, not the updated value that it claims it just accepted. [:S]

    When I try a test connection, I get the following:

    loginuser@astaro:/home/login > logarchiver.plx -t -d 15
    DEBUG: **************************************************
    DEBUG: logarchiver.pl ($Revision: 1.33.2.1.2.1 $)
    DEBUG: Options:
    DEBUG:  - debug mode: 15
    DEBUG:  - remote archive testing run
    DEBUG: **************************************************
    DEBUG: * doing remote storage test...
    DEBUG: - writing test file: /opt/tmpfs/remote-log-test.txt
    DEBUG: - storing test file...
     INFO: - doing remote storage via smb
    DEBUG: found data: (key:REMOTE_HOST) 192.168.0.8
    DEBUG: found data: (key:REMOTE_USER) backup
    DEBUG: found data: (key:REMOTE_PASS) ******xx
    DEBUG: found data: (key:REMOTE_SHARE) Backups\Astaro
    DEBUG: smbclient //192.168.0.8/Backups\Astaro -U backup%******xx -W tower -c put /opt/tmpfs/remote-log-test.txt remote-log-test.txt
    DEBUG: file exists: yes
    params.c[:$]penConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
            No such file or directory
    /usr/sbin/smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it
    Domain=[TOWER] OS=[Unix] Server=[Samba 3.3.7]
    tree connect failed: NT_STATUS_BAD_NETWORK_NAME
     WARN: couldn't store logfile archive remotely! Error code was: 1
    DEBUG: -> failed!
    loginuser@astaro:/home/login >


    So the symptoms have changed, but the end result - broken SMB archiving - remains.

    I feel a support case coming on. [:(]
Children
No Data