jexec: execvp(): tcsh: No such file or directory

Status
Not open for further replies.

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
I don't know what I did but I now get this error when trying to enter my jail
[root@freenas] ~# jexec 4 tcsh
jexec: execvp(): tcsh: No such file or directory

Any ideas on how to fix it?
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Is your jail on? What happens if you turn it off and on again? You can also use a shell for the specific gui under the jails section of the UI.
 

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
I turned it on and off and now I get this error
jexec 8 bash
[I have no name!@nZEDb /]#
 

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
jexec 8 tcsh
jexec: jail_attach(8): Invalid argument
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Sounds like your jail got deleted or you changed the permissions of everything in your jail on accident. Delete and create a new one. Backup anything in the jail you want first.
 

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
The files are still there. Is there any way to fix it. I hate to start over.
 

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
Here is the step I used that created the problem
nano -w simple-expanded.sh
pasted bash commands into the script
saved it
screen sh simple-expanded.sh
gave :
PHP Fatal error: Class 'nzedb\db\DB' not found in /usr/local/www/nZEDb/nzedb/db/Settings.php on line 28
find: illegal option -- t
usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression]
find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]
override r-xr-xr-x root/wheel for /bin/tcsh?

Not sure how I answered that prompt.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Here is the step I used that created the problem
nano -w simple-expanded.sh
pasted bash commands into the script
saved it
screen sh simple-expanded.sh
gave :
PHP Fatal error: Class 'nzedb\db\DB' not found in /usr/local/www/nZEDb/nzedb/db/Settings.php on line 28
find: illegal option -- t
usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression]
find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]
override r-xr-xr-x root/wheel for /bin/tcsh?

Not sure how I answered that prompt.
I have no clue what you are talking about. Just create a new jail and start over you will not be able to fix this.
 
Status
Not open for further replies.
Top