January 28, 201412 yr Author There are some environment variables that need to take affect in your session.
January 28, 201412 yr Hey nicainabox, great plugin. Anyway to add in additional packages. I have node/vnstat packages on my github that I would love to install with trolley smdion, Trolley is strictly design for installing official Slackware packages. If you have a 3rd party package you'd like to distribute, check out boiler. It's designed for publishing 3rd party packages for unRAID specifically. Thanks for the clarification. I will play around with that!
January 30, 201412 yr Just installed trolley in 64bit unRAID. The first thing I thought I should try it on is 'screen', since that is something I always installed in /boot/extra on 32bit unRAID. So I did root@unSERVER:~# trolley install screen => Downloading screen (4.0.3 x86_64) => Installing => Installed root@unSERVER:~# screen screen: error while loading shared libraries: libutempter.so.0: cannot open shared object file: No such file or directory root@unSERVER:~# Then I did root@unSERVER:~# trolley install utempter => Downloading utempter (1.1.5 x86_64) => Installing => Installed root@unSERVER:~# screen and screen worked. Was it supposed to install utempter by itself since it seems to be a dependency for screen?
January 30, 201412 yr Author Was it supposed to install utempter by itself since it seems to be a dependency for screen? Unfortunately, Slackware doesn't resolve dependencies for packages like pretty much every single package manager out there. I've been trying to come up with a way to map the dependencies, but so far, I haven't come up with much. Since this is an issue at the OS level, dealing with it will be a challenge.
January 30, 201412 yr Hi nicinabox Getting these errors with release 2.0 root@Tower:~# wget -qO- --no-check-certificate https://raw.github.com/nicinabox/trolley/master/install.sh | sh - Verifying package trolley-0.2.0-noarch-unraid.tgz. Installing package trolley-0.2.0-noarch-unraid.tgz: PACKAGE DESCRIPTION: WARNING: Package has not been created with 'makepkg' Executing install script for trolley-0.2.0-noarch-unraid.tgz. Using python-2.7.5-x86_64-1 Using kernel-headers-3.10.17-x86-3.txz Using binutils-2.23.52.0.1-x86_64-2.txz Using glibc-2.17-x86_64-7.txz Using gcc-4.8.2-x86_64-1.txz Using gcc-g++-4.8.2-x86_64-1.txz Using libmpc-0.8.2-x86_64-2.txz Using libelf-0.8.13-x86_64-2.txz Using openssl-1.0.1f-x86_64-1_slack14.1.txz Using automake-1.11.5-noarch-1.txz Using make-3.82-x86_64-4.txz Using libyaml-0.1.4-x86_64-1.txz Using mpfr-3.1.2-x86_64-1.txz Using zlib-1.2.8-x86_64-1.txz Using git-1.8.4-x86_64-1.txz Using ruby-1.9.3_p484-x86_64-1_slack14.1.txz install/doinst.sh: line 52: gem: command not found install/doinst.sh: line 53: gem: command not found install/doinst.sh: line 57: gem: command not found Please run `source /etc/bundlerc` or restart your terminal session. install/doinst.sh: line 67: bundle: command not found Package trolley-0.2.0-noarch-unraid.tgz installed. root@Tower:~# /etc/bundlerc -bash: /etc/bundlerc: Permission denied root@Tower:~# I also logged out and back in: root@Tower:~# /etc/bundlerc -bash: /etc/bundlerc: Permission denied root@Tower:~# trolley /usr/bin/env: ruby: No such file or directory root@Tower:~# trolley list /usr/bin/env: ruby: No such file or directory root@Tower:~# Any suggestions? Thanks Duppie
January 30, 201412 yr Author root@Tower:~# /etc/bundlerc -bash: /etc/bundlerc: Permission denied How could you be getting permission denied as root?
January 30, 201412 yr Really do not know? root@Tower:~# whoami root root@Tower:~# ls -la /etc/bundlerc -rw-r--r-- 1 501 wheel 141 Jan 28 18:32 /etc/bundlerc root@Tower:~#
January 30, 201412 yr Author looks like there were other failures during the install. What unRAID version are you on?
January 30, 201412 yr Author Actually, looking back over that log there are some oddities. 1. It doesn't look like ruby is fully installed because `gem` failed 2. It says "Using ..." for each package, meaning it already exists in /var/log/packages AND /boot/extra So this doesn't look like the first time you've installed it? Try removing ruby (`removepkg ruby`) and rerunning the install.
January 30, 201412 yr Still no luck. Strangely when ruby is installed the console window closes / exit and I have to re-login: root@Tower:~# removepkg ruby Removing package /var/log/packages/ruby-1.9.3_p484-x86_64-1_slack14.1... Removing files: root@Tower:~# wget -qO- --no-check-certificate https://raw.github.com/nicinabox/trolley/master/install.sh | sh - Verifying package trolley-0.2.0-noarch-unraid.tgz. Installing package trolley-0.2.0-noarch-unraid.tgz: PACKAGE DESCRIPTION: WARNING: Package has not been created with 'makepkg' Executing install script for trolley-0.2.0-noarch-unraid.tgz. Using python-2.7.5-x86_64-1 Using kernel-headers-3.10.17-x86-3.txz Using binutils-2.23.52.0.1-x86_64-2.txz Using glibc-2.17-x86_64-7.txz Using gcc-4.8.2-x86_64-1.txz Using gcc-g++-4.8.2-x86_64-1.txz Using libmpc-0.8.2-x86_64-2.txz Using libelf-0.8.13-x86_64-2.txz Using openssl-1.0.1f-x86_64-1_slack14.1.txz Using automake-1.11.5-noarch-1.txz Using make-3.82-x86_64-4.txz Using libyaml-0.1.4-x86_64-1.txz Using mpfr-3.1.2-x86_64-1.txz Using zlib-1.2.8-x86_64-1.txz Using git-1.8.4-x86_64-1.txz Installing ruby-1.9.3_p484-x86_64-1_slack14.1 Tower login: root Password: Linux 3.10.24p-unRAID. root@Tower:~# trolley search samba /usr/bin/env: ruby: No such file or directory
January 30, 201412 yr Author That's really weird. How about listing your packages? (ls /var/log/packages) How are you connecting? SSH? Anything meaningful in the logs?
January 30, 201412 yr Telnet. I also installed ruby from the extra directory now and I was thrown out of the console and now I cannot log back in. Will reboot the Server and try again.
January 30, 201412 yr After system reboot all should be installed in extra folder. Did the following and receiving these errors: root@Tower:~# trolley search samba /usr/lib64/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- bundler (LoadError) from /usr/lib64/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/local/boiler/trolley/lib/trolley/base.rb:2:in `<top (required)>' from /usr/lib64/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/lib64/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/local/boiler/trolley/lib/trolley/cli.rb:1:in `<top (required)>' from /usr/lib64/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/lib64/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/local/bin/trolley:12:in `<main>' root@Tower:~# trolley /usr/lib64/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- bundler (LoadError) from /usr/lib64/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/local/boiler/trolley/lib/trolley/base.rb:2:in `<top (required)>' from /usr/lib64/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/lib64/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/local/boiler/trolley/lib/trolley/cli.rb:1:in `<top (required)>' from /usr/lib64/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/lib64/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/local/bin/trolley:12:in `<main>' root@Tower:~#
January 30, 201412 yr root@Tower:~# ls /var/log/packages/ aaa_base-14.1-x86_64-1 gcc-g++-4.8.2-x86_64-1 nettle-2.7.1-x86_64-1 aaa_elflibs-14.1-x86_64-3 genpower-1.0.5-x86_64-2 network-scripts-14.1-noarch-2 acl-2.2.51-x86_64-1 getty-ps-2.1.0b-x86_64-2 nfs-utils-1.2.8-x86_64-1 acpid-2.0.19-x86_64-1 git-1.8.4-x86_64-1 ntfs-3g-2013.1.13-x86_64-1 apmd-3.2.2-x86_64-3 glib-1.2.10-x86_64-3 ntp-4.2.6p5-x86_64-4 at-3.1.12-x86_64-1 glibc-2.17-x86_64-7 openldap-client-2.4.31-x86_64-2 attr-2.4.46-x86_64-1 glibc-solibs-2.17-x86_64-7 openssh-6.3p1-x86_64-1 automake-1.11.5-noarch-1 gmp-5.1.3-x86_64-1 openssl-1.0.1e-x86_64-1 avahi-0.6.31-x86_64-1_SBo_LT gnutls-3.1.16-x86_64-1 openssl-1.0.1f-x86_64-1_slack14.1 bash-4.2.045-x86_64-1 gptfdisk-0.8.7-x86_64-1 openssl-solibs-1.0.1e-x86_64-1 beep-1.2.2-x86_64-2_SBo grep-2.14-x86_64-1 p11-kit-0.16.4-x86_64-1 bin-11.1-x86_64-1 gzip-1.6-x86_64-1 pciutils-3.2.0-x86_64-1 binutils-2.23.52.0.1-x86_64-2 handbrake-0.9.9-x86_64-1alien pcre-8.33-x86_64-1 bzip2-1.0.6-x86_64-1 hdparm-9.43-x86_64-1 perl-5.18.1-x86_64-1 cifs-utils-5.5-x86_64-2 inetd-1.79s-x86_64-8 php-5.4.20-x86_64-1_LT coreutils-8.21-x86_64-1 infozip-6.0-x86_64-2 pkgtools-14.1-noarch-2 curl-7.31.0-x86_64-1 iputils-s20121221-x86_64-1 portmap-6.0-x86_64-1 cxxlibs-6.0.18-x86_64-1 kernel-headers-3.10.17-x86-3 procps-3.2.8-x86_64-4 cyrus-sasl-2.1.23-x86_64-5 kmod-15-x86_64-1 python-2.7.5-x86_64-1 db48-4.8.30-x86_64-2 less-451-x86_64-1 reiserfsprogs-3.6.24-x86_64-1 dbus-1.6.12-x86_64-1 libdaemon-0.14-x86_64-1_SBo rsync-3.1.0-x86_64-1 dcron-4.5-x86_64-4 libelf-0.8.13-x86_64-2 ruby-1.9.3_p484-x86_64-1_slack14.1 ddrescue-1.17-x86_64-1 libgcrypt-1.5.3-x86_64-1 samba-4.0.9-x86_64-2_LT devs-2.3.1-noarch-25 libgpg-error-1.11-x86_64-1 screen-4.0.3-x86_64-4 dhcpcd-6.0.5-x86_64-2 libidn-1.25-x86_64-2 sed-4.2.2-x86_64-1 diffutils-3.3-x86_64-1 libmpc-0.8.2-x86_64-2 shadow-4.1.5.1-x86_64-2 dmidecode-2.11-x86_64-1 libnl-1.1.4-x86_64-1 smartmontools-5.43-x86_64-1 dosfstools-3.0.22-x86_64-1 libpciaccess-0.13.2-x86_64-1 sudo-1.8.6p8-x86_64-1 dynamix.active.streams-2.1.0-x86_64-1 libpng-1.4.12-x86_64-1 sysfsutils-2.1.0-x86_64-1 dynamix.disk.health-2.1.0-x86_64-1 libsamplerate-0.1.8-x86_64-1 sysklogd-1.5-x86_64-2 dynamix.dns.server-2.1.0-x86_64-1 libtasn1-3.3-x86_64-1 sysvinit-2.88dsf-x86_64-3 dynamix.email.notify-2.1.0-x86_64-1 libtheora-1.1.1-x86_64-1 sysvinit-scripts-2.0-noarch-17 dynamix.plugin.control-2.1.0-x86_64-1 libvirt-1.2.0-x86_64-1_SBo tar-1.26-x86_64-1 dynamix.system.info-2.1.0-x86_64-1 libvorbis-1.3.3-x86_64-1 tcp_wrappers-7.6-x86_64-1 dynamix.system.stats-2.1.0-x86_64-1 libxml2-2.9.1-x86_64-1 telnet-0.17-x86_64-2 dynamix.system.temp-2.1.0-x86_64-1 libyaml-0.1.4-x86_64-1 tree-1.6.0-x86_64-1 dynamix.webGui-2.1.1-x86_64-1 lm_sensors-3.3.4-x86_64-1 trolley-0.2.0-noarch-unraid e2fsprogs-1.42.8-x86_64-2 logrotate-3.8.6-x86_64-1 udev-182-x86_64-7 elvis-2.2_0-x86_64-2 lsof-4.83-x86_64-1 utempter-1.1.5-x86_64-1 etc-14.1-x86_64-2 lsscsi-0.27-x86_64-1 util-linux-2.21.2-x86_64-6 ethtool-3.10-x86_64-1 lvm2-2.02.100-x86_64-1 vim-7.3.645-i486-1 findutils-4.4.2-x86_64-1 mailx-12.5-x86_64-1 vsftpd-3.0.2-x86_64-1 floppy-5.5-x86_64-1 make-3.82-x86_64-4 wget-1.14-x86_64-2 fontconfig-2.10.93-x86_64-1 mc-4.8.10-x86_64-2 which-2.20-x86_64-1 freetype-2.5.0.1-x86_64-1 mpfr-3.1.2-x86_64-1 xz-5.0.5-x86_64-1 fuse-2.9.3-x86_64-1_LT ncompress-4.2.4.3-x86_64-1 yajl-2.0.4-x86_64-2_SBo gawk-4.1.0-x86_64-2 net-tools-1.60.20120726git-x86_64-1 zlib-1.2.8-x86_64-1 gcc-4.8.2-x86_64-1 netatalk-2.2.5-x86_64-1_LT root@Tower:~#
January 30, 201412 yr Author Just tried a telnet install in my 6.0-beta2 VM. All went fine. Must be related to something in your installed packages. Probably something from those missing from those packages. What about the contents of /boot/extra? After you're booted out of the session, is there anything in the log about why?
January 30, 201412 yr Can't see anything strange in the syslog, then again, I am no expert. root@Tower:/boot/extra# ls automake-1.11.5-noarch-1.txz* kernel-headers-3.10.17-x86-3.txz* openssl-1.0.1f-x86_64-1_slack14.1.txz* binutils-2.23.52.0.1-x86_64-2.txz* libelf-0.8.13-x86_64-2.txz* perl-5.18.1-x86_64-1.txz* ddrescue-1.17-x86_64-1.txz* libmpc-0.8.2-x86_64-2.txz* python-2.7.5-x86_64-1.txz* dosfstools-3.0.22-x86_64-1.txz* libpng-1.4.12-x86_64-1.txz* ruby-1.9.3_p484-x86_64-1_slack14.1.txz* fontconfig-2.10.93-x86_64-1.txz* libsamplerate-0.1.8-x86_64-1.txz* screen-4.0.3-x86_64-4.txz* freetype-2.5.0.1-x86_64-1.txz* libtheora-1.1.1-x86_64-1.txz* trolley-0.2.0-noarch-unraid.tgz* gcc-4.8.2-x86_64-1.txz* libvorbis-1.3.3-x86_64-1.txz* utempter-1.1.5-x86_64-1.txz* gcc-g++-4.8.2-x86_64-1.txz* libxml2-2.9.1-x86_64-1.txz* vim-7.3.645-i486-1.txz* git-1.8.4-x86_64-1.txz* libyaml-0.1.4-x86_64-1.txz* xz-5.0.5-x86_64-1.tgz* glib-1.2.10-x86_64-3.txz* make-3.82-x86_64-4.txz* zlib-1.2.8-x86_64-1.txz* glibc-2.17-x86_64-7.txz* mpfr-3.1.2-x86_64-1.txz* handbrake-0.9.9-x86_64-1alien.txz* ntfs-3g-2013.1.13-x86_64-1.txz* root@Tower:/boot/extra#
January 30, 201412 yr Author Wait did you run `source /etc/bundlerc`? Your earlier log looks like you just tried to execute it. Still, logging in after a reboot should have worked. I don't really see anything outstanding in those lists.
January 30, 201412 yr Did `source /etc/bundlerc`but still same issue. Also logged out and in again. Should ruby not be 1.9.3? or is the libraries still on 1.9.1 /usr/lib64/ruby/1.9.1
January 30, 201412 yr Author Did `source /etc/bundlerc`but still same issue. Also logged out and in again. Should ruby not be 1.9.3? or is the libraries still on 1.9.1 /usr/lib64/ruby/1.9.1 1.9.3 is backwards compatible with 1.9.1, so it shares the same lib directory. I'm really stumped as to why your session would just crash like that. It's difficult for me to debug since I can't duplicate the issue myself. Possibly memory related? What are you specs?
January 30, 201412 yr System Overview unRAID Version: unRAID Server Basic, Version 6.0-beta2 Motherboard: Sun Microsystems - Ultra 24 Processor: Intel® Core2 Quad CPU Q8200 @ 2.33GHz - 2.333 GHz Cache: L1-Cache = 128 kB (max. 128 kB) L2-Cache = 4096 kB (max. 4096 kB) Memory: 1024 Module (max. 8 GB) BANK0 = 1024 MB, 667 MHz BANK1 = No Module Installed, Unknown BANK2 = No Module Installed, Unknown BANK3 = No Module Installed, Unknown Network: eth0: 1000Mb/s - Full Duplex Uptime: 0 days, 0 hours, 27 minutes, 4 seconds nicinabox, I will try this on my server at home this evening as well and report back. Duppie
January 30, 201412 yr Motherboard: Sun Microsystems - Ultra 24 Respect. I remember when it was a dream to have Sun kit at home.
January 30, 201412 yr at work I am going through a Proxy. Not sure if this could cause the issues. Duppie
January 30, 201412 yr Author I'm thinking at 1GB memory, you're just running out. Ruby fails and your session closes.
Archived
This topic is now archived and is closed to further replies.