[Valvula] Valvula not being able to detect postfix mysql config -- Re: Hola!

Francis Brosnan Blázquez francis.brosnan en aspl.es
Mar Ago 29 10:13:27 CEST 2017


Hello Yosu.

The relevant error here is "Split operation for (null) failed and
reported NULL, unable to continue".

This is an error happening at
valvulad_run_check_local_domains_config_detect_postfix_decl.

Please post the content of the following variables at your
postfix /etc/postfix/main.cf :

- virtual_mailbox_domains
- virtual_alias_maps
- virtual_mailbox_maps
- local_recipient_maps

At the same time, I've updated source code to better report that
valvulad is not being able to detect your mysql configuration by
automatically parsing those variables above:


        +	if (path == NULL) {
        +		wrn ("Unable to find mysql: declaration inside postfix
        declaration: %s (skipping mysql detection to next)",
        postfix_decl);
        +		return axl_false;
        +	} /* end if */
        +	


Regards.




El mar, 29-08-2017 a las 05:20 +0200, Yosu Cadilla ツ escribió:
> root en smtp:/# service valvulad restart
> Job for valvulad.service failed because a fatal signal was delivered
> to the control process. See "systemctl status valvulad.service" and
> "journalctl -xe" for details.
> 
> 
> systemctl status valvulad.service
> 
> root en smtp:/# systemctl status valvulad.service
> ● valvulad.service - LSB: start and stop the valvulad server
>    Loaded: loaded (/etc/init.d/valvulad; bad; vendor preset: enabled)
>    Active: active (running) since Tue 2017-08-29 05:15:11 CEST; 35s
> ago
>      Docs: man:systemd-sysv-generator(8)
>   Process: 21688 ExecStop=/etc/init.d/valvulad stop (code=exited,
> status=0/SUCCESS)
>   Process: 21754 ExecStart=/etc/init.d/valvulad start (code=exited,
> status=0/SUCCESS)
>    CGroup: /system.slice/valvulad.service
>            └─21761 /usr/bin/valvulad --detach
>  **ERROR**: Split operation for (null) failed and reported NULL,
> unable to continue
> 
> valvulad[21761]: Split operation for (null) failed and reported NULL,
> unable to continue
> valvulad[21761]: Updated smtpd_tls_session_cache_database -> btree:
> ${data_directory}/smtpd_scache :  smtpd_tls_session_cache_database =
> btree:${data_directory}/smtpd_scache
> valvulad[21761]: Updated smtp_tls_session_cache_database -> btree:
> ${data_directory}/smtp_scache :  smtp_tls_session_cache_database =
> btree:${data_directory}/smtp_scache
> 
> valvulad[21761]: Registering my.domain.com..
> valvulad[21761]: Registering domain.com..
> valvulad[21761]: Registering localhost.localdomain..
> valvulad[21761]: Registering localhost..
> valvulad[21761]: Configuring request line limit to 80
> valvulad[21761]: Valvula server started, processing requests..
> 
> 
> Aqui ya me he quedado atascado...
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Best, Yosu Cadilla ツ
> 
> 
> 
> Consultor de màrqueting @ Collita Digital -
> http://www.collitadigital.cat
> CMO @ low-cost.marketing - http://low-cost.marketing/
> Content Engineer @ Content.engineering  -  http://content.engineering/
> 
> Facilitator for CloudCamp in Europe and LATAM.
> 
> 
> Phone: (+34) 693 481 365
> Skype: new_yosu
> Twitter: @_YC
> 
> 
> 
> 
> 
> 
> 
> On 29 August 2017 at 05:06, Yosu Cadilla ツ <yosu.cadilla en gmail.com>
> wrote:
> 
>         root en smtp:/# valvulad-mgr.py  -o
>         Traceback (most recent call last):
>           File "/usr/bin/valvulad-mgr.py", line 39, in <module>
>             import axl
>           File "/usr/lib/python2.7/dist-packages/axl/__init__.py",
>         line 5, in <module>
>             from libpy_axl import *
>         ImportError: libpython2.7.so.1.0: cannot open shared object
>         file: No such file or directory
>         
>         
>         Solucion:
>         apt-get install libpython2.7
>         
>         
>         
>         
>         
>         
>         
>         
>         Best, Yosu Cadilla ツ
>         
>         
>         
>         Consultor de màrqueting @ Collita Digital -
>         http://www.collitadigital.cat
>         CMO @ low-cost.marketing - http://low-cost.marketing/
>         Content Engineer @ Content.engineering  -
>          http://content.engineering/
>         
>         Facilitator for CloudCamp in Europe and LATAM.
>         
>         
>         Phone: (+34) 693 481 365
>         Skype: new_yosu
>         Twitter: @_YC
>         
>         
>         
>         
>         
>         
>         
>         On 29 August 2017 at 04:42, Yosu Cadilla ツ
>         <yosu.cadilla en gmail.com> wrote:
>         
>                 Hola, estoy intentando instalar valvula en un servidor
>                 postfix, despues de instalarlo y configurar la DB,
>                 ejecuto:
>                 
>                 
>                 
>                 valvulad -b
>                 
>                 
>                 y obtengo el siguiente error:
>                 valvulad: error while loading shared libraries:
>                 libmysqlclient.so.20: cannot open shared object file:
>                 No such file or directory
>                 
>                 
>                 
>                 Google no retorna nada util y si ejecuto
>                 
>                 
>                  sudo find ./ | grep libmysqlclient.so
>                 
>                 
>                 No retorna nada de nada...
>                 Solucionado...
>                 
>                 
>                 sudo apt-get install libmysqlclient-dev
>                 
>                 
>                 
>                 Deberiais poner una nota en la docu.
>                 
>                 
>                 
>                 
>                 
>                 
>                 
>                 
>                 Best, Yosu Cadilla ツ
>                 
>                 
>                 
>                 Consultor de màrqueting @ Collita Digital -
>                 http://www.collitadigital.cat
>                 CMO @ low-cost.marketing - http://low-cost.marketing/
>                 Content Engineer @ Content.engineering  -
>                  http://content.engineering/
>                 
>                 Facilitator for CloudCamp in Europe and LATAM.
>                 
>                 
>                 Phone: (+34) 693 481 365
>                 Skype: new_yosu
>                 Twitter: @_YC
>                 
>                 
>                 
>                 
>         
>         
>         
> 
> 
> 
> 
> _______________________________________________
> Valvula mailing list
> Valvula en lists.aspl.es
> http://lists.aspl.es/cgi-bin/mailman/listinfo/valvula


-- 
Francis Brosnan Blázquez  -  ASPL
http://www.asplhosting.com/
http://www.aspl.es/
https://twitter.com/aspl_es
https://twitter.com/asplhosting
https://twitter.com/francisbrosnanb
https://es.linkedin.com/in/francis-brosnan-blázquez-1353a218

91 134 14 22 - 91 134 14 45 - 91 116 07 57
Av. Juan Carlos I 13, 2ºC, Torre Garena
28806 - Alcalá de Henares (España)

AVISO LEGAL
 
En virtud de lo dispuesto en la Ley Orgánica 15/1999, de 13 de
diciembre, de Protección de Datos de Carácter Personal, le informamos de
que sus datos de carácter personal, recogidos de fuentes accesibles al
público o datos que usted nos ha facilitado previamente, proceden de
bases de datos propiedad de Advanced Software Production Line, S.L.
(ASPL).
 
ASPL garantiza que los datos serán tratados con la finalidad de mantener
las oportunas relaciones comerciales o promocionales con usted o la
entidad que usted representa. No obstante, usted puede ejercitar sus
derechos de acceso, rectificación, cancelación y oposición dispuestos en
la mencionada Ley Orgánica, notificándolo por escrito a ASPL -
Protección Datos, Av. Juan Carlos I 13, 2ºC, Alcalá de Henares
(Madrid).
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://lists.aspl.es/pipermail/valvula/attachments/20170829/ca07982d/attachment-0001.html>


Más información sobre la lista de distribución Valvula