Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

comment on

( [id://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":



  • 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 wandering the Monastery: (3)
As of 2024-04-20 02:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found