[prev in list] [next in list] [prev in thread] [next in thread]
List: ispman-users
Subject: Re: [Ispman-users] ispman.listVars problem: can't bless non-reference value...
From: Mike Chen <mikeyhchen () yahoo ! com>
Date: 2002-12-27 22:44:27
[Download RAW message or body]
Thanx!!! I found the problem.
perl -c /opt/ispman/conf/ispman.conf
produced error because i had special characters #$ in my cyrus password. so perl \
didn't like it. i changed the password, edit all the files, and it works fine now. \
mike Atif Ghaffar <aghaffar@developer.ch> wrote:Hmm..
Which version of ISPMan did you install? Also did you cvs update it?
Whats line 75 in your /opt/ispman/lib/ISPMan/Config.pm
also does /opt/ispman/conf/ispman.conf exists
If yes, please run
perl -c /opt/ispman/conf/ispman.conf
perl -c /opt/ispman/lib/ISPMan/Config.pm
make sure both return "syntax OK"
does any ispman related command works??
try
/opt/ispman/bin/ispman.getConf ldapBaseDN
Does this also give any errors?
If yes, please attach your /opt/ispman/conf/ispman.conf after removing
any sensitive information.
best regards.
Mike Chen wrote:
> Hi, in the installation process, when I run ispman.listVars, I get the
> following error:
>
> www# ./ispman.listVars
> Can't bless non-reference value at /opt/ispman/lib/ISPMan/Config.pm line 75.
> BEGIN failed--compilation aborted at /opt/ispman/lib/ISPMan.pm line 56.
> BEGIN failed--compilation aborted at ./ispman.listVars line 8.
>
> has anyone run into the same problem? is it related to version of perl
> on my system? my server configuration is as follows:
>
> FreeBSD 4.7, openldap2, apache13, cyrussasl 2, cyrusimapd2, postfix (all
> installed from ports collection)
> all previous setup & configuration steps (per
> http://www.ispman.org/docs/0.8/) was successful, except for 1 little
> difference. i'm not sure if this affects the ispman.listVars problem
> (or anything down the road). if I run ldapsearch exactly as in the
> instruction, the result is:
>
> www# ldapsearch -x -LLL ispmanVar=*
> ldapsearch: No match.
>
> however, if I add double quotes around the filter, then result is fine
> (long list):
>
> ww# ldapsearch -x -LLL "ispmanVar=*"
> dn: ispmanVar=apacheVhostsFile, ispmanModule=apache_vars, ou=conf, o=ispman
> ispmanVar: apacheVhostsFile
> ispmanVarAlias: Apache vhost file
> ispmanModule: apache_vars
> objectClass: ispmanConfVar
> ispmanVal: /etc/httpd/conf/vhosts.conf
> ispmanQuestion: The file where I should create VirtualHost Entries
> (...a lot more follows)
>
> i originally tried to install ispman on Redhat 8.0. ran into UTF8
> problem with make ispman during the replacing configuration directory
> step. found out I have to change default language from en_US.UTF8 to
> en_US. fixed the problem, and eventually run into the ispman.listVars
> can't bless non-reference value problem.
>
> then i figure perhaps RH8.0 ships with a newer version of perl that may
> not work with ispman, so I got a copy of RH7.3. everything looked
> good (ispman.listVar worked). however, trying to find RPM for all the
> other apps (cyrus imapd, pure-ftpd, etc) for RH7.3 was a nightmare.
> plus had some problem with version conflicts, so decided to try to
> install it on FreeBSD 4.7, and eventually end up with the
> ispman.listVars problem. (a few other scripts, such as
> ispman.listAdmins, yielded same result)
>
> by the way, in FreeBSD 4.7, if you install openldap from ports
> collection, then after copying slapd to /usr/local/etc/openldap, you
> have to modify the "directory /var/lib/ldap" line to "directory
> /var/db/openldap-ldbm".
>
> mike
>
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Mail Plus
> -
> Powerful. Affordable. Sign up now
>
--
Atif Ghaffar
Technology Consultant
---------------------------.
+41 21 321 65 55 ¦ tel
+41 21 321 54 54 ¦ fax
+41 78 845 31 64 ¦ mobile
aghaffar@developer.ch ¦ email
http://atifghaffar.com ¦ www
http://www.ispman.org ¦
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Ispman-users mailing list
Ispman-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ispman-users
---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
[Attachment #3 (text/html)]
<P>Thanx!!! I found the problem.
<P>perl -c /opt/ispman/conf/ispman.conf
<P>produced error because i had special characters #$ in my cyrus password. so \
perl didn't like it. i changed the password, edit all the files, and it works \
fine now. <P>mike
<P> <B><I>Atif Ghaffar <aghaffar@developer.ch></I></B> wrote:
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px \
solid">Hmm..<BR>Which version of ISPMan did you install? Also did you cvs update \
it?<BR><BR>Whats line 75 in your /opt/ispman/lib/ISPMan/Config.pm<BR>also does \
/opt/ispman/conf/ispman.conf exists<BR>If yes, please run<BR>perl -c \
/opt/ispman/conf/ispman.conf<BR>perl -c /opt/ispman/lib/ISPMan/Config.pm<BR><BR>make \
sure both return "syntax OK"<BR><BR>does any ispman related command \
works??<BR>try<BR>/opt/ispman/bin/ispman.getConf ldapBaseDN<BR><BR>Does this also \
give any errors?<BR>If yes, please attach your /opt/ispman/conf/ispman.conf after \
removing <BR>any sensitive information.<BR><BR><BR>best \
regards.<BR><BR><BR><BR><BR>Mike Chen wrote:<BR>> Hi, in the installation process, \
when I run ispman.listVars, I get the <BR>> following error:<BR>> <BR>> www# \
./ispman.listVars<BR>> Can't bless non-reference value at \
/opt/ispman/lib/ISPMan/Config.pm line 75.<BR>> BEGIN failed--compilation aborted \
at /opt/ispman/lib/ISPMan.pm line 56.<BR>> BEGIN failed--compilation aborted at \
./ispman.listVars line 8.<BR>> <BR>> has anyone run into the same problem? is \
it related to version of perl <BR>> on my system? my server configuration is as \
follows:<BR>> <BR>> FreeBSD 4.7, openldap2, apache13, cyrussasl 2, cyrusimapd2, \
postfix (all <BR>> installed from ports collection)<BR>> all previous setup \
& configuration steps (per <BR>> http://www.ispman.org/docs/0.8/) was \
successful, except for 1 little <BR>> difference. i'm not sure if this affects the \
ispman.listVars problem <BR>> (or anything down the road). if I run ldapsearch \
exactly as in the <BR>> instruction, the result is:<BR>> <BR>> www# \
ldapsearch -x -LLL ispmanVar=*<BR>> ldapsearch: No match.<BR>> <BR>> \
however, if I add double quotes around the filter, then result is fine <BR>> (long \
list):<BR>> <BR>> ww# ldapsearch -x -LLL "ispmanVar=*"<BR>> dn: \
ispmanVar=apacheVhostsFile, ispmanModule=apache_vars, ou=conf, o=ispman<BR>> \
ispmanVar: apacheVhostsFile<BR>> ispmanVarAlias: Apache vhost file<BR>> \
ispmanModule: apache_vars<BR>> objectClass: ispmanConfVar<BR>> ispmanVal: \
/etc/httpd/conf/vhosts.conf<BR>> ispmanQuestion: The file where I should create \
VirtualHost Entries<BR>> (...a lot more follows)<BR>> <BR>> i originally \
tried to install ispman on Redhat 8.0. ran into UTF8 <BR>> problem with make \
ispman during the replacing configuration directory <BR>> step. found out I have \
to change default language from en_US.UTF8 to <BR>> en_US. fixed the problem, and \
eventually run into the ispman.listVars <BR>> can't bless non-reference value \
problem.<BR>> <BR>> then i figure perhaps RH8.0 ships with a newer version of \
perl that may <BR>> not work with ispman, so I got a copy of RH7.3. everything \
looked <BR>> good (ispman.listVar worked). however, trying to find RPM for all the \
<BR>> other apps (cyrus imapd, pure-ftpd, etc) for RH7.3 was a nightmare. <BR>> \
plus had some problem with version conflicts, so decided to try to <BR>> install \
it on FreeBSD 4.7, and eventually end up with the <BR>> ispman.listVars problem. \
(a few other scripts, such as <BR>> ispman.listAdmins, yielded same \
result)<BR>> <BR>> by the way, in FreeBSD 4.7, if you install openldap from \
ports <BR>> collection, then after copying slapd to /usr/local/etc/openldap, you \
<BR>> have to modify the "directory /var/lib/ldap" line to "directory <BR>> \
/var/db/openldap-ldbm".<BR>> <BR>> mike<BR>> <BR>> <BR>> \
------------------------------------------------------------------------<BR>> Do \
you Yahoo!?<BR>> Yahoo! Mail Plus <BR>> <HTTP: mail mailplus.yahoo.com *http: \
mailsig rd.yahoo.com>- <BR>> Powerful. Affordable. Sign up now <BR>> <HTTP: \
mail mailplus.yahoo.com *http: mailsig rd.yahoo.com><BR><BR>-- <BR>Atif \
Ghaffar<BR>Technology Consultant<BR>---------------------------.<BR>+41 21 321 65 55 \
¦ tel<BR>+41 21 321 54 54 ¦ fax<BR>+41 78 845 31 64 ¦ mobile<BR>aghaffar@developer.ch \
¦ email<BR>http://atifghaffar.com ¦ www<BR>http://www.ispman.org \
¦<BR><BR><BR><BR>-------------------------------------------------------<BR>This \
sf.net email is sponsored by:ThinkGeek<BR>Welcome to geek \
heaven.<BR>http://thinkgeek.com/sf<BR>_______________________________________________<BR>Ispman-users \
mailing list<BR>Ispman-users@lists.sourceforge.net<BR>https://lists.sourceforge.net/lists/listinfo/ispman-users</BLOCKQUOTE><p><br><hr \
size=1>Do you Yahoo!?<br> <a \
href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yahoo! Mail \
Plus</a> - Powerful. Affordable. <a \
href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Sign up now</a>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Ispman-users mailing list
Ispman-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ispman-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic