gea,
Thanks for your efforts thus far. couple of things
6. set correct path to perl interpreter in script admin.pl
edit first line of /var/apache2/2.2/cgi-bin/napp-it7admin.pl to
#!/usr/perl5/bin/perl
(why is perl not installed in usually used path /usr/bin/perl?
napp-it could then be the same for eon and nexenta)
/usr/bin/perl is symlinked so no need for the changes in step 6.
This is what I get when I run theo following:
eon:65:/var/apache2/2.2/cgi-bin#perl -w admin.pl
"my" variable $s masks earlier declaration in same statement at admin.pl line
1516.
Use of uninitialized value in substitution (s///) at admin.pl line 987.
Use of uninitialized value in substitution (s///) at admin.pl line 988.
Use of uninitialized value in substitution (s///) at admin.pl line 989.
Use of uninitialized value in substitution (s///) at admin.pl line 991.
Use of uninitialized value in substitution (s///) at admin.pl line 991.
Use of uninitialized value in pattern match (m//) at admin.pl line 992.
Use of uninitialized value in substitution (s///) at admin.pl line 994.
Use of uninitialized value in substitution (s///) at admin.pl line 994.
Use of uninitialized value in substitution (s///) at admin.pl line 995.
Use of uninitialized value in substitution (s///) at admin.pl line 995.
Use of uninitialized value in substitution (s///) at admin.pl line 996.
Use of uninitialized value in substitution (s///) at admin.pl line 997.
Use of uninitialized value in substitution (s///) at admin.pl line 999.
Use of uninitialized value in substitution (s///) at admin.pl line 999.
Use of uninitialized value in substitution (s///) at admin.pl line 999.
Use of uninitialized value in substitution (s///) at admin.pl line 999.
Use of uninitialized value in substitution (s///) at admin.pl line 1017.
Use of uninitialized value in string ne at admin.pl line 1019.
Content-type: text/html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title> //Nexenta Core Appliance</title>
<!-- napp-it scripts (c) Gnther Alka www.babelcon.de -->
<!-- Permission granted to use and modify all napp-it scripts freely and
without charge -->
<!-- so long as the copyright above is maintained, modifications are
documented, and this permission is given for any use of the scripts. -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
* { font-size: 12px; }
body { margin: 20px 10px 10px 10px; background-color: #edf6e8;
text-align: left }
body, html { height:100%; font-family: Consolas,'Courier
New',monospace,Courier }
a { color: black }
.s1 { font-size: 11px; background-color: #bae469; }
form { display: inline}
.tt, pre, h1 { font-family: Consolas,'Courier New',monospace,Courier;
padding: 10px 10px 0 0 }
.l1 { width: 100%; padding: 10px 0 10px 12px; background-color: #95e202;
font-family: Verdana, Helvetica, Helv; white-space: nowrap }
.l2 { width: 100%; padding: 5px 10px 5px 2px; background-color: #bae469;
border-top: 1px solid; font-family: Verdana, Helvetica, Helv; white-space:
nowrap }
.l3 { width: 100%; padding: 0 10px 10px 2px; background-color: #bae469;
border-bottom: 1px solid; font-family: Verdana, Helvetica, Helv; white-space:
nowrap }
.li2 { font-weight: bold }
</style>
</head>
<body>
<!-- header -->
<div class="l1">
<table border="0" style="width: 99%; border:none; padding:0; margin:0">
<tr>
<td valign="top" nowrap><strong style="font-size: 22px">napp-<i
style="font-size:18px">it</i></strong>
<font style="font-size:9px; margin-left:8px"> 0.19 beta
07.Okt.2009</font>
</td>
<td valign="middle" align="right" style="height: 12px">
</td>
</tr>
</table>
<br><br> <b>opensolaris/eon</b> appliance
Use of uninitialized value in string eq at admin.pl line 130.
Use of uninitialized value in string eq at admin.pl line 131.
Use of uninitialized value in string ne at admin-lib.pl line 1299.
Use of uninitialized value in numeric gt (>) at admin-lib.pl line 1302.
Use of uninitialized value in string eq at admin-lib.pl line 1303.
Use of uninitialized value in string ne at admin-lib.pl line 1304.
Use of uninitialized value in concatenation (.) or string at admin-lib.pl line
1305.
<br><br>
<form name="login" method="post" action="/cgi-bin//admin.pl">
user: <select name="name">
<option selected>admin</option>
<option>operator</option>
</select>
pass: <input type="password" name="pass" style='font-size: 10px;'>
<input type='submit' name='submit' value='login' style='font-size:
10px;'> <br><br>
<font style="font-size:9px">first login: admin, no password; delete
napp-it.cfg to get defaults </font>
</form>
</div><!--header-->
</body></html>
--
This message posted from opensolaris.org