Greatest Hits

12
votes
2answers
30k views

Creating SFTP users and jailing to chroot on CentOS - user authentication error

I've got a CentOs release 6.4 with Digital Ocean and would like to successfully create SFTP users and jail them to the user's own chroot home directory but I fear I'm making a mess of this. I've ...
4
votes
1answer
49k views

How to execute datapump commands as sysdba from remote machine

I would like to know the syntax to call datapump commands (expdp/impdp) logged as 'sys as sysdba' from a remote machine. I know that when logged on the machine which runs the database, I can use : ...
37
votes
12answers
68k views

How do you organise the cables in your racks?

I'm migrating my current half-size rack to a full-size rack and want to take the opportunity to reorganize and sort our spaghetti-hell of ethernet cables. What system do you use for organising your ...
11
votes
5answers
22k views

Clearing/Deleting Docker Logs

On our docker implementation on GCE, we are running out of space on the root file system. Since images themselves are stored on a separate 1TB volume, the images themselves shouldn't be the problem. ...
5
votes
3answers
25k views

USB drive not detected in Intel EFI shell

I must update an Intel S3420GPLC board. BIOS, BMC, FRU / SDR, the whole thing. Everything is pretty much automated in the Intel download. You're supposed to boot to the integrated EFI shell, mount ...
5
votes
5answers
30k views

This network location can't be included because it is not indexed

We are in the process of migrating a bunch of users' home directories onto a new server running Windows Storage Server 2008 R2. For most users, this has gone well and our group policy has done its ...
10
votes
3answers
27k views

Some systems cannot connect to ldap via ldaps, but others can, is it the wildcard cert?

When trying to make ldaps connections to my Novel eDirectory 8.8 server, sometimes I have to put TLS_REQCERT never in the client servers ldap.conf file. Obviously, this is a bad idea. The command I ...
10
votes
1answer
27k views

How to disable RDP access for Administrator

We need to disallow the domain Administrator account to access a server directly via RDP. Our policy is to log on as regular user and then use Run As Admin functionallity. How can we set this up? The ...
15
votes
4answers
30k views

Nginx: How do I forward a http request to another port?

What I want to do is, When someone visit http://localhost/route/abc the server response exactly the same as http://localhost:9000/abc Now I configure my Nginx like this: location /route { ...
26
7
votes
3answers
24k views

Stop log off when disconnected from RDP session

I don't want my VPS to log off disconnected sessions. It's really annoying because some programs freeze then. OS is Windows Server 2008 R2. How do I prevent disconnected sessions from being logged ...
27
16
votes
3answers
19k views

How do I make a connection private on Windows Server 2012 R2

After a restart of one of our servers (a Windows Server 2012 R2), all private connections become public and vice versa (this user had the same problem). Stuff like pinging and iSCSI stopped working, ...
6
votes
3answers
58k views

Allow Domain Users to install software on their computers

How would I go about allowing a 'domain user' to install software on their computer. I have active directory and group policy in place. Is there a setting in group policy that would allow this? I don'...
11
votes
5answers
44k views

How can I clear cached domain credentials?

Related: How can I enable domain authentication over wireless in Windows 7/2k8? To test the domain login over wireless connection feature I'm trying to set up in the above question, I need an ...
5
votes
2answers
57k views

How do I get robocopy to use a log file which includes spaces?

I'm trying the following command: robocopy "x:\dir" "y:\dir" /mir /z /tee /fft /nfl /ndl /eta /log:"x:\path to logs\12-15-11 01 file with spaces.txt" I'm getting this error: ERROR : Invalid ...
11
votes
1answer
29k views

How to install GD library in php?

when I tried to use imagefromjpeg() function in PHP,it throwed error.So, I tried to install GD library using the following command: sudo apt-get install php5-gd But I got the following error. ...
0
votes
5answers
54k views

How to solve error 550 4.4.7

One sender is not able to send us e-mail from external domain because of this problem. Do you know how to solve it? error message: 550 4.4.7 queue.expired; message.expired thank you
29
votes
7answers
71k views

SMTP server on Windows 7

Is it possible to install the SMTP server that you can install in Windows Server 2008 in Windows 7? Or something similar? I'm developing an application that will make use of it and I want to be able ...
12
votes
4answers
35k views

Any reason not to enable DoS Defense in my router?

I recently found a DoS Defense setting in my DrayTek Vigor 2830 router, which is disabled as default. I'm running a very small server on this network and I take it very serious to have the server up ...
11
votes
3answers
25k views

Why does Android Chrome say my site's security certificate is not trusted?

My site is https://blendbee.com. It's using a PositiveSSL certificate that is valid. In Windows 8 Chrome the certificate is fine (green lock in top left corner). But...on my Android, it's not so ...
28
votes
3answers
38k views

How to list Apache enabled modules?

Is there a command that list all enabled Apache modules?
0
votes
2answers
47k views

How do I import ADMX files for Microsoft Office 2013?

There is no ADM file (policy template) that I can find for MS Office 2013 so I can't figure out how to get the ADMX files imported to create GPOs. Any help would be greatly appreciated.
19
votes
1answer
25k views

An upstream response is buffered to a temporary file

I have a rather large and slow (complex data, complex frontend) web application build in RoR and served by Puma with nginx as reverse proxy. Looking at the nginx error log I see quite a few entries ...
11
votes
3answers
51k views

User in domain admin group cannot access directory the group has permission to access

I've run into a rather interesting issue when playing with one of my domain labs. There's a directory on a 2008 R2 fileserver that's being used for folder redirection for all users in the "Staff" OU. ...
6
votes
3answers
13k views

What does “localhost | FAILED => Missing become password” mean? How do I get past it?

I have a Ubuntu 14.04 virtual machine set up in virtualbox and I am trying to follow these instructions. https://serversforhackers.com/an-ansible-tutorial When I get to the module section and try to ...
20
12
votes
1answer
22k views

nginx set variable in location

I am trying to optimize my nginx configs, so it would be possible to set one variable, and all location paths would update automatically. I have four lines in question: server_name php.domain.com; ...
10
9
votes
6answers
46k views

VMware VMFS5 and LUN sizing - multiple smaller datastores, or 1 big datastore?

With VMFS5 no longer having the 2TB limit for a VMFS volume, I'm considering which scenario would be more beneficial overall:- Less LUNs of larger size, or More LUNs of smaller size. In my case, I ...
2
votes
4answers
32k views

How to enable remote device manager?

I have a hyper-v-server-2012-r2 Core server thats not joined to any domain. What configuration must i do on the server and client to connect with MMC \ Device Manager? I have managed to connect with ...
4
votes
5answers
51k views

Cannot login to SQL Server 2008 R2 with Windows authentication

When i try to connect to SQL Server (2008 R2) using Windows authentication: i cannot: Checking the Windows Application event log, i find the error: Login failed for user 'AVATOPIA\ian'. ...
1
vote
4answers
22k views

Fix/Bypass “Cannot connect to the real website-blocked” error in Google Chrome with OpenDNS blocking

Tl;Dr: How do I stop chrome from refusing to load pages that are blocked by OpenDNS, where the server has explicitly requested HTTPS? Long question: I have a large problem with Chrome in my ...
2
votes
3answers
29k views

'The'account is not authorized to login from this station' error while trying to acccess network share

Clients are getting this error when trying to access network shares on one of our 2008 R2 servers: The account is not authorized to login from this station. The problem started a few weeks ago. ...
6
votes
2answers
37k views

How to find all ways in which a Unix user account is locked

I occasionally find myself in a situation where an undermaintained system has an account that's been locked out. The problem is that there are a variety of ways in which an account can be locked out, ...
26
votes
2answers
39k views

Bandwidth limits for Amazon EC2

I have a micro instance on Amazon EC2 cloud. Also the instance is small and it has vary low CPU and EAM usage but it generates a lot of content, so it can be considered like a web server serving ...
0
votes
3answers
34k views

mount.nfs: access denied by server while mounting in Ubuntu Machine?

I have three machines - machineA 10.108.24.132 machineB 10.108.24.133 machineC 10.108.24.134 and all those machines have Ubuntu 12.04 installed in it and I have root access to all those ...
17
votes
1answer
18k views

The right way to keep docker container started when it used for periodic tasks

I have docker container with installed and configured software. There is no any programm supposed to be started/runned all the time. What I want - its ability to start some command depending on ...
14
0
votes
1answer
23k views

Disable Windows locking with a GPO?

I have set up a lab with a number of Windows Server 2012 R2 machines. The lab has an Active Directory domain (DFL: Windows Server 2012 R2, FFL: Windows Server 2012 R2) and these machines are joined to ...
12
votes
2answers
45k views

Enabling mod_headers on apache2

I'm trying to enable the module "headers" into my apache2 installation on ubuntu 10.04 system, here's some info: Server version: Apache/2.2.14 (Ubuntu) when I run the command: a2enmod headers I ...
5
votes
3answers
23k views

ZFS - Is RAIDZ-1 really that bad?

I have an NAS server with 4x 2TB WD RE4-GP drives in a RAID10 configuration (4TB usable). I'm running out of space (<1TB usable space left). I have $0 to spend on bigger/more drives/enclosures. I ...
11
votes
1answer
45k views

Accessing a windows shared folder from Linux?

I am trying to copy a (.html) file from a Windows XP Professional shared folder onto a server running Ubuntu Linux 10.04 LTS. As it's a shared folder the usual 'wget' doesn't seem to work. I suspect ...
6
votes
3answers
21k views

What is the difference between a HBA card and a RAID card?

I thought I knew the difference between HBA and RAID. In my mind, HBA is offloading from the main motherboard/CPU and is simply JBOD... usually has an external SAS ports, whilst a RAID card does the ...
5
votes
1answer
44k views

IPsec VPN site-to-site: How should I configure the ipsec.conf files on both sites to get the tunnel up?

What I am trying to do is to create a site-to-site IPsec VPN between my network and my friend's network. We both have a router and two computers on each router, with all computers running Linux. So I ...
8
votes
4answers
44k views

How to enable all HTTP methods in an Apache HTTP Server

How can I enable the handling of all HTTP methods as defined in RFC 2616 on Apache web server ? These would be: OPTIONS GET HEAD POST PUT DELETE TRACE CONNECT I am using the Apache HTTP Server, ...
5
votes
1answer
30k views

What exactly does netsh int ip reset reset?

Having got this problem and found this solution I think I should perhaps try netsh int ip reset reset command but I am afraid it can reset some important settings and disable me from reaching the ...
3
votes
4answers
22k views

haproxy logging to syslog

I installed haproxy 1.5 via apt-get on ubuntu 14.04 via ppa:vbernat/haproxy-1.5 as per http://haproxy.debian.net/ The problem is it logging to /var/log/syslog instead of /var/log/haproxy.log The ...
3
votes
3answers
43k views

Using a GPO to run a batch file once

Is it possible that I could setup a GPO list for newly installed computers with many batch files (mainly file moving) and these would run only once and never again? I am beginner on this and I haven'...
16
votes
5answers
64k views

How to have Windows Server DNS use hosts file to resolve specific host names

[NOTE: The solution of this question is perfect, by something stray away from what the title indicates.] I'm facing a small problem with Windows Server 2003 DNS service. In my corporation, I'm ...
5
votes
1answer
29k views

Telnet Results in “Connection closed by foreign host”

I'm not a networking guy, so I apologize if my question is dumb. I have two Ubuntu machines setup on Amazon EC2. I need to "talk" from one to the other via port 9300. On my receiving machine, I ran ...
6
votes
3answers
22k views

KVM/libvirt: How to configure static guest IP addresses on the virtualisation host

What I'd like to do is to set the guests' network configuration (IP address, subnet, gateway, broadcast address) from the host system. The used network setup is in bridge mode. How can I configure the ...
9
votes
2answers
31k views

Filtering Security Logs by User and Logon Type

I have been asked to find out when a user has logged on to the system in the last week. Now the audit logs in Windows should contain all the info I need. I think if I search for Event ID 4624 (Logon ...
5
votes
2answers
27k views

keytab auth against samba 4 DC: Client not found in Kerberos database while getting initial credentials

I set up a samba 4 active directory on ubuntu 14.04 following Samba AD DC HOWTO. In principle everything works well but I'm stuck in getting kerberos authentication running using SPNs for web ...
4
votes
3answers
35k views

Excessive 'TCP Dup ACK' & 'TCP Fast Retransmission' causing issues on network. What's causing this?

I'm getting excessive TCP Dup ACK and TCP Fast Retransmission on our network when I transfer files over the MetroEthernet link. The two sites are connected by one sonicwall router, so the sites are ...