0
votes
0answers
2 views

Customizing Nagios to send http notifications

I am new to Nagios and can't find any help on customizing Nagios to send HTTP notifications. Is it possible in Nagios and if yes then how? Actually I am trying to monitor my Openstack service and ...
2
votes
0answers
12 views

Linux freezes randomly

I have an Acer Aspire ES1-311 Intel Pentium N3540 Quad Core 8GB 500GB 13.3 Laptop ever since I installed fedora 23 it keeps freezing randomly even sometimes during installation...........but I noticed ...
0
votes
0answers
3 views

Linux vm.vfs_cache_pressure

I understand Linux vm.vfs_cache_pressure is only by adjusting the allocation of dentry and inode cache of slab memory, there is no relation to the release of the page cache ( buffer cache of file ...
1
vote
3answers
21 views

Is giving all permissions to www-data group a good idea?

I constantly have problems with read & write & execute permissions by Apache/me. There is a user "konrad" (it's me) in "konrad" group, and there is a user "www-data" in "www-data" group used ...
0
votes
0answers
10 views

How to install dependencies related to mathematical functions: pow, sqrt, floor ?

I have downloaded extreme tux racer as a .tar.xz on sourceforge. I performed tar xJF on the file, a directory was created, I entered it and there I performed ./configure. A list of Dependencies was ...
0
votes
1answer
5 views

What is the equivalent of mkinitcpio.conf on debian?

I want to review that the hooks used to build the initrd.img are correct in my debian but I fail to find the /etc/mkinitcpio.conf file like the one in Archlinux, what is the equivalent of this file in ...
0
votes
3answers
22 views

Remove any occurrence of '-' from a field in shell script

below is my csv file,I want to remove all occurrences of -- from retailer_id field and create new csv. Kindly help... ...
0
votes
0answers
10 views

Compiling: Scons can't find libav

The compiler errors I keep getting are: error: ‘CODEC_ID_HUFFYUV’ undeclared (first use in this function) if (!codec) codec = avcodec_find_encoder(CODEC_ID_HUFFYUV); ...
1
vote
0answers
11 views

FreeBSD: How to change Squid service UID?

Strangely enough, it appears that Squid cannot start if the squid user is not affected to the UID 100. When trying to use another PID, the service systematically fails to start with the following ...
2
votes
2answers
11 views

vim: Force specific syntax via command-line argument

When I want to easily read my PostgreSQL schema, I dump it to stderr and redirect it to vim: pg_dump -h localhost -U postgres dog_food --schema-only | vim - This gives: vim does not have a ...
1
vote
0answers
9 views

Is there a FreeDesktop command to open an open-with dialog similar to xdg-open?

is there a (FreeDesktop) Linux command to open an "open-with" dialog similar to xdg-open? I'm searching for some general desktop environment independent solution for showing something like this: ...
0
votes
1answer
15 views

Previous System Statistics From Sar

I did see the post here: How do I get sar to show for the previous day? But it doesn't answer my questions below. I am trying to use sar to look at the statistics from yesterday (March 9th): $ sar ...
0
votes
1answer
16 views

Editing the variable PATH

I want to start script just by typing script not the full path of the script for example ~/Desktop/name/script so i tried to edit variable PATH PATH="$PATH:~/Desktop/name" in the name folder i have ...
1
vote
1answer
12 views

Cannot compile a linux kernel for an ARM board

I am trying to compile a linux kernel (2.6.32.70) for an ARM board (versatilepb), it is my first steps in embedded linux. At the end of the compilation, two compressed kernel images are generated ...
4
votes
1answer
14 views

I am stuck connecting to the internet via a usb wifi stick

I am trying to set up a an internet connection through a usb wifi sticker in Linux. Here's the sequence I tried: iw dev This returns the name(?) of the Interface that I want to connect to: phy#0 ...
0
votes
0answers
11 views

Multiple Ubuntu Server Backups

I am soon to be dealing with multiple Ubuntu 14.04 Server Installations, none of which I will have physical access to. Some will be Digital Ocean Droplets, and some Mini-Server builds. I will have ...
0
votes
1answer
17 views

Can not build own container

How to build redhat 7.1 container ? I used, FROM redhat:7.1 yum install httpd and, below error I have to face. Sending build context to Docker daemon 2.56 kB Step 0 : FROM redhat:7 Trying to ...
0
votes
1answer
17 views

install arm gcc on Wheezy

I'm trying to build an application for Debian 8 on ARM arch on a virtualmachine running Debian 7 using cross-compiler. But when I try to run sudo apt-get install gcc-arm-linux-gnueabihf I get an ...
0
votes
0answers
6 views

How can I get the recoll package to index markdown (.md) files?

From what I understand markdown is pretty similar to text and html, which are all indexed by the recoll search engine. However my markdown files with extension .md are not being indexed. I have ...
0
votes
0answers
13 views

how to download a private google spreadsheet from linux command-line?

I have a Google Sheets spreadsheet associated to a Google account, which is private and cannot be made public. I would like to know how to download a private google spreadsheet from the command-line ...
1
vote
0answers
10 views

I2C Read unexplained data [on hold]

I am trying to communicate with a PHY device using I2C primitives (read()/write()) in C language in user space. And i am getting some unexplained output in my program. First, the bus number is 2 and ...
0
votes
0answers
8 views

how to use libreoffice --headless export more than one png image from ppt or pptx

I use libreoffice export images, command like: $ libreoffice --headless --convert-to png ./ /tmp/example.ppt but this command only export one page, is first page image, how can export few image or ...
0
votes
1answer
10 views

Changing the Facility of outgoing syslog message using rsyslog configuration

I need to change the facility of the syslog message going out to a remote syslog server. I am using rsyslog in my system. I am using the following configuration to forward logs to another syslog ...
0
votes
2answers
29 views

Running JAVA in Cygwin through bash script

I've been encountering a problem with cygwin where I cannot run a jar file with an error that the file cannot be found. If it were easier i would "translate" the java source in bash, but ...
-2
votes
0answers
27 views

What will sed 's/it/this/1' p.txt will do in below example [on hold]

cat p.txt cause i am only a crack in this castle of glass. hardly anything there for you to see. it is one of my favourite song. listen it & you would love it. sed 's/it/this/2' ...
0
votes
0answers
4 views

What does “mediaid” do in yum repo definition?

I'm performing an offline upgrade of rhel 6.5 to 6.7 using downloaded iso. https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Deployment_Guide/s1-yum-upgrade-system.html ...
0
votes
2answers
11 views

left+up+space keys not working on thinkpad x201

When using the keyboard on my thinkpad x201, I cannot press left, up and space at the same time. That is, when I start pressing the keys one after the other, the third one will be ignored. I verified ...
2
votes
4answers
145 views

Is there a distribution that supports rolling back updated packages?

Is there a tool or even an entire distribution that supports rolling-back changed packages after an update? As an example: I upgraded packages A, B and C. After working with those packages for ...
0
votes
1answer
21 views

command line in su - and background

I am writing a simple unix script to automate reading of a log file. The following does not give any output to the terminal. It just asks for the password for buser and then it just hangs. I ...
2
votes
0answers
14 views

How to get a coredump from `abrt`

I'm running Fedora 23, and just recently discovered that abrt handles the coredumps from my crashed application, and places all kind of stuff in /var/spool/abrt/ccpp-date-pid. Is there a command to ...
-2
votes
0answers
13 views

Kernel panic - not syncing: attempted to kill init! Exitcode=0x00007f00 [on hold]

I am using centos 7 and today while switching on my machine it started updating and soon after some time it got stuck and when I rebooted the system shows the error, Kernel panic - not syncing: ...
1
vote
1answer
9 views

nginx won't restart

I am running Plesk on Debian Since i installed Plesk almost 6 months ago every time i restarted the server nginx would fail to start on boot and i would have to go and manually restart it. Now today i ...
0
votes
2answers
31 views

Compare the data in two files

I have a file File1 with data as aaa bbb And another file File2 with data as: 2,aaa,234 w,bbb,589 4,ccc,675 I need to compare the File1 data with column2 data of File2 and print the matching ...
1
vote
1answer
11 views

After reboot host goes into maintenance mode as I've the remote filesystems on LVM stack created over iSCSI LUNs - RHEL 7.x

On RHEL 7.x I observe that the remote filesystems (SAN) does not allow host to come up after reboot. It enters maintenance mode and I've to comment out the entries in /etc/fstab to bring the host up ...
4
votes
7answers
207 views

Clipboard for copying and pasting files in command line?

In Bash, suppose I visit a directory, and then another directory. I would like to copy a file from the first directory to the second directory, but without specifying the long pathnames of them. Is it ...
0
votes
1answer
14 views

apache configuration problems, last vhost loaded becomes wildcard domain

I have 2 virtual hosts loaded from 2 separate conf files in /etc/httpd/conf.d/ when I point my browser to vhost1.test.com it loads the proper index.html as does vhost2.test.com. However the web server ...
0
votes
1answer
11 views

vmstat -s command fields meaning, specially “pages paged in” vs “pages swapped in”

Most of the fields are understandable but can someone please explain me the difference between "pages paged in" and "pages swapped in"?. I'm pretty sure that swapping is when the entire process is ...
0
votes
0answers
4 views

dual monitor support on a non-GNOME system

I have Ubuntu-14.04 with x11 drivers and lightweight WM installed on my laptop Toshiba Satellite Z930. I also have an external monitor connected to the laptop via HDMI interface. Currently, the ...
1
vote
2answers
65 views

Where is `exit` defined?

Suppose I want a bash command to do something extra. As a simple example, imagine I just want it to echo "123" before running. One simply way to do this would be to alias the command. Since we ...
0
votes
1answer
18 views

Removing ISO 9660 from USB using Terminal

I received a USB flash drive that contains a pre-installed ISO 9660 (Joliet) image on it. To delete the image and free up space on the drive, I attempted to use sudo rm -rf /Volumes/ISONAME via a ...
0
votes
0answers
2 views

Fcitx “Extra key for trigger input method” changes back to default after restart

Using Ubuntu 15.11. Configuring input using the 'Input Method Configuration' screen. Whenever I change "Extra key for trigger input method" it works for only that session. Once I restart the computer ...
0
votes
1answer
17 views

How to redirect file output to a different directory?

I have a program that regularly outputs files to a directory, let's say /a/b. I am utterly unable to change where these files are outputted. But for me to use them, I must first move them to, let's ...
0
votes
1answer
11 views

ip tables by route command and iptables's table by iptables command, is the same?

There are two command : route, and iptables. Both of it have a/many tables: route tables and iptables's table. Does those two kind of tables describe the diffrent thing, or iptables can also be ...
0
votes
3answers
42 views

Awk command is not working properly

I have a very simple problem, but for reasons it does not work properly.. I have these .txt files in the following format 2 250 1 4 250 1 5 250 1 I wanted to subtract 1 from the ...
0
votes
0answers
18 views

Can't check OS distribution on godaddy server

I´m making an article on how to check OS distributions so i´m testing commands in 2 servers which I got access. My test VPS is displaying OS release withcat /etc/lsb-release and cat /etc/os-release. ...
0
votes
1answer
12 views

Connect VM from Internet

I'm new to Linux and I have created a RedHat6 VM using Oracle VirtualBox. For testing purpose, I have set it up so that I can connect to it from my local/host Windows machine (and those of my friends ...
0
votes
1answer
13 views

Block cursor for Eclipse

Can you configure the cursor in Eclipse to be a (possibly non-blinking) block, instead of a (blinking) bar? I am running Xfce 4.10.
0
votes
0answers
3 views

Bad sound quallty with Conexant CX20751/2

I have a Lenovo G50-80 with a sound card detected as Conexant CX20751/2 The sound under linux (Debian based) is very bad, with something like a metallic sound. I'm using this config at ...
2
votes
1answer
39 views

VAR=`cat file` and then repeating echo “$VAR” is slower than repeating cat file. Why?

There are about 10.000 files in files/ and 10.000 lines in metadata.csv. Where metadata.csv contains information about the files. I have a shell script which prints information about each file and ...
0
votes
0answers
16 views

How to launch a command on external machine on Windows Cygwin [duplicate]

Suppose, we have 2 local machines: Linux and Windows with Cygwin. We have an external server, that exists in ~/.ssh/config file on both machines: Host beta HostName <server IP> User ...

15 30 50 per page