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
1k views

using tcpdump to display XML API requests without headers or ack packets

I need assistance, I am trying to use tcpdump in order to capture API requests and responses between two servers, so far I have the following command: tcpdump -iany -tpnAXs0 host xxx.xxx.xxx.xxx and ...
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 ...
-1
votes
0answers
14 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
15 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 ...
0
votes
1answer
39 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
30 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 ...
2
votes
1answer
839 views

keepalived: 2nd VRRP_Script never seems to run

I'm trying to implement keepalived on 3 mongodb boxes, the idea is that if mongod on one of the boxes goes down or we need to move the primary node to another system for some reason our application ...
2
votes
1answer
1k views

How to achieve multiple NFS/TCP connections to the same server?

I'm trying to maximize the NFS/TCP bandwidth between a Linux client and a single NFS server over a 10Gbps link. Although each NFS mount has its own device (major/minor), everything comes down to a ...
0
votes
2answers
46 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 ...
0
votes
2answers
378 views

Nothing is written in php5-fpm.log

I have two servers which is Ubuntu 12.04 and Ubuntu 14.04. When I use Ubuntu 14.04 in my new server and enabled the php-fpm log file found under /etc/php5/fpm/php-fpm.conf that reads as follows: ...
0
votes
0answers
22 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 ...
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
3answers
4k views

Possible to mount an ext4 partition image via FUSE?

I'm attempting to mount an ext4 partition image in userspace. (no sudo, no special config/permissions modification to /dev/loop0 or /etc/fstab etc). So I'm hoping FUSE will come to the rescue. ...
36
votes
6answers
21k views

How to add a security group to a running EC2 Instance?

I have an Amazon EC2 instance running and I will like to add another security group to that instance and then remove the current security group from that instance. Is this possible?
0
votes
1answer
895 views

NFS daemon not starting up with error message “Kernel does not have pseudo root support”

My nfs daemon is not starting up anymore. I see the following entries in the syslog: Sep 26 18:21:10 VOXWEBPRODDHNCGN001 mountd[3401]: Kernel does not have pseudo root support. Sep 26 18:21:10 ...
0
votes
1answer
933 views

Gre Tunnel Cisco Linux traffic forwarding

I setup a gre tunnel a cisco router and a Linux machine, the tunnel interface in the Linux box named pic. Well i have to forward traffic coming from cisco through the Linux box. the rules i've set in ...
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 ...
1
vote
3answers
2k views

Disable user_deny.db in Cyrus/imapd

We have a cyrus 2.4.12 on Debian, we use packages, rather than building each software ourselves. I am getting the this "log" constantly, a lot of, various users, and 8-10 times per user request: ...
5
votes
1answer
84 views

Postfix stops picking up mails at night

Our postfix system stops sending mails at night. Every night at 2am it stops picking up mails. The server is a monitoring server, which sends a lot of mails per day. /bin/mail drops the mails in the ...
4
votes
3answers
1k views

Extend RAID 1 (HP SmartArray P410i) running Linux

I took over a fairly simple server setup with the following RAID 1 config running Ubuntu 11.10 (Kernel 3.0.0-12-server x86_64): => ctrl all show config Smart Array P410i in Slot 0 (Embedded) ...
0
votes
1answer
2k views

vsftpd: refusing to run with writable root inside chroot

I want to setup a anonymous only ftp server (able to upload files). Here is my config file: listen=YES anonymous_enable=YES anon_root=/var/www/ftp local_enable=YES write_enable=YESr. ...
18
votes
6answers
8k views

Can't log in via SSH to any accounts set to use /bin/bash as a default shell

I'm trying to install bash as the default shell on a ARM Linux running on an embedded device (Synology DS212+ NAS). But there's something really wrong, and I can't figure out what it is. Symptoms: ...
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 ...
0
votes
1answer
990 views

Redirect some specific traffic to a different gateway

I have two gateways with different ISP, one of them defined as default for the LAN user and the other ISP used as the default for the Servers and VPN traffic. This is done using regular routing tables ...
2
votes
1answer
927 views

Linux Client Active Directory Authentication stops working when failover

I have an issue with Linux clients trying to AD authentication by targeting a DNS name (corp.example.com). I have 2 Domain Controller servers DC1(10.0.0.3/24), DC2(10.1.0.3/24) both domain controllers ...
-1
votes
1answer
23 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 ...
-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 ...
-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 | ...
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 ...
4
votes
1answer
74 views

serviceable ext3 partition ruined by fsck

I've got several systems with an ext3 lv / that work just fine until fsck'd — then they are unrecoverably corrupted. What hope do I have of repairing these systems, and, separately, what went wrong? ...
3
votes
4answers
2k views

Cron to run every 2nd wednesday?

I need to find a way to cron a job so that it runs every second wednesday of the month. Is this possible?
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 ...
0
votes
2answers
1k views

Find CCISS version

I'm currently running Ubuntu 10.10, and would like to just find out what version of HP's CCISS RAID array driver I'm running. I've looked around hpacucli and couldn't find anything; can anyone point ...
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. ...
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
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 ...
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
2answers
1k views

Make kernel modules available that have been deactivated on Fedora

I need some kernel modules which are available in the Linux source but deactivated on Fedora 20 and I wonder what's the easiest and most forward way to do make them available. (namely then net/CAN ...
8
votes
4answers
7k views

Fast extraction of a time range from syslog logfile?

I've got a logfile in the standard syslog format. It looks like this, except with hundreds of lines per second: Jan 11 07:48:46 blahblahblah... Jan 11 07:49:00 blahblahblah... Jan 11 07:50:13 ...
20
votes
8answers
5k views

automated linux deployment and config management at small scale - is it worth it?

I'm about to deploy ~25 servers running Debian. The machines will have different roles - web servers, Java appservers, proxies, MySQL boxes. The environment will probably not grow much in the future - ...
0
votes
4answers
299 views

Obtaining root access to linux machines [duplicate]

Possible Duplicate: Lost Root and other user passwords I have a number of linux machines (debian and ubuntu) left from a former system administrator. There's no way to find out root ...
-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
171 views

Filter email being sent by specific user [on hold]

I have a complicated situation requiring me to set up an outgoing mail filter for one particular mail user. For security reasons we have become concerned that this user might send confidential ...
0
votes
1answer
3k views

Plesk 11 Set firewall rules manually [on hold]

I have a big spamming problem on my site from ip addresses coming from Asia. My website is designed for people in France and Canada, so I want to block all ip addresses from Asia to avoid spam. I ...
0
votes
1answer
54 views

Pipe lsof to grep to awk ps -ef to grep

I'm trying to get some info on a certain PID. I'm probably doing this in a manner that is way too difficult, but I'm trying to run this: lsof | grep grepstuff | awk '{ps -ef | grep $2;}' and I'm ...
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 ...
-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
2answers
40 views

Apache Configuration not use server capabilities [on hold]

I have a web server with 16 GB of RAM. The server has a good traffic and have pics of 300 simultaneous requests. Unfortunately when these peaks arrive queries fall into error or are very very slow. ...
1
vote
3answers
49 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 ...