We recently moved our environment from 32 bit to 64 bit .since then there are no updates available on the modules. Cleared the data base cache table and also increased the fetch time to 30 and nothing found on the incoming traffic. please see attached and any help is appreciated. Thanks in advance.

CommentFileSizeAuthor
#3 Status-report.PNG63.47 KBakshita
traffic.jpg49.32 KBakshita

Comments

Akshita created an issue. See original summary.

cilefen’s picture

Component: configuration system » update.module
Category: Bug report » Support request

Are there any watchdog errors or PHP errors? Since you are on a new platform, it will be good to check if PHP is allowed to make network connections. It can be blocked by things like selinux.

akshita’s picture

StatusFileSize
new63.47 KB

@cilefen - Thank you for your quick turn around.

There are no watchdog errors related to PHP. Can you please give me a clue how to check if PHP is allowed to make network connections?

Here I am attaching the status report of the 64 bit env.

Thank you.

cilefen’s picture

Are there any PHP-related errors in the web server logs?

Note that this is a common question and one of the previous issues may contain an answer that works for you.

You could try a curl example: http://php.net/manual/en/curl.examples-basic.php

akshita’s picture

@cilefen:

Sorry to bug you again. But I appreciate your patience.

Checked in /var/log/apache2/error.log --------- No PHP-related errors

I tried the following code on one of the test servers. I mean created a new site page and when tried to access the newly created page it is displaying white page-I have no idea what is this?:

<?php

$ch = curl_init("http://myTestServer/");
$fp = fopen("/press-release/test-webteam-after-ubuntu-patches", "w");

curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);

curl_exec($ch);
curl_close($ch);
fclose($fp);
?>

Thanks
Revathi

akshita’s picture

@cilefen:

Sorry to bug you again. But I appreciate your patience.

Checked in /var/log/apache2/error.log --------- No PHP-related errors

I tried the following code on one of the test servers. I mean created a new site page and when tried to access the newly created page it is displaying white page-I have no idea what is this?:

<?php

$ch = curl_init("http://myTestServer/");
$fp = fopen("/press-release/test-webteam-after-ubuntu-patches", "w");

curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);

curl_exec($ch);
curl_close($ch);
fclose($fp);
?>

Thanks

cilefen’s picture

You should probably have your sysadmin look into this.

akshita’s picture

I am the sysadmin but no clue just banging my head.

cilefen’s picture

Does this produce output for you?

print file_get_contents('http://updates.drupal.org/release-history/views/7.x');

White screens of death (WSODs) can be logged. Did you get a chance to look at the other solutions?

akshita’s picture

Hi Cilefen,

No output but rather displays as it is. Here is what I did:

Copied the above line into site page with the text editor "php code" .save the node and when tried to access the node it displays "print file_get_contents('http://updates.drupal.org/release-history/views/7.x');"

Other solutions I tried:

Increasing the fetch time and clearing the cache table apart from this I did not find any other new solutions.

Thanks
Revathi

cilefen’s picture

Using the PHP module is discouraged for security reasons.

I meant that code as a general test of your web server. You may put it in a script like test.php, and ideally, on a non-production server. Execute it separately.

Did you get a chance to look at your php error logging settings? I linked to some info on that in comment #9.

akshita’s picture

Now I just put the code in a script (myTest.php) and it leads to WSOD.

Comment # 9- There are no error logs related to php.

cilefen’s picture

You won't be able to proceed without knowing what the white screen error is. What are your error logging settings in php.ini? Specifically, what are the values of log_errors and display_errors?

Which files did you examine for PHP errors?

If a standalone script with the PHP code from #9 in it produces a WSOD, the problem is not Drupal.

akshita’s picture

Sorry I got the PHP warning for WSOD:

PHP Warning: file_get_contents(http://updates.drupal.org/release-history/views/7.x): failed to open stream: Connection timed out in /var/www/html/mytest.php on line 2

In php.ini:

log_errors:on
display_errors:off
akshita’s picture

PHP Version is : 5.5.9-1

cilefen’s picture

There you are—PHP is unable to reach the URL with a connection timeout. I don't know if there is more help you can receive in the Drupal core queue on this. You may have better luck in the #drupal channel on IRC or StackExchange. I have had this issue when dealing with selinux, for example.

akshita’s picture

Thank you cilefen. Will give a try with #drupal channel on IRC or StackExchange and appreciated your patience.

Have a good one!

cilefen’s picture

Status: Active » Closed (cannot reproduce)

I am going to close this. It can always be reopened.

akshita’s picture

Sure. Thank you.