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

How to stop small DDOS attacks (443 port)?

On the server goes DDoS attack. ~# netstat -n -p | awk '{print $5}'|awk -F: '{print $1}' | sort -n | uniq -c | sort -nr | head -n10 48 109.229.9.53 47 31.207.244.130 45 87.252.227.83 ...
-1
votes
1answer
10 views

run PHP file from shell script

I have never added a cron job and am not much use with shell either... My chosen cron directory is /etc/cron.daily/ all I need my script to do is run a php file daily. I would be nice if it ran at ...
0
votes
1answer
18 views

ubuntu ftp 500 OOPS: prctl PR_SET_SECCOMP failed

I have just installed vsftp in my ubuntu 14 server. I have installed vsftp also using sudo apt-get install command. then restarted ftp server but it refuse all connection for this error 500 OOPS: ...
1
vote
0answers
15 views

How to optimize Apache speed for serving static content?

I'm well aware ngix is much better for static content, but I can't use it. Otherwise I have full access to my server (VPS). I've found numerous articles and posts about optimizing apache, but it's ...
1
vote
1answer
18 views

“net.c:577: sendmsg() failed: Operation not permitted” in dig Output

I am running Bind 9.10.2 version on CentOS 6.6 machine. While running the dig command, i am getting "net.c:577: sendmsg() failed: Operation not permitted" notification. dig utility is giving me an ...
1
vote
3answers
21 views

Ubuntu / iptables: Using a server as middle-man to talk to firewalled server [duplicate]

I have a situation where I need to communicate with an API that only allows connections from one particular IP. So api.example.com accepts connections on port 443 from whitelisted-ip I want to be ...
0
votes
0answers
5 views

OCS Inventory Agent Peer certificate cannot be authenticated with known CA certificates

I have configured OCS Inventory server for our helpdesk department. Few days ago they asked me to help them with OCSAgent configuration. They agents don't want to connect to server via ssl when ...
2
votes
0answers
36 views

SSH: Security of Pubkey Authentication vs Password [migrated]

Why is Pubkey Authentication considered more secure than a password, and does this apply to my situation (described in more detail below)? I'm a scientist (no formal IT training), but I built and ...
0
votes
0answers
27 views

Linux router for 2 public subnets with one getaway and one local subnet - not load balancing ;)

I have problem with routing on linux. My ISP give me 2 ranges of public addresses, lets say: 192.168.11.0/30 (4 addresses) - router 192.168.33.0/29 (8 addresses) - servers additionally I have on ...
1
vote
1answer
22 views

Why does /sys/fs/ext4/vda1 exist when /dev/vda1 is ext3?

I'm trying to tune my filesystem for some operations I have to do involving huge numbers of files. Then I got confused about what FS I'm even using. tune2fs -l /dev/vda1 contains: Filesystem magic ...
0
votes
1answer
16 views

PhpMyAdmin Blank Page on fodora 22 localhost server

I follow this guide to install LAMP server on fedora 22 workstation How To Install LAMP Stack (Apache, MariaDB And PHP) In Fedora 22 Everything working well except phpmyadmin. When i need access it ...
0
votes
0answers
26 views

Upload problems from some of my users

I have the problem that some of my user with 64k connection can't upload anything using php in my community. Error in Logs: [Thu May 28 19:13:47 2015] [warn] [client XXXXXXXXXX] (70014)End of file ...
0
votes
3answers
38 views

iptables actively refused everything despite exceptions

I was following the centos wiki page on iptables but no mater what I change only port 22 opens. Using various port scanning websites they all say the server is actively refusing connections on all ...
1
vote
0answers
16 views

Optimum LUN size for LVM created NFS share

I have access to roughly 80 TB of capacity via a SAN, which I want to set up as as 2 NFS shares: 1 share of 70 TB and 1 share of 10 TB. The 10 TB share will have full backup to tape, whereas the 70 TB ...
0
votes
1answer
23 views

s6 : how to get a run script running only once?

0 down vote favorite I'm using s6 (http://skarnet.org/software/s6/) in order to supervise multiple processes. I have couple services in my /etc/s6/ folder and one of them just need to call the start ...
-5
votes
0answers
23 views

How would a server referenced in HBOs Silicon Valley work? Uses GPUs to run a compression algorithm. [on hold]

I was watching the HBO show Silicon Valley and they were setting up a a server using GPUs. Now I know a GPU is better than a standard CPU for mathematical calculations, but I'm curious how this would ...
0
votes
0answers
14 views

How to let multiple keepalived instance run in same server?

In linux, I created 2 network namespaces, ns1 and ns2, then run keepalived in each of namespace, like this: ip netns exec qlbaas-2180946e-fc7f-42d8-baa8-ae9164bf15da keepalived -f /keep_lb22.conf ...
0
votes
2answers
37 views

Ssh Auto login twice VIA putty.exe – it is possible? [on hold]

With the following command I can login automatically to the server: putty.exe -ssh Maihabunash@100.19.1.3 –pw secret123 Is it possible to login twice? for example first I want to login to the ...
0
votes
0answers
12 views

Using Microsoft DHCP with Linux PXE/TFTP/kickstart

I have a microsoft dhcp server already in the network and i have linux servers for pxe/tftp/kickstart. I would think that it would work using a ms dchp server with pxe/tftp on linux but im not sure, ...
1
vote
0answers
39 views

cannot ping linux network namespace within the same subnet

Here is a quick summary of the issue. I cannot communicate with a linux network namespace within the same subnet. I am running Ubuntu 14.04.1 LTS on a headless server. I have been troubleshooting this ...
0
votes
0answers
28 views

IPtables string module

I am running 2 Apache servers behind a load balancer. I do not have access to the load balancer as it's run by our hosting provider. I am tasked with maintaining a blacklist of IP addresses that have ...
1
vote
0answers
16 views

get notification when systemd-monitored service enters failed state

I need to have network messages sent when a systemd service I have crashes or is hung (i.e., enters failed state; I monitor for hung by using WatchdogSec=). I noticed that newer systemd have ...
-6
votes
0answers
31 views

How does google install linux on their servers [on hold]

How does google install linux on their servers Lets say google wanted to install 100 server in 5 mins,How would they do it?PXE is readily available software for network boot,But wanted to how would ...
-3
votes
0answers
18 views

Forbidden: You don't have permission to access / on this server, LAMP Server on Fedora 22 [on hold]

I have been installed LAMP server on Fedora 22 , but when i need access my server localhost/myapp/public , I see this erro Forbidden You don't have permission to access /myapp/public/ on this ...
2
votes
3answers
53 views

OpenVPN and port forwarding

I have an issue with my Linux-based server regarding VPN and port forwarding. I am also a beginner is this area, so forgive me for any mistake. First, let me describe you the infrastructure. I have a ...
0
votes
1answer
20 views

OpenVPN limit monthly transfer

I want to limit clients with my OpenVPN to about 5gb/month,then autodisconect them until the next 1st. Is there an easy way to do this with Openvpn?
0
votes
0answers
19 views

EC2 websites & RDS databases backup

We have some Amazon EC2 machines on which different websites are working, and their database is being pulled from RDS-MySQL, I know for machine I can have images as backup and for RDP-MySQL it has ...
1
vote
0answers
8 views

Can 'or' logic be used in UDEV for mounting drive with unique UUIDs?

We do a back-up to a LaCie external rugged drive. The drive is then swapped with it's twin in the safe deposit box. While the drives have different serial numbers, for the servers purposes they are ...
0
votes
1answer
17 views

ElasticCache enpoint to use in code

I have provisioned ElasticCache and launched a Redis cache cluster with Enable Replication option selected in Single Availability Zone, now I see three cache nodes under cache cluster as following ...
1
vote
3answers
55 views

Create tar file on Solaris and untar the file on Linux is it right?

I want to create tar file on Solaris (Solaris 10 ) as Kit.tar and untar the Kit.tar on Linux machine ( linux red-hat 3/4/5 ) Can we be safe with that untar process on Linux machine? , I want to be ...
0
votes
0answers
29 views

Getting a 502 Bad gateway error with nginx on ubuntu

I am recieving a 502 Bad gateway error with this config file for my ubuntu nginx server, can anyone see any faults with this? Quite new to Linux so any advise would be helpful. I am trying to get up ...
1
vote
0answers
36 views

Delete files that are not part of a bash array [migrated]

Right now I backup the mysql databases using a cronjob everyday. Now that the server is getting full, I only want to keep one backup for every month, one backup from sunday every week and the last 7 ...
0
votes
0answers
31 views

Route postfix through different ISP/Gateway

Our network has 2 different gateways/ISPs, one with a dynamic IP used mostly for web traffic and SQUID and another with a dedicated connection and a static IP to handle VOIP and email. The network ...
0
votes
0answers
26 views

Cannot trace bug in iptables firewalls config

I seem to have a bug in my iptables configuration - when I comment out hte final line (drop) it works fine - when I uncomment it, I cannot ssh into my server - can anyone spot what I'm doing wrong? ...
0
votes
0answers
12 views

Set server ACL folders 755 and files 644 permissions

In /var/www, I want all folders (recursively) to have the permissions of 755. I want all files to have the permission of 644. I want all new files and folders to take on these permissions as well. ...
-1
votes
1answer
20 views

Installing Java 32bit rpm on 64bit CentOS

Downloaded the - jre-8u45-linux-i586.rpm Opened console - su mkdir /usr/bin/java [No java was installed before] cd /usr/bin/java rpm -ivh jre-8u45-linux-i586.rpm [Tried installing] error: ...
0
votes
0answers
20 views

How can I set up vsftp to write files as a specific user?

I have a shared file system, mounted at /exports/share/. This is owned by user exportuser, group exportgroup. I have set up vsftpd so that my test user can log in, and upload files to my share, by ...
0
votes
0answers
33 views

kvm guest routing with 2 default gateways

I have a kvm guest with two virtual NIC. NIC with internal IP III.III.III.III (eth0) NIC with external IP EEE.EEE.EEE.EEE(eth1) I'm using macvtap. The host has his own external IP. I can ping ...
-1
votes
0answers
19 views

Files placed on server used for phising, how to find source / break-in [duplicate]

Appearantly my server has been used as a phishing host for attacks against PayPal. There were files placed inside different folders accross the server and the files get executed from various IPs ...
2
votes
1answer
34 views

How to send “ATA Secure Erase” command to SSD?

A very good way to erase a SSD which have SED support is to change the password/key. But what to do with those that doesn't have SED support? This article says Fortunately it is possible to erase ...
0
votes
0answers
11 views

Linux server mount point issue [duplicate]

I have one file system that size is 5Gb, when I check with df -h /file system it shows threshold reached 98% but checking with du -sh /file system the size showing only 2gb. where is that other 3Gb ...
0
votes
1answer
18 views

NAT forwarding (whole IP) working only on some ports

Since my hoster doesn't allow briged setups I had to go for a NAT solution to run my CentOS VM on an additional IP and my host machine on the primary IP. Now, I've got a problem since for ports 22, ...
1
vote
0answers
49 views

Strange Memory Usage Behaviour in CentOS 7

I'm running three virtual machines in a VMware host (vCloud): i1 - 2 vCPUs, 4Gb RAM, CentOS 7 (Linux 3.10.0-229.4.2.el7.x86_64) i2 - 2 vCPUs, 4Gb RAM, CentOS 7 (Linux 3.10.0-229.4.2.el7.x86_64) lb - ...
0
votes
0answers
8 views

How can I change readline settings on keypress? [migrated]

I checked docs for readline (in man bash), and I can't find a way to solve one problem: how to change readline setting (set ... on/off) on keypress? Keybindings seem to have form: key:function or ...
0
votes
0answers
17 views

Understanding SAR output for historical memory usage

As we know with free -m were suposed to look at the buffers\cache: free -m total used free shared buffers cached Mem: 3919 3398 521 ...
5
votes
0answers
28 views

SynProxy can not return syn ack packets with asymmetric dual bridge topology

I have a asymmetric dual bridge topology as shown below when i connect from 172.16.11.5 and 172.16.10.6 with ssh but i can not connect because of SynProxy. ------- ...
0
votes
1answer
26 views

How to solve TLS error in Filezilla FTP client? [on hold]

When i try to connect a site files by Filezilla FTP client, i get the following error Status: Connecting to 91.109.7.88:21... Status: Connection established, initializing TLS... Error: ...
0
votes
0answers
38 views

ProFTPd + MySQL + Apache

I am trying to set up a LAMP server with ProFTPd using MySQL authentication This is a dedicated server with a single website under /var/hitr/public. I'd like to use proftpd to for user's configured ...
0
votes
0answers
12 views

load remote configuration using junit [migrated]

I have a product running on linux server. I am writing junit script to start the instance of the product. I want to execute the junit script from my windows machine and it should connect to linux ...
1
vote
0answers
45 views

SSH Passwords are working using IP address, but not when using the server name

We recently rebuilt one of our servers using Ubuntu 12.04 LTS and experienced something we haven't seen before. When we attempt to ssh into the box, we are able to ssh into the box if we use the ip ...