Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: PROBLEM: Debian Amanda 2.5.1p1 to Windows client = not allowed to execute noop

  1. #1

    Default PROBLEM: Debian Amanda 2.5.1p1 to Windows client = not allowed to execute noop

    Hi folks,

    I'm running Debian Amanda 2.5.1p1 to the current Windows client. I'm authenticating bsdtcp.

    When I run amcheck -c dailyv, I get the following error:

    Code:
    ERROR: NAK wtbase: user backup from batina, is not allowed to execute the service noop: Please add "amdump" to the line in /var/lib/amanda/.amandahosts on the client
    The error message seems very odd to me. amdump does not exist in the zmanda windows client distribution, nor does it exist in Debian's client distribution, so I'm pretty sure there's some kind of incompatibility or error here.

    But to humor the client I've added:

    Code:
    /var/lib/amanda/.amandahosts:
    batina backup amdump
    But it does no good at all. :( Same error message.

    The zmanda client logs show the following:

    Code:
    
    
    
    amandad: debug 1 pid 5012 ruid 2177 euid 2177: start at Wed Jul 11 17:14:51 2007
    Reading conf file "/etc/amanda/amanda-client.conf".
    amandad: time 0.000: security_getdriver(name=bsdtcp) returns 0x4281f0
    amandad: version 2.5.2p1
    amandad: time 0.000: build: VERSION="Amanda-2.5.2p1"
    amandad: time 0.000:        BUILT_DATE="Wed Jun 6 22:18:20 PDT 2007"
    amandad: time 0.000:        BUILT_MACH="CYGWIN_NT-5.1 windows-build 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin"
    amandad: time 0.000:        CC="gcc" CONFIGURE_COMMAND="'./configure' 'cygwin'"
    amandad: time 0.000: paths: bindir="/usr/bin" sbindir="/usr/sbin"
    amandad: time 0.000:        libexecdir="/usr/lib/amanda" mandir="/usr/man"
    amandad: time 0.000:        AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
    amandad: time 0.000:        CONFIG_DIR="/etc/amanda" DEV_PREFIX="/" RDEV_PREFIX="/"
    amandad: time 0.000:        DUMP="/bin/dump" RESTORE="/usr/sbin/restore" VDUMP=UNDEF
    amandad: time 0.000:        VRESTORE=UNDEF XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF
    amandad: time 0.000:        VXRESTORE=UNDEF SAMBA_CLIENT=UNDEF GNUTAR="/bin/tar.exe"
    amandad: time 0.000:        COMPRESS_PATH="/usr/bin/gzip"
    amandad: time 0.000:        UNCOMPRESS_PATH="/usr/bin/gzip" LPRCMD="/usr/bin/lpr"
    amandad: time 0.000:        MAILER="NONE"
    amandad: time 0.000:        listed_incr_dir="/var/lib/amanda/gnutar-lists"
    amandad: time 0.000: defs:  DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1"
    amandad: time 0.000:        DEFAULT_TAPE_SERVER="localhost" NEED_STRSTR HAVE_SYSVSHM
    amandad: time 0.000:        LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
    amandad: time 0.000:        AMANDA_DEBUG_DAYS=4 BSD_SECURITY RSH_SECURITY USE_AMANDAHOSTS
    amandad: time 0.000:        CLIENT_LOGIN="amandabackup" HAVE_GZIP
    amandad: time 0.000:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
    amandad: time 0.000:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
    amandad: time 0.000: security_handleinit(handle=0xad7380, driver=0x4281f0 (BSDTCP))
    amandad: time 0.000: security_streaminit(stream=0xad7b48, driver=0x4281f0 (BSDTCP))
    amandad: time 0.000: security_seterror(handle=0xad7380, driver=0x4281f0 (BSDTCP) error=user backup from batina, is not allowed to execute the service noop: Please add "amdump" to the line in /var/lib/amanda/.amandahosts on the client)
    amandad: time 0.000: accept error: user backup from batina, is not allowed to execute the service noop: Please add "amdump" to the line in /var/lib/amanda/.amandahosts on the client
    amandad: time 0.000: sending NAK pkt:
    <<<<<
    ERROR user backup from batina, is not allowed to execute the service noop: Please add "amdump" to the line in /var/lib/amanda/.amandahosts on the client
    >>>>>
    amandad: time 0.000: security_close(handle=0xad7380, driver=0x4281f0 (BSDTCP))
    amandad: time 0.000: security_stream_close(0xad7b48)
    amandad: time 158.734: pid 5012 finish time Wed Jul 11 17:17:30 2007
    Any help out there?

    Many thanks,
    -judd

  2. #2
    Join Date
    Oct 2005
    Posts
    1,559

    Default

    Quote Originally Posted by juddmaltin View Post
    Hi folks,

    I'm running Debian Amanda 2.5.1p1 to the current Windows client. I'm authenticating bsdtcp.

    When I run amcheck -c dailyv, I get the following error:

    Code:
    ERROR: NAK wtbase: user backup from batina, is not allowed to execute the service noop: Please add "amdump" to the line in /var/lib/amanda/.amandahosts on the client
    The error message seems very odd to me. amdump does not exist in the zmanda windows client distribution, nor does it exist in Debian's client distribution, so I'm pretty sure there's some kind of incompatibility or error here.

    But to humor the client I've added:

    Code:
    /var/lib/amanda/.amandahosts:
    batina backup amdump
    But it does no good at all. Same error message.

    The zmanda client logs show the following:

    Code:
    
    
    
    amandad: debug 1 pid 5012 ruid 2177 euid 2177: start at Wed Jul 11 17:14:51 2007
    Reading conf file "/etc/amanda/amanda-client.conf".
    amandad: time 0.000: security_getdriver(name=bsdtcp) returns 0x4281f0
    amandad: version 2.5.2p1
    amandad: time 0.000: build: VERSION="Amanda-2.5.2p1"
    amandad: time 0.000:        BUILT_DATE="Wed Jun 6 22:18:20 PDT 2007"
    amandad: time 0.000:        BUILT_MACH="CYGWIN_NT-5.1 windows-build 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin"
    amandad: time 0.000:        CC="gcc" CONFIGURE_COMMAND="'./configure' 'cygwin'"
    amandad: time 0.000: paths: bindir="/usr/bin" sbindir="/usr/sbin"
    amandad: time 0.000:        libexecdir="/usr/lib/amanda" mandir="/usr/man"
    amandad: time 0.000:        AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
    amandad: time 0.000:        CONFIG_DIR="/etc/amanda" DEV_PREFIX="/" RDEV_PREFIX="/"
    amandad: time 0.000:        DUMP="/bin/dump" RESTORE="/usr/sbin/restore" VDUMP=UNDEF
    amandad: time 0.000:        VRESTORE=UNDEF XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF
    amandad: time 0.000:        VXRESTORE=UNDEF SAMBA_CLIENT=UNDEF GNUTAR="/bin/tar.exe"
    amandad: time 0.000:        COMPRESS_PATH="/usr/bin/gzip"
    amandad: time 0.000:        UNCOMPRESS_PATH="/usr/bin/gzip" LPRCMD="/usr/bin/lpr"
    amandad: time 0.000:        MAILER="NONE"
    amandad: time 0.000:        listed_incr_dir="/var/lib/amanda/gnutar-lists"
    amandad: time 0.000: defs:  DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1"
    amandad: time 0.000:        DEFAULT_TAPE_SERVER="localhost" NEED_STRSTR HAVE_SYSVSHM
    amandad: time 0.000:        LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
    amandad: time 0.000:        AMANDA_DEBUG_DAYS=4 BSD_SECURITY RSH_SECURITY USE_AMANDAHOSTS
    amandad: time 0.000:        CLIENT_LOGIN="amandabackup" HAVE_GZIP
    amandad: time 0.000:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
    amandad: time 0.000:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
    amandad: time 0.000: security_handleinit(handle=0xad7380, driver=0x4281f0 (BSDTCP))
    amandad: time 0.000: security_streaminit(stream=0xad7b48, driver=0x4281f0 (BSDTCP))
    amandad: time 0.000: security_seterror(handle=0xad7380, driver=0x4281f0 (BSDTCP) error=user backup from batina, is not allowed to execute the service noop: Please add "amdump" to the line in /var/lib/amanda/.amandahosts on the client)
    amandad: time 0.000: accept error: user backup from batina, is not allowed to execute the service noop: Please add "amdump" to the line in /var/lib/amanda/.amandahosts on the client
    amandad: time 0.000: sending NAK pkt:
    <<<<<
    ERROR user backup from batina, is not allowed to execute the service noop: Please add "amdump" to the line in /var/lib/amanda/.amandahosts on the client
    >>>>>
    amandad: time 0.000: security_close(handle=0xad7380, driver=0x4281f0 (BSDTCP))
    amandad: time 0.000: security_stream_close(0xad7b48)
    amandad: time 158.734: pid 5012 finish time Wed Jul 11 17:17:30 2007
    Any help out there?

    Many thanks,
    -judd

    Adding amdump entry to client .amandahosts allows Amanda server running amdump
    to contact the client.

    Did you modify the correct file on the windows client? See [url]http://wiki.zmanda.com/index.php/Windows_client#List_of_configuration_files_in_the_ Windows_client[/url]
    for .amandahosts location on Windows client

    See Troubleshooting section ([url]http://wiki.zmanda.com/index.php/Planner:_ERROR_amanda_user_is_not_allowed_to_execu te_the_service_noop[/url]) for more information.

    Paddy

  3. #3

    Default

    Hi Peggy,

    Thanks for your quick response.

    Yes, my .amandahosts is the correct file. I can make sure by changing it's permissions and getting the following error:

    Code:
    Amanda Backup Client Hosts Check
    --------------------------------
    ERROR: NAK wtbase: user backup from batina, is not allowed to execute the service noop: /var/lib/amanda/.amandahosts: incorrect permissions; file must be accessible only by its owner
    Client check: 11 hosts checked in 0.680 seconds, 1 problem found
    
    (brought to you by Amanda 2.5.1p1)
    So I changed the permissions back to 400, and I receive, as earlier, the "cannot execute ther service noop" message.

    I really do appreciate any help with this.

    -judd

  4. #4

    Question

    I'm getting an identical message using WhiteBox Enterprise 4 as host and Windows Server 2000 as client. Both are members of the domain and joined to AD. I have added amdump to the .amandahosts file, as directed, and checked and corrected all permissions. I get the same message each time.

    ERROR: NAK <windows client>: user amandabackup from <amanda linux server> is not allowed to execute the service noop: Please add "amdump" to the line in /var/lib/amanda/.amandahosts on the client

    Can someone help, please?

  5. #5
    Join Date
    Oct 2005
    Posts
    1,559

    Default

    Quote Originally Posted by JohnWheaton View Post
    I'm getting an identical message using WhiteBox Enterprise 4 as host and Windows Server 2000 as client. Both are members of the domain and joined to AD. I have added amdump to the .amandahosts file, as directed, and checked and corrected all permissions. I get the same message each time.

    ERROR: NAK <windows client>: user amandabackup from <amanda linux server> is not allowed to execute the service noop: Please add "amdump" to the line in /var/lib/amanda/.amandahosts on the client

    Can someone help, please?
    What version of Amanda are you running on the server? Are you using packages from [URL=http://www.zmanda.com/download-amanda.php]Zmanda downloads[/URL] page?

    Please post the contents of .amandahosts file.

    Paddy

  6. #6

    Default

    I'm using 2.5.2p1. Here's the .amandahosts file:

    sevenofnine.stfrancishighschool.com [email protected] amdump
    sevenofnine.stfrancishighschool.com root amindexd amidxtaped
    sevenofnine.stfrancishighschool.com amandabackup amdump

    sevenofnine is the Linux server. amandabackup is a user on the client (dax.stfrancishighschool.com) and on the server, of course.

    Both the client and server can ping each other. Both are listed in AD. There seem to be no DNS issues. So I basically stumped.

  7. #7
    Join Date
    Oct 2005
    Location
    Bay Area, CA
    Posts
    124

    Default

    >sevenofnine.stfrancishighschool.com [email protected] amdump

    try to take the above line out.

    >sevenofnine.stfrancishighschool.com root amindexd amidxtaped
    >sevenofnine.stfrancishighschool.com amandabackup amdump

    try to add the line
    sevenofnine amandabackup amdump

    Run amcheck again, cut and paste the error message and list /tmp/amanda/amandad/*debug* file.

  8. #8

    Default

    Done. Here's the text of the debug file:

    ==========================================
    amandad: debug 1 pid 3036 ruid 1010 euid 1010: start at Tue Oct 9 09:38:22 2007
    Reading conf file "/etc/amanda/amanda-client.conf".
    amandad: time 0.109: security_getdriver(name=bsdtcp) returns 0x4281f0
    amandad: version 2.5.2p1
    amandad: time 0.109: build: VERSION="Amanda-2.5.2p1"
    amandad: time 0.109: BUILT_DATE="Wed Jun 6 22:18:20 PDT 2007"
    amandad: time 0.109: BUILT_MACH="CYGWIN_NT-5.1 windows-build 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin"
    amandad: time 0.109: CC="gcc" CONFIGURE_COMMAND="'./configure' 'cygwin'"
    amandad: time 0.109: paths: bindir="/usr/bin" sbindir="/usr/sbin"
    amandad: time 0.109: libexecdir="/usr/lib/amanda" mandir="/usr/man"
    amandad: time 0.109: AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
    amandad: time 0.109: CONFIG_DIR="/etc/amanda" DEV_PREFIX="/" RDEV_PREFIX="/"
    amandad: time 0.109: DUMP="/bin/dump" RESTORE="/usr/sbin/restore" VDUMP=UNDEF
    amandad: time 0.109: VRESTORE=UNDEF XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF
    amandad: time 0.109: VXRESTORE=UNDEF SAMBA_CLIENT=UNDEF GNUTAR="/bin/tar.exe"
    amandad: time 0.109: COMPRESS_PATH="/usr/bin/gzip"
    amandad: time 0.109: UNCOMPRESS_PATH="/usr/bin/gzip" LPRCMD="/usr/bin/lpr"
    amandad: time 0.109: MAILER="NONE"
    amandad: time 0.109: listed_incr_dir="/var/lib/amanda/gnutar-lists"
    amandad: time 0.109: defs: DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1"
    amandad: time 0.109: DEFAULT_TAPE_SERVER="localhost" NEED_STRSTR HAVE_SYSVSHM
    amandad: time 0.109: LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
    amandad: time 0.109: AMANDA_DEBUG_DAYS=4 BSD_SECURITY RSH_SECURITY USE_AMANDAHOSTS
    amandad: time 0.109: CLIENT_LOGIN="amandabackup" HAVE_GZIP
    amandad: time 0.109: COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
    amandad: time 0.109: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
    amandad: time 0.187: security_handleinit(handle=0x684578, driver=0x4281f0 (BSDTCP))
    amandad: time 0.187: security_streaminit(stream=0x684d98, driver=0x4281f0 (BSDTCP))
    amandad: time 0.187: security_seterror(handle=0x684578, driver=0x4281f0 (BSDTCP) error=user amandabackup from sevenofnine.stfrancishighschool.com is not allowed to execute the service noop: Please add "amdump" to the line in /var/lib/amanda/.amandahosts on the client)
    amandad: time 0.187: accept error: user amandabackup from sevenofnine.stfrancishighschool.com is not allowed to execute the service noop: Please add "amdump" to the line in /var/lib/amanda/.amandahosts on the client
    amandad: time 0.187: sending NAK pkt:
    <<<<<
    ERROR user amandabackup from sevenofnine.stfrancishighschool.com is not allowed to execute the service noop: Please add "amdump" to the line in /var/lib/amanda/.amandahosts on the client
    >>>>>
    amandad: time 0.187: security_close(handle=0x684578, driver=0x4281f0 (BSDTCP))
    amandad: time 0.187: security_stream_close(0x684d98)
    amandad: time 0.187: pid 3036 finish time Tue Oct 9 09:38:22 2007
    ================================================== =

  9. #9

    Default

    I amalso getting this event logged by Windows:
    Application popup: noop.exe - Unable To Locate DLL : The dynamic link library cygwin1.dll could not be found in the specified path C:\cygwin\lib\amanda;.;C:\WINNT\system32;C:\WINNT\ system;C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINN T\System32\Wbem;F:\oracle\product\10.2.0\db_1\bin; ;C:\PROGRA~1\CA\SHARED~1\SCANEN~1.

  10. #10
    Join Date
    Oct 2005
    Location
    Bay Area, CA
    Posts
    124

    Default

    Please see if cygwin1.dll is installed anywhere on the client machine. If installed, moving it to the right path might help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •