Skip to main content

Posts

Showing posts from May, 2019

storage - NHS WD Drive into HS HP DL180 G6 (SATA) Slot

itemprop="text"> I'm trying to find out if Non Hot Swap drives can be plugged into Hot Swap slots on a HP DL180 G6 server. I've been searching around but haven't found the answer I am looking for. I also can't find the manual for the server before we buy one. Reason for this is because HP drives cost like they have gold in them. I can get 2TB WD black's for like $150 locally. The question is, will 2TB WD black's work? Yes we are saving money and no this will not host mission critical data. It will only store videos. Answer For modern drives (SAS / SATA), HP's "Hot swap" and "Non-hot swap" drive designations refer to the type of drive caddy (** and controller) used, rather than anything particular about the drive. All SATA and SAS drives are electrically hotswappable. (Fo

storage - NHS WD Drive into HS HP DL180 G6 (SATA) Slot

I'm trying to find out if Non Hot Swap drives can be plugged into Hot Swap slots on a HP DL180 G6 server. I've been searching around but haven't found the answer I am looking for. I also can't find the manual for the server before we buy one. Reason for this is because HP drives cost like they have gold in them. I can get 2TB WD black's for like $150 locally. The question is, will 2TB WD black's work? Yes we are saving money and no this will not host mission critical data. It will only store videos. Answer For modern drives (SAS / SATA), HP's "Hot swap" and "Non-hot swap" drive designations refer to the type of drive caddy (** and controller) used, rather than anything particular about the drive. All SATA and SAS drives are electrically hotswappable. (For SCSI and IDE disks, there was a real difference - only SCA SCSI disks were hotswappable, nothing else was) So, if you have the correct disk caddies already, you can physic

Checking if my hostname is correct (ovh vps + centos7)

itemprop="text"> I recently purchased a VPS from OVH with Centos 7 preinstalled. I want to make sure my hostname is correctly set. According to some tutorials: hostname returns the hostname />hostname -f returns the FQDN After executing these commands, I got the same result: vpsxxxxxxxx.ovh.net I thought hostname and FQDN are different! cat /etc/hosts 127.0.0.1 - localhost IP - vpsxxxxxxxx.ovh.net - vpsxxxxxxxx I am confused, I have linked a domain name that I have purchased separately to my VPS, I am also planning to add another domain name to run two sites in my VPS. Is my hostname correct? />How can we call vpsxxxxxxxx.ovh.net? An external domain name, an internal domain, a hostname, a subdomain of ovh.net? What about the two domains names that I have linked to the VPS? Do they need some

Checking if my hostname is correct (ovh vps + centos7)

I recently purchased a VPS from OVH with Centos 7 preinstalled. I want to make sure my hostname is correctly set. According to some tutorials: hostname returns the hostname hostname -f returns the FQDN After executing these commands, I got the same result: vpsxxxxxxxx.ovh.net I thought hostname and FQDN are different! cat /etc/hosts 127.0.0.1 - localhost IP - vpsxxxxxxxx.ovh.net - vpsxxxxxxxx I am confused, I have linked a domain name that I have purchased separately to my VPS, I am also planning to add another domain name to run two sites in my VPS. Is my hostname correct? How can we call vpsxxxxxxxx.ovh.net? An external domain name, an internal domain, a hostname, a subdomain of ovh.net? What about the two domains names that I have linked to the VPS? Do they need some configurations in /etc/hosts? I have to fix these issues to enable postfix mail server. Answer The hostname should always be set to the FQDN in CentOS 7, according to Red Hat's recommendations. A ho

linux - Recovering from bad chown command

itemprop="text"> I was going to change the ownership of a directory to apache:apache , but I ended up running: chown -R apache:apache / Bad! Very bad! I knew what was going on when it started saying: chown: changing ownership of `/proc/2694/fd/48': Permission denied That's when I stopped everything (Ctrl+C). /> The current system I have is a server running virtualbox running CentOS 5. This problem happened inside the VM. Currently, everything seems to be working, but I have not restarted the system yet, and to be honest, I'm afraid that if I did something will break. I do not know chown 's order, should I be concerned and assume something will break after a reboot? Is there a way to recover form this problem without having to rely on backups? I do have a

linux - Recovering from bad chown command

I was going to change the ownership of a directory to apache:apache , but I ended up running: chown -R apache:apache / Bad! Very bad! I knew what was going on when it started saying: chown: changing ownership of `/proc/2694/fd/48': Permission denied That's when I stopped everything (Ctrl+C). The current system I have is a server running virtualbox running CentOS 5. This problem happened inside the VM. Currently, everything seems to be working, but I have not restarted the system yet, and to be honest, I'm afraid that if I did something will break. I do not know chown 's order, should I be concerned and assume something will break after a reboot? Is there a way to recover form this problem without having to rely on backups? I do have a daily one, but I thought there may be a simpler way out. Answer It would be good to have an old backup, but IMHO it would suffice to be able to extract the ownership data. I would it do this way: First, make a backup of the

domain name system - Is the Reverse PTR record fine

I've checked my email headers at href="http://mxtoolbox.com" rel="nofollow noreferrer">http://mxtoolbox.com which says it is ok. But I'm not sure. MY server's FQDN is host.tariffplansindia.com and for my server's IP( 23.239.30.81) the reverse PTR record resolves to tariffplansindia.com. But all my emails have server name as host.tariffplansindia.com. Do 23.239.30.81's reverse PTR need to resolve to host.tariffplansindia.com or is it ok with set currently(tariffplansindia.com ) Email headers: Delivered-To: rag.rag22@gmail.com Received: by 10.114.81.66 with SMTP id y2csp615139ldx; Mon, 17 Nov 2014 18:25:05 -0800 (PST) X-Received: by 10.182.215.136 with SMTP id oi8mr27687082obc.18.1416277503115; Mon, 17 Nov 2014 18:25:03 -0800 (PST) Return-Path: Received: from host.ta

domain name system - Is the Reverse PTR record fine

I've checked my email headers at http://mxtoolbox.com which says it is ok. But I'm not sure. MY server's FQDN is host.tariffplansindia.com and for my server's IP( 23.239.30.81) the reverse PTR record resolves to tariffplansindia.com. But all my emails have server name as host.tariffplansindia.com. Do 23.239.30.81's reverse PTR need to resolve to host.tariffplansindia.com or is it ok with set currently(tariffplansindia.com ) Email headers: Delivered-To: rag.rag22@gmail.com Received: by 10.114.81.66 with SMTP id y2csp615139ldx; Mon, 17 Nov 2014 18:25:05 -0800 (PST) X-Received: by 10.182.215.136 with SMTP id oi8mr27687082obc.18.1416277503115; Mon, 17 Nov 2014 18:25:03 -0800 (PST) Return-Path: Received: from host.tariffplansindia.com (tariffplansindia.com. [2600:3c00::f03c:91ff:fe73:2b08]) by mx.google.com with ESMTPS id q10si41713064obk.50.2014.11.17.18.25.02 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);

windows server 2003 - Should I use IIS for High Traffic WebApp

itemprop="text"> My company is planning one new big web app. We are expecting around 250K hits per day in the first month. I'm used to work with large traffic sites, but using Apache and Lighttpd, etc. But for this project the client want .NET to be the tool. So I'm really sceptic about IIS as Webserver. What is your advise? Use IIS? How to scale IIS? Is it possible do handle this amount of Traffic? The versions of IIS in Windows 2003 are diferent from the ones in Windows 2008? Regards, />Pedro itemprop="text"> class="normal">Answer You'll probably want to go with Server 2008 since that has IIS7. Don't buy the FUD about IIS. When was the last time you heard about microsoft.com being down? Poke around on the href="http://

windows server 2003 - Should I use IIS for High Traffic WebApp

My company is planning one new big web app. We are expecting around 250K hits per day in the first month. I'm used to work with large traffic sites, but using Apache and Lighttpd, etc. But for this project the client want .NET to be the tool. So I'm really sceptic about IIS as Webserver. What is your advise? Use IIS? How to scale IIS? Is it possible do handle this amount of Traffic? The versions of IIS in Windows 2003 are diferent from the ones in Windows 2008? Regards, Pedro Answer You'll probably want to go with Server 2008 since that has IIS7. Don't buy the FUD about IIS. When was the last time you heard about microsoft.com being down? Poke around on the netcraft.com site and you'll not be skeptical anymore. Here is a great resource about what's coming up in the Web Farm Framework for IIS 7 that has to do with scaling, load balancing, and provisioning.

linux - Removing files takes too long

Short version : rm -rf mydir , with mydir (recursively) containing 2.5 million files, takes about 12 hours on a mostly idle machine. More information : Most of the files being deleted are hard links to files in other directories (the directory being deleted is actually the oldest backup made by rsnapshot ; the rm command is actually given by rsnapshot ). So it's mostly directory entries being deleted - the file content itself isn't much; it's in the order of some tens of GB. I'm far from certain that btrfs is the culprit. I recall backup was also very slow before I started to use btrfs , but I'm not certain that the slowness was in the deletion. The machine is an Intel Core i5 2.67 GHz with 4 GB RAM. It has two SATA disks: one has the OS and some other stuff, and the backup disk is a 1 TB WDC

linux - Removing files takes too long

Short version : rm -rf mydir , with mydir (recursively) containing 2.5 million files, takes about 12 hours on a mostly idle machine. More information : Most of the files being deleted are hard links to files in other directories (the directory being deleted is actually the oldest backup made by rsnapshot ; the rm command is actually given by rsnapshot ). So it's mostly directory entries being deleted - the file content itself isn't much; it's in the order of some tens of GB. I'm far from certain that btrfs is the culprit. I recall backup was also very slow before I started to use btrfs , but I'm not certain that the slowness was in the deletion. The machine is an Intel Core i5 2.67 GHz with 4 GB RAM. It has two SATA disks: one has the OS and some other stuff, and the backup disk is a 1 TB WDC WD1002FAEX-00Z3A0 . The motherboard is an Asus P7P55D. Edit : The machine is a Debian wheezy with Linux 3.16.3-2~bpo70+1 . This is how the filesystem is mounted: root@thames

windows server 2008 - Changing user's last name in Active Directory and implications for redirected folders

itemprop="text"> I have an Active Directory domain, running on Windows Server 2008 DCs. I have this user who got married and changed her last name. I have already changed her last name in Exchange 2007, created a new alias for her email and assigned it as Primary SMTP address, so i think Exchange is taken care of. Now, i haven't changed her user name yet (the convention is flastname) because i have redirected folders with offline files at this site. The user is using a Windows 7 based laptop and she uses it both onsite and remotely, where she VPNs in with a Cisco VPN Client. What are the implications and precautions for changing her username in this environment? If i went ahead and changed her username, would redirected folders log her onto a blank profile? or would it redirect her to her profile folder using her SI

windows server 2008 - Changing user's last name in Active Directory and implications for redirected folders

I have an Active Directory domain, running on Windows Server 2008 DCs. I have this user who got married and changed her last name. I have already changed her last name in Exchange 2007, created a new alias for her email and assigned it as Primary SMTP address, so i think Exchange is taken care of. Now, i haven't changed her user name yet (the convention is flastname) because i have redirected folders with offline files at this site. The user is using a Windows 7 based laptop and she uses it both onsite and remotely, where she VPNs in with a Cisco VPN Client. What are the implications and precautions for changing her username in this environment? If i went ahead and changed her username, would redirected folders log her onto a blank profile? or would it redirect her to her profile folder using her SID? Answer These questions depend on a more detailed explication of how the redirected folders are done. Are they via GPO? If so how does the GPO map them? Via %username%

domain name system - DNS service discovery and SRV record format conflict

In the rel="nofollow noreferrer">RFC 2782 for SRV record type we can read: The format of the SRV RR Here is the format of the SRV RR, whose DNS type code is 33: _Service._Proto.Name TTL Class SRV Priority Weight Port Target (There is an example near the end of this document.) Service The symbolic name of the desired service, as defined in Assigned Numbers [STD 2] or locally. An underscore (_) is prepended to the service identifier to avoid collisions with DNS labels that occur in nature. Some widely used services, notably POP, don't have a single universal name. If Assigned Numbers names the service indicated, that name is the only name which is legal for SRV lookups. The Service is case insensitive. Proto The symbolic name of the desired protocol, with an underscore (_) prepended to preve

domain name system - DNS service discovery and SRV record format conflict

In the RFC 2782 for SRV record type we can read: The format of the SRV RR Here is the format of the SRV RR, whose DNS type code is 33: _Service._Proto.Name TTL Class SRV Priority Weight Port Target (There is an example near the end of this document.) Service The symbolic name of the desired service, as defined in Assigned Numbers [STD 2] or locally. An underscore (_) is prepended to the service identifier to avoid collisions with DNS labels that occur in nature. Some widely used services, notably POP, don't have a single universal name. If Assigned Numbers names the service indicated, that name is the only name which is legal for SRV lookups. The Service is case insensitive. Proto The symbolic name of the desired protocol, with an underscore (_) prepended to prevent collisions with DNS labels that occur in nature. _TCP and _UDP are at present the most useful values

configuration - Help needed setting up nginx to serve static files

I'm trying to setup nginx to serve static files. Basically all I need is to have rel="noreferrer">http://mydomain.com/site_media/ point to /var/django/myproject/site_media. I have tried so many configurations and when I test it I always get a 404 error for static files. Can anyone please tell me what I'm doing wrong or how I should be setting this up? This is my current nginx configuration file. user www-data; worker_processes 1; #error_log /usr/local/nginx/logs/error.log; #pid /usr/local/nginx/logs/nginx.pid; events { worker_connections 1024; use epoll; } http { # Enumerate all the Tornado servers here upstream frontends { server 127.0.0.1:8000; server 127.0.0.1:8001; server 127.0.0.1:8002; server 127.0.0.1:8003; } include mime.types; default_type applic

configuration - Help needed setting up nginx to serve static files

I'm trying to setup nginx to serve static files. Basically all I need is to have http://mydomain.com/site_media/ point to /var/django/myproject/site_media. I have tried so many configurations and when I test it I always get a 404 error for static files. Can anyone please tell me what I'm doing wrong or how I should be setting this up? This is my current nginx configuration file. user www-data; worker_processes 1; #error_log /usr/local/nginx/logs/error.log; #pid /usr/local/nginx/logs/nginx.pid; events { worker_connections 1024; use epoll; } http { # Enumerate all the Tornado servers here upstream frontends { server 127.0.0.1:8000; server 127.0.0.1:8001; server 127.0.0.1:8002; server 127.0.0.1:8003; } include mime.types; default_type application/octet-stream; #access_log /usr/local/nginx/logs/access.log; keepalive_timeout 65; proxy_read_timeout 200; sendfile on; tcp_nopush on; tcp_nodela

Poor Disk Performance on VMs; Host using PERC H310 RAID 5

I have a Dell R620 running 5 500GB 7.2K RPM SATA 3Gbps 2.5in Hot-plug Hard Drives in a PERC H310 controller (which I am beginning to regret buying). I am getting awful read/write speeds on Linux VMs (Fedora 19, Cent 6 and Ubuntu 12.04) running ESXi 5.0 free license. Using Thin, Thick or Sparse VMDKs don't make a difference. An example hdparm: cached reads 9750 MB in 2.00 seconds = 4877.74 MB/sec buffered reads: 42 MB in 3.44 seconds = 12.21 MB/sec Also a dd if=/dev/zero of=test bs=1048576 count=2048 (to create an arbitrary 2GB file) took about a minute and a half! I have a very similar host with a software RAID controller that has similar VMs which are much faster in disk speeds. I didn't set up the RAID, I only manage the server, but IT sets them up. The Datastore shows an average 1.189 millisecond latency for r

Poor Disk Performance on VMs; Host using PERC H310 RAID 5

I have a Dell R620 running 5 500GB 7.2K RPM SATA 3Gbps 2.5in Hot-plug Hard Drives in a PERC H310 controller (which I am beginning to regret buying). I am getting awful read/write speeds on Linux VMs (Fedora 19, Cent 6 and Ubuntu 12.04) running ESXi 5.0 free license. Using Thin, Thick or Sparse VMDKs don't make a difference. An example hdparm: cached reads 9750 MB in 2.00 seconds = 4877.74 MB/sec buffered reads: 42 MB in 3.44 seconds = 12.21 MB/sec Also a dd if=/dev/zero of=test bs=1048576 count=2048 (to create an arbitrary 2GB file) took about a minute and a half! I have a very similar host with a software RAID controller that has similar VMs which are much faster in disk speeds. I didn't set up the RAID, I only manage the server, but IT sets them up. The Datastore shows an average 1.189 millisecond latency for reads and a 6.3 millisecond latency for writes. The datastore shows 1.89 TB so that is about correct for 5 x 500 GB drives in a RAID 5. Initially I was thinking may

hard drive - HP ProLiant Server HDDs - Buy Spare Parts vs. Retail

itemprop="text"> sometimes i have to upgrade HP Servers. For example when they get a new "job" to do. So lets say i need some more HDDs for an DL360 G7 Server. If the Server has an active HP Care Pack, does it matter if i buy HP Spare Parts? Often they are much cheaper than retail HDDs. (I often saw on internet e.g. $250 retail / $210 spare part - but it is the same Disk Type!) And if i use them in an Server with active Care Pack, i do not have to worry about the warranty. If the HDD crashes the HDD will be replaced no matter if it was an "retail" Product or an "spare part". So am i right, or are there any disadvantages i didn't think about? class="post-text" itemprop="text"> class="normal">Answer HP ProLiant server warranties follow the chassis. T

hard drive - HP ProLiant Server HDDs - Buy Spare Parts vs. Retail

sometimes i have to upgrade HP Servers. For example when they get a new "job" to do. So lets say i need some more HDDs for an DL360 G7 Server. If the Server has an active HP Care Pack, does it matter if i buy HP Spare Parts? Often they are much cheaper than retail HDDs. (I often saw on internet e.g. $250 retail / $210 spare part - but it is the same Disk Type!) And if i use them in an Server with active Care Pack, i do not have to worry about the warranty. If the HDD crashes the HDD will be replaced no matter if it was an "retail" Product or an "spare part". So am i right, or are there any disadvantages i didn't think about? Answer HP ProLiant server warranties follow the chassis. That covers everything inside the machine as long as you use HP parts !! So the wise thing to do with something like a G7 server in 2014 is: Keep the server's warranty active. Once you hit the 3 year factory warranty, you can buy additional 1 or 2-year Care

iptables - Server behind DMZ firewall won't respond

I have a DMZ server set up to forward specific ports to a couple of machines. The intended behavior is for me to send a request to the DMZ on a specific port, and have the machine that's inaccessible publicly respond with data. In this example, I'm forwarding port 10001 to the non-pub server on port 80. I can see that the forward is working, because I can see the packets come in via tcpdump on the server. For whatever reason, the packets it responds with aren't making it back to my terminal (I'm curling). iptables-save: # Generated by iptables-save v1.4.10 on Fri Dec 23 17:36:10 2011 *nat :PREROUTING ACCEPT [5609:332934] :INPUT ACCEPT [5609:332934] :OUTPUT ACCEPT [5231:376507] :POSTROUTING ACCEPT [5248:377595] -A PREROUTING -i eth0 -p tcp -m tcp --dport 10001 -j DNAT --to-destination 192.168.1.11:80 COMMIT # Completed on

iptables - Server behind DMZ firewall won't respond

I have a DMZ server set up to forward specific ports to a couple of machines. The intended behavior is for me to send a request to the DMZ on a specific port, and have the machine that's inaccessible publicly respond with data. In this example, I'm forwarding port 10001 to the non-pub server on port 80. I can see that the forward is working, because I can see the packets come in via tcpdump on the server. For whatever reason, the packets it responds with aren't making it back to my terminal (I'm curling). iptables-save: # Generated by iptables-save v1.4.10 on Fri Dec 23 17:36:10 2011 *nat :PREROUTING ACCEPT [5609:332934] :INPUT ACCEPT [5609:332934] :OUTPUT ACCEPT [5231:376507] :POSTROUTING ACCEPT [5248:377595] -A PREROUTING -i eth0 -p tcp -m tcp --dport 10001 -j DNAT --to-destination 192.168.1.11:80 COMMIT # Completed on Fri Dec 23 17:36:10 2011 # Generated by iptables-save v1.4.10 on Fri Dec 23 17:36:10 2011 *filter :INPUT ACCEPT [119300:24294441] :FORWARD ACCEPT [183:

domain name system - SPF errors when sending emails

itemprop="text"> I setup a mail server on mail.mydomain.com. I am able to receive email. Problem occurs when i try to send an email. I have two servers: mail.mydomain.com - which is on different ip (e.g. 1.1.1.1) mydomain.com - which has also different ip (0.0.0.0) My SPF record says: v=spf1 mx ip4:1.1.1.1 -all My mx record for mydomain.com points to mail.mydomain.com When i try to send an email I'm getting following error: From google: gmail-smtp-in.l.google.com[2a00:1450:400c:c06::1b] said: 550-5.7.1 [2001:bc8:4400:2b00::32:1f 12] Our system has detected that this 550-5.7.1 message is likely unsolicited mail. To reduce the amount of spam sent 550-5.7.1 to Gmail, this message has been blocked. Please visit 550-5.7.1 https://support.google.com/mail/?p=UnsolicitedMes

domain name system - SPF errors when sending emails

I setup a mail server on mail.mydomain.com. I am able to receive email. Problem occurs when i try to send an email. I have two servers: mail.mydomain.com - which is on different ip (e.g. 1.1.1.1) mydomain.com - which has also different ip (0.0.0.0) My SPF record says: v=spf1 mx ip4:1.1.1.1 -all My mx record for mydomain.com points to mail.mydomain.com When i try to send an email I'm getting following error: From google: gmail-smtp-in.l.google.com[2a00:1450:400c:c06::1b] said: 550-5.7.1 [2001:bc8:4400:2b00::32:1f 12] Our system has detected that this 550-5.7.1 message is likely unsolicited mail. To reduce the amount of spam sent 550-5.7.1 to Gmail, this message has been blocked. Please visit 550-5.7.1 https://support.google.com/mail/?p=UnsolicitedMessageError 550 5.7.1 for more information. m21si1136366wml.110 - gsmtp (in reply to end of DATA command) From other server: host mx1.seznam.cz[2a02:598:2::42] said: 550 5.7.1 Sender Po

active directory - Manage Client PCs with windows 10 updates via Samba

itemprop="text"> is it possible to use a Samba server to manage a Lan with about 10 PCs (Windows) in such a way that I can control the Windows updates? If so, is Active Directory necessary for it? I can only find (a lot of information) how to configure samba file servers and so on but this is not my purpose, isn't it? Thanks in advance! Answer Although I have not tried it, Nitrobit Update Server runs on linux and allows you to manage Microsoft Updates on Linux. It claims to be a replacement for Windows Update Server (WSUS), meaning that it will allow you to approve, decline, and deploy Windows updates as well as generate reports, etc. It can be installed via RPM or Debian based package managers and can integrate with existing samba server deployments. href="http://www.nitrobit.com/updateserver.htm

active directory - Manage Client PCs with windows 10 updates via Samba

is it possible to use a Samba server to manage a Lan with about 10 PCs (Windows) in such a way that I can control the Windows updates? If so, is Active Directory necessary for it? I can only find (a lot of information) how to configure samba file servers and so on but this is not my purpose, isn't it? Thanks in advance! Answer Although I have not tried it, Nitrobit Update Server runs on linux and allows you to manage Microsoft Updates on Linux. It claims to be a replacement for Windows Update Server (WSUS), meaning that it will allow you to approve, decline, and deploy Windows updates as well as generate reports, etc. It can be installed via RPM or Debian based package managers and can integrate with existing samba server deployments. http://www.nitrobit.com/updateserver.html

find - chmod of 400,000 files inside multiple subdirectories?

itemprop="text"> Howdy... I'm looking to chmod 777 a whole bunch of files. Alternatively, since it's more secure, I could also settle for a chown www:www of these files to make them web accessible. Now, since I have over 400,000 files, sudo chmod -R 777 ./* and sudo chown -R www:www ./* didn't work at all, returning only with "Arg list too long" Some googling turned up find and xargs , but this didn't quite work for my file set, since some of the files had underscores in the name. I'm not sure why this would break the script, but it did. The command: find ./ -name "*" | xargs chmod 777 Here's an anonymized snippet of the directory tree: files \- 28934723 \- file1.xml \- file2.txt \- 34905834 \- file1.xml \- file2.txt \- 21

find - chmod of 400,000 files inside multiple subdirectories?

Howdy... I'm looking to chmod 777 a whole bunch of files. Alternatively, since it's more secure, I could also settle for a chown www:www of these files to make them web accessible. Now, since I have over 400,000 files, sudo chmod -R 777 ./* and sudo chown -R www:www ./* didn't work at all, returning only with "Arg list too long" Some googling turned up find and xargs , but this didn't quite work for my file set, since some of the files had underscores in the name. I'm not sure why this would break the script, but it did. The command: find ./ -name "*" | xargs chmod 777 Here's an anonymized snippet of the directory tree: files \- 28934723 \- file1.xml \- file2.txt \- 34905834 \- file1.xml \- file2.txt \- 21398230 \- file1.xml \- file2.txt As far as I can tell from man find , it should recurse into subdirectories automatically, but I am not sure. When I ran the above command, some of the files changed, but the majority of

hp - Why isn't my RAID array rebuilding?

itemprop="text"> Got a notice last night that a drive failed on a server. Got in this morning to replace it, and we're getting the following. Controller config report for the array looks fine, with the unusual status Ready for Rebuild . ~ # hpacucli controller all show config Smart Array P400i in Slot 0 (Embedded) (sn: XXXXXXXX ) array A (SAS, Unused Space: 0 MB) logicaldrive 1 (341.7 GB, RAID 5, Ready for Rebuild) physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 72 GB, OK) physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 72 GB, OK) physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 72 GB, OK) physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 146 GB, OK) physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 72 GB, OK) physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 72 GB, OK) The logical drive sho

hp - Why isn't my RAID array rebuilding?

Got a notice last night that a drive failed on a server. Got in this morning to replace it, and we're getting the following. Controller config report for the array looks fine, with the unusual status Ready for Rebuild . ~ # hpacucli controller all show config Smart Array P400i in Slot 0 (Embedded) (sn: XXXXXXXX ) array A (SAS, Unused Space: 0 MB) logicaldrive 1 (341.7 GB, RAID 5, Ready for Rebuild) physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 72 GB, OK) physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 72 GB, OK) physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 72 GB, OK) physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 146 GB, OK) physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 72 GB, OK) physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 72 GB, OK) The logical drive shows a hint, Parity Initialization Status: Initialization Failed : ~ # hpacucli controller slot=0 logicaldrive 1 show Smart Array P400i in Slot 0 (Embedded) array A Logical Drive:

centos - Firewalld blocks IPv6, ignores config

itemprop="text"> I'm trying to setup an IPv6 web-server on CentOS 7.2 with NGINX. I have tested my IPv6 connectivity outgoing and incoming - everything works. My IP, AAAA records, etc as fine as well. Essentially everything is OK until I enable FirewallD. I have it set up to default to the drop zone with eth0 interface. I have enabled dhcpv6-client, http, https and ssh (ssh is on a custom port). When the firewall is enabled no IPv6 traffic can leave or enter the machine. Traceroute6 to anything (even the gateway) only goes to localhost. If I disable the firewall, it's all good. I have no idea why this is happening. I couldn't find anything online in order to make FirewallD apply the same IPv4 config to the IPv6 traffic. I personally thought, it would do that automatically, as all of its commands are IP protocol agnostic

centos - Firewalld blocks IPv6, ignores config

I'm trying to setup an IPv6 web-server on CentOS 7.2 with NGINX. I have tested my IPv6 connectivity outgoing and incoming - everything works. My IP, AAAA records, etc as fine as well. Essentially everything is OK until I enable FirewallD. I have it set up to default to the drop zone with eth0 interface. I have enabled dhcpv6-client, http, https and ssh (ssh is on a custom port). When the firewall is enabled no IPv6 traffic can leave or enter the machine. Traceroute6 to anything (even the gateway) only goes to localhost. If I disable the firewall, it's all good. I have no idea why this is happening. I couldn't find anything online in order to make FirewallD apply the same IPv4 config to the IPv6 traffic. I personally thought, it would do that automatically, as all of its commands are IP protocol agnostic. Any help is much appreciated. Answer I ran into the same issue. After following the logic through the rules that firewalld puts in I found that the drop zone

mysql - Backup website without direct SQL access and only FTP access

A website I've been helping out with is hosted on a web host (not my choice) that only provide FTP to files (no shell access) and the database can only be accessed from the host itself or phpMyAdmin. The website is running on Apache with PHP version 5.3.13. Since bad and unforeseen things happen to websites from time to time, I'd like to have a backup of the website. I of course have most of the infrastructure locally already (database schemas and website source files), but if the website got hacked or something else bad happened, I would be left with a blank website. So I of course need to back up all user uploaded media and all data in the database. Problem is I'm really unsure how to do this in a good way when all I have is FTP access and no direct access to the database. Any advice on how to get a decent automatic backup of this

mysql - Backup website without direct SQL access and only FTP access

A website I've been helping out with is hosted on a web host (not my choice) that only provide FTP to files (no shell access) and the database can only be accessed from the host itself or phpMyAdmin. The website is running on Apache with PHP version 5.3.13. Since bad and unforeseen things happen to websites from time to time, I'd like to have a backup of the website. I of course have most of the infrastructure locally already (database schemas and website source files), but if the website got hacked or something else bad happened, I would be left with a blank website. So I of course need to back up all user uploaded media and all data in the database. Problem is I'm really unsure how to do this in a good way when all I have is FTP access and no direct access to the database. Any advice on how to get a decent automatic backup of this site that can be run periodically without too much trouble?

windows server 2008 - MS Access Database slower than normal all of a sudden

itemprop="text"> I have a client with an Access Database that has been experiencing slow queries in the past few days. Here is some background first. it is currently running on Windows Server 2008 the mdb file is on the server and there are some local installed front end parts on the workstations. we run over a gigabit ethernet and gigabit network switches this server is used for basic file sharing too and those other services DO NOT seem to run slow or exhibit any issues. this was working fine but has begun having slower queries or response times when you connect back to the database for queries. we have not changed anything on the server or done any updates to either the server or the database front end installation. we have always used a mapped drive letter to access it, both on the old server and on this

windows server 2008 - MS Access Database slower than normal all of a sudden

I have a client with an Access Database that has been experiencing slow queries in the past few days. Here is some background first. it is currently running on Windows Server 2008 the mdb file is on the server and there are some local installed front end parts on the workstations. we run over a gigabit ethernet and gigabit network switches this server is used for basic file sharing too and those other services DO NOT seem to run slow or exhibit any issues. this was working fine but has begun having slower queries or response times when you connect back to the database for queries. we have not changed anything on the server or done any updates to either the server or the database front end installation. we have always used a mapped drive letter to access it, both on the old server and on this new one, see next point for age of new server. I know people will say stop using Access as a database but the client is using legacy software with NO path to upgrade and it was working, in a tolera

performance - Disk throughput dramatically reduced when using ZFS on OpenSolaris?

I'm building a simple ZFS file server for the small business I work for. The server is a Dell Poweredge 840, with 1GB RAM. The OS (OpenSolaris 2009.06) is installed on one SATA drive, and there are three other SATA drives installed for storage: 1x1TB, 1x1.5TB, and 1x2TB. When I add the three drives to one raidz zpool, throughput isn't very good: #zpool create -m /export/pool pool raidz c7d1 c8d0 c8d1 #zfs create pool/fs #time dd if=/dev/zero of=/export/pool/fs/zerofile bs=1048576 count=1024 1024+0 records in 1024+0 records out real 0m12.539s user 0m0.002s sys 0m0.435s That's about 81.6 MB/s. That's not horrendous, but I tried creating a pool consisting of just one of those drives: #zpool create -m /export/disk-c7d1 disk-c7d1 c7d1 #zfs create disk-c7d1/fs #time dd if=/dev/zero of=/export/disk-c7d1/fs/zerof