<br><br><div class="gmail_quote">On Sun, Jun 20, 2010 at 1:00 PM, Kaushal Shriyan <span dir="ltr"><<a href="mailto:kaushalshriyan@gmail.com">kaushalshriyan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Sat, Jun 19, 2010 at 10:53 PM, Jim Tarvid <span dir="ltr"><<a href="mailto:tarvid@ls.net" target="_blank">tarvid@ls.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
The OCSInventory looked sufficiently interesting so I installed<br>
server, report and agent on my home workstation. My guess is that<br>
choosing "Local" writes output files locally instead of sending them<br>
to the server for storage. I chose the HTTP option.<br>
<br>
"server" and "reports" installed without incident.<br>
<br>
<a href="http://localhost/ocsinventory" target="_blank">http://localhost/ocsinventory</a> generates the response - 400 Bad<br>
request. - Your browser sent a request that this server could not<br>
understand.<br>
<br>
root@venus:/var/log/apache2# wget <a href="http://localhost/ocsinventory" target="_blank">http://localhost/ocsinventory</a><br>
--2010-06-19 13:18:06-- <a href="http://localhost/ocsinventory" target="_blank">http://localhost/ocsinventory</a><br>
Resolving localhost... ::1, 127.0.0.1<br>
Connecting to localhost|::1|:80... failed: Connection refused.<br>
Connecting to localhost|127.0.0.1|:80... connected.<br>
HTTP request sent, awaiting response... 400 Bad Request<br>
2010-06-19 13:18:06 ERROR 400: Bad Request.<br>
<br>
<a href="http://localhost/ocsreports/" target="_blank">http://localhost/ocsreports/</a> generates - OCS Inventory Installation.<br>
ERROR: MySql for PHP is not properly installed.<br>
Try installing mysql for php package (Debian: php4-mysql)<br>
<br>
php5-mysql is installed and running properly.<br>
<br>
root@venus:/var/log/apache2# /etc/init.d/apache2 restart<br>
* Restarting web server apache2<br>
[Sat Jun 19 13:13:51 2010] [warn] The Alias directive in<br>
/etc/apache2/conf.d/<a href="http://ocsreports.conf.org" target="_blank">ocsreports.conf.org</a> at line 7 will probably never<br>
match because it overlaps an earlier Alias.<br>
[Sat Jun 19 13:13:51 2010] [warn] The Alias directive in<br>
/etc/apache2/conf.d/<a href="http://ocsreports.conf.org" target="_blank">ocsreports.conf.org</a> at line 8 will probably never<br>
match because it overlaps an earlier Alias.<br>
[Sat Jun 19 13:13:51 2010] [warn] NameVirtualHost *:80 has no VirtualHosts<br>
... waiting [Sat Jun 19 13:13:53 2010] [warn] The Alias directive in<br>
/etc/apache2/conf.d/<a href="http://ocsreports.conf.org" target="_blank">ocsreports.conf.org</a> at line 7 will probably never<br>
match because it overlaps an earlier Alias.<br>
[Sat Jun 19 13:13:53 2010] [warn] The Alias directive in<br>
/etc/apache2/conf.d/<a href="http://ocsreports.conf.org" target="_blank">ocsreports.conf.org</a> at line 8 will probably never<br>
match because it overlaps an earlier Alias.<br>
[Sat Jun 19 13:13:53 2010] [warn] NameVirtualHost *:80 has no VirtualHosts<br>
[ OK ]<br>
There is a related entry in /var/log/error.log<br>
<br>
[Sat Jun 19 12:07:59 2010] OCSINVENTORY: (SOAP): Cannot find XML::Entities<br>
cpan SOAP::Lite - and<br>
cpan XML::Entities will fix that.<br>
<br>
Unfortunately, I have a lot of things contending for my time so this<br>
one is going on the wishlist.<br>
<br>
<br>
On Sat, Jun 19, 2010 at 1:02 PM, Kaushal Shriyan<br>
<div><div></div><div><<a href="mailto:kaushalshriyan@gmail.com" target="_blank">kaushalshriyan@gmail.com</a>> wrote:<br>
><br>
><br>
> On Sat, Jun 19, 2010 at 6:40 PM, Jim Tarvid <<a href="mailto:tarvid@ls.net" target="_blank">tarvid@ls.net</a>> wrote:<br>
>><br>
>> Check /etc/hosts<br>
>><br>
>> On my home system:<br>
>><br>
>> 127.0.0.1 venus localhost.localdomain localhost<br>
>> #::1 localhost ip6-localhost ip6-loopback<br>
>><br>
>> Note: localhost vs. local and ip6 commented out.<br>
>><br>
>> Using 127.0.0.1 always works for me.<br>
>><br>
>> Jim<br>
>><br>
>> On Sat, Jun 19, 2010 at 7:27 AM, Kaushal Shriyan<br>
>> <<a href="mailto:kaushalshriyan@gmail.com" target="_blank">kaushalshriyan@gmail.com</a>> wrote:<br>
>> > Hi,<br>
>> > I am faced with this<br>
>> > issue <a href="http://forums.ocsinventory-ng.org/viewtopic.php?id=2702" target="_blank">http://forums.ocsinventory-ng.org/viewtopic.php?id=2702</a> on Ubuntu<br>
>> > Hardy Server 8.04<br>
>> > Please suggest/guide<br>
>> > Thanks<br>
>> > Kaushal<br>
>> > --<br>
>> > ubuntu-server mailing list<br>
>> > <a href="mailto:ubuntu-server@lists.ubuntu.com" target="_blank">ubuntu-server@lists.ubuntu.com</a><br>
>> > <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-server" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-server</a><br>
>> > More info: <a href="https://wiki.ubuntu.com/ServerTeam" target="_blank">https://wiki.ubuntu.com/ServerTeam</a><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Rev. Jim Tarvid, PCA<br>
>> Galax, Virginia<br>
>> <a href="http://ls.net" target="_blank">http://ls.net</a><br>
>> <a href="http://drupal.ls.net" target="_blank">http://drupal.ls.net</a><br>
>> <a href="http://crossleft.org" target="_blank">http://crossleft.org</a><br>
><br>
><br>
> Hi Jim<br>
> I still have the same issue<br>
> apt-get install ocsinventory-agent<br>
> Reading package lists... Done<br>
> Building dependency tree<br>
> Reading state information... Done<br>
> The following NEW packages will be installed:<br>
> ocsinventory-agent<br>
> 0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.<br>
> Need to get 0B/74.3kB of archives.<br>
> After this operation, 774kB of additional disk space will be used.<br>
> Preconfiguring packages ...<br>
> Selecting previously deselected package ocsinventory-agent.<br>
> (Reading database ... 25827 files and directories currently installed.)<br>
> Unpacking ocsinventory-agent (from<br>
> .../ocsinventory-agent_1%3a0.0.8-1_all.deb) ...<br>
> Setting up ocsinventory-agent (1:0.0.8-1) ...<br>
> Please suggest further<br>
> Thanks<br>
> Kaushal<br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div>Rev. Jim Tarvid, PCA<br>
Galax, Virginia<br>
<a href="http://ls.net" target="_blank">http://ls.net</a><br>
<a href="http://drupal.ls.net" target="_blank">http://drupal.ls.net</a><br>
<a href="http://crossleft.org" target="_blank">http://crossleft.org</a><br>
</div></div></blockquote></div><br></div></div><div>Hi</div><div><br></div><div>Please suggest me with the further steps to be taken.</div><div><br></div><div>Thanks</div><div><br></div><font color="#888888"><div>Kaushal</div>
</font></blockquote></div><br>Hi,<br><br><a href="https://bugs.launchpad.net/ubuntu/+source/ocsinventory-agent/+bug/217257">https://bugs.launchpad.net/ubuntu/+source/ocsinventory-agent/+bug/217257</a> says about the fix and is fixed in hardy-updates universe package<br>
<br>Thanks,<br><br>Kaushal<br>