首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >OTRS,SetPassword,未找到用户

OTRS,SetPassword,未找到用户
EN

Stack Overflow用户
提问于 2018-03-04 23:43:28
回答 1查看 1K关注 0票数 0

我安装了OTRS6,正在尝试登录。在Debian中,我想使用otrs.Console.pl在OTRS中创建新的用户和密码。在创建用户之后,我想使用Admin:: user ::SetPassword帐户密码来设置密码,但是我得到了这个错误:

代码语言:javascript
复制
    ERROR: OTRS-otrs.Console.pl-Admin::User::SetPassword-10 Perl: 5.24.1 OS: linux Time: Sun Mar  4 16:41:12 2018

 Message: No Valid for valid found!

 Traceback (11786):
   Module: Kernel::System::Valid::ValidLookup Line: 139
   Module: Kernel::System::Valid::ValidIDsGet Line: 160
   Module: Kernel::System::User::UserSearch Line: 728
   Module: Kernel::System::Console::Command::Admin::User::SetPassword::Run Line: 47
   Module: (eval) Line: 460
   Module: Kernel::System::Console::BaseCommand::Execute Line: 454
   Module: Kernel::System::Console::InterfaceConsole::Run Line: 80
   Module: /opt/otrs/bin/otrs.Console.pl Line: 38

[Sun Mar  4 16:41:12 2018] otrs.Console.pl: DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 2 at /opt/otrs/Kernel/System/DB.pm line 694.
ERROR: OTRS-otrs.Console.pl-Admin::User::SetPassword-10 Perl: 5.24.1 OS: linux Time: Sun Mar  4 16:41:12 2018

 Message: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 2, SQL: 'SELECT id, login
                   FROM users WHERE  (login) LIKE ? AND valid_id IN ()'

 Traceback (11786):
   Module: Kernel::System::User::UserSearch Line: 737
   Module: Kernel::System::Console::Command::Admin::User::SetPassword::Run Line: 47
   Module: (eval) Line: 460
   Module: Kernel::System::Console::BaseCommand::Execute Line: 454
   Module: Kernel::System::Console::InterfaceConsole::Run Line: 80
   Module: /opt/otrs/bin/otrs.Console.pl Line: 38

Error: No user found with login 'admin@localhost'!

..。在新创建的帐户上...

在MySQL数据库中,我看到所有用户,所以他们是存在的。帮帮忙?

EN

回答 1

Stack Overflow用户

发布于 2018-03-14 22:53:33

在这种情况下,otrs数据库中valid表的内容是空的;这可能是因为您在安装过程中没有加载otrs-initial_insert.mysql.sql文件。通常这是由web安装程序执行的。

最好的建议可能是删除您的数据库并再次运行web安装程序。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49097144

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档