Saving data in InfluxDB using Apache NiFi

 InfluxDB, IoT  Comments Off on Saving data in InfluxDB using Apache NiFi
Oct 272018
 

Enterprises produce a huge amount of data from a variety of sources, such as, for instance, sensors. Sensors are used to measure different physical characteristics of a machine, zone, etc., e.g., pressure, ph, temperature and so on. These sensors provide sensor data tags as time series data. In this post, we will save data in InfluxDB, an open-source time series database (TSDB),  using an Apache NiFi dataflow.

Continue reading »

Support for SQL Server 2000 DTS

 DataBase, SQLServer  Comments Off on Support for SQL Server 2000 DTS
Aug 282015
 

Nowadays, SQL Server 2000 DTS is deprecated. If you try to open a DTS using SQL Server Management Studio 2005 or 2008 you will get the following error:

SQL Server 2000 DTS Designer components are required to edit DTS packages. Install the special Web download, “SQL Server 2000 DTS Designer Components” to use this feature
.
Continue reading »

Reverse Engineering and Code Generation

 DataBase, Java, Web Development  Comments Off on Reverse Engineering and Code Generation
Aug 102015
 

The goal of this post is to explain how to model a database into java pojo classes with EJB or JPA annotations using reverse engineering. We can use several tools such as MinuteProject or Mogwai ERDesignerNG. In this post we are going to use JBoss Tools plugins for Eclipse (Hibernate Tools). With this tool not only can you configure files using JPA and EJB annotations, but also other annotations such as OpenXava. Continue reading »

pgAdmin III error connecting to server: fe_sendauth: no password supplied

 DataBase, PostgreSQL  Comments Off on pgAdmin III error connecting to server: fe_sendauth: no password supplied
Dec 252013
 

If when you start up pgAdmin III the following message is displayed:

An error has occurred: Error connecting to the server: fe_sendauth: no password supplied

in spite of having set the password in other startups, the error most likely be because the file permissions of .pgpass file are incorrect. In the .pgpass file, located in the home directory of the user who started pgAdmin III, user data to connect to postgres database are saved. Due to security reasons, permissions of .pgpass must be 600, that is, read and write only for the owner user.

For the same reason, if we do a restore (pg_restore) of a database with pgAdmin III without the correct permissions for .pgpass, we find that the restoration process will get stuck doing nothing, having no choice but to kill the pgAdmin III.

Desintalar PostgreSQL en mi MAC

 DataBase, PostgreSQL  Comments Off on Desintalar PostgreSQL en mi MAC
Dec 252013
 

Para realizar la desinstalación de forma automática se debe ejecutar uninstall-postgresql.app que está bajo /Library/PostgreSQL/8.4

Para ejecutar la desintalación de forma manual se deben ejecutar los siguiente comandos desde un Terminal:

También se podría incluir

También nos debemos asegurar que no queda ningún daemon activo relacionado con PostgreSQL en /Library/LaunchDaemons, como, por ejemplo, com.edb.launchd.postgresql-8.4.plist

Problema al ejecutar el paso post instalación en Mac OS X

 DataBase, PostgreSQL  Comments Off on Problema al ejecutar el paso post instalación en Mac OS X
Dec 062013
 

Al ejecutar la instalación de PostgreSQL en un OS X Maverick (también en un OSX Lion) se produce, al final del proceso, un error que muestra la siguiente imagen

postgresql_install_error

El error se debe a que el instalador de Postgres busca en el proceso de instalación un usuario con el patrón “postgres”. Si lo localiza, lo utiliza. Encuentra el usuario predefinido _postgres, que no tiene los permisos que el instalador espera. Por ello, la solución consiste en desinstalar Postgres y seguidamente borrar el usuario mencionado. Finalmente borraremos la caché o rearrancaremos el sistema operativo. Al rearrancar procedemos a realizar de nuevo la instalación. En este caso, al no existir ningún usuario que case con el patrón “postgres”, el propio instalador crea uno.

Para borrar el usuario _postgres, ejecutaremos el siguiente comando

sudo dscl . -delete /Users/_postgres

Instalar Oracle 10g R2 en Mac OS X Intel

 DataBase, Oracle  Comments Off on Instalar Oracle 10g R2 en Mac OS X Intel
Aug 162011
 

A continuación se van a describir los pasos que se deben seguir para la instalación de Oracle 10g R2 en un Mac OS X Intel. Este post pretende complementar el manual de guía de Instalación de Oracle en Mac, con la identificación Part Number B25286-01.

En esta guía se indica que la instalación se debe hacer en Mac que  sea Server; sin embargo se puede realizar instalaciones en versiones  no-Server.
Continue reading »