Can not access HDA

coder
Posts: 9
Joined: Thu Jul 09, 2009 5:53 am

Can not access HDA

Postby coder » Mon Jul 20, 2009 7:18 am

I thought I would configure the Fedora firewall, after enabling it I lost the internet
on a client PC, so I disabled the firewall. Internet is back but I can't access HDA
from the remote PC. Before I make this worse can someone bail me out or do I
have to reinstall Amahi?

bsk
Posts: 280
Joined: Sun May 03, 2009 7:18 pm
Location: Tennessee
Contact:

Re: Can not access HDA

Postby bsk » Mon Jul 20, 2009 7:42 am

You should not have to reinstall, and by Fedora firewall, do you mean SELinux or what exactly do you mean?
Having problems with connecting to the internet? Try the Network Troubleshooter.

Not sure what your Gateway IP? Head on over to the Find Your Gateway IP page to find out easily.

Image

coder
Posts: 9
Joined: Thu Jul 09, 2009 5:53 am

Re: Can not access HDA

Postby coder » Mon Jul 20, 2009 8:44 am

The access to the HDA through IE is OK. If I try to use the Run command with
user name and pw or windows explorer I get an access denied message. I know
the user name and pw are good. The firewall (System > Administration > Firewall)
is the only settings that my have changed.

Thanks
Dan

bsk
Posts: 280
Joined: Sun May 03, 2009 7:18 pm
Location: Tennessee
Contact:

Re: Can not access HDA

Postby bsk » Mon Jul 20, 2009 8:46 am

Did you just install amahi? or has it been installed for a good amount of time?

Also has everything worked before the firewall enabling?
Having problems with connecting to the internet? Try the Network Troubleshooter.

Not sure what your Gateway IP? Head on over to the Find Your Gateway IP page to find out easily.

Image

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Can not access HDA

Postby cpg » Mon Jul 20, 2009 10:05 am

The access to the HDA through IE is OK. If I try to use the Run command with
user name and pw or windows explorer I get an access denied message. I know
the user name and pw are good. The firewall (System > Administration > Firewall)
is the only settings that my have changed.

Thanks
Dan
dan,

there is a problem with the first user in a system. the password needs to be changed for the first user, *in the Amahi users tab*.

we are talking about the one user created by the fedora installer.

with windows explorer, can you go to your network neighborhood and access your hda?
can you try accessing \\hda from the file browser (not the web browser) ?
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

coder
Posts: 9
Joined: Thu Jul 09, 2009 5:53 am

Re: Can not access HDA

Postby coder » Mon Jul 20, 2009 3:13 pm

I am the one and only user. I have changed the password several times. At this
point I can see the shares in My Network Places, but I get access denied for
every share. The shares are set to everyone and writeable in the shares tab.
I have had this installation for 23 days. I have never been able to access the
shares from windows file explore. I am using XP Home.This is driving me nuts

Thanks
Dan

coder
Posts: 9
Joined: Thu Jul 09, 2009 5:53 am

Re: Can not access HDA - Update

Postby coder » Tue Jul 21, 2009 6:12 am

After another password change plus restarts for client and server, XP client can
now access the shares with file manager. I can copy and paste documents/pictures into
the shares and view them, but I dont see the html/log folders in my webapp TestPage
share that I created. Any thoughts?

Thanks
Dan

bsk
Posts: 280
Joined: Sun May 03, 2009 7:18 pm
Location: Tennessee
Contact:

Re: Can not access HDA

Postby bsk » Tue Jul 21, 2009 6:24 am

Did you create the share and then create the web-app to reflect it? If so it will not show them, just make them. I made a web-app the other day without creating a share and all was well, html and logs were there, not sure if it shows in the shares as I have not checked.

Try creating another web-app but do not create a share for it. Also shares point to /var/hda/files/sharename as web-apps point to /var/hda/web-apps/appname and then have the html/ and logs/ inside there.
Having problems with connecting to the internet? Try the Network Troubleshooter.

Not sure what your Gateway IP? Head on over to the Find Your Gateway IP page to find out easily.

Image

coder
Posts: 9
Joined: Thu Jul 09, 2009 5:53 am

Re: Can not access HDA

Postby coder » Tue Jul 21, 2009 7:39 am

I was opening the shares TestPage not webapp TestPage. When I try to view the webapp TestPage folder I get access denied. The permissions on the var/hda/web-apps/testpage
path have been changed. Any ideas?

Thanks
Dan

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Can not access HDA

Postby cpg » Tue Jul 21, 2009 9:47 am

the permisions for the webapps are probably apache and i think group apache or group users (can you confirm this?), which regular users may not be able to write.

you should made them writable by hand:

Code: Select all

cd /var/hda/web-apps/testpage/ chmod o+w -R html/
what we can do here is do this automatically for new webapps. can you file a bug report for these in http://bugs.amahi.org/projects/amahi/issues/new ?

thanks
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 58 guests