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

How to use the PM2 instance that's already running

I'm trying to use PM2 process manager. I'm installing it with ansible and the franklinkim.pm2 role It works, it launches my node app and if I manually kill the node app I see that PM2 relaunches it ...
0
votes
0answers
6 views

Mdadm - detection and handling of unrecoverable read error

When an unrecoverable read error occurs on a drive, is it correct to assume that it will always be detected and reported to the OS as a failed read (i.e. it won't silently return corrupted data), and ...
0
votes
0answers
4 views

redirect/proxy subfolder to different server

I was hoping someone could tell me the best way to achieve the following. I need to redirect a subfolder of a Wordpress site to a different server, while keeping the URL intact. I've tried a few ...
4
votes
2answers
103 views

Debugging iptables and common firewall pitfalls?

This is a proposed Canonical Question about understanding and debugging the software firewall on Linux systems. In response to EEAA's answer and @Shog's comment that we need a suitable canonical ...
0
votes
1answer
8 views

Pacemaker ClusterIP stops working after 15 minutes but is still running

I am running Corosync and Pacemaker via a cman stack, in an active-active setup delivering web pages, and I've hit a brick wall. I'm using the IPaddr2 resource agent to have an IP that is used ...
0
votes
3answers
34 views

kswapd often uses 100% CPU when swap is in use

Most of the time when my computer starts to need swap, I see a massive spike in CPU usage (kswapd0 is consistently using 99%-100% CPU). According to top, the time is spent in sy (system/kernel) not wa ...
0
votes
0answers
19 views

Weird authentication error from Active Directory Win 2008R2

I am trying to do a ldap query from a OpenBSD client to windows 2008R2 active directory and I am getting this error,"49: Invalid credentials". I don't understand why if I tried the same username and ...
11
votes
1answer
342 views

Unable to create files on large XFS filesystem

We have a Linux server with a 4 TB filesystem, which is used to store subversion repositories. There are many repositories, several of which have been in use for several years. The disk was ...
-1
votes
0answers
7 views

Error: Cannot open NBD: No such file or directory

I was testing nbd-client. Followed the steps as: server: sudo dd if=/dev/zero of=/mnt/dhini bs=1024 count=36000 $ sudo mke2fs /mnt/dhini mke2fs 1.42 (29-Nov-2011) /mnt/dhini is not a block special ...
-4
votes
0answers
12 views

how to setup custom nameservers with two ips? [on hold]

I have dedicated server with two ips one is fixed ip and other is failover ip (i dont know about this ) But i want to setup nameservers like below mentioned Tell me which free hosting panel support ...
0
votes
0answers
14 views

LVM partitions going offline and coming backonline [on hold]

We have Linux server that has 5 LVM partitions. In that two partitions are going offline and coming back online again and again. It is a critical server. How to resolve the issue?
1
vote
1answer
24 views

install libxml2 without internet connection so that nokigiri can be installed

I am trying to install libxml2 on a redhat box which cannot connect to the internet. So i downloaded and scped the following rpms: libxml2-2.7.6-1.x86_64.rpm libxml2-devel-2.7.6-1.x86_64.rpm ...
-1
votes
1answer
42 views

how to identify which physical drive(s) correspond to an entry in /etc/fstab [duplicate]

Using Centos. Situation: I have multiple drives off of two RAID controllers. I also have multiple entries in the fstab, such as /dev/sdb, /dev/sdc, etc. What I need to know is how I can identify ...
-1
votes
1answer
28 views

Server unexpectedly closed network connection (sftp + putty)

I am running CloudLinux 6.6 with Cpanel/WHM. We had disabled default port 22, but a client required it, so ever since I switched back to port 22, we have experienced "Server unexpectedly closed ...
0
votes
1answer
29 views

Extending LVM Volume Groups with Physical Extents & pvresize

I have two somewhat related LVM questions regarding extending LVM managed volumes. Firstly, from (edit: old) documentation that I've read about LVM and the relationship between Volume Groups and ...
1
vote
1answer
37 views

All LDAP traffic is being sent on TLSv1.1 not TLSv1.2

I have a kvm server, Centos 6.6 host with 6.6 guests. We run a php based web app that uses LDAP authentication for our clients. We just moved a client to this setup and they are reporting that all ...
0
votes
0answers
9 views

Can't find Bacula's Storage Daemon hardware recommendation [duplicate]

I have been reading latest Bacula's manual and I cannot find mentions of recommended hardware for the server working as Storage Daemon (SD): Where could I find such recommendations (RAM, CPU, Disk, ...
-1
votes
1answer
35 views

Redirect all subsites to one site

I have a website running on Apache. I would like to create a forward such that if I access http://helpdesk.example.com/otrs/anyname (except customer.pl) this redirects to ...
1
vote
5answers
78 views

Find IPv4 broadcast address of a device

I need to determine the IPv4 broadcast address of a device (if any) with a shell script. If there are several, pick one (e.g. first as ordered by /sbin/ip). I have a solution, but i do not like it ...
0
votes
1answer
39 views

Apache Server not going public (Linux)

I'm running an Apache Server on Kali Linux. I've set up port forwarding like this: Rule Application Protocol Start Port End Port Local IP Address 1 HTTP_Server TCP ...
-2
votes
1answer
12 views

Var folder maxing out /dev/mapper/vg00-var

Over the past few years we have had multiple linux servers have the same problem time and time again, our /dev/mapper/vg00-var folder max out at 100%. which means all sites on the server die. We have ...
0
votes
2answers
27 views

CentOS root user crontab for mysqldump

I am using CentOS 6.6. I am trying to set up a crontab. I made an .sh script which runs perfectly when executed manually. The command is following: mysqldump --skip-lock-tables --single-transaction ...
0
votes
1answer
31 views

MySQL frequently starts returning empty results on SELECT and throws no errors. After restart it starts working as expected

MySQL started frequently returning empty results to all queries on all databases until I restart it after which it again works as expected. No errors are thrown or logged and the MySQL server keeps ...
0
votes
0answers
15 views

Two network interfaces and two IP addresses on the same subnet in Linux communicating other subnet [on hold]

I followed the link Two network interfaces and two IP addresses on the same subnet in Linux to setup two wireless virtual stations(Single NIC) on the same subnet and it worked. Now I want to get that ...
0
votes
0answers
10 views

auditd process stops logging after logrotate script runs

I am trying to use logrotate to keep audit logs for a set period of time rather than using auditd's special rotation (from /etc/audit/auditd.conf). I have changed the max_log_file_action to IGNORE in ...
1
vote
0answers
40 views

Linux: Same static IP configured for all NICs

I am shipping some servers out to remote colo sites. I want to configure them so at the other end any port can be lit-up and the boxes will be good to go. I had originally been planning on bonding ...
0
votes
2answers
38 views

Redirect subdomains to services on different ports of same server

I have a VPS which has 1 IP. If I run two socket servers, one on port 8080 and the other on port 8081, is there a way I can map service1.mydomain.com to the socket server on port 8080 and ...
0
votes
2answers
35 views

Clear TCP sessions

I am trying to use iptables to reject packets as well as reset the TCP connection. My rule is: iptables -I FORWARD -p tcp -s 10.0.0.10 -j REJECT --reject-with tcp-reset If 10.0.0.10 is SSH'ing into ...
0
votes
0answers
53 views

Why apache2 is continuously failing?

I have issues with the server constantly. It seems to fail every few hours and I cannot tell why. This morning I had 503 on all of my websites, I tried to restart Apache but # service apache2 ...
0
votes
1answer
29 views

Ansible ad-hoc bracket expansion

Is it possible to use bracket expansion in an ad-hoc command? I'm trying to do: ansible web3 -m shell -a "sudo gzip /var/opt/tomcat/logs/appname.log.2015-05-2{4..7}" -K But it's being interpreted ...
4
votes
2answers
33 views

Where do md array definitions come from?

I created a md array in an ARM computer with two USB/SATA disks in RAID 1. Then I moved both disks to my Ubuntu desktop and installed mdadm. Installation detected the RAID and added the definition to ...
0
votes
2answers
37 views

SSH Connection through a Reverse (Remote) SSH Tunnel

This is the setup I have : a Linux box A inside a LAN behind a firewall. a Linux server with a fixed IP address that is accessible from the internet. I want to be able to connect to the Linux box ...
-6
votes
0answers
26 views

How to remove write protection from pen drive [on hold]

How to remove write protections from pen drive. I try many tricks to format the pen drive but it shows the error 'write protected'. Please tell the advance way to format pen drive.
0
votes
1answer
44 views

NFS stop working when on a lvm

I have a nfs server that was working correctly with a share on /exports/something. However, when I mount /exports/something on /dev/mapper/something (a lvm with more space) the nfs does not work. The ...
-4
votes
0answers
37 views

What are the best practices for permissions and and methods for generally avoiding using sudo? [on hold]

The main point is that I only want one user to have sudo access - really only for use in set up and emergencies. I don't even trust myself with sudo access all the time. Are there best practices ...
0
votes
0answers
35 views

Dnsmasq's DNS response auto caching feature not working

Dnsmasq Cache and Internal Log on USR1 signal dump (when running with or without --no-daemon and --log-queries for analysis) it always shows: 0/0 cache, meaning caching feature of Dnsmasq not working. ...
-2
votes
2answers
43 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 ...
0
votes
1answer
28 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
44 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
24 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
37 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
25 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
10 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 ...
0
votes
0answers
6 views

digitalocean server cpu is 75% all the time

I have a nice server in digital ocean, it's the 1GB ram size. It has installed: php, mysql, nginx, supervisored, beanstalkd as I installed. But the problem is the I see that all the time the cpu is ...
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
31 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
19 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
28 views

Upload problems from some of my users [on hold]

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
44 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 ...