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

Got hacked. Want to know how and protect the others similar setup instance [duplicate]

The website got hacked, would like to know how / possible approach the hacker did and how can i protect the server. This is the information of the hack: http://www.zone-h.org/mirror/id/23884086 The ...
-1
votes
0answers
26 views

Frequent disk usage by kworker, jbd2

So I came across my disk access light blinking an awful lot for what should be an idle processor. The Problem There's a kworker job usually named kworker/u16:n, where n is usually 0, 1, or 2 which, ...
-3
votes
0answers
16 views

Cannot work with opsi server [on hold]

I have installed the Opsi-server in centos by following this http://download.uib.de/opsi_stable/doc/opsi-getting-started-stable-en.pdf.The opsi server was installed successfully and the server GUI is ...
-2
votes
2answers
40 views

how to change the special port output source address?

I want to change the my datapackage from port 25 to another internal address(192.168.2.253). iptables -A OUTPUT -o em1 -p tcp --dport 25 -j SNAT --to 192.168.2.253 But I get the output is: ...
0
votes
1answer
42 views

How can I configure multiple tap interfaces for a single KVM virtual machine

I am trying to setup a VM using Linux KVM for a F5 BIG-IP VE deployment (used in a lab) ...
0
votes
1answer
26 views

How can I set environment variables for a different user

I'm trying to get 2 docker containers started and linked together with a rails app. This app relies on these environment variables: POSTGRES_PORT_5432_TCP_ADDR POSTGRES_PORT_5432_TCP_PORT When I ...
48
votes
3answers
5k views

Is it possible to reboot a Linux OS without rebooting the hardware?

Is there a way to reboot a Linux system (Debian in particular) without rebooting the hardware? I have a RAID controller that takes a bit to get itself running before the OS starts up, and I would ...
0
votes
1answer
26 views

Ubuntu remount a root mount that's changed to ro as rw without rebooting

Because of errors=remount-ro an underlying NFS blip caused my root mount to be remounted as read-only. I know there is nothing wrong I need to worry about. How can I remount this as rw without ...
0
votes
1answer
21 views

Squid running in intercept mode on same machine as browser keeps giving access denied

It's been a while since I last touched squid and I've been sitting here figuring out this problem since the last few hours why my squid setup on this standalone server machine (behind router nat) ...
1
vote
1answer
15 views

Upstart log stdout and stderr to file not working as expected

When in bash I can run: java -jar server.jar &>> log.txt And it combines the stdout and stderr into log.txt. However when I have this line in my Upstart .conf file, it does not do this: ...
0
votes
1answer
44 views

Can ping in Only one Direction within VLAN using tagged and untagged ports

The following setup: Two linux hosts s=server, c=client One switch which is fully VLAN capable Tagged port setting and tagging enabled on the server/switch side Untagged everything on the client ...
1
vote
1answer
26 views

sssd one ldap server for authentication and one for automounting, is this possible?

Says it all in the title really :) I am looking into SSSD but have a requirement that it must use ldap-1 for user authentication and then get the home directory automount information from ldap-2. ...
0
votes
1answer
28 views

Specify File-level FTP Permissions

I have a user that has access to an ftp folder: /home/user1/public_html/ Is it possible to deny access to specific files within this folder, while still allowing apache to run them? For ...
0
votes
1answer
17 views

Allow access to vpn users in certain directory

My users connect to a vpn network and i want to offer them a webservice, but limiting the access only through their vpn ips. I got this so far # ALLOW USER BY IP <Limit GET POST> order ...
0
votes
2answers
12 views

Make some route info persistent on RHEL

I would like to make the following route info persistent. I know how to do it for the default, but how about this line: 10.27.74.0 * 255.255.255.0 U 0 0 0 eth0 ...
0
votes
0answers
10 views

RHEL KVM HA rgmanager

I have a RHEL HA 2 node cluster which is run with rgmanager, cman (corosync), clvmd, gfs2 and storage replication using drbd I let drbd, clvmd and gfs2 be managed by rgmanager, but i have 8 ...
-3
votes
0answers
28 views

ftp linux server tuning [duplicate]

I've a Linux ftp server handling 200 download from 200 3G client, I want to tune the server so the client will have the maximum throughput 1- I've tuned from the server side by increasing buffer size ...
0
votes
1answer
27 views

Seperation of network traffic\routes

In a lab environment I have 4 VLANs: VLAN10 -> Management (192.168.10.0/24) VLAN20 -> Service (192.168.20.0/24) VLAN30 -> Administration (192.168.30.0/24) VLAN50 -> Public (192.168.50.0/24) ...
0
votes
3answers
58 views

Is there an option in Apache to check PHP files for malicious code before parsing them?

Basically, I would like Apache to check PHP files for certain patterns before parsing them. If these PHP files match the patterns, I would like to send something else in replacement back to the user. ...
-1
votes
1answer
23 views

Create and access sites on local ubuntu Server from windows machine via LAN [on hold]

I have a Ubuntu Server in my LAN, latest ubuntu server with Webmin, and Virtualmin From this : ...
1
vote
0answers
12 views

Process-wide VPN connection via openconnect

I'm using openconnect to connect to a remote endpoint and SSH onto the machine inside the remote network. The problem is, when I do create the connection, the machine I do it on is unresponsive for ...
0
votes
0answers
15 views

How to determine if a cd/dvd media is writable [migrated]

Is there any way to determine whether a inserted cd/dvd media is writable or not on Linux? It seems that the good old cdrecord had an option called -minfo, which is missing in wodim. Thanks in ...
2
votes
1answer
28 views

why do all softphones fail to authenticate after receiving 401 unauthorized from Asterisk?

When I attempt to connect to the Asterisk server from CSipSimple, over a Cisco router, on the same network, Asterisk logs show the attempted connection: <-------------> [Mar 23 20:01:34] ...
1
vote
0answers
27 views

curl error 51 - of multiple requesting machines, only one has the issue

I have an SSL cURL request that fails from a single machine with the following error: curl: (51) SSL peer certificate or SSH remote key was not OK This error seems to have popped up overnight, and ...
-1
votes
1answer
38 views

Convert value of an Ansible variable from lower case to upper case

I am working on a playbook to join linux systems to Active Directory. I can't seem to find a way to convert the value of ansible_hostname to uppercase. One of the commands I need to run requires the ...
-1
votes
0answers
21 views

nftables - call for documentation [on hold]

I'm currently using some pretty advanced iptables setup in deployment for traffic-shaping and NATting routers for ISP customers (talking about gigabits traffic, so a bit of efficiency is needed...). ...
0
votes
0answers
47 views

How can I disable specific file type uploads globally in Apache?

In order to secure my webserver, I would like to block specific file types from being uploaded globally, independent of what FTP users configure in their webpages. Is there a way to globally block ...
-1
votes
0answers
20 views

Where did this memory go? Linux machine missing 10G of memory [duplicate]

any idea where my memory went? I got a list of all the RSS memory used by all processes and it comes out to around 600-700M. I have 4GB of cached, but only around 420M free. /dev/shm is 1GB. Any ideas ...
0
votes
0answers
20 views

Ubuntu Apache 500 Server Error When installing d-note application [on hold]

I'm trying to use d-note but when installing the application I've run into many issues with the documentation being very vague. Here is my Apache config file <VirtualHost *:80> ServerAdmin ...
-1
votes
0answers
47 views

How can I use grep to search only on the first line of files for a specific string? [migrated]

How can I use grep to find a string in files, but only search in the first line of these files?
1
vote
1answer
39 views

Increase tmpfs size more than available RAM Is that a good option?

Is it advisable to increase the size of tmpfs [/dev/shm] more than available RAM. Will it crash the Machine ? The reason for the excercise is to optimize the perfromance of the SAP application. please ...
1
vote
1answer
34 views

AWS fails to resize an RHEL64 instance upon launch

I'm using AWS to boot up a RHEL64 instance but the disk is failing to resize to fit the volume I've selected. Here's the scenario: I Launch a running instance from the Marketplace AMI ami-517eec6b ...
-1
votes
0answers
7 views

How to get the Adaptec 1200A to work under Linux at UDMA/100 (instead of 66) [migrated]

A while ago, I got myself a used Adaptec 1200A controller card to keep my onboard slots free for easier connect/disconnect of drives and now I am wondering why this card will only operate at UDMA 66. ...
1
vote
0answers
14 views

Hadoop namenode port getting blocked

I have installed 7 VM instances of Ubuntu 14.04 LTS servers. First instance runs the namenode service and all other 6 nodes run datanode service.I think my NameNode is getting crashed or blocked due ...
0
votes
1answer
29 views

State of VM after 'virsh save'

virsh save vm_name memdump and then virsh restore memdump restores a (running) VM all right. However, a VM is shut off after virsh save. I'm writing a "live" backup and restore script for KVM VMs, so ...
6
votes
1answer
391 views

Poor iSCSI performance with SSD disks and 10 Gbe network

iSCSI Target Ubuntu 14.04 (Trusty Tahr) with 16 GB RAM and 16 core CPU as LVM backed iSCSI target using three Samsung SSD disks, each capable of doing 65k IOPS using an LSI 6 Gbit/s ...
1
vote
0answers
39 views

Trouble setting up a transparent proxy

I have been trying without success to setup a transparent proxy on a router like computer. Most examples that I have found don't have the gateway and proxy on the same computer, so I may be looking at ...
-1
votes
1answer
220 views

failed to run bootloader: -3 on create with xl

I have a Ubuntu 14.04 migrated from Virtual Box Have 3 partitions. I've updated the /etc/fstab for recognize the new partitions and chrooted for update the grub I'm using the following ubuntu.cfg ...
0
votes
0answers
42 views

How to run 2 fast-cgi (php-fpm) websites on an nginx server?

I have nginx running with a few vhosts for different domains. One of them uses php-fpm. I need to add another vhost(for a new domain) that points to a new directory and that also has to use php-fpm. I ...
0
votes
0answers
5 views

x windows enlightenment start hangs [migrated]

Running Bodhi Linux 3.12.5 (Ubuntu derivative) on a re-imaged Acer C720 "chromebook." Installed much x developer stuff, didn't reboot for a month; after an accidental reboot system now hangs at start ...
0
votes
0answers
14 views

How to set up proxy rules on my Debian router? [closed]

Here I have a Raspberry PI working as a wireless router, and I have a working proxy server, which works fine with a client, and some setup with my browser's proxy plugin. I wanna program the proxy ...
2
votes
0answers
54 views
+50

Move home directory on Azure Linux VM

I continue to encounter an issue moving my home directory to a new disk on a CentOS VM on Azure. On creation the server is configured to use a SSH key for authentication and the "no password" option ...
4
votes
1answer
101 views

Alternative to Firewalld on memory critical servers?

I've bought a 512MB VPS @ DigitalOcean. Currently, I use Firewalld to allow/deny access to certain ports (probably 22, 80, 443 are open). It uses around 25-30MB of memory. EDIT: Not to forget that ...
1
vote
1answer
39 views

Should I worry about requests that get - client denied by server configuration, apache logs

I have a server with debian 7. I was checking the apache error log file and saw a few lines like this [Fri Mar 20 04:56:48 2015] [error] [client 222.66.95.253] client denied by server configuration: ...
0
votes
1answer
46 views

Specific directory is forbidden

I'm using reverse proxy on my Ruby app- 2 to be exact - and the first instance which is located in "/var/www/cuba" works, but when I have a sub-domain to run another instance, I get this error(from ...
-1
votes
0answers
33 views

sed: using sed I have to enter a word at the end of line [closed]

I have read the sed manual but was not able to comprehend it. I have a file in which I have to add a word ,example-2 with comma line number being 18 or any . I have also to add the word at the end of ...
0
votes
0answers
19 views

clamscan using maldet Error: Servname not supported for ai_socktype

So i have installed Linux Malware Detect (maldet) to scan a server and everything went fine with installation but when i run it i get an error. Bunch of errors and than the scan just closes it. Here ...
1
vote
2answers
62 views

lsof runs very slow in my server

All I'm running lsof in one of my Linux server to check if one file (/tmp/incoming_data.txt) in the ext3 system is opened by other programs. My server has lots of TCP connection on it. The weird ...
-2
votes
1answer
27 views

bash: variable increment does not occur

I have a problem in one of my bash shell scripts. Asked a few colleagues, but they all just shake their heads (after some scratching), so I've come here for an answer. According to my understanding ...
1
vote
1answer
36 views

What is dd if=/dev/zero of=/EMPTY bs=1M

Often times I see this command for use when creating a Vagrant box sudo dd if=/dev/zero of=/EMPTY bs=1M To me it seams that it is copying a lot of NULL characters into a file named EMPTY at the FS ...