<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(7,55,99)">I solve this problem. I write this solution that other friends can use.<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(7,55,99)">
I change hostname to localhost.localdomain (127.0.0.1) with the following command:<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(7,55,99)">hostnamectl set-hostname 127.0.0.1<br>
<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(7,55,99)">I didnt received the previous error.<br> but :<br><pre>configuration file /Users/fangohr/.mpd.conf not found
A file named .mpd.conf file must be present in the user's home
directory (/etc/mpd.conf if root) with read and write access
only for the user, and must contain at least a line with:
MPD_SECRETWORD=<secretword>
One way to safely create this file is to do the following:
cd $HOME
touch .mpd.conf
chmod 600 .mpd.conf
and then use an editor to insert a line like
MPD_SECRETWORD=mr45-j9z
into the file<br><br></pre><pre>therefore, I do once these steps<span style="color:rgb(51,51,51);font-family:'Lucida Grande',LucidaGrande,Lucida,'Helvetica Neue',helvetica,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:20px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none"></span>. and I can run mpd and mpd -d.<br>
<br>:)<br></pre><pre><br></pre><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(7,55,99)"><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 22, 2013 at 9:32 PM, hamideh jabalameli <span dir="ltr"><<a href="mailto:hamideh.jabalameli@gmail.com" target="_blank">hamideh.jabalameli@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(7,55,99)">Hi dear friends<br>
I'm trying to run my mpi programs. I should run (mpd -d) in my terminal commands. but i got only this:<br>
<br>
mpd failed: gethostbyname_ex failed for linux-ut6d.site <br> <br>
{linux-ut6d.site is my Hostname.Domainname}<br><br>
Any idea?<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(7,55,99)">please help me immediately...<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><br>
-- <br><div><font color="#339999"><b>Best Regards</b></font></div>
<font color="#336666"><b><div><font color="#336666"><b><br></b></font></div>Hamideh Jabalameli</b></font><div><br></div><div><span style="font-size:13px;font-family:arial,sans-serif"><div style="color:rgb(136,136,136)">
M.Sc <font style="color:rgb(0,0,0)" color="#888888">Candidate,</font><br>School of Electrical and Computer Engineering,<br>College of Engineering,</div><div style="color:rgb(136,136,136)">Electronici Shahid Beheshti Tehran <span style="color:rgb(51,51,153);font-family:Tahoma,sans-serif;font-size:11px;line-height:12px"><span style="color:rgb(136,136,136);font-family:arial,sans-serif;line-height:normal;font-size:13px">University</span></span></div>
<div><span><span style="font-size:8.5pt;line-height:115%;font-family:Tahoma,sans-serif"><font color="#333399"><a href="mailto:h.jabal@Mail.sbu.ac.ir" target="_blank">h.jabal@Mail.sbu.ac.ir</a></font></span></span></div><div>
<span><span style="font-size:8.5pt;line-height:115%;font-family:Tahoma,sans-serif"><font color="#333399"><a href="mailto:hamideh.jabalameli@gmail.com" target="_blank">hamideh.jabalameli@gmail.com</a> </font></span></span></div>
</span></div>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div><font color="#339999"><b>Best Regards</b></font></div><font color="#336666"><b><div><font color="#336666"><b><br></b></font></div>Hamideh Jabalameli</b></font><div><br>
</div><div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><div style="color:rgb(136,136,136)">M.Sc <font color="#888888" style="color:rgb(0,0,0)">Candidate,</font><br>School of Electrical and Computer Engineering,<br>
College of Engineering,</div><div style="color:rgb(136,136,136)">Electronici Shahid Beheshti Tehran <span style="color:rgb(51,51,153);font-family:Tahoma,sans-serif;font-size:11px;line-height:12px"><span style="color:rgb(136,136,136);font-family:arial,sans-serif;line-height:normal;font-size:13px">University</span></span></div>
<div><span><span style="font-size:8.5pt;line-height:115%;font-family:Tahoma,sans-serif"><font color="#333399"><a href="mailto:h.jabal@Mail.sbu.ac.ir" target="_blank">h.jabal@Mail.sbu.ac.ir</a></font></span></span></div><div>
<span><span style="font-size:8.5pt;line-height:115%;font-family:Tahoma,sans-serif"><font color="#333399"><a href="mailto:hamideh.jabalameli@gmail.com" target="_blank">hamideh.jabalameli@gmail.com</a> </font></span></span></div>
</span></div>
</div>