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
0answers
5 views

Using Intel AMT (Management Engine) in “standalone” mode without corporate infrastructure?

I'm using a relatively recent Dell laptop and for testing purposes, I've enabled the Intel AMT, aka Management Engine. I don't have any large-scale corporate infrastructure to back me up, but I still ...
10
votes
1answer
5k views

what is uninstall procedure for software installed via “make install” on CentOS 6.2

I installed OCILIB on my CentOS 6.2 server some time ago, and now I want to install a newer version. The vendor requires an uninstall, but doesn't provide instructions. I'm guessing that's because ...
0
votes
1answer
22 views

Soft dependency in systemd

I am trying to understand if there is a way to create a soft dependency between systemd services. Basically, I'd like to create an "umbrella" service that starts other services marked as (soft-) ...
0
votes
0answers
4 views

Issue with nfsen in fetching sflow data from Linux host

I have two VMs. The first VM is at AWS EC2 instance (red hat). I am using this system as sflow agent. I have installed hsflowd in this machine. My hsflowd.conf file looks like following: DNSSD = ...
2
votes
1answer
23 views

SSH fallback to local acount if Radius server isnt available

Ive edited my /etc/pam.d/sshd for radius authentication, i added this line auth required pam_radius_auth.so Also ive commented out the line: @include common-auth Now SSH authentication using ...
1
vote
2answers
1k views

Configure 2 gateways ppp0 + eth0

I have a server serving at 0.0.0.0 (for all interfaces) And my machine has 2 connections one ethernet eth0 and other a ppp0 (3G card) First without the ppp0 connection active I have the following ...
2
votes
1answer
172 views

nftables alternative for iptables -F

Simply, is there any quick alternative of iptables -F command (that just "deletes everything") for nftables? Such thing wouldn't have much theoretical purposes, but it's usually a lifesaver for ...
0
votes
0answers
12 views

sogo source installation on “debian stretch” give me only errors

I have compiled SoGO 3.0.2 on Debian from the source, setup NGINX and simply don't get SOGO to run. Not, that it has something todo with permisions, it's more or less that sogo can't throws out errors ...
3
votes
2answers
3k views

information about /proc/pid/sched

Not sure this is the right place for this question, but here goes: I'm trying to make some sense of the /proc/pid/sched and /proc/pid/task/tid/sched files for a highly threaded server process, ...
2
votes
1answer
16 views

DL585, HP Proliant G5 server blinking internal health light red

I have a DL585, HP Proliant G5 server that I can't seem to get to do anything of useful significance. When powered on the power supply kick on and the fans associated with them. The front UID led ...
2
votes
1answer
2k views

failed to fetch volume file

When my client try to connect gluster server it gives below error: [glusterfsd-mgmt.c:1627:mgmt_getspec_cbk] 0-mgmt: failed to fetch volume file (key:gluster_vol_0) My client is an Amazon Linux ...
1
vote
3answers
6k views

ext3/ext4 physical block size view

I'm using a suse 11 server with xfs and using "xfs_info /srv" command i seen this. xfs_info /srv/ meta-data=/dev/mapper/vg01-srvvol isize=256 agcount=38, agsize=1964032 blks = ...
1
vote
1answer
18 views

Apache webserver - Mod status

Heey all, I have a question regarding the Mod Status module of Apache. https://www.apache.org/server-status As you guys can see there is a line: Total accesses and a value after it. Is it possible ...
0
votes
0answers
12 views

Permission update on PHP script with Apache2 and mod_php

I have done my tests using a stock and up-to-date Apache2+PHP5 install on Debian Jessie, with mod_php. Let's say Apache runs under www-data system account (I've done other tests with mpm-itk and a ...
0
votes
1answer
1k views

Compress and remove logs from jboss on linux with cron

I need to compress and remove log files after some time from serwer. I have never write scripts before. So far i have script logs.sh: #!/bin/bash LOGS=/usr/local/jboss/server/default/log/ ...
0
votes
0answers
17 views

Linux server redundancy and load balancing

This is a question based on research to to a design project i've been working on. As you can see from the diagram below, a mikrotik vpn server has been setup to accept wireless traffic from over 100 ...
0
votes
1answer
28 views

capture top command output in expect [on hold]

I have created my first expect script but am not able to capture the output of the top command. Can anyone point out my mistake? #!/usr/bin/expect set timeout 20 set top_cmd "top -u goswamia -b > ...
1
vote
3answers
19 views

Calculating the percentage of the total available memory on linux as an integer in bash

Here is a bash script that is calculating 80% of the total RAM available as an integer on a Linux box: server_ram_mb=$(awk '/MemTotal/ {printf( "%.2f\n", $2 / 1024)}' /proc/meminfo) echo ...
0
votes
1answer
24 views

linux: forward mail in mailbox

Is it possible to forward mail out of a mailbox to another mailbox? I know about .forward, that's not what I want to do(seems like that's 100% of the answers out there). I already have mail in a ...
148
votes
4answers
48k views

LVM dangers and caveats

I have recently started using LVM on some servers for hard drives larger than 1 TB. They're useful, expandable and quite easy to install. However, I could not find any data about the dangers and ...
18
votes
8answers
15k views

Linux: Schedule command to run once after reboot (RunOnce equivalent)

I'd like to schedule a command to run after reboot on a Linux box. I know how to do this so the command consistently runs after every reboot with a @reboot crontab entry, however I only want the ...
2
votes
1answer
2k views

Configure Citadel to be Used For sending email using smtp

Sorry for this foolish question, but I have less knowldge about servers. So bear with me! I have configured Citadel as directed in linode documentation and can login using the front-end for accessing ...
1
vote
3answers
42 views

Setting up an email proxy server?

So i have 4 application servers and each one directly connects to an SMTP server to send out the emails. What I want is to have something in the middle that my servers connect through instead, and ...
6
votes
4answers
772 views

Is Linux Virtual Server old, or is it standing still?

Based on this question: http://serverfault.com/questions/124905/widely-used-load-balancing-solutions, LVS may be the right solution for my problem. But when I went to its homepage ...
-1
votes
1answer
34 views

Getting output: sysctl: cannot stat /proc/sys/net/ipv4/conf/all/hidden: No such file or directory

I am trying to use my linux server as a layer 4 load balancer following this tutorial: http://www.ultramonkey.org/papers/lvs_tutorial/html/ under "LVS Direct Routing" and under "Real Servers" it ...
0
votes
0answers
18 views

Hairpin NAT with dynamic WAN IP [migrated]

I have a dynamic WAN IP so if it changes my iptables will no longer apply. Here is my working hairpin nat, where x.x.x.x is my WAN IP br0 - LAN eth1 - WAN -A PREROUTING -d x.x.x.x -p tcp --dport ...
3
votes
2answers
2k views

Public-Key -or- Password & Google Authenticator for SSH Login

I found an article (http://www.howtogeek.com/121650/how-to-secure-ssh-with-google-authenticators-two-factor-authentication/) that explains how to configure OpenSSH to ask for a Google Authenticator ...
0
votes
0answers
8 views

LD_PRELOAD with Firebird (Superserver)

I'm trying to insert some code using the LD_PRELOAD approach to help me understand the behavior of Firebird server application. Although I have previously used LD_PRELOAD with common applications, I ...
-3
votes
0answers
20 views

command line, how to search a pattern in the first line and delete them [migrated]

I want to delete something not useful in the first line like following: 1-TagDir (cs) 2-TagDir (a) 3-TagDir (cd) 4-TagDir (abc) Output: 1 2 3 4 How should I ...
3
votes
1answer
54 views

Squid proxy - Find urls that are consuming the most bandwidth

I have squid proxy setup on my home network (squid is running on Ubuntu server, 14.04). Right now our home internet usage is about 2TB per month. I would like to find out which sites/urls/domains are ...
9
votes
9answers
9k views

How to determine if I'm logged in via SSH?

I'm currently setting up a fairly complex bash configuration which shall be used on multiple machines. I try to find out if it is possible to determine whether I'm logged in via SSH or on a local ...
3
votes
1answer
1k views

Possible for linux bridge to intercept traffic?

I have a linux machine setup as a bridge between a client and a server; brctl addbr0 brctl addif br0 eth1 brctl addif br0 eth2 ifconfig eth1 0.0.0.0 ifconfig eth2 0.0.0.0 ip link set br0 up I also ...
2
votes
0answers
19 views

POSTFIX:Must issue a STARTTLS command first. Email not being send from commandline ubuntu

I am trying to send email from the command line from my ubuntu server. So I started configuring the postfix onto my local machine rather than on server. So basically these are steps which I followed: ...
0
votes
0answers
11 views

I have installed GNU octave Version 3.0.5 in my server. when I try to run .m files, it shows error. My server OS is CentOS release 5.9 (Final)

I have installed GNU octave Version 3.0.5 in my server. when I try to run .m files, it shows error. My server OS is CentOS release 5.9 (Final) . Is there any way to install the complete GNU octave ...
3
votes
4answers
11k views

Default gateway is in different subnet. How to configure in RHEL6.2

I have two subnets routed to my server from ISP. I have only one gateway ip. The gateway is on the same VLAN as my IP address. For example netowrk 1 is 1.0.0.0/24 and network 2 is 2.0.0.0/24. Both are ...
1
vote
1answer
1k views

mod_security2.so: undefined symbol: ap_unixd_set_gl

service httpd restart Stopping httpd: [ OK ] Starting httpd: httpd: Syntax error on line 205 of /etc/httpd/conf/httpd.conf: Cannot load ...
-3
votes
2answers
509 views

What is the default root password for Zabbix Appliance 3.0?

I can't seem to find the default password for the root user on a fresh installation of Zabbix Appliance 3.0. Tried many common default passwords, but non worked. Also tried other usernames that might ...
2
votes
0answers
29 views

Lustre alternative for 70-node scientific cluster

Our lab has a cluster with 70 compute nodes 4 IO nodes Infiniband QDR interconnection 12T disk array accessed using IB SRP protocol The major application is debugging and running MPI-based ...
0
votes
2answers
2k views

Netstat count TIME_WAIT connections by port

I can obtain individual TIME_WAIT counts on a port, netstat -nat | grep :11300 | grep TIME_WAIT | wc -l; but how to do this based on all ports eg: 11300 2900 connection 3306 1200 connection ...
5
votes
4answers
8k views

Kill all processes that are running for more than 5 minutes by a given user in linux bash script

I need the command to kill processes that have been running since at least 5 minutes for a given process. I will have to run that command every five minutes or so. Thanks a million ! (system is ...
0
votes
1answer
1k views

memcached install issues with lib event on server

I've installed libevent on my server in the directory root/data/ and have i'm about to install memcached with ./configure –with-lib-event=/data/; make; make install However, after running a bit I ...
4
votes
4answers
5k views

PHP configure not finding LDAP header libraries

I installed the LDAP development headers: apt-get install libldb-dev This added a few ldap headers: root@crunchbang:/usr/include# ls -la ldap* -rw-r--r-- 1 root root 9466 Apr 23 2013 ldap_cdefs.h ...
0
votes
2answers
32 views

How do ulimit settings impact Linux?

Lately, I had a EAGAIN error with some async code that made me take a closer look at ulimit settings. While I clearly understand certain limits, such as nofile, others are still quite confused to me. ...
0
votes
0answers
24 views

Cpanel/WHM not working [on hold]

Everything work fine, suddenly today afternoon Both cpanel and WHM stop working. But still the website and SSH work fine, But i am unable to open cpanel or whm, when i opening using IP ...
0
votes
1answer
2k views

Power Mta Won't start

I rebooted my linux server. Now PMTA won't start here is the output using --debug Resources allow for at most 0 pipe delivery thread(s) Open file limit (ulimit -H -n) too low (4086), need at least ...
0
votes
0answers
18 views

How to view l2tp/ipsec clients

I have an l2tp/ipsec server. How I can list who is connected to server? I used to use last for ppp users using pptp. but that not working. I tired who too, but no luck. The only option I have is ...
0
votes
0answers
24 views

Confusion on how to hotswap dm-x device in software raid

Below is the dump when I do lsblk cat /proc/mdstat lmsetup -ls. So sde is dying and I would like to replace it. What i'm confused is, in lsblk it shows sde is part of md3 (software raid). but when I ...
0
votes
0answers
9 views

Linux rdp client problems connecting to 2012 VDI collection

Well, I´ve implemented a Windows 2012 RDS VDI infrastructure, with 2 VDI collections: one with Windows 7 and other with Windows 10. I can connect to any collection using Windows RDP Client. I´m trying ...
1
vote
0answers
31 views

How can I decide which unix or unix-like OS will give me the most open files permissible? [on hold]

I am looking to deploy a service that is capable of serving more than 65535 simultaneous connections on one host. 65535 seems to be the practical limit of most common linux distributions. Are there ...
0
votes
0answers
13 views

where is my disk space being used in Debian 5?, please advise [duplicate]

Untitled Document Hello i have a virtual server with a Debian disk of 13GB,3GB RAM, only 13% is free disk space. There is a Mysql database of 2GB I have executed a few of commands but it ...