How to patch licensing server download DNS failure based on OS and installed php version.

How to patch licensing server download DNS failure based on OS and installed php version.

Procedure:
Determine the Operating System version with this command in ssh/console
cat /etc/redhat-release

The command will print the Operating System version.
Example:
[root@pbx ~]# cat /etc/redhat-release
CentOS release 6.10 (Final)

C6 systems are officially end of life and cannot be patched by scopserv_yum updates so ScopSERV has provided an emergency patch to assist customers who have not yet upgraded their EOL systems to a supported release.

C6 systems must be patched before any attempt to download a serial number.
This is the command required to execute prior to downloading any license on a C6 based server. Do not execute this command on C7 or Rocky 8 systems!

wget --no-check-certificate -O /var/www/scopserv/lib/license.php https://scm.scopserv.com/files/license-c6.phps

Then it is safe to download a license for a C6 based server. Do not execute any other commands from this KB article on a C6 based server.


For the following Supported Operating Systems:
EL7 php56
EL php7
Rocky 8

Any server with a working license will be automatically patched with a 'scopserv_yum update' to update the scopserv-core package so there is no need to manually patch a server with a working license.

Any server without access to a working license needs a manual package update.
The following command will force a server with a broken license to update the required packages and meet all dependencies automatically:

scopserv_yum --enablerepo=scopserv update

After executing the command update procedure will begin and ask you to confirm the updates.
Example:

Transaction Summary
===================================================================================================================================================================================================
Install    3 Packages (+2 Dependent packages)
Upgrade  156 Packages

Total download size: 562 M
Is this ok [y/d/N]: y

By choosing y the updates will proceed.

WARNING: Before proceeding ensure that the server's license is in an entitled state!
If the server's license is not in an entitled state the commit functions will be disabled in telephony and there will multiple warnings generated in the GUI during admin management!

Proceeding in an unentitled state will generate the following warnings during the updates:
==============================================================================
Switching between ScopServ Telephony versions
==============================================================================


Create symlink for 1 folder(s)
Unregistered version! Commit disabled ...

We recommand to reboot your server after switch.

Recommendation:

Before proceeding with the updates verify the entitlement state using this command:
scopserv_dumpkey

In this example the updates were forced on a server without a registration:
[root@scopserv ~]# scopserv_dumpkey
==============================================================================
Network Interface    : eth0
System ID            : 001-00005G-015-004H-00803A
Serial Number        : *** UNREGISTERED ***
Branding             : scopserv

==============================================================================

Telephony Commits won't be possible until both the Serial Number and Software Assurance are entitled with the purchase and download of a valid serial number.

If the server's license is in an entitled state the scoperv_dumpkey command will reflect the maintenance state.

Example:

[root@scopserv ~]# scopserv_dumpkey
==============================================================================
Network Interface    : eth0
System ID            : 001-00005G-015-004H-00803A
Serial Number        : 012731F9-0000-88CE2-7
Branding             : scopserv
Key Options          : ScopTEL Professional, User Web Portal, Network and Firewall

Activation Date      : 2024-04-09
Expiration Date      : 2024-04-24
Renewal Date         : 2025-04-09

In this condition it is fine to execute the command:
scopserv_yum clean all
scopserv_yum --enablerepo=scopserv update

The server will update automatically once the root user confirms the update.

If during the update there is a dahdi transaction error which causes the update to fail then the conflict can be fixed with the following procedure:



    • Related Articles

    • ScopTEL IP PBX Software - Basic Installation Hierarchy for Telephony Server

      Basic Installation Hierarchy for Telephony Server Therefore the purpose of this document is to provide a visual walkthrough of a very basic but functional installation for one tenant. This tutorial does not include an overview of the overall network ...
    • How to update to dahdi 3.3.0-4 in EL7 and Rocky 8 with full dkms support for multiple kernels.

      Make sure the ScopTEL license is downloaded and in an entitled state. scopserv_yum update Check dahdi build status with the following command: dkms status Example: [root@scopserv ~]# dkms status dahdi/3.3.0-4.el7.scopserv, ...
    • ScopTEL -DHCP Server Configuration

      Console - ifconfig A newly installed server uses DHCP to get an IP address from a DHCP server on the network so make sure the public network interface is connected to the network so the server can get an IP address. Before you can login to the server ...
    • Module 3 - ScopTEL IP PBX Software - Server Installation Wizard

      "root" login In order to login to the Linux CLI you must login as the root user Type root Enter the default root password ‘scopserv’ omitting the ‘ To change the default root password then after a successful root login type ‘passwd’ omitting the ...
    • How to fix Dahdi-Wanpipe Drivers in ScopTEL

      If you have updated your ScopTEL PBX server  to use a new CentOS kernel, it can sometimes happen that DAHDI/WANPIPE drivers need to be recompiled manually. To verify if dahdi is properly compiled and working: From ssh do: timertest You should see a ...