Newest Questions

Q&A for system and network administrators

Forcing all DHCP messages to sniff over wireshark

I'am looking for help, and as I dont have an access to AP with DHCP server service I am forced to ask here. I need to know how can I force all 8 of DHCP messages in wireshark using standard DHCP ...

Cannot load mod_rewrite Apache module

I am trying to use mod_rewrite module of Apache24 server, but I am not being able to load it. I know there have been many questions asked regarding this topic and I have gone through all of them but ...

Where to add additional routes in an Ubuntu docker container?

I have an Ubuntu 16.10 host and 16.10 guests. How can I add additional routes in the guests? I was under the impression (at least it used to work in the past) that I need to create a script in /etc/...

Persistent routes for VPN when interface # varies for Debian

I am trying to add persistent routes to my Debian box, which I am using as VPN server. I am currently using "ip route" commands to add the routing. Here's an example of a command that I use: ip ...

NAS with Ubuntu and ZFS for both boot, root and storage [on hold]

I have a server Im planning to install as a NAS, and unlike my earlier NAS running Hardware RAID (Adapted), I have now decided to go for ZFS (ZoL). The server only have 6 SAS/SATA-connectors onboard, ...

What exactly does the variable SERVER_PROTOCOL actually contain (Apache 2.4)?

I have a website served by Apache 2.4 which should serve all contents via HTTPS. I already have appropriate redirections in place which work correctly, but don't catch any pathological case. I wanted ...

Nginx image filename remove dimensions by modifying uri with regex

In nginx config, what is the best way to return the original image when the required image size was not found given wordpress image naming/size notation conventions. So, say if /image-name-150x170....

Development Instance for php/MySQL/MongoDB site

Pretty sure there are many answers online, but it's hard to grasp when you are on the beginning of the way. So we got this huge php codebase, with a few MySQL and one Mongo databases. It started with ...

Nginx map directive not matching rules

I have this nginx config file: map $request_uri $new_uri { default DEFAULT; /shell http://shell.com; /lol http://lol.com; } map $request_uri $ret_code { default 301; /shell 301; ...

Permission denied: AH00649: could not open transfer log file

I've set up a new CentOS 7 + Apache 2.4 server on Google Compute and having some troubles getting my Virtual Hosts configured and working. I was previously on CentOS 6 + 2.2 Apache server. The ...

How do you run MacOS on VirtualBox using an Ubuntu Host? [on hold]

Something I've seen developers writing cross-platform applications do is use a Mac as their development machine, and run Windows and Linux on VirtualBox VMs from the MacOS host system. Is it possible ...

CentOS 7 unable to see iSCSI volumes shared from Fedora 25

Edit: The issue I was having was with an iscsi target I added through Kimchi. I ended up undefining that iscsi target and using the iscsi daemon instead. This made all the LUNs appear as block ...

MS Windows 2003 File Server undelete files

Yesterday, one of my users deleted files from MS Win 2003 file server (via "shared network", \\SERVER), how can i restore them? I tried "RECUVA" and "EASY FILE UNDELETE" - this program found file ...

Postfix, directly send a mail from HOLD (without waiting for pickup daemon)

I do have a Postfix server used as a mail relay, as explained below I would like to reduce the message processing time. Scenario I put mails in hold queue the time I do some automatic validation. ...

Postfix reject unknown local recipients

I have a problem with backscatter. Spammers send emails to non existent username @ existent domain hosted on my server. I am trying to abort the session instead of sending bounce messages back to ...

Package management and building old software

At work we have a vendor supplied library that was delivered to us in the form of C++ headers and .so files. Our production environment has been CentOS 6 for a long time, but we may soon upgrade to ...

WSUS console reports 100% installed but there are still needed updates

Has anyone ever seen this issue? My WSUS server was working correctly until I started testing WSUS Package Publisher as a way to push apps and updates to Windows machines since we do not allow our ...

How to start a mongod fork with db authentication

I created I can authenticate my username and password for my database and it returns "1" in the mongo shell script. use mydatabase switched to db mydatabase db.auth("username", "password") 1 ...

Hosting a Node.js app (Cloud9 SDK) and using Apache as reverse proxy (over HTTPS) won't work

I've been pulling my hair out trying to get this to work. I'm trying to host the Cloud9 SDK (Node.js) app on port 8080 (or whatever port higher than 1024) and use Apache as a reverse proxy over HTTPS ...

Speeding up vCenter Template Cloning

My VM templates are <4GB in size, and when I finish cloning them into a Virtual Machine, they are still <4GB in size: The template: The VM created from that template: My ESXi machine is ...

KVM CentOS 7 host doesn't pass guests traffic but ping each other

I am looking for the answer for few days and any configuration is right for me to set the networking working. I have CentOS 7 (10.120.0.57) with installed KVM on it. I created simple guest (10.120.0....

Windows: 'Query User' command reporting idle time inaccurately (false positives)

I'm working with ten other sysadmins that sometimes forget to log out of servers (or even lock them). For two days or more, I've been trying to come up with a 'script' that'll check each server we ...

ZFS on Linux: How do I correctly configure the vdev_id.conf file and trigger vdev aliasing?

I have been trying to get ZFS on Linux to read / process the vdev_id.conf file and give me a /dev/disk/by-vdev directory, to no avail. I have a SAS HBA with redundant connectivity to several hard ...

ssh tunneling, channel 2: open failed: administratively prohibited: open failed after deleting known_hosts

I deleted known_hosts and now, after a successful SSH tunnel, the web resource I am trying to access on localhost:port throws the above error, sometimes with channel 3. How do I regain access to this ...

Hard disk in not dedecting in Lenovo Thinkserver RD450

We bought one new lenovo Thinkserver RD450 rack server. Server is having 2Number of 1 GB hard disk. We have configured the RAID 1 in server. Then I have started the Debian Jessie OS installation. ...

Automatically killing mongod process on mac os shutdown [on hold]

I think this is a usefull question, since everytime I forget to manually kill the mongod process, the databases need to be repaired. I use a command "pidof" I believe I used brew to install this which ...

DVD Drive UJ-842 not recognized on Poweredge 2850

I purchased this DVD drive from eBay to replace the CD drive in the server, so I would be able to install later, larger OSs onto it. The issue is that it is not being recognized by the system at all. ...

Windows IIS Video Stream Not Playing Audio

I'm trying to figure out IIS on Windows 7. I put a video file in my server folder. When I navigate to that file in a browser on another computer, the video plays, but I get no audio. I've confirmed ...

RewriteEngine Apache on Raspbian clashes with port-share of openvpn [on hold]

I am having an Apache2 server and a OpenVPN server on my Raspberry Pi. Both servers are using the port 443 externally and I have configured the port-share function to allocate the port 4545 to the ...

PHP displays \r\n after a website move to new server [on hold]

I have a wordpress website, and I recently moved it to a new CentOS server running an updated version of Plesk. After the server move, the website now displays the \r\n characters instead of making ...

Nginx - Setup subdomain doesn't work correctly

At beginning, I created a conf file that work correctly when I want to access to http://www.domain.com : server { listen 80; listen [::]:80; root /var/www/domain; index index.html ...

Same MAC for Multiple computers on same network with different IPs [on hold]

Can i run multiple computers/servers having same MAC address on same network?? Is it possible in centos or any other distro? We have Licensed software for one MAC only, so the idea is to run it on ...

CLI vs GUI on a Linux Server in this day and age, what's the downside of GUI?

I'm starting to look into KVM for virtualization because I can't afford vSphere. I'm "OK" at command line and use it often but no pro. I prefer a GUI, but for a server bare minimum has always been the ...

Apache in Linux fail to start. Saying syntax error in line 353

Can somebody tell me what is the syntax error on the following line. When I tried to start Apache, it failed and saying syntax error on line 353. This is in Linux/CentOS. Line #353 as follows: # Load ...

Exim refuses to static route

So I run a cpanel server with exim. I want a few of my domains to go through an external smtp service (spam filterer). I have put every possible configuration combination I can think of in the exim ...

Dozens of processes appeared randomly and I dont know what they are

just now I felt like my webmin was loading extremely slow and I didn't know why becuase I did not open any consuming taks, but then I saw like 30 of these processes running and I do not know what they ...

best configuration for php-fpm server on AWS EC2? [duplicate]

I'm working on migrating our entire site from Linode to amazon, specifically, elastic beanstalk (technically they use EC2 instances). I'm wondering what's the best solution in terms of server ...

Use a Single VPS for Multiple Customers

I run a small web development and design business and also offer hosting to my clients. So far, I've been buying very affordable VPS' and using those for my customers. Since many of my customers have ...

NTFS Compression with Deduplication?

I have installed the Data Deduplication role on Windows Server 2016. Per Microsoft, it's using NTFS compression to help save space: Data deduplication stores more data in less physical space. It ...

How do I log what file paths nginx tries to access?

I have this location in my config file: location ~ "^/assets/\d{13}/(.*)" { root /home/test/web/; try_files build/public/$1 public/$1; } In a request to /assets/1234567890123/vendor/jquery.js, I ...

Managing 3rd party AWS resources

The question is this: can I, as a 3rd party, deploy my software into a customers AWS account and not allow them any access the resources that need to be provisioned for them? So for instance, can I ...

Issues setting up TINC on Mac OSX 10.12.2

I have TINC setup on a few linux boxes and they are working great. linux001 (static ip vps - 10.0.0.1) macosx002 (connects to linux001 - 10.0.0.2) linux050 (connects to linux001 - 10.0.0.50) I also ...

(HP-UX) Why didn't my cron jobs work?

I wonder why my cron job didn't work. Our team consider that the cron job didn't work because we didn't properly update the crontab file. Following is the process what we did: Backup the current cron ...

Outlook 2016 throwing 3 x cert errors on launch

I've got a solution whereby the outlook client is throwing 3 certificate errors each time it is opened. There are two exchange servers, Exch1 and Exch2. When outlook is opened, the cert errors are ...

Squid 502 errors

I am using Squid 3.3.13 with no cache enabled and all my clients in LAN are using it to access to HTTP and HTTPS websites. I am not using it as transparent proxy but clients have it configured in OS ...

OpenVPN Routing to LAN Behind Server

I have a site-to-site VPN configured using OpenVPN. The tunnel seems to come up just fine (and I can ping from one end to another), but I cannot get the networks on the two ends to see each other. ...

Centos - How to avoid bugged yum updates

I'm running a Centos server, and i've had issue with bugged yum updates. Currently i have a cron job, which does a yum update every 3 months, but sometimes i get an update with a bug in it, that ...

Secure Dynamic DNS and DHCP Quandry

Looking for some input on a best practices approach. Currently have an AD domain w/ secure dynamic DNS updates disabled (e.g. any client can update a DNS record). Would like to move away from this. ...

grub-pc update fail, /dev/sda, ext2 doesn't support embedding

Recent update created the grub-pc "File system `ext2' doesn't support embedding." error. I looked all around and found most chiming in that people were installing grub on a partition not the MBR. Well ...

WebRTC based server-google cloud [on hold]

A WebRTC based server was running well for about 2 years on google cloud and has become unresponsive for the last couple of weeks. It still runs well on a local servers as well as on other cloud ...
15 30 50 per page
Translating... 0%