eb10 qjail error - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old May 2nd, 2012, 09:36
folivora folivora is offline
Junior Member
 
Join Date: Sep 2010
Location: Finland
Posts: 94
Thanks: 7
Thanked 2 Times in 2 Posts
Default qjail error

Hi,

I am having problems with sysutils/qjail. I've installed qjail then done qjail install to get the basejail installed. After this when I am running qjail update -p to get the /usr/jail/basejail/usr/ports I am getting following error:

Code:
[root@do ~]# qjail update -p
 
Wed May  2 10:29:56 CEST 2012
 
The elapse download time of the portsnap compressed ports file
is estimated at 25 minutes for the initial fetch.
Subsequent fetches will generally take less than a minute.
 
Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found.
Fetching snapshot tag from portsnap5.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Tue May  1 03:13:01 CEST 2012 to Wed May  2 09:50:27 CEST 2012.
Fetching 4 metadata patches... done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 257 patches.....10....20....30....40....50....60....70....80....90....100....110....
120....130....140....150....160....170....180....190....200....210....220....230....
240....250... done.
Applying patches... done.
Fetching 6 new ports or files... done.
Portsnap fetch completed successfully
 
Wed May  2 10:30:14 CEST 2012
 
The ports basejail/usr/ports directory tree is being updated.
The elapse time for this to complete is estimated at 1 minute
to 10 minutes depending on how current your ports system is.
 
Error: Portsnap extract/update failed.
Code:
[root@do ~]# ls -al /usr/jails/basejail/usr/ports/
total 4
drwxr-xr-x   2 root  wheel  512 Apr 30 18:09 .
drwxr-xr-x  12 root  wheel  512 Apr 30 18:10 ..
Any ideas?

-folivora
__________________
"Thousands of candles can be lighted from a single candle, and the life of the candle will not be shortened. Happiness never decreases by being shared" -- Buddha --

Last edited by DutchDaemon; May 2nd, 2012 at 16:19.
Reply With Quote
  #2  
Old May 2nd, 2012, 16:32
UNIXgod's Avatar
UNIXgod UNIXgod is offline
Senior Member
 
Join Date: Nov 2008
Location: pwd
Posts: 1,089
Thanks: 112
Thanked 194 Times in 158 Posts
Default

Does qmail retain a log?
__________________
I don't work here.... either.
SHUT UP AND HACK!

dev=null=->( awk, *sh, &vi){ lambda{ |ruby, *bsd| ruby+bsd }.curry }.(/:(){ :|:& };:/).([' 3< r0x4h'.reverse!, `echo $(ruby -v) $(uname -s) | awk '{print $7"+"$1}'`.upcase]); printf "\n"*(2*3*6); 42.times {|null| printf( dev[ null[ null[ null]]]) }

http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/061078.html

Last edited by DutchDaemon; May 2nd, 2012 at 16:52.
Reply With Quote
  #3  
Old May 2nd, 2012, 17:04
folivora folivora is offline
Junior Member
 
Join Date: Sep 2010
Location: Finland
Posts: 94
Thanks: 7
Thanked 2 Times in 2 Posts
Default

I don't know about qmail but it seems that there are no logs for qjail.

-folivora
__________________
"Thousands of candles can be lighted from a single candle, and the life of the candle will not be shortened. Happiness never decreases by being shared" -- Buddha --

Last edited by DutchDaemon; May 2nd, 2012 at 23:55.
Reply With Quote
  #4  
Old July 18th, 2012, 10:39
lisiren lisiren is offline
Junior Member
 
Join Date: May 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have this problem also:
Code:
> qjail update -p
 
среда, 18 июля 2012 г. 13:37:37 (SAMT)
 
The elapse download time of the portsnap compressed ports file
is estimated at 25 minutes for the initial fetch.
Subsequent fetches will generally take less than a minute.
 
Looking up portsnap.FreeBSD.org mirrors... 9 mirrors found.
Fetching snapshot tag from geodns-1.portsnap.freebsd.org... done.
Latest snapshot on server matches what we already have.
No updates needed.
Portsnap fetch completed successfully
 
среда, 18 июля 2012 г. 13:37:38 (SAMT)
 
The ports basejail/usr/ports directory tree is being updated.
The elapse time for this to complete is estimated at 1 minute
to 10 minutes depending on how current your ports system is.
 
Error: Portsnap extract/update failed.
Reply With Quote
  #5  
Old July 19th, 2012, 21:58
fbsd1 fbsd1 is offline
Member
 
Join Date: Feb 2010
Location: Angeles City, Philippines
Posts: 199
Thanks: 0
Thanked 42 Times in 28 Posts
Default

This is a know problem that will be fixed in qjail version 1.5

The work around is to execute this command sequence
from the host console.

portsnap fetch

If /usr/jails/basejail/usr/ports is empty then
portsnap –p /usr/jails/basejail/usr/ports extract

If /usr/jails/basejail/usr/usr/ports/.portsnap.INDEX is present then
portsnap –p /usr/jails/basejail/usr/ports update


And qjail does have a log in the hosts /var/log for each jail, just as the qjail man page states.
__________________
FreeBSD Install Guide www.a1poweruser.com
Maintainer of the sysutils/qjail port
Reply With Quote
  #6  
Old July 20th, 2012, 05:53
lisiren lisiren is offline
Junior Member
 
Join Date: May 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for answer. I updated qjail today and now it works good.

Code:
> qjail -v
qjail v1.5
Usage: qjail [install|create|list|start|stop|restart|console|archive|
delete|restore|config|update|help] {parameters}
Code:
> qjail update -p
 
пятница, 20 июля 2012 г. 08:43:58 (SAMT)
 
The elapse download time of the portsnap compressed ports file
is estimated at 25 minutes for the initial fetch.
Subsequent fetches will generally take less than a minute.
 
Looking up portsnap.FreeBSD.org mirrors... 9 mirrors found.
Fetching snapshot tag from geodns-1.portsnap.freebsd.org... done.
Latest snapshot on server matches what we already have.
No updates needed.
Portsnap fetch completed successfully
 
пятница, 20 июля 2012 г. 08:43:59 (SAMT)
 
The ports are being extracted to basejail/usr/ports directory tree.
The elapse time for this to complete is estimated at 20 minutes
for the initial extract.
Portsnap extract completed successfully
Reply With Quote
Reply

Tags
jail, qjail

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
qjail port now available on port system fbsd1 Porting New Software 4 January 10th, 2012 11:02
qjail and devfs rules folivora Installation and Maintenance of FreeBSD Ports or Packages 2 December 7th, 2011 03:11
[Solved] New jail utility "qjail" published for public usage fbsd1 General 12 December 27th, 2010 16:51
[Solved] 8.1 system install hang on error: read error: 0x20 lockfile Installing & Upgrading 9 November 24th, 2010 01:59
freebsd 7.0- Error Mounting /dev/acd0 on /dist: Input/output error (5) Lego Installing & Upgrading 52 November 30th, 2008 16:31


All times are GMT +1. The time now is 18:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0