Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-19 17:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found