I recently ran into this error when running a file transfer job in a new v12 system:
U02001007 User 'testuser1' is unknown or an invalid password has been provided.
I double-checked, and confirmed that the user exists and is correctly defined in the LOGIN object. The same job worked fine in our v11 system. I opened an incident with Automic Support about this back in July. Last week Automic finally helped find the cause of the problem.
It turns out that when the new v12 system was set up, some of the system settings were not copied over from the v11 system. Among these were the
ANONYMOUS_X options in UC_HOSTCHAR_DEFAULT. Once I set ANONYMOUS_FT to Y, the problem went away.
I noticed that once these three options had been enabled, the following messages appeared in the agent log:
20161111/142206.618 - U02000231 Anonymous 'Job' is allowed.
20161111/142206.618 - U02000231 Anonymous 'FT' is allowed.
20161111/142206.618 - U02000231 Anonymous 'File event' is allowed.
Part of the reason this problem took so long to solve is that the error
message is misleading, and no log message indicates the reason for the
problem. However, I did determine that for each of the ANONYMOUS_
X
options that is set to Y, a message appears in the agent log when the
agent starts.
UC_HOSTCHAR_DEFAULT setting
| UC_HOSTCHAR_DEFAULT value
| Message in agent log
|
---|
ANONYMOUS_JOB | Y
| U02000231 Anonymous 'Job' is allowed.
|
| N
| None
|
ANONYMOUS_FT | Y
| U02000231 Anonymous 'FT' is allowed.
|
| N
| None
|
ANONYMOUS_FE | Y
| U02000231 Anonymous 'File event' is allowed.
|
| N
| None
|
I’m also not convinced that it is working 100% correctly. First of all, the
U020000231 message is misleading. Secondly, when ANONYMOUS_FT was set to N, this error message appeared even when the login object contained a valid login and password for the use.
I also found that settings in UC_HOSTCHAR_agentname were not honored. I’ll probably open another incident about these problems. Anyway, I thought my experience might be helpful to others.