time synchronization error

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

time synchronization error

Postby iboam » Tue Aug 16, 2016 7:34 pm

I have getting time synchronization error every 15-40 minutes on a vicibox express server with only 4 users doing outbound calling. how may i fix this ???
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: time synchronization error

Postby njujihara » Tue Aug 23, 2016 2:38 pm

w error? log screenshot?
Ing Telefonia.
www.serbanc.cl
www.voxcore.cl
njujihara
 
Posts: 31
Joined: Fri Mar 25, 2016 5:02 am
Location: Chile

Re: time synchronization error

Postby Rogger » Tue Aug 23, 2016 7:38 pm

Hi,

Check the timezone of your Apache and Linux cron jobs for (/usr/sbin/ntpdate -u pool.ntp.org 2>/dev/null 1>&2) I like to use: / usr / sbin / ntpdate -s pool.ntp.br && / sbin / hwclock -w

Best Regards,

Rogger
Rogger
 
Posts: 41
Joined: Fri Nov 27, 2015 9:53 am
Location: Brazil

Re: time synchronization error

Postby lasthuman » Thu Aug 25, 2016 12:35 am

Please check your database.
Omar Aparicio
skype: omar.aparicio82
https://co.linkedin.com/in/oaparicioit
Vicidial - Goautodial - Asterisk Consultant.
Colombia.
lasthuman
 
Posts: 20
Joined: Thu Jan 24, 2013 2:33 pm
Location: colombia

Re: time synchronization error

Postby iboam » Thu Aug 25, 2016 1:13 am

How do i check the database ?
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: time synchronization error

Postby ambiorixg12 » Thu Aug 25, 2016 1:37 pm

Use the mysqlcheck command example : mysqlcheck -u root -p --auto-repair --check --optimize --all-databases


Note the system could complaint about multiple arguments on the above command
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: time synchronization error

Postby iboam » Tue Aug 30, 2016 3:06 pm

I removed the Ip addres but this is the error on a single server (express) VERSION: 2.12-564a BUILD: 160809-1339
Image
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: time synchronization error

Postby williamconley » Tue Aug 30, 2016 4:59 pm

Since PHP and DB times are correct, this is more likely a Table Crash.

Have you read the previous posts in this thread and at least attempted the solutions offered?

Had a power outage recently? Unplugged the server or turned it off with the power switch instead of at the command line?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: time synchronization error

Postby iboam » Tue Aug 30, 2016 10:25 pm

tried with root password and cron password and it's not working ...
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: time synchronization error

Postby williamconley » Tue Aug 30, 2016 10:45 pm

"it's not working"? So ... the command fails to run? Or the computer fell out a window? 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: time synchronization error

Postby iboam » Wed Aug 31, 2016 12:03 am

I mean ... Does not work with cron password (1234) or root password ...
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: time synchronization error

Postby iboam » Wed Aug 31, 2016 2:35 pm

Code: Select all
mysqlcheck -u cron -p --auto-repair --optimize --all-databases

Code: Select all
Enter password: 1234

asterisk.audio_store_details Table is already up to date
asterisk.call_log OK
asterisk.call_log_archive Table is already up to date
asterisk.callcard_accounts Table is already up to date
asterisk.callcard_accounts_details Table is already up to date
asterisk.callcard_log Table is already up to date
asterisk.conferences Table is already up to date
asterisk.contact_information Table is already up to date
asterisk.dialable_inventory_snapshots Table is already up to date
asterisk.groups_alias Table is already up to date
asterisk.inbound_email_attachments Table is already up to date
asterisk.inbound_numbers Table is already up to date
asterisk.live_channels
note : The storage engine for the table doesn't support optimize
asterisk.live_inbound Table is already up to date
asterisk.live_inbound_log Table is already up to date
asterisk.live_sip_channels
note : The storage engine for the table doesn't support optimize
asterisk.nanpa_prefix_exchanges_fast Table is already up to date
asterisk.nanpa_prefix_exchanges_master Table is already up to date
asterisk.nanpa_wired_to_wireless Table is already up to date
asterisk.nanpa_wireless_to_wired Table is already up to date
asterisk.park_log Table is already up to date
asterisk.parked_channels
note : The storage engine for the table doesn't support optimize
asterisk.phone_favorites Table is already up to date
asterisk.phones Table is already up to date
asterisk.phones_alias Table is already up to date
asterisk.recording_log OK
asterisk.routing_initiated_recordings Table is already up to date
asterisk.server_performance Table is already up to date
asterisk.server_updater
note : The storage engine for the table doesn't support optimize
asterisk.servers OK
asterisk.system_settings Table is already up to date
asterisk.twoday_call_log Table is already up to date
asterisk.twoday_recording_log Table is already up to date
asterisk.twoday_vicidial_agent_log Table is already up to date
asterisk.twoday_vicidial_closer_log Table is already up to date
asterisk.twoday_vicidial_log Table is already up to date
asterisk.twoday_vicidial_xfer_log Table is already up to date
asterisk.user_call_log Table is already up to date
asterisk.vicibox Table is already up to date
asterisk.vicidial_admin_log Table is already up to date
asterisk.vicidial_agent_log OK
asterisk.vicidial_agent_log_archive Table is already up to date
asterisk.vicidial_agent_skip_log Table is already up to date
asterisk.vicidial_agent_sph Table is already up to date
asterisk.vicidial_ajax_log Table is already up to date
asterisk.vicidial_amm_multi Table is already up to date
asterisk.vicidial_api_log Table is already up to date
asterisk.vicidial_api_log_archive Table is already up to date
asterisk.vicidial_asterisk_output Table is already up to date
asterisk.vicidial_auto_calls
note : The storage engine for the table doesn't support optimize
asterisk.vicidial_avatar_audio Table is already up to date
asterisk.vicidial_avatars Table is already up to date
asterisk.vicidial_call_menu Table is already up to date
asterisk.vicidial_call_menu_options Table is already up to date
asterisk.vicidial_call_notes Table is already up to date
asterisk.vicidial_call_notes_archive Table is already up to date
asterisk.vicidial_call_time_holidays Table is already up to date
asterisk.vicidial_call_times Table is already up to date
asterisk.vicidial_callbacks Table is already up to date
asterisk.vicidial_callbacks_archive Table is already up to date
asterisk.vicidial_campaign_agents OK
asterisk.vicidial_campaign_cid_areacodes Table is already up to date
asterisk.vicidial_campaign_dnc OK
asterisk.vicidial_campaign_hotkeys Table is already up to date
asterisk.vicidial_campaign_server_stats
note : The storage engine for the table doesn't support optimize
asterisk.vicidial_campaign_stats OK
asterisk.vicidial_campaign_stats_debug OK
asterisk.vicidial_campaign_statuses Table is already up to date
asterisk.vicidial_campaigns OK
asterisk.vicidial_campaigns_list_mix Table is already up to date
asterisk.vicidial_carrier_log OK
asterisk.vicidial_carrier_log_archive Table is already up to date
asterisk.vicidial_chat_archive Table is already up to date
asterisk.vicidial_chat_log Table is already up to date
asterisk.vicidial_chat_log_archive Table is already up to date
asterisk.vicidial_chat_participants Table is already up to date
asterisk.vicidial_closer_log OK
asterisk.vicidial_closer_log_archive Table is already up to date
asterisk.vicidial_comments Table is already up to date
asterisk.vicidial_conf_templates Table is already up to date
asterisk.vicidial_conferences OK
asterisk.vicidial_configuration Table is already up to date
asterisk.vicidial_country_iso_tld Table is already up to date
asterisk.vicidial_cpd_log Table is already up to date
asterisk.vicidial_custom_cid Table is already up to date
asterisk.vicidial_custom_leadloader_templates Table is already up to date
asterisk.vicidial_custom_reports Table is already up to date
asterisk.vicidial_daily_max_stats OK
asterisk.vicidial_daily_ra_stats Table is already up to date
asterisk.vicidial_dial_log OK
asterisk.vicidial_dial_log_archive Table is already up to date
asterisk.vicidial_did_agent_log Table is already up to date
asterisk.vicidial_did_agent_log_archive Table is already up to date
asterisk.vicidial_did_log OK
asterisk.vicidial_did_ra_extensions Table is already up to date
asterisk.vicidial_dnc OK
asterisk.vicidial_dnc_log OK
asterisk.vicidial_dnccom_filter_log Table is already up to date
asterisk.vicidial_drop_rate_groups Table is already up to date
asterisk.vicidial_dtmf_log Table is already up to date
asterisk.vicidial_email_accounts Table is already up to date
asterisk.vicidial_email_list Table is already up to date
asterisk.vicidial_email_log Table is already up to date
asterisk.vicidial_extension_groups Table is already up to date
asterisk.vicidial_filter_phone_groups Table is already up to date
asterisk.vicidial_filter_phone_numbers Table is already up to date
asterisk.vicidial_grab_call_log Table is already up to date
asterisk.vicidial_hopper
note : The storage engine for the table doesn't support optimize
asterisk.vicidial_html_cache_stats Table is already up to date
asterisk.vicidial_inbound_dids Table is already up to date
asterisk.vicidial_inbound_group_agents Table is already up to date
asterisk.vicidial_inbound_groups OK
asterisk.vicidial_ivr Table is already up to date
asterisk.vicidial_ivr_response Table is already up to date
asterisk.vicidial_language_phrases Table is already up to date
asterisk.vicidial_languages Table is already up to date
asterisk.vicidial_lead_filters Table is already up to date
asterisk.vicidial_lead_recycle Table is already up to date
asterisk.vicidial_lead_search_log Table is already up to date
asterisk.vicidial_lead_search_log_archive Table is already up to date
asterisk.vicidial_list OK
asterisk.vicidial_list_alt_phones Table is already up to date
asterisk.vicidial_list_pins Table is already up to date
asterisk.vicidial_list_update_log Table is already up to date
asterisk.vicidial_lists OK
asterisk.vicidial_lists_custom Table is already up to date
asterisk.vicidial_lists_fields Table is already up to date
asterisk.vicidial_live_agents OK
asterisk.vicidial_live_chats Table is already up to date
asterisk.vicidial_live_inbound_agents Table is already up to date
asterisk.vicidial_log OK
asterisk.vicidial_log_archive Table is already up to date
asterisk.vicidial_log_extended OK
asterisk.vicidial_log_extended_archive Table is already up to date
asterisk.vicidial_log_noanswer Table is already up to date
asterisk.vicidial_log_noanswer_archive Table is already up to date
asterisk.vicidial_manager OK
asterisk.vicidial_manager_chat_log Table is already up to date
asterisk.vicidial_manager_chat_log_archive Table is already up to date
asterisk.vicidial_manager_chats Table is already up to date
asterisk.vicidial_manager_chats_archive Table is already up to date
asterisk.vicidial_manual_dial_queue Table is already up to date
asterisk.vicidial_monitor_calls Table is already up to date
asterisk.vicidial_monitor_log Table is already up to date
asterisk.vicidial_music_on_hold Table is already up to date
asterisk.vicidial_music_on_hold_files Table is already up to date
asterisk.vicidial_nanpa_filter_log Table is already up to date
asterisk.vicidial_nanpa_prefix_codes Table is already up to date
asterisk.vicidial_outbound_ivr_log Table is already up to date
asterisk.vicidial_outbound_ivr_log_archive Table is already up to date
asterisk.vicidial_override_ids Table is already up to date
asterisk.vicidial_pause_codes Table is already up to date
asterisk.vicidial_phone_codes Table is already up to date
asterisk.vicidial_postal_codes Table is already up to date
asterisk.vicidial_process_trigger_log Table is already up to date
asterisk.vicidial_process_triggers Table is already up to date
asterisk.vicidial_qc_agent_log Table is already up to date
asterisk.vicidial_qc_codes Table is already up to date
asterisk.vicidial_recording_access_log Table is already up to date
asterisk.vicidial_remote_agent_log Table is already up to date
asterisk.vicidial_remote_agents Table is already up to date
asterisk.vicidial_report_log OK
asterisk.vicidial_screen_colors Table is already up to date
asterisk.vicidial_screen_labels Table is already up to date
asterisk.vicidial_scripts Table is already up to date
asterisk.vicidial_server_carriers Table is already up to date
asterisk.vicidial_server_trunks Table is already up to date
asterisk.vicidial_session_data OK
asterisk.vicidial_settings_containers Table is already up to date
asterisk.vicidial_shifts Table is already up to date
asterisk.vicidial_state_call_times Table is already up to date
asterisk.vicidial_stations Table is already up to date
asterisk.vicidial_status_categories Table is already up to date
asterisk.vicidial_status_groups Table is already up to date
asterisk.vicidial_statuses Table is already up to date
asterisk.vicidial_territories Table is already up to date
asterisk.vicidial_timeclock_audit_log Table is already up to date
asterisk.vicidial_timeclock_log Table is already up to date
asterisk.vicidial_timeclock_status Table is already up to date
asterisk.vicidial_tts_prompts Table is already up to date
asterisk.vicidial_url_log Table is already up to date
asterisk.vicidial_url_multi Table is already up to date
asterisk.vicidial_urls Table is already up to date
asterisk.vicidial_user_closer_log OK
asterisk.vicidial_user_groups Table is already up to date
asterisk.vicidial_user_log OK
asterisk.vicidial_user_territories Table is already up to date
asterisk.vicidial_user_territory_log Table is already up to date
asterisk.vicidial_users OK
asterisk.vicidial_voicemail Table is already up to date
asterisk.vicidial_webservers Table is already up to date
asterisk.vicidial_xfer_log Table is already up to date
asterisk.vicidial_xfer_presets Table is already up to date
asterisk.vicidial_xfer_stats Table is already up to date
asterisk.vtiger_rank_data Table is already up to date
asterisk.vtiger_rank_parameters Table is already up to date
asterisk.vtiger_vicidial_roles Table is already up to date
asterisk.web_client_sessions
note : The storage engine for the table doesn't support optimize
asterisk.www_phrases
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: time synchronization error

Postby iboam » Wed Aug 31, 2016 2:38 pm

Code: Select all
mysqlcheck -u cron -p -A --auto-repair

Code: Select all
Enter password:1234
asterisk.audio_store_details OK
asterisk.call_log OK
asterisk.call_log_archive OK
asterisk.callcard_accounts OK
asterisk.callcard_accounts_details OK
asterisk.callcard_log OK
asterisk.conferences OK
asterisk.contact_information OK
asterisk.dialable_inventory_snapshots OK
asterisk.groups_alias OK
asterisk.inbound_email_attachments OK
asterisk.inbound_numbers OK
asterisk.live_channels
note : The storage engine for the table doesn't support check
asterisk.live_inbound OK
asterisk.live_inbound_log OK
asterisk.live_sip_channels
note : The storage engine for the table doesn't support check
asterisk.nanpa_prefix_exchanges_fast OK
asterisk.nanpa_prefix_exchanges_master OK
asterisk.nanpa_wired_to_wireless OK
asterisk.nanpa_wireless_to_wired OK
asterisk.park_log OK
asterisk.parked_channels
note : The storage engine for the table doesn't support check
asterisk.phone_favorites OK
asterisk.phones OK
asterisk.phones_alias OK
asterisk.recording_log OK
asterisk.routing_initiated_recordings OK
asterisk.server_performance OK
asterisk.server_updater
note : The storage engine for the table doesn't support check
asterisk.servers OK
asterisk.system_settings OK
asterisk.twoday_call_log OK
asterisk.twoday_recording_log OK
asterisk.twoday_vicidial_agent_log OK
asterisk.twoday_vicidial_closer_log OK
asterisk.twoday_vicidial_log OK
asterisk.twoday_vicidial_xfer_log OK
asterisk.user_call_log OK
asterisk.vicibox OK
asterisk.vicidial_admin_log OK
asterisk.vicidial_agent_log OK
asterisk.vicidial_agent_log_archive OK
asterisk.vicidial_agent_skip_log OK
asterisk.vicidial_agent_sph OK
asterisk.vicidial_ajax_log OK
asterisk.vicidial_amm_multi OK
asterisk.vicidial_api_log OK
asterisk.vicidial_api_log_archive OK
asterisk.vicidial_asterisk_output OK
asterisk.vicidial_auto_calls
note : The storage engine for the table doesn't support check
asterisk.vicidial_avatar_audio OK
asterisk.vicidial_avatars OK
asterisk.vicidial_call_menu OK
asterisk.vicidial_call_menu_options OK
asterisk.vicidial_call_notes OK
asterisk.vicidial_call_notes_archive OK
asterisk.vicidial_call_time_holidays OK
asterisk.vicidial_call_times OK
asterisk.vicidial_callbacks OK
asterisk.vicidial_callbacks_archive OK
asterisk.vicidial_campaign_agents OK
asterisk.vicidial_campaign_cid_areacodes OK
asterisk.vicidial_campaign_dnc OK
asterisk.vicidial_campaign_hotkeys OK
asterisk.vicidial_campaign_server_stats
note : The storage engine for the table doesn't support check
asterisk.vicidial_campaign_stats OK
asterisk.vicidial_campaign_stats_debug OK
asterisk.vicidial_campaign_statuses OK
asterisk.vicidial_campaigns OK
asterisk.vicidial_campaigns_list_mix OK
asterisk.vicidial_carrier_log OK
asterisk.vicidial_carrier_log_archive OK
asterisk.vicidial_chat_archive OK
asterisk.vicidial_chat_log OK
asterisk.vicidial_chat_log_archive OK
asterisk.vicidial_chat_participants OK
asterisk.vicidial_closer_log OK
asterisk.vicidial_closer_log_archive OK
asterisk.vicidial_comments OK
asterisk.vicidial_conf_templates OK
asterisk.vicidial_conferences OK
asterisk.vicidial_configuration OK
asterisk.vicidial_country_iso_tld OK
asterisk.vicidial_cpd_log OK
asterisk.vicidial_custom_cid OK
asterisk.vicidial_custom_leadloader_templates OK
asterisk.vicidial_custom_reports OK
asterisk.vicidial_daily_max_stats OK
asterisk.vicidial_daily_ra_stats OK
asterisk.vicidial_dial_log OK
asterisk.vicidial_dial_log_archive OK
asterisk.vicidial_did_agent_log OK
asterisk.vicidial_did_agent_log_archive OK
asterisk.vicidial_did_log OK
asterisk.vicidial_did_ra_extensions OK
asterisk.vicidial_dnc OK
asterisk.vicidial_dnc_log OK
asterisk.vicidial_dnccom_filter_log OK
asterisk.vicidial_drop_rate_groups OK
asterisk.vicidial_dtmf_log OK
asterisk.vicidial_email_accounts OK
asterisk.vicidial_email_list OK
asterisk.vicidial_email_log OK
asterisk.vicidial_extension_groups OK
asterisk.vicidial_filter_phone_groups OK
asterisk.vicidial_filter_phone_numbers OK
asterisk.vicidial_grab_call_log OK
asterisk.vicidial_hopper
note : The storage engine for the table doesn't support check
asterisk.vicidial_html_cache_stats OK
asterisk.vicidial_inbound_dids OK
asterisk.vicidial_inbound_group_agents OK
asterisk.vicidial_inbound_groups OK
asterisk.vicidial_ivr OK
asterisk.vicidial_ivr_response OK
asterisk.vicidial_language_phrases OK
asterisk.vicidial_languages OK
asterisk.vicidial_lead_filters OK
asterisk.vicidial_lead_recycle OK
asterisk.vicidial_lead_search_log OK
asterisk.vicidial_lead_search_log_archive OK
asterisk.vicidial_list OK
asterisk.vicidial_list_alt_phones OK
asterisk.vicidial_list_pins OK
asterisk.vicidial_list_update_log OK
asterisk.vicidial_lists OK
asterisk.vicidial_lists_custom OK
asterisk.vicidial_lists_fields OK
asterisk.vicidial_live_agents OK
asterisk.vicidial_live_chats OK
asterisk.vicidial_live_inbound_agents OK
asterisk.vicidial_log OK
asterisk.vicidial_log_archive OK
asterisk.vicidial_log_extended OK
asterisk.vicidial_log_extended_archive OK
asterisk.vicidial_log_noanswer OK
asterisk.vicidial_log_noanswer_archive OK
asterisk.vicidial_manager OK
asterisk.vicidial_manager_chat_log OK
asterisk.vicidial_manager_chat_log_archive OK
asterisk.vicidial_manager_chats OK
asterisk.vicidial_manager_chats_archive OK
asterisk.vicidial_manual_dial_queue OK
asterisk.vicidial_monitor_calls OK
asterisk.vicidial_monitor_log OK
asterisk.vicidial_music_on_hold OK
asterisk.vicidial_music_on_hold_files OK
asterisk.vicidial_nanpa_filter_log OK
asterisk.vicidial_nanpa_prefix_codes OK
asterisk.vicidial_outbound_ivr_log OK
asterisk.vicidial_outbound_ivr_log_archive OK
asterisk.vicidial_override_ids OK
asterisk.vicidial_pause_codes OK
asterisk.vicidial_phone_codes OK
asterisk.vicidial_postal_codes OK
asterisk.vicidial_process_trigger_log OK
asterisk.vicidial_process_triggers OK
asterisk.vicidial_qc_agent_log OK
asterisk.vicidial_qc_codes OK
asterisk.vicidial_recording_access_log OK
asterisk.vicidial_remote_agent_log OK
asterisk.vicidial_remote_agents OK
asterisk.vicidial_report_log OK
asterisk.vicidial_screen_colors OK
asterisk.vicidial_screen_labels OK
asterisk.vicidial_scripts OK
asterisk.vicidial_server_carriers OK
asterisk.vicidial_server_trunks OK
asterisk.vicidial_session_data OK
asterisk.vicidial_settings_containers OK
asterisk.vicidial_shifts OK
asterisk.vicidial_state_call_times OK
asterisk.vicidial_stations OK
asterisk.vicidial_status_categories OK
asterisk.vicidial_status_groups OK
asterisk.vicidial_statuses OK
asterisk.vicidial_territories OK
asterisk.vicidial_timeclock_audit_log OK
asterisk.vicidial_timeclock_log OK
asterisk.vicidial_timeclock_status OK
asterisk.vicidial_tts_prompts OK
asterisk.vicidial_url_log OK
asterisk.vicidial_url_multi OK
asterisk.vicidial_urls OK
asterisk.vicidial_user_closer_log OK
asterisk.vicidial_user_groups OK
asterisk.vicidial_user_log OK
asterisk.vicidial_user_territories OK
asterisk.vicidial_user_territory_log OK
asterisk.vicidial_users OK
asterisk.vicidial_voicemail OK
asterisk.vicidial_webservers OK
asterisk.vicidial_xfer_log OK
asterisk.vicidial_xfer_presets OK
asterisk.vicidial_xfer_stats OK
asterisk.vtiger_rank_data OK
asterisk.vtiger_rank_parameters OK
asterisk.vtiger_vicidial_roles OK
asterisk.web_client_sessions
note : The storage engine for the table doesn't support check
asterisk.www_phrases OK
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: time synchronization error

Postby williamconley » Wed Aug 31, 2016 10:42 pm

OK: So the first time, your description is "doesn't work". Then you post the complete debug output TWICE instead of merely posting that you got a lot of "OK" table responses and some "The storage engine for the table doesn't support check" responses.

I'm not going to read through all that output to see if there were any other responses, LOL.

But if those were the only two then it *DID* work. Which means you do not have any broken tables and there's a different problem.

Perhaps you changed the IP of your server but did not run the IP Update script?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: time synchronization error

Postby iboam » Thu Sep 01, 2016 12:04 am

I have not changed the ip of the server ... What i have noticed it's that when happen this error the server time it's not the same as eastern time so i have to update tables and go to yas time and syncronize time i have backup on this server and every time i have to reboot i do it by command ... Why it's this happening ???
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: time synchronization error

Postby williamconley » Thu Sep 01, 2016 12:21 am

1) Have you configured ntp? (properly, working, synced?)

2) What is this "so i have to update tables"?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: time synchronization error

Postby iboam » Thu Sep 01, 2016 12:35 am

I install this server a week ago i dont have other issues, i just told you the procedures i follow ...
Check and optimize mysql tables then on the report page the time on the db and php servers were the same but the other was totally different, when type yast -> time the time was not syncronized ... Rhere is any way to fix this ??
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: time synchronization error

Postby williamconley » Thu Sep 01, 2016 12:46 am

That depends on what actually fixed your problem.

Possibly Properly configuring NTP.
ntpq -p

This should show synced remote servers. If it does not, then you may have a problem. You may also have a low/dead CMOS battery ($2 part).

Also, next time try fixing/checking one thing then rebooting. If that does not fix it, try something else first next time. Eventually you may find the actual problem instead of "trying a bunch of stuff" each time. 8-) (Been there, done that.)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: time synchronization error

Postby iboam » Thu Sep 01, 2016 1:06 am

Ok thank for your advice ... When i have checked and optimized the tables i used to reboot then it's fine sometimes it do it again some times next day. By th way this is a single server (express)
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: time synchronization error

Postby iboam » Thu Sep 01, 2016 1:12 am

ntpq -p


Code: Select all
remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
+pacific.latt.ne 44.24.199.34     3 u  194 1024  377   22.643   13.262   7.316
+ds1789963.dedic 162.23.41.56     2 u  182 1024  377  167.733    1.435   0.847
-chl.la          200.98.196.212   2 u  452 1024  367    8.591   -1.248   1.499
*ec2-52-6-160-3. 209.51.161.238   2 u  463 1024  377   78.944    6.395   4.884
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: time synchronization error

Postby williamconley » Thu Sep 01, 2016 1:15 am

So... usually table check and reboot fixes it. But this time it did not, and you had to set the time.

Next time check the ntp status first and see if that's broken before you begin. If the server loses time sync, something is always wrong. Could be an attack (unlikely, but possible) or a CMOS battery. Note that if your server gets out of sync by more than 5 minutes, it will not attempt to sync any more. CMOS battery death can cause this quite easily.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: time synchronization error

Postby iboam » Thu Sep 01, 2016 1:36 am

i'm having same issue in 2 different servers, one of them everyday the other just today yesterday

This server was twice yesterday this is the one that change the time
Code: Select all
remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 45.33.43.25 (eq .INIT.          16 u    - 1024    0    0.000    0.000   0.000
 soft-sea-01.ser .INIT.          16 u    - 1024    0    0.000    0.000   0.000
 107.170.224.8 ( .INIT.          16 u    - 1024    0    0.000    0.000   0.000
 triangle.kansas .INIT.          16 u    - 1024    0    0.000    0.000   0.000


and this is the other that it's daily and no issue with time sync
Code: Select all
remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
+pacific.latt.ne 44.24.199.34     3 u  194 1024  377   22.643   13.262   7.316
+ds1789963.dedic 162.23.41.56     2 u  182 1024  377  167.733    1.435   0.847
-chl.la          200.98.196.212   2 u  452 1024  367    8.591   -1.248   1.499
*ec2-52-6-160-3. 209.51.161.238   2 u  463 1024  377   78.944    6.395   4.884


do you see any errors on any of them ???
anyway i will check the cmos battery tomorrow
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: time synchronization error

Postby williamconley » Thu Sep 01, 2016 1:46 am

1) Your DB server should be reaching out ONLY to approved NTP servers. Not a "pool" (as those are potoentially attackers).

2) Your NONDB servers should be using the DB server as an iBurst ntp server. In other words: The non-db servers should be using the DB server as their trusted time source. It's NOT important that your servers have the right time, only that they all agree with each other on what the time is.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: time synchronization error

Postby iboam » Thu Sep 01, 2016 1:53 am

how may i fix this ??? remember ... both servers are single (DB, WEB, Telephony) non of them are clusters .... but i'm having same issue on both ... thanks in advance for all your help ...
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: time synchronization error

Postby williamconley » Thu Sep 01, 2016 2:10 pm

If you are in the USA, put this in your /etc/ntp.conf (if you're not, try to find a reliable, trusted ntp service or three):
Code: Select all
driftfile /var/lib/ntp/drift/ntp.drift
logfile /var/log/ntp

server time-c.nist.gov
server time-a.nist.gov
server time-b.nist.gov
server time-d.nist.gov
#server nist1.columbiacountyga.gov
#server time-a.timefreq.bldrdoc.gov
server time.nist.gov
server 127.127.1.0

fudge 127.127.1.0  stratum 10
restrict 127.127.1.0

restrict default  nomodify notrap


Then
Code: Select all
service ntp restart
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: time synchronization error

Postby iboam » Thu Sep 01, 2016 2:52 pm

Code: Select all
service ntp restart
service: no such service ntp
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: time synchronization error

Postby williamconley » Thu Sep 01, 2016 3:25 pm

sorry, vicibox 7 = ntpd instead of ntp :)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: time synchronization error

Postby iboam » Thu Sep 01, 2016 3:29 pm

thanks will i just replace the cmos battery i will update any change ... by the way when i login as root show this
There were 36 failed login attempts since the last successful login.
Last login: Thu Sep 1 16:18:49 2016
it's something to worry about ??
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: time synchronization error

Postby williamconley » Thu Sep 01, 2016 3:36 pm

Um ... yes.

If you have not yet whitelisted your server's firewall, you're going to need to do so before something bad happens.

I strongly suggest: http://viciwiki.com/index.php/DGG

However, the DGG portion of that is merely to make it easy to add Authorized IPs. The instructions for locking down the server BEFORE installing DGG are all that's really necesssary. Once performed properly, your system should be in whitelist mode: Only those with authorized IP addresses can access the system. No one else should know it exists and will not get a packet past the firewall.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: time synchronization error

Postby iboam » Thu Sep 01, 2016 3:37 pm

Thanks im open it right now thanks ...
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 45 guests