rail ls doesn't work

35 views
Skip to first unread message

vajonam

unread,
May 29, 2017, 4:38:47 PM5/29/17
to EON ZFS Storage
looks like the links that rail talks to are no longer valid, can you please confirm this is the case? 


no longer works, i guess can you fix that or provide new urls so I can patch my rail with the new install. 




Andre Lue

unread,
May 29, 2017, 4:59:48 PM5/29/17
to EON ZFS Storage on behalf of vajonam
Dropbox messed things up with their new public folder/files policy. To fix it
cd /tmp
wget --no-check-certificate  https://www.dropbox.com/s/t8qudkwy02jt7bl/update-embed-111116.eon
wget --no-check-certificate  https://www.dropbox.com/s/7g4t29ws4lvqkzx/pkgsrc-bk.sh

xt update-embed-111116.eon
edit /usr/local/.repo with
URL=https://www.dropbox.com/s/npbxydjmg9tyjug/pkg.db


--
You received this message because you are subscribed to the Google Groups "EON ZFS Storage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eonstorage+unsubscribe@googlegroups.com.
To post to this group, send email to eonst...@googlegroups.com.
Visit this group at https://groups.google.com/group/eonstorage.
For more options, visit https://groups.google.com/d/optout.

vajonam

unread,
May 29, 2017, 5:20:54 PM5/29/17
to EON ZFS Storage
my /usr/local is empty to being how do I create the .repo ? 

On Monday, May 29, 2017 at 4:59:48 PM UTC-4, dre2kse wrote:
Dropbox messed things up with their new public folder/files policy. To fix it
cd /tmp
wget --no-check-certificate  https://www.dropbox.com/s/t8qudkwy02jt7bl/update-embed-111116.eon
wget --no-check-certificate  https://www.dropbox.com/s/7g4t29ws4lvqkzx/pkgsrc-bk.sh

xt update-embed-111116.eon
edit /usr/local/.repo with
URL=https://www.dropbox.com/s/npbxydjmg9tyjug/pkg.db

On Mon, May 29, 2017 at 4:38 PM, vajonam via EON ZFS Storage <eonstorage+APn2wQeaGveeVtAFGo6StkzOM-yyat2Qk_yK0TpsH4zA9NaHLqHYt@googlegroups.com> wrote:
looks like the links that rail talks to are no longer valid, can you please confirm this is the case? 


no longer works, i guess can you fix that or provide new urls so I can patch my rail with the new install. 




--
You received this message because you are subscribed to the Google Groups "EON ZFS Storage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eonstorage+...@googlegroups.com.

vajonam

unread,
May 29, 2017, 5:23:13 PM5/29/17
to EON ZFS Storage
got it, just create it.. okay following video tutorial now 

Andre Lue

unread,
May 29, 2017, 5:26:49 PM5/29/17
to EON ZFS Storage on behalf of vajonam

To unsubscribe from this group and stop receiving emails from it, send an email to eonstorage+unsubscribe@googlegroups.com.

vajonam

unread,
May 29, 2017, 6:05:38 PM5/29/17
to EON ZFS Storage
Sor firstly trying this on a VM to make sure I know what I am doing.

eon:39:/usr/bin#rail in pkgsrc-2014Q3
 in pkgsrc-2014Q3 ...
 creating: /usr/local/.cache ... done
 downloading: cache ... done
 downloading: /usr/local/.cache/bootstrap-2014Q3-x86_64.tar.gz ... done
 found local: /usr/local/.cache/bootstrap-2014Q3-x86_64.tar.gz
 md5: e0b6b376b7eb1286a5db3dc4c0d1a66f ... pass
 installing: /usr/local/.cache/bootstrap-2014Q3-x86_64.tar.gz ... 

This causes the VM to freeze. it just sits there only way is to reset the vm. 

On Monday, May 29, 2017 at 5:26:49 PM UTC-4, dre2kse wrote:

Andre Lue

unread,
May 29, 2017, 6:11:52 PM5/29/17
to EON ZFS Storage on behalf of vajonam
Does the VM have a zfs if so what size is it? If it's running from RAM, how much memory does the VM have?

That last step is simply unpacking the bootstrap in /usr/local. If it freezes its due to the image running out of memory.

Have you tried another ssh instance to the VM when it's frozen?

To unsubscribe from this group and stop receiving emails from it, send an email to eonstorage+unsubscribe@googlegroups.com.

vajonam

unread,
May 29, 2017, 6:31:15 PM5/29/17
to EON ZFS Storage
that fixed it, for now, trying to install mysql server, is the old way still the best way? or should i be using pkgsrc.

using pkgsrc, fails with

170529 22:29:55 mysqld_safe Starting mysqld daemon with databases from /var/mysql
ld.so.1: mysqld: fatal: /opt/local/lib//libwrap.so.7: unknown file type
170529 22:29:55 mysqld_safe mysqld from pid file /var/mysql/eon.pid ended





On Monday, May 29, 2017 at 6:11:52 PM UTC-4, dre2kse wrote:
Does the VM have a zfs if so what size is it? If it's running from RAM, how much memory does the VM have?

That last step is simply unpacking the bootstrap in /usr/local. If it freezes its due to the image running out of memory.

Have you tried another ssh instance to the VM when it's frozen?

Andre Lue

unread,
May 29, 2017, 6:39:17 PM5/29/17
to EON ZFS Storage on behalf of vajonam
Once you go pkgsrc, use all packages from pkgsrc/pkgin

Because you are running from VM/RAM you will have to run each time you reboot the VM and before you rail pkgsrc/pkgin. Also keep an eye on the packages being added does not exceed RAM of the VM.
emp syslocal start
emp pkgsrc start


To unsubscribe from this group and stop receiving emails from it, send an email to eonstorage+unsubscribe@googlegroups.com.

vajonam

unread,
May 29, 2017, 6:53:28 PM5/29/17
to EON ZFS Storage
Got it. Any ideas on libwrap problem start mysql? 

not sure why they are 0 byte files. 

-rwxr-xr-x   1 root     root           0 May 29 22:20 libwrap.la*
lrwxrwxrwx   1 root     root          16 May 29 22:20 libwrap.so -> libwrap.so.7.0.6*
lrwxrwxrwx   1 root     root          16 May 29 22:20 libwrap.so.7 -> libwrap.so.7.0.6*
-rwxr-xr-x   1 root     root           0 May 29 22:20 libwrap.so.7.0.6*



On Monday, May 29, 2017 at 6:39:17 PM UTC-4, dre2kse wrote:
Once you go pkgsrc, use all packages from pkgsrc/pkgin

Because you are running from VM/RAM you will have to run each time you reboot the VM and before you rail pkgsrc/pkgin. Also keep an eye on the packages being added does not exceed RAM of the VM.
emp syslocal start
emp pkgsrc start

Andre Lue

unread,
May 29, 2017, 7:11:38 PM5/29/17
to EON ZFS Storage on behalf of vajonam
It is most likely 0 because the VM ran out of space or the package install failed/did not complete.

I recommend reset /usr/local  or and follow the steps closely https://sites.google.com/site/eonstorage/installing-pkgsrc

You can also check the install log for errors /var/db/pkgin/pkg_install-err.log

To unsubscribe from this group and stop receiving emails from it, send an email to eonstorage+unsubscribe@googlegroups.com.

vajonam

unread,
May 29, 2017, 7:53:35 PM5/29/17
to EON ZFS Storage
Okay cool. will try it on a real box, maybe later on the week thanks again for your quick assistance! 


On Monday, May 29, 2017 at 7:11:38 PM UTC-4, dre2kse wrote:
It is most likely 0 because the VM ran out of space or the package install failed/did not complete.

I recommend reset /usr/local  or and follow the steps closely https://sites.google.com/site/eonstorage/installing-pkgsrc

You can also check the install log for errors /var/db/pkgin/pkg_install-err.log

Andre Lue

unread,
May 29, 2017, 7:59:21 PM5/29/17
to EON ZFS Storage on behalf of vajonam
Or try allocating 4Gb of RAM to your VM. pkgsrc-2014Q3 has passed testing with those settings in my dev env. I suspect 3GB may work also.

To unsubscribe from this group and stop receiving emails from it, send an email to eonstorage+unsubscribe@googlegroups.com.

vajonam

unread,
May 29, 2017, 8:47:00 PM5/29/17
to EON ZFS Storage
Yup re-did everything with the correct symlinks for /opt/ etc.. works now.

Only issue I am seeing is the 

[ May 29 20:25:28 Executing start method ("/usr/sbin/sharemgr start default"). ]
SMF Initialization problems..svc:/network/nfs/server:default
SMF Initialization problems..svc:/network/nfs/nlockmgr:default
SMF Initialization problems..svc:/network/nfs/nlockmgr:default
SMF Initialization problems..svc:/network/nfs/nlockmgr:default
SMF Initialization problems..svc:/network/nfs/nlockmgr:default
SMF Initialization problems..svc:/network/nfs/server:default
SMF Initialization problems..svc:/network/nfs/server:default
SMF Initialization problems..svc:/network/nfs/client:default
SMF Initialization problems..svc:/network/nfs/client:default
SMF Initialization problems..svc:/network/nfs/server:default
SMF Initialization problems..svc:/network/nfs/mapid:default
SMF Initialization problems..svc:/network/nfs/server:default
SMF Initialization problems..svc:/network/nfs/server:default
SMF Initialization problems..svc:/network/nfs/server:default
SMF Initialization problems..svc:/network/nfs/server:default
NFS plugin problem with SMF repository: unknown -1


I haven't done anything specific for NFS on this install yet.. didn't think there was anything we needed to do.. thanks. 




On Monday, May 29, 2017 at 7:59:21 PM UTC-4, dre2kse wrote:
Or try allocating 4Gb of RAM to your VM. pkgsrc-2014Q3 has passed testing with those settings in my dev env. I suspect 3GB may work also.

Andre Lue

unread,
May 29, 2017, 8:50:26 PM5/29/17
to EON ZFS Storage on behalf of vajonam
That error is a false positive and nothing to worry about so you're all set there :)

To unsubscribe from this group and stop receiving emails from it, send an email to eonstorage+unsubscribe@googlegroups.com.

vajonam

unread,
May 29, 2017, 10:53:48 PM5/29/17
to EON ZFS Storage
But I am not able see or mount the nfs drives anywhere

$ showmount -e 192.168.101.239
clnt_create
: RPC: Port mapper failure - Unable to receive: errno 0 (Success)


or 


eon_test
:3:~#showmount -e localhost
showmount
: localhost: RPC: Rpcbind failure - RPC: Unable to receiv


not sure what is not being set


eon_test
:4:~#zfs get all  | grep nfs
abyss  sharenfs              on                    
local






On Monday, May 29, 2017 at 8:50:26 PM UTC-4, dre2kse wrote:
That error is a false positive and nothing to worry about so you're all set there :)

Andre Lue

unread,
May 29, 2017, 11:03:44 PM5/29/17
to EON ZFS Storage on behalf of Donovan Kaardal

Check/list processes on the server. Sounds like rpcbind service is not running.

To unsubscribe from this group and stop receiving emails from it, send an email to eonstorage+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages