1
vote
1answer
20 views

Disable Primary NIC but leave Virtual Nic tied to Primary NIC Active - Virtual_IP Troubles

I am having trouble setting up a Virtual/Floating IP. In this specific circumstance I am using Pacemaker+Corosync to manage just 2 Virtual IP's. One is internal and the other is external to our SIP ...
2
votes
0answers
27 views

SSH Login with key Error

I am at a complete loss here. I have this working on 398/400 servers. The remaining two are RedHat 6.3 machines. I have setup user accounts, ssh keys and .ssh directories. 700 on .ssh 600 on ...
0
votes
1answer
26 views

How to stop the ping command if there is no reply after 1 sec? [duplicate]

I'm writing a loop that checks whether a connection has been established. I'm doing ping -c 1 8.8.8.8 while [ $? -ne 0 ] do sleep 0.5 ping -c 1 8.8.8.8 done Now I'm not sure how this works, ...
1
vote
2answers
32 views

Where can I find shell script for parse JSON on busybox?

I have an IP camera with armv5tejl architecture. There I have busybox. I have to be able to parse JSON responses from curl. The problem is that I don't have programs like: jq, jshon, jsawk... It is ...
1
vote
1answer
18 views

Keep a live clone of a machine into another

I am trying to find the easiest and most elegant solution to keep two desktops running that are clones of each other. I have a machine running cobbler. Every once in a while a few delicate changes are ...
0
votes
1answer
41 views

Delete files older than X days - mtime, ctime and atime doesn't work

I'm running a script on synology (NAS) that is deleting files older than x days on certain folders. The problem is that I want these files to be deleted after X days of being uploaded on the folder. ...
0
votes
1answer
71 views

What exactly is | [on hold]

The symbol | when used in command line seems to redirect the output of one processes to another. I am wondering how it happens in terms of data forwarding from process on the left to right. Also what ...
0
votes
2answers
39 views

Can a Mac mount a Debian install CD?

Working on OS X Yosemite (v10.11.5), I'm unable to mounst a Debian installer ISO (debian-8.5.0-amd64-CD-1.iso on Debian download page). I get this error... $ hdiutil mount debian-8.5.0-amd64-CD-1....
0
votes
0answers
27 views

I want to pass the password for sudo user from a file in putty

I am passing the sudo user command from a file as soon as sudo user command passed to putty system prompted password. I am trying to pass the password for the sudo user but system not able to read ...
0
votes
0answers
12 views

Cinnamon eating up RAM

I am using Linux MInt Cinnamon Edition. It used to eat up just 100-120 MB RAM but just now I noticed that its eating up more than 250 MB RAM. I also tried restarting the Laptop but it started with ...
0
votes
0answers
5 views

citrix receiver - doesn't respond to wmctrl

When citrix receiver shrinks to an unusable size, I try to programmatically set it to fullscreen via wmctrl (-b toggle,maximized_vert,maximized_hoz), but it doesn't do anything. I can run the same ...
1
vote
0answers
33 views

Different system commands show different DNS servers

I have set-up my DNS servers in my Network Manageras the following: 208.67.222.123 208.67.222.220 208.67.220.220 Yet I get different responses when I try different commands (taken from online ...
0
votes
1answer
13 views

VPN Clients only can connect to other machines after ping

I have a weird problem here. I have a OpenVPN server up and running. When my VPN clients (10.0.0.x) try to connect to another machines (192.168.0.x), it fails (I tried netcat, telnet and SIP). If a ...
3
votes
2answers
27 views

Simple significant usage of '/M' multi-line address suffix?

For GNU sed v4.2.2-7, info sed says: '/REGEXP/M' '\%REGEXP%M' The 'M' modifier to regular-expression matching is a GNU 'sed' extension which directs GNU 'sed' to match the regular ...
5
votes
1answer
52 views

The user x cannot use this program (crontab)

Ubuntu 14.04 I don't understand the behaviour I'm seeing with setting up crontab for a service (no login) account (named curator). When I'm logged in as root, this is what I get: # crontab -u ...
0
votes
1answer
13 views

Can't see floating IP within Virtual machine

When we spin a VM in cloud based environment ( in my case , open-stack) , and assign it a floating ip to access it from outside , we can't see that IP with standard Linux commands for networking, ...
2
votes
4answers
63 views

Extract lines from a large file that do not end with “H” into another file

I have a file that looks like the following: TITLE Protein in water t= 0.00000 REMARK THIS IS A SIMULATION BOX ATOM 1 N SER A 107 20.799 63.728 25.985 1.00 0.00 N ...
0
votes
1answer
27 views

How to recover a clobbered LD_LIBRARY_PATH on Ubuntu Linux 16.04?

I would like to find out how to recover a clobbered LD_LIBRARY_PATH on Ubuntu Linux 16.04. I clobbbered it a few days ago by setting the global environment variable LD_LIBRARY_PATH to /home/frankc/...
1
vote
1answer
17 views

Failing to create /dev entry from sysfs, No such device or address

I've got some sort of home entertainment system running an old version of Linux 2.6. It has a SATA > USB bridge system and a couple of USB ports. What I want to do is use it as Network Attached ...
1
vote
2answers
49 views

How to test if a file starting with a particular prefix is present in a directory in shell script [on hold]

I need to test if a file starting with "ant" is present in the directory. If that is present, I need to delete that file. The command that I am using now is test -e $FILE_PATH/$FILE_NAME I have ...
2
votes
2answers
27 views

Resize image in a script using Imagemagick

I'd like to create a bash script to resize images up to 800px keeping proportion... My code doesn't work in bash, but it works using identify with a single image : #!/bin/bash for file in ./**/...
0
votes
2answers
40 views

Installing EPEL on RHEL

I'm running RHEL version 6.7 on a server, and am having trouble installing EPEL. Since I'm running RHEL version 6.7 I was told I needed a 6.x version of EPEL. So I installed: epel-release-6-8.noarch ...
1
vote
0answers
16 views

VirtualBox NAT Issue - Able to Ping and Lookup. Unable to Browse

I have been facing an unusual problem with my VirtualBox NAT settings. I have scoured the Unix SE Forums but was not able to find a similar issue reported. I did find one but it was from 2009 and ...
0
votes
0answers
4 views

SCO OpenServer 5.0.6 STREAMS leak

I'm having a STREAMS leak using SCO OpenServer 5.0.6. Running strace I get some output like this: 100943 15:38:12 06dbac76 9 ... 202 2 ti_ack 1226438845 <= snd_una 1226438845,dupacks=0 As far as ...
15
votes
2answers
1k views

Why can't I kill a SIGSTOP'd process with a SIGTERM, and where is the pending signal stored?

I am using Debian stretch (systemd). I was running the rsyslog daemon in foreground using /usr/sbin/rsyslogd -n and I did a Ctrl+Z to stop it. The state of the process changed to Tl (stopped, ...
0
votes
1answer
54 views

Is there some free space on this sda3 partition?

Total space of sda3 is 80.2 GiB ( 29.8 + .218 + 3.7 + 30 + 6.3 = 70.018 ) I don't understand where is the rest 80.2 -70.018 = 10.182 GB [root@centos ~]# df -hT Filesystem Type ...
0
votes
0answers
5 views

x11vnc exits reverse connection immediately

i'm using x11vnc for reverse connection, that the help seeking persons only have to click a button (a launcher for a bash one-liner with x11vnc and a ddns) when i ask them to do so... i stripped down ...
1
vote
0answers
21 views

How install and begin with Aspell [on hold]

I want to build a c++ program which uses Aspell to report spelling mistakes in a string. Does anybody have any kind of documentation of how to download (packages, files, etc.), install and link ...
1
vote
0answers
34 views

Cron script output not able to log in specified folder [on hold]

I have a Linux script and I want to test whether the implemented script is working or not. I have scheduled a Cron job but I am not getting any output in the log folder. I have tried checking whether ...
0
votes
0answers
12 views

Run a program whenever a modifier key is pressed/released

Is it possible to run a program whenever a modifier key - e.g. Control, Alt - is pressed/released, without writing a keylogger? I am talking about modifier keys alone, not keyboard shortcuts (like ...
1
vote
1answer
44 views

Optimize find -exec {} with multiple conditions : specific files in a dir and specific subdirectories in this dir

My problem is related to music encoding on my NAS and optimisation of linux find command. I have write a script that is totally functionnal but I am sure this not the best way. To summarize: 1/ ...
1
vote
0answers
14 views

removing spare from array using hpacucli

Whilst configuring a new array I have somehow accidentally added the same disk to 2 arrays: => ctrl all show config Smart Array P400 in Slot 1 (sn: PAFGK0P9SX036K) array A (SAS,...
2
votes
2answers
28 views

Systemd - how service can determine first run from restart run?

I would like to have a service which diffrent behave on first run and on restart of service. Is this possbile with systemd? (I use systemd in my embedded os). I tried with ExecReload and ExecStart, ...
-3
votes
0answers
27 views

Good Software center for linux? [on hold]

I need a good software center for linux that a I can install/update/remove apps from it I have used ubuntu software center and deepin.. this one https://www.sendspace.com/file/f1ihki is good also but ...
1
vote
1answer
33 views

pattern matching in vim

I have a file with following content: 635147+876+5597+1686+54=8643360 2415+382376+88324+81544+926+68619475+677+222852=69398589 80+21+4478882+8945092=13424075 62+9598=9660 16832904+537+51460155+6822+2+...
0
votes
2answers
21 views

Tracking traffic through a filtered intranet connection

I am performing a traceroute (I also tried a curl out of curiosity, that just stalls) on a publicly available website (so I know my computer should be able to and is allowed to reach it). However, ...
1
vote
1answer
24 views

Why tcpdump captures many packets with “(tcp-syn) != 0” but not with “tcp[tcpflags] & (tcp-syn) != 0”

I want to capture the initial handshake of a UDP connection between my computer and a VPN server. For that I'm using tcpdump but I don't understand why : tcpdump dst port 1194 and "tcp[tcpflags] &...
0
votes
0answers
35 views

Linux fails at creating a backup tar file

So I want to make a backup of git. I am using this script to do this (here:https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/raketasks/backup_restore.md). But creating the tar file always fails ...
-3
votes
0answers
25 views

Print lines in one file matching patterns in another file [duplicate]

There are some phone numbers in one file I need to grep information from other file using that numbers among larger set of numbers and their information and result should be placed in separate file ...
0
votes
0answers
12 views

Which OpenGL version AMDGPU driver has? [on hold]

Can anyone say, which OpenGL version is in latest AMDGPU opensource driver?
1
vote
0answers
12 views

vmlinuz <-> uImage

I would like to ask if I can make a regular kernel build with cross compiler (make uImage), and then move it into ubuntu machine (replacing vmlinuz in some way). This is can save me a lot of time, ...
-1
votes
0answers
11 views

How to enable animations in Debian?

I Just install debian and animations where smooth, but after sometime all the animation were gone. Is it disabled? i Can't seem to find any setting for animation. How do i enable it?
0
votes
0answers
10 views

Not able to discover new iSCSI targets I added

Initially I defined one target in targets.conf on my storage server and was able to discover and login to it on my client server. I logged out of this first target then defined a SECOND target on ...
1
vote
1answer
9 views

Arch Linux - Swapping /boot

I'm new to Arch and last night I was going through the Beginner's Guide and set up all the partitions, downloaded the required base and base-devel files and I thought everything was okay. However, I ...
1
vote
1answer
22 views

perl + uniq characters before variable

Please advise What is the meaning of the characters "%%" before the variable EOF ? $LINE =`tail -1 $FILE `; chomp($LINE); if ($LINE eq "%%EOF") { . . .
0
votes
0answers
11 views

Pam_tally2 onerr value

I Have gone through Pam_tally2 but didn't find enough on Google that what exactly onerr value of Pam_tally2 does? Description is in man page as below onerr=[fail|succeed] If something weird ...
3
votes
3answers
55 views

`sed` regexp error

I'm trying to write an alias to get the ip of a docker container. The command is the following: docker inspect redis | grep IPAddress | awk 'NR==3{ print $2 }' | sed 's/[^"]*"\([^"]*\)".*/\1/' If I ...
1
vote
2answers
38 views

Using “find” non-recursively?

Using /bin/find /root -name '*.csv' returns: /root/small_devices.csv /root/locating/located_201606291341.csv /root/locating/located_201606301411.csv /root/locating/g_cache.csv /root/locating/...
0
votes
3answers
23 views

How to allocate a process specific amount of CPU power? [duplicate]

I would like to allocate certain number of CPU cores to a specific process for performance improvement. How can I do this?
1
vote
0answers
22 views

Linux redirect target IP to other subnet

I have two Linux machines. Both of them have two adapters one frontend -> 172.17.62.x one backend -> 192.168.141.x I want to make sure that even though two applications are resolving each ...

15 30 50 per page