Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
I
ISPConfig 3
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 494
    • Issues 494
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 28
    • Merge Requests 28
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #65

Closed
Open
Opened Jul 07, 2008 by Justin Albstmeijer@jalbstmeijer

Back end cronjob does not seem to handle errors very well

using ispconfig r373

Back end cronjob does not seem to handle errors very well.

Two examples:

creating a database with a non valid name:

07.07.2008-17:22 - DEBUG - Raised TableHook for table: 'web_database' 07.07.2008-17:22 - DEBUG - Call function 'process' in module 'database_module' raised by TableHook 'web_database'. 07.07.2008-17:22 - DEBUG - Raised event: 'database_insert' 07.07.2008-17:22 - DEBUG - Call function 'db_insert' in plugin 'mysql_clientdb_plugin' raised by event 'database_insert'. 07.07.2008-17:22 - ERROR - Unable to connect to the databaseYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1234' at line 1 07.07.2008-17:22 - DEBUG - Deleting sys_datalog ID 118

-- Should the request be deleted from the queue if it is not processed correctly? -- -- Adding the actual sql commands used would be usefull in the debug output ---

deleting a non existing database:

07.07.2008-17:28 - DEBUG - Raised TableHook for table: 'web_database' 07.07.2008-17:28 - DEBUG - Call function 'process' in module 'database_module' raised by TableHook 'web_database'. 07.07.2008-17:28 - DEBUG - Raised event: 'database_delete' 07.07.2008-17:28 - DEBUG - Call function 'db_delete' in plugin 'mysql_clientdb_plugin' raised by event 'database_delete'. 07.07.2008-17:28 - DEBUG - Dropping mysql user: 1234 07.07.2008-17:28 - DEBUG - Dropping mysql database: 1234 07.07.2008-17:28 - DEBUG - Deleting sys_datalog ID 119

-- deleting the previous not created database, does not seem to trigger any error. ---

Assignee
Assign to
3.0.0.6
Milestone
3.0.0.6
Assign milestone
Time tracking
None
Due date
None
Reference: ispconfig/ispconfig3#65