fastcgi-mono-server4 hangs up - nginx

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

Related

How to clone a debian 4.9 virtual sever?

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..

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!

Could not connect to Realm Object Server 2.0

I install ROS on my server, but when I called ros start and it will running at my server, here is the log:
login as: root
root#*.*.*.*'s password:
Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-109-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
Welcome to Alibaba Cloud Elastic Compute Service !
root#iZwz940pq66re8qvh8adzuZ:~# ros start
info: Loaded feature token capabilities=[Sync], expires=Wed Apr 19 2017 22:15:29 GMT+0800 (CST)
info: Realm Object Server version 2.5.1 is starting
info: [sync] Realm sync server started ([realm-core-4.0.4], [realm- sync-2.1.10])
info: [sync] Directory holding persistent state: /root/data/sync/user_data
info: [sync] Operating mode: master_with_no_slave
info: [sync] Log level: info
info: [sync] Download log compaction is enabled
info: [sync] Max download size: 131072 bytes
info: [sync] Listening on 127.0.0.1:35571 (sync protocol version 22)
info: Realm Object Server has started and is listening on http://0.0.0.0:9080
But when I entered the address in the browser, It told me that I could not connect.And I use Realm Studio to connect it also tell me that could not reach the server, did i forget something steps? Maybe my server's security policy forbide the port?
Per to the log description, Realm Object Server has started and is listening on http://0.0.0.0:9080.
Please ensure you've allowed TCP port 9080 in your ECS security group.
For detail steps, please refer the document
Add a security group rule

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

ASP.NET - Mono - PostgreSQL - Failed to establish a connection [0x00101]

Been trying to get my asp.net application to connect to my PostgreSQL database under mono for a few days to no avail. Can connect to it under IIS but not Apache and Mono.
The ASP.NET part works fine, it's just the connection to the database that wont play nice.
I get the following error:
Description: HTTP 500. Error processing request.
Stack Trace:
System.Exception: Failed to establish a connection to '127.0.0.1'.
at Npgsql.NpgsqlClosedState.Open (Npgsql.NpgsqlConnector context) [0x00101] in /Users/fxjr/Desenvolvimento/ProjetosOpenSource/Npgsql/NpgsqlSourceRelease/Npgsql2/src/Npgsql/NpgsqlClosedState.cs:171
Version information: Mono Runtime Version: 2.10.8 (tarball Fri Jul 20 23:48:09 UTC 2012); ASP.NET Version: 4.0.30319.1
Versions: Fedora 18, Mono 2.10.8, Apache 2.2.23, Npgsql 2.0.12
The production server that this will eventually run on is currently RHEL with Apache 2.2.x.
Thanks

Resources