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

1
vote
1answer
8 views

Why is it that my initrd only has one directory, namely, 'kernel'?

I'm using debian live-build to work on a bootable system. By the end of the process i get the typical files used to boot a live system: a squashfs file, some GRUB modules and config files, and an ...
0
votes
0answers
15 views

net cat client server model

netcat is used for making client server model and makes them chat . that's fine what it want is to format the chat as follow nickname@hostname:message what I thought about is to make a daemon it ...
0
votes
0answers
6 views

Receive multicast on any source

I'm using Ubuntu 12.04.5 LTS for IPTv multicasting. If i use same Source-IPv4 address then I can receive stream over multicast from the sender. If I've different Source-IPv4 addresses on sender and ...
1
vote
1answer
20 views

linux after restore + GRUB error

I restored Linux machine , and when the Linux machine startup I get the following errors GNU GRUB version 0.97 GRUB> Please advice how we can fix that? In order to startup my linux ...
0
votes
0answers
5 views

Why can't I start a VNC session using the randr flag?

I'm using Ubuntu 12.04 (I think it's desktop...) and can successfully run vncserver (which ultimately links to /usr/bin/vnc4server) and connect with my client, and I can also add the -geometry flag ...
0
votes
0answers
12 views

DVD giving inconsistent size informatin

I have a (read-only, commercial, dual-layer) DVD which I’m trying to create a backup copy of on my computer (because DVDs can be damaged). However, when I try to determine the size of the disc, I get ...
1
vote
0answers
13 views

How/where are linux device capabilities / bitfields set?

I have a device that has this output in /proc/bus/input/devices: I: Bus=0003 Vendor=05b8 Product=3280 Version=0111 N: Name="PixArt USB Optical Mouse" P: Phys=usb-0000:00:1a.0-1.1/input0 S: ...
1
vote
1answer
34 views

Why does mouse and keyboard freeze when Linux swaps

I have noticed that under Linux, when there is heavy swapping, the mouse cursor freezes, and even CapsLock or Ctrl+Alt+F1 don't work. The system uses the deadline I/O scheduler but this should not ...
0
votes
0answers
5 views

is possible to set a default user to be shown at startup LightDM?

Is possible to set a default user to be shown at startup LightDM?
1
vote
0answers
13 views

Unable to Configure Quotas in RHEL6 & CentOS6- quotecheck returns error message

Unable to Configure Quotas in RHEL6 & CentOS6- quotecheck returns error message I've created new partition(/dev/sda6) and mounted it(on /hulk). Edited /etc/fstab file to give quotas on the ...
0
votes
0answers
18 views

Citrix Receiver fails to run on custom distro

I have a customized OS, based on lfs. GCC, glibc version of this OS matched with that of Ubuntu-13.04 I installed an application named Citrix Receiver on both OS. On Ubuntu, it runs smoothly as per ...
0
votes
0answers
21 views

linux boot issue

I found an entry in file /etc/ld.so.conf.d/cognos.conf which stopping linux to boot in the VM. Its going to recovery mode after boot. I am not getting grub prompt and os in read only mode. Solution ...
1
vote
1answer
9 views

How can I see processes being run by another instance of root on my Beaglebone

I am installing a Raspbian Linux image onto an sd card inserted into my BeagleBone Black. I will use this later in my Raspberry Pi. To do this, I am using the dd command from my MacBook Pro (via ...
0
votes
0answers
14 views

iwlwifi: timeout delays firmware to be loaded

I'm using OpenSuSE 13.2 beta (which runs by the way very nicely). When starting up, my wireless adapter (Intel Centrino Ultimate-N 6300 AGN/Thinkpad T420) delays about one minute... But then it works ...
1
vote
3answers
40 views

How to List files which contain white space in filename? [duplicate]

I am trying to read files one by one by using the for loop like below, by passing argument to the functions. Argument 3 makes lot of problem due to space in file names. Example: ...
-1
votes
2answers
19 views

How to install ISO file? [on hold]

I've MATLAB R2014a UNIX ISO file , but i'm using windows 8.1 , how can i install this version of MATLAB into windows instead of UNIX ?
5
votes
2answers
131 views

annoying message “X11 connection rejected because of wrong authentication” while there is no problem at all

I'm having an annoying problem. When I'm logged in to a specific host via SSH, the message X11 connection rejected because of wrong authentication. occurs three times seemingly random about once ...
1
vote
0answers
24 views

CrunchBang vs LXLE or other lightweight distro [on hold]

I am looking for a lightweight distro for my laptop. My laptop is not old, it is quite powerful (core i7 ) but I need more battery life because with Mint/Ubuntu it drains fast. So I need advice what ...
0
votes
2answers
52 views

Command Line only UNIX/Linux OS [on hold]

I want a command line only UNIX/Linux OS. I want the download of the OS to be below 80MB. I want minimum software.
3
votes
1answer
38 views

Thread process in linux

I'm wondering about the "punishment" that occurs when a new thread is created. From my understanding of clone(2), NPTL (New POSIX Thread Library), CFS (Completely Fair Scheduler), when a new thread ...
0
votes
0answers
18 views

unsquashfs fails

Debian 7.0, I extracted the firmware.bin image using binwalk. The extracted content is squashfs-root folder containing subdirectories and one file.squashfs file. I tried unsquashfs the file.squashfs ...
0
votes
0answers
6 views

Get start and end of process segments C/C++ [migrated]

I need to get the start and end addresses of the following process segments: code, data, stack, environment. I understand how it is located in memory, but don't know how to get it using API calls or ...
1
vote
3answers
62 views

How to align a table of display nicely

I am trying to create a script that act as a ps command with it's own properties that I want to display. Say this is how processes would look like in ps command: sas 24431 1 0 Oct10 ? ...
0
votes
0answers
33 views

GDB up arrow doesn't work

I searched a lot about similar problems but found nothing. When running gdb I couldn't use up arrow for walking through previous commands. Up and down arrows are just ignored. I have started to ...
0
votes
0answers
14 views

boot fails with “cryptsetup: lvm fs found but no lvm configured” [dual boot(2xlinux LVM, dm-crypt+luks)]

I have a dual-boot(xubuntu/#!) setup LVM with dm-crypt+luks as follows /dev/sda1 = /boot (xubuntu) /dev/sda2 = /boot (#!) /dev/sda3 = encrypted LVM /dev/mapper/volgroup-xroot = / (xubuntu) ...
0
votes
0answers
17 views

I'm trying to create a public TLD using BIND

I'm using these two guides: jackal777.wordpress.com/2013/11/19/custom-tld-for-local-network/ timg.ws/2008/07/31/how-to-run-your-own-top-level-domain/ When I run dig sokolovskaya.ssu, it looks ...
0
votes
0answers
42 views

cronjob executes every minute but should execute every hour [on hold]

I have a script which should be executed every hour, which creates a new log file. But it executes every minute. I am really despairing. My entry in crontab -e looks like this: #Create new logfile 0 ...
1
vote
2answers
42 views

Increasing performance of clear text file reads

In our bioinformatics application we have large files (up to 900MB, typically 100MB). These files contain a clear text representation of a genome, and are essentially a 1 line file with a sequence of ...
4
votes
1answer
29 views

Softlink in rc0.d is working on poweron rather than shutdown

I want to run a script on poweroff in Ubuntu. so I made a script, placed it in init.d & made a softlink in rc0.d with name S36xyz. my script is working perfectly when I run it in terminal. so ...
0
votes
0answers
25 views

Routing incoming source IP traffic to a loopback IP issue

I'm wanting to accomplish the following: I have a BIND DNS server setup where it is listening on ANY address and also listening in a BIND config ACL on 127.0.1.1. If there is another way where you ...
0
votes
0answers
10 views

auto installing dropbox daemon(dropboxd) with profile signed in automatically script issue

I am trying to install dropbox automatically in my server auto-install script so when I spawn a new VPS instance I'm able to have dropbox installed and have the credentials already inputed via the ...
0
votes
1answer
30 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
11 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
38 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
24 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
60 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
25 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
38 views

How to fork multiple processes from a same parent?

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 ...
-2
votes
0answers
22 views

How to make Linux server to receive email? [closed]

Good day. I have a project that require me to send email to a Linux server. The server will then extract information from the email in order to insert into a database.However, I'm stucked at the 1st ...
0
votes
0answers
24 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
28 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
22 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 ...
0
votes
0answers
27 views
+50

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 ...
0
votes
0answers
21 views

Where does the process go after changing to state TASK_STOPPED in Linux? [closed]

Supposed that we have a runnning process in Linux system, the state of that process will be TASK_RUNNING, after that if It receive the SIGSTOP signal , the process's state will change to TASK_STOPPED. ...
1
vote
1answer
11 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
46 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
28 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
8 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
11 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
2answers
30 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?