Tagged Questions
Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.
0
votes
0answers
2 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 ...
0
votes
0answers
5 views
Application that allows to show clipboard contents and its MIME type?
I'm searching for an application that can show me the details of the content of the clipboard.
When copying some data into the clipboard, the data is associated with a specific MIME type. Normal text ...
0
votes
1answer
7 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
20 views
GNOME 3.14 theme management without gnome-tweak-tool
I'm using Arch Linux (x86-64), with SLiM and Openbox. But naturally I have a handful of GNOME applications installed.
With the recent upgrade to 3.14 they all started looking really bad. And I want ...
0
votes
0answers
10 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 ...
0
votes
3answers
34 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
18 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
106 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
17 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
40 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
0answers
28 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
17 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
54 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
10 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
37 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 ...
3
votes
1answer
22 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
24 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
9 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
29 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
36 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
19 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
37 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 ...
0
votes
0answers
18 views
route same destination different gateway
i have 2 route rule that they having same destination ip different gateway.
what i need is to route packet based on Gateway . as the following :
10.200.7.--- 172.29.56.--- 255.255.255.255 ...
-2
votes
0answers
22 views
How to make Linux server to receive email? [on hold]
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
26 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
21 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
18 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 ...
0
votes
0answers
20 views
Where does the process go after changing to state TASK_STOPPED in Linux? [on hold]
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
10 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
10 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?
1
vote
0answers
6 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
23 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
50 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
17 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
45 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
19 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
29 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 ...