Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: raycheng on December 10, 2008, 03:49:28 PM

Title: Can not access ibays
Post by: raycheng on December 10, 2008, 03:49:28 PM
Hi,

wonder someone can help ? I can not access my ibays after SME7.4 disk space low (48GB) .
When login root , I found that my folder had a @sign at the front , when i change dir to my folder , it say can not be found.

please help , anyone one, need files from my folder.

appreciate anyone that can help , thanks.

Raymond
Title: Re: Can not access ibays
Post by: cactus on December 10, 2008, 04:23:58 PM
Hi,

wonder someone can help ? I can not access my ibays after SME7.4 disk space low (48GB) .
When login root , I found that my folder had a @sign at the front , when i change dir to my folder , it say can not be found.

please help , anyone one, need files from my folder.

appreciate anyone that can help , thanks.

Raymond
The @ sign is something strange, that should have nothing to do with the disk being full or what so ever AFAIK. Have you been manually doing stuff on the command line perhaps?
What is the output of the following command on the command line interface when logged in as root:
Code: [Select]
df and
Code: [Select]
ls -la /home/e-smith/files/ibays
Title: Re: Can not access ibays
Post by: raycheng on December 10, 2008, 04:47:18 PM
thanks for your quick reply, below is what is see when try to access the folder , which is the only one that can't be access.  :P

login as: root
root@xmh.ath.cx's password:
Last login: Wed Dec 10 23:10:37 2008 from 121.6.78.226
[root@sme1 ~]# ls -la /home/e-smith/files/ibays
total 72
drwxr-xr-x  18 root root 4096 Dec 10 13:47 .
drwxr-xr-x   7 root root 4096 Oct 14 04:04 ..
lrwxrwxrwx   1 root root   26 Mar  6  2008 account -> /mnt/newdisk/ibays/account
drwxr-xr-x   6 root root 4096 May  9  2007 co_events
drwxr-xr-x   6 root root 4096 May  9  2007 com.report
drwxr-xr-x   6 root root 4096 May  9  2007 consumables
drwxr-xr-x   6 root root 4096 May  9  2007 costings
drwxr-xr-x   6 root root 4096 May  9  2007 daceasy
lrwxrwxrwx   1 root root   22 Mar  5  2008 hee -> /mnt/newdisk/ibays/hee
drwxr-xr-x   6 root root 4096 May  9  2007 import
drwxr-xr-x   6 root root 4096 May  9  2007 managers
drwxr-xr-x   6 root root 4096 Oct 15  2007 manhour
lrwxrwxrwx   1 root root   27 Feb 26  2008 namecard -> /mnt/newdisk/ibays/namecard
drwxr-xr-x   6 root root 4096 May  9  2007 parts
drwxr-xr-x   6 root root 4096 Mar 30  2008 permata
drwxr-xr-x   5 root root 4096 May 16  2007 Primary
drwxr-xr-x   6 root root 4096 May  9  2007 reports
drwxr-xr-x   6 root root 4096 May  9  2007 sales
drwxr-xr-x   6 root root 4096 May  9  2007 sharedata
drwxr-xr-x   6 root root 4096 Oct 15  2007 shpg_docs
drwxr-xr-x   6 root root 4096 Oct 15  2007 stock
[root@sme1 ~]# cd /mnt/newdisk/ibays/account
-bash: cd: /mnt/newdisk/ibays/account: Not a directory
[root@sme1 ~]# [root@sme1 ~]# cd /mnt/newdisk/ibays/account
-bash: [root@sme1: command not found
[root@sme1 ~]# -bash: cd: /mnt/newdisk/ibays/account: Not a directory
-bash: -bash:: command not found
[root@sme1 ~]#

Title: Re: Can not access ibays
Post by: cactus on December 10, 2008, 04:52:50 PM
thanks for your quick reply, below is what is see when try to access the folder , which is the only one that can't be access.  :P

login as: root
root@xmh.ath.cx's password:
Last login: Wed Dec 10 23:10:37 2008 from 121.6.78.226
[root@sme1 ~]# ls -la /home/e-smith/files/ibays
total 72
drwxr-xr-x  18 root root 4096 Dec 10 13:47 .
drwxr-xr-x   7 root root 4096 Oct 14 04:04 ..
lrwxrwxrwx   1 root root   26 Mar  6  2008 account -> /mnt/newdisk/ibays/account
drwxr-xr-x   6 root root 4096 May  9  2007 co_events
drwxr-xr-x   6 root root 4096 May  9  2007 com.report
drwxr-xr-x   6 root root 4096 May  9  2007 consumables
drwxr-xr-x   6 root root 4096 May  9  2007 costings
drwxr-xr-x   6 root root 4096 May  9  2007 daceasy
lrwxrwxrwx   1 root root   22 Mar  5  2008 hee -> /mnt/newdisk/ibays/hee
drwxr-xr-x   6 root root 4096 May  9  2007 import
drwxr-xr-x   6 root root 4096 May  9  2007 managers
drwxr-xr-x   6 root root 4096 Oct 15  2007 manhour
lrwxrwxrwx   1 root root   27 Feb 26  2008 namecard -> /mnt/newdisk/ibays/namecard
drwxr-xr-x   6 root root 4096 May  9  2007 parts
drwxr-xr-x   6 root root 4096 Mar 30  2008 permata
drwxr-xr-x   5 root root 4096 May 16  2007 Primary
drwxr-xr-x   6 root root 4096 May  9  2007 reports
drwxr-xr-x   6 root root 4096 May  9  2007 sales
drwxr-xr-x   6 root root 4096 May  9  2007 sharedata
drwxr-xr-x   6 root root 4096 Oct 15  2007 shpg_docs
drwxr-xr-x   6 root root 4096 Oct 15  2007 stock
[root@sme1 ~]# cd /mnt/newdisk/ibays/account
-bash: cd: /mnt/newdisk/ibays/account: Not a directory
[root@sme1 ~]# [root@sme1 ~]# cd /mnt/newdisk/ibays/account
-bash: [root@sme1: command not found
[root@sme1 ~]# -bash: cd: /mnt/newdisk/ibays/account: Not a directory
-bash: -bash:: command not found
[root@sme1 ~]#
I do not see any @ in a folder name.
Why are the symlinks there? Is the target they are linked to mounted?
Title: Re: Can not access ibays
Post by: raycheng on December 11, 2008, 02:16:06 AM
thank again, the @ or * can only be seen when using mc & yes the newdisk/ibays/account is on a mounted drive. The only strange thing is that , the account folder can't access , but the other which are without @ sign hee and namecard are able to access normally . will it help if I forward the boot log to you?

Raymond :P
Title: Re: Can not access ibays
Post by: cactus on December 11, 2008, 09:12:16 AM
thank again, the @ or * can only be seen when using mc & yes the newdisk/ibays/account is on a mounted drive.
Ah, ok, you were using midnight commander.

The only strange thing is that , the account folder can't access , but the other which are without @ sign hee and namecard are able to access normally .
Perhaps a privileges/onership problem? What is the output of
Code: [Select]
ls -la /mnt/newdisk/ibays/
will it help if I forward the boot log to you?
No I don't think we find any clues there as you mention that other folders on the mounted drive are accessible.
Title: Re: Can not access ibays
Post by: raycheng on December 11, 2008, 12:59:16 PM
I see that account folder is not root root , but root www, is that the problem? what can do ?

[root@sme1 ~]# ls -la /mnt/newdisk/ibays/
total 208
drwxr-xr-x  7 root  root           4096 Dec 10 13:22 .
drwxr-xr-x  5 root  root           4096 Mar  5  2008 ..
-rwxrw----  1 root  www          184320 May 20  2008 account
drwxr-xr-x  6 root  root           4096 Jun 27 17:17 dacbackup
drwxr-xr-x  6 root  root           4096 Aug  6 12:48 hee
drwxrwxr-x  5 admin address_book   4096 Feb 26  2008 namecard
drwxr-xr-x  5 root  root           4096 Dec 10 13:30 service

Title: Re: Can not access ibays
Post by: cactus on December 11, 2008, 02:03:45 PM
I see that account folder is not root root , but root www, is that the problem?
No I don't think so as it seems that the permissions are wrong (as well):

Code: [Select]
-rwxrw----  1 root  www          184320 May 20  2008 account
What happens after you do:
Code: [Select]
chmod 755 /mnt/newdisk/ibays/account
Title: Re: Can not access ibays
Post by: raycheng on December 11, 2008, 02:42:48 PM


[root@sme1 ~]# chmod 755 /mnt/newdisk/ibays/account
chmod: changing permissions of `/mnt/newdisk/ibays/account': Read-only file system

Title: ibay access error
Post by: raycheng on December 12, 2008, 02:48:31 AM
Hi  :lol:
any good new, for problem , thks
Title: Re: ibay access error
Post by: cactus on December 12, 2008, 08:51:58 AM
Hi  :lol:
any good new, for problem , thks
Sorry, I do not understand above. Could you perhaps clarify?
Title: Re: Can not access ibays
Post by: raycheng on December 12, 2008, 11:27:39 AM
thanks, I tried to chmod , below is result that the account folder is a Read only file system.

[root@sme1 ~]# chmod 755 /mnt/newdisk/ibays/account
chmod: changing permissions of `/mnt/newdisk/ibays/account': Read-only file system
Title: Re: Can not access ibays
Post by: cactus on December 12, 2008, 11:30:17 AM
thanks, I tried to chmod , below is result that the account folder is a Read only file system.

[root@sme1 ~]# chmod 755 /mnt/newdisk/ibays/account
chmod: changing permissions of `/mnt/newdisk/ibays/account': Read-only file system
And what when you retry it after this:
Code: [Select]
chown root:root /mnt/newdisk/ibays/account
Title: Re: Can not access ibays
Post by: Stefano on December 12, 2008, 12:16:02 PM
chmod: changing permissions of `/mnt/newdisk/ibays/account': Read-only file system

please.. post your fstab file and the result of
Code: [Select]
mount

ciao
Stefano
Title: Re: Can not access ibays
Post by: raycheng on December 12, 2008, 03:58:51 PM

still the same, can't access, I am really worry now, hope you could help . thanks

[root@sme1 ibays]# chown root:root /mnt/newdisk/ibays/account
[root@sme1 ibays]# cd account
-bash: cd: account: Not a directory
[root@sme1 ibays]#

Title: Re: Can not access ibays
Post by: cactus on December 12, 2008, 04:07:07 PM
still the same, can't access, I am really worry now, hope you could help . thanks

[root@sme1 ibays]# chown root:root /mnt/newdisk/ibays/account
[root@sme1 ibays]# cd account
-bash: cd: account: Not a directory
[root@sme1 ibays]#
What is your working directory? Did you already try removing the symlink and recreating it? What is the answer to nenonano's post?
Title: Re: Can not access ibays
Post by: raycheng on December 12, 2008, 04:18:20 PM
I did not do anything to it , it just happen when I found that i can't add or remove any files or folder from this directory. could sent the link to nenonano's post.
thanks

Title: Re: Can not access ibays
Post by: cactus on December 12, 2008, 04:19:40 PM
I did not do anything to it , it just happen when I found that i can't add or remove any files or folder from this directory. could sent the link to nenonano's post.
thanks
The one previous to mine, look,I think you can look that one up yourself, it is in this thread.
Title: Re: Can not access ibays
Post by: raycheng on December 13, 2008, 02:30:33 AM
hi, can't find any answer from nenonano's post , any other thread or anyone you know that could seek help.
Title: Re: Can not access ibays
Post by: cactus on December 13, 2008, 07:52:14 AM
hi, can't find any answer from nenonano's post , any other thread or anyone you know that could seek help.
Sigh, come on. Read. It is a post in this thread, I do not think that is to hard to find: http://forums.contribs.org/index.php/topic,42852.msg202922.html#msg202922
Title: Re: Can not access ibays
Post by: mmccarn on December 13, 2008, 04:38:52 PM
Summary

Advice

In your NEXT post
Title: Re: Can not access ibays
Post by: raycheng on December 14, 2008, 06:59:27 AM
sorry for all the trouble , I will get back to all of you as I do not have access to the server during the week end.
1. I cannot access the account ibays , in whatever ways i try to. as you can see it prompt that it was not a directory.
2. few days ago when account ibays was accessable , the error was diskspace low and I cannot add , rename , create files but able to read.
I m still very new to SME , appreciate all your help and I m willing to learn as much as i can to contribute back to this forum.
thanks again
Title: How to edit fstab in Repair filesystem shell
Post by: raycheng on December 17, 2008, 07:02:25 PM
Sorry to trouble again,

Problem : Server bootup error , wrong filesystem.
1. can't edit fstab , read only
2. can't chmod from the Repair filesystem shell
Question : how to force chmod on fstab on Repair filesystem shell.

appreciate your help , thank very much from fresh meat

Title: Re: How to edit fstab in Repair filesystem shell
Post by: cactus on December 17, 2008, 07:32:12 PM
Sorry to trouble again,

Problem : Server bootup error , wrong filesystem.
1. can't edit fstab , read only
2. can't chmod from the Repair filesystem shell
Question : how to force chmod on fstab on Repair filesystem shell.

appreciate your help , thank very much from fresh meat
If you have another problem, please open a new thread and be as detailed as possible. Do not use one thread for multiple (unrelated) problems