Questions tagged as 'linux'

1
answer

version GLIBCXX_3.4.21 not found

When I try to install the program (./Rack.sh), I get this error: ./Rack: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version 'GLIBCXX_3.4.21' not found (required by ./Rack) ./Rack: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version 'GLIBCXX_3.4...
asked by 26.11.2017 / 22:12
1
answer

I can not create a foreign key in MariaDB

This is what I write: alter table T_reserva add constraint pk_codHotel foreign key (codHotel) references T_hotel(codHotel); This is the T_hotel.codHotel table: +----------------+--------------+------+-----+---------+------...
asked by 19.11.2017 / 03:24
0
answers

Error in mongodb connection refused?

Good friends stackoverflow friends, I have an error when trying to run mongo db by means of the command "mongo" my operating system is manjaroos and here is the error that happens to me when executing it MongoDB shell version v3.4.9 connecting...
asked by 25.10.2017 / 22:39
1
answer

Problems with rastaberry crontab

Hi, I have the following sh called rest.sh (it seeks to kill a program called actu that compiles in c and then rerun it). When I try the script it works correctly, kill the process and run it again. #!/bin/bash kill actu actu...
asked by 24.10.2017 / 03:51
1
answer

Limit permissions again from a folder

I have my PHP in the following path: OPT / LAMPP / HTDOCS / PAGE WEB ... For the language to allow me to create documents with a function called FOPEN I had to give total permissions to the LAMPP folder, with the following code: sudo chmod -R...
asked by 30.10.2017 / 20:45
1
answer

how to reinstall xampp in ubuntu?

Sorry for the inconvenience again, do you know how I can crush the xampp that I currently have in ubuntu with a new one? Let's say reinstall but crushing the one I already have now. Is that an error has occurred that I can not correct because of...
asked by 31.10.2017 / 00:09
0
answers

Call a program in Erlang from C

Good morning, My doubt is that if someone knows how to execute a program in Erlang from a program in C, besides passing from C a parameter to a function in that program. I'm working in Linux environment. Regarding what I searched for and w...
asked by 20.10.2017 / 00:02
1
answer

Redirect log lines to a file, without keeping them in the main log

I have configured in RSYSLOG, a rule so that the lines of the Fw (which are already tagged), are redirected to a specific file, so that:   : msg, startswith, "MyFirewall" - / milog / firewall.log & stop      : msg, regex, "^ [[0-9] . [0...
asked by 13.10.2017 / 11:54
0
answers

Semaphores and shared resources

I have a project that consists in creating different processes which must interact with shared resources and control them by means of traffic lights. I do not have much idea of how to face it, any recommendations to read or practical examples...
asked by 11.10.2017 / 03:50
0
answers

Valgrind errors in compilation and execution

When I run a program with the valgreend I get the following: ==6153== Invalid read of size 4 ==6153== at 0x401620: estado::n_transiciones() (estadoNFA.cpp:31) ==6153== by 0x401C82: nfa::mostrar(std::ostream&) (NFA.cpp:96) ==6153==...
asked by 18.10.2017 / 02:49