Ubuntu server 14.04.1 & Neoloader

Status
Not open for further replies.

The supreme

New member
Hi all I'm new, first of all I'm very sorry for my english;
I'd like to talk about a problem between ubuntu server 14.04.1 (no gui just command line) and Neoloader.
Problem start on installation:

Code:
emanuele@servertest:~$ sudo dpkg -i neoloader_2014.0_amd64.deb
[sudo] password for emanuele:
no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory
Selecting previously unselected package neoloader.
(Reading database ... 57208 files and directories currently installed.)
Preparing to unpack neoloader_2014.0_amd64.deb ...
Unpacking neoloader (2014.0) ...
dpkg: dependency problems prevent configuration of neoloader:
 neoloader depends on libfontconfig1 (>= 2.9.0); however:
  Package libfontconfig1 is not installed.
 neoloader depends on libgl1-mesa-glx | libgl1; however:
  Package libgl1-mesa-glx is not installed.
  Package libgl1 is not installed.
 neoloader depends on libx11-xcb1; however:
  Package libx11-xcb1 is not installed.
 neoloader depends on libxi6 (>= 2:1.2.99.4); however:
  Package libxi6 is not installed.
 neoloader depends on libxrender1; however:
  Package libxrender1 is not installed.

dpkg: error processing package neoloader (--install):
 dependency problems - leaving unconfigured
Processing triggers for mime-support (3.54ubuntu1) ...
Errors were encountered while processing:
 neoloader

And I try to solve the problem with sudo apt-get -f install and all dependencies are installed but not Neoloader:

Code:
...
...
...
Setting up libxi6:amd64 (2:1.7.1.901-1ubuntu1) ...
Setting up libxrender1:amd64 (1:0.9.8-1) ...
Setting up neoloader (2014.0) ...
Starting NeoLoader live setup...
QXcbConnection: Could not connect to display
/var/lib/dpkg/info/neoloader.postinst: line 5:  1720 Aborted                 (core dumped) ./NeoSetup -select NeoLoader MediaPlayer.so.1 -download -install -start
Setting up libpciaccess0:amd64 (0.13.2-1) ...
Setting up libdrm-intel1:amd64 (2.4.56-1~ubuntu1) ...
Setting up libdrm-nouveau2:amd64 (2.4.56-1~ubuntu1) ...
Setting up libdrm-radeon1:amd64 (2.4.56-1~ubuntu1) ...
Setting up libllvm3.4:amd64 (1:3.4-1ubuntu3) ...
Setting up libgl1-mesa-dri:amd64 (10.1.3-0ubuntu0.2) ...
Setting up libtxc-dxtn-s2tc0:amd64 (0~git20131104-1.1) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0 to provide /usr/lib/x86_64-linux-gnu/libtxc_dxtn.so(libtxc-dxtn-x86_64-linux-gnu) in auto mode
Processing triggers for libc-bin (2.19-0ubuntu6) ...

Do I something wrong?
and after, if somebody could write a micro guide (or link) to start neoloader in daemon version and which file i must edit for configure it.
At last: after install and launch the daemon on ubuntu server, for use GUI from windows, I open Neoloader I go on Neo tab => Connection Manager => Strop and put ip address, port, password (of coure what I must configure before on daemon) and click on connect.
Is it right?

It would be really great to use neoloader on sever because now I use amule for ed2k link (of course) and fatrat for torrent html and host (host not too much!!! just rapid...), but for to have no problems I don't start together the 2 program.
The server is a download station, dlna server, samba and ftp server. It's very very good and if I can use Neoloader will be more

Thanks a lot for every answer
 
Hi,

I never tested it on a installation that did not head any GUI components installed,

I think there is a mistake in the installation script
it starts
./NeoSetup -select NeoLoader MediaPlayer.so.1 -download -install -start
this should be
./NeoSetup -embedded -select NeoLoader MediaPlayer.so.1 -download -install -start
the -embedded switch tells the setup to instantiate a APP object from the QT framework that does not require any GUI component.

Please try running the setup manually with the -embedded switch added

as for how to connect
it pretty much works as you already said the default password for a unconfirmed NeoLoader core will be just '*'
a Neo with a GUI would setup a random password on first Start of the GUI object, but a Neo run only as command line will not do that and require the user to change it.

David X.
 
Hi David, Thank you so much for quick response.

I installed in this way:
dpkg-deb -x neoloader_2014.0_amd64.deb $HOME for extract deb packet in home directory, cd opt/NeoLoader for go inside new directory and
./NeoSetup -embedded -select NeoLoader MediaPlayer.so.1 -download -install -start as you wrote, and I had this:

Code:
emanuele@servertest:~/opt/NeoLoader$ ./NeoSetup -embedded -select NeoLoader MediaPlayer.so.1 -download -install -start
Retrieving update packet informations...
Incpecting current instalation...
Downloading files...
Download Progress: [##################################################] 100%
Installing files...
Finishing Instalation...

and I have all file:
Code:
emanuele@servertest:~/opt/NeoLoader$ ls
7z.so                     libNeoGUI.so.1          libqtsingleapp.so.1
accessible                libNeoHelper.so.1       libqwt.so.1
Codecs                    libNeoScriptTools.so.1  libsqlite3.so
Config                    libqbencode.so.1        libutp.so
imageformats              libqjson.so.1           libv8.so
Language.7z               libQt5Concurrent.so.5   libWebBrowser.so.1
libboost_regex.so.1.49.0  libQt5Core.so.5         MuleKad
libcryptopp.so            libQt5DBus.so.5         NeoKad
libDHT.so.1               libQt5Gui.so.5          NeoLoader
libicudata.so.48          libQt5Network.so.5      NeoSetup
libicudata.so.51          libQt5Script.so.5       platforms
libicui18n.so.48          libQt5Sql.so.5          Scripts.7z
libicui18n.so.51          libQt5Widgets.so.5      sqldrivers
libicuuc.so.48            libqtftp.so.1           Updates
libicuuc.so.51            libqtping.so.1          WebAPI.7z
libMiniUPnP.so.1          libqtservice.so.1       WebUI.7z

and now? :help: how I can start Neoloader without GUI?

I tried this:
Code:
emanuele@servertest:~/opt/NeoLoader$ ./NeoLoader
QXcbConnection: Could not connect to display
signal 6 (Aborted), address is 0x3e8000005ba from 0x7fcb8f236f79
[bt]: (1) /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7fcb8f236f79]
[bt]: (2) /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7fcb8f236f79]
[bt]: (3) /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7fcb8f23a388]
[bt]: (4) libQt5Core.so.5(_ZNK14QMessageLogger5fatalEPKcz+0xae) [0x7fcb9008668e]
[bt]: (5) /home/emanuele/opt/NeoLoader/platforms/libqxcb.so(+0x62e94) [0x7fcb86e3ce94]
[bt]: (6) /home/emanuele/opt/NeoLoader/platforms/libqxcb.so(+0x64991) [0x7fcb86e3e991]
[bt]: (7) /home/emanuele/opt/NeoLoader/platforms/libqxcb.so(+0x7513a) [0x7fcb86e4f13a]
[bt]: (8) libQt5Gui.so.5(_ZN27QPlatformIntegrationFactory6createERK7QStringRK11QStringListS2_+0xa2) [0x7fcb90758232]
[bt]: (9) libQt5Gui.so.5(_ZN22QGuiApplicationPrivate25createPlatformIntegrationEv+0x377) [0x7fcb90763967]
[bt]: (10) libQt5Gui.so.5(_ZN22QGuiApplicationPrivate21createEventDispatcherEv+0x6d) [0x7fcb907645dd]
[bt]: (11) libQt5Core.so.5(_ZN16QCoreApplication4initEv+0x22d) [0x7fcb90262e3d]
[bt]: (12) libQt5Core.so.5(_ZN16QCoreApplicationC1ER23QCoreApplicationPrivate+0x25) [0x7fcb90262ea5]
[bt]: (13) libQt5Gui.so.5(_ZN15QGuiApplicationC2ER22QGuiApplicationPrivate+0x9) [0x7fcb907650b9]
[bt]: (14) libQt5Widgets.so.5(_ZN12QApplicationC1ERiPPci+0x52) [0x7fcb91cb1a02]
[bt]: (15) libqtsingleapp.so.1(_ZN19QtSingleApplicationC2ERK7QStringRiPPc+0x32) [0x7fcb92aceb5c]
[bt]: (16) ./NeoLoader(main+0x39c) [0x585e49]
[bt]: (17) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fcb8f221ec5]
[bt]: (18) ./NeoLoader() [0x5855e9]
and this
Code:
emanuele@servertest:~/opt/NeoLoader$ ./NeoLoader -embedded
signal 11 (Segmentation fault), address is 0x50 from 0x7fa66a294632
[bt]: (1) libqtsingleapp.so.1(_ZNK12QtLockedFile8isLockedEv+0xc) [0x7fa66a294632]
[bt]: (2) libqtsingleapp.so.1(_ZNK12QtLockedFile8isLockedEv+0xc) [0x7fa66a294632]
[bt]: (3) libqtsingleapp.so.1(_ZN11QtLocalPeer8isClientEv+0x26) [0x7fa66a295330]
[bt]: (4) libqtsingleapp.so.1(_ZN19QtSingleApplication9isRunningEv+0x1c) [0x7fa66a296bc0]
[bt]: (5) ./NeoLoader(main+0x956) [0x586403]
[bt]: (6) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fa6669e9ec5]
[bt]: (7) ./NeoLoader() [0x5855e9]
but nothing
I don't know very good linux I start using it 8 month ago when I tried to set up my server and by google I always managed to find what I need and I learned all the little things that I know now; so I am sorry to steal your time, but if you can help me on this problem I would be really grateful of you :8: (of course if all this is possible!) :danl :danl
 
To start NeoLoader without a GUI you need to use the switch -core or -daemon

if you use the switch -core it will start in the current terminal session and the session will need to remain open as long as neo runs,
you can bypass this restriction by setting the ini setting Config/NeoLoader.ini -> Integration/NoHUP to true this will make NeoLoader ignore the hand up signal when the terminal closes

or you can use the -daemon switch than NeoLoader will start a new instance of itself in a way that the new instance will also ignore the hand up signal. all console output of the second NeoLoader will be redirected to the first one and displayed in the starting console, but here you can now close the console or kill the process with Ctrl-C and the second NeoLoader will remain running.

things that I know now; so I am sorry to steal your time, but if you can help me on this problem I would be really grateful of you (of course if all this is possible!)
I'm happy to help.

it must work :D

Cheers
David
 
Hi folks! ;-)

I'm interested too in the linux version of NeoLoader so I'll install on one Debian Wheezy VM and test it.

@The Supreme: the errors you saw on the first installation (fixed with apt-get install -f) are to be expected on a text-only installation (you didn't install Xorg). (Gli errori che hai incontrato sono dovuti al fatto che stai usando Ubuntu in modalità testo, senza server grafico).

@DavidXanatos: first... thanks for your hard work (to you and to the other developer, ofcourse!). Second... the project is yours and you only dicide what to do and how to develop but as far I can see It would be great if NeoLoader could run as an headless daemon with an internal web-server (like transmission-daemon). I never saw something more easy to manage/control as the transmission-daemon web-gui (and I know you want to keep it simple). I'm not a coder (the last time I wrote something in assembler the dinos were ruling over Earth! ;) ) but I think in that way it would be more "architecture/so indipendent" and easier to maintain. Anyway thanks again! ;-)

Now I must return to my Debian VM to test! ;-)

(Sorry for my very bad English but It isn't my native language... is my fourth language! ;-))

[UPDATE]

I tried to install NeoLoader on a Debian Wheezy 64bit environment but It failed due to the libc6 version: NeoLoader requires a newer one.
I'll try with a Debian Jessie environment.
 
as far I can see It would be great if NeoLoader could run as an headless daemon with an internal web-server (like transmission-daemon).
emm... it does already.
you start it on a server with the -daemon switch
and access it from an otehr PC with
http://serverIP:1600/
and thats it :D
 
Hi David,
I was trying now but something goes wrong:
first attempt
Code:
emanuele@servertest:~/opt/NeoLoader$ ./NeoLoader -core
signal 11 (Segmentation fault), address is 0x50 from 0x7f3dd7851632
[bt]: (1) libqtsingleapp.so.1(_ZNK12QtLockedFile8isLockedEv+0xc) [0x7f3dd7851632]
[bt]: (2) libqtsingleapp.so.1(_ZNK12QtLockedFile8isLockedEv+0xc) [0x7f3dd7851632]
[bt]: (3) libqtsingleapp.so.1(_ZN11QtLocalPeer8isClientEv+0x26) [0x7f3dd7852330]
[bt]: (4) libqtsingleapp.so.1(_ZN19QtSingleApplication9isRunningEv+0x1c) [0x7f3dd7853bc0]
[bt]: (5) ./NeoLoader(main+0x956) [0x586403]
[bt]: (6) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f3dd3fa6ec5]
[bt]: (7) ./NeoLoader() [0x5855e9]
second attempt
Code:
emanuele@servertest:~/opt/NeoLoader$ ./NeoLoader -daemon
signal 11 (Segmentation fault), address is 0x50 from 0x7f9545d05632
third attempt
Code:
emanuele@servertest:~/opt/NeoLoader$ ./NeoLoader -daemon
signal 11 (Segmentation fault), address is 0x50 from 0x7fd46fd97632
[bt]: (1) libqtsingleapp.so.1(_ZNK12QtLockedFile8isLockedEv+0xc) [0x7fd46fd97632]
[bt]: (2) libqtsingleapp.so.1(_ZNK12QtLockedFile8isLockedEv+0xc) [0x7fd46fd97632]
After always as second attempt
I tried to set permission 777 on all file but nothing
Could be corrupt libqtsingleapp.so.1?
And last thing: on Connection Manager port is 20035 like inside NeoLoader.ini?
Code:
[Core]
AutoStart=0
BusName=NeoBus
BusPort=20034
LocalName=NeoCore
Password=*
RemoteHost=localhost
RemotePort=20035            <----------------
Separate=0
ServiceName=NeoLoader
TimeoutSecs=30
TockenTimeOut=2592000
ValidTockens=

Thank you so much :danl
 
Are you using the 64 bit version or the 32 bit version?

i updated the 64 bit build with a fix, please tell me if that helped, of if i need to update the 32 bit build as well...

for the remote GUI from an otehr neolaoder instalation its 20035 yes
for the web UI its 1600 or whatever is set in teh httpserver section of the ini file-

David
 
Ok... the installation went fine but 2 seconds after the configuration wizard NeoLoader had a crash.

dmesg report:
Code:
[ 2229.087291] QXcbEventReader[1700]: segfault at 7fb5089e3fc9 ip 00007fb5089e3fc9 sp 00007fb507bdeea0 error 14 in libXdmcp.so.6.0.0[7fb508cc3000+5000]

uname -a:
Code:
Linux server 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt2-1 (2014-12-08) x86_64 GNU/Linux

anyway I started NeoLoader with the -daemon option and it is working!
[img=http://s28.postimg.org/g6xrnvyrt/Schermata.jpg]

Now I'll leave NeoLoader running to see if crashes

David I have a dumb question: I wasn't able to pause or stop the download... only to "kill" it.. Is still the red wine in me?
(Personally I hate the Android/ios style of the webserver... but I'm an @sshole! ;-))
 
The problem of the WebUI is that is really too much simplified...

... se domani riesco a fare il partizionamento manuale sul mio laptop ed installare Ubuntu-MATE o Mint in dual-boot con Windows 7 senza bestemmiare mi unisco a voi.

A linux newbie question, running neo inside the terminal of a desktop edition distro is the same of running it into a server edition distro?
 
When you clock on the file in the web view you get to a page where you have 4 buttons start pause stop and delete,
you should be able to use the stop button there.


>A linux newbie question, running neo inside the terminal of a desktop edition distro is the same of running it into a server edition distro?
its simmilar but not identical as you have different libs available
 
After a lot of troubles (fixparts, grub hiddet at 0 sec etc.) I have a dual-boot with Ubuntu-MATE.

First of all I may try to install neoloader normally this evening, as any other desktop user may want to, and then try to run on terminal and/or connect the UI remotely.

Another newbie question about Linux, you may help me... how can I disable mouse accelleration? I already googled it but under the folder "X11" I don't have any xorg.conf file...
... using xinput command I reduced the sensitivity because is really too high but mouse accelleration is still there and I find it really annoying.
 
Hi David, NeoLoader started!! :bier
Yes I use 64bit
From webGUI I can connect without problem but no from Neoloader GUI, in connection manager I put server ip (remote host), 20035 (remote port) and * (password), but when click on connect nothing happens.
Do I something wrong?
I checked in ini file and port and password is good!

@Giovannino
Ps. the permission 777 was just a test then I put everything back as the original

EDIT
I strated by -core and by -daemon no crash problem

EDIT2
I forgot: if I want to close neoloader (for example for restart server) how I can close it? just kill process?? (I don't like kill, I'm peace man:36_11_6 :)
 
Neo26":1z8bnipg said:
The problem of the WebUI is that is really too much simplified...

... se domani riesco a fare il partizionamento manuale sul mio laptop ed installare Ubuntu-MATE o Mint in dual-boot con Windows 7 senza bestemmiare mi unisco a voi.

A linux newbie question, running neo inside the terminal of a desktop edition distro is the same of running it into a server edition distro?
I agree about the webui... but I think it is only the beginning and we can't complain about it! ;-)
You don't need to create a multi boot environment... just install VirtualBox inside your main W7 installation and create a Linux VM.
The main difference between a desktop edition and a server disto is the presence of a desktop manager. The kernel is the same (even for Debian, CentOS and afik all the others)


DavidXanatos":1z8bnipg said:
When you clock on the file in the web view you get to a page where you have 4 buttons start pause stop and delete,
you should be able to use the stop button there.
It wasn't the wine... the buttons don't work, only the cancel one.

Neo26":1z8bnipg said:
After a lot of troubles (fixparts, grub hiddet at 0 sec etc.) I have a dual-boot with Ubuntu-MATE.

First of all I may try to install neoloader normally this evening, as any other desktop user may want to, and then try to run on terminal and/or connect the UI remotely.

Another newbie question about Linux, you may help me... how can I disable mouse accelleration? I already googled it but under the folder "X11" I don't have any xorg.conf file...
... using xinput command I reduced the sensitivity because is really too high but mouse accelleration is still there and I find it really annoying.
xorg.conf isn't necessary if you use the free video drivers (intel, nouveau for nvidia or radeon for ati). What would you like to disable? The video acceleration of the mouse pointer or the speed of the mouse pointer? Maybe I can help you via PM.

The supreme":1z8bnipg said:
Hi David, NeoLoader started!! :bier
Yes I use 64bit
From webGUI I can connect without problem but no from Neoloader GUI, in connection manager I put server ip (remote host), 20035 (remote port) and * (password), but when click on connect nothing happens.
Do I something wrong?
I checked in ini file and port and password is good!

@Giovannino
Ps. the permission 777 was just a test then I put everything back as the original

EDIT
I strated by -core and by -daemon no crash problem

EDIT2
I forgot: if I want to close neoloader (for example for restart server) how I can close it? just kill process?? (I don't like kill, I'm peace man:36_11_6 :)

As far I understand till now the only way to close the neoloader deamon is to kill the process... but this isn't a real problem beacuse it is a deamon and it is simple to create a systemd script to start, restart or stop the daemon (if David agrees I can write one).
(I wrote about systemd because the maiority of linux distributions are moving to systemd)

Cheers and beers!
 
@The supreme
sounds right what you are doing it should connect after you pressed connect,
you started the GUI with the command line option -gui ?

to shutdown neo use for example the browser
http://serverip:1600/Console/?Command=Shutdown



@Giovannino
>It wasn't the wine... the buttons don't work, only the cancel one.
hmm... ok i will check that

about run a read daemon/service we will have to look into that the shutdown may not work as expected, there ware some features added for that long time ago but after a few years of no one using it it might got broken with some other update and need fixing
 
Neo26":yqk38qap said:
I hope you can still help with more tests to make the remote UI (not WebUI) working too...

I tried a lot of time, but remote UI dosen't connect, I don't know how I can connect, I have just 3 parameters to set, but simply don't work; with webUI all is good
 
Status
Not open for further replies.
Back
Top