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

learn more… | top users | synonyms (1)

1
vote
1answer
14 views

Nginx alias with trailing slashes

I have a sub-site working under a parent website like this: http://example.org/sub-site (http://example.org/sub-site/ works too) Everything seemed to work well, including : ./sub-site/sub-section ...
-1
votes
1answer
27 views

Linux - Print specific line from output [closed]

I am used to working with single line output and can use $1 $4 $8 to specify certain items in that line, but I have never worked with multiple line outputs and would like to just print one line ...
0
votes
2answers
32 views

How to change the group, excluding a directory

We are using AWS S3 Buckets, and when you attempt to do a recursive chgrp, it churns on the S3 bucket (essentially) indefinitely. Is it possible to execute chgrp while excluding a directory?
1
vote
1answer
26 views

Shrinking LVM Volumes

We have a Synology RS3614rpxs NAS head containing (9) 3TB hard drives in a RAID 6 + 1 hot spare. The storage became exhausted and we added an expansion chassis where 5TB hard drivers were installed ...
-1
votes
0answers
10 views

What is the windows server HW platfom (24 cpu, 2.3ghz server-2 core ) equivalent to Linux VM? [duplicate]

Wanted to migrate Windows Server HW to Linux NM Server. Windows HW 96G RAM 2.3ghz, 2core 24 CPU Hyper threading is enabled What is the equivalent HW requirement for ...
1
vote
1answer
32 views

AWS Ubuntu 14 - Can't SSH After Reboot

Had an issue where an instance became unresponsive and was forced into a reboot. After the reboot I could ping the server but could not SSH into the server. Ultimately I created a new instance and ...
1
vote
1answer
74 views

Update version of network manager

In shell on sever I see following error after launching several commands: Error: nmcli (1.0.0) and NetworkManager (0.9.9.1) versions don't match. Force execution using --nocheck, but the results are ...
0
votes
0answers
20 views

Auditing user commands with ip address

i have to set auditing system to my firm's server. Server runs Debian Wheezy. I'm working on "auditd" system on server. I have only two rule. # Log any command run on this system -a exit,always ...
0
votes
0answers
25 views

Cross-platform filesystem watcher, running in VM watching host?

Can anybody suggest a way to copy data from a VM's host to the VM[0] in way that is cross-platform across hosts (i.e. Windows, Mac or Linux)? Right now, I'm achieving this by running rsync in the VM ...
1
vote
0answers
5 views

libexecdir in systemd .service file?

I'm deploying something to machines (internally, not for public consumption) using RPMs. Now, in RPM .spec files there's the %_libexecdir variable. The package deploys a service binary in that ...
0
votes
0answers
23 views

SFTP chroot jail not working

Trying to follow this tutorial but for Arch Linux. /etc/ssh/sshd_config: # override default of no subsystems #Subsystem sftp /usr/lib/ssh/sftp-server Subsystem sftp internal-sftp ...
3
votes
2answers
76 views

Is it possible to ssh or rsync into a system whose file-system has remounted itself read-only?

I need to login to a system that went into a read-only state. I can ping it just fine but I can't ssh in anymore. Is there some special command line flag/parameter I can pass ssh that lets me login ...
0
votes
1answer
29 views

Monitor WiFi association attempts

I'm using hostapd to create an access point and I was wondering if there's any way for me to get an output of current or recent association attempts. Ideally I'd like to see the MAC ID and any other ...
0
votes
1answer
24 views

Why does Apache need o+x permissions for a Virtual Host running under suEXEC?

Running Apache 2.4.10 on Arch Linux. I'm trying to restrict an SFTP user to only be able to access his home directory, a public folder under a vhost directory, without being able to access that vhost ...
0
votes
1answer
22 views

screen -r and screen -list only show last screen

My problem is pretty much as the title describes it. I am running ssh session and on my server I screen for multitasking. My issue here is that I have at least 4 screens open and detached, but screen ...
0
votes
0answers
26 views

Linux client for pki certificate auto enrollment from Windows CA

I just set up a Windows Server Certificate Authority. I would like to auto-enroll Ubuntu Linux computers for certificates. Can anyone share the available client options? I found this (old) technet ...
4
votes
2answers
88 views

Samsung 850 EVO + HP P410 limited iops?

I´m experiencing a weird write iops limitation with a HP P410 256mb cache controller and 4x consumer grade ssd´s (Samsung EVO 850) in RAID5/10. After upgrade to latest firmware (6.64) for HP P410 ...
0
votes
1answer
30 views

openldap SSL/TLS Cert: Get a 'real' one or use Self Signed?

I'm setting up SSL/TLS on OpenLDAP and wondering why the Debian Handbook has the user create a self-signed cert? Wouldn't one signed by a 'real' CA be more secure?
0
votes
0answers
15 views

Allow guest read/write access to Netatalk AFP share

I am running Netatalk 3.14dev on Ubuntu 14.04. This box is being used as a webserver and we already have a Samba share pointed at the /var/www folder to allow our developers to work on sites hosted on ...
1
vote
2answers
36 views

Connect multiple times to the same wifi network [closed]

Is it possible to connect multiple times (with different MAC addresses) to the same wifi network with just one network card? Is there already a tool to do this?
0
votes
0answers
17 views

policy based routing on multiple interfaces and default route

I have a server with multiple interfaces connected to different networks. I have eth2 wih ip (10.1.1.1). I have the following routing set: # ip rule list 0: from all lookup local 32765: ...
1
vote
2answers
37 views

building a SIEM, should I send logs or get them from the gathering machine?

I am working in a Linux environment, I would like to gather all the logs from the machine pool on a unique machine X. There are several log files I need to move and I am not sure about the way I ...
1
vote
0answers
35 views

Ansible 'include' statements and autopath

My ansible's 'include' statement was working fine, but recently after including ymls in subfolder, it somehow brokes the role's path. Here's the tree of my role: . ├── site.yml ├── inventory.ini ...
0
votes
0answers
17 views

why does having ~/.ssh/id_rsa.pub cause GUI dialog asking for SSH password even though SSH_ASKPASS is empty?

How the problem started For some reason I did not have my id_rsa.pub file in ~/.ssh. So I copied it off one of my servers to ~/.ssh/ on my machine... so that I have it, so I can copy it to servers ...
0
votes
1answer
21 views

Prevent init to restart services when changing run-level

When a service, most notably httpd is configured to run in level 3 and 5 (on CentOS 6.5) and the current run-level is 3 and I move to 5 by init 5, then init restarts httpd which is silly IMHO. Is ...
0
votes
0answers
32 views

Process killed with -9 for not apparent reason

I have a process (JVM) on a Linux (RHEL) machine that is getting killed for no apparent reason. This has happened twice in the past couple of days. The JVM prints the following before it dies: ...
0
votes
1answer
26 views

Postfix block internal communications

I'd like to know how to block my users to send mail to each other but give them chance to send and receive external mail. john@localdomain.com <---> julie@localdomain.com REJECT ...
1
vote
3answers
51 views

Resize RAID partition with GPT partition layout, without LVM

OK so I am a freelance sysadmin. I was asked to resize root partion (/) because it was 20Gb and /home was 3Tb. What I wasn't told is that the server is using RAID and GPT, so I can't use fdisk but ...
1
vote
3answers
67 views

Best way to disable swap in linux

I am running a custom compiled 3.18.9 kernel and I am wondering about the best way to disable swap on the system. I also use init if it makes a difference. Is it enough to comment or remove the swap ...
1
vote
0answers
33 views

2NIC's with 2 Gateways [closed]

I have this setup: 6 machines with 2 NICs each each machine has one NIC connected to 192.168.1.0/24 through a hub. One of the machines is the gateway (192.168.1.13) which has NAT and masquerading ...
-2
votes
1answer
36 views

How I do to run only a software in more than one computer? [closed]

I need to run a unique instance of a software in more than one computer, how I do this without a centralizer server? For example: 4 computers interconnected by the local network, 2 of then has "the ...
0
votes
0answers
30 views

KVM port-forwarding from ppp0 to VM's bridged NIC not working, but to VM's NAT NIC works?

I've spent a lot of time on this freaky problem, I've created a simple host and VM configuration to try isolate the problem. Terminology in this question Host: The bare metal server VM: The KVM ...
0
votes
1answer
27 views

Cannot start apache after reboot on dedicated server

I have some websites running on a dedicated server. One of them it's written in CodeIgniter by me and has wordpress integrated. Tonight, this sequence of events happened: Due to my mistake, ...
0
votes
0answers
11 views

How can I find out which disks are pairs in an Areca 1680 RAID 1+0 raid set?

After having seen some non-fatal SMART reading errors on multiple disks of an RAID 1+0 on an Areca 1680 RAID controller, I'd like to check if there are disks with reading errors which are in the same ...
-5
votes
1answer
25 views

How can i detect if the virtual CD ROM is attached or detached?

I have a requirement where i need to check if a virtual CD ROM is attached if yes then read the values and apply it on to the application. But couldn't find a way to detect if a CD ROM is attached or ...
0
votes
0answers
21 views

How can I store systemd-cgtop output in a text file

I want to store the result of system-cgtop in a txt file for 5 iterations. I am aware of the batch mode and I tried to do it with the following command: systemd-cgtop -b -n 5 >> result.txt ...
0
votes
1answer
37 views

How to config Nginx runs php on sub directories?

I have 2 versions of portfolio website for 2 languages. I put them in 2 dir in the same root dir. /root/ |----vi/ |----en/ |----index.php Then I config nginx as below: server { ...
-1
votes
1answer
23 views

amazon ec2 linux redhat server install unar package

I'm just trying to install unar package for the purpose of uncompress compressed files. What I've tried is sudo yum install unar But it shows "No package unar available". I googled and downloaded ...
1
vote
1answer
35 views

How can I restart “monit” when it stops or crashes?

I am setting up a server and have just installed "monit" to monitor processes and restart them (and alert me) when certain conditions are met. It works great. My question is what happens when monit ...
2
votes
1answer
52 views

How to configure Linux router with 1 NIC

I have a network that looks like this: +--------------+ | Linux Router | +--------------+ 10.0.1.100/24 | 10.0.0.100/24 ...
0
votes
2answers
67 views

iptables block client ip internet access and keep LAN access

With the increase of appliances having network access and the potential for hacking, I want to block specific ip address from accessing the internet, but allow LAN access. For instance, I use a ...
2
votes
1answer
23 views

How can I use a reverse proxy on a server hosting a website?

I have a server hosting a website that I am trying to additionally function as a reverse proxy server. The purpose is to obfuscate the url of an application from ...
3
votes
1answer
16 views

Default arp cache timeout

I didn't found how check and change the default arp cache timeout on Linux. I using debian with kernel 3.x (but I supposed it same with older kernels)
0
votes
0answers
31 views

Graphics drivers not working on Ubuntu 12.x or 14.x for Intel Server motherboard S1200v3RPS

I have installed Ubuntu 12.x on Intel S1200v3RPS server board with a Intel Xeon E3 1231 v3 processor. I cannot change the display resolution. Stuck on 1280x1024. xrandr displays "Failed to get size of ...
1
vote
1answer
66 views

ORA-12505, TNS:listener does not currently know of SID after changing port number

I am trying to change oracle tnslsnr port number from default to some other port. After I change port number for tnslsnr from 1521 to 2000 I start geting ORA-12505, TNS:listener does not currently ...
15
votes
3answers
1k views

Why CPU spent time on IO(wa)?

I know wa (in top) measures the CPU time on waiting for I/O. Many articles say that. But I am confused that, based on 2 knowledge points: if a process uses a system call to read disk, the process ...
2
votes
0answers
28 views

How to switch wifi channel without dropping connection? [migrated]

We are developing small internet connected device that connects via wifi and does some work. It is controlled via mobile app. For configuration purposes we use wi-fi module that can work in both STA ...
0
votes
3answers
32 views

Same device, mount different partitions in different servers

I have two Linux servers which have connection to the same disk device, on a fiber channel connection (I didn't configure that, it was already there). I can see on both servers the disk showing up as ...
-1
votes
1answer
28 views

My server mail going junk in hotmail and yahoo [duplicate]

All my server mails going to spam in hotmail and yahoo. Here is my full mail source. Can any one please help me to sort out this issue ? ...
0
votes
1answer
38 views

How to troubleshoot tape backup issues via mt on Linux for Windows backups?

I have an HP Ultrium 448 tape backup that is being recognized without seeming issue on Ubuntu. I am able to see it at /dev/st0. When I issue mt -f /dev/st0 offline, the tape ejects. When I issue mt ...