[CWB] CQPweb

Martí Quixal marti.quixal at gmail.com
Sun Oct 7 13:52:12 CEST 2012


Hi Andres, hi Andrew,

I wrote a few hours ago, but it seems that my problem is similar to
Andres', when he could log in with admin2. The difference is that I cannot
log in even with admin (in my case called spintexweb)

file .htgroup
superusers: spintexweb

file .htpasswd
spintexweb:$apr1$JXkH5IeU$RnOa/bUHrsgV3ZqnRQhDc.

file: ../adm/.htacces
AuthUserFile ../AccessData/.htpasswd
        AuthGroupFile ../AccessData/.htgroup
        AuthName CQPweb
        AuthType Basic
        deny from all
        require group superusers
        satisfy any

My problem is that http://localhost/spintx-web/adm/ does not load:

CQPweb encountered an error and could not continue.

You do not have permission to use this program.

And in principle all user permissions are set ok for apache2's user as well
as for mysql user (I created a group called cqpweb, which they all belong
too):

/Library/WebServer/Documents/spintx-web/adm

sh-3.2# ls -l

-rw-rw-r--  1 root       cqpweb  181 Oct  6 08:29 .htaccess

-rw-rw-r--  1 spintxweb  cqpweb   51 Jun 11  2009 index.php

-rw-rw-r--  1 spintxweb  cqpweb    9 Jun 11  2009 settings.inc.php

Is there something you can suggest?

Best

mq
On Fri, Oct 5, 2012 at 9:18 AM, <cwb-request at sslmit.unibo.it> wrote:

> Send CWB mailing list submissions to
>         cwb at sslmit.unibo.it
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://devel.sslmit.unibo.it/mailman/listinfo/cwb
> or, via email, send a message with subject or body 'help' to
>         cwb-request at sslmit.unibo.it
>
> You can reach the person managing the list at
>         cwb-owner at sslmit.unibo.it
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of CWB digest..."
>
>
> Today's Topics:
>
>    1. Re: CQPweb (Hardie, Andrew)
>    2. Re: CQPweb (Andr?s Chand?a)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 5 Oct 2012 14:11:47 +0000
> From: "Hardie, Andrew" <a.hardie at lancaster.ac.uk>
> To: "andres at chandia.net" <andres at chandia.net>
> Cc: Open source development of the Corpus WorkBench
>         <cwb at sslmit.unibo.it>
> Subject: Re: [CWB] CQPweb
> Message-ID:
>         <28078EC3FBF1B940A3EF3D0D19BE351D0D0BC0 at EX-0-MB1.lancs.local>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Is admin2 declared as a superuser in the config file?
>
>
>           $superuser_username = 'admin|admin2';
>
> This is specified under the manual configuration section (adding new
> superusers must always be done manually, for security reasons).
>
> best
>
> Andrew.
>
> From: "Andr?s Chand?a" [mailto:andres at chandia.net]
> Sent: 05 October 2012 14:59
> To: Hardie, Andrew
> Cc: Open source development of the Corpus WorkBench
> Subject: RE: [CWB] CQPweb
>
> I have now some issues with the users created by htpasswd
>
> file .htpasswd
> admin:asjdkalsdkaIDAS
> admin2:asdeAALQ393R
>
> file .htgroup
> superusers: admin admin2
>
> file : .../cqp/adm/.htaccess
>         AuthUserFile .../cqp/users/.htpasswd
>         AuthGroupFile .../cqp/users/.htgroup
>         AuthName CQPweb
>         AuthType Basic
>         deny from all
>         require group superusers
>         satisfy any
>
>
> the user admin has no problem but the user admin2, when log in it gets
> this at the web interface:
>
> CQPweb encountered an error and could not continue.
>
> You do not have permission to use this program.
>
> You are logged in as user [admin2]
>
>
> Did I do something wrong?
>
>
>
>
> El Vie, 5 de Octubre de 2012, 13:45, Hardie, Andrew escribi?:
> Hi Andria,
> There is an additional step to carry out after running the auto config
> script.
> As it says further down the installation instructions - under "Getting it
> up and running" - you need to first of all go into the Admin interface (
> http://yourserver.net/path/to/cqpweb/adm) and use the tool to "Reset
> MySQL Database" via the menu option on the left-hand side.
> best
> Andrew.
> From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On
> Behalf Of "Andr?s Chand?a"
> Sent: 05 October 2012 12:24
> To: cwb at sslmit.unibo.it
> Subject: [CWB] CQPweb
> Hi there
>
> I'm following. "Some notes on how to set up CQPweb (v 3.0.0 or higher"
> (
> http://cwb.svn.sourceforge.net/viewvc/cwb/gui/cqpweb/trunk/CQPweb-setup-manual.html
> )
>
>
> And the problem that I have is about the creation of the database, these
> are not being created automatically,
> I did it with the assigned db username and also with the db admin username
> but nothing happens, I mean.
> I do create database "cqpwebdb"
>
> on mysql: GRANT ALL ON cqpwebdb.* TO 'userofcqpdb'@'localhost' IDENTIFIED
> BY 'passwordofcqpdb';
>
> then: php cqpweb-autoconfig.php
> giving "cqpwebdb" and "passwordofcqpdb";
>
> as this didn't work I did it wwith the root account of mysql but nothing,
> should I create manually the tables, or what should I do.
>
> At the web:
>
> A mySQL query did not run successfully!
>
> Error # 1146: Table 'cqp.corpus_metadata_fixed' doesn't exist
>
>
>
> _______________________
> andr?s chand?a
> [IMAGE REMOVED]<http://www.chandia.net>
> P No imprima innecesariamente. ?Cuide el medio ambiente!
>
>
>
> _______________________
>             andr?s chand?a
> [Image removed by sender. chandia.net]<http://www.chandia.net>
> P No imprima innecesariamente. ?Cuide el medio ambiente!
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121005/07983ec6/attachment-0001.html
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: ~WRD367.jpg
> Type: image/jpeg
> Size: 823 bytes
> Desc: ~WRD367.jpg
> URL: <
> http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121005/07983ec6/attachment-0001.jpg
> >
>
> ------------------------------
>
> Message: 2
> Date: Fri, 5 Oct 2012 16:18:21 +0200
> From: "Andr?s Chand?a" <andres at chandia.net>
> To: "Hardie, Andrew" <a.hardie at lancaster.ac.uk>
> Cc: Open source development of the Corpus WorkBench
>         <cwb at sslmit.unibo.it>
> Subject: Re: [CWB] CQPweb
> Message-ID:
>         <3156fd711511afc45eb2526613eeeae6.squirrel at mail.chandia.net>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
>
> My fault again, sorry
>
>
> El Vie, 5 de Octubre de 2012, 16:11, Hardie, Andrew
> escribi?:
>  <style type="text/css">-></style>
>
>
> Is
> admin2 declared as a superuser in the config file?
>
>
>
>
>          $superuser_username = 'admin|admin2';
>
>
> This
> is specified under the manual configuration section (adding new superusers
> must always be done
> manually, for security reasons).
>
>
> best
>
>
> Andrew.
>
>
>
> From:
> "Andr?s Chand?a" [mailto:andres at chandia.net]
>
> Sent: 05 October 2012 14:59
>  To: Hardie, Andrew
>
> Cc: Open source development of the Corpus WorkBench
>
> Subject: RE: [CWB] CQPweb
>
>
> I have now some issues with the users created by htpasswd
>
>
> file .htpasswd
>  admin:asjdkalsdkaIDAS
>  admin2:asdeAALQ393R
>
>  file
> .htgroup
>  superusers: admin admin2
>
>  file : .../cqp/adm/.htaccess
>
>  AuthUserFile .../cqp/users/.htpasswd
>          AuthGroupFile .../cqp/users/.htgroup
>
>         AuthName CQPweb
>          AuthType Basic
>          deny from all
>
> require group superusers
>          satisfy any
>
>
>  the user admin has no
> problem but the user admin2, when log in it gets this at the web interface:
>
>
> CQPweb encountered an error and could not continue.
>
>  You do not have permission to
> use this program.
>
>  You are logged in as user [admin2]
>
>
>  Did I do
> something wrong?
>
>
>
>
>  El Vie, 5 de Octubre de 2012, 13:45,
> Hardie, Andrew escribi?:
>
>
> Hi
> Andria,
> There
> is an additional step to carry out after running the auto config script.
> As
> it says further down the installation instructions &ndash; under
> &ldquo;Getting it up and
> running&rdquo; &ndash; you need  to first of all go into the Admin
> interface (http://yourserver.net/path/to/cqpweb/adm)
> and use the tool to &ldquo;Reset MySQL Database&rdquo;  via the menu
> option on the left-hand
> side.
> best
> Andrew.
>
> From:
> cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On
> Behalf Of
> "Andr?s Chand?a"
>  Sent: 05 October
> 2012 12:24
>  To:
> cwb at sslmit.unibo.it
>  Subject: [CWB]
> CQPweb
>
> Hi there
>
>
>  I'm following. "Some notes on how to set up CQPweb (v 3.0.0 or higher"
>
> (
> http://cwb.svn.sourceforge.net/viewvc/cwb/gui/cqpweb/trunk/CQPweb-setup-manual.html
> )
>
>
>
>  And the problem that I have is about the creation of the database, these
> are not
> being created automatically,
>  I did it with the assigned db username and also with the db
> admin username but nothing happens, I mean.
>  I do create database "cqpwebdb"
>
>  on mysql: GRANT ALL ON cqpwebdb.* TO 'userofcqpdb'@'localhost'
> IDENTIFIED BY
> 'passwordofcqpdb';
>
>  then: php cqpweb-autoconfig.php
>  giving
> "cqpwebdb" and "passwordofcqpdb";
>
>  as this didn't work I did
> it wwith the root account of mysql but nothing, should I create manually
> the tables, or what
> should I do.
>
>  At the web:
> A mySQL query did not run successfully!
> Error # 1146: Table 'cqp.corpus_metadata_fixed' doesn't exist
>
>
>
>
>  _______________________
>  andr?s chand?a
>  [IMAGE
> REMOVED]
>  P
> No
> imprima innecesariamente. ?Cuide el medio ambiente!
>
>
>
>
>
>  _______________________
>
> andr?s chand?a
>
>  P No
> imprima innecesariamente. ?Cuide el medio ambiente!
>
>
>
>
>
> _______________________
> ????????????andr?s
> chand?a
>
> P No imprima
> innecesariamente. ?Cuide el medio ambiente!
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121005/a13d5889/attachment.html
> >
>
> ------------------------------
>
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://devel.sslmit.unibo.it/mailman/listinfo/cwb
>
>
> End of CWB Digest, Vol 70, Issue 2
> **********************************
>



-- 
Martí Quixal
Computational Linguist & Educational Technologist
http://www.iqubo.org/quixal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121007/89858a76/attachment.html>


More information about the CWB mailing list