em in my cluster
servers (fedora-linux) ?
--- On Thu, 8/21/08, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote:
From: Mr. Shawn H. Corey <[EMAIL PROTECTED]>
Subject: Re: What is wrong with this script ??
To: "Perry Smith" <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], beginners@p
!!!
jmaan
--- On Thu, 8/21/08, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote:
From: Mr. Shawn H. Corey <[EMAIL PROTECTED]>
Subject: Re: What is wrong with this script ??
To: "Perry Smith" <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], beginners@perl.org
Date: Thursday, Augu
On Thu, 21 Aug 2008 08:35:28 -0700, Jyotishmaan Ray wrote:
>
> Let me try out till I received a reply from your end.
>
> At first what i did was manually created the a dir using
>
> mkdir s08-1-5-097
>
> then
>
> i typed
>
> id s08-1-5-097
>
> And then typed the command:-
>
> chown 3053:3
Jyotishmaan Ray wrote:
>
> Wolf, that comes later, now i have to find out the solution of this problem.
> Any pointers ??
This is not a Perl problem as has been said several times. Since you don't even
have the courtesy to bottom-post your responses as requested I am not inclined
to help you furt
Wolf, that comes later, now i have to find out the solution of this problem.
Any pointers ??
--- On Thu, 8/21/08, Wolf <[EMAIL PROTECTED]> wrote:
From: Wolf <[EMAIL PROTECTED]>
Subject: Re: What is wrong with this script ??
To: [EMAIL PROTECTED]
Cc: beginners@perl.org
Da
er. In bothe cases the uidNumber and gidNumber was used but then why
> in the latter case it is not showing up??
>
>
> Any pointers ??
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --- On Thu, 8/21/08, Wolf <[EMAIL PROTECTED]> wrote:
> From: Wolf <[EMAIL PROTECTED]>
se it is not showing up??
Any pointers ??
--- On Thu, 8/21/08, Wolf <[EMAIL PROTECTED]> wrote:
From: Wolf <[EMAIL PROTECTED]>
Subject: Re: What is wrong with this script ??
To: [EMAIL PROTECTED]
Cc: beginners@perl.org
Date: Thursday, August 21, 2008, 8:05 PM
J
you so much everybody
Three cheers!!
--- On Thu, 8/21/08, Wolf <[EMAIL PROTECTED]> wrote:
From: Wolf <[EMAIL PROTECTED]>
Subject: Re: What is wrong with this script ??
To: [EMAIL PROTECTED]
Cc: beginners@perl.org
Date: Thursday, August 21, 2008, 8:05 PM
Jyotishmaan
Jyotishmaan Ray <[EMAIL PROTECTED]> wrote:
>
> No it does nt work out as shown below:-
>
>
> [EMAIL PROTECTED] perl]# chown s08-1-5-095:s08-1-5-095 /root/perl/s08-1-5-095
> chown: `s08-1-5-095:s08-1-5-095': invalid group
> [EMAIL PROTECTED] perl]# chown $s08-1-5-095:$s08-1-5-095
> /root/p
t;[EMAIL PROTECTED]> wrote:
From: Wolf <[EMAIL PROTECTED]>
Subject: Re: What is wrong with this script ??
To: [EMAIL PROTECTED]
Cc: beginners@perl.org, "Mr. Shawn H. Corey" <[EMAIL PROTECTED]>, "Perry Smith"
<[EMAIL PROTECTED]>
Date: Thursday, August 21, 20
Hello Perry,
Thanks a lot for replying my mail again.
Please find the answers of your questions below one by one.
--- On Thu, 8/21/08, Perry Smith <[EMAIL PROTECTED]> wrote:
From: Perry Smith <[EMAIL PROTECTED]>
Subject: Re: What is wrong with this script ??
To: [EMAIL P
try using:
chown $id:$gid $dir
so that it would be
chown 3051:3051 /home/users/s01-5-097 (or whatever)
HTH,
Wolf
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hello Perry,
Thanks a lot for replying my mail again.
Please find the answers of your questions below one by one.
--- On Thu, 8/21/08, Perry Smith <[EMAIL PROTECTED]> wrote:
From: Perry Smith <[EMAIL PROTECTED]>
Subject: Re: What is wrong with this script ??
To: [EMAIL P
ownsership are not shown or changed by the commnds given
in the script ?
Whats wrong, do let me know ?
Any pointers ??
--- On Wed, 8/20/08, Perry Smith <[EMAIL PROTECTED]> wrote:
From: Perry Smith <[EMAIL PROTECTED]>
Subject: Re: What is wrong with this script ??
To: "Mr. Shawn
Hi Jyotishmaan,
Jyotishmaan Ray wrote:
Give some pointers as such to sort out this problem in my cluster servers
(fedora-linux) ?
As a suggestion, it sounds to me that your problem is not related to
Perl and perhaps you're asking the wrong mailing list. All Perl can do
for you is take
Give some pointers as such to sort out this problem in my cluster servers
(fedora-linux) ?
--- On Thu, 8/21/08, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote:
From: Mr. Shawn H. Corey <[EMAIL PROTECTED]>
Subject: Re: What is wrong with this script ??
To: "Perry Smith"
Please find the answers of your questions/ confusions that you raised, as
embedded below
--- On Thu, 8/21/08, Perry Smith <[EMAIL PROTECTED]> wrote:
From: Perry Smith <[EMAIL PROTECTED]>
Subject: Re: What is wrong with this script ??
To: [EMAIL PROTECTED]
Cc: "Mr. Shawn
On Wed, 2008-08-20 at 17:25 -0500, Perry Smith wrote:
> I would first verify that you can do what you need to do with one
> individual directory from the shell. i.e. make sure you can chown,
> chgrp, and chmod -- what ever other commands you are needing to do.
On many *NIX systems, commands like
Jyotishmaan Ray wrote:
>
> All the users have been created through LIDF files format being imported to
> the central LDAP server in the setup. The hopme directories are being created
> for the students to work on their asignements etc.
>
> The why the ownsership are not shown or changed by the c
?
Whats wrong, do let me know ?
Any pointers ??
--- On Wed, 8/20/08, Perry Smith <[EMAIL PROTECTED]> wrote:
From: Perry Smith <[EMAIL PROTECTED]>
Subject: Re: What is wrong with this script ??
To: "Mr. Shawn H. Corey" <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], beginn
`mkdir "$homedir"; chmod 700 "$homedir";` if(! -e $homedir);
}
close(FH);
what could be wrong with the script ?
--- On Wed, 8/20/08, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote:
From: Mr. Shawn H. Corey <[EMAIL PROTECTED]>
Subject: Re: What is wrong with this sc
On Wed, 2008-08-20 at 06:11 -0700, Jyotishmaan Ray wrote:
> Yes, a user uid has already been created in aLDAP server which does
> centralised authentication.
>
> And these home directories were created on a clusetr server machine for
> students to work out theur assignments etc.
Then you have
Perry Smith <[EMAIL PROTECTED]>
Subject: Re: What is wrong with this script ??
To: "Mr. Shawn H. Corey" <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], beginners@perl.org
Date: Wednesday, August 20, 2008, 6:00 PM
On Aug 20, 2008, at 7:20 AM, Mr. Shawn H. Corey wrote:
> On
On Aug 20, 2008, at 7:20 AM, Mr. Shawn H. Corey wrote:
On Wed, 2008-08-20 at 05:16 -0700, Jyotishmaan Ray wrote:
Dear All,
I have a input file containing all the rolnos of 400 studenst. I
have written a small perl script to create their home directories
in the cluster server.
everything
On Wed, 2008-08-20 at 05:16 -0700, Jyotishmaan Ray wrote:
> Dear All,
>
> I have a input file containing all the rolnos of 400 studenst. I have written
> a small perl script to create their home directories in the cluster server.
>
> everything worked fine except for the reason that, it shows u
Depending on your server the error could be that the group doesn't exist i.e.
on unix you would need to add the groups to /etc/group first.
-Original Message-
From: Jyotishmaan Ray [mailto:[EMAIL PROTECTED]
Sent: 20 August 2008 13:17
To: beginners@perl.org
Subject: What is wrong with th
Hello Harry,
hpdb cp'ing ./dir1/2765 => ./tmp/001
Failed to copy ./dir1/2765 => ./tmp/001: No such file or directory
at ./renum2.pl line 111
I didn't want to read the entire script (a triffle busy ;p) but perhaps
File::Copy::Recursive (IE dircopy()) will help.
Then if the file na
Harry Putnam wrote:
#!/usr/local/bin/perl -w
@directories = ("./dir1", "./dir2");
for(@directories) {
opendir(WRK_DIR,"$_");
opendir(WRK_DIR,$_) or die "cannot opendir $_: $!\n";
chdir $_;
chdir $_ or die "cannot chdir $_: $!\n";
# This fails for the second directory since it chdir to
Harry Putnam wrote:
That formula did'nt do it either but it did show a different error
that throws some light on this.
Notice the first file is the directory name
hpdb cp'ing ./dir1 => tmp/001
Failed to copy ./dir1 =>
tmp/001: Is a directory at ./renum2.pl line 113
Thats why copy i
Shawn Corey <[EMAIL PROTECTED]> writes:
> When File::Find goes looking for files, it chdir's to each directory
> its looking in. When it's in ./dir1, there is no ./dir1/tmp to copy
> files into, so you get an error. Change your calling sequence of
> find() to:
>
> find( { wanted => \&wanted, no_
Shawn Corey <[EMAIL PROTECTED]> writes:
> When File::Find goes looking for files, it chdir's to each directory
> its looking in. When it's in ./dir1, there is no ./dir1/tmp to copy
> files into, so you get an error. Change your calling sequence of
> find() to:
>
> find( { wanted => \&wanted, no_
> I'm already bald so don't have the luxury of pulling hair over this.
[...]
> $new = $tmpdir."/".$new;
> $oldf = $File::Find::name;
> print "hpdb cp\'ing $oldf => $new\n";
> copy($oldf, $new)
> or die "Failed to copy $oldf => $new: $!";
> }
I figured out the sour
Harry Putnam wrote:
I'm already bald so don't have the luxury of pulling hair over this.
I don't understand the error ouput or maybe I could get somewhere with
this. Pouring over perldoc File::Copy isn't helping either... I
think the error is before that but can't see what.
The end result of
"errors out via the web" What error message do you get? Is there anything in
the Apache error logs that's relevant?
Does the web server account have write access to the ipaccess.log file?
John
-Original Message-
From: Michael Pratt [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2002 11:44
hmmm, I have testet the script on a machine with perl 5.6 and there it
worked. Is the format definitions different in perl 4?
Alexander
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
As it is, it should work. The error is not always on the line that it is
complaining about. Syntax errors such as missing " of ) or } etc. will cause
perl to report errors further down the script. Did you check the rest of the
script? Or, if you want to send your script we can look at it.
|-
36 matches
Mail list logo