Drupal is an open-source, database-backed CMS written in PHP. It is maintained and supported by a worldwide community. Questions about installing and maintaining Drupal belong on Drupal.SE

learn more… | top users | synonyms

0
votes
1answer
312 views

Drupal installation. GD and PDO issue on ubuntu amazon EC2

sorry if this has been answered already, but my searches brought me to nowhere. I have just installed LAMP environment on Amazon EC2 instance. It runs on: Ubuntu precise 12.04 amd64 server PHP ...
0
votes
1answer
118 views

Running drupal as root in order for it to run bash scripts

I store a website on redhat and using drupal. There is a button on the site that activates a php script and that php script use exec to activate bash script on the server. Right now the script is not ...
0
votes
1answer
111 views

Alias for Drupal “Sites” folder with Apache on Windows Server 2008 [duplicate]

I'm having to move a number of sites from a LAMP stack to a WAMP one, provided by Zend, and I've hit a problem. Our architecture is a number of loadbalanced web servers which have their own local ...
-1
votes
2answers
120 views

Sendmail Invoked by Unknown Process [closed]

On a webserver, I am seeing unknown processes invoking sendmail like root 1544 1188 0 03:42 ? 00:00:00 sendmail: ./qBBJ2gNg014264 mail.furst.com.: user open I have DROPed all SMTP ...
1
vote
2answers
570 views

duplicate cache pages: Varnish

Recently we have configured Varnish on our server, it was successfully setup but we noticed that if we open any page in multiple browsers, the Varnish send request to Apache not matter page is cached ...
0
votes
2answers
941 views

Apache strace to hunt down a memory leak

We have a server with a memory issue: the server keeps allocating itself memory and doesn't release it. We're running Apache. I set MaxReqsPerClient to a really low value just so the threads don't ...
0
votes
1answer
272 views

310 too many redirects after moving drupal site to fast-cgi

Here is trouble: When i follow this link - http://znak.net.ua it rewrites to http://znak.net.ua/ru/ru/ru/ru/ru/ and i got Error 310 (net::ERR_TOO_MANY_REDIRECTS) This happend when i start using ...
0
votes
1answer
358 views

Drupal & nginx : a sound “general purpose” configuration? [closed]

After a bit back and forth with configuring Drupal and nginx to work together, I've come up with the below configuration for a site. It works well, both with private and public file systems. However, ...
4
votes
1answer
371 views

Intranet corporate SSO for webapps against Active Directory

I am trying to plan and implement a SSO solution in a corporate environment that serves intranet web applications running on CentOS: Corporate portal (Drupal backend) Project management ...
0
votes
1answer
64 views

Is it safe/wise to run Drupal alongside bespoke business web apps in production? [closed]

I'm interested to know the general community feeling about the safety of running Drupal alongside bespoke, business critial ASP.NET MVC apps on a production server. Previously my employer's Drupal ...
0
votes
2answers
1k views

HTTPS variable in $_SERVER using nginx as reverse proxy

I'm using nginx as a reverse proxy in front of an apache with mod_php. My site is on https, and it would require the variable $_SERVER['HTTPS'] to be set 'on' to assemble some of the links correctly. ...
0
votes
1answer
1k views

what port should I open for mysql master-master replication?

I have two servers running php5-fpm and a load balancer running nginx, the three servers share /var/www/drupal using nfs. nfs is working correctly. I replicated the two servers' database using mysql ...
1
vote
0answers
133 views

Is memcache impacting my performence negatively?

I am using pressflow 6 and NewRelic seems to suggest that memcache is infact hurting performance as shown below : My settings.php file : # Varnish reverse proxy on localhost $conf['reverse_proxy'] ...
1
vote
0answers
29 views

Server error with large posts

On a large drupal site, the database server is on a separate server connected directly to the web server. The web server uses apache and memcached. The problem is that whenever the post is a large, ...
1
vote
1answer
396 views

Bitnami Drupal can't send email

I have the Bitnami Drupal AMI that is on the AWS marketplace. https://aws.amazon.com/marketplace/pp/ref=bill_eml_1?sku=5ysj40wf1vkv5qwu3jszwhefa when someone attemps to create a new account they get ...
0
votes
1answer
308 views

can't login to SSH with Bitnami Drupal AMI on AWS Marketplace

I have the Bitnami Drupal AMI that is on the AWS marketplace. https://aws.amazon.com/marketplace/pp/ref=bill_eml_1?sku=5ysj40wf1vkv5qwu3jszwhefa I can't SSH to it in EC2. Tries to use user ubuntu. ...
1
vote
0answers
549 views

High load average, low CPU and IO (Centos 5.7)

A Drupal 7 site with CiviCRM, after running smoothly for a year on a 1&1 VPS suddenly became unresponsive. Now pages eventually load, but can take more than a minute. Looking at resource use in ...
2
votes
2answers
7k views

Why is Varnish not caching?

I am troubleshooting the setup of Varnish 3.x on my Ubuntu server. I'm running Drupal 7 on two sites set up on the box, via named-based vhosts. Before trying to get Varnish to play nice with Drupal ...
0
votes
1answer
49 views

Solr, sort same weigthing results alphebetically

I'm working in a project that uses Drupal Solr module and I'm facing a problem plus I'm a complete rookie on Solr config. The issue is that same weigthing results does not appear ordered ...
1
vote
2answers
174 views

ngnix simple location match, what does it mean

location ~ \..*/.*\.php$ { return 403; } I am interpreting this as: case sensitive .[any character repeated 0 or more times]/[any character repeated 0 or more times].php Examples: ...
0
votes
1answer
228 views

nginx - another rewrite or internal redirection cycle - drupal

While migrating a site from another server, some strange problem occured. I use the default configuration for all my drupal sites, but this one doesnt seem to work. Some image files cause an internal ...
1
vote
1answer
91 views

How to remove duplicate illegal site in apache configuration?

I've recently found a referrer in the apache log on my site. Now, I opened it out of curiosity, since my site is live, but I just started development so I didn't expect it. Anyway, the site was a ...
0
votes
1answer
367 views

Finding malicious code injected into MySQL [duplicate]

Possible Duplicate: My server's been hacked EMERGENCY I've got a new client whose site looks like it has been hacked. It's running Drupal and I have run Hacked on it to verify that the ...
2
votes
1answer
191 views

What's the best way to run Drupal and Django sites behind the same Varnish server?

I have a high traffic website running with Drupal and Apache, five web servers behind a Varnish server load balancing. Let's say this site is example.com. I'm using five backends and a director like ...
3
votes
2answers
1k views

Drupal on an NFS share has terrible performance

We have a setup where a Drupal 7 site with the following setup - a VMware ESXi 4.1 host server running a web vm and an NFS VM. The web VM is using Apache and mod_php. The site is still in development ...
3
votes
1answer
542 views

Using nginx and Drupal, how do I serve a 404 error for static files and directories that exist?

I deploy a Drupal web site using git (well, OK, the developers deploy it; I try to keep them out of trouble), and for that reason the site has a directory .git and a file .gitignore in the document ...
0
votes
2answers
546 views

Login to Drupal fails with Nginx and proxy_pass, but works when accessing Drupal directly

We need to proxy pass an url in which my.domain.com need to get drupal.apps.server.com. We configured rewrite and is working fine. Then we configured proxypass and while accessing my.domain.com we ...
1
vote
1answer
1k views

How to you properly invalidate the local cache on a browser?

I'm troubleshooting a problem on my site where a user will authenticate successfully but the browser will load (I believe) the local cache of the page to which the user is redirected. Since it's a ...
0
votes
2answers
4k views

Mod_rewrite not working on ISPConfig 3 Server [closed]

Problem I recently migrated a Drupal site from a shared hosting server to my own VM. Everything appears to work correctly, except clean urls. My VM Setup Ubuntu 10.04 LAMP ISPConfig 3 What I've ...
2
votes
1answer
512 views

Nginx Subdirectory Drupal + other app

I have a drupal app and 2 other app written in php, i want use a rewrite uri for drupal and place drupal in virtual root / and the other by their names ... and use the server cache for the img of each ...
1
vote
1answer
4k views

PHP displays blank white page even with all error reporting enabled

I am trying to debug a broken page in a Drupal application and am having a hard time getting PHP to spit anything useful out. I have the following set: error_reporting = E_ALL display_errors = On ...
0
votes
1answer
402 views

umask is being ignored on Gentoo while creating new files

I have a server running Gentoo and hosting a drupal installation. Whenever a Drupal update is executed, the directory permissions of the updated module turn from 755 to 744 preventing the application ...
2
votes
1answer
945 views

MySQL errors with Drupal and MediaTemple

I have been having intermitant issues between drupal 7.14 and MediaTemple. Specifically I am getting this error: PDOException: SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; ...
0
votes
1answer
775 views

Drupal Commons using sendmail with Gmail SMTP smart host: Account suspended for abuse

I have a Linux VPS with two Drupal sites, one of them using Drupal Commons. Both installations are told to send mail via sendmail, which in turn is configured to relay mail to the Gmail SMTP server ...
0
votes
1answer
879 views

Nginx gives 504 Gateway Time-out once moved to live

I am planning to switch my website (drupal 6.25) from apache to nginx. i have prepared everything for nginx and tested it on port 81. it is working fine. and now i changed listen from 81 to 80 and ...
0
votes
1answer
111 views

centos linux log messages filling up with page not found

We have experienced some instability on our server lately. Checking log/messages there is a lot of messages like this Apr 25 20:27:17 lillevinkel2 drupal: ...
0
votes
1answer
536 views

Optimized LAMP/LEMP stack scripts

In the "let's try not to reinvent the wheel" perspective, I've been looking for a packaged LAMP (or LEMP) stack for some time now, not only the basic Mysql, Apache , PHP etc... but ideally stuff like ...
1
vote
2answers
103 views

php security on a system with only known php software (or: need alternative non-PHP CMS)

I have a deep antipathy for PHP due to its security record and the way the project handles security in general. Unfortunately I have to deploy a CMS and I need a modern theme for it. So far I have ...
0
votes
2answers
343 views

Site resolves fine without “www”, “www” creates database error

Working with BOA ( Barracuda / Octopus / Aegir ) , I've installed a few Drupal sites without any problems and following the same process for all. BOA is running on Nginx. All sites are going thru ...
0
votes
1answer
71 views

LAMP server being used to send SPAM [duplicate]

Possible Duplicate: My server's been hacked EMERGENCY I have a LAMP server running that has suddenly started trying to send out spam email. I wonder would anyone have any suggestion to ...
0
votes
2answers
1k views

Serve empty 404 page with mod_rewrite

I have a Drupal website which contains the below default mod_rewrite rules RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico ...
0
votes
1answer
147 views

Maintaining a static website in the Drupal root

I have a virtual host setup to host a Drupal website. This is replacing our center's old website. However, a portion of that website (which is completely static) needs to still live on and have the ...
12
votes
3answers
16k views

How to investigate a memory leak with Apache and PHP?

We're running a heavy Drupal website that performs financial modeling. We seem to be running into some sort of memory leak given the fact that overtime the memory used by apache grows while the number ...
1
vote
2answers
2k views

Setup htpasswd for a specific URL

I have a htpasswd file, works fine - in my htaccess I have: <Limit GET POST> require valid-user </Limit> Which works, login/passwd shows up fine when you reach the root of website. ...
2
votes
1answer
87 views

Any particular vacuum policy to increase performance using Drupal with PostgreSQL?

I'm running Drupal 7 with PostgreSQL as a Q&A (with a lot of nodes inserts/updates and several contrib modules). Do you, dba admins, recommand any particular pgsql vacuum policy on particular ...
1
vote
1answer
1k views

MySQL cluster for Drupal?

We have a pretty busy site based on Drupal and I was thinking of introducing some form of clustering for HA and Load balancing. However, http://drupal.org/requirements says: Drupal supports MyISAM ...
1
vote
1answer
304 views

Failed PCI compliance - 403 (Forbidden)

Due to a recent upgrade in the scanning done by our PCI compliance testers, we recently failed a PCI, and the suggested solution is as follows: Configure the HTTP server to specify the same error ...
2
votes
3answers
13k views

Best my.cnf configuration for a 8GB MySQL server with MyISAM use only

I am preparing a large Drupal 6.x based installation and have setup a dedicated MySQL server with 8GB of RAM. Drupal 6.x uses only MyISAM engine and there will be around 500 concurrent users using the ...
1
vote
5answers
286 views

Synching 2 remote folders

We have 2 Drupal servers that read/write to their own copy of the same folder (the sites/default/files folder for those of you who know a bit about Drupal). Those 2 folders should be in sync. I've ...
2
votes
3answers
133 views

“Mom and Pop” shop looking for advise on hosting an e-commerce site

I am not very technical, and I don't know if this is the right place to post this question. Sorry in advance. Anyways, hiring someone to do the e-commerce site can be futile, so I tried to do it ...