Ubuntu server 14.04.1 & Neoloader

The supreme
Site User
Posts: 10
Joined: Sat Jan 03, 2015 2:46 pm

Ubuntu server 14.04.1 & Neoloader

Postby The supreme » Sat Jan 03, 2015 4:30 pm

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: Select all

[email protected]:~$ 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: Select all

...
...
...
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

User avatar
DavidXanatos
Site Admin
Posts: 769
Joined: Wed Jun 30, 2010 7:54 pm

Postby DavidXanatos » Sat Jan 03, 2015 4:58 pm

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.
Live free or die trying!

The supreme
Site User
Posts: 10
Joined: Sat Jan 03, 2015 2:46 pm

Postby The supreme » Sat Jan 03, 2015 10:08 pm

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: Select all

[email protected]:~/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: Select all

[email protected]:~/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: Select all

[email protected]:~/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: Select all

[email protected]:~/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

User avatar
DavidXanatos
Site Admin
Posts: 769
Joined: Wed Jun 30, 2010 7:54 pm

Postby DavidXanatos » Sun Jan 04, 2015 9:13 am

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
Live free or die trying!

User avatar
Giovannino
Site User
Posts: 6
Joined: Sat Jan 03, 2015 1:08 pm

Postby Giovannino » Sun Jan 04, 2015 11:23 am

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.
Workstation, VMs Servers and Storage Servers with Debian!

User avatar
DavidXanatos
Site Admin
Posts: 769
Joined: Wed Jun 30, 2010 7:54 pm

Postby DavidXanatos » Sun Jan 04, 2015 5:03 pm

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
Live free or die trying!

The supreme
Site User
Posts: 10
Joined: Sat Jan 03, 2015 2:46 pm

Postby The supreme » Mon Jan 05, 2015 12:12 pm

Hi David,
I was trying now but something goes wrong:
first attempt

Code: Select all

[email protected]:~/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: Select all

[email protected]:~/opt/NeoLoader$ ./NeoLoader -daemon
signal 11 (Segmentation fault), address is 0x50 from 0x7f9545d05632

third attempt

Code: Select all

[email protected]:~/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: Select all

[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

User avatar
DavidXanatos
Site Admin
Posts: 769
Joined: Wed Jun 30, 2010 7:54 pm

Postby DavidXanatos » Mon Jan 05, 2015 3:24 pm

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
Live free or die trying!

User avatar
Giovannino
Site User
Posts: 6
Joined: Sat Jan 03, 2015 1:08 pm

Postby Giovannino » Mon Jan 05, 2015 9:19 pm

DavidXanatos wrote: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


Sorry man! Too much beer and red wine altered my vision.... ;)

I'll give a try!
Workstation, VMs Servers and Storage Servers with Debian!

User avatar
Giovannino
Site User
Posts: 6
Joined: Sat Jan 03, 2015 1:08 pm

Postby Giovannino » Mon Jan 05, 2015 9:25 pm

@The Supreme

Your segmentation fault is a library related problem, not related to the files permission.
Let me try with my debian server. Our libraries are compiled with different options.

[UPDATE]
I just downloade the new NeoLoader installer and saw a great improvement (with my Mate desktop... )
[img=http://s18.postimg.org/j3ztgxol1/Schermata.jpg]
Workstation, VMs Servers and Storage Servers with Debian!


Return to “Support”

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Fatal: Not able to open ./cache/data_global.php