Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

EDIT: I just wanted to come back and say, after the initial frustration of the sql stuff failing, it was relatively easy to setup. I've still not got the whole web side of things working completely, the plack stuff works but apparently mod_fastcgi has been replaced by mod_fcgid in RHEL6 so I had a heck of a time getting apache to... well... not work. I'd prefer nginx anyway. I'll take a crack at configuring a reverse proxy to run starman and the static content together. This is actually the opposite of what I was looking for, but it's something that I was planning on implementing eventually

Hey, that's a pretty cool idea. But there seems to be an issue with the sql schema

I get the following error on a vanilla checkout:

~/ilbot$ ./install Checking dependencies ... dependencies all OK Database Access =============== You need a mysql database where ilbot stores the logs. For installation you need privileges for creating tables and indxes. For running ilbot, you need INSERT, SELECT and UPDATE privileges. Database host [localhost]> Database port [3306]> Database name [ilbot]> Database username [ilbot]> Database password> mysupersecretpassword Now testing your database connection... Database connection is fine, creating the schema for you... Schema creation failed: DBD::mysql::db do failed: You have an error in + your SQL syntax; check the manual that corresponds to your MySQL ser +ver version for the right syntax to use near 'DROP TABLE IF EXISTS `i +lbot_lines`; DROP TABLE IF EXISTS `ilbot_day`; DROP TABLE' at line 2 at ./install line 116, <$_[...]> chunk 1.

So I whacked the drop table lines, and I get the following error:

~/ilbot$ ./install Checking dependencies ... dependencies all OK Database Access =============== You need a mysql database where ilbot stores the logs. For installation you need privileges for creating tables and indxes. For running ilbot, you need INSERT, SELECT and UPDATE privileges. Database host [localhost]> Database port [3306]> Database name [ilbot]> Database username [ilbot]> Database password> mysupersecretpassword Now testing your database connection... Database connection is fine, creating the schema for you... Schema creation failed: DBD::mysql::db do failed: You have an error in + your SQL syntax; check the manual that corresponds to your MySQL ser +ver version for the right syntax to use near 'CREATE TABLE `ilbot_cha +nnel` ( `id` int(11) NOT NULL auto_increment, `ch' at line 2 at ./install line 116, <$_[...]> chunk 1.

I was able to import the schema manually, so I don't think it's actually an issue with the sql syntax

Anyway, I'm off to try and figure out how to get this thing to work now that it's "installed".

Thanks for the link


In reply to Re^2: [POE::Component::IRC] Updating The IRC Log Watcher bot by three18ti
in thread [POE::Component::IRC] Updating The IRC Log Watcher bot 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!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

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

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

      What is your favourite meta-syntactic variable name?














      Results (69 votes), past polls