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
Trying to install PGSQL on Windows Server 2008 SP2 (not R2) x86_32.
Got errors like "Problem running post-install step. Installation may not complete correctly. Failed to start the database server" and something like that.
And also installation doesn't fill data directory - it empty.
I tried start PGSQL manually via pg_ctl(register and start) and initdb, but nothing works.
Reinstalled many times with removing postgres user via Computer Management and his folder. Again, no result.
Guys, maybe you have good manuals or experience about deploying PGSQL on Server 2008?
Anyone else running issues should read Common installation errors, Troubleshooting Installation and the Guide to reporting problems.
This known issue with some Windows systems is documented there, and advice on how to report issues with enough info to get an answer (including installer logs, etc) is also provided.
I've got solution.
http://forums.enterprisedb.com/posts/list/2448.page
Just register vbscript.dll and associate VBS files with scripting engine.
Related
Closed. This question is not about programming or software development. 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 yesterday.
Improve this question
So, I did some work on my Mac with PostgreSQL about 6-7 years ago. I am trying to get back into it and am following along with a tutorial. There are two issues that I have ran into regarding my pre existing configurations.
I do not know the password I used when I originally set up PostgreSQL and the postgres user on my machine.
I installed the latest version of PostgreSQL (15) from postgresapp.com but am getting the following error message:
PostgreSQL version error
I tried steps I found on another stackoverflow question for uninstalling as well as running the following commands commands I used but this has not fixed the issue as when I install the latest version I get the same error mentioned in #2 above and the psql command still prompts me to enter a password that I do not remember.
Could someone help with providing the necessary steps to start "fresh" with PostgreSQL on mac or point me to an online resource that explains it? Everything I have found so far has not worked.
If you don't need any of the previous settings or data and you're happy to delete them, you can try deleting the entire directory that was established the first time you installed Postgres.app.
Can you open Postgres.app and look at your server settings, as in the screenshot below?
If so, that will tell you where your settings and data are being stored, For me, it's in my home directory's Application Support folder.
As long as you're 100% certain that you don't need any of your previous data and settings, you should be able to delete the entire Postgres folder. Note: this will also delete any data/settings from the current version of postgres, but it doesn't sound like that will be a problem for you.
PS: I can see two weird red squares at the bottom of my screenshot which seems like something somewhere is not correctly handling the transparent parts of the PNG.
Regarding your postgres user password, you can follow advice from this Stack Overflow question to change it. It's pretty much the same steps, but with changing the postgreSQL configuration directory path on your machine. The key to solve your problem is to login on your system as a super user or root or whatever it is. and make sure it's allowed {in your postgreSQL server configuration } to connect and login via unix socket without requiring the password.
Regarding your version issue: install both version of PostgreSQL on your machine (the old one and the v15) then follow along with the official docs to migrate your database to work on latest versions. Another approach is to use pg_dump commands which you can search for its usage and manual online on the internet.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I'm working on WPF application based with Local database. My Question is how can I convert it into such application which would run on all PC (Windows OS. I tried to transfer whole project folder into another PC and tried to run exe (debug/bin/application.exe) but it did't work.
I'm working on Visual Studio 2013 with .Net Framework 4.5..
Thank You
In my experience, deployment engineering is two phases:
1) Dependency Analysis: What does my application need? .NET? Java? SQL Server? IIS? Files\Folder copied? Configuration setting. Shortcut?
2) How to implement/develop automation to achieve those things.
You say you copy the files over and it wont' work? That means you need to spend more time on dependency analysis.
For #2, I would start here.
https://github.com/iswix-llc/iswix-tutorials
IsWiX is an open source project that I maintain that makes it a lot easier to get up to speed on Windows Installer XML.
A WPF application made with .NET implies that it needs a .NET framework to be installed on the target machine. You will not be able to write your own WPF / C# installer application that is able to work on PCs without it.
You could try one of the many third party installers found on the web (e.g. http://dblock.github.io/dotnetinstaller/) or use the VS installer functionality (see Build an installer). I am not sure about the latter, never used it.
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 3 years ago.
Improve this question
We are using windows XP SP3 version "PosReady" which is still supported by MS.
We have several old computers running on this OS.
Recently we have problem with any software using msvcrt.dll.
Constantly this message popup shows:
"the procedure entry point sprintf_s could not be located in DLL msvcrt.dll".
Tried removing and reinstalling all MS visual C++ run times but it did not help.
Any help is appreciated.
Thanks,
There was an express update pushed through Windows Update yesterday (FEB-16), that solves the issue and is listed in my installed updates as:
Security Update for Windows XP (KB4487085-v2)
So it seems the issue was in the first version of that update.
Microsoft in 4487085 states:
This update was rereleased February 15, 2019 to address a known issue that occurred when you installed the original February 12, 2019 version of the update.
and
After you install the originally released version of this security update (from February 12, 2019), applications that use the msvcrt.dll dynamic link library (DLL) do not load properly.
Uninstall the Windows XP updates that were pushed out February 12.
Windows update, via the "shield" in task bar, notified me that there were updates. I installed them and after reboot had the issue described here. So, pretty obvious what the problem was. I used "Add/Remove Programs" to uninstall the nine or so updates that were showing for that date.
Most of the updates affected .NET libraries and I think that's where the problem is. The newest MSVCRT.DLL on my system is from 2012, even when the updates were still installed, so messing with them won't help.
Ideally, MS will fix this, but if not, we're almost out of support anyway. Don't forget to disable automatic updates or the problem will come back.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
I need to install Chef, but it must use not PostgreSQL that come with the package, I want to use MongoDB.
So i have several questions:
How I understood it, Postgres is installed when I perform $ sudo chef-server-ctl reconfigure.
How do I exclude installing on Postgres from chef server without breaking the install off other needed components? Or I just install, run reconfigure and than redirect Chef Server to use MongoDB, if so, how can I get chef starting to use mongoDB?
It was only a little more than a year ago Opscode decided to move from CouchDB to PostgreSQL. CouchDB shared many similarities with MongoDB. Even if there's a particular compelling reason you'd like Chef server to run on MongoDB, I don't think the current framework would support it. Read more here http://www.getchef.com/blog/2013/02/15/the-making-of-erchef-the-chef-11-server/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
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.
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.
Improve this question
I have followed every step as given here. I installed all the servers and libraries but when I set the PostgreSQL server it hangs stating the follows on the terminal
LOG: database system was shut down at 2014-01-22 01:53:52 UTC
LOG: database system is ready to accept connections
LOG: autovacuum launcher started
What to do?
I assume you're referring to these lines:
Finally, start up the server.
$ sudo -u postgres postgres -D /usr/local/pgsql/data
If so, that starts the PostgreSQL server in blocking mode. It is running. It won't exit until told to, and that terminal won't return. It sounds like you'd prefer it to exit and keep running in the background, in which case you should use pg_ctl to start the server instead.
The bigger problem is that those instructions are pretty stupid. You shouldn't be initdb'ing a new cluster and starting a new server; you almost certainly have one installed and running. It's hard to say, since you didn't say how you installed PostgreSQL, what OS you're on, what PostgreSQL version you have, etc.
In general, though, you should be connecting to your existing PostgreSQL install. Use that, don't initdb a new one. That's why the guide you were reading says:
This section may be unnecessary on your system. Check if your installation of postgres created a default database and start scripts for you.
Since you're using a stock Ubuntu install, please start by reading the Ubuntu introduction to PostgreSQL.
Then follow the setup guide starting at "create the database".