Running PBX Firmware:5.211.65-12, everything is up to date.
I execute a full backup and then copy the backup file over to a new physical server.
When I restore the backup to a new server I get a few errors with symlinks that I fixed, but when I go to test things, nothing is functioning properly.
In rasterisk I get sip show peers
No such command ‘sip show peers’ (type ‘core show help sip show’ for other possible commands)
Calls codecs are not working so no voice/sound.
I restart asterisk and then the phones won’t register.
After playing with this, not seeing anything in the logs etc, I decided I would do another fresh install on the new server.
After a new install, I went to rasterisk and see information after typing in sip show peers, so I think OK, things are better.
I restore again and the same results.
I did pick EVERY option on the restore just for reference.
Asterisk results: [2014-05-12 16:19:40] WARNING[3378]: loader.c:566 ast_unload_resource: Unload failed, ‘chan_sip.so’ could not be found
[2014-05-12 16:19:40] WARNING[3378]: loader.c:566 ast_unload_resource: Unload failed, ‘chan_sip.so’ could not be found
localhost*CLI> module load chan_sip.so
Unable to load module chan_sip.so
Command ‘module load chan_sip.so’ failed.
[2014-05-12 16:19:43] WARNING[3378]: loader.c:439 load_dynamic_module: Error loading module ‘chan_sip.so’: /usr/lib/asterisk/modules/chan_sip.so: cannot open shared object file: No such file or directory
[2014-05-12 16:19:43] WARNING[3378]: loader.c:439 load_dynamic_module: Error loading module ‘chan_sip.so’: /usr/lib/asterisk/modules/chan_sip.so: cannot open shared object file: No such file or directory
[2014-05-12 16:19:43] WARNING[3378]: loader.c:918 load_resource: Module ‘chan_sip.so’ could not be loaded.
[2014-05-12 16:19:43] WARNING[3378]: loader.c:918 load_resource: Module ‘chan_sip.so’ could not be loaded.
Asterisk Log file resutls:
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/logger_general_additional.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/logger_general_additional.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/logger_general_custom.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/logger_general_custom.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/logger_logfiles_additional.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/logger_logfiles_additional.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/logger_logfiles_custom.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/logger_logfiles_custom.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] logger.c: Asterisk Queue Logger restarted
[2014-05-12 13:07:14] VERBOSE[2946] logger.c: Asterisk Queue Logger restarted
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/features.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/features.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/features_general_additional.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/features_general_additional.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/features_general_custom.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/features_general_custom.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/features_applicationmap_additional.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/features_applicationmap_additional.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/features_applicationmap_custom.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/features_applicationmap_custom.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/features_featuremap_additional.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/features_featuremap_additional.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/features_featuremap_custom.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/features_featuremap_custom.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] features.c: == Registered Feature ‘apprecord’
[2014-05-12 13:07:14] VERBOSE[2946] features.c: == Registered Feature ‘apprecord’
[2014-05-12 13:07:14] VERBOSE[2946] features.c: == Mapping Feature ‘apprecord’ to app ‘Macro(one-touch-record)’ with code ‘*1’
[2014-05-12 13:07:14] VERBOSE[2946] features.c: == Mapping Feature ‘apprecord’ to app ‘Macro(one-touch-record)’ with code ‘*1’
[2014-05-12 13:07:14] VERBOSE[2946] pbx.c: – Added extension ‘70’ priority 1 to parkedcalls
[2014-05-12 13:07:14] VERBOSE[2946] pbx.c: – Added extension ‘70’ priority 1 to parkedcalls
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/indications.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/indications.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] indications.c: – Setting default indication country to ‘us’
[2014-05-12 13:07:14] VERBOSE[2946] indications.c: – Setting default indication country to ‘us’
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/cel.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/cel.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/cel_general_additional.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/cel_general_additional.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/cel_general_custom.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/cel_general_custom.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/cel_custom_post.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] config.c: == Parsing ‘/etc/asterisk/cel_custom_post.conf’: Found
[2014-05-12 13:07:14] VERBOSE[2946] cel.c: – CEL logging enabled.
[2014-05-12 13:07:14] VERBOSE[2946] cel.c: – CEL logging enabled.
[2014-05-12 16:19:29] VERBOSE[1900] asterisk.c: – Remote UNIX connection
[2014-05-12 16:19:29] VERBOSE[1900] asterisk.c: – Remote UNIX connection
[2014-05-12 16:19:40] WARNING[3378] loader.c: Unload failed, ‘chan_sip.so’ could not be found
[2014-05-12 16:19:40] WARNING[3378] loader.c: Unload failed, ‘chan_sip.so’ could not be found
[2014-05-12 16:19:43] WARNING[3378] loader.c: Error loading module ‘chan_sip.so’: /usr/lib/asterisk/modules/chan_sip.so: cannot open shared object file: No such file or directory
[2014-05-12 16:19:43] WARNING[3378] loader.c: Error loading module ‘chan_sip.so’: /usr/lib/asterisk/modules/chan_sip.so: cannot open shared object file: No such file or directory
[2014-05-12 16:19:43] WARNING[3378] loader.c: Module ‘chan_sip.so’ could not be loaded.
[2014-05-12 16:19:43] WARNING[3378] loader.c: Module ‘chan_sip.so’ could not be loaded.
[2014-05-12 16:20:28] WARNING[3378] loader.c: Unload failed, ‘chan_sip.so’ could not be found
[2014-05-12 16:20:28] WARNING[3378] loader.c: Unload failed, ‘chan_sip.so’ could not be found
[2014-05-12 16:20:37] WARNING[3378] loader.c: Error loading module ‘chan_sip.so’: /usr/lib/asterisk/modules/chan_sip.so: cannot open shared object file: No such file or directory
[2014-05-12 16:20:37] WARNING[3378] loader.c: Error loading module ‘chan_sip.so’: /usr/lib/asterisk/modules/chan_sip.so: cannot open shared object file: No such file or directory
[2014-05-12 16:20:37] WARNING[3378] loader.c: Module ‘chan_sip.so’ could not be loaded.
[2014-05-12 16:20:37] WARNING[3378] loader.c: Module ‘chan_sip.so’ could not be loaded.
[2014-05-12 16:20:45] VERBOSE[3378] asterisk.c: – Remote UNIX connection disconnected
[2014-05-12 16:20:45] VERBOSE[3378] asterisk.c: – Remote UNIX connection disconnected
Since it was a new install I did an updatedb so I could search for the module.
I could not locate “chain_sip.so” which also doesn’t exist on my current server.
I did an upgrade from the 1.8xx.210.58 then went to FreePBX-Distro-2.210.62 and the full process from there.
Looking back now, I believe you hit it on the head, I verified and while I’m on the current 5.2xx branch I am running on the 32bit OS from my conversion.
The converted server is running virtually, I then installed from scratch 64bit 5.2xx on the former server so I could take the server back to a hardware install.
For reference, I’m not moving to 64bit for any specific reason, just getting everything current and to the latest. Would I be better off keeping it 32bit and simply re-install the 5.2xx distro in w/32bit?
With asterisk you would still have these problems because the asterisk.conf file is being restored from a backup with the modules= directive pointing to the old 32bit location when it should be updated to/for the new 64bit location.
Anyway, as tm1000 pointed out the only issue was the restored asterisk.conf. That was my next step for you.
As far as 64 bits, it’s heavy on the HD usage. If you don’t need above 4G DMA (do they even make a PAE Kernel anymore?) then I would not worry about it.
Thanks team schmooze, I think it makes sense to simply go Centos 6, 32 Bit.
I would ask for reference based on your responses, if I were to update the module locations, this would work correctly ( heavier resources usage for same load ).
Is that accurate?
Skyking, what would you consider huge? ( no pun intended ), 60 - 100 - 200 users?
If you updated the module locations to match your Asterisk, yes.
Do a uname -r and a yum list | grep asterisk and post the results.
As far as huge, it’s more complicated than just registrations. I have over 400 analog lines at a hotel on an Atom box. You have to look at transcoding, call volume, queue usage, statistics collection etc.