damagedrepomd.xml

Mohamad.1996

Member
Credits
230
Hi Friends I had ran into problem for a long time, I'm using Centos7 in Vmware and I can't do yum update or for example Install yum collectd but always receive damagedrepomd.xml
before that I was receiving no more mirrors!!
even I reverted snapshot I always should assign ip to my centos 7 by DHCP
I've done it but I Can't ping google....Why??
 


f33dm3bits

Gold Member
Gold Supporter
Credits
5,879
Are you retrieving your updates from centos mirrors or from your local satellite server? Can you reach your network gateway?
 

f33dm3bits

Gold Member
Gold Supporter
Credits
5,879
I can't ping google but yahoo and another websites I can
No idea, I don't know your network setup. Can you show the output of:
Code:
yum repolist
yum install collectd
yum install screen
 
Last edited:

Mohamad.1996

Member
Credits
230
[[email protected] shahin]# yum install collectd
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.centos.jt.iq
* extras: kozyatagi.mirror.guzel.net.tr
* updates: kozyatagi.mirror.guzel.net.tr
No package collectd available.
Error: Nothing to do
.......................................................................................................................................................


What does it mean??
 

f33dm3bits

Gold Member
Gold Supporter
Credits
5,879
collectd is a package from EPEL. You will need to install EPEL to install collectd
Code:
yum install epel-release
yum install collectd
EPEL is a third party repository you may also want to have a look at the yum plugin protectbase.
 

Mohamad.1996

Member
Credits
230
ul 24 11:13:09 localhost.localdomain systemd[1]: Unit collectd.service entered failed state.
Jul 24 11:13:09 localhost.localdomain systemd[1]: collectd.service failed.
Jul 24 11:13:09 localhost.localdomain systemd[1]: collectd.service holdoff time over, scheduling restart.
Jul 24 11:13:09 localhost.localdomain systemd[1]: Stopped Collectd statistics daemon.
-- Subject: Unit collectd.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit collectd.service has finished shutting down.
Jul 24 11:13:09 localhost.localdomain systemd[1]: start request repeated too quickly for collectd.service
Jul 24 11:13:09 localhost.localdomain systemd[1]: Failed to start Collectd statistics daemon.
-- Subject: Unit collectd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit collectd.service has failed.
--
-- The result is failed.
Jul 24 11:13:09 localhost.localdomain systemd[1]: Unit collectd.service entered failed state.
Jul 24 11:13:09 localhost.localdomain systemd[1]: collectd.service failed.
...................................................................................................................................................................................................





I can't start it!!! Why? What's the matter?
 

f33dm3bits

Gold Member
Gold Supporter
Credits
5,879
How did you start collectd? Can you show the output of:
Code:
systemctl status collectd
journalctl -u collectd | tail -n 15
 

f33dm3bits

Gold Member
Gold Supporter
Credits
5,879
If you're going to attach a file could you please attach at plain text file, and with the screenshot I can't read the full output.
 

f33dm3bits

Gold Member
Gold Supporter
Credits
5,879
The most important problem is ((Failed to start Collectd statistics daemon ))
when I restart it
I want to see the output of the two commands I mentioned earlier or else I won't be able to see much. I can't just guess why collectd is failing to start.

(Failed to start Collectd statistics daemon) That just tells you it failed to start not why it failed to start.
 

Mohamad.1996

Member
Credits
230
[[email protected] shahin]# systemctl status collectd
● collectd.service - Collectd statistics daemon
Loaded: loaded (/usr/lib/systemd/system/collectd.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Docs: man:collectd(1)
man:collectd.conf(5)
[[email protected] shahin]# systemctl start collectd
Job for collectd.service failed because the control process exited with error code. See "systemctl status collectd.service" and "journalctl -xe" for details.
-----------------------------------------------------------------------------------------------------------
[[email protected] shahin]# journalctl -xe
Jul 24 11:57:54 localhost.localdomain collectd[3152]: Read the logs for details.
Jul 24 11:57:54 localhost.localdomain systemd[1]: collectd.service: main process exited, code=exited, status=1/FAILURE
Jul 24 11:57:54 localhost.localdomain systemd[1]: Failed to start Collectd statistics daemon.
-- Subject: Unit collectd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit collectd.service has failed.
--
-- The result is failed.
Jul 24 11:57:54 localhost.localdomain systemd[1]: Unit collectd.service entered failed state.
Jul 24 11:57:54 localhost.localdomain systemd[1]: collectd.service failed.
Jul 24 11:57:55 localhost.localdomain systemd[1]: collectd.service holdoff time over, scheduling restart.
Jul 24 11:57:55 localhost.localdomain systemd[1]: Stopped Collectd statistics daemon.
-- Subject: Unit collectd.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit collectd.service has finished shutting down.
Jul 24 11:57:55 localhost.localdomain systemd[1]: start request repeated too quickly for collectd.service
Jul 24 11:57:55 localhost.localdomain systemd[1]: Failed to start Collectd statistics daemon.
-- Subject: Unit collectd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit collectd.service has failed.
--
-- The result is failed.
Jul 24 11:57:55 localhost.localdomain systemd[1]: Unit collectd.service entered failed state.
Jul 24 11:57:55 localhost.localdomain systemd[1]: collectd.service failed.
--------------------------------------------------------------------------------------------------
[[email protected] shahin]# journalctl -u collectd | tail -n 15
Jul 24 11:57:54 localhost.localdomain collectd[3152]: plugin_load: plugin "rrdtool" successfully loaded.
Jul 24 11:57:54 localhost.localdomain collectd[3152]: plugin_load: Could not find plugin "smart" in /usr/lib64/collectd
Jul 24 11:57:54 localhost.localdomain collectd[3152]: plugin_load: plugin "statsd" successfully loaded.
Jul 24 11:57:54 localhost.localdomain collectd[3152]: Error: Reading the config file failed!
Jul 24 11:57:54 localhost.localdomain collectd[3152]: Read the logs for details.
Jul 24 11:57:54 localhost.localdomain systemd[1]: collectd.service: main process exited, code=exited, status=1/FAILURE
Jul 24 11:57:54 localhost.localdomain systemd[1]: Failed to start Collectd statistics daemon.
Jul 24 11:57:54 localhost.localdomain systemd[1]: Unit collectd.service entered failed state.
Jul 24 11:57:54 localhost.localdomain systemd[1]: collectd.service failed.
Jul 24 11:57:55 localhost.localdomain systemd[1]: collectd.service holdoff time over, scheduling restart.
Jul 24 11:57:55 localhost.localdomain systemd[1]: Stopped Collectd statistics daemon.
Jul 24 11:57:55 localhost.localdomain systemd[1]: start request repeated too quickly for collectd.service
Jul 24 11:57:55 localhost.localdomain systemd[1]: Failed to start Collectd statistics daemon.
Jul 24 11:57:55 localhost.localdomain systemd[1]: Unit collectd.service entered failed state.
Jul 24 11:57:55 localhost.localdomain systemd[1]: collectd.service failed.
 

f33dm3bits

Gold Member
Gold Supporter
Credits
5,879
It can't read the configuration file. Does it exist, can you check by doing:
Code:
ls -l /etc/collectd.conf
 rpm -ql collectd | grep conf
 
Last edited:

f33dm3bits

Gold Member
Gold Supporter
Credits
5,879
Weird your configuration file does exist. Could try turning temporarily turning selinux off.
Code:
setenforce 0
Then try starting collectd again:
Code:
systemctl start collectd
What happens then?
 


Members online


Latest posts

Top