sshd version OpenSSH_4.3p2 Debian-8ubuntu1
read PEM private key done: type RSA
private host key: #0 type 1 RSA
read PEM private key done: type DSA
private host key: #1 type 2 DSA
rexec-argv[0]='/usr/sbin/sshd'
rexec-argv[1]='-d'
rexec-argv[2]='-p'
rexec-argv[3]='12345'
Bind to port 12345 on ::.
Server listening on :: port 12345
Bind to port 12345 on 0.0.0.0.
I'm getting that error message in XP when i try to access my server using UltraVNC (sorry should've explained better)
Okay .. So now it says '[ok]' instead of '[fail]' but when i try to access my server from my XP laptop it using the UltraVNC Viewer it still can't connect
Both PuTTy and UltraVNC aren't connecting. PuTTy says 'Network error: Connection refused' and UltraVNC says 'Failed to connect to server!'. I, like most, have an internet connection through a router and am wondering if the IP i'm entering is wrong. I enter in the only IP that the 'ifconfig' command gives me that PuTTy doesn't say 'IP doesn't exist' to (127.0.0.1).
Does this sound right?
Also, a little off topic but i noticed whenever i use terminal i have to log back in and select 'failsafe terminal' from the sessions where as in the tutorial the screen shots show terminal in a window on top of the Xubuntu desktop. Normal?
Originally Posted by yehoshua.number23 Also, a little off topic but i noticed whenever i use terminal i have to log back in and select 'failsafe terminal' from the sessions where as in the tutorial the screen shots show terminal in a window on top of the Xubuntu desktop. Normal?
its in like applications -> (first menu) -> terminal
Yes i realize where terminal is, but when I click on it the screen flicks black, some stuff comes up then I'm being taken back to the login screen and to use terminal i have to select failsafe terminal from the sessions otherwise it just logs me back in to the desktop with nothing.
When i do 'ifconfig' the only IP's it gives me are 'inet addr: 127.0.0.1', 'inet addr:169.254.8.207' and 'Bcast: 169.254.255.255' although there is a bit of the resultant 'ifconfig' that gets cut off at the top because the failsafe terminal window is too small and i can't seem to scroll up.
Ok so i tried with PuTTy again just now with the IP '169.254.8.207' and instead of the connection refused error i get a 'Connection timed out' error, better? Worse? More helpful? :?
Originally Posted by yehoshua.number23 Ok so i tried with PuTTy again just now with the IP '169.254.8.207' and instead of the connection refused error i get a 'Connection timed out' error, better? Worse? More helpful? :?
That sounds like a public IP address ?
is this computer in a DMZ zone, or do you not actually use a router ?
Originally Posted by Glider Can you copy/paste line 36 of the config (and some before and after?)
/**************************************************************************/
// YOUR DATABASE CONNECTION INFORMATION
/**************************************************************************/
// Check the adodb/drivers/ directory for support for your database
// you may choose from many (mysql is the default)
$cfg["db_type"] = "mysql"; // mysql, postgres7 view adodb/drivers/
$cfg["db_host"] = "localhost"; // DB host computer name or IP
$cfg["db_name"] = "torrentflux"; // Name of the Database
$cfg["db_user"] = "root"; // username for your MySQL database
$cfg["db_pass"] = "basher"; // password
for database
/**************************************************************************/
$cfg["db_pass"] = "basher"; // password
for database
Should be:
Code:
$cfg["db_pass"] = "basher"; // password for database
On one line ;)
When I kmake that change I received this error:
\
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/tf/config.php:1) in /var/www/tf/functions.php on line 27
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/tf/config.php:1) in /var/www/tf/functions.php on line 27
Warning: Cannot modify header information - headers already sent by (output started at /var/www/tf/config.php:1) in /var/www/tf/functions.php on line 113
here is my entire config.php file:
\<?php
/*************************************************************
* TorrentFlux PHP Torrent Manager
* www.torrentflux.com
**************************************************************/
/*
This file is part of TorrentFlux.
TorrentFlux is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
TorrentFlux is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with TorrentFlux; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**************************************************************************/
// YOUR DATABASE CONNECTION INFORMATION
/**************************************************************************/
// Check the adodb/drivers/ directory for support for your database
// you may choose from many (mysql is the default)
$cfg["db_type"] = "mysql"; // mysql, postgres7 view adodb/drivers/
$cfg["db_host"] = "localhost"; // DB host computer name or IP
$cfg["db_name"] = "torrentflux"; // Name of the Database
$cfg["db_user"] = "root"; // username for your MySQL database
$cfg["db_pass"] = "basher"; // password for database
/**************************************************************************/
/*****************************************************************************
TorrentFlux
Torrent (n.) A violent or rapid flow; a strong current; a flood;
as, a torrent vices; a torrent of eloquence.
Flux (n.) The act of flowing; a continuous moving on or passing by,
as of a flowing stream; constant succession; change.
*****************************************************************************/
// ***************************************************************************
// ***************************************************************************
// DO NOT Edit below this line unless you know what you're doing.
// ***************************************************************************
// ***************************************************************************
Originally Posted by completemadness That sounds like a public IP address ?
is this computer in a DMZ zone, or do you not actually use a router ?
No its not in a DMZ and yes I actually use a router :'(
Like i said in my previous reply, those are the only IPs i get given and the public is the only one that isn't refused. However, i think more information is being cutoff at the top in the failsafe terminal, as that's the only terminal that seems to work.
Comments 201 to 226 of 584
Can you post the output of:
(if it doesn't stop, just exit it with "<ctrl> + c" when it stops working.)
EDIT: for the VNC server, is X started, and are you trying to start it as a regular user (so not with sudo or after a "sudo su")?
read PEM private key done: type RSA
private host key: #0 type 1 RSA
read PEM private key done: type DSA
private host key: #1 type 2 DSA
rexec-argv[0]='/usr/sbin/sshd'
rexec-argv[1]='-d'
rexec-argv[2]='-p'
rexec-argv[3]='12345'
Bind to port 12345 on ::.
Server listening on :: port 12345
Bind to port 12345 on 0.0.0.0.
I'm getting that error message in XP when i try to access my server using UltraVNC (sorry should've explained better)
Try individually stopping and starting the server...
I'm starting to get the feeling there's something wrong with your init script.
if putty works, then you do "sharex11vnc" and ultravnc should work
Both PuTTy and UltraVNC aren't connecting. PuTTy says 'Network error: Connection refused' and UltraVNC says 'Failed to connect to server!'. I, like most, have an internet connection through a router and am wondering if the IP i'm entering is wrong. I enter in the only IP that the 'ifconfig' command gives me that PuTTy doesn't say 'IP doesn't exist' to (127.0.0.1).
Does this sound right?
Also, a little off topic but i noticed whenever i use terminal i have to log back in and select 'failsafe terminal' from the sessions where as in the tutorial the screen shots show terminal in a window on top of the Xubuntu desktop. Normal?
You however shouldn't be connecting to 127.0.0.1 from an other PC, because that is the localhost adress (so localhost on the other pc = the other pc).
do
That should give you the correct IP adress.
you dont need to relog to get the terminal ;)
When i do 'ifconfig' the only IP's it gives me are 'inet addr: 127.0.0.1', 'inet addr:169.254.8.207' and 'Bcast: 169.254.255.255' although there is a bit of the resultant 'ifconfig' that gets cut off at the top because the failsafe terminal window is too small and i can't seem to scroll up.
PARSE error: syntax error, unexpected T_STRING, expecting '(' in /var/www/tf/config.php on line 36
Please help
is this computer in a DMZ zone, or do you not actually use a router ?
/**************************************************************************/
// YOUR DATABASE CONNECTION INFORMATION
/**************************************************************************/
// Check the adodb/drivers/ directory for support for your database
// you may choose from many (mysql is the default)
$cfg["db_type"] = "mysql"; // mysql, postgres7 view adodb/drivers/
$cfg["db_host"] = "localhost"; // DB host computer name or IP
$cfg["db_name"] = "torrentflux"; // Name of the Database
$cfg["db_user"] = "root"; // username for your MySQL database
$cfg["db_pass"] = "basher"; // password
for database
/**************************************************************************/
Should be:
When I kmake that change I received this error:
\
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/tf/config.php:1) in /var/www/tf/functions.php on line 27
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/tf/config.php:1) in /var/www/tf/functions.php on line 27
Warning: Cannot modify header information - headers already sent by (output started at /var/www/tf/config.php:1) in /var/www/tf/functions.php on line 113
here is my entire config.php file:
\<?php
/*************************************************************
* TorrentFlux PHP Torrent Manager
* www.torrentflux.com
**************************************************************/
/*
This file is part of TorrentFlux.
TorrentFlux is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
TorrentFlux is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with TorrentFlux; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**************************************************************************/
// YOUR DATABASE CONNECTION INFORMATION
/**************************************************************************/
// Check the adodb/drivers/ directory for support for your database
// you may choose from many (mysql is the default)
$cfg["db_type"] = "mysql"; // mysql, postgres7 view adodb/drivers/
$cfg["db_host"] = "localhost"; // DB host computer name or IP
$cfg["db_name"] = "torrentflux"; // Name of the Database
$cfg["db_user"] = "root"; // username for your MySQL database
$cfg["db_pass"] = "basher"; // password for database
/**************************************************************************/
/*****************************************************************************
TorrentFlux
Torrent (n.) A violent or rapid flow; a strong current; a flood;
as, a torrent vices; a torrent of eloquence.
Flux (n.) The act of flowing; a continuous moving on or passing by,
as of a flowing stream; constant succession; change.
*****************************************************************************/
// ***************************************************************************
// ***************************************************************************
// DO NOT Edit below this line unless you know what you're doing.
// ***************************************************************************
// ***************************************************************************
$cfg["pagetitle"] = "TorrentFlux";
// TorrentFlux Version
$cfg["version"] = "2.3";
// CONSTANTS
$cfg["constants"] = array();
$cfg["constants"]["url_upload"] = "URL Upload";
$cfg["constants"]["reset_owner"] = "Reset Owner";
$cfg["constants"]["start_torrent"] = "Started Torrent";
$cfg["constants"]["queued_torrent"] = "Queued Torrent";
$cfg["constants"]["unqueued_torrent"] = "Removed from Queue";
$cfg["constants"]["QManager"] = "QManager";
$cfg["constants"]["access_denied"] = "ACCESS DENIED";
$cfg["constants"]["delete_torrent"] = "Delete Torrent";
$cfg["constants"]["fm_delete"] = "File Manager Delete";
$cfg["constants"]["fm_download"] = "File Download";
$cfg["constants"]["kill_torrent"] = "Kill Torrent";
$cfg["constants"]["file_upload"] = "File Upload";
$cfg["constants"]["error"] = "ERROR";
$cfg["constants"]["hit"] = "HIT";
$cfg["constants"]["update"] = "UPDATE";
$cfg["constants"]["admin"] = "ADMIN";
asort($cfg["constants"]);
// Add file extensions here that you will allow to be uploaded
$cfg["file_types_array"] = array("torrent");
// Capture username
$cfg["user"] = "";
// Capture ip
$cfg["ip"] = $_SERVER['REMOTE_ADDR'];
?>
Remove the \, now the file is sent as HTML instead of PHP ;)
Great worked like a champ. thanks for all of your help. this is a great article.
No its not in a DMZ and yes I actually use a router :'(
Like i said in my previous reply, those are the only IPs i get given and the public is the only one that isn't refused. However, i think more information is being cutoff at the top in the failsafe terminal, as that's the only terminal that seems to work.
Going with its down atm
So it seems...