Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
"be consistent"
 
PerlMonks  

[Bot::Pastebot] Help Getting Webserver Configured

by three18ti (Scribe)
on Jan 11, 2014 at 19:29 UTC ( #1070288=perlquestion: print w/ replies, xml ) Need Help??
three18ti has asked for the wisdom of the Perl Monks concerning the following question:

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

Comment on [Bot::Pastebot] Help Getting Webserver Configured
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1070288]
Approved by LanX
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (17)
As of 2014-04-17 15:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (451 votes), past polls