<?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; Centos 5.6 vs AFD`]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=13858</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=13858&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Centos 5.6 vs AFD`».]]></description>
		<lastBuildDate>Tue, 24 May 2011 11:13:46 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Centos 5.6 vs AFD`]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=182044#p182044</link>
			<description><![CDATA[<p>Как не странно но ничего не помогает... перепробовал все возможные пути.. самое интересное так при перенаправлении вывода результата в файл там пусто.. тогда возникает вопрос почему при ручном запуске все запускается и работает отлично , при запуски при старте или по расписанию не работает...&nbsp; :o</p>]]></description>
			<author><![CDATA[null@example.com (lordok)]]></author>
			<pubDate>Tue, 24 May 2011 11:13:46 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=182044#p182044</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.6 vs AFD`]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=182035#p182035</link>
			<description><![CDATA[<p>а теперь как тест<br />запустите так<br />/usr/local/bin/startafd<br />и вот так<br />sh /usr/local/bin/startafd</p><p>как вариант.</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Tue, 24 May 2011 10:50:44 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=182035#p182035</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.6 vs AFD`]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=182034#p182034</link>
			<description><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><div class="quotebox"><cite>lordok пишет:</cite><blockquote><div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>chmod +x /usr/local/bin/init_afd<br />?</p></blockquote></div><p>init_afd является приложением запуска, по умолчанию оно доступно для выполнения всеми пользователями системы</p></blockquote></div><p>Права на выполнение назначьте причём тут чем он является.</p><p>Опс понял вы кроне запускаете это &quot;/usr/local/bin/startafd&quot; тогда<br />chmod +x /usr/local/bin/startafd</p></blockquote></div><br /><p>Если вам это поможет вот листинг прав доступа к приложению init_afd<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"><br />[root@vm-linux-test ~]# ls -la /usr/local/bin/ |grep init_afd<br />-rwxr-xr-x&nbsp; 2 root root 164765 May 24 11:13 init_afd<br /></div></p>]]></description>
			<author><![CDATA[null@example.com (lordok)]]></author>
			<pubDate>Tue, 24 May 2011 10:48:43 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=182034#p182034</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.6 vs AFD`]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=182033#p182033</link>
			<description><![CDATA[<div class="quotebox"><cite>lordok пишет:</cite><blockquote><div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>chmod +x /usr/local/bin/init_afd<br />?</p></blockquote></div><p>init_afd является приложением запуска, по умолчанию оно доступно для выполнения всеми пользователями системы</p></blockquote></div><p>Права на выполнение назначьте причём тут чем он является.</p><p>Опс понял вы кроне запускаете это &quot;/usr/local/bin/startafd&quot; тогда<br />chmod +x /usr/local/bin/startafd</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Tue, 24 May 2011 10:45:08 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=182033#p182033</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.6 vs AFD`]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=182032#p182032</link>
			<description><![CDATA[<div class="quotebox"><cite>Vascom пишет:</cite><blockquote><p>Может просто добавить запуск этого скрипта в /etc/rc.local или один из других rc?</p></blockquote></div><p>Я пробовал но не помогло.</p><br /><div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>chmod +x /usr/local/bin/init_afd<br />?</p></blockquote></div><p>init_afd является приложением запуска, по умолчанию оно доступно для выполнения всеми пользователями системы</p>]]></description>
			<author><![CDATA[null@example.com (lordok)]]></author>
			<pubDate>Tue, 24 May 2011 10:38:56 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=182032#p182032</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.6 vs AFD`]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=182022#p182022</link>
			<description><![CDATA[<p>chmod +x /usr/local/bin/init_afd<br />?</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Tue, 24 May 2011 09:52:53 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=182022#p182022</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.6 vs AFD`]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=182019#p182019</link>
			<description><![CDATA[<p>Может просто добавить запуск этого скрипта в /etc/rc.local или один из других rc?</p>]]></description>
			<author><![CDATA[null@example.com (Vascom)]]></author>
			<pubDate>Tue, 24 May 2011 09:44:22 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=182019#p182019</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.6 vs AFD`]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=182011#p182011</link>
			<description><![CDATA[<p>Она определена</p>]]></description>
			<author><![CDATA[null@example.com (lordok)]]></author>
			<pubDate>Tue, 24 May 2011 09:01:57 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=182011#p182011</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.6 vs AFD`]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=182010#p182010</link>
			<description><![CDATA[<p>Может $WORK_DIR стоит все таки в скрипте определить?</p>]]></description>
			<author><![CDATA[null@example.com (XliN)]]></author>
			<pubDate>Tue, 24 May 2011 08:59:29 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=182010#p182010</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.6 vs AFD`]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=182008#p182008</link>
			<description><![CDATA[<p>я указывал с критпе полный путь до init_afd вот что получается если запускать в ручную <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"><br />[root@vm-linux-test bin]# ./startafd<br />[root@vm-linux-test bin]# ps -ef |grep afd<br />root&nbsp; &nbsp; &nbsp;12166&nbsp; &nbsp; &nbsp;1&nbsp; 0 12:40 ?&nbsp; &nbsp; &nbsp; &nbsp; 00:00:00 /usr/local/bin/init_afd -w /usr/local/bin/AFD<br />root&nbsp; &nbsp; &nbsp;12180 12166&nbsp; 0 12:40 ?&nbsp; &nbsp; &nbsp; &nbsp; 00:00:00 afd_stat -w /usr/local/bin/AFD<br />root&nbsp; &nbsp; &nbsp;12184&nbsp; 3701&nbsp; 0 12:40 pts/1&nbsp; &nbsp; 00:00:00 grep afd<br /></div></p><p>а вот что получается когда запуск идет через cron <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"><br />[root@vm-linux-test bin]# ps -ef |grep afd<br />root&nbsp; &nbsp; &nbsp;12208&nbsp; &nbsp; &nbsp;1&nbsp; 0 12:43 ?&nbsp; &nbsp; &nbsp; &nbsp; 00:00:00 /usr/local/bin/init_afd -w /usr/local/bin/AFD<br />root&nbsp; &nbsp; &nbsp;12276 12208&nbsp; 0 12:43 ?&nbsp; &nbsp; &nbsp; &nbsp; 00:00:00 [init_afd] &lt;defunct&gt;<br />root&nbsp; &nbsp; &nbsp;12277 12208&nbsp; 0 12:43 ?&nbsp; &nbsp; &nbsp; &nbsp; 00:00:00 [init_afd] &lt;defunct&gt;<br />root&nbsp; &nbsp; &nbsp;12278 12208&nbsp; 0 12:43 ?&nbsp; &nbsp; &nbsp; &nbsp; 00:00:00 [init_afd] &lt;defunct&gt;<br />root&nbsp; &nbsp; &nbsp;12279 12208&nbsp; 0 12:43 ?&nbsp; &nbsp; &nbsp; &nbsp; 00:00:00 [init_afd] &lt;defunct&gt;<br />root&nbsp; &nbsp; &nbsp;12280 12208&nbsp; 0 12:43 ?&nbsp; &nbsp; &nbsp; &nbsp; 00:00:00 [init_afd] &lt;defunct&gt;<br />root&nbsp; &nbsp; &nbsp;12281 12208&nbsp; 0 12:43 ?&nbsp; &nbsp; &nbsp; &nbsp; 00:00:00 [init_afd] &lt;defunct&gt;<br />root&nbsp; &nbsp; &nbsp;12282 12208&nbsp; 0 12:43 ?&nbsp; &nbsp; &nbsp; &nbsp; 00:00:00 [init_afd] &lt;defunct&gt;<br />root&nbsp; &nbsp; &nbsp;12284&nbsp; 3701&nbsp; 0 12:43 pts/1&nbsp; &nbsp; 00:00:00 grep afd</p><br /><p></div></p>]]></description>
			<author><![CDATA[null@example.com (lordok)]]></author>
			<pubDate>Tue, 24 May 2011 08:49:06 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=182008#p182008</guid>
		</item>
		<item>
			<title><![CDATA[Re: Centos 5.6 vs AFD`]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=182007#p182007</link>
			<description><![CDATA[<p>В скрипте прописать полный путь к init_afd</p>]]></description>
			<author><![CDATA[null@example.com (XliN)]]></author>
			<pubDate>Tue, 24 May 2011 08:38:34 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=182007#p182007</guid>
		</item>
		<item>
			<title><![CDATA[Centos 5.6 vs AFD`]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=182005#p182005</link>
			<description><![CDATA[<p>Добрового времени суток. У меня возникла делема. есть приложение AFD DWD оно установлено, настроено и работает. запускается приложение командой <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">init_afd -w {$WOKR_DIR}</div>, после этого запускается 2 процесса init_afd и afd_stat.&nbsp; все хорошо и замечательно но только оно не запускается при старте системы. я пробовал помещать запуск приложения в /etc/inittab, пробовал через chkconfig, к сожалению это не помогло. возникла идея попробовать через cron&nbsp; написал простенький срипт<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"><br />#!/bin/bash<br />init_afd -w $WORK_DIR <br /></div><br />запускаю вручную AFD стартует.<br />как только пытаюсь его запустить через cron&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">/usr/local/bin/startafd: line 1: init_afd: command not found</div>. <br />Кто подскажет как с этим бороться??</p>]]></description>
			<author><![CDATA[null@example.com (lordok)]]></author>
			<pubDate>Tue, 24 May 2011 08:35:38 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=182005#p182005</guid>
		</item>
	</channel>
</rss>
