how restore a database to a new machine in Stardog - stardog

I am trying to restore a database to a new machine in Stardog 2.1.3, but I get this error:
Guice provision errors:
1) Error injecting constructor, java.io.IOException: Unable to create directory /home/**user-on-old-machine**/stardog-2.1.3/TEST
at com.complexible.stardog.index.disk.ConcurrentDiskIndexLoader.<init>(ConcurrentDiskIndexLoader.java:33)
while locating com.complexible.stardog.index.IndexBulkLoader annotated with interface com.google.inject.assistedinject.Assisted
It cannot create the restored database directory in stardog home directory on the new machine, however, it can create new databases with $stardog-admin db create -n NEW-DB.
I also tried on Windows machine. Same problem but different error which I don't have access to right now.

Related

Setting up sbspace to hold send and receive queues in Informix

I am missing some steps to achieve Enterprise Replication with Informix regarding disk configuration:
How to set up sbpaces to hold send and receive queues
Create dbspace for transaction records
Define dbspace for syscdr database
I've created two different VMs; each one got CentOS7 Linux System. Then I've installed IDS Developer Edition. My installation is organized as /mnt/informix and in informix/ I have /product, /ids, /storage:
/mnt/informix/product is where am saving installation files.
/mnt/informix/ids is where am installing IDS.
/mnt/informix/storage is where rootdbs, env.ids have been created.
I was able to create instance on each machine and access the remote instance after providing some changes editing the onconfig file, sqlhosts file and hosts.equiv file on each machine. I've been able to create databases and tables on each machine and establish connection between both of them. But when it is time to configure disk for replication, I am not sure of what am doing. I've created new dbspaces and sbspaces by creating new files inside storage directory and changed owner to informix user and file access permissions to 660, then create dbspaces and sbspaces using the onspaces command and provided the required entries in the onconfig file, but I get the error:
command failed -- Sbspace specified for the send/receive queue does
not exist (107)

Jenkins schedule pdi spoon job failing due to database connection error

I have a jenkin scheduled job that calls Spoon ETL . On some days the job fails due to database connection error with SQL server as well as postgresql . I have tried running it by clearing cache as well as deleting database cache file. The error message is,
Error connecting to database: (using class net.sourceforge.jtds.jdbc.Driver)
It seems like the driver is out of date. Found a solution here: https://communities.bmc.com/docs/DOC-109113
In summary it says:
CAUSE:
Issue is with JDBC 3.0 driver for Microsoft SQL Server (http://jtds.sourceforge.net/). The platform upgrade replaced the current driver with an older driver.
SOLUTION:
1- Download most recent driver from here: https://sourceforge.net/projects/jtds/files/jtds/
2- Copy file to PATH\TO\data-integration\lib
3- Delete existing driver.
Note* DO NOT JUST RENAME IT. If you just rename it, it will work in Spoon but not when you launch the job in AI.

deploy to azure webApp virtual directory

I created an ASP.Net project (.net 4.7.1), it's basically the default temple project without any change at all!
I created a build to publish it to an Azure WebApp- result : works just fine.
then I cloned the build and this time I target a virtual directory (I built the virtual directory from the portal and ticked it as an application)
surprisingly, although it has published successfully ( I doubled check from console), but when I browse it , it doesn't work and I get te below error:
HTTP Error 502.5 - Process Failure Common causes of this issue: The
application process failed to start The application process started
but then stopped The application process started but failed to listen
on the configured port Troubleshooting steps: Check the system event
log for error messages Enable logging the application process' stdout
messages Attach a debugger to the application process and inspect
it doesn't make sense to me, so I tried with different project type and .net version but the result is the same!
I found a workaround if I deploy pure HTML file (without asp.net) in the root, then the virtual directories will start working.
it looks like it's related to the fact that web.config of the virtual directory inserts something from the config of the root.

Neo4j Windows Desktop v.1.0.6 install won't create new database, error: invalid central directory file header signature

I have downloaded and attempted to install the 1.0.6 version of the Neo4j Desktop (Graph Platform) under Windows 10. The silent installation happens quickly without any prompting about where to install or what to expect installation-wise. Upon installation the Neo4j Desktop icon is added to the Windows desktop and the Desktop automatically opens with the appearance that it is all ready to go.
I select the default MyProject and click the New Database panel. The Local/Remote dialog pops up, I select Local. I accept the default Database name, don't add an optional description and click the Create button at which time I a red error dialog pops up saying:
`Database failed to create: Error: invalid central directory file header signature: 0xef42a50`
I get this result whether I create a new project and then attempt to create a new database in that new project. I get the same result if I change default names of proposed new databases. I can't attach to a remote new database because Neo4j does not appear to be running at this point and I have been given no indication where the installation even put anything.
When I ferret out the installation, I find it has silently been put in the typically hidden user subdirectories of "../AppData/Local/Programs/neo4j-desktop" and "..AppData/Roaming/Neo4j Desktop".
In the Roaming neo4j subdirectory, I find the log.log file which contains the single line of warning [2017-11-28 16:42:30:0451] [warn] auth is not initialised yet.
Any insights/recommendations appreciated. I am a "retired" #CitizenScientist and around most of the time to answer additional questions or to try any recommended fixes.
BTW, I have been using Neo4j Community Edition on my Windows dev box for years, mostly the manually installed version that provides support for running as a Windows service.
Also, my issue seems similar to this installation failure cited here: neo4j windows desktop: Unrecoverable authentication error.

OLE DB provider for Teradata 15.10.04?

I'm setting up a brand new system and decided to install TTU 15.10.04 (my old machine had TTU 14). When I run my apps, I get this error:
The 'TDOLEDB' provider is not registered on the local machine.
I used to get this error on earlier versions, but all I had to do was make sure my app was running in 32-bit mode. After checking everything multiple times and not being able to isolate the problem, I searched for the OLE DB installation folder on my new machine, but have not been able to find it. So I checked my old machine and found that it was installed here:
C:\Program Files (x86)\Teradata\Client\14.00\OLE DB Provider for Teradata
I have no such equivalent folder on my new machine. The only thing I have is OLE DB Access Module, but I am sure that's not it. I have concluded that I do not have the OLE DB provider installed at all and cannot seem to find out where to get it. It's as if it has disappeared. Any help would be great
You can download the teradata oledb provider for ttu15 HERE
Hope this helps

Resources