Constantly Restarting of SQL Instances in GCP

I have 4 instances of SQL in GCP, all of this are restarting constantly.

This is the log from one of this:

From today this problem is happening, and they go 5 times on this day, I can not find more information. Please, any ideas of what I have to do?

The Properties of this Instance:

Generation                  1st Generation Database version            MySQL 5.5 Backup window               1:00 AM — 5:00 AM (UTC-5) Binary log                  Disabled File system replication     Asynchronous Preferred location          Follow app "xxxxxxxxx" Tier                        D16 Pricing plan                Package Activation Policy           Always Labels                      d16 Storage usage               18GB Read/write operations avg   6/s Mysql queries avg           40/s Read/write InnoDB pages avg 5/s InnoDB data fsync           4/s InnoDB log fsync            4/s Active connections          20/s 

I suspect of Backup Operations, but how stop that? In Operations Logs appears this Jun 27, 2019, 3:02:46 AM Backup An unknown error occurred
Jun 26, 2019, 4:16:15 AM Backup An unknown error occurred
Jun 26, 2019, 3:16:14 AM Backup An unknown error occurred

Thanks in advance

xrandr once configured, it resets after new reboot, keep restarting INVERTED

There is an HP notebook Pavillion DV6 4gb ram, 15 inch monitor single, HDMI and VGA connections, processor AMD A6. Successfully installed this Ubuntu 19 release. But, after a reset, it keep running monitor display 180 degrees rotated. Then , I use xrandr with NORMAL option, and it works only in my session: xrandr –output LDVS –rotate normal After a reboot, in a new session, the monitor appears INVERTED again. By the other hand, after adjusting monitor screen intensity with keypad buttons, after a reboot the screen appears with TOTAL light adjustment, again. How can I permanently set my config options.? Thanks in advance.

Keeps restarting, stuck in Ultra Power Save Mode

I’m asking on behalf of a family member who has a Samsung Galaxy S5. The phone is unrooted and has been updated but not to Android Marshmallow. The OTA had not been released for Marshmallow for this phone by our carrier.

There were many previous issues months ago but permanently removing the SD card and a firmware update through Samsung Kies solved those. The phone has had no significant issues for the last 5 months.

Recently, the phone was put on Ultra Power Save mode to save battery life. Immediately it shut itself down and kept restarting into Ultra Power Save mode and has done this for 3 weeks.

When it starts there are a few seconds before it restarts again. The screen is grey (no color) and most apps are disabled or not shown. The settings menu has very limited functionality and there is no way to disable Ultra Power Save Mode.

Going into safe mode does not change anything (the phone just restarts again in a few seconds). I’ve gone into Recovery Mode and cleared the cache but that did not do anything. I have not done a factory reset as I would be losing a family member’s numerous wedding pictures if I did that.

The phone has not had any physical damage. It is out of warranty but locked to a 2 year contract. The only solution to stop it from restarting is to remove the battery.

Is there any way to get it out of Ultra Power Save Mode? Would a factory reset help at all? We really would prefer to do that as we would lose the many pictures. I read about bootloaders but I don’t understand that well enough (also note that I’ve permanently removed the SD card — if I would need that in order to use this feature). I read something about trying commands through Google Now but I can’t do that unless I am doing it wrong. I tried connecting the phone to a PC and starting Kies but Kies does not recognize the device (as the device is not on long enough). The PC itself only recognizes the device for the few seconds that it is on. I’ve tried charging it, removing the SIM card, and also leaving the phone off for days but nothing has worked. I use Ultra Power Save Mode often on my own phone but had not used it on this phone before.

Thank you for helping.

nginx not restarting

I installed nginx on my Ubuntu 18.04. After that I made some changes in the default file. Now I am trying to start it but I am getting following error:

$   sudo service nginx restart 

Job for nginx.service failed because the control process exited with error code. See “systemctl status nginx.service” and “journalctl -xe” for details.

$   systemctl status nginx.service 

nginx.service – A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: en Active: failed (Result: exit-code) since Sat 2019-05-25 13:35:03 CDT; 19min a Docs: man:nginx(8) Process: 3220 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code Process: 3219 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process

May 25 13:35:01 lc2530hz nginx[3220]: nginx: [emerg] bind() to 0.0.0.0:80 failed May 25 13:35:01 lc2530hz nginx[3220]: nginx: [emerg] bind() to [::]:80 failed (9 May 25 13:35:02 lc2530hz nginx[3220]: nginx: [emerg] bind() to 0.0.0.0:80 failed May 25 13:35:02 lc2530hz nginx[3220]: nginx: [emerg] bind() to [::]:80 failed (9 May 25 13:35:02 lc2530hz nginx[3220]: nginx: [emerg] bind() to 0.0.0.0:80 failed May 25 13:35:02 lc2530hz nginx[3220]: nginx: [emerg] bind() to [::]:80 failed (9 May 25 13:35:03 lc2530hz nginx[3220]: nginx: [emerg] still could not bind() May 25 13:35:03 lc2530hz systemd[1]: nginx.service: Control process exited, code May 25 13:35:03 lc2530hz systemd[1]: nginx.service: Failed with result ‘exit-cod May 25 13:35:03 lc2530hz systemd[1]: Failed to start A high performance web serv lines 1-17/17 (END)

$   journalctl -xe  Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- Unit phpsessionclean.service has finished starting up. -- -- The start-up result is RESULT. May 25 13:42:32 lc2530hz systemd[1]: Starting Message of the Day... -- Subject: Unit motd-news.service has begun start-up -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- Unit motd-news.service has begun starting up. May 25 13:42:32 lc2530hz systemd[1]: Started Message of the Day. -- Subject: Unit motd-news.service has finished start-up -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- Unit motd-news.service has finished starting up. -- -- The start-up result is RESULT. May 25 13:42:53 lc2530hz org.gnome.Shell.desktop[1989]: (/usr/lib/firefox/firefo May 25 13:42:58 lc2530hz systemd-resolved[782]: Server returned error NXDOMAIN, May 25 13:47:19 lc2530hz /usr/lib/gdm3/gdm-x-session[1855]: (II) event5  - PixAr lines 1576-1598/1598 (END)  $    nginx -t 

nginx: [alert] could not open error log file: open() “/var/log/nginx/error.log” failed (13: Permission denied) 2019/05/25 14:01:03 [warn] 3564#3564: the “user” directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1 nginx: the configuration file /etc/nginx/nginx.conf syntax is ok 2019/05/25 14:01:03 [emerg] 3564#3564: open() “/run/nginx.pid” failed (13: Permission denied) nginx: configuration file /etc/nginx/nginx.conf test failed zulfi@lc2530hz:/etc/nginx/sites-enabled$

/etc/nginx/sites-enabled$   cat default 

#

You should look at the following URL’s in order to grasp a solid understanding

of Nginx configuration files in order to fully unleash the power of Nginx.

https://www.nginx.com/resources/wiki/start/

https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/

https://wiki.debian.org/Nginx/DirectoryStructure

#

In most cases, administrators will remove this file from sites-enabled/ and

leave it as reference inside of sites-available where it will continue to be

updated by the nginx packaging team.

#

This file will automatically load configuration files provided by other

applications, such as Drupal or WordPress. These applications will be made

available underneath a path with that package name, such as /drupal8.

#

Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.

#

Default server configuration

server { listen 80 default_server; listen [::]:80 default_server;

# SSL configuration # # listen 443 ssl default_server; # listen [::]:443 ssl default_server; # # Note: You should disable gzip for SSL traffic. # See: https://bugs.debian.org/773332 # # Read up on ssl_ciphers to ensure a secure configuration. # See: https://bugs.debian.org/765782 # # Self signed certs generated by the ssl-cert package # Don’t use them in a production server! # # include snippets/snakeoil.conf;

root /var/www/html;

# Add index.php to the list if you are using PHP index index.php index.html index.htm index.nginx-debian.html;

#server_name_;

location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. try_files $ uri $ uri/ =404; }

# pass PHP scripts to FastCGI server # location ~ .php$ { # include snippets/fastcgi-php.conf; # # # With php-fpm (or other unix sockets): fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; # # With php-cgi (or other tcp sockets): # fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fastcgi_params; }

# deny access to .htaccess files, if Apache’s document root # concurs with nginx’s one # #location ~ /.ht { # deny all; #} }

Virtual Host configuration for example.com

#

You can move that to a different file under sites-available/ and symlink that

to sites-enabled/ to enable it.

#

server {

listen 80;

listen [::]:80;

#

server_name example.com;

#

root /var/www/example.com;

index index.html;

#

location / {

try_files $ uri $ uri/ =404;

}

} user@lc2530hz:/etc/nginx/sites-enabled$

Somebody please guide me how to restart the nginx.

Zulfi.

DataBase Kernel Restarting

Estou aprendendo sobre DataBase, porém nãos sei como ao digitar alguns dados e dar o comando para aparecer me aparece a seguinte mensagem.

The kernel appears to have died. It will restart automatically.

Entendi, porem esse Kernel não reinicia, e eu preciso terminar isso logo, existe algo que eu possa fazer para que essa situação acabe?

No momento uso o Anaconda Navigator, Jupyter para aprender sobre DataBase.

iPhone keeps restarting: how to identify the (probable) offending app?

So my phone keeps rebooting after working seemingly normally for some time, albeit quite a short one – I’d say around 10 minutes, seems to be quite shorter if I’m using it, no matter the app.

It started doing it today, apparently out of nowhere; I tried scrolling the privacy -> analytics section of the settings app, but didn’t find anything obvious.. I noticed some (many) panic-full-<datetime>.ips files with what seems to be a memory and diagnostic dump from the incidents, but again they don’t seem to show anything obvious.

Is there any way of identifying the offending piece of software?

It’s an iPhone XS, and it has been on the latest OS (12.2 I think) since its release, so it’s been a while now.

Powershell script for Restarting SharePoint Timer Service (SPTimerV4)

On SharePoint log folder so many “.usage” files are creating and not getting deleting. Due to space issue occurring. So We are restarting “SPTimerV4” service manually. We need to scheduled task scheduler job for restarting every half an hour. Could any please share powershell script how to restart “SPTimerV4” service using powershell . Highly appreciate your help.

Note: We are using single farm of SP 2010 and Task scheduler job creating we can do it.