Error en instalación Guaraní Gestión 3.20.2

Estimados, estamos preparando ambientes para testear personalizaciones de versiones anteriores en Guarani 3.20.2
instalamos una version correctamnete de gestion y autogestion y una segunda instalacion nos da un error.

http://az-lxsiuguaranitest330.eastus2.cloudapp.azure.com/guarani/3.20UCDGENSYA/ Esa version no da error NOT FOUND
en cambio
http://az-lxsiuguaranitest330.eastus2.cloudapp.azure.com/guarani/3.20UN/ Si funciona

Les pasamos el archivo toba.conf de la instalacion que no funciona por si ven algo que les parece incorrecto.

Gracias


toba.conf.txt (8.21 KB)

Hola Ariel,

El archivo instalacion/toba.conf parece estar bien, compáralo con el que esta funcionando.

En realidad no es un error, es un 404 Not Found, ¿hicieron el paso 7 de esta documentación?

¿que te devuelve los siguientes comandos?


# apache2ctl -S   [On Debian/Ubuntu]
# apachectl -S    [On CentOS/RHEL]
OR
# httpd -S

También podes listar el contenido de la carpeta /etc/apache2/sites-available/ y /etc/apache2/sites-enabled/:


ls -l /etc/apache2/sites-enabled/

ls -l /etc/apache2/sites-available/

Referencias:
https://www.tecmint.com/list-enabled-virtual-hosts-in-apache-web-server/
https://serverfault.com/questions/742352/how-can-i-list-the-current-apache-2-virtual-hosts-from-the-command-line

saludos.
2

Buenas tardes. Si hemso hecho el paso 7. Les paso las salidas de los comandos

root@az-lxsiuguaranitest330:/usr/local/proyectos/UCDGENSYA/guarani/instalacion# apachectl -S
[Tue Feb 07 19:24:56.369194 2023] [alias:warn] [pid 6663] AH00671: The Alias directive in /etc/apache2/sites-enabled/toba_3_3.conf at line 2 will probably never match because it overlaps an earlier Alias.
[Tue Feb 07 19:24:56.369246 2023] [alias:warn] [pid 6663] AH00671: The Alias directive in /etc/apache2/sites-enabled/toba_3_3.conf at line 27 will probably never match because it overlaps an earlier Alias.
[Tue Feb 07 19:24:56.369258 2023] [alias:warn] [pid 6663] AH00671: The Alias directive in /etc/apache2/sites-enabled/toba_3_3.conf at line 49 will probably never match because it overlaps an earlier Alias.
[Tue Feb 07 19:24:56.369282 2023] [alias:warn] [pid 6663] AH00671: The Alias directive in /etc/apache2/sites-enabled/toba_3_3.conf at line 86 will probably never match because it overlaps an earlier Alias.
[Tue Feb 07 19:24:56.369301 2023] [alias:warn] [pid 6663] AH00671: The Alias directive in /etc/apache2/sites-enabled/toba_3_3.conf at line 123 will probably never match because it overlaps an earlier Alias.
[Tue Feb 07 19:24:56.369321 2023] [alias:warn] [pid 6663] AH00671: The Alias directive in /etc/apache2/sites-enabled/toba_3_3.conf at line 160 will probably never match because it overlaps an earlier Alias.
[Tue Feb 07 19:24:56.369338 2023] [alias:warn] [pid 6663] AH00671: The Alias directive in /etc/apache2/sites-enabled/toba_3_3.conf at line 197 will probably never match because it overlaps an earlier Alias.
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
VirtualHost configuration:
*:80                   127.0.0.1 (/etc/apache2/sites-enabled/000-default.conf:1)
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www/html"
Main ErrorLog: "/var/log/apache2/error.log"
Mutex default: dir="/var/run/apache2/" mechanism=default
Mutex mpm-accept: using_defaults
Mutex watchdog-callback: using_defaults
Mutex rewrite-map: using_defaults
PidFile: "/var/run/apache2/apache2.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="www-data" id=33
Group: name="www-data" id=33

root@az-lxsiuguaranitest330:/usr/local/proyectos/UCDGENSYA/guarani/instalacion# ls -l /etc/apache2/sites-enabled/
total 8
lrwxrwxrwx 1 root root 35 nov  9 12:59 000-default.conf -> ../sites-available/000-default.conf
lrwxrwxrwx 1 root root 31 ene 25 01:56 gestion.conf -> ../sites-available/gestion.conf
lrwxrwxrwx 1 root root 63 ene  6 04:01 gestionU.conf -> /usr/local/proyectos/UNIVERSIDAD/guarani/instalacion//toba.conf
lrwxrwxrwx 1 root root 55 dic 12 04:34 ssaalvauto.conf -> /usr/local/proyectos/SSAALV/g3w3/instalacion/alias.conf
lrwxrwxrwx 1 root root 58 dic  6 17:06 toba_3_3.conf -> /usr/local/proyectos/SSAALV/guarani/instalacion//toba.conf
lrwxrwxrwx 1 root root 60 ene 20 22:16 universidadauto.conf -> /usr/local/proyectos/UNIVERSIDAD/g3w3/instalacion/alias.conf
root@az-lxsiuguaranitest330:/usr/local/proyectos/UCDGENSYA/guarani/instalacion# ^C
root@az-lxsiuguaranitest330:/usr/local/proyectos/UCDGENSYA/guarani/instalacion# ls -l /etc/apache2/sites-available/
total 12
-rw-r--r-- 1 root root 1332 jun 20  2022 000-default.conf
-rw-r--r-- 1 root root 6338 jun 20  2022 default-ssl.conf
lrwxrwxrwx 1 root root   57 dic  2 14:06 gestion.conf -> /usr/local/proyectos/SSAALV/guarani/instalacion/toba.conf
lrwxrwxrwx 1 root root   59 feb  7 01:25 gestiondueo.conf -> usr/local/proyectos/UCDGENSYA/guarani/instalacion/toba.conf

Hola Ariel,

Lo veo dentro de /etc/apache2/sites-available/:


lrwxrwxrwx 1 root root   59 feb  7 01:25 gestiondueo.conf -> usr/local/proyectos/UCDGENSYA/guarani/instalacion/toba.conf

Pero no en /etc/apache2/sites-enabled/, ¿ejecutaste lo siguiente?


a2ensite gestiondueo.conf
service apache2 reload

saludos.
2

Ok. Gracias ya se pudo ingresar

Vemos que esta ocurriendo un error cuando ingresas al guaraní cuando elejis alguna operacion en http://az-lxsiuguaranitest330.eastus2.cloudapp.azure.com/guarani/3.20UCDGENSYA/ automaticamnte te redirecciona a http://az-lxsiuguaranitest330.eastus2.cloudapp.azure.com/guarani/3.20/aplicacion.php?fs=1

algo falto configurar

Hola Ariel,

Revisa lo siguiente:

  1. Archivo instalacion/i__desarrollo/instancia.ini, revisa que la url y full_url de cada proyecto este correcta.

  2. Archivo instalacion/toba.conf, revisa el alias del proyecto Guaraní.

  3. En el Toba Editor solapa Conf. luego en Previsualización revisa el Punto de Acceso (lo almacena en el archivo instalacion/i__desarrollo/p__guarani/datos.sql).

saludos.
2