Hello Monks

I'm attempting to deploy pastebot. The IRC bot comes up and runs without issue, but I'm getting the dreaded 500 error when attempting to connect to the webserver.

if I omit the "optional" iname parameter, I get the error Use of uninitialized value $iname in pattern match (m//) at /usr/local/lib64/perl5/Bot/Pastebot/Server/Http.pm line 476. otherwise, I don't get any errors on the console when attempting to connect to the web server.

I can see that the pastebot program is listening on port 6000 (as I've configured):

# netstat -tulpn | grep 6000 tcp 0 0 0.0.0.0:6000 0.0.0.0:* +LISTEN 6347/perl # ps aux | grep 6347 pastebot 6347 0.2 0.8 189552 34416 pts/0 S+ 11:16 0:00 /usr/ +bin/perl /usr/local/bin/pastebot

This is the config I'm currently using, (the netstat clip above was taken with iface not specified), how can I get the actual error that is being produced by the webserver? It seems like pastebot doesn't generate any logging messages for the webserver side of things.

Thanks for the assistance

web_server irc MyIRC ifname y0319t981 name MyPasteNet iface 10.11.12.13 iname http://myserver:6000 port 6000 static /export/home/pastebot/static template Bot::Pastebot::TextTemplate irc name MyIRC away saving humanity from evil paste ccinfo ACTION VERSION CLIENTINFO USERINFO cuinfo owned and operated by three18ti <three18ti@email.com) cver pastebot 1.0 <http://thirdlobe.com/projects/pastebot/> iname http://myserver:6000 server irc.myirc.net 6667 channel \#pastebot quit how will you live without me? uname pastebot administrivia name administrivia pidfile /var/run/pastebot.pid pastes check 864000 count 0 expire 8640000 name pasty store /export/home/pastebot/store

In reply to [Bot::Pastebot] Help Getting Webserver Configured by three18ti

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.