Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: linuxgurumaniac on June 22, 2009, 09:16:05 AM
-
hi to all,
I'm still new to linux and to sme server in general.
I added a new hardisk to my server following the instruction of the http://wiki.contribs.org/AddExtraHardDisk (http://wiki.contribs.org/AddExtraHardDisk) howto.
I moved the "home/e-smith/files" directory completely to new disk, and followed the howto step by step,
but now i can't access the ibay's from my browser unless i change there direction from "httpd.conf"
to point directly to the new harddisk, i know that this a SymLinks issue but i was unable to solve it.
hope someone can help out.
thanks in advance.
-
Well, moving everything in that directory to another disk in that way are probably a very bad idea. Besides ibays, there are some other things that belongs to the system itself and it's likely that it will break something.
HowTo:It's intended for special purposes only where you can benefit from mounting a dedicated harddrive to an ibay.
I'm not shure of what you want to achieve but I suppose you wanted to move your whole content to another harddrive. If so, I think this would be a better approach:
1. Make a complete backup using "Backup to LAN workstation" and then verify the backup to be shure.
2. Reinstall your server with the new hdd(-s) in place, and configure backup details.
3. Restore the old content from the backup.
But, in your case with a server that's already broken, you have to restore from an old backup.
If that's not available, I would pull out the new harddrive, mount it in another computer (or USB-box) and try to save whats left to be saved.
I know it's not answering your question about symlinks, but I think you are out in deep water if you go any further in that direction (and well beyond my knowledge).
-
Dear Per,
I'm not having any other problems with the system,
I can access all the other features from the browser,
take notice that I only moved the data not the configuration,
I had to move to a bigger space.
So I'm more then sure that my problem is simply in the apache
configuration file, since like i mentioned before that when i point
apache to the new harddisk it works fine.
Regards.
-
Ah, great!
I'm sorry, I can't help you there.
But even if you get it to work, I still think it's a volatile solution that's prone get you more headache in the future.
-
linuxgurumaniac
Did you issue these commands as per the howto ?
(replacing IBAYNAME with the actual ibayname)
db accounts setprop IBAYNAME FollowSymLinks enabled
signal-event ibay-modify IBAYNAME
reboot
-
Thanks for your help dear Per.
Dear Mary,
I did that first time i moved to the new directory, and tested
on the primary Ibay, and this is the created configuration
in the "httpd.conf" regarding the Primary Ibay.
<Directory /home/e-smith/files/ibays/Primary/html>
Options None
Options +Indexes
Options +FollowSymLinks
Options +Includes
AllowOverride None
order deny,allow
deny from all
allow from all
</Directory>
<Directory /home/e-smith/files/ibays/Primary/cgi-bin>
Options ExecCGI
AllowOverride None
order deny,allow
deny from all
allow from all
</Directory>
<Directory /home/e-smith/files/ibays/Primary/files>
AllowOverride None
order deny,allow
deny from all
allow from all
</Directory>
Regards.
-
hey guys still waiting for your help :sad: