FAQ Database Discussion Community

how to visualise hadoop interface installed in ubuntu server in a remote windows machine

I have installed hadoop in Ubuntu server ,and I want to visualise the hadoop interface in a windows machine using the browser. the two machines are in the same network. I've tried in the browser : @IP:8088 and @IP:9001 I know i'm missing something, i need your help . thank...

Wait until process in remote server finishes using Fabric

Setup I am using Fabric to kick off a process on a remote server. My local server executes a Python file that runs three functions in sequence: the 1st and 3rd in the local server and the 2nd in the remote server, as follows. local_file.py local_function_1() remote_function() local_function_2() The remote...

Run perl script on remote server

Is it possible to run perl script, which is located on a remote server, on that server from Windows? There is a job on a remote server that I want to get done every time I make something on Windows.

Executing PHP Script Remotely From Another Server [closed]

I have a PHP script on a server A that is executed by accessing the url domain.com/dir/script.php. I want to create a PHP script on server B that will execute that script on server A remotely. How do I do this?

ssh/login to a buildserver on the network and logout

I am trying to ssh into a buildserver on the network and run some commands and logout of the server,i have looked at other posts and written the following code but its not working?can anyone suggest what is wrong or is there a better way to accomplish this?thanks in advance...

Java remote interactions

I'm in internship, and my mission is to build a deployment program in Java. My approach was based on a "tasks to do for a deployment" model with dynamic instanciation (but this is not the point). Every task does something locally or on the remote server (sometimes both). For example,...

a 500 Internal Server Error error was encountered

I have just upload my local project(overwrite existing one that was working correctly) to remote server . my .htaccess looks like: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] <Files "index.php"> AcceptPathInfo On </Files> RewriteRule ^username http://www.google.com #^([a-zA-Z0-9_-]+)$ user/profile/USERNAME=$1 log error: SoftException in Application.cpp:256: File "/home/fewextra/public_html/index.php"...

curl php response 204 to download zip file

I need a download a file to remote server. But i can't do it with curl in php. The code is: $ch = curl_init($source); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_BUFFERSIZE, 8096); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); var_dump(curl_exec($ch)); print_r(curl_getinfo($ch)); die; The result is: string(0) "" Array ( [url] => http://example.com/example.zip [content_type]...

Connect to MySQL Database on Local Network

I actually thought I could do this until I tried. I installed MySQL server on one PC in the Local network IP Address ( and now I am trying to access it from another PC in the same network ( but I am unable: C:\Users\DOMICO>mysql -u domico -h -p...

Locating the data directory for postgresql on mac

If I run the following command in a postgresql that I connect to remotely: SHOW data_directory; it tells me /var/lib/pgsql/9.3/data If I copy a table from this remotely connected psql to a file and try to save it on my computer I would run this: \copy table to 'fileFromTable.csv' csv;...

Run jar file in remote computer

I need to run some jar file in another machine in LAN. java -jar start.jar How to run a jar file on remote computer? Thx!...

ssh dynamically from script from any server

Ok, I have been searching for few hours and cannot seem to find the solution. I have a file on a remote server to which one of the local users on that server has write access. I have the credentials. The requirement is: The shell/perl script should automatically login to...

PostgreSQL export result as CSV from remote server

I have read all other solutions and none adapts to my needs, I do not use Java, I do not have super user rights and I do not have API's installed in my server. I have select rights on a remote PostgreSQL server and I want to run a query...

Invoke a python script on a remote server and poll the status

I'm looking for a best way to invoke a python script on a remote server and poll the status and fetch the output. It is preferable for me to have this implementation also in python. The python script takes a very long time to execute and I want to poll...

PsExec to run batch file in remote computer

I use this code C++ builder to execute batch file in remote computer String PsExec = ExtractFilePath(Application->ExeName) + "PSTools\\PsExec.exe"; String lcParam = " \\"+gl_HostName+" cmd /c "+TDirectory::GetParent(rootPath)+"\\...\\File1.bat "+IntToStr(8988) ; SHELLEXECUTEINFO ShExecInfo = {0}; ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO); ShExecInfo.hwnd = NULL; ShExecInfo.lpVerb = NULL; ShExecInfo.lpFile = PsExec.c_str(); ShExecInfo.lpParameters = lcParam.c_str(); ShExecInfo.lpDirectory =...

Noninteractive Remote Commands with Powershell

I am developing a script which uses ssh to connect to a windows host, run a powershell command, and parse the output. While I can connect to the host and run the command, powershell will not exit and return control back to the local script until I press the enter...