amservice must be run as root....

root@scriptor:/home/manager# amservice shipping.foo.bar
<http://shipping.campus.foundations.edu> bsdtcp noop </dev/null
OPTIONS features=ff7fffff9cfeffffd3cf1300;

Wiki updated.

Still stuck...


On Fri, Mar 9, 2018 at 9:30 AM, Chris Nighswonger <
[email protected]> wrote:

> More (apparently conflicting) information. A noop works in amcheck, but
> not directly from amservice.
>
> Packet Dump server-side:
>
> ...Q.....SECURITY USER backup
>
> SERVICE noop
>
> OPTIONS features=ffffffff9efefbffffffffff3f;
>
> ..............,.....OPTIONS features=ff7fffff9cfeffffd3cf1300;
>
> ...................................SECURITY USER backup
>
> SERVICE selfcheck
>
> OPTIONS features=ffffffff9efefbffffffffff3f;maxdumps=1;hostname=
> shipping.foo.bar;config=campus;
>
> <dle>
>
> <program>DUMP</program>
>
> <estimate>SERVER</estimate>
>
> <disk encoding="raw" raw="QzovUHJvZ3JhbSBGaWxlcyAoe
> Dg2KS9TdGFtcHMuY29tIEludGVybmV0IFBvc3RhZ2U=">C:/Program_
> Files_(x86)/Stamps.com_Internet_Postage</disk>
>
> <auth>bsdtcp</auth>
>
> <compress>FAST</compress>
>
> <record>YES</record>
>
> <index>YES</index>
>
> </dle>
>
> <dle>
>
> <program>DUMP</program>
>
> <estimate>SERVER</estimate>
>
> <disk>C:/Users/auser</disk>
>
> <auth>bsdtcp</auth>
>
> <compress>FAST</compress>
>
> <record>YES</record>
>
> <index>YES</index>
>
> <exclude>
>
> <file encoding="raw" raw="QzpcVXNlcnNcbXdpbHNvblxBc
> HBEYXRhXExvY2FsXFRlbXA=">C:_Users_auser_AppData_Local_Temp</file>
>
> </exclude>
>
> </dle>
>
> ..............E.....ERROR Server validation Failed. Please register
> server with client.
>
> ..........................
>
> The results of an amservice noop server-side:
>
> backup@scriptor:~ amservice shipping.foo.bar bsdtcp noop </dev/null
> Request failed: Permission denied
>
>
> On Fri, Mar 9, 2018 at 9:20 AM, Chris Nighswonger <
> [email protected]> wrote:
>
>> One additional note: The wiki seems to think that name resolution has not
>> been working since sometime in 2010. However, it has worked fine for me for
>> years up until about a month ago.
>>
>>
>>
>> On Fri, Mar 9, 2018 at 8:59 AM, Chris Nighswonger <
>> [email protected]> wrote:
>>
>>> Jean-Louis can you help with this? Is there a way to up the verbosity
>>> level of the ZWC log?
>>>
>>>
>>>
>>> On Tue, Feb 27, 2018 at 10:43 AM, Chris Nighswonger <
>>> [email protected]> wrote:
>>>
>>>> No takers?
>>>>
>>>> The ZWC is always a hard one to gin up help for.
>>>>
>>>> An additional piece of information: DNS resolution seems to be working
>>>> fine both server and client side.
>>>>
>>>>
>>>>
>>>> On Fri, Feb 23, 2018 at 8:34 AM, Chris Nighswonger <
>>>> [email protected]> wrote:
>>>>
>>>>> Any thoughts on what might be going on here?
>>>>>
>>>>> Last week I began to have numerous Win10 clients failing in this
>>>>> fashion:
>>>>>
>>>>> backup@scriptor:/home/manager amcheck -c campus shipping.foo.bar
>>>>>
>>>>> Amanda Backup Client Hosts Check
>>>>> --------------------------------
>>>>> ERROR: shipping.foo.bar: Server validation Failed. Please register
>>>>> server with client.
>>>>> Client check: 1 host checked in 0.072 seconds.  1 problem found.
>>>>>
>>>>> Taking a look at the ZWC debug log on that client, I see the following:
>>>>>
>>>>> 11020:9144:23/2/2018:08:16:7:22::CZWCJobHandler : Entering
>>>>> ExecuteValidateServerJob
>>>>> 11020:9144:23/2/2018:08:16:7:22::CZWCJobHandler : Server address to
>>>>> be validated from the list of authentic server = 192.168.x.x
>>>>> 11020:9144:23/2/2018:08:16:7:22::CZWCJobHandler : Server name =
>>>>> 192.168.x.x
>>>>> 11020:9144:23/2/2018:08:16:7:22::CZWCJobHandler : Authentic Server
>>>>> name = scriptor.foo.bar
>>>>> 11020:9144:23/2/2018:08:16:7:22::CZWCJobHandler : Server Validation
>>>>> Failed - Server 192.168.x.x With IP 192.168.x.x is not registered
>>>>> 11020:9144:23/2/2018:08:16:7:22::CZWCJobHandler : Leaving
>>>>> ExecuteValidateServerJob
>>>>>
>>>>> However, the server is registered with the client:
>>>>>
>>>>> Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Zmanda\ZWC\1.0\Install\Servers
>>>>> value is 'scriptor.foo.bar'
>>>>>
>>>>> If I add the server IP (192.168.x.x) to the list of registered
>>>>> Servers, everything checks out fine:
>>>>>
>>>>> backup@scriptor:/home/manager amcheck -c campus shipping.foo.bar
>>>>>
>>>>> Amanda Backup Client Hosts Check
>>>>> --------------------------------
>>>>> Client check: 1 host checked in 0.071 seconds.  0 problems found.
>>>>>
>>>>> (brought to you by Amanda 3.3.6)
>>>>>
>>>>> And the ZWC debug log says:
>>>>>
>>>>> 11020:8956:23/2/2018:08:21:17:29::CZWCJobHandler : Entering
>>>>> ExecuteValidateServerJob
>>>>> 11020:8956:23/2/2018:08:21:17:29::CZWCJobHandler : Server address to
>>>>> be validated from the list of authentic server = 192.168.2.203
>>>>> 11020:8956:23/2/2018:08:21:17:29::CZWCJobHandler : Server name =
>>>>> 192.168.x.x
>>>>> 11020:8956:23/2/2018:08:21:17:29::CZWCJobHandler : Authentic Server
>>>>> name = scriptor.foo.bar
>>>>> 11020:8956:23/2/2018:08:21:17:29::CZWCJobHandler : Authentic Server
>>>>> name = 192.168.x.x
>>>>> 11020:8956:23/2/2018:08:21:17:29::CZWCJobHandler : Leaving
>>>>> ExecuteValidateServerJob
>>>>>
>>>>> Thanks,
>>>>> Chris
>>>>>
>>>>
>>>>
>>>
>>
>

Reply via email to