Apache not working on DigitalOcean droplet transfer - mysql

I’ve recently created a DigitalOcean droplet from a transferred snapshot.
I thought that recreating a droplet would have kept the original stack LAMP so that it would have worked out of the box.
MySQL seems to be working after re-installation, but I am getting an error message from APACHE.
I’ve tried to reinstall Apache, unfortunately it didn’t resolve the issue.
This is the error message I am getting:
Note: The original datacenter was located in New York, but I enabled and created the new droplet in Toronto.
Edit to include the Apache error Log:
[18-Jan-2022 18:09:01 America/New_York] PHP Warning: PHP Startup:
Unable to load dynamic library 'grpc.so' (tried: /usr/lib/php/20170718/grpc.so (/usr/lib/php/20170718/grpc.so: cannot open shared object file: No such file or directory ),
/usr/lib/php/20170718/grpc.so.so
(/usr/lib/php/20170718/grpc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Anyone ever ran into this issue? Any suggestions on how to resolve this problem?
Any good documentation on a DigitalOcean droplet transfer would be appreciated.

Related

MySQL Workbench Failing to Connect to Server (Windows)

There are many errors I have found across the web that deal with MySQL connection errors, but I have found none that address this specific problem that I am having. In short, I have the newest version of the MySQL Server installed (8.0), I have verified it is running in my Services tab, and I can connect to the server via the MySQL client just fine. However, I cannot open a local connection in Workbench.
When I click on the local instance, it hangs until I manually stop it. I then get the aforementioned error
I then went and ran a diagnostic of the server in the MySQL Installer, which reported that everything is working fine (unless I am reading it wrong)
The logs of said diagnostic also report that the server is installed, functional, and running.
I then checked made sure the server was running in Services
After that, I verified that I could connect to the client, and that I could use the database I was working with (info redacted due to it being company property lol)
Additionally, I also made a new connection on Workbench on port 3307 instead of the standard 3306.
When I click on this, I can enter into the connection without getting the "Cannot access a disposed object" error. However, this connection still cannot connect to the server.
I also saw that some people were having success by navigating into C:\Program Files\MySQL\MySQL Server 8.0\bin and running mysqld --install. This appeared to be beneficial, but ended up doing nothing.
Does anyone know how I can fix this without completely uninstalling everything? Everything was working fine yesterday but has suddenly stopped as of this morning.

How to solve OctoberCMS database missing?

I ve just recently discovered OctoberCMS. Everything works perfectly on my localhost server. Once i deploy to production server i get the following error:
"Database missing
A database is required to access the back-end. Check the database is configured and migrated before trying again."
I have tried installing from cPanel and have also tried ftp and making sure the .env reflects my production database details, but still getting same error.
Can anyone here plz help? Thanks a lot in advance.
You should check all database accesses in config/database.php file. If the access is correct, try reading the configuration cache with php artisan config:clear.
If this does not help, and the error does not change, it is worth checking the availability of the library responsible for connecting to the base in your php.ini file. In my case, the problem was exactly there (the library was closed)
I had that error after fresh install...After restarting the php server, the error was gone

MySql 8.0.15 install failure Invalid Server Template

This is my first MySql install from the ground up.
I am using Windows Server 2016, trying to install MySql 8.0.15. I am doing this to try and use it with php 7.3.1.
The install has all the listed prerequisites.
When I get the config section of mysql insstaller, it breaks on the first response with an error of "Beginning configuration step: Writing configuration file
Invalid server template
Ended configuration step: Writing configuration file"
The system event log has one error, "The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
{8D8F4F83-3594-4F07-8369-FC3C3CAE4919}
and APPID
{F72671A9-012C-4725-9D2F-2A4D32D65169}
to the user NT AUTHORITY\SYSTEM SID (S-1-5-18) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool."
But I'm not sure this is even the right troubleshooting path to start down.
Can you assist with some guidance?
I had the same problem with the
mysql-installer-web-community.
The mysql-installer-community was working without a problem.
The bottom link is the none web installer which was working.
For me initially when I was not accepting the initial update mysql pop-up then installer was not working, but once I accepted it. Then it successfully worked for me.
I have been able to install after getting the same error.
I have changed the credentials for the sql root.
By default, host is set to something like %ALL_HOST%. I changed to localhost.
I ended up uninstalling all mysql 8 components that had already installed.
Then went back and got the mysql installer 5.7.25.0. I think I had some trouble after that, but it wasn't the same error. I finally ended up installing mysql 8.0.15 by itself and it worked. Then I went back and did the connectors. Next the workbench. Finally docs and samples. Doing them one at a time seemed to go better. I am now up and running.
Here's what I did to fix the issue
completely removed mySQL Server and Workbench installations.
uninstalled the mySQL web installer. Restarted my computer.
ran the mySQL web installer again (only installing mySQL Server)
downloaded the mySQL Workbench installer to install Workbench separately

Cannot connect to MySQL on server - #1130

There have been a number of questions on this topic on Stackoverflow but not exactly my situation.
I have a MySQL server installed on my PC, which was working fine. We used to have a peer-to-peer network in the office. My PC was just named "MY-PC". Some change occurred to the network and my PC is now connected to a "proper" network, and the name of the PC has changed to "MY-PC.mycompanywebsite.co.uk".
Now every time I try to connect to MySQL it gives me the error:
#1130 - Host 'My-PC.mycompanywebsite.co.uk' is not allowed to connect to this MySQL server
I can't log in using the command line tool or anything. Is there a config file setting I need to change to get this working?
By the way, this is a version of MySQL which came in an installation of WAMPServer, so I did not configure it myself.

Error displaying the error page: Application Instantiation Error... Prob with database i thnik( details: wamp,joomla)

Problem
My problem started suddenly while I was working on my project.
Next day I tried to prepare some details on my site,and when I tried to open the server I had a problem with the database and my problem was like this...
After several days of search on web, I found a second database which I deleted it and after that the server works fine, but my project not...
I dont have access to back-end or front-end and displays this:
"Error displaying the error page: Application Instantiation Error".
Database
I know somethings going wrong with database i checked wamp mysql log which has a warning
:
[Warning] InnoDB: Cannot open table database1/culiz_session from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
I checked this link and I couldnt find what option works for me.
Conclusion
Any advice how can I work again on my project because I was almost done with the page and I cant start again from the scratch...
Details:
Windows 7
Joomla 3.1.5
WAMPSERVER (32 BITS & PHP 5.4) 2.4
Apache : 2.4.4
MySQL : 5.6.12
PHP : 5.4.16
PHPMyAdmin : 4.0.4
SqlBuddy : 1.3.3
XDebug : 2.2.3
Error displaying the error page should be a tip that there is no server available. Application Instantiation is the startup of the application failing - either because of the Apache server configuration, or because on or more of the the other server components isn't working or present ie. PHP or MySQL.
Suggest you make sure the WAMP server is running all the required services and is configured properly.