NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

SAS1201's avatar
SAS1201
Aspirant
Jun 12, 2019

Readynas Apache2 issues

I am having issues recently since I upgraded to 6.10.1.  First of the images on the Admin web portal are not loading for the APPS that I have running.  The next issue, is I have a few apps that are not working - web based and it appears the apache server is not working.  See below. 
Also when i try to update everything all via apt-get, nothing working, as I keep getting errors. .

 

Anything you know about this.. Is there a fix I missed? 

 

apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2019-06-12 14:43:42 EDT; 2h 54min ago
Process: 10534 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Process: 10440 ExecStartPre=/frontview/bin/fvapps (code=exited, status=0/SUCCESS)

Jun 12 14:43:40 Toychest systemd[1]: Starting The Apache HTTP Server...
Jun 12 14:43:42 Toychest apachectl[10534]: apache2: Syntax error on line 200 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modul
es/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: undefined symbol: unixd_config
Jun 12 14:43:42 Toychest apachectl[10534]: Action 'start' failed.
Jun 12 14:43:42 Toychest apachectl[10534]: The Apache error log may have more information.
Jun 12 14:43:42 Toychest systemd[1]: apache2.service: Control process exited, code=exited status=1
Jun 12 14:43:42 Toychest systemd[1]: Failed to start The Apache HTTP Server.
Jun 12 14:43:42 Toychest systemd[1]: apache2.service: Unit entered failed state.
Jun 12 14:43:42 Toychest systemd[1]: apache2.service: Triggering OnFailure= dependencies.
Jun 12 14:43:42 Toychest systemd[1]: apache2.service: Failed with result 'exit-code'.

8 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    I believe the issue is due to your apps - particularly php.  

     

    You might want to connect with WhoCares_ - perhap via his site https://rnxtras.com/

     

    He has a php update that is compatible with 6.10.x there.

    • WhoCares_'s avatar
      WhoCares_
      Mentor

      Hi Stephen,

       

      Although I'm happy to see my add-ons used, the solution may be easier. What most likely happened here is that one or other add-on required PHP so it got installed from the official repo. Now I suspect that for some reason NTGR themselves forgot to build a new version of PHP5 that would work with Apache 2.4 as is shipping since 6.10.0 and include that version into the 6.10.x repos.

      That said, there's also a chance that they actually built a new version but I don't think any packages already existing on the system would get upgraded on a firmware upgrade, essentially leading to the same problem. If NTGR did upgrade the PHP5 packages the solution to the problem would be as easy as

      • logging into the NAS using SSH
      • issuing "apt update && apt full-upgrade" and after that has finished
      • "systemctl restart apache2"

       

      -Stefan

      • SAS1201's avatar
        SAS1201
        Aspirant

        Thanks, when I try the apt update && apt full-upgrade as suggested and I am getting errors.. Any ideas?

         


        Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
        Fetched 15.7 kB in 2s (6,316 B/s)
        Reading package lists... Done
        E: Failed to fetch http://mirrors.kernel.org/debian/dists/jessie/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
        E: Failed to fetch http://security.debian.org/dists/jessie/updates/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
        E: Some index files failed to download. They have been ignored, or old ones used instead.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More