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

Title: Adding a new hardisk, problem accessing the ibays from the browser
Post 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.
 
Title: Re: Adding a new hardisk, problem accessing the ibays from the browser
Post by: Per on June 22, 2009, 03:33:59 PM
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:
Quote
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).
Title: Re: Adding a new hardisk, problem accessing the ibays from the browser
Post by: linuxgurumaniac on June 23, 2009, 09:49:42 AM
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.
Title: Re: Adding a new hardisk, problem accessing the ibays from the browser
Post by: Per on June 23, 2009, 10:34:07 AM
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.
Title: Re: Adding a new hardisk, problem accessing the ibays from the browser
Post by: janet on June 23, 2009, 10:55:27 AM
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
Title: Re: Adding a new hardisk, problem accessing the ibays from the browser
Post by: linuxgurumaniac on June 23, 2009, 02:19:59 PM
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.

Code: [Select]
<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.
Title: Re: Adding a new hardisk, problem accessing the ibays from the browser
Post by: linuxgurumaniac on June 29, 2009, 11:52:59 AM
hey guys still waiting for your help  :sad: