0
votes
0answers
5 views

-bash: -sudo: command not found

Some dependencies were missing when I installed THC Hydra. I found this site: http://www.aldeid.com/wiki/Thc-hydra which directed me to install the missing package via this line code: sudo apt-get ...
0
votes
0answers
3 views

what is the “System ID” of a LVM volume group

On my system, where I use LVM2, I have several volume groups. When I run sudo vgdisplay, I see that all of them have an empty System ID field. What is that field for? Is that correct to have it empty ...
0
votes
1answer
14 views

Apache Downloading a lot data, how to find out which script?

Apache Downloading a lot data, how to find out which script? I host a few sites, i noticed a ton of bandwidth being Downloading (not so much when uploading) when the httpd service is running, when I ...
3
votes
0answers
16 views

Seperate messages of multiple sshds in syslog-ng

is there a common way of distinguishing between the messages of multiple processes in syslog-ng beside setting different facilities? I have a system setup with two running sshd instances. One is ...
7
votes
0answers
16 views

How to find which serial port is in use?

The Question: I plugged in a device (i.e. GSM modem) through a serial port (a.k.a. RS-232), and I need to see with which file in /dev/ filesystem this device was tied up, to be able to communicate ...
1
vote
0answers
3 views

Linux Mint 16 randomly freezing and freezes always after suspend wakeup

I've just installed Linux Mint 16 Cinnamon on Dell Latitude E6420. During an hour of use the desktop would become unresponsive and I was unable to access any TTY. It just froze up. The same thing ...
1
vote
0answers
6 views

openwrt eth2.1 can not receive packets

I have network configure: config interface 'lan' option ifname 'eth2.1' option type 'bridge' option proto 'static' option ipaddr '192.168.2.1' option netmask '255.255.255.0' ...
4
votes
3answers
225 views

What does exit 99 means?

I'm new to Unix. Just want to know what is exit 99 and why would one use it and what are the significance uses of it. For example, I'm using exit 99.
4
votes
0answers
11 views

Optimal rootflags for rootfs for ext4 file system running on USB thumdrive

I have made myself a bootable USB Debian 7 thumbdrive, using debootstrap. It boots nicely - but occasionally freezes for a bit. I can see the load average is much higher than the running tasks should ...
1
vote
1answer
18 views

How can I find out about “rootfs”

Running Debian 7; when I execute a cat /etc/mtab I can see all sorts of useful information about the filesystems that are mounted, such as the filesystem and options used to mount then; however ...
0
votes
1answer
25 views

Want to replace the words with space in multiple files using SED commmand

Want to replace the words with space in multiple files using SED commmand I have a word as 'Danny' with single quotes in many of my files in multiple directories which I want to change to 'Danny ...
1
vote
3answers
44 views

For loop in bash scripting

The following for loop in bash gives an error - line 42: 1 2 3 4 5 + 1: syntax error in expression (error token is "2 3 4 5 + 1") line 42 is statement - num1=$[$i1 + 1] for i1 in `seq 1 5` ...
2
votes
1answer
31 views

Monitor SSH data transmission, and close connection if no data is flowing

For our file transmission and manual storage we have a simple RHEL server on which all other Linux clients are connecting by SSH. Whenever any client wants to access/store data, they connect to the ...
0
votes
0answers
7 views

stripe configuration issue [migrated]

I'm getting the following error when using Stripe (PHP Library) for Checkout. (https://stripe.com/docs/checkout/guides/php): Fatal error: Class 'Stripe_Customer' not found in /var/www/charge.php on ...
2
votes
3answers
65 views

Find “.git” dirs but ignore some paths; or how does `find -not` work

I cant figure out how the find -not works. Let's say that I would like to locate all .git dirs in the tree. find -type d -iname .git No problems, but then let's say that I have some dirs that I ...
-1
votes
0answers
12 views

CentOS print pdf using print screen key [on hold]

CentOS print pdf using print screen key - enable multi format support
2
votes
3answers
43 views

Compare two files for matching lines and store positive results [duplicate]

I have two files. File 1: A0001 C001 B0003 C896 A0024 C234 . B1542 C231 . upto 28412 such lines File 2: A0001 A0024 B1542 . . and 12000 such lines. I want to compare File 2 against File 1 ...
0
votes
0answers
17 views

Unit couchdb.service failed to load: No such file or directory

I have couchdb on Sabayon running # couchdb -version getopt: invalid option -- 'v' Try `couchdb -h' for more information. kernel-poll not supported; "K" parameter ignored Apache CouchDB 1.5.0 ...
0
votes
2answers
35 views

ln -s with a path relative to pwd

I'm trying to create a bunch of symbolic links, but I can't figure out why this is working ln -s /Users/niels/something/foo ~/bin/foo_link while this cd /Users/niels/something ln -s foo ...
4
votes
3answers
29 views

Rebuild damaged system directory (for example, /lib)

Let's say I have a Linux system, either Debian, Ubuntu, or CentOS, where a user removed /lib, for example. Let's also say that I managed to boot this system with a livecd version of whatever OS it was ...
-1
votes
0answers
36 views

Debian - how to find out why a lot of services stopped

I'm using a VPS WebServer with a preconfigured environment: Debian 6.0.5 Apache 2.2.16 PHP 5.3.3 MySQL 5.1.66 pure-ftpd Python 2.6 Postfix Dovecot Spamassasin Clamav Webalizer phpMyAdmin 3.3 ...
2
votes
1answer
15 views

Why is “dir-or-file-in-usr-local” an error rather than a warning?

I'm building some rpm packages and checking for standards and style conformance using rpmlint. The packages are specific to systems at my place of work and they won't get pushed upstream. Our ...
1
vote
1answer
25 views

how can I change what the command “apt-get update” looks for when executing the update?

Forgive my incompetence I am still new to GNU/Linux. I use Debian wheezy. When I type apt-get update I get this at the end W: Failed to fetch ...
0
votes
1answer
12 views

Using WiFi port as redundant link

I want to use WiFi port of my server as redundant link for copper connection to my home DSL router. My router if SAGEM 2704 with very limited functionality. So practically the only possibility is to ...
11
votes
6answers
207 views

How do I source another process's environment variables?

If I examine /proc/1/environ I can see a null-byte-delimited string of process 1's environment variables. I'd like to bring these variables into my current environment. Is there an easy way to do ...
2
votes
1answer
18 views

Minimizing hardware interrupts

I am using a modified Linux kernel as a soft real-time OS, on a system that has an architecture like this: CPU1 and CPU2 have 8 cores each. I have 4 processes that need to be run with minimum ...
0
votes
0answers
15 views

Compiling sample SFML program problems

I'm trying to compile the first sample program that comes with sfml on Fedora. First it told me that I needed to link all of the libraries properly but then I got it all configured and now I'm stuck ...
1
vote
1answer
31 views

What precautions should I take running Windows 7 on a VM on Linux?

I'm thinking of running Windows 7 on a virtual machine on VirtualBox on top of Linux, so that Windows is sort of a "self-contained sandbox" (especially in terms of data storage) for things that ...
3
votes
1answer
28 views

Set environment inside `nsenter /bin/bash`

I'm entering a namespace with nsenter -m -u -i -n -p -t $PID /bin/bash. However, printenv inside this namespace doesn't have everything I need. I'd like to send these variables in, but I'd like to ...
1
vote
1answer
10 views

Error while installing edx on debian squeeze

I am installing edx platform on debian squeeze with anisible at the middle of the process of installation I get this error : TASK: [supervisor | create a symlink for supervisor cfg] ...
2
votes
1answer
12 views

Set the button mapping of touchpad using xorg files

I would like to change the mapping of my touchpad (of an eee-pc with Linux Mint 16 MATE edition) so that a two fingers tap is a middle click and three is right click. For that I add the ButtonMapping ...
1
vote
1answer
17 views

How do I view the entire raw message in alpine?

I am fiddling around with S/MIME emails (sent from http://transport-testing.nist.gov/ttt/). I want to view the entire email, but when I export the message I get this: From ...
4
votes
1answer
44 views

top: how to cancel current command?

While browsing processes on a shared server in top I accidentally hit the r key which prompted me with renice. I had no clue what this was going to do with my input and found no way to go back. I ...
5
votes
2answers
185 views

How does one create a directory that can't be seen and can only be accessed via its absolute path name?

I'm working on an assignment on adding time support to a standard UNIX system. Part of it, however, involves securing the location of backup files (which we've set to be at the system root by default) ...
0
votes
1answer
30 views

Downgrade USB 3.0 to USB 2.0 in ubuntu

I have USB 2.0 device when I plugged this device into the USB 3.0 port of my system then system gets hanged, after researching many of the solutions says that you can downgrade USB 3.0 to USB 2.0. But ...
2
votes
0answers
74 views

Why do deleted files continually reappear?

I've been having a strange issue recently, where I would delete files from a location (i.e. Desktop), and then empty the Trash. However, a day or so later (I'm not sure exactly what triggers it), the ...
1
vote
0answers
19 views

linux watchdog and systemd watchdog

I'm in trouble with watchdog :( Is there any way to register application into systemd watchdog at runtime? Does linux watchdog only use for system reset or it can be use for application reset?
1
vote
1answer
18 views

automate updates with a bash script and cron

I'm trying to automatize the updates of debian system, without making upgrades. Then i'll send an e-mail to me, everytime there is an upgrade available. I've tryied to do it with cron-apt, but i ...
4
votes
1answer
27 views

SSHFS seems to be working, but Sublime + SSHFS doesn't?

I use the command, to mount my remote filesystem using SSHFS: $ sshfs -o uid=1000 -o gid=1000 root@10.0.1.198:/ "/home/chendy/my_mount" Everything seems to be happy, unless I try and open and save ...
2
votes
0answers
34 views

root directory almost full but still lots of free space on the partition [on hold]

Some time ago I installed 12.04 from windows xp on a separate "linux" partition via wubi. this partition was allocated 50 GB. my problem now is that obviously the root directory does not have access ...
4
votes
4answers
228 views

Process java still being killed

I need to run a java program on my university servers. I'm remotely logging in through their servers via ssh So I used nohup like so: nohup java -jar project.jar & However when I logout and ...
5
votes
1answer
26 views

How the network packets are transferred to the memory on linux?

Is there some command or tool for monitoring network packets and how those packets are handled by the memory and than proceeded to the CPU on linux platform? Using tcpdump I can capture many apache ...
2
votes
2answers
46 views

Are there ways to break into a machine if iptables drops all traffic?

Say I install Linux on an blank computer (no other OS, disk is formatted for installation), and I configure this in iptables: iptables -F iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -P ...
3
votes
1answer
25 views

I can see my LVM but I can't initialize it. Missing UUID of one of the disks

I have had a 2 disk LVM called Data going for about 6 months, and I recently bought a third disk. I installed the disk in the machine, and wanted to format it and extend the lvm onto it, like I've ...
1
vote
0answers
12 views

How do I manually install the XPM library?

I'm wanting to install SWI-Prolog, however my linux box (more like a tuna can; it's a RasPi) isn't connected to the internet, so I can't just do sudo apt-get install libxpm-dev How can I do this ...
2
votes
0answers
27 views

USB 2.0 device is not working in USB 3.0 ports

I have a Ubuntu 12.04 system. To that system I have one USB 3.0 port. In this port I am trying use my USB 2.0 device. But every time when I plugged that USB 2.0 device into that USB 3.0 port,system ...
3
votes
0answers
20 views

Are there any canned solutions for running sshd in the initrd?

This is mostly aimed at Debian/Ubuntu, but I feel savvy enough on a variety of distros to be able to adapt the solution for one distro to another. Here's my scenario. There are a few situations when ...
1
vote
0answers
23 views

How can I use iptables to block certain processes from accessing the network? [duplicate]

I can set the processes to run under special uid's and use the technique from this SF answer: -A OUTPUT -m owner --uid-owner 400 -j DROP ...But are there any other ways to blacklist based on the ...
2
votes
0answers
16 views

Why VMware DHCP persists getting offline?

I am trying to set up a SSH server in my remote machine which is running Windows 7 on it currently. So first I set up a Oracle VirtualBox but it did not work for me properly. Then I decided to go with ...
1
vote
1answer
12 views

leds-pwm driver in linux 3.8

I am using custom board based on beaglebone black. I am trying to enable leds-pwm driver in Linux 3.8 version. But Kconfig says the driver depends on HAVE_PWM config, I am not able to see that ...

15 30 50 per page