How can I install dialog4ports in my qjail3 environment?
Hi, How can I install dialog4ports in my qjail3 environment? I will be grateful for any help you can provide. root # cd /usr/ports/sysutils/qjail root # qjail create -n em0 webserver 192.168.0.50 root # pkg_info | grep qjail qjail-3.0 Utility to quickly deploy and manage jails webserver /usr/ports/ports-mgmt/dialog4ports make install clean = dialog4ports-0.1.4.tar.gz doesn't seem to exist in /var/ports/distfiles/. = Attempting to fetch http://m1cro.tk/dialog4ports/dialog4ports-0.1.4.tar.gz dialog4ports-0.1.4.tar.gz 100% of 9 kB 61 kBps === Fetching all distfiles required by dialog4ports-0.1.4 for building === Extracting for dialog4ports-0.1.4 = SHA256 Checksum OK for dialog4ports-0.1.4.tar.gz. === Patching for dialog4ports-0.1.4 === Configuring for dialog4ports-0.1.4 === Building for dialog4ports-0.1.4 /dev/null, line 1: Need an operator make: fatal errors encountered -- cannot continue *** [do-build] Error code 1 Stop in /usr/ports/ports-mgmt/dialog4ports. ___ 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
upgrade qjail
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.20www /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. ___ 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