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

learn more… | top users | synonyms (1)

-2
votes
0answers
15 views

How to disable echo on SSH session [on hold]

I would like to disable echo from SSH server on a Linux appliance (running openssh). This is required for machine to machine communication. How can I do that ? Thanks
0
votes
0answers
8 views

IPSEC VPN point-to-site connection works but remote network is not rechable

I have a probelm with ipsec configuration. I have to connect to remote network (client! to site), where is Fortigate firewall. On left side (where I have access, this is my dedicated server), I have a ...
0
votes
0answers
5 views

What is the default value for TCP accept queue length on Linux?

I have read this article but it doesn't mention where the default accept queue length can be found (it does mention tcp_max_syn_backlog though, but it's different). I'm working on a Java 8 project ...
0
votes
0answers
8 views

Unable to create indipendent shares for Virtual-Samba-Server

I'm using a VirtualBox-Centos7 (Samba-Server) and a Ubuntu-Mate-Xenial (client) machine; I would like to create two virtual servers and for every server one indipendent share. I've already created the ...
0
votes
0answers
11 views

Too many open files in system in kubernetes cluster

While running a Kubernetes clusters, I keep hitting the following error after a while, it seems there is a bug about etcd, has anyone counter the same issue and has a workaround? FailedSync Error ...
0
votes
0answers
10 views

How can i track all executed command [duplicate]

newly sysadmin. is there any application that capture complete logs of all executed commands, its just like the bash_history or history? although i saw the auditd and psacct/acct. eg i ssh on the ...
1
vote
0answers
15 views

LSF nodes die after exhausting all memory

I have a LSF cluster and experience the following problems. After some time, random OS processes start to die (they become zombies or defunct), and the LSF nodes do not report any troubles back to ...
-2
votes
1answer
20 views

Provision a virtual server within CentOS 7? [on hold]

This may be a really silly question, but I currently have a dedicated server and I have an incredible amount of redundant hardware. I'd like to be able to provision virtual servers running various ...
0
votes
0answers
19 views

Large payload - connection get's Hung with CLOSE_WAIT or LAST_ACK state

We have a webservice client which posts data to a 3rd party Webservice. We are having an issue when the payload is a bit large (Around 600KB) xml. Once we pay the process hangs forever. The Netstat ...
0
votes
0answers
25 views

dhcpd class match on hostname or mac address

We are running DHCPD 4.1.1-P1 on a RHEL 6 server. Currently we have 1 class defined for deny purposes. We now have a need for a class match to allow all devices that match a variable and deny ...
-1
votes
1answer
21 views

Write Python Output to File in Cronjob

I have a script (/home/user/script.sh): #!/bin/bash /usr/bin/python /home/user/program.py >> /home/user/logs/out.log & and it is working. The output from the python script is written to ...
6
votes
5answers
2k views

Run a script from anywhere

I have a script: #!/bin/bash echo "$(dirname $(readlink -e $1))/$(basename $1)" that sits here: /home/myuser/bin/abspath.sh which has execute permissions. If I run echo $PATH I get the following: ...
0
votes
0answers
20 views

What I need to start with server-side? [on hold]

I have an experience of back-end development on ASP.NET (.NET) and Django (Python). However, I always worked with already published and running server on IIS or Heroku prepared by my system ...
0
votes
0answers
32 views

“Roll back process” for servers during different penetration testing in case of something goes wrong?

In some extent, different kind of vulnerability assessment and penetration testing may impact on target system. I am looking for the solution/rollback process for server if something goes wrong during ...
-1
votes
0answers
26 views

How BCC works in Postfix

I'm trying to use postfix feature content_filter like: my_script unix - n n - 10 pipe flags=Rq user=filter argv=/usr/local/bin/my_script.py -f ${sender} -- ...
0
votes
0answers
43 views

Multiple Gateways for Single Subnet

Right, this might be a long one, so bare with me... I have 2 machines, lets call them local1 and cloud1. local1 has 3 Nics: 2 connected directly to cable modems with public IPS (call them eth0 and ...
0
votes
1answer
17 views

Configure RAID1 to boot from other disk if first one fails

I have Centos 6.7 running on 2 SSD disk in RAID1. The boot loader is installed only on /dev/sdb so in case it fails I won't be able to boot the system from /dev/sda Is there a safe way to ...
-2
votes
1answer
21 views

Web server files being publicly served despite permissions set to user/group only

I'm running an Apache2 server on Raspbian that serves an instance of DokuWiki, however I seem to be running into permissions issues. For some reason all my directories and the files in them are ...
0
votes
0answers
9 views

High cpu usage by 'root' in Ubuntu VPS server [duplicate]

My server was working fine until last week. But I don't know how someone have changed by ssh root password. After that when I checked the CPU usage, it always 160-190% on executing 'top' command. Some ...
0
votes
0answers
12 views

RTNETlink Invalid Argument

I've no idea with this. It was working, now it isn't. Trying to configure a switch which needs a static IP. My /etc/network/interfaces is: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo ...
-1
votes
0answers
20 views

etho:0 not working and lshw -C network says *- Network Disable

i was trying to add IP alias but i cannot add etho:0 because it is not working. $ lsusb unable to initialize libusb: -99 $ lspci -nn | grep 'Wireless Brand' pcilib: Cannot open /proc/bus/pci ...
0
votes
0answers
13 views

How to make a linux shared folder in windows? Both are in different domain. I am trying Samba file share [on hold]

How to make a linux share visible to a windows machine with credentials?
-1
votes
1answer
41 views

History with SSH IP-address

Trying configure SSH client connection IP-address to be in history, I have multiple people using one account and I wanna know which person ran command. I have been messing with that around alot and ...
0
votes
1answer
10 views

Do not close bluetooth connection via CLI

I'm creating a bluetooth connection to my device, like so: hcitool cc 01:02:03:04:05:06 That works fine for a few seconds, then the connection automatically closes. How do I keep linux from ...
0
votes
2answers
37 views

How to install an older version of php (5.2.17) in Linux?

I want to study some security vulnerabilities in php 5.2.17, but I can't install it from source, because then I need also all the older versions of all the other application which have something to do ...
2
votes
0answers
32 views

Possible to force TCP window scaling to a higher value?

Is it possible to increase the TCP window scaling factor on Linux (CentOS 7.2)? I have a long fat network (100 Mbps) from London to Chicago and I'm getting 16 Mbps throughput in TCP on an sftp from a ...
0
votes
1answer
30 views

Connecting to a FortiGate VPN from a remote Linux machine via OpenSwan

Here's the setup: I have a FortiGate unit on a business network, which has a FortiGate VPN set up. Machines on a remote network that can run FortiClient (Windows and Mac machines) have no problem ...
0
votes
0answers
13 views

rsyslog does not close connections

I've successfully configured rsyslog (v5.8.11-3, Debian 7.6) to receive messages from remote machines using this configuration: Server-side rsyslog.conf $ModLoad imtcp $InputTCPServerRun 514 ...
-1
votes
0answers
18 views

How to build Linux os using buildroot? [on hold]

I am trying to create a Linux OS with the help of buildroot and make an ISO, so that I can later install the OS using the ISO., I am following this tutorial: buildroot. I have tried many times, but ...
0
votes
1answer
30 views

shell script for geting mysql user grants details

I am trying to get mysql user grant details and echo it to out file hari=mysql -sN -e "show grants for mysqladm"; echo $hari GRANT ALL PRIVILEGES ON *prod_server_list.txt stage_server_list.txt ...
-1
votes
2answers
40 views

linux file permission got a ending . dot and webserver denied access

I have got a issue that I never have seen before. A lot of my files and folders have changed file permission to a persiion ending whit a dot filesystem is /dev/md3 /var ext4 defaults ...
-1
votes
1answer
40 views

How can I connect a group of vms in Azure?

I have a number of Azure Linux VMs. I am able to ssh into all of them using the public azure connection info, however I am not able to ssh from one vm into another vm using the private info. I have ...
-1
votes
0answers
10 views

apache webroot direoctory replication? [on hold]

I have a apache server running and i would like to make a live replication off the webroot folder to another server. I am not sure which will be the best method? some people have adviced me to use ...
1
vote
0answers
21 views

Let an application use a certain interface

I'm using Ubuntu 15.04. I'm using 2 Interfaces, but I need to let application use the second interface (in my case, eth0:0, the first one is named eth0). Is it possible? Or, if not, is it possible ...
0
votes
1answer
39 views

How to setup linux to retransmit TCP packets by reducing the packet size like OS X

On OS X I noticed that for packets which are not ACKed, the system retransmits them with reduced packet size. This can be seen in the image below. Is it possible to enable the same behavior in ...
3
votes
1answer
29 views

yum + list all available security updates without installing them, on redhat 5?

To list all available security updates without installing them, I run this and this syntax is working on redhat 6 and 7 # yum list-security --security please advice what is the syntax for redhat ...
1
vote
1answer
35 views

Slow file transfer speeds

I have a server that is running Ubuntu Server 14.04LTS and I am currently experiencing slow network transfer speeds. This server had been running without issue now for about 2 years and suddenly I am ...
0
votes
0answers
25 views

IPSec VPN between Fortigate 5.2 and Linux with ipsec-tools - data does not pass

We have an IPSec VPN tunnel between Fortigate device and Linux box running racoon and ipsec-tools. The setup worked in Fortigate 4.X, but with 5.2 the SAs are negotiated OK and no traffic can be ...
0
votes
1answer
23 views

libvirt: set hostname using dhcp in virtual network

I've configured a host-only (aka private) network for a group of VMs on a CentOS 7 host. I've created static leases in the DHCP section for the virtual network. The IP address is getting set ...
1
vote
1answer
40 views

Apache 2.4 require all not working

My virtual host configuation file contains the following (Apache version is 2.4.7): <VirtualHost _default_:443> [...] <Directory [...]> Require all granted ...
0
votes
1answer
44 views

BTsync Webui unreachable on headless Linux host

I am trying to install the latest version of btsyc on a CentOS 6.5 headless server. I cannot reach the WebUI. I configured the webui on port 65000 via a config file and start btsync with the config ...
0
votes
2answers
27 views

Mounting an SSD

I have recently got a 'dedicated GAME server' from OVH and I've been promised 2x480GB SOFT SSDs. However, df -h shows this output: root@dedi:/home/shavit# df -h Filesystem Size Used Avail Use% ...
0
votes
1answer
27 views

boot issues after converting running linux to vm manually

I did a file copy of a running debian8 installation to a image. Following is the proceedure. create a vdisk image - raw / vdi. mount it locally. do a file wise copy of a running linux distro: ...
-2
votes
0answers
14 views

Linux Server with Low Disk Space [duplicate]

I have a server on Ubuntu linux and when I run sudo df -h Filesystem Size Used Avail Use% Mounted on udev 3.9G 12K 3.9G 1% /dev tmpfs 799M 664K 798M 1% /run ...
1
vote
1answer
41 views

How can I use Ansible to conditionally append a line in a file?

I'm trying to create an Ansible task that sets up trim/discards. I have a playbook that takes care of everything else (LVM, fstrim), but I can't figure out how to get crypttab configured properly. ...
-2
votes
0answers
27 views

Remove same php code from all php files [closed]

I need to remove everything between following tags in all php files using ssh <?php $rfghoh = $rfghoh=$yuoopi-1; ?> Thanks
0
votes
1answer
21 views

How to see what processes produce usage spikes on Ubuntu server?

As I was monitoring one of my servers it seems that there are some unusual processor usage spikes as seen in this image: that occur as can be seen from this graphic in a repeated interval. This ...
-1
votes
1answer
46 views

Removing 1 line of code from all php files

I can see same code under all php files. Starting from <?php $rfghoh = '*f%)sfxpmpusut)tpqssu6 And end $rfghoh=$yuoopi-1; ?> I am just looking for script using which only first line of ...
0
votes
1answer
34 views

Capture traffic to/from a network node

I would like to capture all traffic to/from a network node. I don't know much about the network setup there, here's what I know: The target node is a Linux server, which has no access to internet, ...
-4
votes
2answers
69 views

Microsoft Exchange server alternative [on hold]

this is my first time posting on this Q&A so I hope I'm posting it on the right one. I'm running a Linux server, with a mail server installed on it. The mail addresses are configured on ...