Page 1 of 1

SVN Version Showing 0

PostPosted: Wed Apr 20, 2022 6:11 am
by Ikram_Ali
Hi,

Can somebody help me out please, I'm stuck and I have to make the server ready on urgent basis.

Actually, I took the db backup from X machine and uploading it to Y machine.

X machine already has SVN 0 and was running fine but now we need to move our data center, so it needs to restore db on new Y machine.

I restored the DB successfully but SVN version still showing 0 (on Y machine) and due to it time zone of server under Reports showing in RED color (when click on Server +) not syncing with PHP and DB time, so getting unstable sockets like 5 or 6, not getting full 10 sockets.

I also tried to update the SVN under extras directory but nothing worked.

So can somebody help me out to achieve 10 sockets.

System Settings looks like...

Version: 2.9rc1
SVN Version: 0
DB Schema Version: 1379

Server details/configuration.

[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)

[root@localhost ~]# cat /usr/src/astguiclient/version
2.9rc1
[root@localhost ~]# asterisk -rx "core show version"
Asterisk 13.29.2 built by root @ localhost.localdomain on a x86_64 running Linux on 2022-04-12 10:57:36 UTC

[root@localhost ~]# screen -ls
There are screens on:
2148.asterisk (Detached)
2139.astshell20220420064813 (Detached)
2077.ASTconf3way (Detached)
2074.ASTfastlog (Detached)
2071.ASTVDadapt (Detached)
5 Sockets in /var/run/screen/S-root.

Here, I can't see the uploading the image, else i can show you how it looks like.

Re: SVN Version Showing 0

PostPosted: Wed Apr 20, 2022 8:35 am
by carpenox
run the install.pl script again

Re: SVN Version Showing 0

PostPosted: Wed Apr 20, 2022 9:55 am
by Ikram_Ali
carpenox wrote:run the install.pl script again


I run it multiple times but no luck. Anything I can do or am i missing something.

Re: SVN Version Showing 0

PostPosted: Wed Apr 20, 2022 10:46 am
by Kabis
Hi,

1. CHange your Local time with your local time.

2. Set IP address using that script

3. Then run install.pl.

Re: SVN Version Showing 0

PostPosted: Wed Apr 20, 2022 1:42 pm
by Ikram_Ali
Kabis wrote:Hi,

1. CHange your Local time with your local time.

2. Set IP address using that script

3. Then run install.pl.


I tried all 3 steps but no progress, still server time not syncing with PHP time and DB time, PHP and DB time syncing fine but server time still stuck after a reboot because SVN showing 0 in red color.

[img]file:///C:/Users/NOC4/Documents/Ikram-Don't%20Delete/Capture.PNG[/img]

Re: SVN Version Showing 0

PostPosted: Thu Apr 21, 2022 9:15 am
by Ikram_Ali
Ikram_Ali wrote:
Kabis wrote:Hi,

1. CHange your Local time with your local time.

2. Set IP address using that script

3. Then run install.pl.


I tried all 3 steps but no progress, still server time not syncing with PHP time and DB time, PHP and DB time syncing fine but server time still stuck after a reboot because SVN showing 0 in red color.

[img]file:///C:/Users/NOC4/Documents/Ikram-Don't%20Delete/Capture.PNG[/img]


Hi any input for the same...

I am using asterisk 13 for Y machine while for X machine it is asterisk 1.8.23.0, will that make problem.

Re: SVN Version Showing 0

PostPosted: Thu Apr 21, 2022 10:16 am
by carpenox
message me on skype and ill take a look

Re: SVN Version Showing 0

PostPosted: Thu Apr 21, 2022 1:48 pm
by Ikram_Ali
carpenox wrote:message me on skype and ill take a look

Thanks carpenox. It was a great help.

Re: SVN Version Showing 0

PostPosted: Sat Apr 23, 2022 5:47 am
by Ikram_Ali
Ikram_Ali wrote:
carpenox wrote:message me on skype and ill take a look

Thanks carpenox. It was a great help.

Hi carpenox,
One more challenge is coming, when I run 'core restart now' under CLI or reboot machine, asterisk not running, it's giving me the error.

Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)

As you know, I copied the DB from X machine to Y machine, so I also copied the below asterisk files from X machine to Y machine.

/etc/asterisk
/var/lib/asterisk
/var/spool/asterisk

I renamed the original above files to asterisk_ORIG and copied the X machine asterisk files to simple with name asterisk, so that Asterisk can read the copied file, but problem starts if I run 'core restart now' or reboot the machine then asterisk not running. I googled very much but nothing helped me.

Any Idea will be much appreciated...Thanks.

Asterisk Version on Y Machine: 13.29.2

Re: SVN Version Showing 0

PostPosted: Fri May 06, 2022 3:31 pm
by williamconley
The asterisk application or even it's scripts can't be "copied" among machines. kernel differences matter for asterisk, asterisk versions use different agi scripts and dialplans and even configuration files.

If you want asterisk on a machine, use the Vicibox installer. Expanding a Vicidial installation to multiple servers (ie: Clustering) is fully handled by the Vicibox installer.