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

learn more… | top users | synonyms (3)

-1
votes
1answer
26 views

Fedora FTP user read/write access to one directory only [on hold]

Let's assume I have a root folder /var/www/html and subfolders: folder_a folder_b folder_c I created one ftp user ftp_user_a and set login path to /var/www/html/folder_a. How can I restrict this ...
20
votes
2answers
2k views

Why is my eth0 called eno16777736?

I've seen http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/, which describes the rationale for consistent/predictable device naming, and then the rules by which device ...
0
votes
2answers
61 views
+50

Preserve imported CA Certificates through Java upgrades

I have imported internal Certificate Authorities into Java's CA keystore. (Using keytool to import into the "cacerts" store) This works fine and dandy, until I update the Java RPM. At which point ...
1
vote
0answers
22 views

task fstrim blocked for more than 120 seconds

I'm experiencing random crashes on my system. I've narrowed the problem to the fstrim program that's launched weekly by cron. In the console, I've got a set of blocked tasks among whigetch I find ...
-1
votes
0answers
20 views

what does Could not guess current user mean in LDAP? [on hold]

I'm writing a java GUI for open LDAP, using Jython for scripting as well. The command sudo ldapadduser decado thirty runs beautifully and adds the user. but the same command when run using the GUI ...
2
votes
0answers
20 views

IPsec - strange behavior

I have set up site-to-site ipsec connection between linux(debian) and mikrotik router. The tunnel is up linux configuration: config setup interfaces=%defaultroute keep_alive=60 ...
0
votes
1answer
43 views

configuring nginx server blocks

On CentOS, I have been using the default webRoot (/usr/share/nginx/html) until now to run my simple scripts and small applications. The other day, I had to configure nginx server blocks to run ...
2
votes
3answers
49 views

Accessing multiple disks under single virtual partition?

I have disks as below on my Debian server: /dev/sda1 276M 29M 233M 11% /boot /dev/sdb1 917G 793G 79G 92% /home /dev/sdc1 1.8T 1.7T 79G 96% /home2 /dev/sdd1 1.8T 1.7T 79G 96% ...
-3
votes
0answers
35 views

Impact on system cache due to other users logging in [closed]

If some user just logs into a server and uses it for accessing another server using ssh. Does this behaviour impact the routing server in any way: How does it affect the RAM, cache's, CPU performance ...
0
votes
2answers
58 views

Upgrade to latest current installed version of PHP [duplicate]

I've just purchased a new VPS and they've, for some unknown reason, installed PHP version 5.3.3. I'm fine with being on version 5.3.X, but I believe the latest version is 5.3.29. I did some Googling ...
0
votes
1answer
55 views

How to configure a RedHat 6 server to always use the gateway?

In one of my datacenters, I need to configure the server to only speak to the gateway even if the other server is in the same network... How can I configure the network card ? I suppose something ...
0
votes
2answers
84 views

Reinstalling linux server

I need to reinstall my linux server to which I don’t have physical access – I can login remotely as root or I can use IPMI. What would be the best way to start the installation? Thanks. EDIT: I ...
0
votes
4answers
58 views

Using iptables without root privileges [closed]

When running the following script as user ec2-user, I get the error message iptables v1.4.18: can't initialize iptables table filter: Permission denied (you must be root) Script: #!/bin/sh # ...
0
votes
1answer
39 views

Kill any GS process that's been running for over 5m on CentOS 6.5

Hi our server has a weird issue where once a month or so a GS (GhostScript) process gets stuck and eats 10-75% CPU until I kill the process. strace hasn't provided anything useful so until I can ...
-1
votes
1answer
62 views

need to load xt_tcpudp module in Debian 7 Wheezy with OpenVZ kernel. Error: 'could not open'

I followed this guide IPTABLES inside container guide @ openvz.org I'm running Debian 7 Wheezy x64 which was dist-updgrade'd before installing OpenVZ. The container is Debian7 x64 minimal. It's ...
0
votes
4answers
46 views

where should the site root directory be? [closed]

Where should I put my site root directory "my_site"? Any best practice? /var/www/my_site/ /var/local/sites/my_site/ /usr/share/wwww/my_site/ /usr/local/my_site/ /opt/my_site/ /srv/my_site/
4
votes
2answers
54 views

SSH Login Failure “-bash: error while loading shared libraries: requires glibc 2.5 or later dynamic linker”

I did a blunder on one of my production server and its very old RHEL 4 host. Due to recent "shellshock vulnerability" by mistake I upgraded the bash to wrong version from RHEL5 repo. Now I am ...
0
votes
1answer
25 views

Rotating a nohup.out logfile

There are a few questions on how to rotate the output file generated by nohup. Most of the answers say to use logrotate with the copytruncate option. However this does not actually work -- when the ...
0
votes
0answers
15 views

how to run a web app: users/groups to use for each component?

How do you organize your users/groups to run the different components of your web app? Any best practices? The answer of this question (What permissions should my website files/folders have on a ...
0
votes
0answers
25 views

2 default gateway entries in routing table after connecting Openvpn

It is a ubuntu 14 server running, with 1 physical NIC eth0 connecting to the Internet. There is then a Openvpn client run on it as tun0. All the traffic go via tun0 with the routing table as below. ...
-1
votes
0answers
32 views

Remote Ubuntu server does not boot anymore [duplicate]

Hi I have a remote ubuntu Server with 2 harddisks. sda and sdb in an software raid1 (mdadm) The first harddisk /dev/sda broke down and was replaced by a service technician. I was able using a ...
5
votes
2answers
293 views

Multiple ethernet interfaces

I have a two network cards, configured like this: eth0 Link encap:Ethernet HWaddr 00:19:d1:31:08:e8 inet addr:192.168.5.104 Bcast:192.168.5.255 Mask:255.255.255.0 inet6 ...
2
votes
1answer
56 views

Changing network boot order (pxe) using ipmitool

Using ipmitool, I am trying to change the boot order to pxe boot first and from a particular interface. As far as I am aware, ipmitool tool provides option to change the boot device but not ...
0
votes
0answers
8 views

How to set up netbios aliases on smbd / nmbd

The hostname of my server is slightly unfriendly (let's say b4dn4me). I want my users to be able to access the server under a nicer name (let's say bonnie). Samba is installed just to be able to ...
0
votes
0answers
24 views

Booting XenServer Installer on USB

I'm trying to install XenServer on a system that has no CD-ROM drive (it only has a USB) I'm able to successfully boot the server using a bootable USB that boots up Linux (specifically, the GRML ...
0
votes
0answers
24 views

Configuring /etc/hosts to run an application [migrated]

I am using nginx, until now I was running my php applications on /usr/share/nginx/html which is the default document root when nginx is installed on centOS and like systems. Now I had to create ...
1
vote
5answers
135 views

Automate and create SSH keys for large number(Nearly 9000) of servers for almost 30 users

Is there a way to automate to create SSH keys for large number(Nearly 9000) of servers for almost 30 users
0
votes
0answers
10 views

WKHTMLTOPDF - Chinese characters are not showing up

I am using wkhtmltopdf on two of my servers. in one of the HTML pages, I have some chinese letters. The problem is that with the same code, the same version of wkhtmltopdf, on one server everything ...
1
vote
1answer
19 views

Forward systemd journal messages/Collect systemd journal messages

How can I collect systemd journal events (pull) or forward systemd journal events (push)? I want to have something like forwarded event log ...
0
votes
1answer
24 views

how to connect/bridge two interfaces on different processes

I have two processes A and B (simulating real hardware device), each with their own TAP interfaces. If I want to send an ethernet packet to A, I send it on interfaceA, and similarly if I want to send ...
0
votes
1answer
30 views

VIP not dropping from backup keepalived

I may not be understanding how this is supposed to work, but I can't figure out why the BACKUP system with this basic vrrp_instance is transitioning to master right away and never seems to honor the ...
1
vote
2answers
87 views

Python Script portion failing to execute within init.d/ on RedHat 6.5, why?

I've created a init.d script called rmCluster which is supposed to execute a simple python script at shutdown which uses boto to shutdown a particular cluster of servers, with 755 perms, located in ...
1
vote
1answer
32 views

Node.js websocket error “Error: listen EADDRNOTAVAIL Error: listen EADDRNOTAVAIL”

Application work fine on localhost .but when its connect to server it getting error. I connect server through port 22 But my app connecting server port 80. This is the error Error: listen ...
2
votes
1answer
35 views

Installing boot manager to a raw LVM physical volume

Is it possible to install some boot manager to disk with raw physical volume inside (i.e. no partition table)? I tried LILO and LVM volumes became inaccessible (due to LVM structures corruption). Boot ...
0
votes
0answers
38 views

Linux: getting detailed stats for a single HTTP request? [migrated]

I'm writing a script to determine the performance of a service from a client's point of view. To that effect, I need to be able to determine a few stats for each HTTP request like: DNS lookup time ...
0
votes
1answer
52 views

Local port access blocked by iptables

Although experienced with Linux, I'm new to iptables, having set it up following a Rackspace virtual server setup guide. Using port scans and checking remote access to required ports, I can see all ...
0
votes
2answers
47 views

Is there a way to allow acess to an specific device that is out of my network? [closed]

I’m trying to allow my mobile device to connect from everywhere, Wi-Fi or not to an specific port of my Linux server which is running a webmin service. I’m using iptables to set some rules to which ...
1
vote
1answer
40 views

Can I mount a read-only btrfs volume across multiple machines?

Is it possible to have a single btrfs mounted volume read-only mounted across multiple machines? Can one of the hosts mount it read/write to provide updates to the others? The reason I'm asking this ...
1
vote
1answer
55 views

bind9 proper recursion setup

If I remove recursion then I can't resolve external domains but can still resolve domains that are on the DNS server. What is the proper way to setup recursion correctly so external domains can still ...
-1
votes
0answers
17 views

Centos 4 Updating bash [duplicate]

I have a old machine running centos 4.8 was wondering how I could apply the latest bash patch for shellshock. I know there is no support for centos 4 not but since its just a security update is there ...
1
vote
1answer
34 views

How do I check file count inside a directory with monit?

I have a directory on my server and I want to monitor the number of files inside this directory with Monit... How can I do this? Thanks.
0
votes
0answers
46 views

Setting up a bootable multi-device (RAID 1) using Linux Software RAID

I'm trying to setup a bootable software RAID that will contain the root filesystem and boot up Linux Mint Qiana. It will be used to run a few graphical monitoring applications in a small datacenter, ...
0
votes
3answers
37 views

bind9 SOA issue

using DNSStuff site to run checks against our bind9 DNS servers and it's coming back with One or more SOA fields are outside recommended ranges. Values that are out of specifications could cause ...
2
votes
1answer
51 views

Gracefully logout all connected ssh users on reboot

When I reboot my Linux server (BusyBox Linux) all ongoing ssh client connections run into a stucked state until a timeout on client side occurs. There is no message sent to the ssh client to produce a ...
0
votes
0answers
35 views

Creating new Ftp user and directory with Proftpd

I am having difficulty creating a new ftp user with proftpd. I have another 2 users setup on my server which I have been using to check corresponding files after running some cmds(in hope to find ...
-2
votes
0answers
42 views

Apache was hited from localhost at the time the server was under attack [duplicate]

I have reasons to conjecture that my server was under some kind of attack last week. (The webserver wasn't responding during the time I was teaching students of computer science at university.) I was ...
8
votes
2answers
279 views

Filesystem Hierarchy Standard - Where to put sourceable functions?

I have a few bash scripts running system checks. These scripts source configuration options from a file /etc/healthchecks/config. Along with the config file, I have a shared functions file. The ...
2
votes
0answers
92 views

Network Layer 7 Deep Packet Inspection linux solution that isn't a all-in-one distro?

Overview: I have software that has our Edge/DNS servers hardcoded into them, DNS queries returned from DNS servers are not being masked properly. I need the DNS entries that are returned from BIND ...
0
votes
1answer
15 views

How to fix non-working ethernet under Linux, with RX permanently increasing?

I have a system with the latest Linux Mint. An ethernet cable which yields internet with no special action from me under Windows 8.1 is detected under Linux, but does not seem to work. Running ...
0
votes
1answer
103 views

CENTOS 6.5 x86_64 fails to install httpd using yum

I am trying to install apache httpd but it fails root@web [/]# yum install httpd Loaded plugins: downloadonly, fastestmirror, replace Loading mirror speeds from cached hostfile * epel: ...