mirror of
https://github.com/telephone/LookingGlass.git
synced 2026-04-25 07:56:01 +03:00
[GH-ISSUE #15] Installs fine, but not all commands available #13
Labels
No labels
enhancement
enhancement
enhancement
pull-request
v1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LookingGlass#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wizygr on GitHub (Aug 1, 2013).
Original GitHub issue: https://github.com/telephone/LookingGlass/issues/15
Installed on CentOS 6 with PHP 5.3.25 using Apache 2.2.15.
'host' and 'traceroute' commands give results just fine. However 'mtr' and 'ping' commands, don't. The results box is displayed almost immediately after pressing the button but it is empty. I would expect an error message...
Both utilities are also normally installed:
[root@host lg]# l /usr/sbin/mtr ; l /bin/ping
-rwsr-xr-x. 1 root root 59384 Aug 17 2010 /usr/sbin/mtr
-rwsr-xr-x. 1 root root 40760 Jun 5 13:39 /bin/ping
Any ideas on how to debug this further?
Thanks in advance.
@brendancarlson commented on GitHub (Oct 11, 2013):
Do you have those commands installed on the machine you are running this on?
@wizygr commented on GitHub (Oct 12, 2013):
Yes, of course and they are running fine from the console. However they
produce no output when running through the webpage...
Any help would be appreciated.
@brendancarlson commented on GitHub (Oct 14, 2013):
If you post a link to where you are hosting this page I can take a look and help you. :)
@bpvarsity commented on GitHub (Apr 4, 2014):
I am having the same issue. Commands work via command line but nothing outputs on the web version.
http://m9.androidfilehost.com/
No output from any tool.
Any ideas?
@abyssis commented on GitHub (Apr 4, 2014):
Could be related to permissions.
@bpvarsity commented on GitHub (Apr 4, 2014):
Ya not sure what to check. I've changed a few files permissions but no change. Owner/group doesnt seem to fix it either.
Also upgraded to php 5.4.26 but didnt fix it either
@abyssis commented on GitHub (Apr 4, 2014):
Might as well be related to network configuration. What type of control panel do you use? Is it SolusVM?
@bpvarsity commented on GitHub (Apr 4, 2014):
This vps is on a Proxmox server running as a openvz container
@abyssis commented on GitHub (Apr 4, 2014):
What type of OS?
@bpvarsity commented on GitHub (Apr 4, 2014):
Centos 6 x64
@abyssis commented on GitHub (Apr 4, 2014):
Were there any errors while installing the whole thing? Try to remove the entire directory and download/run the script again.
I remember running into into similar issue back then, but my problem was related to the network configuration.
@bpvarsity commented on GitHub (Apr 4, 2014):
Nope no errors and I have redone the install multiple times. Also have tried removing the whole directory and installing again.
Not sure what is causing it. Everything is working great on the vps. Just made it this morning. This seems to be the only thing not working.
Very odd.
@bpvarsity commented on GitHub (Apr 4, 2014):
Looks like development haulted on the v2. Still under dev and hasn't been touched in a year.
Would like to get this one working. Will be very handy to help diagnose issues with the users.
@bpvarsity commented on GitHub (Apr 4, 2014):
Anyone know of another script like this one I can try? Give up on this one for now.
@abyssis commented on GitHub (Apr 4, 2014):
Have you installed this script using sudo or root access?
@bpvarsity commented on GitHub (Apr 4, 2014):
I installed it as root
@abyssis commented on GitHub (Apr 4, 2014):
Try to ask here: http://lowendtalk.com/
@telephone commented on GitHub (Apr 5, 2014):
@bpvarsity Your issue is more than likely caused by permission errors. That is, your 'www' user cannot access the commands as they're set to require root-privileges.
Here's an example on how to fix:
You may be able to fix the problem by only using the
chmodcommand, but if you need thesetcapyou'll need to installlibcapfirst.For Ubuntu I fixed the permission errors by running "sudo chmod u+s
which ping" for the necessary commands.@bpvarsity commented on GitHub (Apr 5, 2014):
Thanks for the response. Still not working on centos. hmm
Ill keep playing with it. Ill try it on another vps like this one and see if it works or does the same thing.
@chandro commented on GitHub (Apr 5, 2014):
i have installed it on 5 servers and is working ok, on centos.
i didnt have anything else, because is just for lookingglass
@bpvarsity commented on GitHub (Sep 23, 2014):
I got centos to work with lookingglass. It was a issue with the control panel installed on the server.
Not able to get the commands to work on gentoo with nginx. Anyone have any luck with gentoo?
Thanks
@osmanmakal commented on GitHub (Oct 13, 2014):
You probably don't disable SELinux
Please use this command for CentOS 6: setenforce 0
@shenyqwilliam commented on GitHub (Oct 19, 2014):
Should be SELinux permission problem.
It pings well on all my CentOS 6 vps, but couldn't ping on any of my CentOS 7 vps (RHEL7 is SELinux enforced).
I don't like the idea to turn SELinux all off. But I haven't figured out which values should be changed using
setseboolcommand.