NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Apache
4 TopicsApache2 not starting, admin page is offline, shares and SSH are still available
Over the weekend I set up PHP, MySQL, and phpmyadmin and moved my web-based database to the NAS. Everything worked except the htaccess. I got that working Monday and tested it all out with great pride. Then I rebooted (to replace the UPS) and when it came back up, I could not access my subdirectories in the www share online. I received an email from the NAS saying that there were errors in the PHP install. I went to try to uninstall it, and I got an error that it couldn't be uninstalled. Then all the web pages were down including the admin page. Port 7082 (phpmyadmin) isn't responding either. I used SSH to log in. I tried to restart apache, but it failed saying: apache2[4034]: [error] server reached MaxClients setting, consider raising the MaxClients setting I can still access the shares through the network, I can access them through https://readycloud.netgear.com/ as well as my iphone app. I just can't get to the admin page or the www share set up for HTML access. RAIDar says everything is up and healthy. The admin page shows the "ReadyNas Admin is offline" page. Firmware is 6.6.1 - but before this happened it said that was the most current (although I see it's not). What am I missing? How can I correct this?Solved2.4KViews0likes3CommentsMessed with php
I was palaying around pydio installation and i ended up trying the following nano /etc/apt/sources.list add deb http://packages.dotdeb.org wheezy-php56-zts all deb-src http://packages.dotdeb.org wheezy-php56-zts all apt-get update if you get an error like: GPG error: http://packages.dotdeb.org wheezy-php56 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E9C74FEEA2098A6E then : wget http://www.dotdeb.org/dotdeb.gpg apt-key add dotdeb.gpg and again apt-get update then : apt-get install php5 check you on PHP 5.6.x php -v if all's good restart apache: service apache2 restart when apt-get install php5, os asked me if i want to keep the configuration or not and i asked no (maybe my mistake but i had no choice as other option failed) Now I turn into trouble depite the fact that php5 is well installed I can't install pydio that doesnt appear anymore in apps, i nether can't install any cms (joomla,drupal,oscommerce), frontview says "application list is outdated and need to be refresh" or application install failed, other apps are installing ok I tryed a physical reset with OS reinstall without any success Somemone may help, thx by advance3.3KViews0likes3CommentsNV+ v1 Nach Update auf 4.1.15 kein Zugriff auf FrontView / Kein Zugriff auf neue Shares
Hallo zusammen, in der letzten Nacht habe ich auf zwei (!) vorhandenen NV+ das Update auf 4.1.15 eingespielt. Bei einem der beiden lief es relativ problemlos. Beim zweiten NAS allerdings gab es massive Probleme. Nach dem Update lässt sich der Apache leider nicht mehr starten. Wenn ich versuche diesen per SSH neu zu starten, erhalte ich die folgende Fehlermeldung: Restarting web server: apache2env: /usr/sbin/apache2ctl: No such file or directory failed! Screenshoot: Weder auf dem funktionierenem NAS noch auf dem NAS bei dem der Apache sich nicht starten lässt (und somit das FrontView nicht erreichbar ist) ist diese Datei vorhanden. Aus lauter Verzweifelung habe ich voller Erwartung das OS-Backup gestartet. Leider mit dem gleichem Ergebnis. Apache startet nicht. Netterweise sind alle Konfigs auch überschrieben und jetzt ist die feste IP weg und er holt sich diese über den DHCP. Mit ifconfig habe ich jetzt temporär die IP wieder statisch bekommen aber FrontView/Apache bleibt weiterhin tot. Nun habe ich schon die /etc/network/interfaces manuell bearbeitet und die statische IP wieder eingetragen aber das ist ja auch keine dauerhafte Lösung. ========================= Beim zweiten NAS wollte ich zur Datensicherung jetzt zusätzliche Shares anlegen um dort die Daten vom ersten NAS sichern zu können. Dabei kann ich im Anschluss leider nicht auf die *neuen* Shares zugreifen (Weder Samba noch NFS - Zugriff erfolgt mit Ubuntu also bitte keine Tipps zu den bekannten Windows-Problemen!). Bislang hatte ich den Sicherheitsmodus auf Share gestellt. Da ich aber gelesen habe, dass der Gastmodus nur unter der Benutzerbasierten Userverwaltung sichtbar wird, habe ich auf diese umgestellt. Auch wenn ich dann dort jeweils den Gastzugang aktiviere, und die Rechte neu setze kann ich nicht auf die Shares zugreifen. Frage 1 [NAS 1]: Wie bringe ich den Apache dazu seinen Dienst wieder aufzunehmen? Frage 2 [NAS 2]: Wie kann ich auf die neuen Shares zugreifen? Möglichst im Share-Modus! Beste GrüßeSolved3.5KViews0likes6CommentsNeed help creating a Virtual Host to forward web requests to another port
I am using my ReadyNAS to run Plex Media Server. In order to serve media to my Apple TV I use PlexConnect to interface between my ATV and Plex. It traps calls to trailers.apple.com allowing my media to play. The AppleTV makes calls on port 80 and PlexConnect runs on port 80. Since I still need to run Apache on my NAS for the admin interface (installs, upgrades, maint, config, etc...) I am at odds. I am new to Linux but have easily gotten PlexConnect to operate using ports 81 and 8443 as opposed to 80 and 443. What I do not know how to do is to configure Apache 2 to send web requests bound for trailers.apple.com as a virtual host on the same machine but different ports. So my issue is Apache 2 VirtualHost configuration. TO be clear, When my ATV sends a request to my NAS at 192.168.2.4:80 for the trailers.apple.com domain, I need Apache 2 to: Recognize and answer that request Forward it to a different port ( :81 ) on same IP I have read that there is a ProxyPass statement but all examples say that is for a different machine. How do I create the trailers.apple.com virtual host and how can I forward it? Thank you in advance for any assistance. ReadyNAS 516 Series 24TbSolved5KViews0likes3Comments