PostgreSQL mac base permissions error - macos

I'm having an issue of running off a postgresql database backup that I brought over from a failed Mac. The database was running just fine on the last few days of the previous Mac, but since I've transferred it over, configured the settings, and installations to match the old server. I keep getting a permissions error when booting up the PostgreSQL service. Does anyone have an idea as to what is causing this? The error is below.
Could not access directory "base/12181": Permission Denied.
I've gone through, and even downloaded the same version, binaries, and matched everything that I could. To which I still can't figure out what is causing this. All applications have full permissions to access the necessary folders, and I'm at a loss at this point. Any tips on what to look for, or do would be most helpful.
Thanks!

Related

Unable to get Mysql 8.0.22 to dump databases using any version of MySql Workbench on MacOs

I have a massive (200 million record) database stored in MySql 8.0.022. I have tried to get MySql Workbench to dump the database to an external SSD, but I keep getting the message "Could not get mysqldump version".
I have scoured all the threads for almost a week, tried all the proposed solutions that have been proposed, and it just will not work.
For some inexplicable reason, every version of Workbench that I install simply fails to connect to the mysqldump executable that is stored in /usr/local/mysql-8.0.22-macos10.15-x86_64/bin.
My data is currently trapped on my MacBook, and I need to make a backup so I can get it onto and AWS server but I am totally stumped. I'm completely self taught, and find MySql incredibly dense and hard to understand, so can anyone please help me out? Thanks. Ian
MySql Workbench does a pretty good job of logging when there is an issue. You should be able to find out what your specific issue is by reviewing the workbench log file.
OS
Location
Windows
%AppData%\MySQL\Workbench\log\wb.log
macOS
~username/Library/Application Support/MySQL/Workbench/log/wb.log
Linux
~username/.mysql/workbench/log/wb.log
You can also locate your log files (all of them) by going to the Workbench menu:
Help → Locate Log Files
You will likely see an error at the bottom of the file indicating the problem. For example:
17:07:07 [ERR][wb_admin_export.py:get_mysqldump_version:126]: Could not parse version number from mysqldump.exe:
file not found

PhpStorm crashing whilst indexing Laravel

I am running a 5 or 6-year-old Dell laptop the Inspiron 3521 with Ubuntu 14.04 - yes I know it's old.
I have been using PhpStorm on small projects with no issues. However I am just getting into Laravel and have initially it up on a virtual machine with Laravel Homestead. All good so far: I can view the base Laravel website on my host machine.
Now I think to myself lets create a project using the synced Laravel directory on my host machine as the base. This is where I run into trouble. Crash Crash Crash. I thought at first the issue was that I had opened PhpStorm as a user with insufficient permissions for the directory and the files. So I deleted the .Phpstorm config and system files. No joy.
Could it be a memory issue I asked myself being an older machine - I had not had this problem previously when using PhpStorm. So I enabled some Swap memory.
I am at this point baffled and will think about using Sublime or some other IDE.
Anyone out there have a similar experience. Am I going about something in the wrong way looking to create a project with the synced directory, is there a more clever way of going about this?
Here is the Java error log hope it makes sense to someone :)

The Go Server service on Local Computer started and then stopped

I am trying to install GoCD Server 19.1.0 64 bit on my Windows 10 64 bit machine. Installation went through without any issue, however, I am getting the following error on starting Go Server service.
I tried to run service under Local System Account as well as specific admin account but not luck so far.
I also tried setting NoInteractiveServices registry from 1 to 0 (at \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows) but still getting the same error.
Please let me know if any of you have faced this error and know the solution.
Services
The Go Server service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.
OK
Thanks in advance,
ND
You should look at GoCD's Log files to find out what happened, and why GoCD stopped.
Thanks #moritz for the info. I did not find any files under logs folder as it was failing with Access Denied error while writing to logs files. Not sure what was the reason behind that but this is how I fixed it.
I re installed the Go Server, this time I have selected C:\Program Files (instead of default C:\Program Files (x86)) and selected Open Java instead of providing path of JRE installed locally.
This worked in my case, however, feel free to let me know if you see any problem in this approach.
ND

Vps Can't Login

when I was in / root / I made a mistake until a bash error occurred by finding more or less "bash error / bin / bash not file or directory" then many functions did not work. I then log out and when I access the vps again with ssh suddenly I can't log in with the password statement incorrectly. I tried to access via the console provided by the service provider. but when logging in, the word "login blablabla shell" appears. I can't do anything after that. how to fix it?
I want to try rebooting the vps but worry when booting error and causing stuck
This is more a question for 'Superuser', but if you are in trouble like this, such a referral is generally not helpful, and therefore this answer, which will not make you happy.
In general, what you have reduced to 'blablabla' is the important part of the error message.So we cannot deduce what happened from the error message. That means that no-one can get a login-shell. Even worse: most systems use bash-scripts during their start-up phase. So the system will not start-up anymore.
Worse even: you seem to have deleted much of the contents of /bin and /usr/bin. That makes it difficult to recover anything. So now your server is effectively unusable.
There are now a but few options:
1) Re-install the server. Because it is lost and you cannot access it anymore.
2) try to recover data. This depends a bit on your server provider. If you are able to boot off an ISO image, you may try a live-CD and scp the data to a working system before you reinstall the system. You may need console access for this, again depending on your provider's set-up
3) Try to re-animate the dead server using a recovery ISO image.
This is not for the faint of heart. It requires a lot of knowledge.
In any case: if you succeed to reanimate the server, you will not want to run production on it, unless it is absolutely critical. Although it might look stable-ish, you will encounter problems. So unless the one of the four horsemen prevents you, reinstall the server.

SmartCVS Already Running Error

I have a Mac with Yosemite on it. Upon downloading SmartCVS 7.1.9 from https://www.syntevo.com/smartcvs/ , I try to run the application and receive an error that states "SmartCVS seems to already be running. Instead of running separate instances you can open multiple project windows in SmartCVS. If you are sure that no SmartCVS instance is running any more you should delete the lock file $FILE_PATH$/_lock_".
I've tried to delete the _lock_ file multiple times and that doesn't help (the lock file is empty. The application hasn't ever successfully run. Rebooting doesn't help. Deleting it from the computer and downloading it again doesn't help. Downloading previous versions has yielded the same error (7.1.3). I've tried running it from the terminal to get the crash log, but it doesn't make much sense.
In case it helps, upon downloading the first time I had a pop up stating that SmartCVS was by an unidentified publisher and couldn't open. I got around this problem found here: http://www.imore.com/how-open-apps-unidentified-developer-os-x-mountain-lion
I know that the program can work on my Mac OS since my boss has it running on her computer. Though, strangely, she did not have to deal with either of the two problems I've had to deal with.
Thanks
so at the time I posted this I also reached out to a SmartCVS community support group. They were able to solve the problem as follows:
My computer is part of a Network. As such, the files are technically stored locally since my User Home is on the Network. SmartCVS can't interact with the lock file since it's not on the local machine. Therefore in the file at "~/Library/Preferences/SmartCVS/7.1/smartcvs.properties", I needed to append the following line to the end of the file:
smartcvs.applock=false

Resources