<a href="http://sprunge.us/NcQT">http://sprunge.us/NcQT</a><br><a href="http://sprunge.us/MERg">http://sprunge.us/MERg</a><br><br>That curl to <a href="http://sprunge.us">sprunge.us</a> trick is nifty.<br>automatically posting text files to a web page on the net via shell / command line .. I should have asked that question a long time ago :)<br>
<div class="gmail_quote">On Thu, Sep 17, 2009 at 4:48 PM, Martin Langhoff <span dir="ltr"><<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Thu, Sep 17, 2009 at 5:30 PM, Daniel Bennett <<a href="mailto:dantana@gmail.com">dantana@gmail.com</a>> wrote:<br>
> EnvironmentPHP Fatal error: Call to undefined function<br>
> upgrade_fix_incorrect_mnethostides() in /var/moodle/web/lib/db/upgrade.php<br>
> on line 3167<br>
> [Time date] Finished install / upgrade - Failure<br>
<br>
</div>That might be the culprit. Very weird. Still, want to see the logs...<br>
<div class="im"><br>
> We are trying to set another machine up to SSH into it (a machine with email<br>
> access) but no luck.<br>
><br>
> Any idea how I can send an email from the server?<br>
<br>
</div>email is a bit awkward, but there is a pastebin-style service we can use. Try<br>
<br>
cat /path/to/file | curl -F 'sprunge=<-' <a href="http://sprunge.us" target="_blank">http://sprunge.us</a><br>
<br>
After a few seconds it will reply with a URL, like<br>
<br>
<a href="http://sprunge.us/EJJF" target="_blank">http://sprunge.us/EJJF</a><br>
<br>
where the file can be found.<br>
<div class="im">>> /etc/initd.d/moodle stop<br>
>> (bash -x /etc/initd.d/moodle start 2>&1) | tee moodleinit.log<br>
<br>
</div>I really want that moodleinit.log :-)<br>
<br>
cheers,<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
m<br>
--<br>
<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a><br>
<a href="mailto:martin@laptop.org">martin@laptop.org</a> -- School Server Architect<br>
- ask interesting questions<br>
- don't get distracted with shiny stuff - working code first<br>
- <a href="http://wiki.laptop.org/go/User:Martinlanghoff" target="_blank">http://wiki.laptop.org/go/User:Martinlanghoff</a><br>
</div></div></blockquote></div><br>