我在我的系統上安裝了Bugzilla服務器,並意外丟失了它的登錄名。我已經做了一個研究,但迄今沒有任何工作。我試圖做的事情是:Bugzilla缺少超級用戶信息
我嘗試使用MySQL接口添加更多管理用戶。然「MySQL的」命令行,並使用下面的命令:
mysql> use bugs;<br />
mysql> update profiles set groupset=0x7ffffffffffffff where login_name = "admin";<br />
我得到一個錯誤消息說:
ERROR 1054 (42S22): Unknown column 'groupset' in 'field list'
我還發現,我用管理員對我的電子郵件註冊但我不能恢復我的密碼:
mysql> select login_name from profiles where userid=1;
+-------------------+
| login_name |
+-------------------+
| [email protected] |
+-------------------+
1 row in set (0.00 sec)
每當我試圖刪除我得到這個超級用戶:
mysql> delete from profiles where userid=1;
ERROR 1451 (23000): Cannot delete or update a parent row: a foreign key constraint fails (`bugzilla`.`components`, CONSTRAINT `fk_components_initialowner_profiles_userid` FOREIGN KEY (`initialowner`) REFERENCES `profiles` (`userid`) ON UPDATE CASCADE)
mysql> update profiles set groupset=0x7ffffffffffffff where login_name = "(user's login name)";
我改變使用
sudo checksetup.pl [email protected]
嘗試登錄到本地主機的Bugzilla 用戶ID我的密碼:[email protected] 密碼:(我的密碼)
我得到以下內部錯誤:
Bugzilla has suffered an internal error. Please save this page and send it to [email protected] with details of what you were doing at the time this message appeared.
There was an error sending mail from 'bugzilla-daemon' to '[email protected]': Couldn't find 'sendmail' executable in your PATH and $Email::Send::Sendmail::SENDMAIL is not set
Traceback:
at Bugzilla/Mailer.pm line 190
Bugzilla::Mailer::MessageToMTA(...) called at Bugzilla/Token.pm line 307
Bugzilla::Token::Cancel(...) called at Bugzilla/Token.pm line 323
Bugzilla::Token::DeletePasswordTokens(...) called at Bugzilla/Auth/Verify/DB.pm line 85
Bugzilla::Auth::Verify::DB::check_credentials(...) called at Bugzilla/Auth/Verify/Stack.pm line 62
Bugzilla::Auth::Verify::Stack::check_credentials(...) called at Bugzilla/Auth.pm line 72
Bugzilla::Auth::login(...) called at Bugzilla.pm line 345
Bugzilla::login(...) called at /var/www/bugzilla/index.cgi line 40
是否有方法更改用戶名?
到目前爲止沒有任何工作。我如何登錄到Bugzilla?謝謝
你在使用什麼操作系統? Windows還是Unix/Linux? –
我使用的是Ubuntu 12.04 – Vladimir