"Welcome to nginx!" screen after upgrading debian

das329717

Member
May 25, 2018
928
0
16
Upgraded debian to wheezy from squeeze and now when I try to go to my rutorrent screen, i get the nginx welcome message.

"Welcome to nginx!

If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.

Thank you for using nginx."

rtorrent however, still works flawlessly. I can't be the only one who has this problem?
 

dsouvik215

Member
May 25, 2018
896
0
16
Check your nginx is loading the correct configs and that they have not been altered / overwritten.
 

das329717

Member
May 25, 2018
928
0
16
The config files didn't change. Unless you mean nginx might not even be reading the config files I have now? Where would I look for that.

I think it might related to this error I got after upgrading. I already removed the package suhosin, but here it is.

Quote
[ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/suhosin.so' - /usr/lib/php5/20100525/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0​


Also here is the nginx/php section of the install script that was ran

Quote
#INSTALL NGINX AND PHP
cd /root
echo "deb http://nginx.org/packages/debian/ squeeze nginx" >> /etc/apt/sources.list
echo "deb-src http://nginx.org/packages/debian/ squeeze nginx" >> /etc/apt/sources.list
echo "deb http://ftp.de.debian.org/debian/ squeeze contrib non-free" >> /etc/apt/sources.list
echo "deb-src http://ftp.de.debian.org/debian/ squeeze contrib non-free" >> /etc/apt/sources.list
echo "deb http://security.debian.org/ squeeze/updates contrib non-free" >> /etc/apt/sources.list
echo "deb-src http://security.debian.org/ squeeze/updates contrib non-free" >> /etc/apt/sources.list
echo "deb http://www.deb-multimedia.org squeeze main non-free" >> /etc/apt/sources.list
wget http://nginx.org/keys/nginx_signing.key
apt-key add nginx_signing.key
rm nginx_signing.key
apt-get -y update
apt-get --force-yes -y install deb-multimedia-keyring
apt-get update && apt-get -y upgrade
apt-get -y install nginx php5-cli php5-cgi spawn-fcgi php5-gd php5-geoip php5-ffmpeg php5-suhosin makepasswd apache2-utils

#PHP CONFIGURATION
wget http://****/php-fcgi
mv php-fcgi /etc/init.d/
chmod 755 /etc/init.d/php-fcgi
insserv /etc/init.d/php-fcgi
/etc/init.d/php-fcgi start

mv /etc/nginx/fastcgi_params ./fastcgi_params.old
wget http://***/fastcgi_params
mv fastcgi_params /etc/nginx/

#GENERATE SSL CERTS
wget http://***/openssl.cnf
openssl req -nodes -days 3650 -new -x509 -keyout server.key -out server.crt -config openssl.cnf -batch
mv server.crt /etc/ssl/certs
mv server.key /etc/ssl/certs
chmod 644 /etc/ssl/certs/server.*
openssl req -x509 -nodes -days 3650 -newkey rsa:1024 -keyout /etc/ssl/private/vsftpd.pem -out /etc/ssl/private/vsftpd.pem -config openssl.cnf -batch

#NGINX CONFIGURATION
mv /etc/nginx/conf.d/default.conf ./default.conf.old
wget http://****/default.conf
webport=$(shuf -i 13000-16000 -n 1)
sed -i "s/9417/$webport/g" default.conf
mv default.conf /etc/nginx/conf.d/
/etc/init.d/nginx restart​


Let me know if you want the NGINX config file aswell.
 

das329717

Member
May 25, 2018
928
0
16
Removed my earlier post, rutorrent only started working temporarily, and now I'm stuck with the same problem. If I can figure out how I will try to switch to httpd.