Questions tagged as 'linux'

0
answers

docker in cygwin - error: can not execute binary file: Exec format error

Hello, good evening, my friends, I'm breaking my head here and still can not find the real problem. As far as I know this error occurs when the binary was compiled to another platform, but from what I understand, the binary is for the plat...
asked by 18.08.2018 / 23:34
0
answers

JQ - Read multiple arrays with bash

Edit: I was looking for other methods to treat Json and I ended up with [x["_source"]["'$1'"] for x in obj["hits"]["hits"]]: - I was curious and I was testing ... It worked beauty adding jq '.files['$X'].projectID' Good. I'm dev...
asked by 20.08.2018 / 22:52
0
answers

Problems with setuid

I am developing a program that changes the uid of my process to 0 allowing me to start other programs as root. mysu.c #include <stdio.h> #include <unistd.h> int main(int argc, char **args) { int myuid = getuid(); if (setui...
asked by 12.08.2018 / 17:12
2
answers

How to use this script for a list of servers? - Python

Good afternoon, guys. I am using this code to update some servers here in my company, via ssh: link on line 11, we have: self.ssh.connect(hostname='ip_do_servidor',username='Administrator',password='senha_servidor') and o...
asked by 06.08.2018 / 21:48
1
answer

How to reinstall Mysql Workbench in Ubuntu 16.04?

Recently I updated Ubuntu from 14.04 to 16.04 and after the update, which did not show any errors, the Mysql-Workbench application that was installed disappeared and even after trying to update the command has the following output. Command:...
asked by 13.08.2018 / 19:41
0
answers

Problem with Headers in CodeBlocks

I'm using CodeBlocks and testing some applications to use on FriendlyARM Mini 210s #include "linux/fs.h" #include "linux/cdev.h" #include "linux/module.h" #include "linux/kernel.h" #include "linux/device.h" #include "asm/uaccess.h" #include "a...
asked by 09.08.2018 / 16:56
0
answers

Error: /sbin/mount.davfs: mounting failed; the server does not support WebDAV

I'm trying to make a WebDAV assembly from a ownCloud file server (Version 10) on a virtual machine (Debian 9.4) running only in text mode, but when executing the mount command an error occurs and the following message appears error:/sbin/mou...
asked by 18.07.2018 / 16:41
0
answers

How to isolate an "environment" in Ubuntu?

I have the following problem: I work in a place where we use a very specific image editing program that only works on Ubuntu 14.04 (the program is called Register ). From time to time, the program stops working partially on some computer, fo...
asked by 03.07.2018 / 00:34
0
answers

PHP / Linux - PostFix Errors (IMPORTANT)

I would like to know why I get this error. I can not send email via smtp gmail. Jun 29 22:08:25 vps000 postfix/error[9730]: C8558400EE: to=<[email protected]>, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=4.7.14, status=deferred (del...
asked by 29.06.2018 / 20:44
1
answer

Doubts on installing php7.0 on Debian 8

I'm glad I am installing php7 on linux server, debian8 and wanted to know where I get the listing of all php packages that exist, I know some but wanted to know if it has where I see all that are used for example in a windows xampp installation....
asked by 30.06.2018 / 16:51