I am getting an error message when I execute command �zlogin -C sunsrv4z5� on my root server.
[Connected to zone 'sunsrv4z5' console]
INIT: Cannot stat /etc/inittab, errno: 2
INIT: Cannot stat /etc/inittab, errno: 2
As per my analysis it seems that some files inside /etc folder are deleted.
This server was running fine until yesterday. However, it seems that some files inside /etc or any other relevant files were deleted .
My root server details, (where I am trying to execute the login command) as given by "uname -a" command are as follows:
SunOS sunsrv4 5.10 Generic_141444-09 sun4u sparc SUNW,Sun-Fire-480R
Can you please help me how to restore the files back & to fix this issue ??
If you got a copy of the files/backup of the zone/zfs snapshot, then you can just copy the files back when your inside the global zone.
Just do:
cp file /path/to/zone/sunsrv4z5/.....
I have not explicitly created the backup of the zone.
I do have some other zones created on my root server.
Can I copy the files of other zones & modify the content inside it to map it to corresponding zone , so as to get back the missing files/data ??
Is it possible to do that. ??
Hi,
I thought it to be a directory wherein I could compare the contents between two zones; one which giving error & one which is working fine.
But, after realizing that its a file, I looked into its contents. However, i could not make out the changes I should do over there.
Theres just 4 uncommented lines, as attached in my previous thread.
For ur quick ref, they are:
ap::sysinit:/sbin/autopush -f /etc/iu.ap
sp::sysinit:/sbin/soconfig -f /etc/sock2path
smf::sysinit:/lib/svc/bin/svc.startd >/dev/msglog 2<>/dev/msglog </dev/console
p3:s1234:powerfail:/usr/sbin/shutdown -y -i5 -g0 >/dev/msglog 2<>/dev/msglog
I am not able to get any clue, what should I modify. Can you please help me with that.
We tried to uninstall an application on the host(sunsrv4z5) by running a script which came along with the application. This was the first time, we ran that script. After running the script, the console hanged. When I again tried logging onto my zone, its not getting connected & an alert message prompts "Network error: Connection refused".
So, I tried to connect the zone with the help of root server.
However, I get following message, when I execute command �zlogin -C sunsrv4z5� on my root server.
[Connected to zone 'sunsrv4z5' console]
INIT: Cannot stat /etc/inittab, errno: 2
When u say,
Both of these files should be identical.
Which two files are you referring to ?? Am confused..
I am connected to the root server, and there is one file /etc/inittab
Hi,
I am not able to connect to my zone even without -C option. Connection to my zone closes in fraction of a second.
When I execute, "zlogin sunsrv4z5" command, I get following output.
[Connected to zone 'sunsrv4z5' pts/7]
[Connection to zone 'sunsrv4z5' pts/7 closed]