Apigee development portal issue. Please help me....

Not applicable

Hi Friends,

Please help me on it.

User attempted to update a views module, along with three other modules requesting updating, via the web interface, but, despite having FTP access, it wouldn’t allow him. So, he dropped the updated module folders into:

APIGEE development portal web site had been hung. Please check this issue. I asked User to roll-back the change and he did it. I have already run command ‘service httpd restart’. I can see httpd service is running on the server apigee402. Please find below logs and commands which I had performed for investigation.

[root@uqsnaap402 xxx]# cat /var/log/httpd/error_log | tail -10
[Wed Mar 08 13:40:56.403588 2017] [auth_digest:notice] [pid 11637] AH01757: generating secret for digest authentication ...
[Wed Mar 08 13:40:56.405760 2017] [lbmethod_heartbeat:notice] [pid 11637] AH02282: No slotmem from mod_heartmonitor
[Wed Mar 08 13:40:56.481880 2017] [mpm_prefork:notice] [pid 11637] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) PHP/5.4.16 configured -- resuming normal operations
[Wed Mar 08 13:40:56.481947 2017] [core:notice] [pid 11637] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Mar 08 14:15:52.385568 2017] [mpm_prefork:notice] [pid 11637] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Mar 08 14:16:21.410308 2017] [suexec:notice] [pid 12771] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 08 14:16:21.493095 2017] [auth_digest:notice] [pid 12771] AH01757: generating secret for digest authentication ...
[Wed Mar 08 14:16:21.494137 2017] [lbmethod_heartbeat:notice] [pid 12771] AH02282: No slotmem from mod_heartmonitor
[Wed Mar 08 14:16:21.599844 2017] [mpm_prefork:notice] [pid 12771] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) PHP/5.4.16 configured -- resuming normal operations
[Wed Mar 08 14:16:21.599899 2017] [core:notice] [pid 12771] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'

[root@uqsnaap402 xxx]# cat /var/log/httpd/devportal_access.log | tail -10
10.xxx.xxx.166 - - [09/Mar/2017:16:27:37 +0000] "GET /var/www/html/sites/all/ HTTP/1.1" 404 21777 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10240"
10.xxx.xxx.166 - - [09/Mar/2017:16:27:45 +0000] "GET / HTTP/1.1" 200 22988 "http://10.113.42.3/var/www/html/sites/all/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10240"
10.xxx.xxx.166 - - [09/Mar/2017:16:27:45 +0000] "GET /profiles/apigee/themes/apigee_responsive/images/homepage-image.png HTTP/1.1" 200 38375 "http://10.113.42.3/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10240"
10.xxx.xxx.166 - - [09/Mar/2017:16:27:46 +0000] "GET / HTTP/1.1" 304 - "http://10.113.42.3/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10240"
10.xxx.xxx.166 - - [09/Mar/2017:16:27:53 +0000] "GET /user/me/apps HTTP/1.1" 403 22325 "http://10.113.42.3/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10240"
10.xxx.xxx.166 - - [09/Mar/2017:16:27:54 +0000] "GET / HTTP/1.1" 304 - "http://10.113.42.3/user/me/apps" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10240"
10.xxx.xxx.166 - - [09/Mar/2017:16:27:58 +0000] "GET /var/www/html/sites/all/themes/ HTTP/1.1" 404 21849 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10240"


[root@uqsnaap402 xxx]# cat /var/log/httpd/devportal_error.log | tail -10
[Wed Mar 08 14:14:48.311579 2017] [:error] [pid 11648] [client 192.168.xxx.xxx:56261] PHP Fatal error: Class 'view' not found in /var/www/html/profiles/apigee/modules/contrib/views/views.module on line 1653
[Wed Mar 08 14:18:21.443392 2017] [:error] [pid 12786] [client 192.168.xxx.xxx:56454] PHP Fatal error: Class 'view' not found in /var/www/html/profiles/apigee/modules/contrib/views/views.module on line 1653
[Thu Mar 09 05:56:23.586958 2017] [:error] [pid 12786] [client 192.168.xxx.xxx:59764] PHP Fatal error: Class 'view' not found in /var/www/html/profiles/apigee/modules/contrib/views/views.module on line 1653
[Thu Mar 09 09:45:48.929791 2017] [:error] [pid 13470] [client 10.60.1.xxx:15674] PHP Fatal error: Class 'view' not found in /var/www/html/profiles/apigee/modules/contrib/views/views.module on line 1653
[Thu Mar 09 13:45:08.705086 2017] [:error] [pid 12872] [client 192.168.xxx.xxx:61149] PHP Fatal error: Class 'view' not found in /var/www/html/profiles/apigee/modules/contrib/views/views.module on line 1653
[root@uqsnaap402 xxx]#

We are getting below error at line number 1653. We could see file ‘views.module’ is available in the path ‘/var/www/html/profiles/apigee/modules/contrib/views/’.

File ‘view.inc’ is also available under path /var/www/html/profiles/apigee/modules/contrib/views/includes’.

could you please let me know how can I fix it? some modules has changed but I am unable to find anything related to issue.

0 6 1,114
6 REPLIES 6

@avinash patel , You can use drush commands to update registry, Try

drush rr

You can also try clearing caches once,

drush cc

Hi Anil,

We have already run below command to clear cache.

#drush cache-clear drush

and it is completed successfully.

could you please provide other suggestion.

Thanks,

Avinash

@avinash patel , Have you tried the first command ?

drush rr

Hi Anil,

I try to run the command and it is showing as below

[root@uqsnaap402 modules]# drush rr
The drush command 'rr' could not be found. Run `drush cache-clear drush` to clear the commandfile cache if you have installed new extensions. [error]
[root@uqsnaap402 modules]#

thanks,

Avinash

@avinash patel , You have to run the command inside developer portal root directory. That's generally /var/www/html/

hi Anil,

I tried to as you asked but same issue.

[root@uqsnaap402 xxx]# drush rr
The drush command 'rr' could not be found. Run `drush cache-clear drush` to clear the commandfile cache if you have installed new extensions. [error]
[root@uqsnaap402 xxx]# cd /var/www/html/
[root@uqsnaap402 html]# drush rr
The drush command 'rr' could not be found. Run `drush cache-clear drush` to clear the commandfile cache if you have installed new extensions. [error]
[root@uqsnaap402 html]#