Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

0
votes
1answer
56 views

IPtables don't block IP

I'm running Postfix SMTP server. Some hosts trying to connect with wrong passwords. warning: s15393678.onlinehome-server.com[74.208.17.126]: SASL LOGIN authentication failed: I'm adding iptables ...
0
votes
0answers
25 views

Dovecot/Postfix and mail vmail directory

I've setup a Postfix/Dovecot mail server. I'm using Postfixadmin to set up a SQL users database. My question is If I ever migrate to another server and I don't have the /var/vmail directory ...
1
vote
1answer
60 views

Run Debian XFCE without a monitor

I want to run a program via ssh on a debian xfce pc, the program generates a file, my problem is that this program needs a screen to open, it will NOT work in terminal mode. I want xfce to boot ...
0
votes
0answers
41 views

Ext3 file system became read-only and server reboots spontaneoulsy

We noticed ext3 file system in our CentOS 4.9 server became read-only. We got the following error in dmesg: EXT3-fs: INFO: recovery required on readonly filesystem. EXT3-fs: write access will ...
1
vote
1answer
70 views

How to launch multiple instances of a program in parallel using parallel?

I would like to execute a command: curl example.com multiple times in parallel using GNU parallel. I tried: parallel -j 3 curl example.com but it doesn't work.
0
votes
1answer
35 views

How to find file/device given the resource ID on Linux?

On a gentoo Linux system I am printing the value of a file descriptor from within a PHP script yielding the following output: Resource id #1234 How to find the corresponding file/device given this ...
0
votes
0answers
100 views

How to fork multiple processes from a same parent? [migrated]

I am trying to create multiple processes from a same parent, but it always ended up with more processes than expected. I couldn't figure out how to do it and need some help here. I found a piece of ...
0
votes
0answers
73 views

bully can't work on mon0 on Ubuntu 14.04 LTS

I'm running bully on Ubuntu 14.04 LTS. I got this output: [!] Bully v1.0-22 - WPS vulnerability assessment utility [!] ioctl(SIOCGIWFREQ) on 'mon0' failed with '-1221085440' Segmentation fault (core ...
0
votes
2answers
74 views

badblocks utility keeps reporting “invalid last block”

I'm trying to run badblocks on a drive with a single partition. The drive contains a FreeBSD file system on it. I boot up using a Linux live USB drive. The drive is unmounted. The output of fdisk ...
3
votes
0answers
34 views

Disable buffering in a VM configuration

I am executing some benchmark using a DBMS and virtual machines. And I am using this command free && sync && echo 3 > /proc/sys/vm/drop_caches && free on each Guest, and ...
1
vote
1answer
101 views

How to expand an iSCSI lun with targetcli on CentOS7?

I have a CentOS 7 machine with iSCSI configured. see ls output from targetcli below. I want to add disk02 to lun0 so that to the iSCSI client can see a total 869.16GB instead of 392.2GB Question: Is ...
1
vote
1answer
21 views

How to configure bind9 caching period

I have configured bind9 to act as a caching server and is working properly. However I am trying to configure the retention period for the cache. I couldn't find any information regarding the caching ...
2
votes
3answers
57 views

How to get the build date of a Debian system?

What I have here is a powerpc device with pretty ancient Debian installed on it. It's identifiable as Lenny derivative: /etc/issue mentions Debian GNU/Linux 5.0. There are some vendor-specific ...
1
vote
0answers
37 views

Can Linux be configured to wait for USB storage to be reattached instead of returning I/O error

If a usb_storage device is physically detached from an Ubuntu machine while it is still mounted, any attempt to access the file system will produce an I/O error. Is there some way to configure Linux ...
0
votes
0answers
9 views

Bind address forwarding in Lighty

I have a question not sure is it possible or not, if possible then how ? I have a Lighty running on a Linux system and is bind to localhost only on port 80. I have another web site written in Node ...
1
vote
0answers
15 views

Kubuntu terminal setting depending on display

I am running Kubuntu on dual screen configuration. Both displays have the same resolutions (FullHD) but the trick is that one is significantly smaller than the other (24 inch monitor vs. 15 inch ...
0
votes
3answers
50 views

Linux Distro name API to get name of linux distro in a driver code?

I am writing a common code in a driver to get the distros name and host name. host name i am taking from struct utsname{nodename[]}, but how do I get the distro name?
1
vote
0answers
14 views

Using shared memory through tmpfs and NUMA on x86_64/Linux

Here's what I'd like to do: put a file on tmpfs but ensure that all of it (all pages of it) ends up on the same NUMA node. First, I thought this would be trivial: I'd just mmap() a tmpfs file with ...
1
vote
0answers
61 views

Using autofs to mount a NFS share

I am trying to setup a RHEL 7 machine with an autofs NFS mount (the NFS mount is a Windows 2012 R2 server running Services for NFS). Here are the contents of /etc/auto.master: /nfs /etc/auto.nfs ...
2
votes
1answer
69 views

How to change the kernel max PID number? [duplicate]

The default PID max number is 32768. To get this information type: cat /proc/sys/kernel/pid_max 32768 or sysctl kernel.pid_max kernel.pid_max = 32768 Now, I want to change this number... but I ...
0
votes
0answers
21 views

Files and Directories Dissappearing from Software Raid on Power Failure

I have a home samba file "server" (a raspberry pi) with two hard drives in a software raid 1, which have proven less reliable than any of my non-raid disks. I know there is a chance for data ...
1
vote
0answers
22 views

Granting access permission to normal user to a logical volume of a volume group [duplicate]

When I need to run a program with direct disk access, like read/write from /dev/sdb, I simply add the user to 'disk' group. In this way we don't need to disclose the root account the the user. However ...
2
votes
1answer
59 views

Hard Drive health check

In a previous thread the answer # smartctl -a /dev/sda looks good. The problem by my side is the highly verbose output. Is possible to obtain something more human understadable, something like "hard ...
1
vote
2answers
31 views

Spanning RAID over SSD and Mechanical HD

Currently I have my root (/) directory on my ssd, and my home directory on my mechanical drive. Wanting to utilize more of the ssd and hopefully get a speed benefit, I was considering spanning across ...
2
votes
0answers
73 views

Understanding Broadcom setup and kernel files

I often install Linux distros form live usb/CDs. For that I would like to be able to setup my wireless without any internet connexion. I have a Broadcom chipset : $ lspci -k 04:00.0 Network ...
2
votes
0answers
26 views

Maildir permissions for courier

I'm having difficulty with maildir permissions for Courier, an IMAP server I've installed on a box running Debian Wheezy. The mail directory I use is /var/mail/users, with the following permissions: ...
2
votes
1answer
79 views

What are the semantics of getting a EADDRINUSE when no listening socket is bound, but connections are open

Consider a parent process which completes a socket/bind/accept, and will fork children with that socket open for them to communicate with, while the parent continues accepting connections. That parent ...
0
votes
2answers
516 views

Where / How to install CentOS 7 for 32 bit system?

I have windows 7 with 32 bit system, and previously I used CentOS-6.5-i386-minimal to run centos on my virtual box, but now I would like to run CentOS 7 and it seems (if I am not mistaken) that there ...
0
votes
3answers
127 views

Run an SQL script to create a Database via Linux Terminal

I am logging into my web server remotely using SSH and I'm wondering if there is a way that I can execute an sql script I have residing in a directory on that server in order to create a new database, ...
0
votes
1answer
38 views

sMail server cannot get connect by Linux frequently

I have a mail server A build by iredmail on Centos6.5 system. The mail server have a public ip aaa. There are about 40~50 mail clients which operating system is windows in local network, they all ...
12
votes
1answer
395 views

Change password on a LUKS filesystem without knowing the password

I have a Debian Wheezy server that's been running for a while with an encrypted drive. The password for the encrypted drive (/dev/sda5) was lost when my encrypted password file was corrupted. I'd ...
0
votes
0answers
17 views

File transfer between SSD and RAID array uber-slow

It's really simple: this server has an SSD for the main drive, and a RAID array (mdadm) for storage. Intermittently, it has a problem writing to the array: the write speeds slow down to the point ...
1
vote
1answer
39 views

Is there an /etc/network/interfaces option like wireless-ap except for a wpa-ssid/wpa-psk connection?

In /etc/network/interfaces (on Debian Linux 7.6 with wpa_supplicant), wireless-ap forces a specific access point for wireless-essid connections. Is there an equivalent option for wpa-ssid/wpa-psk ...
0
votes
0answers
42 views

Dual boot Linux Mint and Unix (FreeBSD)?

Currently i am using Linux mint 17 currently i am using FreeBSD on Virtual machine but now i want to dual boot Freebsd and Linux How can i dual boot linux mint 17 and freeBSD 10 ?
0
votes
0answers
45 views

How can I mount the Logitech C270 in the zynq-7000 (with Linaro linux)?

I am doing camera control programming for a university project using zynq 7000. I want to mount the camera module that's for the Logitech C270 (like this ...
2
votes
0answers
41 views

Some commands fail when active display/vt is different from where they are running, How to fix/workaround that?

These applets are running on X at DISPLAY=:0 (fgconsole 7). NetworkApplet Related to nm-applet/NetworkManager run this command sleep 10;nmcli nm enable false;beep (you must be connected to the ...
3
votes
0answers
64 views

Replicate a complex partition structure with LUKS and LVM volumes

I have two external hard discs on an OpenSUSE 13.1 system. On one I have created a partition structure: An encrypted LVM partition (LUKS) Several volumes (10) on this LVM partition, some formatted ...
0
votes
0answers
28 views

How to mount GPT nfts partition

I get this with parted: root@rescue / # parted /dev/sda print Model: ATA ST3000DM001-1CH1 (scsi) Disk /dev/sda: 3001GB Sector size ...
1
vote
1answer
62 views

is asus Q87T motherboard compatible with Redhad Linux?

is ASUS Q87T motherboard compatible with RedHat Linux ?? I can't get answer both the two links below: http://www.asus.com/Motherboards/Q87T/specifications/ ...
0
votes
0answers
39 views

How to decrease the RAM and Cores for sometime

I have 9 VMs running Ubuntu 12.04.I am using resources from GENI ( Global engineering Network Infrastructure ) to set up topology and i reserved resources with the following configuration. RAM - 4GB ...
10
votes
2answers
552 views

Are there alternatives to using `udev`?

While I understand the greatness of udev and appreciate the developers' effort, I was simply wondering if there is an alternative to it. For instance, I might imagine there should be a way to make ...
0
votes
1answer
23 views

Arch linux net configuration Operation: No Such file or Directoy

I ma currently in the middle of installing arch linux on my old lenovo g560. This is my second attempt at installing arch-linux. My problems are when I am trying to enable the wireless service with ...
1
vote
2answers
90 views

How to do a grep on remote machine and print out the line which contains those words?

I have few logs files in my machineB under this directory /opt/ptd/Logs/ as shown below - My logs files are pretty big. david@machineB:/opt/ptd/Logs$ ls -lt -rw-r--r-- 1 david david 49651720 Oct 11 ...
0
votes
1answer
10 views

Veritus volume manager perl not avaliable

I am trying to install veritas volume manager on Centos 6.5 while running the script its throwing me Cannot find perl to execute
0
votes
0answers
67 views

How to configure teaming in RHEL 7?

I've used RedHat documentation to configure LACP on my server. Now I see "Connecting" on the Team just created: why "team0" is mentioned twice in the list? Why is it "Connecting", not "Connected? ...
1
vote
0answers
30 views

What accommodations must be made to boot an external HDD on multiple computers?

Is there a way to create a bootable external hard drive (like a persistent USB) that can be booted to multiple computers? I have built plenty of live USBs where this wasn't a problem, but when I ...
1
vote
0answers
34 views

chromium add a protocol handler

A lot of years ago I was using kde/konqueror and one nice feature was the ability to open man and info pages using man:// and info:// as url protocol, I never checked but guess man/info pages were ...
0
votes
1answer
65 views

What is the string “xxx@xxx:~$” in terminal called? [closed]

I don't know or I just forget what is xxx@xxx:~$ called in a terminal terminal? Is there name for it?
-2
votes
1answer
72 views

Why are there different types of linux distributions? What makes them unique, fundamentally? [closed]

They all use Linux kernel (lower layer). They all provide support for the same set of packages (higher layer), despite version differences. And even though their beliefs and "philosophy"s differ, what ...
1
vote
0answers
47 views

Desktop freezes after login

When I log into my DE, after about a minute or so, the desktop freezes. When I mean freezes, I mean all windows become unresponsive, as well as the panels and applications menu. This happens all ...