Re: upgrade qjail

2013-07-02 Thread Гуляев Гоша
   Guys! I have a similar problem. But from your answer I don't
   understand, is it needed to create all jails from scratch?!! Or it
   possible recreate existed jails with qjail-3.0?
   Tell me please how to do that procedure without reinstalling all jails
   from scratch.

   09.06.2013, 07:55, Fbsd8 fb...@a1poweruser.com:

 Masayoshi Fujimoto wrote:

 Hi.
 Could you tell me how to upgrade qjail-1.7 to qjail-3.0 ?
 I can not start www. So I have to use qjail-1.7 now. _
 root@freebsd:/root # pkg_info | grep qjail
 qjail-1.7 Utility to quickly deploy and manage jails
 root@freebsd:/root # jls
 JID IP Address Hostname Path
 1 192.168.0.20 www /usr/jails/www
 root@freebsd:/root # portmaster qjail
 root@freebsd:/root # rehash
 root@freebsd:/root # pkg_info | grep qjail
 qjail-3.0 Utility to quickly deploy and manage jails
 root@freebsd:/root # reboot
 I got the following message.
 jail: qjail: path : not an absolute pathname
 Error: /usr/sbin/jail failed to start jail www.
 because of errors in jail.conf file.
 root@freebsd:/root # cat /etc/jail.conf
 qjail {
 host.hostname = qjail;
 path = ;
 mount.fstab = ;
 exec.start = /bin/sh /etc/rc;
 exec.stop = /bin/sh /etc/rc.shutdown;
 exec.consolelog = /var/log/qjail.qjail.console.log;
 devfs_ruleset = 4;
 allow.mount.devfs;
 }
 So I edited /etc/jail.conf :
 www {
 host.hostname = www;
 path = /usr/jails/www;
 mount.fstab = ;
 exec.start = /bin/sh /etc/rc;
 exec.stop = /bin/sh /etc/rc.shutdown;
 exec.consolelog = /var/log/qjail.qjail.console.log;
 devfs_ruleset = 4;
 allow.mount.devfs;
 ip4.addr = 192.168.0.20;
 interface = alc0;
 }
 root@freebsd:/root # /usr/local/etc/rc.d/qjail.bootime restart
 jail: qjail: path : not an absolute pathname
 Error: /usr/sbin/jail failed to start jail www.
 because of errors in jail.conf file.
 I got same massage.
 My /etc/jail.conf has been changed default one.

 qjail-1.7 is way out of date.
 you have to delete all your 1.7 jails
 then do pkg_delete qjail-1.7
 then
 portsnap fetch
 portsnap extract
 cd /usr/ports/sysutils/qjail
 ee Makefile and make sure it says qjail-3.0
 make install clean
 man qjail
 recreate your jails
 ___
 [1]freebsd-questions@freebsd.org mailing list
 [2]http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [3]freebsd-questions-unsubscr...@freebsd.org

References

   1. mailto:freebsd-questions@freebsd.org
   2. http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   3. mailto:freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Fails to install editors/libreoffice

2011-04-20 Thread Гуляев Гоша
divHi all! I'm try to install editors/libreoffice on my 
machine:/divdivOS: nbsp;8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Apr 20 
15:18:53 YEKST 2011 nbsp;i386/divdivls /var/db/pkg | grep 
jdk/divdivdiablo-jdk-1.6.0.07.02_13br 
/jdk-1.6.0.3p4_22/divdivnbsp;/divdivRAM: 2Gb + 4Gb swap 
file/divdivHard disk space 29Gb/divdivnbsp;/divdivI'm try disable 
all options, and try enable KDE + JAVA and KDE w/o 
JAVA./divdivnbsp;/divdivthere is output of 
error:/divdivnbsp;/divdivEntering 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/connectivity/utilbr /br 
/Making:sdbc_hsqldb.dpjbr /br /dmake: Executing shell macro: cd 
$(MISC)/registry/data/org/openoffice/Office/DataAccess amp;amp;  ls 
*.xcubr //usr/local/jdk1.6.0/bin/javac -source 1.5 -target 1.5 -classpath 
.:../../../../../../unxfbsdi.pro/class:/usr/local/jdk1.6.0/jre/lib/rt.jar:.:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/hsqldb.jar::/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib
 -d ../../../../../../unxfbsdi.pro/class  @/tmp/mkUcfJf6br /terminate called 
after throwing an instance of 
'com::sun::star::lang::IllegalArgumentException'br //usr/local/bin/bash: line 
1:  2894 Abort trap: 6   
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/unxfbsdi.pro/lib:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib
 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/cppunittester
 ../../unxfbsdi.pro/lib/test_metadatable.sobr /dmake:  Error code 134, while 
making 'test1'br /Making:sdbc_hsqldb.dpjbr /br /echo Class-Path: 
hsqldb.jar  .. gt;gt; 
../../../../../../unxfbsdi.pro/class/sdbc_hsqldb/META-INF/MANIFEST.MFbr 
/updating: META-INF/MANIFEST.MF (deflated 7%)br /updating: 
com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.class (deflated 55%)br 
/updating: com/sun/star/sdbcx/comp/hsqldb/StorageNativeInputStream.class 
(deflated 51%)br /updating: 
com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.class (deflated 56%)br 
/updating: com/sun/star/sdbcx/comp/hsqldb/StorageNativeOutputStream.class 
(deflated 50%)br /updating: 
com/sun/star/sdbcx/comp/hsqldb/NativeStorageAccess.class (deflated 53%)br 
/updating: com/sun/star/sdbcx/comp/hsqldb/StorageAccess.class (deflated 
54%)br /updating: 
com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess$FileSync.class (deflated 
52%)br /updating: com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess.class 
(deflated 57%)br /updating: 
com/sun/star/sdbcx/comp/hsqldb/NativeLibraries.class (deflated 46%)br 
/updating: org/hsqldb/lib/FileSystemRuntimeException.class (deflated 48%)br 
/connectivity deliverbr /Module 'connectivity' delivered successfully. 0 
files copied, 115 files unchangedbr /br 
/---br / 
Oh dear - something failed during the build - sorry !br / For more help with 
debugging build errors, please see the section in:br / 
http://wiki.documentfoundation.org/Developmentbr /br / internal build 
errors:br /br /ERROR: error 65280 occurred while making 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/qa/cppunitbr 
/ERROR: error 65280 occurred while making 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/pyuno/source/loaderbr 
/br / it seems you are using a threaded build, which means that thebr / 
actual compile error is probably hidden far above, and could bebr / inside 
any of these other modules:br / sfx2br / please re-run build inside each 
one to isolate the problem.br 
/---br 
/br //usr/local/bin/bashbr /cd 
/var/XXX/libreoffice-build-3.3.2.2/build/libreofficebr /source 
./FreeBSDX86Env.Set.shbr /cd pyunobr /buildbr /br /when the problem is 
isolated and fixed exit and re-run 'make' from the top-levelbr /sometimes 
(sadly) it is necessary to rm -Rf unxfbsdi.pro in a module.br /gmake: *** 
[stamp/build] Ошибка 1br /*** Error code 1br /br /Stop in 
/usr/ports/editors/libreoffice.br /*** Error code 1br /br /Stop in 
/usr/ports/editors/libreoffice./div___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

libreoffice not builds (sorry for codepage problem)

2011-04-20 Thread Гуляев Гоша


Hi all! I'm try to install editors/libreoffice on my machine:
OS: 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Apr 20 15:18:53 YEKST 2011 i386
ls /var/db/pkg | grep jdk
diablo-jdk-1.6.0.07.02_13
jdk-1.6.0.3p4_22
 
RAM: 2Gb + 4Gb swap file
Hard disk space 29Gb
 
I'm try disable all options, and try enable KDE + JAVA and KDE w/o JAVA.
 
there is output of error:
 
Entering /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/connectivity/util

Making: sdbc_hsqldb.dpj

dmake: Executing shell macro: cd 
$(MISC)/registry/data/org/openoffice/Office/DataAccess  ls *.xcu
/usr/local/jdk1.6.0/bin/javac -source 1.5 -target 1.5 -classpath 
.:../../../../../../unxfbsdi.pro/class:/usr/local/jdk1.6.0/jre/lib/rt.jar:.:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/hsqldb.jar::/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib
 -d ../../../../../../unxfbsdi.pro/class @/tmp/mkUcfJf6
terminate called after throwing an instance of 
'com::sun::star::lang::IllegalArgumentException'
/usr/local/bin/bash: line 1: 2894 Abort trap: 6 
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/unxfbsdi.pro/lib:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib
 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/cppunittester
 ../../unxfbsdi.pro/lib/test_metadatable.so
dmake: Error code 134, while making 'test1'
Making: sdbc_hsqldb.dpj

echo Class-Path: hsqldb.jar ..  
../../../../../../unxfbsdi.pro/class/sdbc_hsqldb/META-INF/MANIFEST.MF
updating: META-INF/MANIFEST.MF (deflated 7%)
updating: com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.class 
(deflated 55%)
updating: com/sun/star/sdbcx/comp/hsqldb/StorageNativeInputStream.class 
(deflated 51%)
updating: com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.class 
(deflated 56%)
updating: com/sun/star/sdbcx/comp/hsqldb/StorageNativeOutputStream.class 
(deflated 50%)
updating: com/sun/star/sdbcx/comp/hsqldb/NativeStorageAccess.class (deflated 
53%)
updating: com/sun/star/sdbcx/comp/hsqldb/StorageAccess.class (deflated 54%)
updating: com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess$FileSync.class 
(deflated 52%)
updating: com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess.class (deflated 57%)
updating: com/sun/star/sdbcx/comp/hsqldb/NativeLibraries.class (deflated 46%)
updating: org/hsqldb/lib/FileSystemRuntimeException.class (deflated 48%)
connectivity deliver
Module 'connectivity' delivered successfully. 0 files copied, 115 files 
unchanged

---
 Oh dear - something failed during the build - sorry !
 For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development

 internal build errors:

ERROR: error 65280 occurred while making 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/qa/cppunit
ERROR: error 65280 occurred while making 
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/pyuno/source/loader

 it seems you are using a threaded build, which means that the
 actual compile error is probably hidden far above, and could be
 inside any of these other modules:
 sfx2
 please re-run build inside each one to isolate the problem.
---

/usr/local/bin/bash
cd /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice
source ./FreeBSDX86Env.Set.sh
cd pyuno
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
sometimes (sadly) it is necessary to rm -Rf unxfbsdi.pro in a module.
gmake: *** [stamp/build] Ошибка 1
*** Error code 1

Stop in /usr/ports/editors/libreoffice.
*** Error code 1

Stop in /usr/ports/editors/libreoffice.

-- 

 С уважением, Гуляев Гоша.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org