Restore data from crashed MariaDB - mysql
Need to retrieve a mysql dump from suddenly stopped database.
Database worked in kubernetes cluster as a bitnami/mariadb chart of version 6.7.4.
Was configured a slave and month ago it was stopped, but replication process was still in progress.
Database was crashed probably due to lack of disk space (because of huge binary logs )
I have a full snapshot of database data directory.
I have a full database schema, so I tried to install empty schema and replace all empty .idb files into same with data
After replacing and restarting mariadb I see an errors like that:
MariaDB [store]> select * from admin;
ERROR 1932 (42S02): Table 'store.admin' doesn't exist in engine
I ran mysql_upgrade but stil see same errors:
backend % mysql_upgrade -u store -p
Enter password:
Phase 1/7: Checking and upgrading mysql database
Processing databases
mysql
mysql.column_stats OK
mysql.columns_priv OK
mysql.db OK
mysql.event OK
mysql.func OK
mysql.global_priv OK
mysql.gtid_slave_pos OK
mysql.help_category OK
mysql.help_keyword OK
mysql.help_relation OK
mysql.help_topic OK
mysql.index_stats OK
mysql.innodb_index_stats OK
mysql.innodb_table_stats OK
mysql.plugin OK
mysql.proc OK
mysql.procs_priv OK
mysql.proxies_priv OK
mysql.roles_mapping OK
mysql.servers OK
mysql.table_stats OK
mysql.tables_priv OK
mysql.time_zone OK
mysql.time_zone_leap_second OK
mysql.time_zone_name OK
mysql.time_zone_transition OK
mysql.time_zone_transition_type OK
mysql.transaction_registry OK
Phase 2/7: Installing used storage engines... Skipped
Phase 3/7: Fixing views
mysql.user OK
sys.host_summary OK
sys.host_summary_by_file_io OK
sys.host_summary_by_file_io_type OK
sys.host_summary_by_stages OK
sys.host_summary_by_statement_latency OK
sys.host_summary_by_statement_type OK
sys.innodb_buffer_stats_by_schema OK
sys.innodb_buffer_stats_by_table OK
sys.innodb_lock_waits OK
sys.io_by_thread_by_latency OK
sys.io_global_by_file_by_bytes OK
sys.io_global_by_file_by_latency OK
sys.io_global_by_wait_by_bytes OK
sys.io_global_by_wait_by_latency OK
sys.latest_file_io OK
sys.memory_by_host_by_current_bytes OK
sys.memory_by_thread_by_current_bytes OK
sys.memory_by_user_by_current_bytes OK
sys.memory_global_by_current_bytes OK
sys.memory_global_total OK
sys.metrics OK
sys.processlist OK
sys.ps_check_lost_instrumentation OK
sys.schema_auto_increment_columns OK
sys.schema_index_statistics OK
sys.schema_object_overview OK
sys.schema_redundant_indexes OK
sys.schema_table_lock_waits OK
sys.schema_table_statistics OK
sys.schema_table_statistics_with_buffer OK
sys.schema_tables_with_full_table_scans OK
sys.schema_unused_indexes OK
sys.session OK
sys.session_ssl_status OK
sys.statement_analysis OK
sys.statements_with_errors_or_warnings OK
sys.statements_with_full_table_scans OK
sys.statements_with_runtimes_in_95th_percentile OK
sys.statements_with_sorting OK
sys.statements_with_temp_tables OK
sys.user_summary OK
sys.user_summary_by_file_io OK
sys.user_summary_by_file_io_type OK
sys.user_summary_by_stages OK
sys.user_summary_by_statement_latency OK
sys.user_summary_by_statement_type OK
sys.version OK
sys.wait_classes_global_by_avg_latency OK
sys.wait_classes_global_by_latency OK
sys.waits_by_host_by_latency OK
sys.waits_by_user_by_latency OK
sys.waits_global_by_latency OK
sys.x$host_summary OK
sys.x$host_summary_by_file_io OK
sys.x$host_summary_by_file_io_type OK
sys.x$host_summary_by_stages OK
sys.x$host_summary_by_statement_latency OK
sys.x$host_summary_by_statement_type OK
sys.x$innodb_buffer_stats_by_schema OK
sys.x$innodb_buffer_stats_by_table OK
sys.x$innodb_lock_waits OK
sys.x$io_by_thread_by_latency OK
sys.x$io_global_by_file_by_bytes OK
sys.x$io_global_by_file_by_latency OK
sys.x$io_global_by_wait_by_bytes OK
sys.x$io_global_by_wait_by_latency OK
sys.x$latest_file_io OK
sys.x$memory_by_host_by_current_bytes OK
sys.x$memory_by_thread_by_current_bytes OK
sys.x$memory_by_user_by_current_bytes OK
sys.x$memory_global_by_current_bytes OK
sys.x$memory_global_total OK
sys.x$processlist OK
sys.x$ps_digest_95th_percentile_by_avg_us OK
sys.x$ps_digest_avg_latency_distribution OK
sys.x$ps_schema_table_statistics_io OK
sys.x$schema_flattened_keys OK
sys.x$schema_index_statistics OK
sys.x$schema_table_lock_waits OK
sys.x$schema_table_statistics OK
sys.x$schema_table_statistics_with_buffer OK
sys.x$schema_tables_with_full_table_scans OK
sys.x$session OK
sys.x$statement_analysis OK
sys.x$statements_with_errors_or_warnings OK
sys.x$statements_with_full_table_scans OK
sys.x$statements_with_runtimes_in_95th_percentile OK
sys.x$statements_with_sorting OK
sys.x$statements_with_temp_tables OK
sys.x$user_summary OK
sys.x$user_summary_by_file_io OK
sys.x$user_summary_by_file_io_type OK
sys.x$user_summary_by_stages OK
sys.x$user_summary_by_statement_latency OK
sys.x$user_summary_by_statement_type OK
sys.x$wait_classes_global_by_avg_latency OK
sys.x$wait_classes_global_by_latency OK
sys.x$waits_by_host_by_latency OK
sys.x$waits_by_user_by_latency OK
sys.x$waits_global_by_latency OK
Phase 4/7: Running 'mysql_fix_privilege_tables'
Phase 5/7: Fixing table and database names
Phase 6/7: Checking and upgrading tables
Processing databases
information_schema
performance_schema
store
store.account
Error : Table 'store.account' doesn't exist in engine
status : Operation failed
store.account_event
Error : Table 'store.account_event' doesn't exist in engine
status : Operation failed
store.account_setting
Error : Table 'store.account_setting' doesn't exist in engine
status : Operation failed
store.admin
Error : Table 'store.admin' doesn't exist in engine
status : Operation failed
store.aggregated_actions_daily
Error : Table 'store.aggregated_actions_daily' doesn't exist in engine
status : Operation failed
store.aggregated_report_daily
Error : Table 'store.aggregated_report_daily' doesn't exist in engine
status : Operation failed
store.aggregated_report_daily_total
Error : Table 'store.aggregated_report_daily_total' doesn't exist in engine
status : Operation failed
store.aggregated_report_monthly
Error : Table 'store.aggregated_report_monthly' doesn't exist in engine
status : Operation failed
store.aggregated_report_weekly
Error : Table 'store.aggregated_report_weekly' doesn't exist in engine
status : Operation failed
store.aggregated_trainer
Error : Table 'store.aggregated_trainer' doesn't exist in engine
status : Operation failed
store.apple_price
Error : Table 'store.apple_price' doesn't exist in engine
status : Operation failed
store.apple_tier_price
Error : Table 'store.apple_tier_price' doesn't exist in engine
status : Operation failed
store.country
Error : Table 'store.country' doesn't exist in engine
status : Operation failed
store.course
Error : Table 'store.course' doesn't exist in engine
status : Operation failed
store.course_container
Error : Table 'store.course_container' doesn't exist in engine
status : Operation failed
store.course_container_course_dietary_program
Error : Table 'store.course_container_course_dietary_program' doesn't exist in engine
status : Operation failed
store.course_container_course_education_program
Error : Table 'store.course_container_course_education_program' doesn't exist in engine
status : Operation failed
store.course_container_course_workout_program
Error : Table 'store.course_container_course_workout_program' doesn't exist in engine
status : Operation failed
store.course_day
Error : Table 'store.course_day' doesn't exist in engine
status : Operation failed
store.course_dietary_program
Error : Table 'store.course_dietary_program' doesn't exist in engine
status : Operation failed
store.course_education_program
Error : Table 'store.course_education_program' doesn't exist in engine
status : Operation failed
store.course_price
Error : Table 'store.course_price' doesn't exist in engine
status : Operation failed
store.course_workout_program
Error : Table 'store.course_workout_program' doesn't exist in engine
status : Operation failed
store.credit_card
Error : Table 'store.credit_card' doesn't exist in engine
status : Operation failed
store.currency_rate
Error : Table 'store.currency_rate' doesn't exist in engine
status : Operation failed
store.daily_nutrition
Error : Table 'store.daily_nutrition' doesn't exist in engine
status : Operation failed
store.daily_recipe
Error : Table 'store.daily_recipe' doesn't exist in engine
status : Operation failed
store.diet
Error : Table 'store.diet' doesn't exist in engine
status : Operation failed
store.diet_recipe
Error : Table 'store.diet_recipe' doesn't exist in engine
status : Operation failed
store.dietary_program
Error : Table 'store.dietary_program' doesn't exist in engine
status : Operation failed
store.dietary_program_day
Error : Table 'store.dietary_program_day' doesn't exist in engine
status : Operation failed
store.education_program
Error : Table 'store.education_program' doesn't exist in engine
status : Operation failed
store.education_program_day
Error : Table 'store.education_program_day' doesn't exist in engine
status : Operation failed
store.exercise
Error : Table 'store.exercise' doesn't exist in engine
status : Operation failed
store.exercise_step
Error : Table 'store.exercise_step' doesn't exist in engine
status : Operation failed
store.file
Error : Table 'store.file' doesn't exist in engine
status : Operation failed
store.food
Error : Table 'store.food' doesn't exist in engine
status : Operation failed
store.food_copy
Error : Table 'store.food_copy' doesn't exist in engine
status : Operation failed
store.lesson
Error : Table 'store.lesson' doesn't exist in engine
status : Operation failed
store.lesson_pack
Error : Table 'store.lesson_pack' doesn't exist in engine
status : Operation failed
store.lesson_pack_lesson
Error : Table 'store.lesson_pack_lesson' doesn't exist in engine
status : Operation failed
store.marathon
Error : Table 'store.marathon' doesn't exist in engine
status : Operation failed
store.marathon_day
Error : Table 'store.marathon_day' doesn't exist in engine
status : Operation failed
store.note
Error : Table 'store.note' doesn't exist in engine
status : Operation failed
store.nutrition
Error : Table 'store.nutrition' doesn't exist in engine
status : Operation failed
store.nutrition_recipe
Error : Table 'store.nutrition_recipe' doesn't exist in engine
status : Operation failed
store.payment_intention
Error : Table 'store.payment_intention' doesn't exist in engine
status : Operation failed
store.payment_transaction
Error : Table 'store.payment_transaction' doesn't exist in engine
status : Operation failed
store.payment_transaction_apple_in_app
Error : Table 'store.payment_transaction_apple_in_app' doesn't exist in engine
status : Operation failed
store.payment_transaction_bt
Error : Table 'store.payment_transaction_bt' doesn't exist in engine
status : Operation failed
store.payment_transaction_cp
Error : Table 'store.payment_transaction_cp' doesn't exist in engine
status : Operation failed
store.payment_transaction_ym
Error : Table 'store.payment_transaction_ym' doesn't exist in engine
status : Operation failed
store.payout_transaction
Error : Table 'store.payout_transaction' doesn't exist in engine
status : Operation failed
store.payout_transaction_payment_transaction
Error : Table 'store.payout_transaction_payment_transaction' doesn't exist in engine
status : Operation failed
store.phone_verification
Error : Table 'store.phone_verification' doesn't exist in engine
status : Operation failed
store.product
Error : Table 'store.product' doesn't exist in engine
status : Operation failed
store.recipe
Error : Table 'store.recipe' doesn't exist in engine
status : Operation failed
store.recipe_food
Error : Table 'store.recipe_food' doesn't exist in engine
status : Operation failed
store.recipe_step
Error : Table 'store.recipe_step' doesn't exist in engine
status : Operation failed
store.sales_order
Error : Table 'store.sales_order' doesn't exist in engine
status : Operation failed
store.sales_order_item
Error : Table 'store.sales_order_item' doesn't exist in engine
status : Operation failed
store.time_slot
Error : Table 'store.time_slot' doesn't exist in engine
status : Operation failed
store.top_group_product
Error : Table 'store.top_group_product' doesn't exist in engine
status : Operation failed
store.top_home_product
Error : Table 'store.top_home_product' doesn't exist in engine
status : Operation failed
store.top_month_product
Error : Table 'store.top_month_product' doesn't exist in engine
status : Operation failed
store.top_product
Error : Table 'store.top_product' doesn't exist in engine
status : Operation failed
store.top_trainer
Error : Table 'store.top_trainer' doesn't exist in engine
status : Operation failed
store.trainer
Error : Table 'store.trainer' doesn't exist in engine
status : Operation failed
store.trainer_action
Error : Table 'store.trainer_action' doesn't exist in engine
status : Operation failed
store.trainer_chat_link
Error : Table 'store.trainer_chat_link' doesn't exist in engine
status : Operation failed
store.trainer_event
Error : Table 'store.trainer_event' doesn't exist in engine
status : Operation failed
store.trainer_event_message OK
store.trainer_notification_task
Error : Table 'store.trainer_notification_task' doesn't exist in engine
status : Operation failed
store.trainer_payout_info
Error : Table 'store.trainer_payout_info' doesn't exist in engine
status : Operation failed
store.trainer_status_message
Error : Table 'store.trainer_status_message' doesn't exist in engine
status : Operation failed
store.training
Error : Table 'store.training' doesn't exist in engine
status : Operation failed
store.training_exercise
Error : Table 'store.training_exercise' doesn't exist in engine
status : Operation failed
store.user
Error : Table 'store.user' doesn't exist in engine
status : Operation failed
store.user_course
Error : Table 'store.user_course' doesn't exist in engine
status : Operation failed
store.user_course_job
Error : Table 'store.user_course_job' doesn't exist in engine
status : Operation failed
store.user_device
Error : Table 'store.user_device' doesn't exist in engine
status : Operation failed
store.user_measurement_activity
Error : Table 'store.user_measurement_activity' doesn't exist in engine
status : Operation failed
store.user_measurement_belly
Error : Table 'store.user_measurement_belly' doesn't exist in engine
status : Operation failed
store.user_measurement_biceps
Error : Table 'store.user_measurement_biceps' doesn't exist in engine
status : Operation failed
store.user_measurement_bust
Error : Table 'store.user_measurement_bust' doesn't exist in engine
status : Operation failed
store.user_measurement_calf
Error : Table 'store.user_measurement_calf' doesn't exist in engine
status : Operation failed
store.user_measurement_gender
Error : Table 'store.user_measurement_gender' doesn't exist in engine
status : Operation failed
store.user_measurement_height
Error : Table 'store.user_measurement_height' doesn't exist in engine
status : Operation failed
store.user_measurement_hips
Error : Table 'store.user_measurement_hips' doesn't exist in engine
status : Operation failed
store.user_measurement_lactation
Error : Table 'store.user_measurement_lactation' doesn't exist in engine
status : Operation failed
store.user_measurement_neck
Error : Table 'store.user_measurement_neck' doesn't exist in engine
status : Operation failed
store.user_measurement_single_hip
Error : Table 'store.user_measurement_single_hip' doesn't exist in engine
status : Operation failed
store.user_measurement_waist
Error : Table 'store.user_measurement_waist' doesn't exist in engine
status : Operation failed
store.user_measurement_weight
Error : Table 'store.user_measurement_weight' doesn't exist in engine
status : Operation failed
store.user_product
Error : Table 'store.user_product' doesn't exist in engine
status : Operation failed
store.user_progress_report
Error : Table 'store.user_progress_report' doesn't exist in engine
status : Operation failed
store.user_progress_report_request
Error : Table 'store.user_progress_report_request' doesn't exist in engine
status : Operation failed
store.user_trainer
Error : Table 'store.user_trainer' doesn't exist in engine
status : Operation failed
store.user_trainer_referrer
Error : Table 'store.user_trainer_referrer' doesn't exist in engine
status : Operation failed
store.video
Error : Table 'store.video' doesn't exist in engine
status : Operation failed
store.workout_program
Error : Table 'store.workout_program' doesn't exist in engine
status : Operation failed
store.workout_program_day
Error : Table 'store.workout_program_day' doesn't exist in engine
status : Operation failed
sys
sys.sys_config OK
test
Repairing tables
store.account
Error : Table 'store.account' doesn't exist in engine
status : Operation failed
store.account_event
Error : Table 'store.account_event' doesn't exist in engine
status : Operation failed
store.account_setting
Error : Table 'store.account_setting' doesn't exist in engine
status : Operation failed
store.admin
Error : Table 'store.admin' doesn't exist in engine
status : Operation failed
store.aggregated_actions_daily
Error : Table 'store.aggregated_actions_daily' doesn't exist in engine
status : Operation failed
store.aggregated_report_daily
Error : Table 'store.aggregated_report_daily' doesn't exist in engine
status : Operation failed
store.aggregated_report_daily_total
Error : Table 'store.aggregated_report_daily_total' doesn't exist in engine
status : Operation failed
store.aggregated_report_monthly
Error : Table 'store.aggregated_report_monthly' doesn't exist in engine
status : Operation failed
store.aggregated_report_weekly
Error : Table 'store.aggregated_report_weekly' doesn't exist in engine
status : Operation failed
store.aggregated_trainer
Error : Table 'store.aggregated_trainer' doesn't exist in engine
status : Operation failed
store.apple_price
Error : Table 'store.apple_price' doesn't exist in engine
status : Operation failed
store.apple_tier_price
Error : Table 'store.apple_tier_price' doesn't exist in engine
status : Operation failed
store.country
Error : Table 'store.country' doesn't exist in engine
status : Operation failed
store.course
Error : Table 'store.course' doesn't exist in engine
status : Operation failed
store.course_container
Error : Table 'store.course_container' doesn't exist in engine
status : Operation failed
store.course_container_course_dietary_program
Error : Table 'store.course_container_course_dietary_program' doesn't exist in engine
status : Operation failed
store.course_container_course_education_program
Error : Table 'store.course_container_course_education_program' doesn't exist in engine
status : Operation failed
store.course_container_course_workout_program
Error : Table 'store.course_container_course_workout_program' doesn't exist in engine
status : Operation failed
store.course_day
Error : Table 'store.payout_transaction_payment_transaction' doesn't exist in engine
status : Operation failed
store.phone_verification
Error : Table 'store.phone_verification' doesn't exist in engine
status : Operation failed
store.product
Error : Table 'store.product' doesn't exist in engine
status : Operation failed
store.recipe
Error : Table 'store.recipe' doesn't exist in engine
status : Operation failed
store.recipe_food
Error : Table 'store.recipe_food' doesn't exist in engine
status : Operation failed
store.recipe_step
Error : Table 'store.recipe_step' doesn't exist in engine
status : Operation failed
store.sales_order
Error : Table 'store.sales_order' doesn't exist in engine
status : Operation failed
store.sales_order_item
Error : Table 'store.sales_order_item' doesn't exist in engine
status : Operation failed
store.time_slot
Error : Table 'store.time_slot' doesn't exist in engine
status : Operation failed
store.top_group_product
Error : Table 'store.top_group_product' doesn't exist in engine
status : Operation failed
store.top_home_product
Error : Table 'store.top_home_product' doesn't exist in engine
status : Operation failed
store.top_month_product
Error : Table 'store.top_month_product' doesn't exist in engine
status : Operation failed
store.top_product
Error : Table 'store.workout_program_day' doesn't exist in engine
status : Operation failed
Phase 7/7: Running 'FLUSH PRIVILEGES'
OK
Is there any way to restore this data?
Thanks in advance!
Related
MySQL Sink Connector - JsonConverter - DataException: Unknown schema type: null
I have created MySQL sink connector and successfully run and i see the logs and got 200 response, But the sink connector not able to push the data into mysql db (data is available in the topic) { "name":"mysql-sink-connector", "config":{ "tasks.max":"2", "batch.size":"1000", "batch.max.rows":"1000", "poll.interval.ms":"500", "connector.class":"io.confluent.connect.jdbc.JdbcSinkConnector", "connection.url":"jdbc:mysql://mysql.azure.com:3306/db_test_dev", "table.name.format":"tbl_clients_merchants", "topics":"createorder", "connection.user":"user", "connection.password":"password", "auto.create":"true", "auto.evolve":"true", "value.converter":"org.apache.kafka.connect.json.JsonConverter", "value.converter.schemas.enable":"true", "key.converter":"org.apache.kafka.connect.json.JsonConverter", "key.converter.schemas.enable":"true" }} getting an error [2021-07-29 09:41:03,157] ERROR WorkerSinkTask{id=jdbc-mysql-sink-connector-1} Task threw an uncaught and unrecoverable exception (org.apache.kafka.connect.runtime.WorkerTask:177) org.apache.kafka.connect.errors.ConnectException: Tolerance exceeded in error handler at org.apache.kafka.connect.runtime.errors.RetryWithToleranceOperator.execAndHandleError(RetryWithToleranceOperator.java:178) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.kafka.connect.errors.DataException: Converting byte[] to Kafka Connect data failed due to serialization error: at org.apache.kafka.connect.json.JsonConverter.toConnectData(JsonConverter.java:344) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.kafka.connect.errors.DataException: Unknown schema type: null at org.apache.kafka.connect.json.JsonConverter.convertToConnect(JsonConverter.java:743 at org.apache.kafka.connect.runtime.errors.RetryWithToleranceOperator.execAndHandleError(RetryWithToleranceOperator.java:162) ... 13 more [2021-07-29 13:26:11,347] ERROR WorkerSinkTask{id=mysql-sink-connector-0} Task is being killed and will not recover until manually restarted (org.apache.kafka.connect.runtime.WorkerTask:178)
As the error suggests, you have null tombstone records in the topic, which cannot be mapped to any MySQL columns since there are no field names. Option 1) Fix your producer to not send these messages Option 2) Filter them in Connect For example, "transforms": "Filter", "transforms.Filter.type": "org.apache.kafka.connect.transforms.Filter", "transforms.Filter.predicate" : "DropNull", "predicates" : "DropNull", "predicates.DropNull.type": "org.apache.kafka.connect.transforms.predicates.RecordIsTombstone"
Tungsten Replicator 4.0 Installation
I am trying to install Tungsten Replicator 4.0 version for Mysql 5.7. I have used binary installation(tar.gz file installation) for Mysql 5.7 and exported path in bash_profile. ./tools/tmp install command got executed successfully but services both master and slave are offline. We are getting below error for service status command. [tungsten#beta-388 tungsten-replicator-4.0.0-18]$ /opt/continuent//tungsten/tungsten-replicator/bin/trepctl services Processing services command... NAME VALUE ---- ----- appliedLastSeqno: -1 appliedLatency : -1.0 role : master serviceName : beta182_183 serviceType : unknown started : true state : OFFLINE:ERROR NAME VALUE ---- ----- **appliedLastSeqno**:**** **Unknown** **appliedLatency **:**** **Unknown** **role** **:** **Unknown** serviceName : beta183_182 serviceType : Unknown started : false state : Unknown Finished services command... [tungsten#beta-388 tungsten-replicator-4.0.0-18]$ /opt/continuent//tungsten/tungsten-replicator/bin/trepctl -service beta182_183 status Processing status command... NAME VALUE ---- ----- appliedLastEventId : NONE appliedLastSeqno : -1 appliedLatency : -1.0 autoRecoveryEnabled : true autoRecoveryTotal : 0 channels : -1 clusterName : beta182_183 currentEventId : NONE currentTimeMillis : 1579684465335 dataServerHost : beta-388.panterranetworks.net extensions : host : beta-388.panterranetworks.net latestEpochNumber : -1 masterConnectUri : thls://localhost:/ masterListenUri : thls://beta-388.panterranetworks.net:12120/ maximumStoredSeqNo : -1 minimumStoredSeqNo : -1 offlineRequests : NONE pendingError : Replicator unable to go online due to error pendingErrorCode : NONE pendingErrorEventId : NONE pendingErrorSeqno : -1 pendingExceptionMessage: **Unable to prepare plugin: class name=com.continuent.tungsten.replicator.thl.THL message=[Error while attempting to acquire file lock: /opt/continuent/thl/beta182_183/disklog.lck]** pipelineSource : UNKNOWN relativeLatency : -1.0 resourcePrecedence : 99 rmiPort : 10110 role : master seqnoType : java.lang.Long serviceName : beta182_183 serviceType : unknown simpleServiceName : beta182_183 siteName : default sourceId : beta-388.panterranetworks.net state : OFFLINE:ERROR timeInStateSeconds : 15.744 timezone : GMT transitioningTo : uptimeSeconds : 15.931 useSSLConnection : true version : Tungsten Replicator 4.0.0 build 18 Finished status command... Can anyone please share how to resolve the error? I have tried multiple times with giving all permissions to the file and also uninstalled and reinstalled the tungsten.
Mysql version 5.7 is not support tungsten version 4.0, https://docs.continuent.com/tungsten-replicator-4.0/introduction.html Shared your config replicator!
Can not Connect to a database on Redshift in R by RODBC package
I am trying to connect to A DB on Redshift in r using following syntax (I am using a Mac): odbcConnect("xxxxaddresss.redshift.amazonaws.com:5439", uid = "xxxx", pwd = "xxxx") and get the following errors. Warning messages: 1: In RODBC::odbcDriverConnect("DSN=xxxxaddresss.redshift.amazonaws.com:5439;UID=xxxx;PWD=xxxx") : [RODBC] ERROR: state IM012, code 0, message [unixODBC][Driver Manager]DRIVER keyword syntax error 2: In RODBC::odbcDriverConnect("DSN=xxxxaddresss.redshift.amazonaws.com:5439;UID=xxxx;PWD=xxxx") : ODBC connection failed What is the reason of the problem?
sql error database on main page
any idea how to repair this error? I get this error on the main website page DATABASE ERROR ************************ SELECT SQL_CACHE cid, title_ AS title FROM ilance_categories WHERE cattype = 'product' AND visible = '1' AND level <= '1' ORDER BY sort ASC MySQL Error : Unknown column 'title_' in 'field list' Error Number : 1054 Date : Aug 12, 2014, 11:33:15 Script : http://www.redsquaretags.com/main.php Class : ilance_mysql Location : main Referrer : Not referred IP Address : 196.22.238.162 ILance Version : 4.0.0 Build : 8059 SQL Version : 898 MySQL Version : 5.5.37-cll Server Load : n/a ************************ END DATABASE ERROR Thank you, that's the only error I have thank you
what this error means? [Erlang, mochiweb, MySQL]
I made a comet chat server with Erlang and Mochiweb. And I run the "./start-dev.sh" to start the server. But after about 1 month I got the following error: =ERROR REPORT==== 26-Sep-2009::09:21:06 === {mochiweb_socket_server,235, {child_error, {badmatch, {error, [70,97,105,108,101,100,32,115,101,110,100,105,110,103,32,100, 97,116,97,32,111,110,32,115,111,99,107,101,116,32,58,32, "closed"]}}}} mysql: fetch "SELECT appKey FROM applications WHERE appID = 1" (id p1) =CRASH REPORT==== 26-Sep-2009::09:21:10 === crasher: initial call: mochiweb_socket_server:acceptor_loop/1 pid: <0.4271.23> registered_name: [] exception error: no match of right hand side value {error,[70,97,105,108,101,100,32,115,101,110,100,105,110, 103,32,100,97,116,97,32,111,110,32,115,111,99, 107,101,116,32,58,32,"closed"]} in function moonwalker_web:loop/2 in call from mochiweb_http:headers/5 ancestors: [moonwalker_web,moonwalker_sup,<0.52.0>] messages: [] links: [<0.54.0>,#Port<0.792854>] dictionary: [{mochiweb_request_body, <<"appID=1&appKey=keyy&userID=8048943&nickName=bill&buddies=N%3B×tamp=1253928070154">>}, {mochiweb_request_recv,true}, {mochiweb_request_post, [{"appID","1"}, {"appKey","key"}, {"userID","8048943"}, {"nickName",[143,229,167,144]}, {"buddies","N;"}, {"timestamp","1253928070154"}]}, {mochiweb_request_path,"/online"}] trap_exit: false status: running heap_size: 2584 stack_size: 24 reductions: 1368 neighbours: =ERROR REPORT==== 26-Sep-2009::09:21:10 === {mochiweb_socket_server,235, {child_error, {badmatch, {error, [70,97,105,108,101,100,32,115,101,110,100,105,110,103,32,100, 97,116,97,32,111,110,32,115,111,99,107,101,116,32,58,32, "closed"]}}}} And if turn the following numbers into characters [70,97,105,108,101,100,32,115,101,110,100,105,110,103,32,100, 97,116,97,32,111,110,32,115,111,99,107,101,116,32,58,32, "closed"]}}}} they are Failed sending data on socket :"closed" Does that mean I have problems with MySQL connection or socket? I don't know if this error has something to do with my "./start-dev.sh" or I just had some wrong settings? And what else information do I have to provide for diagnosing? Thanks and looking forward to your reply?
It looks like somewhere in the loop/2 function you don't handle an {error,Error} return from a function call. This causes the error which crashes the process. Without the code it is difficult to say what caused the error return.