Steve Strong
2005-Dec-08 22:31 UTC
[Fedora-directory-users] migrating from flat files to fedora directory...
... seems harder than I thought. I can''t get Ldapimport to do anything and it doesn''t display any errors and the old fedora 4 /usr/share/openldap/migration scripts all die with a message saying there is not "require" command. thanks in advance for the help, steve -- Steve Strong Math and Computer Science Washington High School 2205 Forest Dr. SE Cedar Rapids, IA 52403 http://crwash.org mailto:sstrong@crwash.org
Craig White
2005-Dec-08 22:38 UTC
Re: [Fedora-directory-users] migrating from flat files to fedora directory...
On Thu, 2005-12-08 at 16:31 -0600, Steve Strong wrote:> .... seems harder than I thought. I can''t get Ldapimport to do anything > and it doesn''t display any errors and the old fedora 4 > /usr/share/openldap/migration scripts all die with a message saying > there is not "require" command.---- can''t help with LdapImport ... migration scripts have always worked for me... did you edit migrate_common.ph for your specific situation? try running ./migrate_passwd /etc/passwd > passwd.ldif how does that look? Error...post the entire error. Craig
Del
2005-Dec-10 06:38 UTC
Re: [Fedora-directory-users] migrating from flat files to fedora directory...
Steve Strong wrote:> ... seems harder than I thought. I can''t get Ldapimport to do anything > and it doesn''t display any errors and the old fedora 4What do you mean "do anything"? The first question it asks you is "Log file name [LdapImport.log] ?". Do you get that far or does it crash before then? It sounds like you may not have perl installed. What sort of system are you running on? -- Del
Steve Strong
2005-Dec-10 16:47 UTC
Re: [Fedora-directory-users] migrating from flat files to fedora directory...
perl is installed on RHEL 4.
I have checked all of the requirements, downloaded Delta.pm, created a
directory
in the LdapImport directory and placed Delta.pm in it, cd''ed to the
LdapImport
directory and executed this at the command line:
perl -w LdapImport.pl
here''s what I got:
[root@stretch
<javascript:open_compose_win(''to=root%40stretch&thismailbox=sent-mail'');>
LdapImport]# perl -w LdapImport.pl
Unquoted string "html" may clash with future reserved word at
Log/Delta.pm line
2, <DATA> line 225.
Unquoted string "rel" may clash with future reserved word at
Log/Delta.pm line
4, <DATA> line 225.
Bareword found where operator expected at Log/Delta.pm line 4, near
""stylesheet" href"
(Missing operator before href?)
Unquoted string "href" may clash with future reserved word at
Log/Delta.pm line
4, <DATA> line 225.
Bareword found where operator expected at Log/Delta.pm line 4, near
""/s/style.css" type"
(Missing operator before type?)
Unquoted string "type" may clash with future reserved word at
Log/Delta.pm line
4, <DATA> line 225.
Unquoted string "title" may clash with future reserved word at
Log/Delta.pm line
6, <DATA> line 225.
Unquoted string "search" may clash with future reserved word at
Log/Delta.pm
line 6, <DATA> line 225.
Unquoted string "cpan" may clash with future reserved word at
Log/Delta.pm line
6, <DATA> line 225.
Unquoted string "org" may clash with future reserved word at
Log/Delta.pm line
6, <DATA> line 225.
Unquoted string "information" may clash with future reserved word at
Log/Delta.pm line 6, <DATA> line 225.
Bareword found where operator expected at Log/Delta.pm line 7, near
"</head"
(Might be a runaway multi-line // string starting on line 6)
(Missing operator before head?)
Unquoted string "head" may clash with future reserved word at
Log/Delta.pm line
7, <DATA> line 225.
Unquoted string "center" may clash with future reserved word at
Log/Delta.pm
line 9, <DATA> line 225.
Bareword found where operator expected at Log/Delta.pm line 9, near
"/a></div"
(Missing operator before div?)
Unquoted string "div" may clash with future reserved word at
Log/Delta.pm line
9, <DATA> line 225.
Bareword found where operator expected at Log/Delta.pm line 11, near "<a
href="/">Home"
(Missing operator before Home?)
Bareword found where operator expected at Log/Delta.pm line 12, near
"·
<a href="/author"
(Might be a runaway multi-line // string starting on line 11)
(Missing operator before author?)
Unquoted string "author" may clash with future reserved word at
Log/Delta.pm
line 12, <DATA> line 225.
Unquoted string "recent" may clash with future reserved word at
Log/Delta.pm
line 13, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 14, near
"· <a
href=""
(Might be a runaway multi-line "" string starting on line 13)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 14, near
"·
<a href="http"
(Missing operator before http?)
Unquoted string "http" may clash with future reserved word at
Log/Delta.pm line
14, <DATA> line 225.
Warning: Use of "log" without parentheses is ambiguous at Log/Delta.pm
line 14,
<DATA> line 225.
Unquoted string "perl" may clash with future reserved word at
Log/Delta.pm line
14, <DATA> line 225.
Unquoted string "org" may clash with future reserved word at
Log/Delta.pm line
14, <DATA> line 225.
Unquoted string "cpansearch" may clash with future reserved word at
Log/Delta.pm
line 14, <DATA> line 225.
Unquoted string "mirror" may clash with future reserved word at
Log/Delta.pm
line 15, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 16, near
"· <a
href=""
(Might be a runaway multi-line "" string starting on line 15)
(Missing semicolon on previous line?)
Unquoted string "faq" may clash with future reserved word at
Log/Delta.pm line
16, <DATA> line 225.
Unquoted string "html" may clash with future reserved word at
Log/Delta.pm line
16, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 17, near
"· <a
href=""
(Might be a runaway multi-line "" string starting on line 16)
(Missing semicolon on previous line?)
Unquoted string "feedback" may clash with future reserved word at
Log/Delta.pm
line 17, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 19, near
"<form
method=""
(Might be a runaway multi-line "" string starting on line 17)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 19, near
"<form
method="get"
(Missing operator before get?)
Unquoted string "get" may clash with future reserved word at
Log/Delta.pm line
19, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 19, near
"get"
action=""
Unquoted string "search" may clash with future reserved word at
Log/Delta.pm
line 19, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 19, near
"search"
name=""
Bareword found where operator expected at Log/Delta.pm line 19, near
""
name="f"
(Missing operator before f?)
Unquoted string "f" may clash with future reserved word at
Log/Delta.pm
line 19,
<DATA> line 225.
String found where operator expected at Log/Delta.pm line 19, near "f"
class=""
Bareword found where operator expected at Log/Delta.pm line 19, near
""
class="searchbox"
(Missing operator before searchbox?)
Unquoted string "searchbox" may clash with future reserved word at
Log/Delta.pm
line 19, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 20, near
"<input
type=""
(Might be a runaway multi-line "" string starting on line 19)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 20, near
"<input
type="text"
(Missing operator before text?)
Unquoted string "text" may clash with future reserved word at
Log/Delta.pm line
20, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 20, near
"text"
name=""
Bareword found where operator expected at Log/Delta.pm line 20, near
""
name="query"
(Missing operator before query?)
Unquoted string "query" may clash with future reserved word at
Log/Delta.pm line
20, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 20, near
"query"
value=""
String found where operator expected at Log/Delta.pm line 20, near ""
value=""
size=""
(Missing operator before " size="?)
Number found where operator expected at Log/Delta.pm line 20, near ""
size="35"
(Missing operator before 35?)
String found where operator expected at Log/Delta.pm line 21, near
"<br>in
<select name=""
(Might be a runaway multi-line "" string starting on line 20)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 21, near
"<br>in
<select name="mode"
(Missing operator before mode?)
Unquoted string "mode" may clash with future reserved word at
Log/Delta.pm line
21, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 22, near
"<option
value=""
(Might be a runaway multi-line "" string starting on line 21)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 22, near
"<option
value="all"
(Missing operator before all?)
Unquoted string "all" may clash with future reserved word at
Log/Delta.pm line
22, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 23, near
"<option
value=""
(Might be a runaway multi-line "" string starting on line 22)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 23, near
"<option
value="module"
(Missing operator before module?)
Unquoted string "module" may clash with future reserved word at
Log/Delta.pm
line 23, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 24, near
"<option
value=""
(Might be a runaway multi-line "" string starting on line 23)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 24, near
"<option
value="dist"
(Missing operator before dist?)
Unquoted string "dist" may clash with future reserved word at
Log/Delta.pm line
24, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 25, near
"<option
value=""
(Might be a runaway multi-line "" string starting on line 24)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 25, near
"<option
value="author"
(Missing operator before author?)
Unquoted string "author" may clash with future reserved word at
Log/Delta.pm
line 25, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 26, near
"</select> <input type=""
(Might be a runaway multi-line "" string starting on line 25)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 26, near
"</select> <input type="submit"
(Missing operator before submit?)
Unquoted string "submit" may clash with future reserved word at
Log/Delta.pm
line 26, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 26, near
"submit"
value=""
Bareword found where operator expected at Log/Delta.pm line 26, near
""
value="CPAN"
(Missing operator before CPAN?)
Bareword found where operator expected at Log/Delta.pm line 30, near "<a
name="_top"
(Might be a runaway multi-line "" string starting on line 26)
(Missing operator before _top?)
String found where operator expected at Log/Delta.pm line 33, near "<a
href=""
(Might be a runaway multi-line "" string starting on line 30)
(Missing semicolon on previous line?)
Unquoted string "mlawren" may clash with future reserved word at
Log/Delta.pm
line 33, <DATA> line 225.
Unquoted string "mlawren" may clash with future reserved word at
Log/Delta.pm
line 34, <DATA> line 225.
Bareword found where operator expected at Log/Delta.pm line 38, near
"<div
style="float"
(Might be a runaway multi-line "" string starting on line 34)
(Missing operator before float?)
Unquoted string "float" may clash with future reserved word at
Log/Delta.pm line
38, <DATA> line 225.
Unquoted string "right" may clash with future reserved word at
Log/Delta.pm line
38, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 38, near
"right">Download: <a href=""
Unquoted string "authors" may clash with future reserved word at
Log/Delta.pm
line 38, <DATA> line 225.
Unquoted string "id" may clash with future reserved word at
Log/Delta.pm
line
38, <DATA> line 225.
Unquoted string "tar" may clash with future reserved word at
Log/Delta.pm line
38, <DATA> line 225.
Unquoted string "gz" may clash with future reserved word at
Log/Delta.pm
line
38, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 39, near
"<p><a
href=""
(Might be a runaway multi-line "" string starting on line 38)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 39, near
"<p><a
href="http"
(Missing operator before http?)
Unquoted string "http" may clash with future reserved word at
Log/Delta.pm line
39, <DATA> line 225.
Bareword found where operator expected at Log/Delta.pm line 39, near
"//www"
(Missing operator before www?)
Unquoted string "www" may clash with future reserved word at
Log/Delta.pm line
39, <DATA> line 225.
Unquoted string "annocpan" may clash with future reserved word at
Log/Delta.pm
line 39, <DATA> line 225.
Unquoted string "org" may clash with future reserved word at
Log/Delta.pm line
39, <DATA> line 225.
Unquoted string "lib" may clash with future reserved word at
Log/Delta.pm line
39, <DATA> line 225.
Unquoted string "pm" may clash with future reserved word at
Log/Delta.pm
line
39, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 42, near "<a
href=""
(Might be a runaway multi-line "" string starting on line 39)
(Missing semicolon on previous line?)
Unquoted string "src" may clash with future reserved word at
Log/Delta.pm line
42, <DATA> line 225.
Unquoted string "lib" may clash with future reserved word at
Log/Delta.pm line
42, <DATA> line 225.
Unquoted string "pm" may clash with future reserved word at
Log/Delta.pm
line
42, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 44, near "<a
name=""
(Might be a runaway multi-line "" string starting on line 42)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 44, near "<a
name="___top"
(Missing operator before ___top?)
String found where operator expected at Log/Delta.pm line 67, near
"name=""
(Might be a runaway multi-line "" string starting on line 44)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 67, near
"name="NAME"
String found where operator expected at Log/Delta.pm line 73, near
"name=""
(Might be a runaway multi-line "" string starting on line 67)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 73, near
"name="SYNOPSIS"
String found where operator expected at Log/Delta.pm line 87, near
"name=""
(Might be a runaway multi-line "" string starting on line 73)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 87, near
"name="DESCRIPTION"
String found where operator expected at Log/Delta.pm line 93, near
"name=""
(Might be a runaway multi-line "" string starting on line 87)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 93, near
"name="METHODS"
String found where operator expected at Log/Delta.pm line 97, near
"name=""
(Might be a runaway multi-line "" string starting on line 93)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 97, near
"name="new"
String found where operator expected at Log/Delta.pm line 103, near
"name=""
(Might be a runaway multi-line "" string starting on line 97)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 103, near
"name="l"
String found where operator expected at Log/Delta.pm line 109, near
"name=""
(Might be a runaway multi-line "" string starting on line 103)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 109, near
"name="as_string"
String found where operator expected at Log/Delta.pm line 115, near
"name=""
(Might be a runaway multi-line "" string starting on line 109)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 115, near
"name="REQUIRES"
String found where operator expected at Log/Delta.pm line 118, near
"<p><a
href=""
(Might be a runaway multi-line "" string starting on line 115)
(Missing semicolon on previous line?)
Unquoted string "perldoc" may clash with future reserved word at
Log/Delta.pm
line 118, <DATA> line 225.
Bareword found where operator expected at Log/Delta.pm line 118, near
"3A"
(Missing operator before A?)
Bareword found where operator expected at Log/Delta.pm line 118, near
"3AHiRes"
(Missing operator before AHiRes?)
String found where operator expected at Log/Delta.pm line 118, near
"AHiRes"
class=""
Bareword found where operator expected at Log/Delta.pm line 118, near
""
class="podlinkpod"
(Missing operator before podlinkpod?)
Unquoted string "podlinkpod" may clash with future reserved word at
Log/Delta.pm
line 118, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 122, near
"name=""
(Might be a runaway multi-line "" string starting on line 118)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 122, near
"name="SEE_ALSO"
String found where operator expected at Log/Delta.pm line 125, near
"<p>This
module was written for the Rekudos framework: <a href=""
(Might be a runaway multi-line "" string starting on line 122)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 125, near
"<p>This
module was written for the Rekudos framework: <a href="http"
(Missing operator before http?)
Unquoted string "http" may clash with future reserved word at
Log/Delta.pm line
125, <DATA> line 225.
Bareword found where operator expected at Log/Delta.pm line 125, near
"//rekudos"
(Missing operator before rekudos?)
Unquoted string "rekudos" may clash with future reserved word at
Log/Delta.pm
line 125, <DATA> line 225.
Unquoted string "net" may clash with future reserved word at
Log/Delta.pm line
125, <DATA> line 225.
Bareword found where operator expected at Log/Delta.pm line 125, near
""
class="podlinkurl"
(Missing operator before podlinkurl?)
Unquoted string "podlinkurl" may clash with future reserved word at
Log/Delta.pm
line 125, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 129, near
"name=""
(Might be a runaway multi-line "" string starting on line 125)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 129, near
"name="AUTHOR"
String found where operator expected at Log/Delta.pm line 135, near
"name=""
(Might be a runaway multi-line "" string starting on line 129)
(Missing semicolon on previous line?)
Possible unintended interpolation of @null in string at Log/Delta.pm
line 129,
<DATA> line 225.
Bareword found where operator expected at Log/Delta.pm line 135, near
"name="COPYRIGHT_AND_LICENSE"
String found where operator expected at Log/Delta.pm line 146, near
"<div
class=""
(Might be a runaway multi-line "" string starting on line 135)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 146, near
"<div
class="footer"
(Missing operator before footer?)
Unquoted string "footer" may clash with future reserved word at
Log/Delta.pm
line 146, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 147, near
"hosted by
<a href=""
(Might be a runaway multi-line "" string starting on line 146)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 147, near
"hosted by
<a href="http"
(Do you need to predeclare hosted?)
Unquoted string "http" may clash with future reserved word at
Log/Delta.pm line
147, <DATA> line 225.
Bareword found where operator expected at Log/Delta.pm line 147, near
"//www"
(Missing operator before www?)
Unquoted string "www" may clash with future reserved word at
Log/Delta.pm line
147, <DATA> line 225.
Unquoted string "perl" may clash with future reserved word at
Log/Delta.pm line
147, <DATA> line 225.
Unquoted string "org" may clash with future reserved word at
Log/Delta.pm line
147, <DATA> line 225.
Unquoted string "siteinfo" may clash with future reserved word at
Log/Delta.pm
line 147, <DATA> line 225.
Unquoted string "html" may clash with future reserved word at
Log/Delta.pm line
147, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 148, near "<a
href=""
(Might be a runaway multi-line "" string starting on line 147)
(Missing semicolon on previous line?)
Bareword found where operator expected at Log/Delta.pm line 148, near
"<a
href="http"
(Missing operator before http?)
Unquoted string "http" may clash with future reserved word at
Log/Delta.pm line
148, <DATA> line 225.
Bareword found where operator expected at Log/Delta.pm line 148, near
"//www"
(Missing operator before www?)
Unquoted string "www" may clash with future reserved word at
Log/Delta.pm line
148, <DATA> line 225.
Unquoted string "bizrate" may clash with future reserved word at
Log/Delta.pm
line 148, <DATA> line 225.
Unquoted string "com" may clash with future reserved word at
Log/Delta.pm line
148, <DATA> line 225.
String found where operator expected at Log/Delta.pm line 148, near
"com"><img
src=""
Bareword found where operator expected at Log/Delta.pm line 148, near
"s/img/bizrate_logo.png"></a"
Unquoted string "a" may clash with future reserved word at
Log/Delta.pm line
148, <DATA> line 225.
Number found where operator expected at Log/Delta.pm line 150, near "8
21"
(Missing operator before 21?)
Number found where operator expected at Log/Delta.pm line 150, near "08
2005"
(Missing operator before 2005?)
Bareword found where operator expected at Log/Delta.pm line 150, near
"2005 GMT"
(Missing operator before GMT?)
Array found where operator expected at Log/Delta.pm line 150, at end of line
(Missing operator before ?)
Search pattern not terminated at Log/Delta.pm line 152, <DATA> line 225.
Compilation failed in require at LdapConnectionManager.pm line 64,
<DATA> line
225.
BEGIN failed--compilation aborted at LdapConnectionManager.pm line 64,
<DATA>
line 225.
Compilation failed in require at LdapImport.pl line 34, <DATA> line 225.
BEGIN failed--compilation aborted at LdapImport.pl line 34, <DATA> line
225.
Del wrote:
> Steve Strong wrote:
>
>> ... seems harder than I thought. I can''t get Ldapimport to do
>> anything and it doesn''t display any errors and the old fedora
4
>
>
> What do you mean "do anything"?
>
> The first question it asks you is "Log file name [LdapImport.log]
?". Do
> you get that far or does it crash before then?
>
> It sounds like you may not have perl installed. What sort of system are
> you running on?
>
--
Steve Strong
Math and Computer Science
Washington High School
2205 Forest Dr. SE
Cedar Rapids, IA 52403
http://crwash.org
mailto:sstrong@crwash.org
Del
2005-Dec-11 11:45 UTC
Re: [Fedora-directory-users] migrating from flat files to fedora directory...
Steve Strong wrote:> perl is installed on RHEL 4. > I have checked all of the requirements, downloaded Delta.pm, created a > directory > in the LdapImport directory and placed Delta.pm in it, cd''ed to the > LdapImport > directory and executed this at the command line: > > perl -w LdapImport.pl > > here''s what I got: > > [root@stretch > <javascript:open_compose_win(''to=root%40stretch&thismailbox=sent-mail'');> > LdapImport]# perl -w LdapImport.pl > Unquoted string "html" may clash with future reserved word at > Log/Delta.pm line > 2, <DATA> line 225.It sounds like your Delta.pm file is hosed. Where did you get it from? Have you had a look inside it? It looks like you have an HTML file and not a perl module. -- Del
Steve Strong
2005-Dec-12 13:34 UTC
Re: [Fedora-directory-users] migrating from flat files to fedora directory...
yup. i figured this out over the weekend and fedora directory is up and running. really cool. steve Del wrote:> Steve Strong wrote: > >> perl is installed on RHEL 4. >> I have checked all of the requirements, downloaded Delta.pm, created >> a directory >> in the LdapImport directory and placed Delta.pm in it, cd''ed to the >> LdapImport >> directory and executed this at the command line: >> >> perl -w LdapImport.pl >> >> here''s what I got: >> >> [root@stretch >> <javascript:open_compose_win(''to=root%40stretch&thismailbox=sent-mail'');> >> LdapImport]# perl -w LdapImport.pl >> Unquoted string "html" may clash with future reserved word at >> Log/Delta.pm line >> 2, <DATA> line 225. > > > > It sounds like your Delta.pm file is hosed. Where did you get it from? > Have you had a look inside it? It looks like you have an HTML file and > not a perl module. >-- Steve Strong Math and Computer Science Washington High School 2205 Forest Dr. SE Cedar Rapids, IA 52403 http://crwash.org mailto:sstrong@crwash.org