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

learn more… | top users | synonyms (1)

0
votes
1answer
21 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 ...
-1
votes
0answers
16 views

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

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 ...
1
vote
0answers
17 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 ...
0
votes
1answer
40 views

firewalld vs iptables - when to use which

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
33 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 ...
0
votes
0answers
23 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
47 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
17 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 ...
1
vote
1answer
28 views

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

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
24 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
21 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
11 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
34 views

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

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
18 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
8 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
14 views

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

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
15 views

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

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
12 views

getting memory fault error in linux [on hold]

#include <unistd.h> #include "rkspl.h" /*--------------------------------------------------------------------------- * Extern Vars allocated here & used elsewhere or allocated elsewhere. ...
0
votes
1answer
20 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
34 views

Tool for linux file system cache inspection [on hold]

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
20 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
34 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 ...
0
votes
0answers
25 views

Add a class to a puppet manifest file using command-line

Is there any easy way to append a class definition to a Puppet manifest file? For example, I want to add a new vhost to a server defined in a separated puppet manifest, so I want to add: ...
0
votes
0answers
11 views

Looking for a tool to check bash scripts [on hold]

I'm looking for a tool to integrate with Jenkins CI that will check our shell scripts. I found this tool https://github.com/koalaman/shellcheck. I haven't found any others and I'd like to have one ...
0
votes
0answers
25 views

Tomcat is not starting although JAVA_HOME path is correct

I have linux server in which I run several Tomcats. The current Java I use is 64 bit. All Tomcats use 64 bit java but one. This one Tomcat needs to run with 32 bit Java. If I don't change anything, ...
0
votes
1answer
11 views

WordPress permalinks are not working

I am having a problem with WordPress permalink redirects not working correctly. I was able to specify the permalink convension through settings interface. WordPress properly names hyperlink. However, ...
-3
votes
0answers
24 views

control users coming in to my web servers

I have two web servers (both installed with apache with Wordpress) and a LB in front of them. let's say web A and web B. I would like to only update the code on web A and leave web B with the old ...
-3
votes
1answer
32 views

Routing on outgoing data packet in linux kernel? [on hold]

I am currently studying iptables. So far all the articles and howtos I have found on google/duckduckgo has only ever mentioned routing on incoming packets (passing the INPUT och FORWARD chain). I find ...
0
votes
0answers
14 views

Virtual Host showing error 11001 even after chown and chmod

I am trying to create a virtual host to just test a basic html website. Guest OS - Ubuntu 14.04 Host OS - Ubuntu 14.10 In the Host OS, I connect through a proxy server which requires me to enter a ...
-1
votes
0answers
17 views

modifying a pre-existing file inside an LVM snapshot while the snapshot is mounted,i want to know how the system will do? [on hold]

I guess that it will copy the file which will be changed to the snapshot area,and then modify the file in the snapshot area. Somebody know it ?and where i can get the info about it ?Tks. ps:I read ...
0
votes
0answers
17 views

Google Cloud: Connection Refused upon reset/shutdown

I recently signed up with Google Cloud to host a small VM instance. I created a basic instance with Ubuntu Server 14.04 LTS as its OS, installed apache2, MySQL and Wordpress to it and worked on a ...
-2
votes
0answers
12 views

Linux Interface Collect Raw Bits [on hold]

Is it possible to collect raw bits directly from a network interface? Seems like dd if=/dev/net/eth0 could work?
2
votes
1answer
24 views

How would I be able to take a snapshot of a CentOS 5 server and compare it later on?

I have a consultant that was hired to install some custom software to a CentOS 5 server. After she's done, I'd like to review her changes to possibly automate or optimize them. I was thinking of: ...
1
vote
3answers
50 views

Pursuit of True Active Directory Integration

Before you laugh at me and say, "If you want Active Directory, use Windows" or tell me to use Google, hear me out. My company relies very heavily on AD. Nay, we are married to it at this point, and ...
0
votes
2answers
34 views

What types of workloads require SAS disks compared to SATA?

I am looking to outfit my new server (new to me) with larger capacity disks. The server right now has 4 SAS 146GB disks in it. My original thought was to just buy larger SAS disks and replace or add ...
0
votes
0answers
11 views

ntpd logging debug to ntpd.log

using ntpd 4.2.6p5 on redhat 6.5 How do I configure /etc/ntp.conf to generate debug messages to logfile? in /etc/ntp.conf I have logfile /var/log/ntpd.log but that only does very basic entries. ...
0
votes
1answer
24 views

How do I create files in directory owned by user in same group without sudo?

I have created a user to own website files (drupal) and added that user to www-data, so essentially all files are drupaluser:www-data. I want to go in and put the site in to git but I get permission ...
0
votes
0answers
24 views

Linux copy range of folders [migrated]

I found this link with an example of how i can actually copy range of files Copy a range of files in command line (ZSH/BASH), using this $cp P10802[75-83].JPG ~/Images/. Is there any way i can also ...
1
vote
2answers
47 views

Locally deny login to users authenticated via LDAP

I have a RedHat Linux server that are is use for more than 1000 users Users names are coming to the server via LDAP protocol, so login authentication is from the LDAP My question: is it possible to ...
0
votes
0answers
17 views

zfs ssd and sas 15k - how to keep heavy write on sas (Gentoo Linux) [on hold]

I'm doing filesystem planning for a new build. I'm going to have 2 each 128 Gb SATA ssd and 450 Gb SAS near-line 15krpm drives, each pair mirrored. I want to keep the heavy write files on the SAS ...
-2
votes
1answer
27 views

mkpasswd on Centos 7 does not support -m flag [duplicate]

I cannot find how to install grub-crypt either. How can I generate SHA512 pass hashes on Centos 7? Edit: I was actually trying to look up how to generate hashes with an adjustable number of rounds. ...
0
votes
0answers
19 views

Constantly increasing semaphores - Apache 2.2.29 with Siteminder Webagent

We recently updated a Redhat Linux server running several instances of Apache 2.2.27 to 2.2.29. All the instances are runing the Siteminder webagent (12.3.11). Since the update the number of ...
0
votes
0answers
24 views

How to decrypt password protected .gpg file? [on hold]

while decrypting PROFILE_EEOUK_1_20140804_001.1.2.txt.gpg file in unix with using the command gpg --batch --passphrase orange123 PROFILE_EETMUK_1_20140805_001.gpg where orange123 is password i am ...
0
votes
0answers
25 views

Logging into an AWS EC2 instance from another machine in EC2

I have a few AWS EC2 instances that can SSH into each other. They are not in a VPC as this is an older AWS account and was active before VPC. One particular EC2 instance (zeta) is not able to SSH into ...
0
votes
1answer
18 views

How to pass traffic hrough linux box between modem and router [on hold]

My internet comes in through an ATT Uverse modem. The modem output goes into a Fortinet router and fro there into my home network. Now suppose that I want to put a small Linux box (say a Raspberry Pi ...
3
votes
0answers
46 views

SSSD process won't die

Thanks for taking the time to check out my problem. I'm currently working on an issue that has only appeared once before. Back on Jan 3rd when this first appeared we were able to reboot the server ...