Home > Archive > PERL Beginners > October 2006 > Reading files over local network
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Reading files over local network
|
|
|
| Hi all,
I have apache 2.2.3 and Active Perl 5.8.8 installed on one of my local
XP machines..
I write simple Perl programs to do all kinds of task, but I'm just a
Perl hackl.
I wrote a Perl program that fetches shopping cart orders from my web
server and integrates/imports them into Quickbooks. I also stash older
orders on my local network here at home and I have to go look at them
once in a while.
I have a Buffalo 500GB network storage drive that I archive old orders
on and I want to be able to go out on my local network to look at the
old orders.
I can fetch old orders from the C: drive of my local Apaches/Perl
machine but I can't seem to go out to other computers on my local
network and fetch old order data. It's not my firewall blocking, I shut
it down to test.
Here's the error I get.
A serious error has occured. Cannot open
//Linkstation/share/customers/113987425 for reading : No such file or
directory .
The files do exist, the path is correct and this is not an Apache
error, so apache doesn't seem to be the problem.
Is there some sort of problem reading data over a local network that I
am not aware of? Is is a windows logon/user problem? I'm kind of stuck.
All computers on my network are XP boxes and I have placed data on all
of them and the Buffalo drive and tried to read it, but no go.
Thanks for any help.
| |
| nobull67@gmail.com 2006-10-22, 7:57 am |
| EL34 wrote:
> I can fetch old orders from the C: drive of my local Apaches/Perl
> machine but I can't seem to go out to other computers on my local
> network and fetch old order data.
> Is there some sort of problem reading data over a local network that I
> am not aware of? Is is a windows logon/user problem? I'm kind of stuck.
And you were so close. Yes, it's almost certainly a Windows logon/user
problem. Go to the services control panel Applet and configure the
Apache service to run under a user ID that does have the right to
access the files in question.
This, of course, has nothing to do with Perl.
| |
|
| >Go to the services control panel Applet and configure the
> apache service to run under a user ID that does have the right to
> access the files in question.
I am the administrator on all the machines and I use the same logon and
password on all machines. I can view the files with windows explorer on
all computers no problem under my login.
Sorry, should have mentioned I am the admin.
Were you assuming that I was using a restricted login?
I went into services/Apache 2.2.
The log on tab ask if I want to log on as
Local system account-This was ticked or you can fill in a new account
and password.
I only have one login account on all my machines, me the admin.
Any help is appreciated.
Thanks
nobull67@gmail.com wrote:
> EL34 wrote:
>
>
>
> And you were so close. Yes, it's almost certainly a Windows logon/user
> problem. Go to the services control panel Applet and configure the
> apache service to run under a user ID that does have the right to
> access the files in question.
>
> This, of course, has nothing to do with Perl.
| |
|
| Ok, I got it to work finally, here's how.
Apache 2.2 comes with a utility called apache monitor.
Apache monitor has a connect button.
You can browse your local network and then connect to other machines.
Apache would not connect to my other computers. I get an error message
"cannot connect to the remote registry on \\computername.
But I was able to connect to my Buffalo Linkstation network hard drive
which is where I want to connect anyway.
EL34 wrote:[color=darkred]
>
> I am the administrator on all the machines and I use the same logon and
> password on all machines. I can view the files with windows explorer on
> all computers no problem under my login.
>
> Sorry, should have mentioned I am the admin.
> Were you assuming that I was using a restricted login?
>
> I went into services/Apache 2.2.
> The log on tab ask if I want to log on as
> Local system account-This was ticked or you can fill in a new account
> and password.
>
> I only have one login account on all my machines, me the admin.
>
> Any help is appreciated.
> Thanks
>
>
>
> nobull67@gmail.com wrote:
|
|
|
|
|