[Isis-users] Problem in log in to ABCD on Linux

Egbert De Smet egbert.desmet at uantwerpen.be
Mon Jun 6 10:43:20 CEST 2022


Eustache,


You are right pointing out this issue of having a directory for specific ABCD logging-files.

The lines in the vhosts-files for Windows and Linux :

    CustomLog ${ABCD_ROOT}/logs/access_${ABCD_PORT}.log combined
    ErrorLog  ${ABCD_ROOT}/logs/error_${ABCD_PORT}.log
are actually expecting there to be a 'symbolic link' in the www-directory of ABCD pointing to the bases-directory (or in the case of Windows the actual bases-folder). Given the line (now line 26) for Linux :
    Define ABCD_ROOT  "/opt/ABCD/www"
or in Windows :
    Define ABCD_ROOT    "/ABCD/www"
there should be a directory /opt/ABCD/www/ resp. /ABCD/www in which the 'bases' folder should either exist or be linked to.
Esp. in Linux, mostly on real servers, we cannot nor should know exactly where the databases-folder with full write-access to end-users, will reside, so somehow we have to keep that as a variable. Using a symbolic link therefore seems a good solution but it needs to be understood/maintained by the system-administrator. Adding it as a fixed given in the distribution package would counter this logic.
In fact the logs directory, which indeed didn't exist before in older versions, should be in the bases-directory as it requires full write-ability like for other databases. In the repo-version there is a small file put inside bases/logs 'to prevent it to be deleted' (e.g. when zipping an empty folder it might disappear). So we recommend using that directory for more detailed logs which are introduced in version 2.2 to make debugging more robust, as was/is a more general ambition into our version 2.2. Your solution can also work indeed, but on a real server with more strict permissions control you might end up in trouble.


As for the French users-database, please send us the updated files, that is if you indeed translated the ES-version into French. That would be a useful addition to the repository. Since both the number of databases and of llanguages in ABCD are principally unlimited, it is already more than difficult enough for us to maintain all files.

Thanks for your continued efforts !


Egbert de Smet
Universiteit Antwerpen


________________________________
From: isis-users <isis-users-bounces+egbert.desmet=ua.ac.be at iccisis.org> on behalf of Eustache Mêgnigbêto <eustache.megnigbeto at outlook.com>
Sent: Thursday, June 2, 2022 8:03 PM
To: isis-users at iccisis.org
Subject: Re: [Isis-users] Problem in log in to ABCD on Linux


CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


Dear Egbert,



Recently, I posted some messages on this list asking for help in installing abcd both on Linux and  on Windows.

I would like to let you know that I succeeded and all the installation are working now.

The problem on Linuw was due to the fact that the computer specialist working with me for the configuration  uncommented some line in the vhost file; he said "to prevent security risks".



However,

  1.  I would like to inform that I encountered a problem during the installation process in both platforms : after copying the folders to the server and declaring the vhost file, the re-starting of the web server failed. I could find that it was due to the vhost file, so I commented all lines within this file; and the server restarted. Then I began uncommented each line, and restarting the server alternatively. And the server started when I left the comment sign for line 64; same for 65. I found that the logs directory does not exit, that prevented the server from starting. Based on my previous windows experience of ABCD, I then changed these lines as follows and created the htdocs/logs directory ;

   CustomLog ${ABCD_ROOT}/htdocs/logs/access_${ABCD_PORT}.log combined

    ErrorLog  ${ABCD_ROOT}/htdocs/logs/error_${ABCD_PORT}.log

  1.  The user administration database in French language  is outdated. It has not the same field definition as the one of the ES langauge and signaled error while creatring and updatinf date. So I did use the ES one

It could help other persons.



Thanks





________________________________

From: Eustache Mêgnigbêto
Sent: Friday, May 27, 2022 6:15 PM
To: isis-users at iccisis.org <isis-users at iccisis.org>
Subject: RE: Problem in log in to ABCD on Linux



Dear Egbert,



I thought that the database for authentication was not read So I checked the content of the bases directory and found that there was not enough directories as in windows In conclusion, I worked with an incomplete set of files



That is probably the cause of the situation I resumed the download process in order to re-install





Thanks



===================

Eustache  Mêgnigbêto





De : isis-users <isis-users-bounces+eustache.megnigbeto=outlook.com at iccisis.org> De la part de Eustache Mêgnigbêto
Envoyé : vendredi 27 mai 2022 15:31
À : Lista Isis <isis-users at iccisis.org>
Objet : [Isis-users] Problem in log in to ABCD on Linux



Dear Egbert,

I am now installing ABCD2 (downloaded from Github) on a linux server.

After having done the configuration, I called abcd from the browser, the authentication from the first page failed; an "unauthorized user" message was sent as given in the image below.  What (probably) I did wrongly during the configuration ?

Many thanks ?



[cid:image001.png at 01D871FD.8381DC20]




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20220606/9f44f258/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 18440 bytes
Desc: image001.png
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20220606/9f44f258/attachment.png>


More information about the isis-users mailing list