Questions tagged as 'ubuntu'

1
answer

Imap works only on CLI

The PHP imap extension works only through the command line. When calling the script from another place the return is: PHP Fatal error: Uncaught Error: Call to undefined function imap_open() When running a simple script in the cli the f...
asked by 26.07.2018 / 01:06
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

Rename multiple files - ordinal in extenso

I need to rename multiple files obeying the following pattern: Evidence of Question # 1 - First Part; Evidence of Question # 1 - Part Two; Evidence of Question 1 - Third Party; ... ... ... Evidence of Question # 1 - i-th Part; How do I do...
asked by 28.06.2018 / 22:34
0
answers

postfix settings

Friends, I have two servers with the same ubuntu server. One is ubuntu server 17.04 and the other 14.04, the postfix worked the same way in both. Today 14.04 stopped working from nowhere! Just making it clear that I have a corparative email, so...
asked by 31.05.2018 / 19:19
1
answer

Equivalent to _kbhit () and _getch () in Ubuntu

People, In Windows I used to use the following code: int userQuit = 0; while (!userQuit) { cout << "Algo acontece...\n"; if (_kbhit()) { char key = _getch(); switch (key) { case 32: { cout...
asked by 29.05.2018 / 22:01
1
answer

MSSQL Query on Ubuntu 18.04 LTS stopped working

I have a program that has been running on Ubuntu-server 17 for some time. This system performs queries on a database server with MSSQL 2008. I did the installation of Ubuntu 18.04 LTS, and did not change any of the code. However, the query is no...
asked by 24.05.2018 / 17:31
0
answers

How can I call a program.py on a server within another local program.py?

I have interacted with a server within a program that I am doing using the os.system () function as if it were using the console itself. os.system("ssh [email protected] 'comando a ser realizado'") For everything I had done before (create...
asked by 14.05.2018 / 22:20
1
answer

MongoDB Extension for PHP 7.2.3 on Ubuntu 18.04

I've been running MongoDB along with PHP on Ubuntu Server 17 for some time. I recently installed a copy of Ubuntu Server 18.04 and did the same installation procedure. However, even including extension = mongodb.so in php.ini, it does not load i...
asked by 13.05.2018 / 16:15
1
answer

Error checking version of Apache Cordova

When I check the version of Apache Cordova in Ubuntu the message below appears. Error: EACCES: permission denied, open '/home/henrique/.config/configstore/insight-cordova.json' You don't have access to this file. How do I resolve?     
asked by 11.05.2018 / 00:10
0
answers

How to pass password by command (supervisor)?

I am executing a command on the supervisor, but in order to execute it, I need access to a file. To access this file I must be logged in the user autossh . But sometimes the ubuntu asks for the password and this can be a problem for me....
asked by 02.05.2018 / 17:02