I am sorry to say, but I already deleted both secondaries, so when I added
"th.internal.epo.org" the only other server around was
the primary (indeed "gssipx02.internal.epo.org").
I ran initialconfig manually and could not find any archives in
/var/sipxdata/tmp:
[***@gssipx02 freeswitch]# ls -al /var/sipxdata/tmp/
total 69520
drwxr-xr-x 15 sipxchange sipxchange 20480 Aug 20 16:37 .
drwxr-xr-x 19 sipxchange sipxchange 4096 Aug 15 2011 ..
-rw-r--r-- 1 root root 45025280 Aug 17 14:08 all.tar
-rw-r--r-- 1 root root 4874240 Aug 20 12:10 allzips.tar
drwxr-xr-x 2 root root 4096 Aug 17 14:01 bkup
drwxr-xr-x 2 root sipxchange 4096 Apr 21 2010 cache_sbinet
-rw-r--r-- 1 sipxchange sipxchange 505 Jan 26 2011
cdr-active-callers-graph.csv
-rw-r--r-- 1 sipxchange sipxchange 15592 Jan 26 2011
cdr-active-callers-graph.html
drwxr-xr-x 2 sipxchange sipxchange 4096 Jan 26 2011
cdr-active-callers-graph.html_files
-rw-r--r-- 1 sipxchange sipxchange 79999 Jan 26 2011
cdr-active-callers-graph.pdf
-rw-r--r-- 1 sipxchange sipxchange 91648 Jan 26 2011
cdr-active-callers-graph.xls
-rw-r--r-- 1 sipxchange sipxchange 110010 Mar 3 2011
cdr-extension-report.csv
-rw-r--r-- 1 sipxchange sipxchange 2015047 Mar 3 2011
cdr-extension-report.html
drwxr-xr-x 2 sipxchange sipxchange 4096 Mar 3 2011
cdr-extension-report.html_files
-rw-r--r-- 1 sipxchange sipxchange 92695 Mar 3 2011
cdr-extension-report.pdf
-rw-r--r-- 1 sipxchange sipxchange 1114112 Mar 3 2011
cdr-extension-report.xls
-rw-r--r-- 1 sipxchange sipxchange 213 Jul 2 2010
cdr-longdistance-report.csv
-rw-r--r-- 1 sipxchange sipxchange 8230 Jul 2 2010
cdr-longdistance-report.html
drwxr-xr-x 2 sipxchange sipxchange 4096 Jul 2 2010
cdr-longdistance-report.html_files
-rw-r--r-- 1 sipxchange sipxchange 11465 Jul 2 2010
cdr-longdistance-report.pdf
-rw-r--r-- 1 sipxchange sipxchange 11776 Jul 2 2010
cdr-longdistance-report.xls
-rw-r--r-- 1 sipxchange sipxchange 250 Jul 2 2010
cdr-minutes-outgoing-graph.csv
-rw-r--r-- 1 sipxchange sipxchange 8138 Jul 2 2010
cdr-minutes-outgoing-graph.html
drwxr-xr-x 2 sipxchange sipxchange 4096 Jul 2 2010
cdr-minutes-outgoing-graph.html_files
-rw-r--r-- 1 sipxchange sipxchange 63036 Jul 2 2010
cdr-minutes-outgoing-graph.pdf
-rw-r--r-- 1 sipxchange sipxchange 68608 Jul 2 2010
cdr-minutes-outgoing-graph.xls
-rw-r--r-- 1 sipxchange sipxchange 122010 Mar 3 2011
cdr-table-report.csv
-rw-r--r-- 1 sipxchange sipxchange 2966822 Mar 3 2011
cdr-table-report.html
drwxr-xr-x 2 sipxchange sipxchange 4096 May 26 2010
cdr-table-report.html_files
-rw-r--r-- 1 sipxchange sipxchange 159373 Mar 3 2011
cdr-table-report.pdf
-rw-r--r-- 1 sipxchange sipxchange 1575936 Mar 3 2011
cdr-table-report.xls
-rw-r--r-- 1 sipxchange sipxchange 10 Apr 20 2010 check-update.err
-rw-r--r-- 1 sipxchange sipxchange 175 Apr 20 2010
check-update.output
-rw-r--r-- 1 sipxchange sipxchange 818 Jan 11 2011
csv_import5493224017210895546.tmp
-rw-r--r-- 1 sipxchange sipxchange 838 Jan 11 2011
csv_import6078836245117277261.tmp
-rw-r--r-- 1 sipxchange sipxchange 23419 Aug 29 2011
export784065652261213252.csv
-rw-r--r-- 1 sipxchange sipxchange 25837 Mar 29 14:05
export969323880305342283.csv
drwxr-xr-x 2 sipxchange sipxchange 4096 Aug 20 16:41 freeswitch
drwxr-xr-x 3 sipxchange sipxchange 4096 Jun 6 2011
ftpBackup2366148402684858945dir
-rw-r--r-- 1 sipxchange sipxchange 0 Jan 26 2010 generateDns.err
-rw-r--r-- 1 sipxchange sipxchange 0 Jan 26 2010
generateDns.output
-rwxr-xr-x 1 sipxchange sipxchange 0 Aug 20 12:28 imdb.bce
-rwxr-xr-x 1 sipxchange sipxchange 0 Aug 20 12:28 imdb.cs
-rwxr-xr-x 1 sipxchange sipxchange 0 Aug 20 12:28 imdb.dm
-rwxr-xr-x 1 sipxchange sipxchange 0 Aug 20 12:28 imdb.in
-rw-r--r-- 1 sipxchange sipxchange 8388608 Aug 20 16:41 imdb.odb
-rwxr-xr-x 1 sipxchange sipxchange 0 Aug 20 12:28 imdb.rs
-rwxr-xr-x 1 sipxchange sipxchange 0 Aug 20 12:28 imdb.us
-rwxr-xr-x 1 sipxchange sipxchange 0 Aug 20 12:28 imdb.ws
drwxr-xr-x 2 sipxchange sipxchange 4096 Aug 16 20:03 index
drwxr-xr-x 4 root root 4096 Aug 20 16:37 initial-config
drwxr-xr-x 3 sipxchange sipxchange 4096 Aug 20 12:28
Jetty__8443__cmcprov
drwxr-xr-x 3 sipxchange sipxchange 4096 Aug 20 12:28
Jetty__8443__sipxconfig
-rw-r--r-- 1 sipxchange sipxchange 10 Nov 13 2009 restart.err
-rw-r--r-- 1 sipxchange sipxchange 796 Nov 13 2009 restart.output
-rw-r--r-- 1 sipxchange sipxchange 1478199 May 12 2011
sipx-configuration.tar.gz
-rw-r--r-- 1 root sipxchange 20 Aug 20 12:28
sipxopenfire.version
-rw-r--r-- 1 sipxchange sipxchange 1057356 May 12 2011
sipx-snapshot-gmsipx02.internal.epo.org.tar.gz
-rw-r--r-- 1 sipxchange sipxchange 1478199 May 12 2011
sipx-snapshot-gssipx02.internal.epo.org.tar.gz
-rw-r--r-- 1 sipxchange sipxchange 848144 May 12 2011
sipx-snapshot-th.internal.epo.org.tar.gz
-rw-r--r-- 1 sipxchange sipxchange 0 Aug 20 12:28 ssl_scache.dir
-rw-r--r-- 1 sipxchange sipxchange 0 Aug 20 12:28 ssl_scache.pag
-rw-r--r-- 1 root root 4874240 Aug 17 14:10 tars.tar
-rw-r--r-- 1 sipxchange sipxchange 20 Dec 4 2009 update.err
-rw-r--r-- 1 sipxchange sipxchange 11515 Dec 4 2009 update.output
-rw-r--r-- 1 sipxchange sipxchange 10 Jan 12 2010 version.err
-rw-r--r-- 1 sipxchange sipxchange 74 Jan 12 2010 version.output
I had a look into the initialconfig directory and there I found the
archive:
[***@gssipx02 initial-config]# ls -al /var/sipxdata/tmp/initial-config/
total 44
drwxr-xr-x 4 root root 4096 Aug 20 16:37 .
drwxr-xr-x 15 sipxchange sipxchange 20480 Aug 20 16:37 ..
drwxr-xr-x 4 root root 4096 Aug 20 16:37 etc
-rw-r--r-- 1 root root 3973 Aug 20 16:37 .tar.gz
drwxr-xr-x 3 root root 4096 Aug 20 16:37 th.internal.epo.org
-rw-r--r-- 1 root root 3952 Aug 20 16:37
th.internal.epo.org.tar.gz
[***@gssipx02 initial-config]#
So with a manual run it is being created.
I then tried to add a server (at around 16:40, so 14:40 in the logfile
(GMT+2) through the GUI, nothing in the sipxconfig.log relating to
"initial" or the servername.
Looking through the files a bit more I found it a bit strange that
/etc/sipxpbx/ssl/th/ca.gssipx02.internal.epo.org.crt
[***@gssipx02 ssl]# ls -al
/etc/sipxpbx/ssl/th/ca.gssipx02.internal.epo.org.crt
-rw-r--r-- 1 root root 2377 Aug 16 20:02
/etc/sipxpbx/ssl/th/ca.gssipx02.internal.epo.org.crt
is different from
/var/sipxdata/tmp/initial-config/etc/sipxpbx/ssl/authorities/ca.gssipx02.internal.epo.org.crt
[***@gssipx02 ssl]# ls -al
/var/sipxdata/tmp/initial-config/etc/sipxpbx/ssl/authorities/
total 12
drwx------ 2 sipxchange root 4096 Aug 20 16:37 .
drwx------ 3 sipxchange root 4096 Aug 20 16:37 ..
lrwxrwxrwx 1 root root 32 Aug 20 16:37 c6310ad2.0 ->
ca.gssipx02.internal.epo.org.crt
-rw-r--r-- 1 sipxchange root 2377 Aug 20 16:37
ca.gssipx02.internal.epo.org.crt
I don't know whether that is important, but it looked suspicious to me,
why would there be a different ca certificate?.
Paul
sipx-users-***@list.sipfoundry.org wrote on 20-08-2012 15:29:14:
> From:
>
> George Niculae <***@ezuce.com>
>
> To:
>
> Discussion list for users of sipXecs software
<sipx-***@list.sipfoundry.org>
>
> Date:
>
> 20-08-2012 15:29
>
> Subject:
>
> Re: [sipx-users] SipX not starting anymore.
>
> Sent by:
>
> sipx-users-***@list.sipfoundry.org
>
> On Mon, Aug 20, 2012 at 3:34 PM, <***@epo.org> wrote:
> > Hi George,
> >
> > Back at work, trying to solve the initialconfig problem.
> > I started with a restart this morning with all the files in the
> > /var/sipxdata/tmp/ in place (restored them friday).
> > Then added a server through the GUI
> > This resulted in a run of initialconfig with an exit code 1.
(09:55:44.821
> > in log file)
> > I then deleted all the tar.gz's in /var/sipxdata/tmp (or should I
delete
> > something else?)
> > Restarted services again.
> > Added a server again through the GUI.
> > Then the initial-config did not run anymore, in the log file I see a
> > "Connection refused" around that time, 10:14:14.754
>
> I think you see this because there is another server configured, can
> you start from the beginning one more time and leave only master? that
> is gssipx02.internal.epo.org I assume. Then add slave in UI, run
> sipxecs-setup on slave and see if still same error. If you get the
> error try to manually run intial-config script and see if archive gets
> generated inside /var/sipxdata/tmp/
> No need to manually delete any archive from /var/sipxdata/tmp/
>
> > I put all the tar.gz's back in place, restarted services, but still
> > initialconfig won't run.
> > All I see is a replicationBean error around 10:29:44.211
> > After some time this will probably work again because of some
> > synchronisation (because it also worked this morning).
> > But then I will run into the exit code 1 problem again.
> > Any clue how to solve this, because if I am not mistaken I am
otherwise
> > looking at a complete rebuild of all the servers.
>
> Let's give it one more try before doing this
>
> George
> _______________________________________________
> sipx-users mailing list
> sipx-***@list.sipfoundry.org
> List Archive: http://list.sipfoundry.org/archive/sipx-users/