プロジェクト

全般

プロフィール

操作問い合わせ #17

完了

Managerでカレンダーを作成しようとするとエラーが出る場合の対処について

匿名ユーザー さんが11年以上前に追加. 約4年前に更新.

ステータス:
終了
優先度:
通常
担当者:
-
開始日:
2013/02/23

説明

Job Arranger Managerを起動して、カレンダーの新規作成をして登録ボタンを押すと、ダイアログに次のエラーメッセージが表示されます。

A database execution error occurred.
Please contact a system administrator.

実行環境は次の通りです。
  • server
    • CentOS 6.2 64bit版
    • Zabbix 2.0.4
    • MySQL 5.5.28
  • agent
    • server上にインストール
  • manager
    • Windows7 64bit版
    • mysql-connector-odbc-5.2.4-ansi-win32

インストールはRPMを利用しています。
Zabbixはインストールしたてで、初期データはJA_INSERT_TABLE_JP_UTF-8.sql, JA_INSERT_TABLE.sqlをインポートしています。
ODBCの接続ユーザはDBに対して全権限を持っており、直接ja_calendar_control_tableに入れたデータのvalid_flag, public_flagの更新はManager画面上で出来ました。
ジョブネットも同様です。

この時ログ・ファイルに出力された部分は次の通りです。

2013-02-22 10:35:01.986[4764] jp.co.ftf.jobcontroller.Common.DBException:
2013-02-22 10:35:01.991[4764]    at jp.co.ftf.jobcontroller.DAO.DBConnect.ExecuteNonQuery(DataTable dt, BaseDAO baseEntity)
   at jp.co.ftf.jobcontroller.JobController.Form.CalendarEdit.CalendarEdit.RegistDataTable()
   at jp.co.ftf.jobcontroller.JobController.Form.CalendarEdit.CalendarEdit.RegistProcess()
   at jp.co.ftf.jobcontroller.JobController.Form.CalendarEdit.CalendarEdit.regist_Click(Object sender, RoutedEventArgs e)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam,  IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
2013-02-22 10:35:01.995[4764] System.Data.Odbc.OdbcException:
2013-02-22 10:35:01.997[4764]    at System.Data.Common.DbDataAdapter.UpdatedRowStatusErrors(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)
   at System.Data.Common.DbDataAdapter.UpdatedRowStatus(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)
   at System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping)
   at System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping)
   at System.Data.Common.DbDataAdapter.Update(DataTable dataTable)
   at jp.co.ftf.jobcontroller.DAO.DBConnect.ExecuteNonQuery(DataTable dt,  BaseDAO baseEntity)
2013-02-22 10:35:01.999[4764] Admin
2013-02-22 10:35:02.001[4764] System.Data.Odbc.OdbcException:
2013-02-22 10:35:02.002[4764]    at System.Data.Common.DbDataAdapter.UpdatedRowStatusErrors(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)
   at System.Data.Common.DbDataAdapter.UpdatedRowStatus(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)
   at System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping)
   at System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping)
   at System.Data.Common.DbDataAdapter.Update(DataTable dataTable)
   at jp.co.ftf.jobcontroller.DAO.DBConnect.ExecuteNonQuery(DataTable dt,  BaseDAO baseEntity)

どこをどう調べれば良いのかわからず困っています。
どこを確認すればよいかのかおしえていただけると助かります。

匿名ユーザー さんが11年以上前に更新

  • ステータス新規登録 から 終了 に変更

Job Arranger for Zabbixのご利用ありがとうございます。
お問い合わせの件についてご回答致します。

お使いのODBCドライバ(5.2.x)につきましては、MySQL 5.5.28に対応していないため、
データ登録の際にエラーが発生します。(MySQL5.5.3以上に対応)

つきましてはMySQL-ODBCドライバ5.1をご利用いただくことにより、本エラーを回避する事が可能です。
なお、安定版であるMySQL-ODBCドライバ(5.1.x)は以下のURLよりをダウンロードが可能です。

http://dev.mysql.com/downloads/connector/odbc/5.1.html#downloads

以上、よろしくお願いいたします。

匿名ユーザー さんが11年以上前に更新

  • ステータス終了 から 回答中 に変更

匿名ユーザー さんが11年以上前に更新

質問者です。
回答ありがとうございます。教えてくださった内容で解決しました。

匿名ユーザー さんが11年以上前に更新

  • ステータス回答中 から 終了 に変更

他の形式にエクスポート: Atom PDF