<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; проблема с локальным репом]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=33955</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=33955&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «проблема с локальным репом».]]></description>
		<lastBuildDate>Mon, 24 Feb 2014 10:21:47 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: проблема с локальным репом]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=396448#p396448</link>
			<description><![CDATA[<div class="quotebox"><cite>mensik пишет:</cite><blockquote><p>а netstat показывал что порт 80 слушается, а слушается он из другого апача, который имеет CFengine-hub.</p></blockquote></div><p>надо было<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"># lsof -i</div><br />оно показывает, кто слушает порт.</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Mon, 24 Feb 2014 10:21:47 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=396448#p396448</guid>
		</item>
		<item>
			<title><![CDATA[Re: проблема с локальным репом]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=396445#p396445</link>
			<description><![CDATA[<p>wget-ом я могу скачать файл <br /></p><div class="quotebox"><cite>Vascom пишет:</cite><blockquote><p>Нет, из-за HTTP такого быть не должно.<br />Проверь что открыты порты и селинукс не блокирует.</p></blockquote></div><p>селинукс disabled&nbsp; и на сервере и на тачке, с которой пробую<br />iptabless - стопнут и 6-й тоже</p><p>на сервере <br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">netstat -an | grep LISTEN<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 :::80&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:::*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LISTEN<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 :::443&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :::*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LISTEN</div></p><p>Нашел проблему. Проблема была из-за апача.<br />в /etc/httpd/conf/httpd.conf&nbsp; была закомментена строка <div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">Listen 80</div>,<br />а netstat показывал что порт 80 слушается, а слушается он из другого апача, который имеет CFengine-hub.</p><p>Всем спасибо</p>]]></description>
			<author><![CDATA[null@example.com (mensik)]]></author>
			<pubDate>Mon, 24 Feb 2014 10:06:29 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=396445#p396445</guid>
		</item>
		<item>
			<title><![CDATA[Re: проблема с локальным репом]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=396438#p396438</link>
			<description><![CDATA[<div class="quotebox"><cite>mensik пишет:</cite><blockquote><p>repodata/repomd.xml</p></blockquote></div><p>ИМХО формат файла неправильный. Или он вообще не прочитался(хотя тогда ошибка должна быть другой).</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Mon, 24 Feb 2014 08:41:34 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=396438#p396438</guid>
		</item>
		<item>
			<title><![CDATA[Re: проблема с локальным репом]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=396435#p396435</link>
			<description><![CDATA[<p>Нет, из-за HTTP такого быть не должно.<br />Проверь что открыты порты и селинукс не блокирует.</p>]]></description>
			<author><![CDATA[null@example.com (Vascom)]]></author>
			<pubDate>Mon, 24 Feb 2014 08:22:38 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=396435#p396435</guid>
		</item>
		<item>
			<title><![CDATA[проблема с локальным репом]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=395704#p395704</link>
			<description><![CDATA[<p>Всем привет!<br />На сервере создаю репозиторий по этой статье <a href="http://goodhack.net.ua/archives/320">http://goodhack.net.ua/archives/320</a> <br />делаю в папке, где лежат пакеты</p><div class="codebox"><pre><code>createrepo /opt/admin/rpms/</code></pre></div><p>Делаю симлинк на эту папку</p><div class="codebox"><pre><code>ln -s /opt/admin/rpms/ /var/www/html/rpms/</code></pre></div><p>Через браузер захожу на нее и вижу все пакеты и папку с repodata/repomd.xml<br />получается след путь </p><p><strong><a href="https://192.168.16.200/rpms/rpms/">https://192.168.16.200/rpms/rpms/</a></strong></p><p>Теперь мне нужно добавить этот репозиторий на вторую тачку(192.168.16.38) , для этого создаю файл&nbsp; /etc/yum.repos.d/callcenter_repo след содержания:</p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[callcenter_repo]<br />name=callcenter_repo<br />baseurl=http://192.168.16.200/rpms/rpms/<br />gpgcheck=0<br />enabled=1</div></p><p>Дальше на этой тачке делаю :</p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"># yum clean all<br />Loaded plugins: fastestmirror, refresh-packagekit, security<br />Cleaning repos: callcenter_repo<br />Cleaning up Everything<br />Cleaning up list of fastest mirrors<br /></div></p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"># yum repolist<br />Loaded plugins: fastestmirror, refresh-packagekit, security<br />Determining fastest mirrors<br /><strong><a href="http://192.168.16.200/rpms/rpms/repodata/repomd.xml:">http://192.168.16.200/rpms/rpms/repodata/repomd.xml:</a> [Errno -1] Error importing repomd.xml for callcenter_repo: Damaged repomd.xml</strong> file<br />Trying other mirror.<br />repo id&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;repo name&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;status<br />callcenter_repo&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;callcenter_repo&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0<br />repolist: 0</div></p><p>Вот собственно эта проблема <strong><a href="http://192.168.16.200/rpms/rpms/repodata/repomd.xml:">http://192.168.16.200/rpms/rpms/repodata/repomd.xml:</a> [Errno -1] Error importing repomd.xml for callcenter_repo: Damaged repomd.xml</strong><br />Может ли это быть из-за того, что в файле /etc/yum.repos.d/callcenter_repo установлена ссылка <strong>HTTP </strong>а не <strong>HTTPS</strong> ?</p>]]></description>
			<author><![CDATA[null@example.com (mensik)]]></author>
			<pubDate>Fri, 21 Feb 2014 16:12:30 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=395704#p395704</guid>
		</item>
	</channel>
</rss>
