ezjail fails to start

I configured a jail system with ezjail, and it worked before. I then deleted this jail by

Code:
ezjail-admin delete -w webserver

Here webserver is the old jail's name. I created another jail

Code:
ezjail-admin create -f generic web 192.168.1.10

Here generic is the jail flavour's name, and web is the new jail's name. Start the jail

Code:
ezjail-admin start

No problem till now. However, if I want to log into jail's console

Code:
ezjail console web

it gives me error:

Code:
Configuring jails:.
Starting jails: [web already running (/var/run/jail_web.id exists)].
Error: Could not onestart web.
  You need to onestart it by hand.

I don't know what happened. Can anyone help me? Thanks.
 
The command to log into jail's console should be

Code:
ezjail-admin console web

Sorry for the typo.
 
I've never used ezjail-admin to delete a jail, but it sounds like it deleted the jail but didn't stop it. Try restarting the jail or deleting the id file and see if that works.
 
I've never used that console command. I use [cmd=]jls[/cmd] find the jail number, and then run [cmd=]jexec JID tcsh[/cmd] Does that work for you?
 
Back
Top