Jump to content

Installing Kazoo - Transaction check error


Recommended Posts

13 minutes ago, synogeek said:

If I do it manually, look what happens.

 

[root@sandbox ~]# cd /root/
[root@sandbox ~]# ls
2600hz-release-4.3-0.el7.centos.noarch.rpm  anaconda-ks.cfg  wget-log
2600hz.repo                                 original-ks.cfg
[root@sandbox ~]# yum install -y 2600hz-release-4.3-0.el7.centos.noarch.rpm
Loaded plugins: fastestmirror
Examining 2600hz-release-4.3-0.el7.centos.noarch.rpm: 2600hz-release-4.3-0.el7.c                                                                                                                                   entos.noarch
Marking 2600hz-release-4.3-0.el7.centos.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package 2600hz-release.noarch 0:4.3-0.el7.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package  Arch   Version          Repository                               Size
================================================================================
Installing:
 2600hz-release
          noarch 4.3-0.el7.centos /2600hz-release-4.3-0.el7.centos.noarch  22 k

Transaction Summary
================================================================================
Install  1 Package

Total size: 22 k
Installed size: 22 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 2600hz-release-4.3-0.el7.centos.noarch                       1/1
  Verifying  : 2600hz-release-4.3-0.el7.centos.noarch                       1/1

Installed:
  2600hz-release.noarch 0:4.3-0.el7.centos

Complete!
[root@sandbox ~]# sudo yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.constant.com
 * centos-sclo-rh: nc-centos-mirror.iwebfusion.net
 * centos-sclo-sclo: forksystems.mm.fcix.net
 * epel: iad.mirror.rackspace.com
 * extras: mirror.vtti.vt.edu
 * updates: mirror.wdc2.us.leaseweb.net
https://packages.2600hz.com/centos/7/stable/repodata/repomd.xml: [Errno 12] Time                                                                                                                                   out on https://packages.2600hz.com/centos/7/stable/repodata/repomd.xml: (28, 'Co                                                                                                                                   nnection timed out after 30001 milliseconds')
Trying other mirror.
 

The only thing I can think of is that OVH is blocked as vendor? I'll try now with a VM on my home network to see what happens.

In that case you can use a kind of proxy that exits to USA I remember this happened to my environment when located outsude of USA. Used a proxy or socks5 with IP from there, and  the error did stop showing

Link to comment
Share on other sites

Don't think that applies to me. Since my errors are somewhat different, it might be more convenient to open a separate topic? My messages are now a bit lost and I can't really get any further

@fmateo05

I continued with the installation but now I'm running into this. How can there be so many errors?

Could it be that I'm doing something wrong? I first installed the recommended one but it didn't work, uninstalled it and then installed the newer one according to the manual.

Naamloos.png

Link to comment
Share on other sites

On 3/6/2023 at 6:17 PM, mc_ said:

You might try using journalctl to see what logging the rabbitmq process did? The screenshot doesn't have much useful info for why rabbit failed.

Mar 08 10:57:34 sip.voip4jou.nl polkitd[634]: Registered Authentication Agent for unix-process:2821:37166 (system bus name :1.25 [/usr/bin/pkttyagent --notify-fd 5 --f
Mar 08 10:57:34 sip.voip4jou.nl systemd[1]: Starting RabbitMQ Broker Configured for Kazoo...
Mar 08 10:57:34 sip.voip4jou.nl systemd[1]: Started RabbitMQ Broker Configured for Kazoo.
Mar 08 10:57:34 sip.voip4jou.nl polkitd[634]: Unregistered Authentication Agent for unix-process:2821:37166 (system bus name :1.25, object path /org/freedesktop/Policy
Mar 08 10:57:34 sip.voip4jou.nl kazoo-rabbitmq[2836]: /usr/sbin/kazoo-rabbitmq: line 50: /usr/lib/rabbitmq/bin/rabbitmq-server: No such file or directory
Mar 08 10:57:34 sip.voip4jou.nl systemd[1]: kazoo-rabbitmq.service: main process exited, code=exited, status=1/FAILURE
Mar 08 10:57:34 sip.voip4jou.nl systemd[1]: Unit kazoo-rabbitmq.service entered failed state.
Mar 08 10:57:34 sip.voip4jou.nl systemd[1]: kazoo-rabbitmq.service failed.

Is what i see

 

Link to comment
Share on other sites

  • 4 months later...

Did you ever find a resolution to this issue? I'm getting the same error

 

[root@2600hz-kazoo aaron]# yum install -y https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm
Loaded plugins: fastestmirror
2600hz-release-4.3-0.el7.centos.noarch.rpm               |  11 kB     00:00
Examining /var/tmp/yum-root-NN2LUu/2600hz-release-4.3-0.el7.centos.noarch.rpm: 2600hz-release-4.3-0.el7.centos.noarch
Marking /var/tmp/yum-root-NN2LUu/2600hz-release-4.3-0.el7.centos.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package 2600hz-release.noarch 0:4.3-0.el7.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package  Arch   Version          Repository                               Size
================================================================================
Installing:
 2600hz-release
          noarch 4.3-0.el7.centos /2600hz-release-4.3-0.el7.centos.noarch  22 k

Transaction Summary
================================================================================
Install  1 Package

Total size: 22 k
Installed size: 22 k
Downloading packages:
Running transaction check
Running transaction test


Transaction check error:
  file /etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH from install of 2600hz-release-4.3-0.el7.centos.noarch conflicts with file from package freeswitch-release-repo-0-1.noarch

Error Summary

 

Link to comment
Share on other sites

2 hours ago, Aaron said:

Did you ever find a resolution to this issue? I'm getting the same error

 

[root@2600hz-kazoo aaron]# yum install -y https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm
Loaded plugins: fastestmirror
2600hz-release-4.3-0.el7.centos.noarch.rpm               |  11 kB     00:00
Examining /var/tmp/yum-root-NN2LUu/2600hz-release-4.3-0.el7.centos.noarch.rpm: 2600hz-release-4.3-0.el7.centos.noarch
Marking /var/tmp/yum-root-NN2LUu/2600hz-release-4.3-0.el7.centos.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package 2600hz-release.noarch 0:4.3-0.el7.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package  Arch   Version          Repository                               Size
================================================================================
Installing:
 2600hz-release
          noarch 4.3-0.el7.centos /2600hz-release-4.3-0.el7.centos.noarch  22 k

Transaction Summary
================================================================================
Install  1 Package

Total size: 22 k
Installed size: 22 k
Downloading packages:
Running transaction check
Running transaction test


Transaction check error:
  file /etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH from install of 2600hz-release-4.3-0.el7.centos.noarch conflicts with file from package freeswitch-release-repo-0-1.noarch

Error Summary

 

Please check if the freeswitch repo is enable. If it is enable you need to disable it and try again.

Link to comment
Share on other sites

I have tried to disable and get the same error when trying to install 2600 RPM server

 


[root@2600hz-kazoo aaron]# yum-config-manager --disable freeswitch               Loaded plugins: fastestmirror
=============================== repo: freeswitch ===============================
[freeswitch]
async = True
bandwidth = 0
base_persistdir = /var/lib/yum/repos/x86_64/7
baseurl = https://freeswitch.signalwire.com/repo/yum/centos-release/7/x86_64
cache = 0
cachedir = /var/cache/yum/x86_64/7/freeswitch
check_config_file_age = True
compare_providers_priority = 80
cost = 1000
deltarpm_metadata_percentage = 100
deltarpm_percentage =
enabled = False
enablegroups = True
exclude =
failovermethod = priority
ftp_disable_epsv = False
gpgcadir = /var/lib/yum/repos/x86_64/7/freeswitch/gpgcadir
gpgcakey =
gpgcheck = True
gpgdir = /var/lib/yum/repos/x86_64/7/freeswitch/gpgdir
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH
hdrdir = /var/cache/yum/x86_64/7/freeswitch/headers
http_caching = all
includepkgs =
ip_resolve =
keepalive = True
keepcache = False
mddownloadpolicy = sqlite
mdpolicy = group:small
mediaid =
metadata_expire = 21600
metadata_expire_filter = read-only:present
metalink =
minrate = 0
mirrorlist =
mirrorlist_expire = 86400
name = FreeSWITCH Packages for Enterprise Linux 7 - x86_64
old_base_cache_dir =
password = pat_syKvjABhTvbxUgHNk9Hs3qGx
persistdir = /var/lib/yum/repos/x86_64/7/freeswitch
pkgdir = /var/cache/yum/x86_64/7/freeswitch/packages
proxy = False
proxy_dict =
proxy_password =
proxy_username =
repo_gpgcheck = False
retries = 10
skip_if_unavailable = False
ssl_check_cert_permissions = True
sslcacert =
sslclientcert =
sslclientkey =
sslverify = True
throttle = 0
timeout = 30.0
ui_id = freeswitch
ui_repoid_vars = releasever,
   basearch
username = signalwire

[root@2600hz-kazoo aaron]# yum install -y https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm
Loaded plugins: fastestmirror
2600hz-release-4.3-0.el7.centos.noarch.rpm               |  11 kB     00:00
Examining /var/tmp/yum-root-NN2LUu/2600hz-release-4.3-0.el7.centos.noarch.rpm: 2600hz-release-4.3-0.el7.centos.noarch
Marking /var/tmp/yum-root-NN2LUu/2600hz-release-4.3-0.el7.centos.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package 2600hz-release.noarch 0:4.3-0.el7.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package  Arch   Version          Repository                               Size
================================================================================
Installing:
 2600hz-release
          noarch 4.3-0.el7.centos /2600hz-release-4.3-0.el7.centos.noarch  22 k

Transaction Summary
================================================================================
Install  1 Package

Total size: 22 k
Installed size: 22 k
Downloading packages:
Running transaction check
Running transaction test


Transaction check error:
  file /etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH from install of 2600hz-release-4.3-0.el7.centos.noarch conflicts with file from package freeswitch-release-repo-0-1.noarch

Error Summary
-------------

 

Link to comment
Share on other sites

1 hour ago, Aaron said:

I have tried to disable and get the same error when trying to install 2600 RPM server

 


[root@2600hz-kazoo aaron]# yum-config-manager --disable freeswitch               Loaded plugins: fastestmirror
=============================== repo: freeswitch ===============================
[freeswitch]
async = True
bandwidth = 0
base_persistdir = /var/lib/yum/repos/x86_64/7
baseurl = https://freeswitch.signalwire.com/repo/yum/centos-release/7/x86_64
cache = 0
cachedir = /var/cache/yum/x86_64/7/freeswitch
check_config_file_age = True
compare_providers_priority = 80
cost = 1000
deltarpm_metadata_percentage = 100
deltarpm_percentage =
enabled = False
enablegroups = True
exclude =
failovermethod = priority
ftp_disable_epsv = False
gpgcadir = /var/lib/yum/repos/x86_64/7/freeswitch/gpgcadir
gpgcakey =
gpgcheck = True
gpgdir = /var/lib/yum/repos/x86_64/7/freeswitch/gpgdir
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH
hdrdir = /var/cache/yum/x86_64/7/freeswitch/headers
http_caching = all
includepkgs =
ip_resolve =
keepalive = True
keepcache = False
mddownloadpolicy = sqlite
mdpolicy = group:small
mediaid =
metadata_expire = 21600
metadata_expire_filter = read-only:present
metalink =
minrate = 0
mirrorlist =
mirrorlist_expire = 86400
name = FreeSWITCH Packages for Enterprise Linux 7 - x86_64
old_base_cache_dir =
password = pat_syKvjABhTvbxUgHNk9Hs3qGx
persistdir = /var/lib/yum/repos/x86_64/7/freeswitch
pkgdir = /var/cache/yum/x86_64/7/freeswitch/packages
proxy = False
proxy_dict =
proxy_password =
proxy_username =
repo_gpgcheck = False
retries = 10
skip_if_unavailable = False
ssl_check_cert_permissions = True
sslcacert =
sslclientcert =
sslclientkey =
sslverify = True
throttle = 0
timeout = 30.0
ui_id = freeswitch
ui_repoid_vars = releasever,
   basearch
username = signalwire

[root@2600hz-kazoo aaron]# yum install -y https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm
Loaded plugins: fastestmirror
2600hz-release-4.3-0.el7.centos.noarch.rpm               |  11 kB     00:00
Examining /var/tmp/yum-root-NN2LUu/2600hz-release-4.3-0.el7.centos.noarch.rpm: 2600hz-release-4.3-0.el7.centos.noarch
Marking /var/tmp/yum-root-NN2LUu/2600hz-release-4.3-0.el7.centos.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package 2600hz-release.noarch 0:4.3-0.el7.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package  Arch   Version          Repository                               Size
================================================================================
Installing:
 2600hz-release
          noarch 4.3-0.el7.centos /2600hz-release-4.3-0.el7.centos.noarch  22 k

Transaction Summary
================================================================================
Install  1 Package

Total size: 22 k
Installed size: 22 k
Downloading packages:
Running transaction check
Running transaction test


Transaction check error:
  file /etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH from install of 2600hz-release-4.3-0.el7.centos.noarch conflicts with file from package freeswitch-release-repo-0-1.noarch

Error Summary
-------------

 

 

Run this:

grep -r freeswitch-release /etc/yum.repos.d

and remove/disable this repo.

After you remove it:

yum clean all
yum update

This should fix the issue.

I was able to install 4.3 to my test cluster yesterday, and did not have any issue...

Link to comment
Share on other sites

  • 4 weeks later...
On 7/28/2023 at 11:02 AM, Sergey K said:

 

Run this:

grep -r freeswitch-release /etc/yum.repos.d

and remove/disable this repo.

After you remove it:

yum clean all
yum update

This should fix the issue.

I was able to install 4.3 to my test cluster yesterday, and did not have any issue...

I am having the same issue, tried all the suggestions but no results. 

Getting this error: 

https://packages.2600hz.com/centos/7/stable/repodata/repomd.xml: [Errno 12] Timeout on https://packages.2600hz.com/centos/7/stable/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds')
Trying other mirror.

Link to comment
Share on other sites

5 hours ago, TN100 said:

I am having the same issue, tried all the suggestions but no results. 

Getting this error: 

https://packages.2600hz.com/centos/7/stable/repodata/repomd.xml: [Errno 12] Timeout on https://packages.2600hz.com/centos/7/stable/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds')
Trying other mirror.

As explained in the early replies on this topic. Please use a kind of US based proxy to perform yum install without issues like these (timeout more than 30 seconds). That is if your server/VPS IP is located outside US.

Mine is ProxyChains (with a previous search  kind  of proxy list)

https://hidemyna.me/en/proxy-list/?country=US&type=s#list

[root@test-kz-rpm ~]# proxychains yum install -y https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm

[root@test-kz-rpm ~]#  yum --disablerepo="2600hz-stable,freeswitch"   install yum-utils

[root@test-kz-rpm ~]# proxychains yum-config-manager --disable freeswitch 

[root@test-kz-rpm ~]# proxychains yum install -y kazoo-rabbitmq

Edited by fmateo05
Adding more detailed info about the procedure on the reply (see edit history)
Link to comment
Share on other sites

On 8/22/2023 at 11:35 PM, fmateo05 said:

As explained in the early replies on this topic. Please use a kind of US based proxy to perform yum install without issues like these (timeout more than 30 seconds). That is if your server/VPS IP is located outside US.

Mine is ProxyChains (with a previous search  kind  of proxy list)

https://hidemyna.me/en/proxy-list/?country=US&type=s#list

[root@test-kz-rpm ~]# proxychains yum install -y https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm

[root@test-kz-rpm ~]#  yum --disablerepo="2600hz-stable,freeswitch"   install yum-utils

[root@test-kz-rpm ~]# proxychains yum-config-manager --disable freeswitch 

[root@test-kz-rpm ~]# proxychains yum install -y kazoo-rabbitmq

Thanks, i have managed to get a US based server and install the packages but i am no stuck at this error:

when i give the following prompt: "sup kazoo_media_maintenance import_prompts /opt/kazoo/sounds/en/us/"

this is the output:

Connection to service failed!
Failed to connect to service kazoo_apps@rpt.com with cookie change_me
  Possible fixes:
    * Ensure the Kazoo service you are trying to connect to is running on the host
    * Ensure that you are using the same cookie as the Kazoo node, `sup -c <cookie>`
    * Verify that the hostname being used is a Kazoo node

Please assist. 

Link to comment
Share on other sites

14 hours ago, TN100 said:

Thanks, i have managed to get a US based server and install the packages but i am no stuck at this error:

when i give the following prompt: "sup kazoo_media_maintenance import_prompts /opt/kazoo/sounds/en/us/"

this is the output:

Connection to service failed!
Failed to connect to service kazoo_apps@rpt.com with cookie change_me
  Possible fixes:
    * Ensure the Kazoo service you are trying to connect to is running on the host
    * Ensure that you are using the same cookie as the Kazoo node, `sup -c <cookie>`
    * Verify that the hostname being used is a Kazoo node

Please assist. 

Did you exec another sup command for check ?. tell me the outputs of hostname and hostname -f commands

Link to comment
Share on other sites

  • 4 months later...
On 3/2/2023 at 1:39 PM, Gizmo said:

Hi all!

I trying to install Kazoo on my VPS in a VM with SentOS 7 (minimal)

The first steps are oke, but if i put in the command: yum install -y https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm

Then ill get an error "Transaction check error" File /etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH from install of 2600Hz............. conflicts with the file from package freeswitch-release-repo-0-1.noarch

How to solve this?

 

Kind regards

Michael

I managed to install everything  (although I had same problem)  and also avoiding NTP install error by running these commands :

# Download and install updated FreeSWITCH repository
echo "signalwire" > /etc/yum/vars/signalwireusername
echo ${TOKEN} > /etc/yum/vars/signalwiretoken
wget https://$(< /etc/yum/vars/signalwireusername):$(< /etc/yum/vars/signalwiretoken)@freeswitch.signalwire.com/repo/yum/centos-release/freeswitch-release-repo-0-1.noarch.rpm
rpm -i --replacefiles freeswitch-release-repo-0-1.noarch.rpm

after 

# Add 2600Hz RPM server
yum install -y ${LATEST_RELEASE}
Example:  yum install -y https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm


# Clear yum cache
yum clean all

and not before. 
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...