1
vote
1answer
41 views

Files system become suddently read only; how to debug this?

My ext-4 root and home filesystem became suddently read-only. How can I find out what was the reason for this? The system is ubuntu 16.04 with systemd (installed on an ssd), where root and home ...
0
votes
0answers
12 views

Problems with dropps for bond0 (Bonding mode4: LACP)

I am experiencing a fairly high drop percentage (2.2%) on bond0 when configured with bonding mode 4. What I find strange is that the slave devices does not report this drop count. The node is running ...
0
votes
1answer
24 views

psmouse kernel module recompiling

I have a ultrabook and its touchpad doesn't work. Linux mike 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-1 (2016-03-06) x86_64 GNU/Linux touchpad doesn't work and it is also not listed in output of ...
1
vote
0answers
20 views

Lubuntu 15.10 dual monitor setup issues

Problem description I recently updated my two monitor system from Lubuntu 14.04 to Lubuntu 15.10. I set everything on the new system exactly as on the old one before and I figured out a strange ...
1
vote
2answers
28 views

What happens when you verify a detached signature?

I'm trying to understand what happens when verifying a detached gpg signature. Here's an example from the gnupg manual: blake% gpg --verify doc.sig doc gpg: Signature made Fri Jun 4 12:38:46 1999 ...
0
votes
1answer
49 views

Validate user response in shell script

My shell script is working fine and the files are copying to the remote directory. However I need to check if my INPUT_STRING is starting with S and also check if the files are present in the ...
4
votes
3answers
329 views

Create an archive with command “gzip”

I have to create an archive with the command gzip (not tar - it's necessary) and the archive should contain files from another directory - for example, /etc. I tried to use command gzip myetc.gz /etc ...
1
vote
4answers
51 views

execute command over ssh connection [duplicate]

I want to excecute the following command over a ssh connection: tmpValue=$(cat /var/run/jboss-as/jboss-as-standalone8.pid) && top -b -U jboss -n 1 |grep $tmpValue |awk '{print $9}' This ...
2
votes
3answers
36 views

Can I re-direct an existing (entire) gnome-session's display to a remote work station?

So instead of using VNC for example - I could actually run a command on my home-fedora terminal and have my work-fedora existing gnome-session appear at home?
0
votes
1answer
30 views

“ Package network-manager-openvpn-gnome is not available, but is referred to by another package”in Kali linux [on hold]

I entered this code to my kali linu for installing vpn updates: apt-get install network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome network-manager-srongswan ...
0
votes
1answer
40 views

Eclipse Mars reacts delayed and crashes on Ubuntu 16

I´ve changed from Windows to Ubuntu 16.04 recently and when I'm running Eclipse Mars 2 (4.5.2), it reacts really slow or delayed. When I try to do anything like creating a new project, importing or ...
0
votes
0answers
9 views

Tomcat variables in jcrontab.properties [migrated]

I have a Tomcat7 and java webbapp with jcrontab. Can I use $CATALINA_BASE variable in jcrontab.properties? For example: ...
0
votes
1answer
13 views

Postfix address remapping

My website contains a form (contact us) that send an email (WordPress via Ninjaforms). I've configured both ninja-form and postfix to send the email from myname@e-levelcom.com However it keeps sending ...
0
votes
1answer
52 views

How to process a file containing quotes?

FINAL SOLUTION (for people in the future) I used the plutil command to convert the plist to proper text since it was a 'binary file'. Once that was done, grep had no problem managing the file. I know ...
0
votes
1answer
18 views

rhel repositories with gstreamer-plugins-ugly

What yum repository provides gstreamer-plugins-ugly (or/and other gstreamer plugins) for Red Hat Linux 6? And do repositories for CentOS and Fedora suit for Red Hat? Reason of this question is that ...
1
vote
1answer
19 views

lsusb not listing a SCSI drive, connected through USB (SATA bridge)?

I'm looking at one of those detachable hybrid laptops, which has extra hard drive in the keyboard base; this laptop runs Ubuntu. Sometimes these drives mount at startup, sometimes not - and in ...
1
vote
0answers
27 views

Static CDC ACM device binding

I'm using a buildroot linux on IMX6 board. I have 2 CDC ACM device, a reader and a modem. My modem have always been on /dev/ttyACM0 and I want it to stay that way. The problem is that my reader is ...
2
votes
4answers
69 views

find: do nothing, if no files get specified

I want to call use find on some filenames. find $(do_something to find filenames) -print0 | xargs -r0 ls -ld This breaks if $(do_something to find filenames) returns nothing: The find-command ...
1
vote
1answer
22 views

insmod: cannot insert './intrpt.ko': Function not implemented

I'm writing a kernel module that receives interrupts for mpc8308 (PowerPC) board. when I make the code for Ubuntu and my current version of kernel it works well with interrupt of keyboard, but when I ...
1
vote
1answer
32 views

Program linked against two versions of the same library?

I have two systems, both running Debian Jessie 8.4, and both have open-vm-tools installed. Files are identical on both sides. However, on one side the vmtoolsd links to an old libicu, althougth the ...
-3
votes
1answer
22 views

Not able to get value of parameterized variable in jenkins by perl

I'm not able to get the value of parameterized variable in jenkins using perl , I am using ex. $GIT_BRANCH=$ENV{"Git_Branch"}; but no value is passed to the $GIT_BRANCH variable.
1
vote
0answers
38 views

Resize Partition for dev/sda3

I am new in linux world and trying to learn linux. I have Linux based server on which Oracle Application running this is Virtual Machine and single VHDx file.Now i want to extend /dev/sda3 as its ...
2
votes
2answers
51 views

What does “rotate the kill ring” mean?

In the readline info pages : info bash -n "Commands For Kill" M-y Rotate the kill-ring, and yank the new top. You can only do this if the prior command is C-y or M-y. Ì understand ...
1
vote
0answers
21 views

Centos 6.6 box with single wordpress site - out of memory: kill process httpd repeatedly

So I have a Centos 6.6 box running as a LAMP stack. PHP 5.3.3 | Apache 2.2.15 | MySQL Server 5.1.73 This box is a VM running on XenServer 6.5, It has 4Gb memory available. total ...
1
vote
0answers
29 views

how to create an icon button in X11?

I am using x11 library for creating a simple window application in Linux. I want to add an icon button (graphical button) to my app - something similar to this: Are there any instructions on how to ...
0
votes
0answers
5 views

Can [current] puppy run withOUT VT-x? (also android; on OLD netboot N270 cpu VitrualBox)

Can [current] puppy run without VT-x? (also Android; on OLD netboot N270 CPU VirtualBox) It panics early in booting the .iso Could someone TRY: turning off VT-x in a Vbox & lmk?
1
vote
0answers
9 views

What is the need to edit the IP_forward file in Kali linux while SSL strip attack [on hold]

I want to know the reason why we edit the IP_forward file in kali Linux with .by default the file has 0 but why do we edit it to 1 while Executing the SSL strip attack
1
vote
1answer
18 views

Crontab and NMCLI

I have created a script called connection.sh, it is used to automatically connect to my vpn : #!/bin/bash nmcli connection up MyVPN I have already tested it, and it works if I launch it manually, ...
1
vote
0answers
16 views

ModSecurity is defaulting to index.html on POST

I am trying to implement ModSecurity and I have this in nginx location / { ModSecurityEnabled on; ModSecurityConfig /etc/nginx/modsecurity/modsecurity.conf; index index.php; ...
3
votes
2answers
155 views

Why doesn't iptables receive the marked packet?

I was learning the ping command options. In that I found the -m option to set the mark for a packet. The below command sends the packet with marking of 10 to the 192.168.2.65. ping -m 10 ...
1
vote
1answer
33 views

timestamping history file causing erroneous lines in history command

I have .bash_profile setup to export to a history file: export HISTFILE=/root/history/.bash_hist-$(who -m | awk '{print $1}') Then I am exporting time stamps for the history command. export ...
1
vote
0answers
18 views

How to customise the output format for linux log when view log in terminal?

when I run this monitor command $ sudo tail -f /var/log/ufw.log | cat -n 1 May 23 03:04:25 Vultr-Ubuntu14-Tokyo kernel: [51809.671147] [UFW BLOCK] IN=eth0 OUT= ...
1
vote
3answers
60 views

Where are shell variables stored?

For example, if I make a parameter expansion: $ b=1 $ echo $b 1 Where is b stored internally? I checked and it is not an environment variable because it is not listed by printenv. I'm writing my ...
0
votes
1answer
18 views

CMake not found, yet it is installed [on hold]

I am attempting to install CMake in a cluster environment running Centos 7.2, by executing: ./bootstrap --prefix=/home/user/opt make make install Compiling doesn't give any errors, yet, ...
1
vote
1answer
35 views

Filesystem: How to find block of file represented by inode? [on hold]

I am writing a file system for my operating system and am doing research on existing file systems before I start designing my own. I came across some slides about the System Five File System and am ...
1
vote
1answer
12 views

Using chroot to restore Kubuntu 14.04

I have accidentaly purged some system files and now Kubuntu 14.04 won't boot past the start up logo. I read online that I can perform changes on my system through my LiveUSB and the BASH chroot ...
0
votes
0answers
24 views

copying every 2nd line starting from 1 [duplicate]

The below has actually been asked before, which I hadn’t realised. but out of curiosity, how would you go about it if you wanted not just odds or evens, for example every 5th line I'm trying to copy ...
0
votes
0answers
16 views

Problem monitoring serial output using ts

I have to continuously monitor serial output from an Arduino device. So far I have been using ts from moreutils with the following command: ts '%H %M %S' </dev/ttyACM0 >output.log Earlier it ...
-3
votes
1answer
20 views

How to make user but without access to public_html

How to make an user for linux, who can't access public_html folder? UPDATE: Indeed I want to use http://example.com/~user/ but user doesn't has any permission on other rootdir. How can I do it?
0
votes
0answers
17 views

Intel Graphic error: i915 […] has bogus alignment

I'm using Debian unstable and I have a graphical problem after my computer suspend. My Xfce desktop is not correctly rendered on the wakeup, I can see my background through the panel (see screenshot) ...
1
vote
0answers
8 views

selinux on squashfs with overlayfs

Is it possible to use SELinux on a system with a squashfs root with an overlayfs overlay for read-write operations? On funtoo (gentoo), I booted with SELinux enabled in permissive mode to see what ...
1
vote
3answers
113 views

Separating variable names from output strings with no whitespace

I have the following snippet of code where I intend to: Iterate 5 times the loop; get a line from a file (each iteration I need the next line fetched); use the line as a title for a file; put a ...
1
vote
1answer
26 views

Error signing certificate

I am trying to create and sign a certificate for Email services. Using this. Everything went well until i reached : sudo openssl ca -in server.csr -config /etc/ssl/openssl.cnf After entering the ...
1
vote
1answer
49 views

How to install GCC 5 on debian jessie 8.1

I tried many solutions to install update for my gcc compiler on debian server. None of them worked. I need the compiler update to use new features of c++11, as this provides a stable libcxx11 ABI, and ...
1
vote
0answers
4 views

Are default zones not pre-populated following a fresh install in firewalld?

CentOS 7 / Minimal Install I want to get my feet wet with firewalld and am coming across some beginner issues. I installed it via yum install firewalld I enabled it via systemctl enable ...
0
votes
0answers
18 views

ssh cant copy key with hamachi

Trying to make ssh work with hamachi networked computers, as a solution for NAT and SPI firewall routers. Ping works, ssh-copy-id refuses to add key. user@c4 ~/.ssh % ssh-copy-id -i id_rsa.pub ...
0
votes
0answers
15 views

chown vs chmod shared directories (NPM)

If several people are on a Linux box and one user issues chown commands on some shared folders (this has to with Node.js/NPM global files), aren't they competing with each for permissions? Is it ...
1
vote
1answer
33 views

Is there a way to send packets through one ISP and receive answers through another one?

I just finished building my first load balancer that combines two different ISPs. This mechanism works just fine, but it's a little bit limited because a connection can't simply utilize both ISP at ...
1
vote
0answers
5 views

Firewalld forwarding between zones not working

I have a centos 7 kvm hypervisor running multiple VMs that are configured to use NAT networking. These VMs run their services, of which ssh is the most important for administration purposes. I would ...
3
votes
1answer
21 views

Console keymapping

I have installed Arch Linux on my Thinkpad W530, and none of the Fn-Fx keys or the volume buttons work. However, they do work before I have booted into Arch at the Grub menu. (I can change the ...

15 30 50 per page