[Solved] webapp : monitorix's URL links is broken??

rednwhite
Posts: 15
Joined: Tue Sep 25, 2012 12:39 pm

[Solved] webapp : monitorix's URL links is broken??

Postby rednwhite » Wed Feb 04, 2015 8:30 pm

Hello

I install monitorix as webapp on ubuntu
and I click monitorix webapp icon on dashboard.
monitorix's first page is shown.

as, next step. I click "ok" button on monitorix page

the only message displayed
"The requested URL / was not found on this server."


I read monitorix homepage's FAQ

http://www.monitorix.org/faq.html#Q306


"Using the built-in HTTP server I get the following message: The requested URL / was not found on this server."

It may help to me.

but as document,

http://localhost:8080/monitorix/
http://localhost:8080/

neither URL I use to connect with monitorix.



monitorix's OK button on my system linked to URL :

http://monitorix.myhome.com/monitorix-c ... olor=black

and when I clicked ok button. "URL was not found" is shown.



How can I fix this problem using monitorix's FAQ
How can I fix this problem with changing the value of /etc/apache2/conf.d/monitorix.conf
Last edited by rednwhite on Sat Feb 21, 2015 3:28 pm, edited 1 time in total.

User avatar
bigfoot65
Project Manager
Posts: 11015
Joined: Mon May 25, 2009 4:31 pm

Re: webapp : monitorix's URL links is broken??

Postby bigfoot65 » Thu Feb 05, 2015 3:34 am

Please check the /var/log/amahi-app-installer.log file for errors.

Disregard what you have read on the Montorix web page. We do not use the application's built in web server. This is likely a problem with the automated application install. Once we verify if there are errors, we can proceed.
ßîgƒσστ65
Applications Manager

rednwhite
Posts: 15
Joined: Tue Sep 25, 2012 12:39 pm

Re: webapp : monitorix's URL links is broken??

Postby rednwhite » Thu Feb 05, 2015 7:16 pm

My amahi-app-installer.log

Code: Select all

======= app install begin @ Thu Sep 27 19:53:00 +0900 2012 ========== Installing app id r9or2ptda0 under /var/hda/platform/html ENV=production Your HDA services have been restarted. Your HDA services have been restarted. NOTE: file /tmp/amahi-download-cache/bd2d9ae491ff2a4695ded8ff603bb988f9717f35 written in cache Selecting previously unselected package monitorix. (데이터베이스 읽는중 ...현재 207114개의 파일과 디렉터리가 설치되어 있습니다.) monitorix 패키지를 푸는 중입니다 (monitorix_2.5.2-izzy1_all.deb에서) ... monitorix (2.5.2-izzy1) 설정하는 중입니다 ... Adding system startup for /etc/init.d/monitorix ... /etc/rc0.d/K99monitorix -> ../init.d/monitorix /etc/rc1.d/K99monitorix -> ../init.d/monitorix /etc/rc6.d/K99monitorix -> ../init.d/monitorix /etc/rc2.d/S99monitorix -> ../init.d/monitorix /etc/rc3.d/S99monitorix -> ../init.d/monitorix /etc/rc4.d/S99monitorix -> ../init.d/monitorix /etc/rc5.d/S99monitorix -> ../init.d/monitorix man-db에 대한 트리거를 처리하는 중입니다 ... ureadahead에 대한 트리거를 처리하는 중입니다 ... mv: `/etc/httpd/conf.d/monitorix.conf'를 설명할 수 없음: 그런 파일이나 디렉터리가 없습니다 App: Monitorix installed ======= app install end @ Thu Sep 27 19:53:18 +0900 2012 ==========
mv: `/etc/httpd/conf.d/monitorix.conf'를 설명할 수 없음: 그런 파일이나 디렉터리가 없습니다

is written in my local language
It may be means

mv: `/etc/httpd/conf.d/monitorix.conf' cannot move ; No such as a file or directory


I have no /etc/httpd/conf.d/monitorix.conf file .

But similar file is /etc/httpd/conf.d/1000-monitorix.conf


1000-monitorix.conf is

Code: Select all

<VirtualHost *:80> ServerName monitorix ServerAlias monitorix.myhome.com Alias /monitorix /usr/share/monitorix ScriptAlias /monitorix-cgi /usr/share/monitorix/cgi-bin DocumentRoot /var/hda/web-apps/monitorix/html <Directory "/var/hda/web-apps/monitorix/html"> Options Indexes FollowSymLinks +ExecCGI AddHandler fcgid-script .fcg AllowOverride AuthConfig Order allow,deny Allow from all </Directory> ErrorLog /var/hda/web-apps/monitorix/logs/error_log CustomLog /var/hda/web-apps/monitorix/logs/access_log combined env=!dontlog </VirtualHost>
Thanks for reading :)

User avatar
bigfoot65
Project Manager
Posts: 11015
Joined: Mon May 25, 2009 4:31 pm

Re: webapp : monitorix's URL links is broken??

Postby bigfoot65 » Thu Feb 05, 2015 7:35 pm

That tells me it did not install correctly.

We are not maintaining apps for Ubuntu unfortunately. We can try to sort this out, but need to see the all the log text for the app in English if possible.

It may be that the package did not install, therefore the script could not do it's work.
ßîgƒσστ65
Applications Manager

rednwhite
Posts: 15
Joined: Tue Sep 25, 2012 12:39 pm

Re: webapp : monitorix's URL links is broken??

Postby rednwhite » Fri Feb 06, 2015 1:51 am

but need to see the all the log text for the app in English if possible.

I translate log text to english

It may be correct - I hope

Code: Select all

======= app install begin @ Thu Sep 27 19:53:00 +0900 2012 ========== Installing app id r9or2ptda0 under /var/hda/platform/html ENV=production Your HDA services have been restarted. Your HDA services have been restarted. NOTE: file /tmp/amahi-download-cache/bd2d9ae491ff2a4695ded8ff603bb988f9717f35 written in cache Selecting previously unselected package monitorix. (Reading database ... 207114 files and directories currently installed.) Unpacking monitorix package (from monitorix_2.5.2-izzy1_all.deb) ... Setting up monitorix (2.5.2-izzy1) ... Adding system startup for /etc/init.d/monitorix ... /etc/rc0.d/K99monitorix -> ../init.d/monitorix /etc/rc1.d/K99monitorix -> ../init.d/monitorix /etc/rc6.d/K99monitorix -> ../init.d/monitorix /etc/rc2.d/S99monitorix -> ../init.d/monitorix /etc/rc3.d/S99monitorix -> ../init.d/monitorix /etc/rc4.d/S99monitorix -> ../init.d/monitorix /etc/rc5.d/S99monitorix -> ../init.d/monitorix Processing triggers for man-db Processing triggers for ureadahead. mv: cannot stat `/etc/httpd/conf.d/monitorix.conf': No such file or directory App: Monitorix installed ======= app install end @ Thu Sep 27 19:53:18 +0900 2012 ==========

User avatar
bigfoot65
Project Manager
Posts: 11015
Joined: Mon May 25, 2009 4:31 pm

Re: webapp : monitorix's URL links is broken??

Postby bigfoot65 » Fri Feb 06, 2015 1:30 pm

Please check /var/hda/web-apps/monitorix/html. Provide the list of files.

Also it appears that the app may not have started. Please do the following as root user:

Code: Select all

service monitorix status
If it shows stopped, then do:

Code: Select all

service monitorix start
Let's see where we are after doing these things.
ßîgƒσστ65
Applications Manager

rednwhite
Posts: 15
Joined: Tue Sep 25, 2012 12:39 pm

Re: webapp : monitorix's URL links is broken??

Postby rednwhite » Fri Feb 06, 2015 2:16 pm

Please check /var/hda/web-apps/monitorix/html. Provide the list of files.

Code: Select all

rednwhite@Network-associated-storage:/var/hda/web-apps/monitorix/html$ ls cgi cgi-bin imgs index.html logo_bot.png logo_top.png monitorixico.png rednwhite@Network-associated-storage:/var/hda/web-apps/monitorix/html/cgi$ ls monitorix.cgi monitorix.conf.path rednwhite@Network-associated-storage:/var/hda/web-apps/monitorix/html/cgi-bin$ ls monitorix.conf.path rednwhite@Network-associated-storage:/var/hda/web-apps/monitorix/html/imgs$ ls int1.1day.png net03.1day.png proc0.1day.png int1.1month.png net03.1month.png proc0.1month.png int1.1week.png net03.1week.png proc0.1week.png int1z.1day.png net03z.1day.png proc0z.1day.png int1z.1month.png net03z.1month.png proc0z.1month.png int1z.1week.png net03z.1week.png proc0z.1week.png int2.1day.png ntp01.1day.png proc1.1day.png int2.1month.png ntp01.1month.png proc1.1month.png int2.1week.png ntp01.1week.png proc1.1week.png int2z.1day.png ntp01z.1day.png proc1z.1day.png int2z.1month.png ntp01z.1month.png proc1z.1month.png int2z.1week.png ntp01z.1week.png proc1z.1week.png kern1.1day.png ntp02.1day.png proc2.1day.png kern1.1month.png ntp02.1month.png proc2.1month.png kern1.1week.png ntp02.1week.png proc2.1week.png kern1z.1day.png ntp02z.1day.png proc2z.1day.png kern1z.1month.png ntp02z.1month.png proc2z.1month.png kern1z.1week.png ntp02z.1week.png proc2z.1week.png kern2.1day.png ntp03.1day.png proc3.1day.png kern2.1month.png ntp03.1month.png proc3.1month.png kern2.1week.png ntp03.1week.png proc3.1week.png kern2z.1day.png ntp03z.1day.png proc3z.1day.png kern2z.1month.png ntp03z.1month.png proc3z.1month.png kern2z.1week.png ntp03z.1week.png proc3z.1week.png kern3.1day.png port0.1day.png serv1.1day.png kern3.1month.png port0.1month.png serv1.1month.png kern3.1week.png port0.1week.png serv1.1week.png kern3z.1day.png port0z.1day.png serv1z.1day.png kern3z.1month.png port0z.1month.png serv1z.1month.png kern3z.1week.png port0z.1week.png serv1z.1week.png mysql01.1day.png port1.1day.png serv2.1day.png mysql01.1month.png port1.1month.png serv2.1month.png mysql01.1week.png port1.1week.png serv2.1week.png mysql01z.1day.png port1z.1day.png serv2z.1day.png mysql01z.1month.png port1z.1month.png serv2z.1month.png mysql01z.1week.png port1z.1week.png serv2z.1week.png mysql02.1day.png port2.1day.png serv3.1day.png mysql02.1month.png port2.1month.png serv3.1month.png mysql02.1week.png port2.1week.png serv3.1week.png mysql02z.1day.png port2z.1day.png serv3z.1day.png mysql02z.1month.png port2z.1month.png serv3z.1month.png mysql02z.1week.png port2z.1week.png serv3z.1week.png mysql03.1day.png port3.1day.png system1.1day.png mysql03.1month.png port3.1month.png system1.1month.png mysql03.1week.png port3.1week.png system1.1week.png mysql03z.1day.png port3z.1day.png system1z.1day.png mysql03z.1month.png port3z.1month.png system1z.1month.png mysql03z.1week.png port3z.1week.png system1z.1week.png mysql04.1day.png port4.1day.png system2.1day.png mysql04.1month.png port4.1month.png system2.1month.png mysql04.1week.png port4.1week.png system2.1week.png mysql04z.1day.png port4z.1day.png system2z.1day.png mysql04z.1month.png port4z.1month.png system2z.1month.png mysql04z.1week.png port4z.1week.png system2z.1week.png mysql05.1day.png port5.1day.png system3.1day.png mysql05.1month.png port5.1month.png system3.1month.png mysql05.1week.png port5.1week.png system3.1week.png mysql05z.1day.png port5z.1day.png system3z.1day.png mysql05z.1month.png port5z.1month.png system3z.1month.png mysql05z.1week.png port5z.1week.png system3z.1week.png mysql06.1day.png port6.1day.png user1.1day.png mysql06.1month.png port6.1month.png user1.1month.png mysql06.1week.png port6.1week.png user1.1week.png mysql06z.1day.png port6z.1day.png user1z.1day.png mysql06z.1month.png port6z.1month.png user1z.1month.png mysql06z.1week.png port6z.1week.png user1z.1week.png net01.1day.png port7.1day.png user2.1day.png net01.1month.png port7.1month.png user2.1month.png net01.1week.png port7.1week.png user2.1week.png net01z.1day.png port7z.1day.png user2z.1day.png net01z.1month.png port7z.1month.png user2z.1month.png net01z.1week.png port7z.1week.png user2z.1week.png net02.1day.png port8.1day.png user3.1day.png net02.1month.png port8.1month.png user3.1month.png net02.1week.png port8.1week.png user3.1week.png net02z.1day.png port8z.1day.png user3z.1day.png net02z.1month.png port8z.1month.png user3z.1month.png net02z.1week.png port8z.1week.png user3z.1week.png

Code: Select all

rednwhite@Network-associated-storage:/var/hda/web-apps/monitorix/html/imgs$ service monitorix status * Monitorix is running


Thanks for help.

User avatar
bigfoot65
Project Manager
Posts: 11015
Joined: Mon May 25, 2009 4:31 pm

Re: webapp : monitorix's URL links is broken??

Postby bigfoot65 » Fri Feb 06, 2015 5:18 pm

Everything looks ok. Have you tried http://monitorix/?

I presume you have the HDA as your DHCP and DNS server. Are the problems with other apps?

Don't recommend you follow any guidance you find on the internet for this app as the Amahi version is customized on install. Other guidance may not work as you have found. It runs on port 80 for Amahi, not 8080.
ßîgƒσστ65
Applications Manager

rednwhite
Posts: 15
Joined: Tue Sep 25, 2012 12:39 pm

Re: webapp : monitorix's URL links is broken??

Postby rednwhite » Sat Feb 21, 2015 3:28 pm

Oh!!

It's my fault!!

monitorix works well!!


I just uninstall monitorix webapp and reboot system.
then reinstall it.

after that.

monitorix works...


I donot know what cause the problem.
I don't know how could I fix it.

but after reinstall


monitorix works well


Thanks for help.
Thanks !!

Who is online

Users browsing this forum: No registered users and 1 guest