Recent Questions - Server Fault |
- Double VPN not working
- zfs checksum errors on Solaris 11 under KVM
- Windows update showing "Some update files are missing or have problems. We will try to download the update again later." on Azure Windows Server VM
- How to use server_name with stream NGINX?
- Azure DevOps Pipeline: Code scanner with notifications
- Apache Server does not display the correct website
- Python Flask App on IIS - Updating Active Directory Attributes on Behalf of User
- SAMBA 4 Set up on Slackware 14.2
- Unable to start virtual machine/domain in KVM: Failed to get "write" lock
- Singular Blade Server: A/C required in 5x5 closet?
- ASRock Rack X570D4U IPMI login failed after password change
- Detecting Windows Physical Console Logon
- Upgrading Debian Jessie to Stretch
- Gmail failing to accept TLS
- Can I extend the session length for my Service Account?
- Debian Stuck at Booting from Hard Disk after installation on KVM
- How to detect NVIDIA GPU with Puppet
- Odoo 10 CE performance tuning - enabling workers
- can't exclude directories on backuppc
- Change linux multicast interface
- Group Policy for Microsoft Edge extensions
- How to connect to OpenVPN clients from LAN 'members'
- how to use varnish cache with set-cookie named mp3list and phpsessionid
- Increase number of connections per socket
- MySQL Cluster SQL Node not synchronizing
- Clustered file systems as XenServer storage
- Should I disable write caching on my Windows 2008 VM?
- linux - disabling and enabling link-local
- How do i stop Squid proxy from corrupting jar-files?
- Setting the document root in godaddy virtual server
Posted: 22 Mar 2021 09:58 PM PDT I have setup OpenVpn in my raspberry pi and it works correctly, I can log in to my raspberry pi from my cellphone. The problem comes when I activate my paid vpn (windscribe) with I've been trying a lot with the iptables with no success, crating forward rules for interfaces, tunnels, and a lot of combinations, but nothing seems to work. At the end I reset everything. here are my configurations. |
zfs checksum errors on Solaris 11 under KVM Posted: 22 Mar 2021 10:08 PM PDT Synopsis: libvirt 5.6.0, QEMU 4.1.1, Linux kernel 5.5.10-200, Fedora Server 31. Solaris 11.4 fresh install (with Solaris 10 branded zones), raw disk on XFS (unfortunately, no possibility to switch to ZFS on Linux and provide a passthrough ZVOL to VM). When I copy a large gzipped file on a ZFS dataset on Solaris VM, zpool get some zfs errors, when I gunzip the file, the gunzipped file becomes corrupted. Firstly the Solaris VM was hosted on a qcow2 virtual disks, I thought that CoW on CoW is probably the bad idea, so I switched to Raw. Nothing really changed. Ideas, anyone (I'm acually out of any) ? Solaris 11.4 datasets itself arent't corrupoted. I also successfully run FreeBSD/zfs on a similar setups under KVM (however, using ZVOLs, but still on Linux - no checksum errors there). Pristine pool: Copyig file: Ran a scrub after the copying was finished: This is how the solaris virtual disks are attached: |
Posted: 22 Mar 2021 08:55 PM PDT Azure Windows Server 2016 Datacenter VM ,version 1607. Showing "Some update files are missing or have problems. We will try to download the update again later." error code:(0x80073712) |
How to use server_name with stream NGINX? Posted: 22 Mar 2021 07:53 PM PDT Current setup as follows: Works just fine without server_name, but I'd like to use a domain if possible. |
Azure DevOps Pipeline: Code scanner with notifications Posted: 22 Mar 2021 07:44 PM PDT We are currently using the WhiteSource Bolt task in our Azure DevOps pipeline to scan our code for known vulnerabilities. This task will produce a report on the pipeline level, plus there is also a summary report for all vulnerabilities for all pipelines. This summary report can be exported/send via email in different formats, but only from the UI We would like to get notifications for new vulnerabilities. Let's say that our current code has no vulnerabilities, so we would like to be notified in case the pipeline task finishes and finds some new vulnerabilities. This info can be seen in the UI currently, but there seems to be no option to send notifications (so we are notified automatically vs manually checking the report). Is anyone aware of any opensource solution for code vulnerability scanning that can integrate with Azure DevOps pipelines and send notifications? WhiteSource Bolt works fine for us, just missing the notifications part (we are aware of the paid version, but that starts at 5k/year and that's too steep as we are a small startup still). Thanks in advance! |
Apache Server does not display the correct website Posted: 22 Mar 2021 09:59 PM PDT Hi I'm trying to learn apache2 with VPS. So far its ok but I can't the reason for one problem that I face. I've a website setup in my mydomain.com.conf apache2.conf I'm not sure what is wrong. Please help !! |
Python Flask App on IIS - Updating Active Directory Attributes on Behalf of User Posted: 22 Mar 2021 07:27 PM PDT I've posted this on stackoverflow, but posting it here as I want some help from folks that are familiar with kerberos delegation and IIS. I am currently trying to figure out how to get my flask app to handle active directory attribute updates on behalf of users in a domain, such as their phone numbers. I currently have this running in IIS 10 on a Windows Server 2019 VM. I have a small virtual lab on Hyper-V that replicates a vanilla Active Directory domain, where I have a domain controller called dc1, a web server called webserver1, and a client machine called client1. The web application is ran under a service account named service-acct in IIS. Currently, the HTTP request provides me with the windows auth token of the requesting user (via asp net core module), which allows me to impersonate them. Web.config: The workflow looks something like this: In terms of impersonation, I have been able to use the win32security python module to impersonate the user and perform limited operations within the web server (eg. create folders); however, attempting to update the user's active directory credentials through a flask endpoint leads to a permission error (via the pyad python module): The relevant endpoint python code I used is below: Searching for the error suggests that I have permission issues trying to do the active directory operation, which makes me think it is a double-hop problem. I tried allowing kerberos delegation for the service account in ADUC and also created SPNs for it as such: However, that seems to still have issues and I seem to be stuck. Any suggestions? |
SAMBA 4 Set up on Slackware 14.2 Posted: 22 Mar 2021 07:04 PM PDT I am trying to set up Samba 4 on Slackware 14.2. I have tried numerous smb.conf files I've found on the Internet, and I cannot access from Windows 10. I want to use smb 4. I do not want to use smb 1 where I browse the network. I am looking for detailed instructions on how to set this up, including smb.conf and any other slackware 14.2 specific settings that may be preventing me from getting this running. |
Unable to start virtual machine/domain in KVM: Failed to get "write" lock Posted: 22 Mar 2021 06:29 PM PDT After host's restart, I'm not able to start virtual machine: File is not in use: I have tried on Ubuntu 18.04/qemu 2.11 and upgraded to Ubuntu 20.04/qemu 4.2.1 This upgrade didn't help to solve an issue. This VM is very big so can't easily create new one from it, there is no available space. Any help to recover from this situation and start this domain? Thank you |
Singular Blade Server: A/C required in 5x5 closet? Posted: 22 Mar 2021 05:18 PM PDT I have a small home setup that I just play with. Mainly, I have been wanting to move my blade server elsewhere and kind of hide it away. I have several potential places, but I would have to do renovations to help protect those areas from the outside elements. This brings me to thinking about storing it inside my closet I have. Would the server get too hot with no direct a/c, and the door will be shut, in the closet? |
ASRock Rack X570D4U IPMI login failed after password change Posted: 22 Mar 2021 04:54 PM PDT I upgraded my servers mainboard to a ASRock Rack X570D4U. The web interface asked me to change my password. I generated a 24 char long password with letters, numbers and special characters and saved it to my password manager. Is it possible to reset the password without access to a monitor? I can't find a VGA cable and the HDMI port doesn't work, because the CPU has no iGPU. |
Detecting Windows Physical Console Logon Posted: 22 Mar 2021 06:27 PM PDT I'm trying to find a way to detect a logon where someone is physically at the machine. I know you can do it with Type 2 but the issue is that event gets logged when services make a logon request like when someone logs on through a service. One way I found that might be accurate is when Source Network Address shows a local IP like 127.0.0.1 Is this accurate enough or is there another way to do it? Microsoft has the worst documentation and the ways always change and no one standard is followed. |
Upgrading Debian Jessie to Stretch Posted: 22 Mar 2021 04:31 PM PDT I followed this tutorial but failed. I got a lot of php not found found errors after update/upgrade commands, but I continued hoping Stretch would replace the php stuff. now sudo apt-get update gives following erros: W: There is no public key available for the following key IDs: 112695A0E562B32A W: There is no public key available for the following key IDs: 648ACFD622F3D138 W: Failed to fetch https://packages.sury.org/php/dists/jessie/main/binary-amd64/Packages HttpError404 E: Some index files failed to download. They have been ignored, or old ones used instead. sudo apt-get update gives following erros: E: Failed to fetch https://packages.sury.org/php/pool/main/p/pcre3/libpcre3_8.43-1+0~20200703.7+debian8~1.gbpbfc49f_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/o/openssl/libssl-doc_1.1.1g-1+0~20200421.17+debian8~1.gbpf6902f_all.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/o/openssl/libssl-dev_1.1.1g-1+0~20200421.17+debian8~1.gbpf6902f_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/o/openssl/libssl1.1_1.1.1g-1+0~20200421.17+debian8~1.gbpf6902f_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/o/openssl/openssl_1.1.1g-1+0~20200421.17+debian8~1.gbpf6902f_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php-defaults/php-common_76+0~20200511.26+debian8~1.gbpc9beb6_all.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php-pear/php-pear_1.10.8+submodules+notgz-1+0~20190219091008.9+jessie~1.gbp1a209a_all.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/php7.3_7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1_all.deb HttpError404 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? sudo apt-get dist-upgrade: WARNING: The following packages cannot be authenticated! libidn2-0 libpcre3 libssl-doc libssl-dev libssl1.1 openssl libicu65 libxml2 php-common php7.3-intl php7.3-readline php7.3-mysql php7.3-bcmath php7.3-gd php7.3-xml php7.3-opcache php7.3-curl php7.3-json php7.3-cgi php7.3-bz2 php7.3-mbstring php7.3-zip php7.3-cli libapache2-mod-php7.3 php7.3-common php-pear php7.3 Install these packages without verification? [y/N] y Get:1 https://packages.sury.org/php/ jessie/main libidn2-0 amd64 2.2.0-2+0~20200302.4+debian8~1.gbpf85c2e [128 kB] Err https://packages.sury.org/php/ jessie/main libidn2-0 amd64 2.2.0-2+0~20200302.4+debian8~1.gbpf85c2e HttpError404 Get:2 https://packages.sury.org/php/ jessie/main libpcre3 amd64 2:8.43-1+0~20200703.7+debian8~1.gbpbfc49f [339 kB] Err https://packages.sury.org/php/ jessie/main libpcre3 amd64 2:8.43-1+0~20200703.7+debian8~1.gbpbfc49f HttpError404 Get:3 https://packages.sury.org/php/ jessie/main libssl-doc all 1.1.1g-1+0~20200421.17+debian8~1.gbpf6902f [1775 kB] Err https://packages.sury.org/php/ jessie/main libssl-doc all 1.1.1g-1+0~20200421.17+debian8~1.gbpf6902f HttpError404 Get:4 https://packages.sury.org/php/ jessie/main libssl-dev amd64 1.1.1g-1+0~20200421.17+debian8~1.gbpf6902f [1802 kB] Err https://packages.sury.org/php/ jessie/main libssl-dev amd64 1.1.1g-1+0~20200421.17+debian8~1.gbpf6902f HttpError404 Get:5 https://packages.sury.org/php/ jessie/main libssl1.1 amd64 1.1.1g-1+0~20200421.17+debian8~1.gbpf6902f [1550 kB] Err https://packages.sury.org/php/ jessie/main libssl1.1 amd64 1.1.1g-1+0~20200421.17+debian8~1.gbpf6902f HttpError404 Get:6 https://packages.sury.org/php/ jessie/main openssl amd64 1.1.1g-1+0~20200421.17+debian8~1.gbpf6902f [834 kB] Err https://packages.sury.org/php/ jessie/main openssl amd64 1.1.1g-1+0~20200421.17+debian8~1.gbpf6902f HttpError404 Get:7 https://packages.sury.org/php/ jessie/main libicu65 amd64 65.1-1+0~20200223.8+debian8~1.gbp519cf3 [8453 kB] Err https://packages.sury.org/php/ jessie/main libicu65 amd64 65.1-1+0~20200223.8+debian8~1.gbp519cf3 HttpError404 Get:8 https://packages.sury.org/php/ jessie/main libxml2 amd64 2.9.9+dfsg-1+0~20200226.5+debian8~1.gbp3b6674 [730 kB] Err https://packages.sury.org/php/ jessie/main libxml2 amd64 2.9.9+dfsg-1+0~20200226.5+debian8~1.gbp3b6674 HttpError404 Get:9 https://packages.sury.org/php/ jessie/main php-common all 2:76+0~20200511.26+debian8~1.gbpc9beb6 [16.0 kB] Err https://packages.sury.org/php/ jessie/main php-common all 2:76+0~20200511.26+debian8~1.gbpc9beb6 HttpError404 Get:10 https://packages.sury.org/php/ jessie/main php7.3-intl amd64 7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1 [124 kB] Err https://packages.sury.org/php/ jessie/main php7.3-intl amd64 7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1 HttpError404 Get:11 https://packages.sury.org/php/ jessie/main php7.3-readline amd64 7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1 [12.2 kB] Err https://packages.sury.org/php/ jessie/main php7.3-readline amd64 7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1 HttpError404 Get:12 https://packages.sury.org/php/ jessie/main php7.3-mysql amd64 7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1 [118 kB] Err https://packages.sury.org/php/ jessie/main php7.3-mysql amd64 7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1 HttpError404 Get:13 https://packages.sury.org/php/ jessie/main php7.3-bcmath amd64 7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1 [15.2 kB] Err https://packages.sury.org/php/ jessie/main php7.3-bcmath amd64 7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1 HttpError404 Get:14 https://packages.sury.org/php/ jessie/main php7.3-gd amd64 7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1 [27.4 kB] Err https://packages.sury.org/php/ jessie/main php7.3-gd amd64 7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1 Get:27 https://packages.sury.org/php/ jessie/main php7.3 all 7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1 [44.1 kB] Err https://packages.sury.org/php/ jessie/main php7.3 all 7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1 HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/libi/libidn2/libidn2-0_2.2.0-2+0~20200302.4+debian8~1.gbpf85c2e_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/pcre3/libpcre3_8.43-1+0~20200703.7+debian8~1.gbpbfc49f_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/o/openssl/libssl-doc_1.1.1g-1+0~20200421.17+debian8~1.gbpf6902f_all.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/o/openssl/libssl-dev_1.1.1g-1+0~20200421.17+debian8~1.gbpf6902f_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/o/openssl/libssl1.1_1.1.1g-1+0~20200421.17+debian8~1.gbpf6902f_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/o/openssl/openssl_1.1.1g-1+0~20200421.17+debian8~1.gbpf6902f_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/i/icu/libicu65_65.1-1+0~20200223.8+debian8~1.gbp519cf3_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/libx/libxml2/libxml2_2.9.9+dfsg-1+0~20200226.5+debian8~1.gbp3b6674_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php-defaults/php-common_76+0~20200511.26+debian8~1.gbpc9beb6_all.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/php7.3-intl_7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/php7.3-readline_7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/php7.3-mysql_7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/php7.3-bcmath_7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/php7.3-gd_7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/php7.3-xml_7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/php7.3-opcache_7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/php7.3-curl_7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/php7.3-json_7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/php7.3-cgi_7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/php7.3-bz2_7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/php7.3-mbstring_7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/php7.3-zip_7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/php7.3-cli_7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/libapache2-mod-php7.3_7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/php7.3-common_7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1_amd64.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php-pear/php-pear_1.10.8+submodules+notgz-1+0~20190219091008.9+jessie~1.gbp1a209a_all.deb HttpError404 E: Failed to fetch https://packages.sury.org/php/pool/main/p/php7.3/php7.3_7.3.19-1+0~20200612.60+debian8~1.gbp6c8fe1_all.deb HttpError404 cat sources.list #deb http://debian.mirrors.ovh.net/debian/ jessie main #deb-src http://debian.mirrors.ovh.net/debian/ jessie main #deb http://security.debian.org/ jessie/updates main #deb-src http://security.debian.org/ jessie/updates main #jessie-updates, previously known as 'volatile' #deb http://debian.mirrors.ovh.net/debian/ jessie-updates main #deb-src http://debian.mirrors.ovh.net/debian/ jessie-updates main #jessie-backports, previously on backports.debian.org #deb http://debian.mirrors.ovh.net/debian/ jessie-backports main #deb-src http://debian.mirrors.ovh.net/debian/ jessie-backports main #deb http://debian.mirrors.ovh.net/debian/ jessie main contrib non-free #deb-src http://debian.mirrors.ovh.net/debian/ jessie main contrib non-free #deb http://software.virtualmin.com/gpl/debian/ virtualmin-jessie main #deb http://software.virtualmin.com/gpl/debian/ virtualmin-universal main #ruti #deb http://ftp.us.debian.org/debian jessie-backports main contrib non-free #ruti2 #deb ftp://ftp.us.debian.org/debian/ wheezy non-free #deb http://security.debian.org/ wheezy/updates non-free #deb http://deb.debian.org/debian/ jessie main #deb http://security.debian.org/ jessie/updates main #Only these are uncommented below deb http://deb.debian.org/debian/ stretch main deb http://security.debian.org/debian-security stretch/updates main deb http://deb.debian.org/debian/ stretch-updates main cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 8 (jessie)" NAME="Debian GNU/Linux" VERSION_ID="8" VERSION="8 (jessie)" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" My goal is upgrading Debian 8 to 10, but first step is upgrading to 9. I would be glad if you can help me! |
Posted: 22 Mar 2021 08:52 PM PDT I recently set up a postfix mail server. Testing it with other domains, everything seems to work well. However, when my server tries to send messages to gmail, they are marked as spam, with the red padlock and note (rr.com is not my domain. However, the above is exactly what gmail says) After forcing tls, I find that my server is unable to send messages to gmail at all. Logs state that Wait, what? Gmail certainly offers TLS! What's happening here?
|
Can I extend the session length for my Service Account? Posted: 22 Mar 2021 05:13 PM PDT I've created a Service Account so that Appfigures could connect and get data. The issue is that we have to verify our Google Play account every week in Appfigures and they have told if we can extend the session length to avoid having to relink every so often and the usual default set up is 14 days and if we know what our limitation is set up with at this time. I've reviewed the console, I've looked in the help but I haven't found anything about this. Could you help me, please? |
Debian Stuck at Booting from Hard Disk after installation on KVM Posted: 22 Mar 2021 05:02 PM PDT I'm trying to install Debian on Qemu-KVM on RouterOS v5.25 I tried : on disk image created using : during the installation process, everything is good to the end. but right after finishing installation and rebooting, it shows the boot screen counting to 4 then it's stuck at
GRUB installed on (master boot record) during installation and i've tried to install it on (/dev/sda). Note : it's not rebooting itself, it's just stuck. Here's the boot parameters : RouterOS KVM configuration : (for testing) I installed What causes this problem? |
How to detect NVIDIA GPU with Puppet Posted: 22 Mar 2021 06:38 PM PDT I have some tasks I only want to run on machines that have NVIDIA GPUs. Is there a good way with Puppet to be able to determine if a specific agent has an NVIDIA GPU or not? I'm able to do it in bash by checking to see if /usr/bin/nvidia-smi exists, but I'm not sure how I should do this in Puppet. Also if there's a better way to do it in bash instead of this way, please let me know. |
Odoo 10 CE performance tuning - enabling workers Posted: 22 Mar 2021 08:01 PM PDT I will try explain the best I can the problem I have with Odoo 10 CE running on Ubuntu 16.04 LTS VM placed on on-premise HP Proliant G6 running hyper-v. Physical server specs:
Ubuntu VM specs: 4Gb RAM machine I would like to enable workers to get better performance. There are only few users using the odoo instance. Can someone please help me with error which I get every time when I change workers to value > 0 ? This is my odoo-server.conf (part of it) Can you please help me with this error? |
can't exclude directories on backuppc Posted: 22 Mar 2021 07:03 PM PDT i am tring to configure BackupPc to EXCLUDE some directories on my backups. I need to exclude many (very big) caches directories from backups on different machines can you help me? this is my configuration but doen't work, navigationg on the backups i always have /wp-content/cache/ directory filled of GB of files i tried many values on $Conf{BackupFilesExclude} without success thanks |
Change linux multicast interface Posted: 22 Mar 2021 05:04 PM PDT Why my multicast traffic always goes through wlan0 interface? I try But VLC casting to 224.0.0.1:1111 always goes through wlan0 interface. ip route: |
Group Policy for Microsoft Edge extensions Posted: 22 Mar 2021 10:05 PM PDT How can I configure my group policy, to forcefully install a specific extension to MS Edge on client machines? Now that Edge is starting to support more extensions, and better ones, this is becoming a valid option for secure browsing. If I want to allow my users to use Edge, I would expect them all to have required security extensions - e.g. ad blocker (specifically I like uBlock origin, but there are others), and any other required extension... |
How to connect to OpenVPN clients from LAN 'members' Posted: 22 Mar 2021 09:03 PM PDT Working on a IoT type of thing, I want to connect some devices "in the wild" to servers in AWS through OpenVPN on an EC2 instance. So far I have been able to set up an EC2 instance configured as an OpenVPN server, and I have the client devices connecting to the VPN successfully. This was all set up using this guide - https://www.digitalocean.com/community/tutorials/how-to-setup-and-configure-an-openvpn-server-on-centos-6 The OpenVPN clients are getting 10.8.0.x IPs and can talk to each other via those IPs. I can also talk to these IPs from the OpenVPN server itself. So far so good. I also have other EC2 instances on AWS, in the same VPC and subnet as the OpenVPN server. These instances cannot currently reach the OpenVPN clients via their 10.8.0.x IP. The OpenVPN clients can reach the instances by their private subnet IPs (10.101.x.x), but they represent themselves only with the IP address of the OpenVPN server. How do I need to do, to: A. Enable the EC2 instances to send messages to individual OpenVPN client devices (probably via their OpenVPN addresses, but other options are welcome). B. Let the EC2 instances see the origin IP addresses of the clients rather than just the server's IP, when they send messages to the server. -- This is secondary, really, as the clients would identify themselves in their requests. Edit Devices are in distinct geographical locations and not on a common LAN, each connecting via 3G/4G. Each device needs to send messages to all the EC2 instances, and each EC2 instances needs to send messages to some of the devices. |
how to use varnish cache with set-cookie named mp3list and phpsessionid Posted: 22 Mar 2021 06:07 PM PDT I am new to php and i am interested to use varnish to improve site performance. I installed the latest version of varnish: 4.0.2 varnish I use a cookie named ( Now I removed mp3list using this, still Does someone know how to bypass phpsessid and edit VCL, to use varnish effectively? |
Increase number of connections per socket Posted: 22 Mar 2021 05:04 PM PDT How do I increase the number of connections each socket can accept? I know that you can increase the total number of connections using: But each connection is then still limited to 128. How do I increase the total connections per socket? |
MySQL Cluster SQL Node not synchronizing Posted: 22 Mar 2021 08:01 PM PDT I am new to MySQL Cluster and am trying to setup a new cluster for our new application. Here is what I have set up on 5 CentOS 64 bit VM and got the cluster to work using MySQL Cluster 7.2. I am trying to test it and have some issues. "I have successfully installed the Cluster with 5 nodes (2 Data, 1 Mgmt and 2 SQL Nodes). While testing the cluster I have hit on one scenario where I am stuck and cannot make it to work. Here is the screen shot of the Management Node displaying all cluster nodes: ndb_mgm> show Cluster Configuration[ndbd(NDB)] 2 node(s) id=2 @10.0.3.138 (mysql-5.5.30 ndb-7.2.12, Nodegroup: 0) id=3 @10.0.3.83 (mysql-5.5.30 ndb-7.2.12, Nodegroup: 0, Master) [ndb_mgmd(MGM)] 1 node(s) id=1 @10.0.3.135 (mysql-5.5.30 ndb-7.2.12) [mysqld(API)] 2 node(s) id=4 @10.0.3.87 (mysql-5.5.30 ndb-7.2.12) id=5 @10.0.3.22 (mysql-5.5.30 ndb-7.2.12) ndb_mgm> Here is the scenario: While all nodes in the cluster are working as a part of my test I shut down one of the SQL Node 4 and while this node is offline, I drop a database which is part of the cluster databases on SQL Node 5. When I bring up the offline SQL Node 4 and rejoin to the cluster the dropped database still shows up. It should sync with the old cluster databases meaning the dropped database when the SQL Node 4 was offline should be removed from the cluster and should not show up on SQL Node 4. This is a real scenario that can happen. Also, I am searching for MySQL Cluster Test document which describes these scenarios and cannot seem to find it. " Any Help will be greatly appreciated. Thanks |
Clustered file systems as XenServer storage Posted: 22 Mar 2021 06:07 PM PDT I want to use shared storage for a XenServer environment with 4 host servers which are running various VMs under XenServer. Planning to use 2 extra servers as storage with high availability of some sort. While the most obvious solution is iSCSI SAN software, I see some recommendations that one skip iSCSI altogether and go for clustered file systems - most prominent seem GFS2 and Lustre. However, I don't see options in XenServer which support connecting to such clustered systems. First of all, do I need to then make the 4 XenServer hosts also part of the cluster? As I am installing via the Citrix download, I am not familiar how I would go about it, or if I even need to. Don't need more than 30 VMs and storage is limited below 4 TB. Under these circumstances, what cluster type is best? Or does this not work at all with Xen? |
Should I disable write caching on my Windows 2008 VM? Posted: 22 Mar 2021 06:28 PM PDT I have a Windows Server 2008 x64 Standard virtual machine that runs on a machine with a hardware RAID controller, a Perc 6/i, which has a battery on-board. Doing everything I can for additional performance, I think I should disable this. Is this very dangerous though? My understand is that Battery Backed Write Caching gives a performance boost to the host OS, telling it the write was complete when they are still sitting in flash waiting to be written. However, I can't see how it would be detrimental to performance, but is there a gain (even if marginal) to enabling it / disabling it? P.s. There machine has a backup power. Here is a screen shot for clarification: |
linux - disabling and enabling link-local Posted: 22 Mar 2021 10:05 PM PDT I'm trying to find out how to disable and enable link local addresses, on my linux machine(also on arm). So basically for IPv4 and IPv6 I would like to either disable (or bring down) both addresses together or even individually if needs be. Then to enable both again. I would also like to check if they have been disabled and enabled each time. Is it possible to execute system command line scripts to achieve this, for instance Is it possible to do this without restarting the network? Also, I have, using the 2 examples above, obtained both IPv4 and IPv6 addresses. For example, but I am concerned that the grep string is not unique enough to search for the line(s) where the address(es) are. Is there a better way to do this? Thanks. |
How do i stop Squid proxy from corrupting jar-files? Posted: 22 Mar 2021 07:03 PM PDT Our internal corporate NTLM proxy (Also Squid i think) randomly returns 407 errors for some reason, and it's pointless to even try to get someone to fix that. I have on my Windows computer an installation of Cntlm proxy on port 3128 to be able to use non-NTLM-aware software. However, i still randomly get 407 errors from the corporate proxy. To work around this, i setup a Squid Cache (Version 2.7.STABLE8) proxy on localhost forwarding to Cntlm, thinking i could have it retry on error. I use the following configuration: It mostly works, but the problem is that jar-files end up slightly corrupted. I haven't figured out exactly how they are corrupted, but they are generally a couple of bytes longer than they should be, and even bytes in the beginning of the files are corrupted. And it's different each time. I found http://javatechniques.com/blog/squid-corrupts-jar-files/ which suggests it might be a problem with mime type configuration and Squid treating jar-files as ASCII, but does not tell you how to fix it in Squid. I tried adding to Squids |
Setting the document root in godaddy virtual server Posted: 22 Mar 2021 09:03 PM PDT HI, I am not familiar with setting up servers. I want to set up the document root to point to another directory. This is not mod rewrite for URL's that I am trying to do. Is it a httpd.conf file or a .htaccess that I need to create? and what is the code to do it?? |
You are subscribed to email updates from Recent Questions - Server Fault. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment