Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

[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/ 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* +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 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 < cver pastebot 1.0 <> iname http://myserver:6000 server 6667 channel \#pastebot quit how will you live without me? uname pastebot administrivia name administrivia pidfile /var/run/ pastes check 864000 count 0 expire 8640000 name pasty store /export/home/pastebot/store

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1070288]
Approved by LanX
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (1)
As of 2018-04-24 23:06 GMT
Find Nodes?
    Voting Booth?