No access to etc directory

Hi, I'm new to this... but I am unable to see /etc, however I can access it via gknautilus... but as superuser I'm getting told no such file or directory via terminal

Could you paste the command you are running in the terminal and the output please?

Hi I've logged in using my own user in terminal and then used sudo -i to change to root. I now use ls to show directories.... but etc is not accessible as it does not appear, but is accessible using gknautilus. The error is saying no such file or directory when I use cd /etc

I need to run an update patch for ddclient which is in the /etc/ddclient directory I've tried using that path as well and get the same result.

Show exactly what you are doing word for word, keystroke for keystroke. Use screenshots if necessary.

Okay, step by step:
open terminal
login to root

sudo -i
root@server:-# cd /etc
bash: cd: etc: no such file or directory
root@server:-#  ls
desktop password.txt
exit
exit
root@server:/home/gary# ls
downloads pictures videos music templates desktop documents

No etc folder at any point

What do you see when you do ls / ? You may be in a chroot somehow.

root@server:-# ls /
bin dev etc lib media run srv var home

Try ls -ld /etc to show the folder itself instead of its contents, maybe it has weird permissions.

Are you running selinux?

no i don't believe so, its abuntu 12-4 tls plus the latest packages. And sentora control panel installed.... nothing else

I can't find any "abuntu" operating system. selinux is an option in many distributions, however.

Try ls -ld /etc to show the folder itself instead of its contents, maybe it has weird permissions.

that gave the following:

root@server-# ls -ld /etc
drwxr-xr-x 138 root root 12288 may 11 17:20 /etc

ls -l /etc

Result was the following:

-rw-r--r--  1 root root     1260 May  2  2011 ucf.conf
drwxr-xr-x  3 root root     4096 May 10 12:06 udev
drwxr-xr-x  3 root root     4096 Feb 13  2013 ufw
-rw-r--r--  1 root root      326 Aug 17  2011 updatedb.conf
drwxr-xr-x  3 root root     4096 May 10 12:03 update-manager
drwxr-xr-x  2 root root     4096 May 10 12:03 update-motd.d
drwxr-xr-x  2 root root     4096 Sep 10  2012 update-notifier
drwxr-xr-x  2 root root     4096 May 10 12:06 UPower
-rw-r--r--  1 root root      572 Mar  7  2012 usb_modeswitch.conf
drwxr-xr-x  2 root root     4096 Feb 10  2012 usb_modeswitch.d
drwxr-xr-x  2 root root     4096 Feb 13  2013 vim
lrwxrwxrwx  1 root root       23 May 10 10:58 vtrgb -> /etc/alternatives/vtrgb
drwxr-xr-x  2 root root     4096 May 10 12:30 webalizer
-rw-r--r--  1 root root     4496 Feb 11  2012 wgetrc
-rw-r--r--  1 root root     1343 Jan  9  2007 wodim.conf
drwxr-xr-x  2 root root     4096 May 10 12:03 wpa_supplicant
drwxr-xr-x 10 root root     4096 Feb 13  2013 X11
drwxr-xr-x  5 root root     4096 May 10 12:03 xdg
drwxr-xr-x  2 root root     4096 Feb 13  2013 xml
drwxr-xr-x  2 root root     4096 May 10 12:05 xul-ext
lrwxrwxrwx  1 root root       12 May 10 12:25 zpanel -> /etc/sentora
-rw-r--r--  1 root root      349 Jan 30  2012 zsh_command_not_found

You are missing most, though not all, the files one would expect to be in /etc.

ok thanks for all your help. im guessing this has something to do with the control panel installation... i will attempt to re-install without installing the control panel and check the results. Once again many many thanks.