Time Sync Error / port 5038: Connection refused

All installation and configuration problems and questions

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

Time Sync Error / port 5038: Connection refused

Postby IanGP » Mon Aug 14, 2023 12:21 pm

Hi All,

VERSION: 2.14-894a
BUILD: 230810-2005

/usr/src/astguiclient/trunk
Path: .
Working Copy Root Path: /usr/src/astguiclient/trunk
URL: svn://svn.eflo.net/agc_2-X/trunk
Relative URL: ^/agc_2-X/trunk
Repository Root: svn://svn.eflo.net
Repository UUID: 3d104415-ff17-0410-8863-d5cf3c621b8a
Revision: 3752
Node Kind: directory
Schedule: normal
Last Changed Author: mattf
Last Changed Rev: 3752
Last Changed Date: 2023-08-14 04:07:42 +0200 (Mon, 14 Aug 2023)

Single server.
Fresh install.

Install goes off without a hitch, but when logging in as an agent, I get a time synchronization problem.
I went back to the Reports page and saw that the server time is not updating.
tzselect has been set up and using Africa/Johannesburg, and set that timezone in /etc/php7/apache2/php.ini as well as /etc/php7/cli/php.ini
NTP servers set to 0.opensuse.pool.ntp.org and 1.opensuse.pool.ntp.org

Having a look at /mail/root:
Date: Mon, 14 Aug 2023 19:18:01 +0200 (SAST)
problem connecting to "localhost", port 5038: Connection refused at /usr/share/astguiclient/AST_vm_update.pl line 236


A thread somewhere along the search suggested I check screens:
/etc/php7 # screen -ls
There are screens on:
5316.ASTVDauto (Detached)
3596.ASTemail (Detached)
3593.ASTVDadFILL (Detached)
3590.ASTVDadapt (Detached)
2534.ASTfastlog (Detached)
2292.asterisk (Detached)
2286.astshell20230814185518 (Detached)
7 Sockets in /run/screens/S-root.


I have copied a known good manager.conf file from another server, and still not getting all screens up and stable

I'm currently going around in circles.... Any suggestions?

Thanks
GP
IanGP
 
Posts: 59
Joined: Thu Jul 28, 2016 1:27 am

Re: Time Sync Error / port 5038: Connection refused

Postby martinch » Tue Aug 15, 2023 3:44 pm

Oh hey Ian, hope you're well.

Looks like you're on the bleeding edge of ViCi here. Has your database schema been updated with the latest schema changes? I'm seeing you seem to be missing a few screens too in your screen -ls. Try updating your schema...possibly a recent code change is referencing a column or table and falling over.

Hope this helps. Let us know how you get on. Cheers.
Project Lead @ mDial -> https://github.com/TheBlode/mDial
martinch
 
Posts: 273
Joined: Thu Nov 15, 2018 9:14 am
Location: England, UK

Re: Time Sync Error / port 5038: Connection refused

Postby carpenox » Wed Aug 16, 2023 1:14 am

What asterisk version are you running? The sockets that are missing are send and listen which usually leads to a bad manager.conf file but you tried that so do this for me, type "screen asterisk vvvvvvvvvvc" and see if it crashes, if not use control a then control d. After that try to connect again with asterisk -r

Chris
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2426
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Time Sync Error / port 5038: Connection refused

Postby IanGP » Thu Aug 17, 2023 5:59 am

Thanks Folks,

@Chris, asterisk kept crashing after a minute.

@Carpenox, I was running 13.38.2-vici.

I had installed from ViciBox_v9.x86_64-9.0.3.iso and run updates, etc, but kept having the same issues.
Since time was low, I installed from ViciBox_v10.x86_64-10.0.2.iso, and all OK.

My suspicion is that ViciBox_V9 install, being OpenSUSE 15.1, and several updates failed, was the root cause here.
But I am not knowledgeable enough to make a firm proclamation on that.

Any thoughts before I mark this as Solved?
IanGP
 
Posts: 59
Joined: Thu Jul 28, 2016 1:27 am

Re: Time Sync Error / port 5038: Connection refused

Postby carpenox » Thu Aug 17, 2023 12:59 pm

Yes ViciBox 9 is dead, 10 will be soon as well. Vicibox 11 is out and that's the one you should be using.

Chris
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2426
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 147 guests