<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; проблема с локальным репом]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=33955&amp;type=atom" />
	<updated>2014-02-24T10:21:47Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=33955</id>
		<entry>
			<title type="html"><![CDATA[Re: проблема с локальным репом]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=396448#p396448" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2014-02-24T10:21:47Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=396448#p396448</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблема с локальным репом]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=396445#p396445" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[mensik]]></name>
				<uri>https://linuxforum.ru/profile.php?id=32226</uri>
			</author>
			<updated>2014-02-24T10:06:29Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=396445#p396445</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблема с локальным репом]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=396438#p396438" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>mensik пишет:</cite><blockquote><p>repodata/repomd.xml</p></blockquote></div><p>ИМХО формат файла неправильный. Или он вообще не прочитался(хотя тогда ошибка должна быть другой).</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2014-02-24T08:41:34Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=396438#p396438</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблема с локальным репом]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=396435#p396435" />
			<content type="html"><![CDATA[<p>Нет, из-за HTTP такого быть не должно.<br />Проверь что открыты порты и селинукс не блокирует.</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2014-02-24T08:22:38Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=396435#p396435</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[проблема с локальным репом]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=395704#p395704" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[mensik]]></name>
				<uri>https://linuxforum.ru/profile.php?id=32226</uri>
			</author>
			<updated>2014-02-21T16:12:30Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=395704#p395704</id>
		</entry>
</feed>
