Issue with slony-I replication on postgres master and slave database - windows

I have two system with OS windows 8 and windows XP. I installed the postgres plus advance server for database replication on both system. I followed this link for whole process.
But there is one issue with me to run the script written in .sk file extension. I have searched on google and stackoverflow but I didnot get any proper solution.
Can any one help me out to resolve this issue. If there is any query, frankly ask.
note:- this question may be duplicate on stackoverflow or any other.
Both are using on LAN and XP has domain admin account and windows 8 has local system admin account.

Typically the .sk files are scripts which are run through slonik. So something like
slonik myscript.sk
This being said, Slony-I is a very complex replication system and you are usually better off to look at streaming replication if your environment allows.

Related

Installing Oracle Database (Real Application Cluster) on Windows 10. Confused about Oracle Grid Infrastructure and X Windows requirements

I'm learning Oracle & SQL and I'm doing a project. I'd like it if someone could check the conclusion I've come to as a result of my research and tell me if I'm doing this right.
TL;DR question: i'm using Windows 10 and i want to build a (small) database on someone else's computer that I can access remotely. Do i need to install Linux in order to do this?
My goal: to set up a database on a computer that multiple people (like 3 max including me) can access. I would access it from a different computer that it's installed on.
My reading of the Oracle documentation has lead me to think that I need to do the following steps:
DL Oracle using the Real Application Cluster installation rather than the single instance installation. This is because I want to be able to access the database remotely and possibly use it while another user is using it.
To click that setting, I need to install the Oracle Grid Infrastructure. In order to do that I need to configure the user's environment (source: https://docs.oracle.com/cd/E18248_01/doc/install.112/e16763/pre_install.htm#BABIBGFA) and in order to do that i need X Windows. To use X Windows on my Windows 10 system i need to install X Server.
Am i understanding this right? Why can't Oracle run on Windows?
Uh, I'm certainly not a DBA (perhaps you'd rather ask this question on SE for DBA), but - I think you overcomplicated it.
In my opinion, you don't need anything of what you mentioned. Not a single thing. No RAC / Grid Infrastructure / Linux / X Server. That's just a HUGE overkill.
Any Oracle database would do, even Express Edition (XE) which has the smallest footprint and would serve your needs. Documentation describes how to share your database with other people on the network, but - this short walkthrough will give you idea of what you should be paying attention to.

SCCM uninstalled on clients in organization

In my organization a project has begun to install SCCM on every computer. My job is to filter out computers which do not have SCCM installed on them (that part is done), find out why and try to install.
Unfortunately, I’m inexperienced with SCCM logs and find it hard to locate the problems (if there are any) and there is a huge number of devices I have to check all by myself and accessing each computer’s C$ will take years.
The OS of the problematic computers are Windows 10/7/XP/Server 2016.
Can anyone help me with these issues please?
Thanks in advance
The client install logs on the local machine are here C:\Windows\ccmsetup\Logs. You could script something to pull the logs and dump on a network share.
You can pull the CMTrace.exe from the server install directory to read the logs.
They are most likely failing for the same reason, I would start with looking at the firewall and make sure WinRM is enabled.
There are 3 methods to installing the agent GPO, Login Script, or from the console.

VM & MS access - ExportWithFormatting PDF not working while in background

I have a problem that i have a difficult time explaining, which makes any online search very hard. Here is my dilema.
I'm migrating a VM. The purpose of this machine is to compile send out daily/weekly/monthly reports. I know there are other ways (like Power BI) but this is the situation we are in right now. The older machine has win10 pro and office 365 installed while the new has win10 enterprise version and office 2016 installed. This machine runs 24/7 in the background running specific tasks (via system scheduler app) at given times, that is it's a Virtual machine and has done so without issues since it was created. The reason for the migration is because we need to domain change and bring the machine under a new corporate policy and we don't want to do this on a live server.
We've set it the VM's the same way, same programs and same settings. Everything seams to be running smooth expect for this one thing, and here is the problem i have a hard time to explain or figure out:
MS Access will update the tables and the computer will run the tasks as set but it will not export the data to pdf unless i have a remote desktop connection open. Will not export the pdf's otherwise. MS Access uses a autoexec macro where the pdf export is set with ExportWithFormatting. This works without issues on the old server.
We thought this to be a permission or user specific issue at first but even re-creating the tasks did not work and changing paths. Otherwise also i expect we would have problems with tables updating, specially since it works when you have an active remote desktop conn running.
I'm lost and therefore hoping this community will be able to help or guide me to a solution.
I believe that we found the reason for this. It was caused by windows easy print and the printer drivers of the machine. It worked for some reason differently between the servers. after reinstalling the printer drivers and a few restarts it started working. It exports now from access again.
This is at least solved.

WebCenter Installation

Typically, how long should it take to install the Oracle WebCenter Suit?
We have a team of 3 developers trying to install WCS, however, it seems to be taking a little too long.
It really hard to say without any environment info like db version, cluster, network, load balancing etc...
Normally, for a local development installation, with correct database and os version, and a little bit luck, bringing up a standalone webcenter stack should be around 1-3 days.
If your developers are really stuck with the installation. I would suggest to get a Oracle pre-built VM for a good start without holding the enviroment
http://www.oracle.com/technetwork/community/developer-vm/index.html#wcp
Oracle WebCenter Portal VM
It really depends, but assuming a local, non clustered content install, you should be able to knock it out in a few hours.
Some factors that can extend the process:
web tier installation
slow x11 over VPN
clustered
networking issues
not doing a proper pre-install checklist (e.g., not having credentials ready)
I've seen it take as long as a week for a non-expert to install.
Update if you have any specific questions.
-ryan

Cross-platform File sync tool

I am developing a webapp that will be used on LAN mostly. I have different locations where I deployed this app. Some of the locations run windows and some run linux (no x-window system). I need to know if there is a software out there that could easily synchronize my files stored somehere in the cloud (the clouding service can be provided by the app developers or to use different clouds) on both linux and windows machines. My english is a bit rusty so i'm going to explain this in simple words.
I will work on my local machine. I want to upload the files somewhere on the cloud and the clients installed on the LAN servers should synchronize the files. The client must be available for linux under console (as a daemon if possible) while on windows it can be something like dropbox or ubuntu one.
Does somebody know of such an app?
Dropbox is available for Linux.
You could also investigate unison.
I think "Git" is the best solution to develop your project in different machine.
You can sync your code with easy command through this app, and it will record all the version of your code.
Just google "Git tutorial", and you will find many useful introductions.
I think there is a great tool called Syncthing should be considered after 8 years.
https://syncthing.net/
Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers and replaces proprietary sync and cloud services with something open, trustworthy and decentralized. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it's transmitted over the internet.
Check the list of Syncthing's goals for more details.

Resources