#348 Problem Starting URL for textmine

Release_1.3
unread
nobody
url (1)
linux
1
2014-02-14
2013-04-30
syedk01
No

Running Ubuntu 12.04 with mysql, perl. Attempting to start url http://localhost/cgi-bin/co_login.pl start textmine web.

Looks like I am unable to connect to mysql server. I moved my files to /usr/lib. I am not sure of the
functionality or purpose of ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ so I did not execute that step. Maybe thats the missing step.

share/apache2/icons/tm, referer: http://localhost/cgi-bin/co_login.pl
[Mon Apr 29 17:01:21 2013] [error] [client 127.0.0.1] script not found or unable
to stat: /usr/lib/cgi-bin/tm, referer: http://localhost/cgi-bin/co_login.pl
[Mon Apr 29 17:02:23 2013] [error] [client 127.0.0.1] File does not exist: /usr/
share/apache2/icons/tm, referer: http://localhost/cgi-bin/co_login.pl
[Mon Apr 29 17:02:31 2013] [error] [client 127.0.0.1] DBI connect('mysql:localho
st:3306;mysql_local_infile=1','tmadmin',...) failed: Can't connect to local MySQ
L server through socket '/tmp/mysql.sock' (2) at /home/syedk/TEXT/textmine-0.21/
/TextMine/DbCall.pm line 49, referer: http://localhost/cgi-bin/co_login.pl
[Mon Apr 29 17:02:31 2013] [error] [client 127.0.0.1] Can't call method "execute
_stmt" without a package or object reference at /usr/lib/cgi-bin/tm/co_login.pl
line 74., referer: http://localhost/cgi-bin/co_login.pl
[Mon Apr 29 17:02:31 2013] [error] [client 127.0.0.1] Premature end of script he
aders: co_login.pl, referer: http://localhost/cgi-bin/co_login.pl
[Mon Apr 29 18:06:53 2013] [error] [client 127.0.0.1] DBI connect('mysql:localho
st:3306;mysql_local_infile=1','tmadmin',...) failed: Can't connect to local MySQ
L server through socket '/tmp/mysql.sock' (2) at /home/syedk/TEXT/textmine-0.21/
/TextMine/DbCall.pm line 49, referer: http://localhost/cgi-bin/co_login.pl
[Mon Apr 29 18:06:53 2013] [error] [client 127.0.0.1] Can't call method "execute
_stmt" without a package or object reference at /usr/lib/cgi-bin/tm/co_login.pl
line 74., referer: http://localhost/cgi-bin/co_login.pl
[Mon Apr 29 18:06:53 2013] [error] [client 127.0.0.1] Premature end of script he
aders: co_login.pl, referer: http://localhost/cgi-bin/co_login.pl

1 Attachments

Discussion

  • syedk01
    syedk01
    2013-04-30

    Looks like I am unable to connect to mysql server. I moved my files to /usr/lib. I am not sure of the
    functionality or purpose of ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ so I did not execute that step. Maybe thats the missing step.

    share/apache2/icons/tm, referer: http://localhost/cgi-bin/co_login.pl
    [Mon Apr 29 17:01:21 2013] [error] [client 127.0.0.1] script not found or unable
    to stat: /usr/lib/cgi-bin/tm, referer: http://localhost/cgi-bin/co_login.pl
    [Mon Apr 29 17:02:23 2013] [error] [client 127.0.0.1] File does not exist: /usr/
    share/apache2/icons/tm, referer: http://localhost/cgi-bin/co_login.pl
    [Mon Apr 29 17:02:31 2013] [error] [client 127.0.0.1] DBI connect('mysql:localho
    st:3306;mysql_local_infile=1','tmadmin',...) failed: Can't connect to local MySQ
    L server through socket '/tmp/mysql.sock' (2) at /home/syedk/TEXT/textmine-0.21/
    /TextMine/DbCall.pm line 49, referer: http://localhost/cgi-bin/co_login.pl
    [Mon Apr 29 17:02:31 2013] [error] [client 127.0.0.1] Can't call method "execute
    _stmt" without a package or object reference at /usr/lib/cgi-bin/tm/co_login.pl
    line 74., referer: http://localhost/cgi-bin/co_login.pl
    [Mon Apr 29 17:02:31 2013] [error] [client 127.0.0.1] Premature end of script he
    aders: co_login.pl, referer: http://localhost/cgi-bin/co_login.pl
    [Mon Apr 29 18:06:53 2013] [error] [client 127.0.0.1] DBI connect('mysql:localho
    st:3306;mysql_local_infile=1','tmadmin',...) failed: Can't connect to local MySQ
    L server through socket '/tmp/mysql.sock' (2) at /home/syedk/TEXT/textmine-0.21/
    /TextMine/DbCall.pm line 49, referer: http://localhost/cgi-bin/co_login.pl
    [Mon Apr 29 18:06:53 2013] [error] [client 127.0.0.1] Can't call method "execute
    _stmt" without a package or object reference at /usr/lib/cgi-bin/tm/co_login.pl
    line 74., referer: http://localhost/cgi-bin/co_login.pl
    [Mon Apr 29 18:06:53 2013] [error] [client 127.0.0.1] Premature end of script he
    aders: co_login.pl, referer: http://localhost/cgi-bin/co_login.pl

     
  • Err, what does this have to do with Task Coach exactly ?