0
votes
0answers
4 views

/etc/init/suricata stopping CentOS from booting up

I am using CentOS 6.6. I put this content into /etc/init.d/suricata. I also ran sudo chkconfig suricata on to make suricata run at boot. My problem is that it is now preventing Centos from ...
1
vote
0answers
6 views

ext4 corruption found in superblock, but filesystem can be mounted

After a crash, I've got an Ext4 filesystem (on an LVM LV) that gives the following error when running fsck.ext4 -nf: e2fsck 1.42.12 (29-Aug-2014) Corruption found in superblock. (blocks_count = 0). ...
0
votes
0answers
4 views

usb drive not working on c710-2487

I am trying to figure out why my c710-2487 chromebook won't recognize the USB stick with Ctrlu. I'm trying to boot bodhi from the USB. I have followed all of the instructions but it still seems like ...
1
vote
0answers
15 views

Can ACLs override file perms on Linux?

I struggled with this problem on FreeBSD recently, but thank God for ZFS which solved it for me there. However I have it again in CentOS with ext4 and don't know if there is an easy way around it (or ...
0
votes
0answers
4 views

xfs_repair does not repair the filesystem according to xfs_repair -n

I've got a filesystem that, after a crash, is corrupted according to xfs_repair -n. As stated in the xfs_repair man page, xfs_repair -n exists with a return status 1 if corruption is detected. So I ...
0
votes
1answer
14 views

Single call in .bashrc starting two daemon processes

I am using CentOS 6.6 and would like /OtagoHarbour/executables/inotifydropboxcopy to start as a daemon when I boot the computer and log in. I put the following in ~/.bashrc # User specific aliases ...
2
votes
1answer
20 views

Unix: Problem with cmp command

Let me give you an idea of what I am doing. I am running a script that is doing basic OS processes for two systems Linux and SunOS. Well the first directory it runs is called sol0. The script puts ...
3
votes
0answers
6 views

termios settings after closing file

Are the settings altered by functions from termios.h kept after file is closed and open again? I want to use serial communication in a higher level language (Racket) which exposes only reading and ...
0
votes
0answers
9 views

AMD Catalyst installation woes on Slackware

I'm trying to get my ATI graphics driver installed on my fresh Slackware OS (Zenwalk). I'm coming from Ubuntu 14.04-14.10, so I know there's a whole lot I don't understand just yet. I download the ...
0
votes
0answers
12 views

Problem when downloading snort rules

I have a problem when downloading new rules via pulledpork. After using... $ pulledpork.pl -c /etc/snort/pulledpork.conf -T -vv I get an error: Fetching md5sum for: ...
0
votes
1answer
10 views

How do I automatically bind mount on boot in a non-root encrypted home directory?

I want to bind mount a directory within my home when I log on. The line in fstab would be /foo/bar /home/me/wherever none bind 0 0 The trouble is my home directory is encrypted, so it has to happen ...
0
votes
1answer
7 views

Dynamically assign outbound network interface

I'm establishing a network connection with wvdial (PPP) and I want to assign this as the outgoing network interface AFTER it is established. The connection is being established by a bash script and ...
0
votes
1answer
25 views

How to create a symbolic link to a single file rather than directory? [on hold]

I would like to know, how can I create a symbolic link to AAA.mpg (12GB). I tried with ln -s, but it can only create symbolic link of a directory, if it's a single file, the shortcut will consume the ...
0
votes
1answer
9 views

v4l2-ctl error in script

I can use v4l2-ctl in command line like these: v4l2-ctl -d /dev/video1 -c focus_auto=0 v4l2-ctl -d /dev/video1 -c exposure_auto=0 But it has error when I run them as a script in a file. for example ...
0
votes
0answers
12 views

Centos 7 minimal and gnome 3 [on hold]

I am looking for something stable and fast for my developing. I have very slow internet connection(my download rate is 30k), also I have very limited time So I thought maybe I could download CentOS ...
0
votes
0answers
15 views

“error connection to storage” while logging into roundcube

My current mail server is configured with dovecot and roundcube. When I try to log into the roundcube panel I get this message: "error connection to storage" DESCRIPTION: (eth0 192.168.1.1) static ...
0
votes
0answers
8 views

Google Chrome Stable Homepage Set ~ Cannot Reset

I think someone has pranked me by setting Google Chrome's home page to one of my bookmarks; Inoreader homepage. The entry reappears, apparently auto spawning even when deleted from: Settings --> ...
1
vote
2answers
28 views

Remote server randomly hanging on ssh login

I'll try to ssh into the server ssh name@box-a At which point I'll usually be prompted for a password and then it logs me in. Sometimes though, when I try to ssh in it just hangs after I press ...
0
votes
1answer
15 views

rpm -Uvh - How to replace modified config file

The question is a duplicate from Stackoverflow site I upgrade rpm package with rpm -Uvh command. Original and new configuration file is the same, but current file on disk has been changed. This ...
5
votes
1answer
50 views

how to find out if kernel or udev created a device node?

Is there any way to find out who created a device node? If it has been udev or the kernel itself? In the specific case of mine, I have two webcams. Nodes created for them are /dev/video0 and ...
4
votes
1answer
30 views

List all udev rules (e.g. for a device)?

I want to know how I can list all udev rules. I know that in they can be potentially stored as lines (one line = one rule) in *.rules files in these directories /etc/udev/rules.d /lib/udev/rules.d ...
0
votes
1answer
15 views

Install python pip in Debian Wheezy

How to install pip in Debian Wheezy? I've found many advises 'apt-get install python-pip' but the result is "Unable to locate package python-pip" Is pip available in Debian Wheezy? I'm using 7.8 ...
-1
votes
0answers
10 views

KVM Disk Image File Path openSUSE

I need to enable networking for my guest KVM Windows 10 VM under openSUSE Tumbleweed host. I need the default file path for the virtual disk image as per here. Running the following command: ...
0
votes
2answers
42 views

Creating a shebang pointing portably to an interpreter in the folder of a script

I have a JS file (file.js) that I want to have executed as a command line shell script through nodejs (iojs actually); I'm using MINGW Git Bash on Windows. The standard way to do it is to put the ...
0
votes
0answers
10 views

SEGFAULT error 4 in libX11 on another X display caused by War Thunder

I read tons of info about performance boosting for linux gaming. One of them is to run games on a separate X server. After hours of search and tries, I ended up with something "working" for most of ...
0
votes
1answer
17 views

Importing packages from linux ISO

I have ISO of Puppy Linux and just now I have downloaded ISO for Ubuntu. Puppy Linux does not have gcc installed . But I know Ubuntu 14 has gcc and many other softwares installed. So Can I import ...
3
votes
1answer
82 views

Host multiple Linux distros on PXE Server and show these choices to PXE client

PXE Server - CentOS 6.5 64bit Objective - Client should be presented with OS choices in network boot menu - Oracle Linux 6.5, RHEL 7, Ubuntu 14. Upon selection it should proceed with the selected OS ...
1
vote
1answer
23 views

Calling bash getopts from a function fails the 2nd time

I'm trying to parse arguments passed to a bash function using getopts inside that function. It works when the function is called for the first time but fails on all subsequent calls. Here is a simple ...
5
votes
3answers
232 views

What does `. /path/command` do? (Space after dot, absolute path)

From this guide to Bash completion we learn that in order for Bash to perform auto-completion one must perform . /etc/etc/bash_completion.d/foobar (note the space after .) in order for Bash completion ...
-1
votes
6answers
52 views

Find all numbers not in a range

I have a file with following content :- 2 4 5 and have range, say 1 to 5 . I need a shell script whose output will be 1,3. That is the numbers which are not present in the file and within the ...
0
votes
2answers
13 views

How to meter FTP upload progress in telnet

I'm working on a script using telnet to connect to an ftp server and dropping a big file on it. Because of the environment of the project, I need to use ftp and cannot rely on other techniques like ...
2
votes
1answer
21 views

Unable to start X Server with no screens, no xorg.config to edit

I am trying to start the X server (I have all the packages installed). The problem I am having is that the server is offsite, has no screen and never has had a screen connected to it and as a result ...
0
votes
1answer
17 views

troubleshoot application install fail on Red hat 6.5

I'm trying to install an application which has been copied to the /tmp dir (./xxx.bin) On a Redhat 6.5 base build I can install it fine with nothing else installed. However, the production box has ...
0
votes
1answer
24 views

How to select read/write time and again? [on hold]

This program only waits one time and I don't understand why. Actually, I don't think this question should be put on hold as off-topic. #include <stdio.h> #include <sys/types.h> #include ...
0
votes
0answers
15 views

How do I measure the amount of network traffic that passed my debian installation?

So my raspberry pi is acting as a Router and Web/Mail/FTP/SQL/Media/Clash of Clans/Home server right now and I'm looking for a way to monitor the consumed bandwidth, much like NetWorx for windows. I ...
1
vote
0answers
9 views

Kali Linux - Wireless Adapter: airodump-ng wlan0 - Error

I am doing a project on Kali Linux's airodump-ng command. Though, whenever I try to execute this command on a virtual machine (Virtual Box) with a Wireless USB adapter, I get this message as appose to ...
0
votes
2answers
26 views

how to delete files from a specific date and extension

Short and sweet: One of my hosting subscriptions got hacked. I ran this command: find path-to-folder/ -mtime -7 -name "*.php" –print this produced about 11 pages worth of malicious code which was ...
2
votes
3answers
19 views

Append and write out variable-named file from list of variables

I would like to create multiple 'wget' shell scripts to download a batch of considerably large (~3GB) files using our HPC cluster. The names of the files are stored in filenames.txt, like so: $cat ...
0
votes
0answers
13 views

“Makefile:29: recipe for target 'siplib.o' failed” - SIP installation

I'm trying to install SIP 4.16.5 for Python 3.4 on Ubuntu GNOME 14.10. I type python3 configure.py and I get the following: This is SIP 4.16.5 for Python 3.4.2 on linux. The SIP code generator will ...
2
votes
4answers
64 views

Share files between Linux host and Windows guest

I am trying to share files between Linux host and Windows guest and I came across the link: Use virt-manager to share files between Linux host and Windows guest? As suggested in the third answer, I ...
0
votes
1answer
6 views

What should file permissions be set to in order for an FTP editor to work?

I installed git on my server and cloned my development repository using the root user. The permissions appeared to have been set to: Files: -rw-r--r-- Directories: drwxr-xr-x I previously had ...
1
vote
0answers
5 views

GUFW or Firestarter in Fedora

Physician using Fedora 21 - I have very limited knowledge of Linux. I cannot make sense of iptables in Fedora. I used Debian before but moved away from Debian in great disgust after I realized their ...
0
votes
1answer
22 views

Why do I get mail when I unplug my adapter?

Usually I only get the terminal output You have new mail in /var/mail/$USER after running certain upgrades but I've started getting it every couple days after running other commands, seemingly at ...
1
vote
1answer
9 views

“not a valid package archive” when trying to install PHP extension?

I'm running CENTOS 6.6 on a VPS and am trying to install the ZMQ PHP extension and tried installing using the command shown in the instructions: sudo pecl install zmq-beta However, it fails, ...
0
votes
0answers
11 views

How can I access samba from windows 8?

I'm running samba on debian (Running on a BeagleBone Black), and I cannot access the share via Windows 8.1. It prompts me for a username/password as shown below, and won't authenticate me. When it ...
15
votes
2answers
458 views

Pipes, how do data flow in a pipeline?

I don't understand how the data flows in the pipeline and hope someone could clarify what is going on there. I thought a pipeline of commands processes files (text, arrays of strings) in line by line ...
1
vote
1answer
27 views

Hotkey for doing sudo suggestions

On Ubuntu and Debian, often if I try to run a program I will get a message that says something to the effect of: You don't have that program. To get it type sudo -apt -get -install programName ...
0
votes
0answers
9 views

Parallella Board release date? [on hold]

Does anybody know when the parallella board with 64 cores gets released? I cannot find any information or shop for buying it. Would be really nice to know it..
1
vote
2answers
145 views

How to pass arguments to the shebang interpreter when executing a script?

Say I have my.script such as #!/bin/bash blah blah and the bash interpreter accepts a --verbose argument. How do I execute my.script passing --verbose to bash? I know I can do bash --verbose ...
3
votes
0answers
18 views

Custom key combinations in dwm

I have some custom key combinations in config.h, which work great. I just got a 60% keyboard, and would like to configure the arrow keys to work Vim-like ¨hjkl¨, instead of the combination with FN + ...

15 30 50 per page