<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Branden,<div><br></div><div>I'm not 100% sure what is going on here -- it could just be that the path name is too long, or some element of the path name is too long -- but the error seems to indicate that your system isn't allowing the creation of a symbolic link to a directory that doesn't exist. The message is coming from a symlink() call from .../genex/ftp/<evid> to .../genex/web/shake/<evid>/download. But that call is made before the download directory is actually created. This is called a "dangling link" and has been allowed on every system I've ever used and seems to be widely endorsed. You could try a test to see if that might be the problem. At your system prompt ('%' in this example), try:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>% ln -s ../nonexistentfile</div><div><br></div><div>or something like that. If it doesn't work, that explains the problem. If it does, then we'll have to look for something else, or test that it works in your system's particular implementation of symlink(). (If it does work, you'll want to remove the link 'nonexistentfile' from your  working directory.)</div><div><br></div><div>Bruce</div><div><br></div><div><br></div><div><div><div>On Feb 7, 2013, at 7:32 PM, Branden Christensen <<a href="mailto:branden.christensen@osop.com.pa">branden.christensen@osop.com.pa</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi all:<div><br></div><div><br></div><div>I am working on generating shakemaps for event.xml and event_db.xml files created by SeisComP's scwfparams. </div><div><br></div><div>When running genex I get this error:</div>


<div><br></div><div>Creating 'genex/ftp/20130208000119_45_07080_-76708_20130208000925/' directory</div><div><div>genex: Unable to create 'genex/ftp/20130208000119_45_07080_-76708_20130208000925/' link -- No such file or directory</div>

<div><br></div><div>This directory does not exist so genex did not generate it. The file permissions at ...genex/ftp are OK so genex should have been able to generate the genex/ftp/20130208000119_45_07080_-76708_20130208000925/ directory. There are no early errors hinting to why genex failed to create this directory. Any ideas what might be wrong here?</div>

<div><br></div><div>Best, B</div><div><br></div><div><br></div><div><span style="border-collapse:collapse"><font style="font-weight:normal;font-family:arial,sans-serif" face="arial, helvetica, sans-serif"><b>Branden Christensen</b></font></span><div>


<span style="border-collapse:collapse"><div><b style="font-family:arial,sans-serif"><span style="font-family:arial;font-weight:normal"><a href="mailto:branden.christensen@osop.com.pa" target="_blank"><font color="#0000cc">branden.christensen@</font>osop.com.pa</a></span></b></div>


<div><a href="http://www.osop.com.pa/" style="font-family:arial,sans-serif" target="_blank">www.osop.com.pa</a></div><div style="font-weight:normal">Volcan, Panama</div><div style="font-weight:normal"><br></div><div style="font-weight:normal">


Follow OSOP on Facebook: <a href="https://www.facebook.com/osop.pamama" target="_blank">https://www.facebook.com/osop.pamama</a></div><div style="font-weight:normal"><span></span></div></span><span style="border-collapse:collapse"></span><div>


<div><div></div></div></div></div></div>
</div>
_______________________________________________<br>Shake-dev mailing list<br><a href="mailto:Shake-dev@geohazards.usgs.gov">Shake-dev@geohazards.usgs.gov</a><br>https://geohazards.usgs.gov/mailman/listinfo/shake-dev<br></blockquote></div><br></div></body></html>