Categories
Development Linux Ubuntu

How to enable full permissions on internal secondary HDD?

I have a secondary internal HDD formatted to ext4. How can I enable full permissions so that I, other users, and the Samba network can read, write, and execute from the hard drive? Problem: Currently on the second hard drive I can access documents and create and delete files in nautilus file manager. But I […]

Categories
Development Linux Ubuntu

using sed to find, compare and replace text

I have a text in a single file Quiz Worker(Thomas) works in ………. Worker(Alfred) works in ………. Worker(Albert) works in ………. Answer Worker(Thomas) works for company(google) Worker(Alfred) works for company(apple) Worker(Albert) works for company(Microsoft) I wish to replace the empty dotted lines in “Quiz” from information given in “Answer” by using sed based text search, […]

Categories
Development System & Network

How to mount a RAID array on a Linux server if it does not appear to be listed?

I am helping to administer two CentOS 5 servers, on the “user” side of things. A RAID 1 array and a separate single hard drive were recently added by IT support. According to the IT support, both of these are ready to be mounted on either of the servers. However, I don’t see the RAID […]

Categories
Development System & Network

Opendkim signature fail after postifx change domain name

I have a server on Scaleway with postfix+opendkim installed. I configured posfix to firm the message using opendkim and to encript it using TLS. Initially postix was sending the mail using @hostname instead @domain. To send the mail as “user@domain”, instead “user@hostname”, i forced the operation using parameter “-aFrom:user@domain” of mail command. Next I changed […]

Categories
Development System & Network

Apache 2.4 LDAP lookup sllow

Server is running RHEL 7 and Apache 2.4.6; this is a pretty new (about a week old) problem. My department Intranet uses authentication against the university’s Active Directory environment, and authentication for end-users takes over 30 seconds. Subsequent page loads are nearly-instant, and after some time (timeout, I assume), the problem is back. <Directory /var/www/html/intranet> […]

Categories
Development System & Network

OpenVPN server cannot ping LAN behind router

I have an Asus router with IP 192.168.2.1 and a running Openvpn client 10.8.0.2. The Openvpn server (ubuntu 18)has ip 10.8.0.1. Both client and server can ping each other. Now one desktop (192.168.2.198) is connected to the Asus and obtains an ip from DHCP server. Desktop can ping Openvpn server but not vice versa. How […]

Categories
Development System & Network

RDS 2012 instable and slow

I have a big RDS 2012 organization with more than a hundred RDS Host, 2 brokers, and 2 Gateways and 1 license server. With the time, management become slower and slower and now, it’s very slow and bugy. Server Manager take 20minute to load collections, etc… But my principal problem is that PowerShell cmdlet return […]

Categories
Development System & Network

hostapd AP over both wlan0 and eth1

My hardware setup is currently: Router -> RPi (eth0) -> RPi (wlan0) -> subnet for my devices My desired setup is: Router -> RPi (eth0) -> RPi (wlan0 + eth1) -> subnet for my devices My setup: The RPi access point creates a new subnet with hostapd and dnsmasq. It distributes new IP addresses over […]

Categories
Development System & Network

Azure app service many http requests 3xx

An Azure app service in our tenant is getting about 200-300 HTTP 3xx requests per minute, even with zero activity on the site. I enabled web app logs and all the lines from the logs look like this: GET / X-ARR-LOG-ID=d8f6d689-3c06-436b-aacf-83bee12ceec0 443 – 147.xxx.xx.xx – – – xxxxxxxxxxx.azurewebsites.net 302 0 0 832 915 15 Seems […]

Categories
Development System & Network

How do I temporarily pause, stop, block, or deny users from logging into my Windows Server 2016 application server during maintenance?

I have an application server into which multiple users log in daily, but I want to keep them off while I am working on some maintenance tasks. How can I do that?