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

learn more… | top users | synonyms (3)

0
votes
5answers
109 views

Should I change the SSH port to < 1024? [duplicate]

Many server configuration guides recommend that the SSH port should be changed to something > 1024, for obscurity and to avoid conflicts. This is interesting, because it recommends using a port < ...
0
votes
1answer
66 views

'www.', nameservers, and DNS records

TL;DR: 'www.' doesn't work, haven't got BIND configuration right yet. I have a domain name, let's call it 'example.co.uk'. I have my own server with several websites on it, all expressed with the ...
1
vote
2answers
56 views

Should I partition a RAID or just create a file system on it? [duplicate]

Given a RAID 6 created from 6 drives /dev/md0 which should be used fully for data (no booting from it, root and swap are on a different drive), should I create one partition on that device and then ...
1
vote
2answers
101 views

CentOS 6 Yum update issue

I get this error when I try and run 'yum-complete-transaction' in shell: [root@namesvr ~]# yum-complete-transaction Loaded plugins: fastestmirror mirror speeds from cached hostfile Loading mirror ...
5
votes
0answers
49 views

rrdgraph generation fails on high IO load

We have a 4 core CPU production system which does a lot of cronjobs , having constant proc queue and an usual load of ~1.5. During night time we do some IO intensive stuff with postgres. We generate ...
0
votes
0answers
22 views

Unable to run ferret, permission denied [closed]

I'm trying to install and run Hamster & Ferret on Kali Linux. Since Ferret isn't shipped with Kali, I installed it from source in /usr/bin/ferret, and sym linked it to ...
-2
votes
3answers
42 views

Public Key authentication fails while using the -i parameter on ssh command

I have to do public key based authentication on two Linux servers. Machine 2 (192.168.3.132) username: vfx_30 home dir: /home/vfx_30 ssh keys: /home/vfx_30/.ssh/id_rsa /home/vfx_30/.ssh/id_rsa.pub ...
0
votes
0answers
23 views

Linux IPSec, association established but no traffic

We are attempting to setup an IPSec tunnel from a Debian firewall/router to a Netasq hardware firewall. On the Debian side the tools used are IPSec-tools and Racoon. The IPSec SA is established ...
0
votes
1answer
27 views

Squidanalyzer error

I installed squidanalyzer-5.4.tar.gz, following this tuto http://squidanalyzer.darold.net/install.html and setting as recommandation but when I run http://testserver.com/squidreport I get error below ...
0
votes
1answer
24 views

Receiving incoming traffic without external IP and port forwarding

I have a virtual machine in the datacenter with an external IP. I can connect via SSH to this virtual machine from my desktop, but this virtual machine has no way of accessing any ports on my desktop. ...
1
vote
0answers
54 views

Simple linux router with two NICs [migrated]

I tried following these guides to no avail: https://help.ubuntu.com/community/Router http://www.yourownlinux.com/2013/07/how-to-configure-ubuntu-as-router.html I have a small Linux box with two ...
1
vote
0answers
19 views

lxc command always “get error 4 in libc-2.12.so”

I've tried several time to find out why suddenly my LXC not working, I use dmesg | tail it shows: lxc-start[2777]: segfault at fffffffffffffffc ip 000000390347b82c sp 00007fffd9046c18 error 4 in ...
-1
votes
1answer
16 views

command not foundbles-config error on service firewall restart

This is a follow-up question after I fixed my initial problems: I have a CENTOS Linux VPS. I have the following in my IPTABLES script to run when my VPN restarts, but I get errors when I do a service ...
1
vote
1answer
32 views

IPTABLES command that end with ACCEPT or DROP fail on service firewall restart

I have a CENTOS Linux VPS. I have the following in my IPTABLES script to run when my VPN restarts, but I get errors when I do a service firewall restart I've ran each of the commands below manually ...
1
vote
3answers
74 views

How do I detect what is changing file ownership on Linux?

I have inherited a bunch of Linux (Ubuntu Precise) servers and am currently having problems with the ownership of a folder changing to "root" fairly often. We run puppet, which changes the ownership ...
1
vote
1answer
25 views

Create yum variable, that is the result of a command?

To clarify, I am looking on how to store a yum variable as the RESULT of a command. The command I use to get the OS version is irrelevant to me, I'm sure there are better ways of getting it than what ...
-4
votes
0answers
59 views

I think I am being Fork Bombed via XSS. How can I detect the source? [closed]

I think I am being fork bombed: I only have a 1Gb VPS. I know that one of my sites has an XSS vulnerability, if you access an ajax php file directly, you can inject Jquery. I haven't tried it yet, ...
-2
votes
2answers
36 views

How can I scan a IP & Port range to get information about all SSL certificates in use

From a Linux system, for a given IP range I need to check each open port to see if an SSL certificate is in use. For example, I would like to check ports 1 - 9999 on the address range ...
1
vote
0answers
19 views

Crond stopped sending e-mails for no apparent reason [duplicate]

I have a cron job that I want to run just once a day (executes a rake task), but while I'm testing it I have it set to run every 5 minutes. It was running perfectly fine this morning and sending me ...
-1
votes
1answer
28 views

mysql dump file corrupted

I've been using the following command to dump my databases: $ mysqldump -uuser -ppass --all-databases | gzip > all-db.sql.gz A full dump of the database is around 130 Gb, and takes about 10 ...
1
vote
1answer
23 views

Linux: Listing all local and SAN disks on a host

I am attempting to list and categorize all connected disks on a host; local and SAN-connected. The SAN use various types of adapters (namely Emulex and Qlogic) so scanning the FC bus can be somewhat ...
1
vote
2answers
66 views

Linux NFS hangs after about 15 minutes

I'm somewhat new when it comes to administering Linux and NFS, so please bear with me. We are trying to setup a small cluster at work. Currently the system is just 2 DELL high-end workstations, ...
0
votes
0answers
20 views

Latency line in LSPCI

Does anybody know what is the Latency line stands for in the output of lspci: Latency: 32 (500ns min, 500ns max), Cache Line Size: 32 bytes Why do I have this on machine A but not on machine B with ...
14
votes
5answers
741 views

Piping wget output to /dev/null in cron

I am running the following command every 5 minutes in my crontab to keep Phusion Passenger alive. */5 * * * * wget mysite.com > /dev/null 2>&1 When I run this it performs a wget on the ...
-3
votes
0answers
13 views

TN can not receive Echo reply from NUT [closed]

I am getting error - "TN can not receive Echo reply from NUT", in "Self_Test_5_0_0" of tahi for ipv6 ready logo. I have setting up the just like specified in INSTALL.ct under v6eval-3.3.3.
0
votes
1answer
15 views

Opsview+RESTAPI+HTTPD The requested URL /rest was not found on this server

I have successfully installed Opsview on a CENTOS machine using the following official guide: http://docs.opsview.com/doku.php?id=opsview-core:centos-installation My only problem is that RESTAPI ...
1
vote
1answer
33 views

What are (if any) possible scenario whereby hacker can find multiple sites hosted in one VPS?

Let me clarify: Say that I have 10 sites hosted in one VPS host. And for some reason, one of these sites gets famous and a hacker wants to know where it is hosted, and how many other sites are hosted ...
-1
votes
1answer
18 views

How can I make unison stop writing itself to root root when sshing from server to server?

I am using this command: sudo unison /opt/bitnami/apache2/htdocs/test/wp-content/uploads/ ssh://xxxx@wxxxx.cloudapp.net:7775//opt/bitnami/apache2/htdocs/test/wp-content/uploads -owner -group upon ...
-2
votes
1answer
30 views

I need some advice into redirecting a udp stream through DD-WRT or other way [closed]

What am I trying to do? I currently have a receiver with an incoming UDP video stream and I want to redirect the incoming stream to another IP in the local network. I have tried it with iptables on ...
-1
votes
1answer
36 views

Why does this IPTables command create 4 entries?

When I executed this IPTables command: iptables -A INPUT -p tcp -m tcp --dport 9080 -s localhost -d localhost -j ACCEPT iptables -L shows: ACCEPT tcp -- localhost localhost ...
-2
votes
1answer
41 views

Linux router share internet between eth2 to eth3 [closed]

I am not a networking guy, so apologies in advance. I have a small Linux (Ubuntu) box with 2 ethernet ports. eth2 is connected to a cable modem that gives it a 192.168.1.x address + internet ...
-1
votes
1answer
24 views

Mail reverse proxy [closed]

I have Docker container with configured mail server (SMTP and IMAP). I've tested it locally - everything works like it should. Now I want to move it to production server that have multiple containers ...
-1
votes
0answers
40 views

Centos - Tomcat not listening on 8080 [closed]

My Tomcat 7 is not listening on 8080 port from outside. I think there is no problem with the tomcat because I did a wget to localhost:8080 and got index.html as response. My iptables looks like this. ...
0
votes
1answer
25 views

Can not register with RHEL

# yum -v repolist Loading "rhnplugin" plugin Loading "security" plugin Config time: 0.105 There was an error parsing the RHN proxy settings. RHN support will be disabled. Yum Version: 3.2.22 repolist: ...
3
votes
1answer
119 views

Turn off password expiration after user changes password (Linux)

One of my e-mail servers uses unix system accounts for user login. Because I didn't set up any complex password policies (our users, including management staff, don't like complicated passwords), one ...
-1
votes
0answers
12 views

Properly configuring lm_sensors

I am using Observium as my monitoring device. I have installed lm_sensors and this is my sensors.conf file: cat /etc/sensors.conf label temp1 "temp-System" label temp2 "temp-CPU" label temp3 ...
2
votes
1answer
114 views

What are the options for a HA system?

I'm looking into creating a HA Linux machine for my client's website. What are the main options I have, or a place/article where I can find out more? I would LOVE if it was a single-image, too, so ...
1
vote
1answer
15 views

Segmentation fault during apt-get install

$ apt-get install openssh-server fails with Segmentation fault when it attempts to generate keys. This leaves me with a half-complete installation, but the binaries are in place. I also notice that ...
-2
votes
1answer
23 views

Is MOSIX the easiest way to build a redundant system?

I'm trying to figure out the easiest way to build a server with HA. I looked into Linux-HA, Heartbeat, Mesos. I then found MOSIX. I don't know if it's a thing from the past that no one uses, but ...
3
votes
2answers
114 views

Is “sudo su -” considered a bad practice?

Background I know the difference between su -, sudo su -, and sudo <command>: su - - switches user to root, requires the root password sudo su - - switches user to root, requires only the ...
0
votes
0answers
12 views

GDM PostLogin Scripting from GDM Session

Does anyone know a way to determine what session has been selected at the GDM window in the PostLogin script section of the GDM login process? The situation I'm dealing with - some of my users want ...
0
votes
0answers
16 views

CentOS 7 hangs after update on Workstation 10 after “[sda] Assume drive cache: write through” line [migrated]

I recently updated my CentOS 7 VM and it won't pass the following line: [sda] Assume drive cache: write through I tried changing the run level to 3 and run xfs_repair but it still doesn't boot. ...
0
votes
0answers
41 views

dmidecode /dev/mem: mmap: Operation not permitted

I am trying to get my BIOS firmware version, and memory info using dmidecode. I am connected to the server through ssh as a root user. We recently just started moving our servers from Debian 6.0, to ...
0
votes
1answer
35 views

Interpreting /proc/diskstats for a webserver: more writes than reads?

Thanks to this answer I was able to see the total reads+writes for my apache webserver: [root@barricade ~]# cat /proc/diskstats | grep sda 8 0 sda 653416 315344 72474412 17441745 4597621 ...
1
vote
1answer
57 views

Forward linux logs to fluentd on linux

On one VM I have this in /etc/rsyslog.d/50-default.conf *.* @192.168.29.1:42185 # Default rules for rsyslog. On the vm with fluentd I have this: I have this in /etc/td-agent/td-agent.conf ...
0
votes
1answer
53 views

Server time is off by 5 minutes [closed]

I need to create a cron job to run a script. Changed the server timezone to Eastern following the first option in this guide. The timezone was changed successfully but when I run date I'm noticing ...
0
votes
1answer
30 views

Display the number of I/O to disk (reads/writes) since the last boot on CentOS

Is it possible to use iostat (or some other tool) to get the number of reads/writes operation "since the last server reboot"? I mean: I'd need to know how many reads/writes the server has done since ...
2
votes
2answers
61 views
+100

Looking for good documentation of odbc.ini and odbcinst.ini files on Linux

I saw partial information, old information, but nothing as good as the actual sample files with brief comments that I have locally. I need to understand the exact relationship between odbc.ini and ...
0
votes
1answer
64 views

How do I block all access to machine except port 3389 using Open vSwitch

I can allow access to the machine and block everything else using: ovs-ofctl add-flow xenbr0 "dl_src={mac-address} priority=39000 dl_type=0x0800 nw_dst={ip-address} idle_timeout=65000 action=normal" ...
0
votes
2answers
50 views

Where should I place compiled source code [closed]

I'm running a virtual server for development purposes. On this server there are several packages which are compiled from source. I know the source of these packages should be placed in /usr/src. But ...