Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
SMS AND NFS SERVER Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
View previous topic :: View next topic  
Author Message
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Sat Oct 31, 2009 1:08 am    Post subject: Reply with quote

hmm i wanted to configured rtorrent manually but i cannot see the config file anyware

do i need to add user to create config file in home ?

also rtorrent not starting with server, i need to start it manually but i have it in rc.local
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sat Oct 31, 2009 6:54 am    Post subject: Reply with quote

rtorrent runs as user administrator, with /home/administrator/.rtorrent.rc and handles /home/administrator/.wtorrent_users file
user: admin
pass: admin
Default download directory /var/smb/samba
but you can change those the first time you access http://sms:81/install.php or any time unless you delete it (install.php).
Check if rtorrent is running 'ps aux | grep rtorrent'
Rtorrent starts with /etc/rc.d/rc.rtorrent which starts and stops lighttpd also.
When you access http://server:81 do you get an error after login?

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Sat Oct 31, 2009 11:20 am    Post subject: Reply with quote

everything works fine, rtorrent works ok and seems to starting ok but i cannot find his files (i wanted to turn on watch directory and others)

my home/administrator is empty

also rc.vncserver is not working from rc.local, i need to start it like this

/./etc/rc.d/rc.vncserver start

from console everytime i get reboot system

i can provide you my files just tell which are interesting for you
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sat Oct 31, 2009 3:13 pm    Post subject: Reply with quote

Filenames and folders starting with a dot (.) in unix they are hidden files.
Just do a 'ls -lsa /home/administrator/' from bash and you will see them or enable hidden files on konqueror.

Do you get an error? look at the logs under /root/.vnc/

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Sat Oct 31, 2009 4:15 pm    Post subject: Reply with quote

sorry for spaming Smile

Couldn't open RGB_DB '/usr/share/X11/rgb'
31/10/09 09:13:34 Xvnc version TightVNC-1.3.10
31/10/09 09:13:34 Copyright (C) 2000-2009 TightVNC Group
31/10/09 09:13:34 Copyright (C) 1999 AT&T Laboratories Cambridge
31/10/09 09:13:34 All Rights Reserved.
31/10/09 09:13:34 See http://www.tightvnc.com/ for information on TightVNC
31/10/09 09:13:34 Desktop name 'X' (mediaserver:1)
31/10/09 09:13:34 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
31/10/09 09:13:34 Listening for VNC connections on TCP port 5901
31/10/09 09:13:35 Listening for HTTP connections on TCP port 5801
31/10/09 09:13:35 URL http://mediaserver:5801
sh: /usr/bin/cpp: No such file or directory
xset: bad font path element (#37), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
startkde: Starting up...
kbuildsycoca running...

31/10/09 09:13:48 Got connection from client 192.168.1.3
31/10/09 09:13:48 Using protocol version 3.8
31/10/09 09:13:48 Enabling TightVNC protocol extensions
Xlib: extension "Generic Event Extension" missing on display ":1.0".
31/10/09 09:13:52 Full-control authentication passed by 192.168.1.3
31/10/09 09:13:52 Pixel format for client 192.168.1.3:
31/10/09 09:13:52 32 bpp, depth 24, little endian
31/10/09 09:13:52 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
31/10/09 09:13:52 no translation needed
31/10/09 09:13:52 Using tight encoding for client 192.168.1.3
31/10/09 09:13:52 rfbProcessClientNormalMessage: ignoring unknown encoding 8
31/10/09 09:13:52 Enabling X-style cursor updates for client 192.168.1.3
31/10/09 09:13:52 Enabling cursor position updates for client 192.168.1.3
31/10/09 09:13:52 Using image quality level 6 for client 192.168.1.3
31/10/09 09:13:52 Enabling LastRect protocol extension for client 192.168.1.3
31/10/09 09:13:52 rfbProcessClientNormalMessage: ignoring unknown encoding -223
Xlib: extension "Generic Event Extension" missing on display ":1.0".
Xlib: extension "Generic Event Extension" missing on display ":1.0".
Xlib: extension "XFree86-Misc" missing on display ":1.0".
server does not have extension for "r rate" option
sh: /usr/bin/cpp: No such file or directory
artsd: error while loading shared libraries: libesd.so.0: cannot open shared object file: No such file or directory
kaccess: ERROR: X server has not matching XKB extension
DCOP aborting call from 'anonymous-5723' to 'kaccess'
ERROR: Communication problem with kaccess, it probably crashed.
Server has no DPMS extension
Could not open library '/usr/lib/kde3/knotify.la'.
libesd.so.0: cannot open shared object file: No such file or directory
Xlib: extension "Generic Event Extension" missing on display ":1.0".
Could not open library '/usr/lib/kde3/knotify.la'.
libesd.so.0: cannot open shared object file: No such file or directory
31/10/09 09:17:02 Client 192.168.1.3 gone
31/10/09 09:17:02 Statistics:
31/10/09 09:17:02 key events received 108, pointer events 1079
31/10/09 09:17:02 framebuffer updates 472, rectangles 6107, bytes 1354169
31/10/09 09:17:02 LastRect markers 238, bytes 2856
31/10/09 09:17:02 cursor shape updates 25, bytes 5314
31/10/09 09:17:02 cursor position updates 1, bytes 12
31/10/09 09:17:02 copyRect rectangles 413, bytes 6608
31/10/09 09:17:02 tight rectangles 5430, bytes 1339379
31/10/09 09:17:02 raw bytes equivalent 46736912, compression ratio 34.894464

31/10/09 09:23:03 Got connection from client 192.168.1.20
31/10/09 09:23:03 Using protocol version 3.8
31/10/09 09:23:03 Enabling TightVNC protocol extensions
31/10/09 09:23:07 Full-control authentication passed by 192.168.1.20
31/10/09 09:23:07 Pixel format for client 192.168.1.20:
31/10/09 09:23:07 32 bpp, depth 24, little endian
31/10/09 09:23:07 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
31/10/09 09:23:07 no translation needed
31/10/09 09:23:07 Using tight encoding for client 192.168.1.20
31/10/09 09:23:07 rfbProcessClientNormalMessage: ignoring unknown encoding 8
31/10/09 09:23:07 Enabling X-style cursor updates for client 192.168.1.20
31/10/09 09:23:07 Enabling cursor position updates for client 192.168.1.20
31/10/09 09:23:07 Using image quality level 6 for client 192.168.1.20
31/10/09 09:23:07 Enabling LastRect protocol extension for client 192.168.1.20
31/10/09 09:23:07 rfbProcessClientNormalMessage: ignoring unknown encoding -223
31/10/09 10:14:10 Client 192.168.1.20 gone
31/10/09 10:14:10 Statistics:
31/10/09 10:14:10 key events received 91, pointer events 1744
31/10/09 10:14:10 framebuffer updates 344, rectangles 9371, bytes 580882
31/10/09 10:14:10 LastRect markers 120, bytes 1440
31/10/09 10:14:10 cursor shape updates 100, bytes 21448
31/10/09 10:14:10 cursor position updates 1, bytes 12
31/10/09 10:14:10 copyRect rectangles 24, bytes 384
31/10/09 10:14:10 tight rectangles 9126, bytes 557598
31/10/09 10:14:10 raw bytes equivalent 15413044, compression ratio 27.641857

31/10/09 10:31:48 Got connection from client 203.115.119.178
31/10/09 10:31:48 rfbProcessClientProtocolVersion: client gone
31/10/09 10:31:48 Client 203.115.119.178 gone
31/10/09 10:31:48 Statistics:
31/10/09 10:31:48 framebuffer updates 0, rectangles 0, bytes 0

31/10/09 10:31:48 Got connection from client 203.115.119.178
31/10/09 10:31:48 Using protocol version 3.8
31/10/09 10:31:48 rfbProcessClientSecurityType: wrong security type requested
31/10/09 10:31:48 Client 203.115.119.178 gone
31/10/09 10:31:48 Statistics:
31/10/09 10:31:48 framebuffer updates 0, rectangles 0, bytes 0

31/10/09 10:31:54 Got connection from client 203.115.119.178
31/10/09 10:31:54 Non-standard protocol version 3.5, using 3.3 instead
31/10/09 10:31:54 rfbVncAuthProcessResponse: authentication failed from 203.115.119.178
31/10/09 10:31:54 Client 203.115.119.178 gone
31/10/09 10:31:54 Statistics:
31/10/09 10:31:54 framebuffer updates 0, rectangles 0, bytes 0

31/10/09 10:32:00 Got connection from client 203.115.119.178
31/10/09 10:32:00 Non-standard protocol version 3.5, using 3.3 instead
31/10/09 10:32:00 rfbVncAuthProcessResponse: authentication failed from 203.115.119.178
31/10/09 10:32:00 Client 203.115.119.178 gone
31/10/09 10:32:00 Statistics:
31/10/09 10:32:00 framebuffer updates 0, rectangles 0, bytes 0

31/10/09 10:32:06 Got connection from client 203.115.119.178
31/10/09 10:32:06 Non-standard protocol version 3.5, using 3.3 instead
31/10/09 10:32:07 rfbVncAuthProcessResponse: authentication failed from 203.115.119.178
31/10/09 10:32:07 Client 203.115.119.178 gone
31/10/09 10:32:07 Statistics:
31/10/09 10:32:07 framebuffer updates 0, rectangles 0, bytes 0

31/10/09 10:32:12 Got connection from client 203.115.119.178
31/10/09 10:32:12 Non-standard protocol version 3.5, using 3.3 instead
31/10/09 10:32:13 rfbVncAuthProcessResponse: authentication failed from 203.115.119.178
31/10/09 10:32:13 Client 203.115.119.178 gone
31/10/09 10:32:13 Statistics:
31/10/09 10:32:13 framebuffer updates 0, rectangles 0, bytes 0

31/10/09 10:32:18 Got connection from client 203.115.119.178
31/10/09 10:32:19 Non-standard protocol version 3.5, using 3.3 instead
31/10/09 10:32:19 rfbVncAuthProcessResponse: authentication failed from 203.115.119.178
31/10/09 10:32:19 Client 203.115.119.178 gone
31/10/09 10:32:19 Statistics:
31/10/09 10:32:19 framebuffer updates 0, rectangles 0, bytes 0

31/10/09 10:32:24 Got connection from client 203.115.119.178
31/10/09 10:32:25 Non-standard protocol version 3.5, using 3.3 instead
31/10/09 10:32:25 Too many authentication failures - client rejected
31/10/09 10:32:25 Client 203.115.119.178 gone
31/10/09 10:32:25 Statistics:
31/10/09 10:32:25 framebuffer updates 0, rectangles 0, bytes 0

31/10/09 10:32:27 Got connection from client 203.115.119.178
31/10/09 10:32:28 Non-standard protocol version 3.5, using 3.3 instead
31/10/09 10:32:28 Too many authentication failures - client rejected
31/10/09 10:32:28 Client 203.115.119.178 gone
31/10/09 10:32:28 Statistics:
31/10/09 10:32:28 framebuffer updates 0, rectangles 0, bytes 0

31/10/09 13:41:31 Got connection from client 192.168.1.20
31/10/09 13:41:31 Using protocol version 3.8
31/10/09 13:41:31 Enabling TightVNC protocol extensions
31/10/09 13:41:34 Full-control authentication passed by 192.168.1.20
31/10/09 13:41:34 Pixel format for client 192.168.1.20:
31/10/09 13:41:34 32 bpp, depth 24, little endian
31/10/09 13:41:34 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
31/10/09 13:41:34 no translation needed
31/10/09 13:41:34 Using tight encoding for client 192.168.1.20
31/10/09 13:41:34 rfbProcessClientNormalMessage: ignoring unknown encoding 8
31/10/09 13:41:34 Enabling X-style cursor updates for client 192.168.1.20
31/10/09 13:41:34 Enabling cursor position updates for client 192.168.1.20
31/10/09 13:41:34 Using image quality level 6 for client 192.168.1.20
31/10/09 13:41:34 Enabling LastRect protocol extension for client 192.168.1.20
31/10/09 13:41:34 rfbProcessClientNormalMessage: ignoring unknown encoding -223
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sat Oct 31, 2009 4:49 pm    Post subject: Reply with quote

Install gcc-4.3.3 from devel series or extract 'cpp' from package to /usr/bin/.
and post the results.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Sat Oct 31, 2009 5:04 pm    Post subject: Reply with quote

where is this config file from rtorrent ?
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sat Oct 31, 2009 5:19 pm    Post subject: Reply with quote

Code:
root@sms:~# ls -la /home/administrator/
-rw-r--r-x 1 administrator users 3678 2009-09-09 00:03 .rtorrent.rc*
drwxr-xr-x 2 administrator users   48 2009-09-08 23:15 .session/
-rw-r--r-- 1 administrator users   47 2009-09-08 23:15 .wtorrent_users


If you start rtorrent by yourself by typing 'rtorrent' then look at your home directory (/root/.rtorrent.rc)

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Sat Oct 31, 2009 7:32 pm    Post subject: Reply with quote

i dont have any *torrent* file or directory inside root, even with dot
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sat Oct 31, 2009 7:59 pm    Post subject: Reply with quote

By default SMS has the config under /home/administrator/ if you don't have them there, then I couldn't know where might have been.
Try search them with 'find / -name .rtorrent.rc'.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Mon Nov 02, 2009 11:57 pm    Post subject: Reply with quote

ok i must admit that this is beyond my knowledge and probably i will never understand that

after i manage problem with harddrive i discovered that i cannot longer connect to rtorrent

also still i need to run rtorrent and vnc from console because autostart from rc.local not working

can you post somewhere .rtorrent.rc ? i think i broke smth
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue Nov 03, 2009 7:16 am    Post subject: Reply with quote

Have you look that thread?
http://sms.it-ccs.com/forum/viewtopic.php?p=1247#1247
It was a similar error.
To get the .rtorrent.rc make a dir
'mkdir pkg'
'cd pkg'
mount the cdrom and extract the package
'tar -xJvf /mnt/cdrom/extra/packages/rtorrent+wtorrent/rtorrent-0.8.5-i486-1sms.txz'
You will have your configs under pkg/home/administrator.

Have you try '/etc/rc.d/rc.rtorrent restart' do you get any errors?
what the logs say about that, under /var/log/lighttpd/ (error, rtorrent)
if you just type 'rtorrent' as root does it worked?
The web interface it's something else, if the webgui not working try removing lighttpd, clean the htdocs directory and install the lighttpd package again and configure your wtorrent from install.php.

As for tightvnc check /var/log/syslog,messages for errors during boot, regarding vncservers.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Tue Nov 03, 2009 9:57 am    Post subject: Reply with quote

ok i need to start checking 1 by one everything

i will tell you step by step what i'm doing and config files

i start PC with rc.local like this :

./etc/rc.d/rc.bootsplash
/./etc/rc.d/rc.vncservers start
/./etc/rc.d/rc.rtorrent start

then i check mediaserver:81 and have "wtorrent cannot connect to rtorent"
but it shows wtorrent so lightpd is running

next i go to putty and change user to administrator
su administrator

then i run rtorrent with
rtorrent

it starts with few torrents so i try from web browser mediaserver:81 again and wtorrent see the rtorrent and those few torrents are on www as well as on putty

why it is not working from rc.local after reboot ?
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue Nov 03, 2009 4:32 pm    Post subject: Reply with quote

Replace the lines in that order without /. in front.
Code:
/etc/rc.d/rc.rtorrent start
/etc/rc.d/rc.vncservers start


After you boot and rtorrent is down issue a '/etc/rc.d/rc.rtorrent stop' and '/etc/rc.d/rc.rtorrent start ' and look for output errors.
It might need to remove the old pid of rtorrent.

Also look for errors regarding vncservers, one error might appear about user enviroment.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
miikew
Member


Joined: 28 Oct 2009
Posts: 77

PostPosted: Thu Nov 05, 2009 11:44 pm    Post subject: Reply with quote

ok i try everything but i cannot solve the problem

but in the end it is working properly after i launch it manually

now i need to add remote over inet feature

i enabled in ddclient

use=web
login=xxxx
password=yyyy

and in section dyndns dynamic i enabled and setuped
server=members.dyndns.org
protocol=dyndns2
mymediaservername.dyndns.org

is it enough ? in dyndns.org page i create account xxxx pass=yyyy and setuped
host service
hostname = mymediaservername.dyndns.org
service=host
details=192.168.1.10 //(this is SMS adress in my home network, on home dsl router i put 192.168.1.10 into DMZ, my dsl router has 192.168.1.1 )//

how can i run this now ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 3 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional