#Nabox getting below error

8 messages · Page 1 of 1 (latest)

lavish linden
#

Welcome to NAbox !

Visit https://nabox.org/ for more informations.

This shell is intended for advanced users or use as instructed by support for troubleshooting purposes.

Could not chdir to home directory /home/admin: No such file or directory

hybrid marlin
#

Is that a new deployment ? What version ?

#

And what environment (VMware, qemu, HyperV)

lavish linden
#

No, this was a older deployment

#

this is running in vmware

#

this is running on4.1 version

hybrid marlin
#

It looks like file system corruption, or someone deleted /home/admin.

Ca you do ls -al /home ?

lavish linden
#

ls -al /home
total 12
drwxr-xr-x 3 root root 4096 May 14 2022 .
drwxr-xr-x 24 root root 4096 Jun 20 2024 ..
drwxr-sr-x 2 apps_snmidsrvr apps_snmidsrvr 4096 May 14 2022 apps_snmidsrvr
atlvnaboxapp02:/$

lavish linden
#

@hybrid marlin , is there any way we can restore this or create a new file

hybrid marlin
#

If you can sudo bash (you should) then you can mkdir /home/admin/ and chown admin:nabox /home/admin/

lavish linden
#

sudo bash
-ash: sudo: not found

#

su -
Password:
su: incorrect password

#

i am providing the correct password

#

but still it was not accepting the password

hybrid marlin
#

ls -al /etc ?

lavish linden
hybrid marlin
#

Oh ok. But that’s not v4. That’s v3, in v3 you don’t use admin user

lavish linden
#

can we bring the system back

#

i am hitting with ldap timeout on the another system

hybrid marlin
#

I'm not sure what is wrong yet

#

what's wrong with the system actually ?

lavish linden
#

docker ps
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json": dial unix /var/run/docker.sock: connect: permission denied

lavish linden
#

The system was not working