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
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
14 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
16 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
22 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
27 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
36 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
13 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
385 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
38 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
218 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
41 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 ...
1
vote
0answers
45 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
100 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
34 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
45 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
1answer
32 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
18 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 ...
0
votes
1answer
35 views

proftpd: mod_sftp connection timeout

I'm using an SFTP Server based on proftpd's mod_sftp. The only problem is, that I haven't found a way to keep idle connections for longer then a few minutes. Our users request idle times for up to a ...
1
vote
1answer
44 views

Prevent HDDs from spinning up before shutdown in Ubuntu/ZoL/SAS2008 environment

I am running Ubuntu 14.04.2 with ZFS on Linux. As I ran out of SATA ports on my Asus M5A78L-M/USB3, I bought a Dell PERC H200 card and crossflashed it to LSI 9211-8i P19 IT mode firmware to ...
-4
votes
0answers
38 views

Deleting Log files from linux [closed]

Please any one help me with the complete procedure to deleting log files from linux server using putty. And is it necessary to stop mysqld service before removing log files?
0
votes
1answer
31 views

db servers direct ethernet connection

We are planning to setup 2 mysql servers in master-master replication Is it possible to use direct Ethernet connection over gigabit ethernet port on the 2 servers? Is there a way to bind mysql ...
0
votes
0answers
19 views

Deployment guidance for a EE 7 web app [closed]

I was out of high tech for 20+ years but had an idea and have been developing like crazy for the last 14 months. It has been a very steep learning curve but I have a comprehensive working system based ...
0
votes
1answer
12 views

Update Amazon EC2 Rightscale Centos for latest GLIBC

We've run into an issue on an Amazon EC2 instance where we need a later version of glibc. I understand I need to update Centos (current version is 5.6) to acheive this, and I've tried various ...
0
votes
1answer
26 views

SSH public/private authentication failing in Google compute engine instances

I have two instances (host names are namenode and datanode1 ) of Ubuntu 14.04 LTS running on Google compute engine. I am struggling setting up ssh root access to between them. I am providing some ...
1
vote
0answers
23 views

PCI-E with mPCI-E Sandisk won't boot

Configuring a 'new to me' Dell R610 with 6 15K SAS drives, each set paired up into a RAID 1 and then a Sandisk 256GB mPCI-E ...