Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.

learn more… | top users | synonyms (1)

1
vote
1answer
42 views

How to make a simple script that increases a number character by 1

I have to add a single command for MANY vlans, and wondering if I can generate a simple text file somehow? Then I can simply paste the text file into the network switch and it will add the needed ...
0
votes
1answer
32 views

find and replace text from urls in csv data feed [on hold]

I want to add affiliate id say 'xyz' to the below urls Type 1: example.com/abc.html?id=White example.com/abc.html?id=Black Then urls should look like ...
0
votes
1answer
50 views

Route between local machine and a VM running on remote server

I'm trying to establish a route between my local machine (LM) and a VirtualBox VM (VM, create with Vagrant and configured with Host-only Networking) running on a remote server (RS). The setup is as ...
1
vote
1answer
44 views

Growing memory use

Let me start with picture: This is memory usage of our backup Tomcat server. It is just hanging there, processing simple healt check request every couple fo seonds and waiting for main server's ...
0
votes
2answers
44 views

KVM virt-clone while the VM is running

Is it possible to clone a running kvm machine without tools like virt-clone? They already have the original vm in production, I cannot shut it down. If I don't care about temporary data corruption ...
0
votes
1answer
26 views

How can I know the absolute path of a running process? on solaris

this is the command to view the process path on Linux ps -auxwe | grep 24466 ( 24466 is only example ) but please advice is it possible to view the path of running process on Solaris if yes ...
0
votes
1answer
20 views

Can't add Nodes to Percona XtraDB cluster

In my case, I have two nodes in cluster, but when I use $service mysql bootstrap-pxc to start XtraDB cluster, I found nodes were not added to cluster. I also check /var/log/mysql/error.log, but no ...
0
votes
1answer
28 views

Hetzner script, configuring SSD + RAID1 image installation

I am trying to figure out how to set this configuration on my Hetzner server. The hetzner installimage script provides a default configuration (with comments: http://pastebin.com/tBqezpFn): # ...
0
votes
1answer
21 views

Setup fail2ban with apf

Along with BFD we have recently installed fail2ban on our server, it is CentOS and it uses APF to block IPs. I have hunted online on how to get the two to work however when an IP is blocked by ...
0
votes
0answers
23 views

AWS Linux RHEL instance unable to format and load new storage partition

I have an AWS RHEL instance. Following are the storage devices on it: $lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 20G 0 disk xvda1 202:1 0 6G 0 part / I ...
1
vote
0answers
25 views

End of script output before headers: php5

I've inherited the sysadmin role on a server that's running a wordpress website on top of Apache 2.4/Debian. It almost works, but it is issuing "500 internal server error" from time to time. In my ...
-2
votes
0answers
11 views

Mac OS X Ad-hoc Network Certificate [on hold]

I was wondering if on a Mac with the built in "Create Network" feature, to make the client (which will always be an iOS device) accept a .cer file before joining the network. I know some professional ...
0
votes
0answers
10 views

cloud-init not executing on rackspace cloud

I was trying to pass a bash script to cloud-init on rackspace-cloud with 'nova boot' via --user-data. I used the following command: nova boot --key-name mykey1 --image "Ubuntu 14.04 LTS (Trusty Tahr) ...
-2
votes
0answers
29 views

Slow 10Gb Networking 300MB's RAM disk Transfer Speeds [on hold]

I have a dell poweredge 2950 that has 2 Mellanox Connect X-2 10Gb NICS installed in it. They are both in 8x slots. The server has 2 raid0's using SSD's but for testing I'm using an 10gig ram disk. The ...
0
votes
0answers
10 views

Network Interfaces Cards and rx_short_length_errors and Linux Kernel

My machine (Linux OS) is counting packets with wrong length, it is a huge environment (GW's, Routers, Switches...) , so I would like to understand how NIC's behaving with these packets. -Does NIC's ...
1
vote
1answer
37 views

How should I manage a long running server process on Ubuntu?

I have an app (in the form of a single binary) that I need to run on one of my servers, and I'd like to be able to control its lifecycle properly. What I'd like is the following: simple one command ...
0
votes
0answers
18 views

Permissions of files and subfolders in /var/www/html (Ubuntu 14.10 + Apache2) [duplicate]

I have some questions about permissions and ownerships of folders and files in Ubuntu Server 14.10 + Apache2. Is it correct that /var/www/html is owned by root:root by default? As far as I read, it ...
0
votes
1answer
39 views

Supermicro super server RAID warning

Hey guys sorry in advance for the noobish question. Our company just received a brand new 6017R-WRF Supermicro superserver. I have been tasked with getting this bad boy setup. I am a software dev ...
2
votes
2answers
37 views

Is an ECC ram enabled GPU necessary for a server, or will a normal gpu work fine in a server?

Is it a requirement for a server to use ECC ram on a GPU while the normal CPU ram is ECC? Im thinking that instead of using a Quadro k6000 or AMD Firepro, we could use a GTX 980 or AMD r9 290...if ...
0
votes
0answers
12 views

Mapping right CTRL key to ENTER function

I am using Putty to connect to a Linux server. I am a mainframe person so I really want to map my right CTRL key to ENTER and then map the ENTER key to the NEWLINE function to mirror how the keys ...
-2
votes
0answers
17 views

server performance affected due to node and npm [closed]

I have a server that is very slow compared to the memory it has. https://gist.github.com/shantanuo/ac80790c67cc1cca76e9 I can see several node and npm processes. Are they affecting the performance?
0
votes
0answers
18 views

Run server on home PC [closed]

I am newbie. I have static IP address. Is it possible to serve my web site on my local PC.While registering domain I have to specify NS server. I don't clearly understand what is the purpose of this. ...
-1
votes
1answer
12 views

Can we run thin client to connect to Linux (Suse or Ubuntu) [on hold]

Not sure where to ask such questions, so guide me on that! I am looking to have several thin clients to use same server (system), the work involved is mostly office and browsing related works - that ...
0
votes
1answer
30 views

Linux centric backup solution for NTFS target

I've got to backup data (around 100GB) on a linux system on a daily basis. I need daily incremental and regular full backups on an 2TB USB drive that is NTFS formatted (no way to change that). If I ...
-3
votes
0answers
19 views

remove lines from a file based on whether corrersponde to a list of names [closed]

could help to create a perl script to delete a line file based on a specific name , eg if I want to delete me from node 1 and node 4 and its contents until you find another based on one ready names eg ...
3
votes
2answers
43 views

Unable to boot into software RAID1 after disk failure

Today after restarting my data server I was unable to boot because one of the drives wasn't being recognized any more, it is still spinning when I connect it and not making many weird noises except ...
1
vote
1answer
83 views

firewalld vs iptables - when to use which [on hold]

TL;DR On new CentOS server installs should I be using firewalld or just disable that and go back to using /etc/sysconfig/iptables ? firewalld and iptables serve similar purposes. Both do packet ...
0
votes
1answer
37 views

Why is linux not listing the IP I want?

I have a linux based cluster (using openMosix). The machine intended to be used as a server has 2 network cards. Cluster is working, and all machines ping to each other inside the cluster (internal ...
1
vote
1answer
43 views

Kerberos, Active Directory, and Linux/Unix Servers

I have done some research on the topic, but I can't quite find a straight answer to my question. Please tell me if my understanding is correct. Kerberos can be used as the bridge between a ...
0
votes
2answers
55 views

Can a Linux Kernel be shared between two operating systems?

Quite simple question. I am working on a project to have multiple operating systems (all linux) on the same machine using btrfs subvolumes so that the user can boot to the environment they are ...
1
vote
1answer
33 views

Need advices on iptables

Helly guys ! :-) . I need a (several?) advice(s) from you about my iptables setup. I'm pretty new to iptables, and this is the first time I configure a server with iptables ONLY as a firewall (we ...
2
votes
2answers
28 views

How do I request a certificate from CEP / CES on a Microsoft CA on OSX or Linux?

This article describes how to request a certificate from AD CS (Active Directory Certificate Services) from a non-domain joined windows computer. I would think the same principals apply to non ...
1
vote
1answer
44 views

Suddenly error='Cannot allocate memory' (errno=12) [closed]

So this morning I noticed my website is down, went on my server and saw that the webserver has been stopped. When I try to start it again I get this error start -Dhttp.port=80 ...
0
votes
0answers
18 views

Plain (remote) Linux desktop on my VNC Viewer? [migrated]

So for some reason my VNC Viewer is not showing any desktop icons on the remote Linux. I remember it first happened after I clicked on the button "Quit this session". I am using putty as a terminal ...
-1
votes
1answer
27 views

How to change volume mount

I have two volumes in my EC2 ubuntu instance: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvdb 202:16 0 40G 0 disk /mnt xvda1 202:1 0 400G 0 disk / I want the 400GB one to be the main ...
0
votes
0answers
22 views

Server making outbound dns requests [duplicate]

I have a cloud server with Rackspace and they have blocked DNS because of "excessive queries". I can find the info below when running ps, but I can not seem to locate where the file is that is making ...
-1
votes
1answer
24 views

SELINUX blocking php-fpm and nginx working together?

I'm having some issues with SELINUX. When trying to visit my website I get 403 forbidden from nginx and the server pops up with an error and says to use grep NGINX /var/log/audit/audit.log | ...
-3
votes
1answer
37 views

Does swap on 32-bit OS with 4 GB make sense? [closed]

Does having swap space makes sense if I have a 32 bit OS (Linux) and 4 GB RAM already? As it would have to be addressable with a 32 bit address, which are already all "used up" by the RAM, would ...
0
votes
1answer
26 views

How to automate input for a repetitive script! Expect in Bash?

I am a junior sys admin. Reason I'm asking this question is because we don't have a senior sys-admin here who is proficient with scripting. Senior guys are at the head office and too busy for ...
1
vote
1answer
22 views

Why are ls and locate returning different file names?

We have recently deployed a commit that took a file called MyfileController.php and changed it to MyFileController.php If I navigate to the file's directory and call ls or nano MyFileController.php ...
1
vote
0answers
10 views

Fail2Ban's [apache-tcpwrapper] jail failing due to missing Apache log entry

I've installed Fail2Ban on two local test systems (Debian Wheezy and RHEL 5.6) and it's working great. However, I'm running into a problem on a third remote RHEL 5.6 system that I can't seem to solve. ...
-1
votes
0answers
15 views

Linux workstations environment Microsoft equivalent (DC,LDAP, File shareing etc) [closed]

How can I build Linux (Ubuntu) workstations environment with all the equivalent Microsoft environment, including DC, LDAP, File sharing, login scripts and auto mount shares etc? I tried installing ...
0
votes
0answers
22 views

setting up iptables dmz for dns (bind9) and web server (apache2) [closed]

I have a pc server as dns server (example.com) and also a web server inside. I want to access the web server from the Internet using my public IP. What settings should be applied in iptables if the ...
1
vote
0answers
16 views

Why some apt-get and aptitude installations remove some programs?

I wanted to install wireshark, and I went to Installing wireshark So I just typed on terminal aptitude install wireshark and before it install wireshark, it removed 251 programs, and I don't have ...
-4
votes
0answers
14 views

getting memory fault error in linux [closed]

#include <unistd.h> #include "rkspl.h" /*--------------------------------------------------------------------------- * Extern Vars allocated here & used elsewhere or allocated elsewhere. ...
0
votes
1answer
21 views

What exactly happens to packets written to a TUN/TAP device?

I'm trying to send packets to an application listening on eth0 from machine's user-space as if they were coming from a remote machine. What I can't seem to find good documentation for is the exact ...
2
votes
1answer
40 views

Tool for linux file system cache inspection [closed]

I'm looking for a tool to show what portion of a file is in the file system cache. In the past I have used the fincore tool that is part of the linux-ftools package. linux-ftools isn't in any of the ...
0
votes
0answers
21 views

Partition mounts

I had a problem with a corrupt grub config. I recovered it with Rescatux and was able to boot up. It appears thought that I am mounting the wrong partition because I can't find my old programs. Here ...
1
vote
1answer
37 views

Migrate DNS from Linux to Windows 2008 DNS?

At the moment, the company I work for has an external facing DNS through server 2008 and our internal server points to a Linux server (I wasn't here for the original setup so more specifics are harder ...
0
votes
2answers
40 views

What happens when you update PHP while your server is running?

I'm serving files with Apache and PHP-FPM via FCGI. When I run yum update on a live server, what happens when PHP gets updated? I can imagine three scenarios: php-fpm is stopped, then restarted ...