How to clone a debian 4.9 virtual sever? - mariadb

I have to change some settings on a production (virtual) server where debian 4.9 is running and includes a big database. So i searched via google for a good solutions because i'm not so fit with unix-commands and there is no space for to do mistakes or shut down the system for a few days.
Settings:
Linux v22017033447646597 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64 GNU/Linux
PHP 7.2.27-1+0~20200123.34+debian9~1.gbp63c0bc (cli) (built: Jan 23 2020 14:14:52) ( NTS )
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.27-1+0~20200123.34+debian9~1.gbp63c0bc
Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1
I'll glade for any sensefull response..

Related

docker-compose container web applications through open vpn

I'm trying to run a web application in a docker container, that as part of it's bootstrap it goes to get some information from services reachable through an open vpn.
The host machine is Mac and i couldn't find any way to do so.
The web application is jetty app running in docker-compose.
I need that other containers will be able to link to the webapp.
any idea ...?
Docker version:
Client:
Version: 17.12.0-ce
API version: 1.35
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:03:51 2017
OS/Arch: darwin/amd64
Server:
Engine:
Version: 17.12.0-ce
API version: 1.35 (minimum version 1.12)
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:12:29 2017
OS/Arch: linux/amd64
Experimental: true
I think you need to specify the path on your config file on your docker-compose.yaml so then you will be able to have it configure .
etc I guess something like https://github.com/kylemanna/docker-openvpn/blob/master/docs/docker-compose.md
Hope that helps!

Error installation Drupal 8 - LogicException: Cannot change the ID of an active session

Server:
Centos 7 + nginx + php-fpm
[root#centos ~]# php -v
PHP 7.0.16 (cli) (built: Feb 18 2017 10:25:02) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.16, Copyright (c) 1999-2017, by Zend Technologies
Try install Drupal 8
After step config connect to DB this error
i fix this
problem in php.ini
drupal try up the session, and dont check if this alredy exist
change line in php.ini
session.auto_start = 0

Docker on CentOS 7.2: kernel:unregister_netdevice: waiting for lo to become free. Usage count = 1

I'm running Docker on CentOS 7, from time to time there's the following message displayed:
Message from syslogd#dev-master at Mar 29 17:23:03 ...
kernel:unregister_netdevice: waiting for lo to become free. Usage count = 1
I've googled a lot, read a lot of resources found and tried many ways like keeping my system updated, upgrading kernel etc, but the message still keeps showing up, it's not too often but sooner or later I'll see it. Also I found issue for this problem on docker github is still open, then my questions are:
What does this message mean? Could somebody give me a simple explanation why docker causes it?
Is there any workaround for this?
If it could not be fixed yet(the issue is still open), will it affect the server or services running inside docker container? Will it be a serious performance issue because it also happens on our production servers?
Docker version:
Client:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 5604cbe
Built: Wed Apr 27 00:34:42 2016
OS/Arch: linux/amd64
Server:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 5604cbe
Built: Wed Apr 27 00:34:42 2016
OS/Arch: linux/amd64
OS info:
CentOS 7, with kernel version: 4.6.0-1.el7.elrepo.x86_64
I really appreciate for any info/tips or resources, thanks a lot.
Your best source of information is the issue you linked to docker#5618. This is a kernel bug, and has not yet been resolved. The issue is "triggered" by docker because starting/stopping containers also creates network interfaces for containers when they are created/destroyed.

fastcgi-mono-server4 hangs up

I have a C# API which I need to have for an C# application.
The problem is, when I start the monoserve process and manualy enter the page, the monoserve process hangs up.
Screenshot:
Monoserve Logfile: http://pastebin.com/raw/3aAdjS10
How I start fastcgi-mono-server4: http://pastebin.com/UctDWu23
Nginx vhost config: http://pastebin.com/raw/fjrvDmca
Nginx Error Log: http://pastebin.com/raw/jBsTEawS
fastcgi-mono-server4 --version
Mono.WebServer2.dll 0.4.0.0
(c) (c) 2002-2011 Novell, Inc.
Classes for embedding an ASP.NET server in your application .NET 4.0.
mono --version
Mono JIT compiler version 4.2.3 (Stable 4.2.3.4/832de4b Wed Mar 16 13:19:08 UTC 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono- project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported

Understanding uname output

What do the various pieces of uname -a output mean? Following is an example output:
Linux mymachine 2.6.18-194.e15PAE #1 SMP Fri Apr 2 15:37:44 EDT 2010 i686 i686 i386 GNU/Linux
I gather that Linux is the O.S, 2.6.18-194.e15PAE is the kernel version. What do the rest of the pieces mean?
Appreciate your help.
In order, the fields are:
"Linux": The machine's kernel name (e.g, OS).
"mymachine": The machine's node name (e.g, hostname).
"2.6.18-194.e15PAE": The kernel version
"#1 SMP Fri Apr 2 15:37:44 EDT 2010": The kernel version and build time.
"i686 i686": The processor type and hardware platform.
"i386": The architecture of the processor. (This and the two above basically all mean the same thing on most systems. They typically only differ on certain embedded platforms.)
"GNU/Linux": The operating system name.
For comparison, the uname -a from my Mac reads:
"Darwin" (hardware name)
"mymachine"
"Darwin Kernel Version 11.0.0" (version)
"Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64" (build time)
"x86_64" (processor architecture)
(The operating system name is omitted by the OS X version of uname for some reason, as are a few other fields.)

Resources