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

linux + dose each security kernel rpm will install the relevant initrd and vmlinuz files under /boot

I just print the kernel rpms that need to install on my redhat machine (version 6.5) # yum list-security --security | grep kernel-[0-9] RHSA-2014:1143 security kernel-2.6.18-371.12.1.el5.x86_64 ...
5
votes
2answers
9k views

Where is the gem command in RHEL6?

I just built RHEL 6 and I need to be able to install ruby gems, etc. I have the ruby 1.8.7 packages installed but there is no gem command anywhere? What gives?
1
vote
0answers
30 views

Openldap configuration on RHEL 6.6 client

We have a shell script which runs perl program to connect to LDAP server and make entries. This is the only script which uses ldap. This server is hosting all batch related files and run batch jobs ...
0
votes
0answers
18 views

Using virtual hard drive as data container, what are the possible downsides?

At the moment I am using exclusively Windows 7, but I intend to move all the data to a Ubuntu server with Snapraid as redundancy for non-volatile data and software RAID for more changeable data. For ...
3
votes
2answers
558 views

Why do we use a OS Base Image with Docker if containers have no Guest OS?

I've just started to study Docker and there's something that's being quite confusing for me. As I've read on Docker's website a container is different from a virtual machine. As I understood a ...
0
votes
0answers
6 views

Username lookup for TCP Wrapper

I would like to ask people in this community regarding to TCP Wrapper. My OS environment is below. [root@server1 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.2 (Maipo) [...
10
votes
4answers
19k views

Differences between /dev/sda and /dev/sda1

I know that /dev/sda is the raw device, and that /dev/sda1 is the partition or virtual device. But I'm a little confused as to why the sda# only comes up some of the time, or only on certain systems. ...
0
votes
1answer
22 views

How to create two file in two difference physical volume of a volume group

I have two physical volume (for example: /dev/sdc and /dev/sdd). I create a volume group (VG001) from the two physical volume, and I create a logical volume which take entire the volume group. From ...
-2
votes
2answers
29 views

Delete a file with name '--help' using rm command [duplicate]

just want to share an interesting or rather accidentally discovered bug for Unix 'rm' command. I have accidentally created the file named '--help'. However, when I try to delete using rm command, it ...
0
votes
0answers
27 views

Make Postfix relay to a different host for sending email based on RECIPIENT domain

Is there a way to make postfix authenticate and relay on a different host for sending email TO a particular domain? The sender domain does not matter, I need postfix to relay to a different host if ...
0
votes
1answer
2k views

Linux webfilter with LDAP SSO authentication

I'm looking for a self-made linux proxy/webfilter server and stumbled upon several products. (squidguard, dansguardian, ..) I found Privoxy the most appealing. Now I went searching on the internet for ...
7
votes
11answers
37k views

In Ubuntu I make changes to php.ini but nothing happens

Hi, Apache with php works well, but none of the changes I make in php.ini have effect, I've even delete all the contents of the file, then restart Apache, and run phpinfo() and surprisingly everything ...
5
votes
1answer
2k views

Ping not working from tap interface attached to bridge interface with ip on same subnet as that of bridge to outside

My requirement is to create a multiple tap interfaces, each with ip address on same subnet. I tried this by creating a bridge br0 (192.168.1.199) ___________|...
-2
votes
0answers
13 views

Issue in Curl upgrade on CentOS 6.6 [closed]

While upgrading Curl version from 7.19 to 7.21 on Centos 6.6, getting the following issue: Transaction Check Error: file /usr/lib64/libcurl.so.4 from install of curl-7.21.4-1.x86_64 conflicts with ...
0
votes
1answer
1k views

ssh'ing via a proxy, but connect is not found

I installed debian from a business card cd iso (basically a very stripped down version of it). I am trying to ssh to a machine via a proxy (set up in my .ssh/config), but am receiving an error: ssh ...
0
votes
3answers
1k views

Unable to send mail through php script

I have setup a server with the following settings: CentOS release 6.3 (Final) Kernel \r on an \m Linux version 2.6.32-279.14.1.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.6 ...
0
votes
0answers
28 views

Inherited debian cluster nightmare

Hi and thanks in advance. So my research group at my university inherited an 8 node cluster. Me being the only member who is Linux savvy was given the task of managing it. So to start I'll describe ...
1
vote
1answer
65 views

pxe boot microsoft surface

I'm wondering if anyone has ever attempted this before with a Linux PXE Server? I've got it setup and working for pretty much every other laptop and desktop out there. This is the first time I have ...
0
votes
1answer
15 views

Should package post install script run database migration?

So I have this debian package that install some nodejs application web app which uses a mysql database. The package have a postinst script that run the db migrate command bundled with he package. Now,...
1
vote
2answers
904 views

Configuring linux to be visible in microsoft DNS domain

I've been trying to have one of our linux box available in the windows domain. The linux box is a ubuntu server without gui or X installed. All manipulations are done from ssh. Linux box: hostname:...
0
votes
1answer
1k views

Users database empty after Samba3 to Samba4 migration on different servers

I have to migrate a Samba 3 to a new Samba 4 server. My problem is that the database on the samba 3 server seems a bit empty. The secrets.dtb file is only 20K whereas the “pbedit -L |wc -l”command ...
10
votes
3answers
4k views

Is it possible to have a 100% secure virtual private server?

I am curious if it is possible to have a VPS that has data on it that is not readable by the hosting provider, but is still usable on the VPS. Obviously there are some things that you could do to ...
7
votes
2answers
184 views

LUKS Error During Boot

I only see this error on the console during the boot process of virtual machines we create. EDIT: 2/5/16 - I see it on some bare-metal installations, too. (It does proceed to boot completely.) I ...
0
votes
0answers
4 views

In snmptrapd is it possible to forward and execute a script for each trap?

I want to both handle the trap with a script and forward the trap to a third party system is this possible with snmptrapd?
0
votes
0answers
19 views

freeradius+ external users database

I need authenticate users with freeradius, these users are located in an existing external database. I think that the rest_module can help me to do that, in that case, which values the rest api ...
0
votes
2answers
764 views

Cannot start cassandra: numactl: execution in CentOS 6

I trying to install Datastax Apache Cassandra with OpenJDK # java -version java version "1.7.0_51" OpenJDK Runtime Environment (rhel-2.4.4.1.el6_5-x86_64 u51-b02) OpenJDK 64-Bit Server VM (build 24....
0
votes
1answer
38 views

Unable to communicate with pacemaker host while authorising

I'm trying to configure pacemaker cluster with two hosts, I'm using two centos 7(CentOS Linux release 7.2.1511 (Core)) virtual machines. What I did so far: I installed packages: yum install ...
8
votes
3answers
4k views

How do I prevent Linux from freezing when out of memory?

Today I (accidentally) ran some program on my Linux box that quickly used a lot of memory. My system froze, became unresponsive and thus I was unable to kill the offender. How can I prevent this in ...
37
votes
8answers
201k views

How to check the physical status of an ethernet port in Linux?

I want to check if a specified ethX is physically up or down. How do I do that with the command line?
0
votes
1answer
1k views

OpenVPN run script after tunnel is set up

I'm having a hard time figuring out exactly how can I update my A records on my cloudflare account. I have already set up a script that checks for IP changes, and pushes the changes through the ...
2
votes
1answer
30 views

Anacron fails to open folder cron.daily

Recently I switched from user-specific anacrontab ( using -t ) to the global-one. Now each day anacron drops me a message (email to root) that it failed to open the cron.daily folder: Subject: ...
0
votes
0answers
34 views

High memory usage, but not clear where it goes

My system is a software network intercepter, which runs on a Ubuntu 14.04.4 LTS (GNU/Linux 3.16.0-71-generic x86_64). I have it deployed in several sites, yet a specific one gives me the following ...
0
votes
1answer
1k views

Iptable Rule to redirect all traffic requesting a specific domain

I'm on a simple linux proxy. I'd like to add iptable rules to drop all requests for a specific domain. I figured I run a dig command to get the ip addresses for the domain and then add an iptable ...
7
votes
5answers
3k views

Netcat fails to start in listening mode

I'm using CentOS 6.7 (Final) system, and when I try to run nc in listening mode it prints the following: # nc -l 1234 nc: Protocol not available The port is not bound. I tried other port numbers ...
0
votes
2answers
998 views

gitolite post commit hook to update redmine's repository

I currently have a ubuntu server machine which has gitolite and redmine installed. Redmine accesses repository copies which are updated using a cron task. Having a cron task to pull the updates seems ...
1
vote
1answer
3k views

Bringing the xenbr0 interface up on XEN under Ubuntu 8.04

I installed XEN on Ubuntu 8.04 using this tutorial but after I reboot with the XEN kernel, I don't have xenbr0 device. I see that network-bridge script runs and it creates peth0 device, but not xenbr0....
11
votes
5answers
16k views

Register A records for my Linux box on my Windows 2008 DNS/DHCP server

I've a network which is mainly Windows: Windows 2008 server (with DNS/DHCP as well as AD), and various mainly Windows machines (servers, XP, 7). I know trying to add few Linux boxes, and can't make ...
5
votes
4answers
35k views

How do I register Linux server with Windows DNS server

I have several Ubuntu machines (mostly 8.04) that I would like to register their hostnames (or desired hostnames) with my main DNS server running on Windows 2000 so that I can access these machines ...
4
votes
2answers
6k views

What does `Kbytes RSS Dirty` mean for pmap?

output of pmap: Address Kbytes RSS Dirty Mode Mapping 00000000006b4000 60 16 16 rw--- [ anon ] What's it saying ?
10
votes
5answers
9k views

Can you get any program in Linux to print a stack trace if it segfaults?

If I run a program from the shell, and it segfaults: $ buggy_program Segmentation fault It will tell me, however, is there a way to get programs to print a backtrace, perhaps by running something ...
0
votes
0answers
13 views

How to determine maximum concurrent requests that a server configuration can handle? [duplicate]

I want to buy a used server, but I don't know how to select the best one according to my needs. I have millions of static files, all of them are html, css, js and images, and are under 1MB is size. ...
0
votes
3answers
85 views

Passwordless root SSH on CentOS 6 with public key

I am trying to create a "passwordless" setup so that the remote server is more secure without password + I can automate the login process. I have created a new ssh key with ssh-keygen, and copied the ...
-2
votes
1answer
406 views

Linux - Only first virtual interface can ping external gateway

I created 3 virtual interfaces with different mac addresses all linked to the same physical interface. I see that they successfully arp for the gw and they can ping (the request is coming in the ...
1
vote
4answers
872 views

How to identify if RMM4 hardware module is installed

I'm running a Debian distribution with ipmiutil on one of my remote servers but I'm not sure if an RMM4(Remote Management Module) hardware is installed on this server. Currently I don't have ...
0
votes
1answer
26 views

Unable to install specific version of apache2

I pretty new to this, My distro is Ubuntu 14.04, I have installed apache2 latest version, which is available in repositories,(i.e.,2.4.7-1ubuntu4.9). I have used this command,apt-get install lamp-...
12
votes
1answer
9k views

Proxy with netcat forever

I am proxying a VNC TCP server port with netcat. The proxy machine runs linux. This is the comand I use: mkfifo backpipe nc -l 5902 0<backpipe | nc 10.1.1.116 5902 1>backpipe 10.1.1.116 is ...
22
votes
2answers
16k views

Is it possible to on-line shrink a EXT4 volume with LVM?

Today I tried this on my machine with OpenSUSE 12.3 (kernel 3.7): # resize2fs /dev/mapper/system-srv 2G resize2fs 1.42.6 (21-Sep-2012) Filesystem at /dev/mapper/system-srv is mounted on /srv; on-line ...
-1
votes
0answers
25 views

How to install perf utility on red hat 5.10

Is the there a way to install perf on red hat linux 5.10 ? I tried the normal way but it failed sudo yum install perf Loaded plugins: aliases, changelog, downloadonly, fastestmirror, filter-...
0
votes
0answers
50 views

Out of memory: The process “mysqld” was terminated because the system is low on memory

I got this email alert today, with the following information: Process Name mysqld Event Time Tuesday, June 14, 2016 at 11:09:42 PM UTC PID 1820 Process UID 498 Process Username mysql ...
0
votes
0answers
10 views

X11 Forwarding using Attachmate Reflection

I've been using Putty for my SSH connections. I've been able to use XMing and X11 forwarding without a problem. I have to switch to Attachmate Reflection for work. I connect to the same machine and ...