Newest Questions

Q&A for system and network administrators

How to install Wordpress on IIS at root directory(wwwroot)?

I've been trying to install Wordpress using Web PI. However, when I complete installation with default configuration, it is always installed at ://localhost/wordpress, which is inetpub/wwwroot/...

asp.net project deployement using jenkins

I have a IIS server with one website namely DMS, I am trying to deploy my asp.net project on this website using jenkins. My physical path of DMS website is e:/dms. I dont know how to specify ...

Why does my UniFi hardware tell me “Adoption failed”?

I'm battling with a piece of UniFi hardware that refuses to be adopted by a controller. Every attempt is rejected with the unhelpful message "Adoption failed". No other indication or information is ...

Microsoft Storage Spaces: unusable space when using drives with different size

I want to join five drives (4x50GB, 1x100GB) into one pool/drive/file system using storage spaces. I do also want to use the "Mirror" option. So, in my opinion, I should be able to get 150GB mirrored ...

Why is my postfix running as relay?

OK, so this is hugely embarrassing: A while ago I set up a server and installed postfix to send email. Now I have implemented SPF, DMARC and DKIM (using Mailgun for everything else except this one ...

Powershell script to find ad users in windows servers?

At present i need to fetch the ad users available in a server using powershell script??Can anyone help me on this.

modern alternative to condor? [on hold]

We have 3-4 strong linux machines with access to a shared file system (samba) and 5 users. During every work day, all users need to run heavy ad-hoc jobs (C++, shell and python scripts), usually the ...

Direct mount in autofs

I would like to automount a nfs share using autofs but it doesn't work. This works : mount -vvv -t nfs -o vers=3 192.168.0.12:/share /local/data/mydir But when I put this line in my /etc/auto....

Web app user sees content of other web apps

On Debian VPS server, there are two web applications in separate directories, let's call them publicapp and privateapp. There are users for each application (user publicappuser and privateappuser). ...

RDP and pinging works fine, but other applications cannot connect

I have just installed Windows Server 2016 Std on a dedicated server. Network settings all appear to be fine including DNS servers (8.8.8.8, 8.8.4.4). This is a very routine setup for me. I am able to:...

Setting up php 7 w/ Apache 2.4 using php-fpm

I have Apache 2.4 working with php7 using php-fpm. I'm using this block to pass traffic to php-fpm <FilesMatch "\.php$"> SetHandler "proxy:fcgi://127.0.0.1:9000" </FilesMatch> The ...

Domain controller could not be contacted

Attempting to add a new server to our domain and it refuses to join, the error is The following error occurred when DNS was queried for the service location (SRV) resource record used to locate an ...

SharePoint 2013 doesn't send emails

My SharePoint 2013 has stopped sending emails suddenly. I have checked my SMTP settings and outgoing email from central admin and have tried to use PowerShell to test it via this command: [Microsoft....

What is an OEM Device CAL in Microsoft licensing? [duplicate]

If I buy a computer and it has an OEM version of the OS, I understand that. But if I already have machines, andI want to upgrade the Domain to 2016, what does an OEM Client Access License mean in ...

zfs module not found on centos after restart

After I rebooted a CentOS server, ZFS does not work. $ sudo zfs list The ZFS modules are not loaded. Try running '/sbin/modprobe zfs' as root to load them. $ sudo modprobe zfs modprobe: FATAL: ...

Server becomes too slow with high traffic http requests for tracking page loads of multiple sites

We have the following server resources : 16GB RAM Memory Intel Xeon E5-2650 v2 @ 2.60GHz (8 Core) 240GB SSD (RAID 10) 1 IP Address (2 extra) Unmetered Traffic / 1Gbit Port / 100Mbps guaranteed We ...

php preg_replace and non-greedy replacement

I have a variable php > $url = "/api/index.php?app=ajax&act=set"; And want to relpace value of the last key with X, so I expect to have ...=ajax&act=X in result. My attempts and ...

pfSense quit - File system unknown - harddisk corrupt?

I have a pfSense router, and it stopped working. When I connect a monitor the display stays black. When I remove the internal disk and connect it to an Ubuntu laptop, I don't see it in the file ...

Why Varnish does not have any effect in sense of server response time with my nginx upstream and nodejs app?

I saw some php websites after putting Varnish in front of them responding in 0.2 seconds. Now I have: Nginx upstream Varnish in front of 1) Two app servers with nodejs My Varnish setup is standard: ...

BIngbot on my network IP

I was looking my apache logs and I find out this. 192.168.1.2 - - [30/Nov/2016:15:46:52 +0100] "GET http://www.Mywebsite.... HTTP/1.1" 200 5539 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www....

Folder redirection gives error saying that it has failed - but may actually be partially working?

A bit of a weird one this! OS is Windows 10 1607, AD server is based on 2012 R2. So, we're in the process of replacing an old logon script that is creaky beyond belief with a GPO-only approach. The ...

Kubernetes - External Connection through single IP

I'm trying to integrate my application with a Payments Gateway service. However, this service needs to whitelist my servers IP, refusing all other connections for security. Now, I'm running a GKE (3, ...

ACL on root owned folder on CentOS7 not giving access

Using an ACL to give a non-root user access to a root-owned directory- As root- mkdir /testdir chmod 0400 /testdir setfacl -dm u:mike:rwx /testdir getfacl /testdir # file: testdir # owner: root # ...

Use Azure Stream Analytics like EventStore projections

In EventStore, you can use projections to "query" the stream in real-time. Can you do this with Azure Stream Analytics? I know that you can set up a query against EventHub, but can that be accessed ...

Windows 2012 Command prompt not accepting a few commands

I have recently installed Windows 2012. Unable to use common commands previously used e.g. "ipconfig" "hostname" etc. Have tried both Run as Administrator and non admin.

SMTP server failing to relay mail [on hold]

I recently set up a relay only server running Postfix using Ubuntu server 16.04 but I cannot figure out why it fails to send mail. Here is what I have from the mail.log Feb 28 15:40:28 mail postfix/...

HP ProLiant server - PSU error despite replacing PSUs

We have a HP ProLiant ML350 G6 server causing us a few problems. The main symptom was that every so often we would find the server simply powered off. We turned the machine back on and investigated ...

How do you run mongodump on openSUSE Leap 42.1?

MongoDB was installed from package manager (3.2.11 server and shell ). mongo command works. which mongo returns /usr/bin/mongo which mongodump returns which: no mongodump in (...)

how does regsvr32 work

I've been wondering for a while. If you register a dll file on a windows server using regsvr32 do you first need to move the file to your system32 folder or is that actually done automatically once ...

How to simply Reroute an IP to another?

Basically, here is my need : Being able to specify an IP address in the DNS Zones of my 60+ domains, and have the ability to redirect this IP to another one (and change it when needed). I'm not the ...

Kerberos delegation failure with eRR-TGT-REVOKED

I am running an ASP.NET WebAPI service application stack on Windows Server 2012 R2 that utilizes Kerberos delegation to pass end-user credentials to supporting services. The IIS site is configured ...

Windows XP logon fails with multiple NICs

I have a windows XP machine with two NIC's. NIC A is configured as DHCP and connected to the company network. NIC B is configured as static and connected to a network client. The IP ranges of the ...

bridging does not work on Proxmox (OVH)

We are using ProxMox on OVH. We have followed the following guide in the way that can be seen in the attached screenshots down below: http://docs.ovh.ca/en/guides-network-bridging.html However, ...

Can Asterisk's phoneprov module be used securely?

I'm using Asterisk 13.1.0 as packaged by Ubuntu Server 16.04 to run a pure-VoIP phone system. Asterisk has a module – phoneprov – that allows it to template out configuration files for ...

Powershell gives different results in Exchange, than in Office 365

I run the following commands to return all mailboxes that have a forwarding address configured: Get-Mailbox -ResultSize Unlimited | Where {$_.ForwardingAddress -ne $Null} I then extract the email ...

netdom join switch lowercase hostname to uppercase

When I join some pc to domain the hostname of the PC switching to uppercase. Since we have mixed ( linux/windows ) environment this provide us some issues. How can I join the PC with lowercase ...

LVM detecting signatures on underlying block device despite filters

So I'm asking this question solely so I can post my own solution. I ran into a situation where my disks looked like this: LVM DRBD-RESOURCE UNDERLYING-BLOCK-DEVICE Using Drbd 9, I was running into a ...

Domain info in kibana and packetbeat

So I'm trying to work out how to create a graph in Kibana 5.2 using info from packetbeat that has logging hosts along the X axis and data transfered in GB along the Y axis. The x axis for each host ...

Event ID 15 Occurring on Server 2012 & 2012 R2 VMs running on ESXi 5.5 during snapshot

We're seeing event ID 15 occurring on a lot of recently created Windows Server 2012 & 2012 R2 VMs that are running on ESXi 5.5. During snapshot creation (no memory snap, yes quiesce), Event ID 15 ...

Constantly High CPU usage, from one site

I have a server at DigitalOcean, and it mostly used to run a couple of low traffic WP sites, and 90% of the sites are running fine. BUT! one of the sites, is constantly having 5-20 (depends on what i ...

How to get details of a Linux LPAR from the Linux terminal?

I am working on a project which uses both, IBM AIX and Linux LPARs. I need to get information about my Linux LPAR from the Linux terminal itself. I am using CentOS Linux, version 7. There is a ...

How to estalibished a website in linux server [on hold]

I am new to this topic.I installed a new linux centos server to establish my web site,so i started the apache service through command service httpd start chkconfig httpd on I did changes in /etc/...

CentOS: How to start Apache on bootup IF the hostname ends in '-1'

I know 'how to add Apache to the automatically start on boot services' has been asked a million times. But does anybody know how I can only start it if the server's hostname ends '-1'? E.g. If I have ...

openshift private registry fails to push

I am trying to push an image to my local openshift private registry. I get the following error in the logs: msg="response completed with error" err.code=unknown err.detail="User \"system:...

How do I set PAM_RUSER when log in into ssh server?

I'm trying to log all ssh connections with logger and notification by mail. I have followed this : #179889 #!/bin/sh sender="xxx" recepient="xxx" if [ "$PAM_TYPE" != "close_session" ]; then ...

How to deploy terraform and ansible playbooks to provision aws autoscaling group instances automatically

I am currently using terraform to create aws service namely ELB,autoscaling group and its ec2 instances. Im stuck on how to integrate ansible playbooks to provison the new ec2 instances that are ...

how to disable run via search on Windows 10?

We are trying to prevent our users from running various commands that we don't specifically approve. We have implemented Applocker, but that doesn't prevent the user from running commands beginning ...

skip local network restriction on cisco vpn client in Linux [on hold]

I need to share one cisco vpn connection with various clients on my LAN. For this, I want to use a linux as router and NAT the connections through the cisco VPN. My problem is the cisco client blocks ...

query the deletion progress

I am deleting approximately 4 million files from a partition and despite the size of all folders is around 350GB is taking a huge amount of time, over 4 hours now. Is there a way or a command to ...

immediatelly upon creating the first project in rundeck I get “Not authorized to view Project”

I installed Rundeck 2.7.2-1 by downloading rundeck-launcher-2.7.2.jar from their site, logged in the web UI with admin, created a project, and I immediately get "Not authorized to view Project". Tried ...
15 30 50 per page
Translating... 0%