Complete uninstall of Postgresql from Mac OSX problems [closed] - database

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Initially I wanted to uninstall PSQL from my system and switch to postgres app, version 9.2.
Followed this guide closely, but still have problems with postgresql being active on my system.
psql gives me
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?
When I got to
rm /usr/bin/psql
I get
override rwxr-xr-x root/wheel compressed for /usr/bin/psql?
Since this is out of my competencies, and I have no idea what it does, I am asking you guys.

The files in /usr/bin are a part of your operating system, and among the numerous suppliers of PostgreSQL installers or packages for Mac OS X, I think none of them ever suggests to delete /usr/bin/psql.
In fact there are quite a few more files that you would delete, should you want to wipe out the PostgreSQL client layer as shipped by Apple. And when you'll upgrade that system to 10.8.X+1 or whatever, the Apple installer may well put them back again with newer versions.
If you're in uncharted territory when playing admin with your operating system, it's better to just follow the procedure suggested on postgres.app, which boils down to changing your program's search path, so that their psql and other tools (pg_dump, pg_restore,...) come first.
Also, related answer: How to fix pg_dump version mismatch errors?

Related

is it possible to install mssql with all terminal tools in kali linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I have installed Kali Linux the previous year for learning purpose, but now I am in love with this Linux distro and vim, since I am a new user to linux, based on my knowledge I have tried all possible thing to install Microsoft SQL Server in Kali Linux, but I am unable to install, I have been https://packages.microsoft.com/config/ through this. I suppose Kali Linux is a debian(testing) based distro, so I tried to do it, but I am not seeing any improvement. Please, developer, help me with this
You can install Docker on it, right? Then just use the SQL Server Docker images.

Environment COBOL, C, DB2 on Ubuntu [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Corona sent me home and our company has strict rules and I don't have access to the network (IBM mainframe). I'm learning to program in COBOL, C, DB2 environment.
COBOL calls C, C works with DB2.
I'd like to continue working from home but I'm not an administrator.
Do you have any guidence, tips and tricks on how to set up an environment for this in Ubuntu?
So far I have a couple of editors, DB2 installation, gcc, gnu cobol...
Stuck on the embedded sql precompiler...
gnucobol and gnucc both work with Db2-LUW on ubuntu linux.
You can build and run gnucobol programs that use embedded-SQL.
You can build and run gcc programs that use embedded-SQL via the preprocessor that comes with Db2-LUW, or which use the Db2 call level interface.
Each of these products has its own set of documentation pages online.
You have to spend time studying their respective documentation.
Stackoverflow is more suitable for specific programming questions.
You will get better answers if you learn to ask better questions that:
show your code fragment as plain text (not an image).
detail the environment and versions and tools that you use
show the command(s) you run (as plain text)
show the error output (as plain text) and mention the expected result
IBM's Db2-LUW has many example programs and simple build scripts (including for linux) that show how embedded SQL (used from C) can be used.
This was explained to you in January 2020, in answer to your previous question on the same topic.

Can not connect through ssh to my remote machine [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Yesterday i restarted my remote computer only to find that i could no longer connect to it through ssh. I can connect to the computer if I'm using the computer, but when i try to on my other computer it does not work. I have tried reinstalling it but i have had no luck. Whenever i try to connect to it through a different computer, its "Connection timed out". I have also checked ssh status and it says it is running.
Also, I am kind of a beginner to this so if my terminology is off feel free to correct me.
I don't know what i should do. Any help and all help is appreciated!
Check if the firewall is blocking port 22.
maybe some changes have been made and got applied only when you restarted the machine.
Have a look at the output of
iptables -L | grep ssh
and see if there is any info

Puppet and NRPE [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Can I replace NRPE for Puppet, for managing? If the answer if affirmative, could somebody explain me which are the advantages between both of them?.
Thanks,
No
I think you are comparing two different things.
NRPE is an agent for remote monitoring.
Puppet is a configuration management framework, sort of like make(1) for entire Unix and Mac system configurations.
So, if what you want to do is install software and tweak configurations, Puppet is a good place to start.
While you can setup NRPE to basically allow arbitrary command execution, it's both risky because of NRPE's simple authentication and tedious as it's difficult to manage lots of hosts this way. Puppet is a tool for automating host configuration, which it is fabulous at. If you want to just run a few commands remotely look into mcollective, pssh, mussh, dsh, sshpt, fabric, pdsh, pussh, clusterit -- there are endless others. Even ganglia has a remote command execution framework. Tools similar to Puppet are Chef and CFengine.
DigitalRoss is correct. NRPE and Puppet are in two different spaces.

Best way to instantly mirror/sync files from Windows to Linux server [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have a directory on a Windows machine with a large number of files and folders that I need to watch and have the files mirrored/synced instantly (or as near to as possible), to a Linux machine over the local network.
I've investigated:
- Rsync, not realtime enough
- WinSCP 'Keep directories up to date' feature, which was OK but limited to 500 directories and the performance was pretty slow.
There are a bunch of results of shareware-style apps that claim to do this, but they are all pretty dubious looking. It seems there must be a good FOSS solution somewhere?
UPDATE: I'd be happy with a one-way transfer rather than a full sync, as long as it's instant and automatic.
I second eneset's proposal of the Unison software. Also if you care of looking for some alternatives Lifehacker has an interesting article on this subject http://lifehacker.com/372175/free-ways-to-synchronize-folders-between-computers
titel
It seems that what you want is to actually deal with the files on the linux server as if they were local files on your computer.
Did you consider looking for a tool to mount a remote ssh folder as a local drive?
Have a look at Unison (http://www.cis.upenn.edu/~bcpierce/unison/). I successfully used it for Linux/Windows home directory mirroring.
Have you considered using Samba? It will let you mount windows shares under linux as well as accessing linux directorys from windows if you set them up as shares.

Resources