OCS Inventory
Despues de instalar el OCS Inventory agent vemos que la informacion no es reflejada en el OCS Server
Revisando los logs en la PC cliente vemos el mensaje
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #500>
Revisando los logs en el servidor vemos el mensaje:
Can't call method "do" on an undefined value at /usr/local/share/perl5/Apache/Ocsinventory/Server/System.pm line 189.\n
Se tiene que validar los archivos
dbconfig.inc.php
z-ocsinventory-server.conf
para que tengan las credenciales de la base de datos que usa el OCS Inventory
una vez corregido se reinicia el servicio web y luego se ve reflejada la informacion de la PC cliente en el OCS Server
Fuente: http://ask.ocsinventory-ng.org/2867/method-undefined-share-apache-ocsinventory-server-system
jueves, 16 de febrero de 2017
Can't locate Apache/Ocsinventory/Plugins/Apache.pm
OCS Inventory-ng
Despues de instalar el OCS Inventory y reiniciar el servicio web
La pagina no carga, revisando los logs
[perl:error] [pid 25212] Can't locate Apache/Ocsinventory/Plugins/Apache.pm in @INC (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 30) line 2.\n
Basicamente es copiar el archivo desde donde se realizo la instalacion a la ruta
/usr/local/share/perl5/Apache/
# cp -r OCSNG_UNIX_SERVER-2.3/Apache/ /usr/local/share/perl5/
Se reinicia el servicio Apache
# systemctl restart httpd
Y el servico web levanta sin problema alguno
Fuente: http://ask.ocsinventory-ng.org/4615/apache-dont-start-cant-locate-apache-pm
Despues de instalar el OCS Inventory y reiniciar el servicio web
La pagina no carga, revisando los logs
[perl:error] [pid 25212] Can't locate Apache/Ocsinventory/Plugins/Apache.pm in @INC (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 30) line 2.\n
Basicamente es copiar el archivo desde donde se realizo la instalacion a la ruta
/usr/local/share/perl5/Apache/
# cp -r OCSNG_UNIX_SERVER-2.3/Apache/ /usr/local/share/perl5/
Se reinicia el servicio Apache
# systemctl restart httpd
Y el servico web levanta sin problema alguno
Fuente: http://ask.ocsinventory-ng.org/4615/apache-dont-start-cant-locate-apache-pm
viernes, 3 de febrero de 2017
Glassfish Start up
Glassfish Start up
/usr/local/glassfish3/glassfish/bin/asadmin create-service domain1
The Service was created successfully. Here are the details:
Name of the service:domain1
Type of the service:Domain
Configuration location of the service:/etc/init.d/GlassFish_domain1
User account that will run the service: root
You have created the service but you need to start it yourself. Here are the most typical Linux commands of interest:
* /etc/init.d/GlassFish_domain1 start
* /etc/init.d/GlassFish_domain1 stop
* /etc/init.d/GlassFish_domain1 restart
Fuente: http://blog.roshka.com/2014/10/automatic-glassfish-startup-in-centos.html
https://docs.oracle.com/cd/E18930_01/html/821-2433/create-service-1.html
/usr/local/glassfish3/glassfish/bin/asadmin create-service domain1
The Service was created successfully. Here are the details:
Name of the service:domain1
Type of the service:Domain
Configuration location of the service:/etc/init.d/GlassFish_domain1
User account that will run the service: root
You have created the service but you need to start it yourself. Here are the most typical Linux commands of interest:
* /etc/init.d/GlassFish_domain1 start
* /etc/init.d/GlassFish_domain1 stop
* /etc/init.d/GlassFish_domain1 restart
Fuente: http://blog.roshka.com/2014/10/automatic-glassfish-startup-in-centos.html
https://docs.oracle.com/cd/E18930_01/html/821-2433/create-service-1.html
Suscribirse a:
Entradas (Atom)