Page 1 of 1

Time Sync Error / port 5038: Connection refused

PostPosted: Mon Aug 14, 2023 12:21 pm
by IanGP
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

Re: Time Sync Error / port 5038: Connection refused

PostPosted: Tue Aug 15, 2023 3:44 pm
by martinch
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.

Re: Time Sync Error / port 5038: Connection refused

PostPosted: Wed Aug 16, 2023 1:14 am
by carpenox
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

Re: Time Sync Error / port 5038: Connection refused

PostPosted: Thu Aug 17, 2023 5:59 am
by IanGP
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?

Re: Time Sync Error / port 5038: Connection refused

PostPosted: Thu Aug 17, 2023 12:59 pm
by carpenox
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