And you can use it to pay the rent of your websites.
And you can use it to pay the rent of your websites.
I am trying to connect an existing Drupal 8 site to a database managed by DigitalOcean.
The connection information I received from DigitalOcean:
username = digitaloceanadmin password = password host = nameofmydbcluster.db.ondigitalocean.com port = 25060 sslmode = REQUIRED
I have made the settings to settings.php:
$databases('default')('default') = array ( 'database' => 'dbname', 'username' => '...', 'password' => '...', 'prefix' => '', 'host' => 'dbclustername.db.ondigitalocean.com', 'port' => '25060', 'namespace' => 'Drupal\Core\Database\Driver\mysql', 'driver' => 'mysql', );
However, I receive the following error:
PDOException: SQLSTATE(HY000) (2054) The server requested authentication method unknown to the client in ...
More mistakes when I
In Connection.php line 416: SQLSTATE(HY000) (2054) The server requested authentication method unknown to the client In Connection.php line 416: PDO::__construct(): The server requested authentication method unknown to the client (caching_sha2_password)
I am running Drupal 8.8.1 with php7.2. The remote DB version is MySQL 8.
Any help would be highly appreciated.
I recently requested a change in my root password that was successful and I can use it in the console. However, my IP address stopped working. Both visiting my domain and SSH are responding with an exhausted connection error.
It worked fine until I changed my root password and the server rebooted.
I checked the error log using this command:
tail -50 /var/log/apache2/error.log
And this is what I got:
(Mon Jan 20 00:47:06.157921 2020) (mpm_prefork:notice) (pid 994) AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations (Mon Jan 20 00:47:06.157921 2020) (core:notice) (pid 994) AH00094: Command line: '/usr/sbin/apache2' (Mon Jan 20 00:47:06.157921 2020) (mpm_prefork:notice) (pid 981) AH00169: caught SIGTERM, shutting down (Mon Jan 20 00:47:06.157921 2020) (mpm_prefork:notice) (pid 970) AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations (Mon Jan 20 00:47:06.157921 2020 (core:notice) (pid 970) AH00094: Command line: '/usr/sbin/apache2' (Mon Jan 20 00:47:06.157921 2020) (mpm_prefork:notice) (pid 903) AH00169: caught SIGTERM, shutting down (Mon Jan 20 00:47:06.157921 2020) (mpm_prefork:notice) (pid 903) AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations (Mon Jan 20 00:47:06.157921 2020) (core:notice) (pid 994) AH00094: Command line: '/usr/sbin/apache2' (Mon Jan 20 00:47:06.157921 2020) (mpm_prefork:notice) (pid 994) AH00169: caught SIGTERM, shutting down (Mon Jan 20 00:47:06.157921 2020) (mpm_prefork:notice) (pid 970) AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations (Mon Jan 20 00:47:06.157921 2020) (core:notice) (pid 990) AH00094: Command line: '/usr/sbin/apache2'
SIGTERM, shutting down? I think Apache is blocking and the service restarts automatically.
At first I thought it was as a result of low memory usage, then I checked with this command
Here are the results. My ram is enough:
total used free shared buff/cache available Mem: 1.9G 259M 1.4G 612K 258M 1.6G Swap: 0B 0B 0B
The firewall is inactive, so nothing blocks port 80
sudo ufw status Status: Inactive
I also execute this command to see what is being heard
sudo lsof -iTCP -sTCP:LISTEN -P COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME sshd 812 root 3u IPv4 18468 0t0 TCP localhost:53 (LISTEN) sshd 812 root 4u IPv6 18468 0t0 TCP *:22 (LISTEN) mysqld 899 mysql 29u IPv4 19368 0t0 TCP localhost:3306 (LISTEN) master 1089 root 13u IPv4 19478 0t0 TCP *:25 (LISTEN) master 1089 root 14u IPv6 19479 0t0 TCP *:25 (LISTEN)
Could it be my Apache configuration?
this is what is heard in me
grep "Listen" /etc/apache2/*.conf etc/apache2/ports.conf: Listen 0.0.0.0 etc/apache2/ports.conf: Listen 433 etc/apache2/ports.conf: Listen 433
I can't even restart Apache, it doesn't let me
service apache2 restart Job for apache2.service failed because the control proccess exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
When executing that command I got this:
apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset Drop-In: /lib/systemd/system/apache2.service.d apache-system.conf Active: failed (Result: exit-code) since Mon 2020-01-20 12:16:35 UTC; 4min 9s Process: 1616 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE
This is normal? Please help
I have taken these steps (collected from numerous posts in this forum and others) to install and configure SendMail on my DigitalOcean droplet, running Ubuntu 18.04.3 (LTS) x64, but I couldn't make it work.
1. sendmail installed:
sudo apt-get install sendmail
2. changed the host name:
# sudo hostnamectl set-hostname coffee # sudo nano /etc/hostname coffee # hostname coffee
3. Modified the hosts file:
# sudo nano /etc/hosts 127.0.0.1 localhost.localdomain localhost 127.0.1.1 coffee.barismo.com coffee ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts
4. Modified the local host names file:
# sudo nano /etc/mail/local-host-names localhost coffee
5. Created a generic table:
sudo nano /etc/mail/genericstable www-data firstname.lastname@example.org root email@example.com
6. created a generic domain file:
sudo nano /etc/mail/generics-domains barismo.com
7. added the following to sendmail.mc:
sudo nano /etc/mail/sendmail.mc FEATURE(`genericstable',`hash -o /etc/mail/genericstable.db')dnl GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
8. and finally reconfigured sendmail and restarted the services and the server:
sudo sendmailconfig sudo systemctl restart sendmail sudo service apache2 restart sudo systemctl restart apache2
After all this, it still doesn't work.
When I tried to send a test email:
# echo "Subject: test" | /usr/lib/sendmail -v firstname.lastname@example.org
I get this error in Electronic record:
Jan 19 08:13:07 barismo sm-mta(25919): 00J837P9025919: to=
, ctladdr= (0/0), delay=00:10:00, xdelay=00:10:00, mailer=esmtp, pri=30295, relay=alt4.gmail-smtp-in.l.google.com. (18.104.22.168), dsn=4.0.0, stat=Deferred: Connection timed out with alt4.gmail-smtp-in.l.google.com.
And when I tried to send myself an email in my PHP script, I received this error:
Jan 19 08:10:43 barismo sm-mta(26115): 00J81emc025911: to=
, ctladdr= (33/33), delay=00:09:03, xdelay=00:04:22, mailer=esmtp, pri=210494, relay=shared18.accountservergroup.com. (22.214.171.124), dsn=4.0.0, stat=Deferred: Connection timed out with shared18.accountservergroup.com.
If relevant, it should be noted that the DNS of my domain is hosted on Site5 and I have modified only the registry & # 39; A & # 39; to point to my Digital Ocean droplet, while keeping records & # 39; MX & # 39; with Site5 to handle emails.
I can still send and receive emails from my Site5 mailbox and the domain name itself (barismo.com and www.barismo.com) It solves correctly in my Digital Ocean drop without problem.
Any address will be greatly appreciated. Thank you.
I am running bitcoind on a drop of DigitalOcean with public IP address, p.
I would like to connect to it through RPC from another drop of DigitalOcean with public IP address, p.
Both Droplets run Ubuntu Linux 18.04.
datadir=/mnt/vol1 disablewallet=1 rpcbind=126.96.36.199 rpcuser=x rpcpassword=x rpcallowip=188.8.131.52/32 server=1
netstat -ln | grep 8332 in
tcp 0 0 127.0.0.1:8332 0.0.0.0:* LISTEN tcp6 0 0 ::1:8332 :::* LISTEN
RPC commands in
./bitcoin-cli -rpcuser=x -rpcpassword=x -rpcconnect=localhost -rpcport=8332 getnetworkinfo return normally.
However, in the machine
184.108.40.206when I run
./bitcoin-cli -rpcuser=x -rpcpassword=x -rpcconnect=220.127.116.11 -rpcport=8332 getnetworkinfo I get:
error: Could not connect to the server 18.104.22.168:8332 Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
22.214.171.124 You have firewall rules in DigitalOcean as follows:
Type Protocol Port Range Sources SSH TCP 22 126.96.36.199/32 Custom TCP 8332 188.8.131.52/32
Note that SSH in
184.108.40.206 it is working well
sudo iptables -L in
Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination
Is there something obviously wrong with my configuration or configuration?
curl -v 220.127.116.11:8332 in 18.104.22.168 return immediately with:
* Rebuilt URL to: 22.214.171.124:8332/ * Trying 126.96.36.199... * connect to 188.8.131.52 port 8332 failed: Connection refused * Failed to connect to 184.108.40.206 port 8332: Connection refused * Closing connection 0 curl: (7) Failed to connect to 220.127.116.11 port 8332: Connection refused
Which of what I read probably indicates a firewall problem.
Your account was found to match the patterns associated with fraudulent behavior, which is a violation of our Terms of Service. After the review, we have determined that it is not possible to restore access to your account.
Developer Experience Specialist
There are no real explanations …
(5USD was returned by DigitalOcean to Paypal but was not returned to my bank card, so I lost 5USD, mysteriously disappeared)
It is always a great feeling to share the news of our new releases with the entire web hosting community. So why not dive into this week's summary from our most recent update? DigitalOcean drops for WHMCS 1.4.0!
Because of this latest version, a complete set of completely new permissions is brought:
Control your excitement for a little more time, as there are still a couple of new, more advantageous features to explore: feel welcome to give them a proper evaluation.
Click here to find out more about DigitalOcean drops for WHMCS 1.4.0!
two] Happy thanksgiving to all!
It fills us with infinite pleasure, once again, expressing our deepest gratitude and gratitude to all our clients, a motivating force behind each of our companies. Best wishes to you and your loved ones on these special holidays: may your Thanksgiving be full of joy and joy, and that the future year abounds in happiness, peace and prosperity.
3] Don't miss the blackest deals of the year!
We have barely finished storing our summer clothes and Christmas is just around the corner. And that means that some key dates for bargain seekers are rising rapidly: Black Friday is constantly chasing its younger brother, Cyber Monday!
Discount hunters prepare: this year, we decided not to restrict their purchase aspirations, therefore, Black week Pure selling madness is all yours to participate! It doesn't matter if you already have an eye on some particular software or just want to buy something on a whim, be sure to be aware of the irresistible bargains of the Black Week that It will be announced in a matter of several hours!
Sit well and keep your eyes wide open!
4] See also our other module updates:
Do you need custom software development for your business?
Especially for you, we will adapt an application and its design to your own needs, we will create a new module or even a completely new system built from scratch.
I have several websites in my laravel forge account. One of these websites requires apache and only nginx configured on the server. Can I use apache for this website and nginx for another website? Is it possible or what is the best way to achieve the objective of this website also running with nginx?
I have an agency
We already have more than 50 clients that offer shared hosting through a local web hosting provider,
We are looking to start hosting our clients' websites because lately we are facing some performance and speed problems.
After doing a little research, I discovered that DigitalOcean offers good prices and at the same time provides EU servers (our clients are based in this region and this will be excellent for them).
Most of our customers are using WordPress / HTML landing pages (we install and design for them) and they don't have large visitors (1K visitors / day / customer average)
We will use WHMCS, the questions I have are:
1- Is DigitalOcean a good option to provide shared hosting?
2- Is it possible to give our clients a dedicated IP with shared hosting?
3- What is your recommendation?
I will hire a full-time server administrator (SysAdmin) to handle migrations, maintenance, security, backup …
In reality, there is no need to do any kind of customer service at this time, except for some minor things (Migration, Backup) that SysAdmin can handle.
Our current clients pay $ 40 / year for lodging.
And we are projecting a 100% increase in customers by the end of the first quarter of next year if we only host our customers,
But if we can provide a good service, we will expand our service to offer shared hosting for anyone.
Obtain 20% DISCOUNT on the first month bill of any managed Linux VPS hosting plan. Enter promotion code VM20 during payment. The renovation would be at a regular price.
Discounted price: $ 11.20 / month – Buy now
Discounted price: $ 20.80 / month – Buy now
Discounted price: $ 33.60 / month – Buy now
Discounted price: $ 62.40 / month – Buy now
For more details on Cheap Linux VPS hosting plans please visit: https://www.milesweb.in/hosting/cheap-vps-plans
MilesWeb offers fully managed Linux VPS hosting plans with DigitalOcean technology available in 4 sizes with various technical components, with benefits such as built-in SSD storage, SSH access, guaranteed server resources and protection against hardware attacks.
Obtain 25% DISCOUNT on the first month bill of any managed Linux VPS hosting plan. Enter promotion code NY25 during payment. The renovation would be at a regular price.
Linux server location:
Below is the list of Linux VPS hosting plans offered by MilesWeb:
VPS optimized plans
For more details on VPS Linux hosting with DigitalOcean plans visit: https://www.milesweb.in/hosting/vps-hosting
For immediate assistance, visit our website and start a live chat.