Upgrading mysql and configurating my custom 404.html page.

Thornx John lists at ruby-forum.com
Tue Nov 25 13:56:18 UTC 2014


Hello Francis.

Thank you for your reply.

I made a discovery that cooled me, I stopped nginx fully with the
command:

kill -9 27932 27931 27930 27929 27928 27925 with the help of "ps ax" but
the site still works with Apache in my opinion.

Now I know why nginx does not react and personal error pages not more!

Here are my new process :

------------------------------------------------------------------
 PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:01 init [2]
    2 ?        S      0:00 [kthreadd]
    3 ?        S      0:05 [ksoftirqd/0]
    5 ?        S      0:00 [kworker/u:0]
    6 ?        S      0:00 [migration/0]
    7 ?        S      0:02 [watchdog/0]
    8 ?        S<     0:00 [cpuset]
    9 ?        S<     0:00 [khelper]
   10 ?        S      0:00 [kdevtmpfs]
   11 ?        S<     0:00 [netns]
   12 ?        S      0:00 [sync_supers]
   13 ?        S      0:00 [bdi-default]
   14 ?        S<     0:00 [kintegrityd]
   15 ?        S<     0:00 [kblockd]
   17 ?        S      0:00 [khungtaskd]
   18 ?        S      0:00 [kswapd0]
   19 ?        SN     0:00 [ksmd]
   20 ?        SN     0:00 [khugepaged]
   21 ?        S      0:00 [fsnotify_mark]
   22 ?        S<     0:00 [crypto]
  120 ?        S      0:00 [khubd]
  121 ?        S<     0:00 [ata_sff]
  128 ?        S      0:00 [scsi_eh_0]
  129 ?        S      0:00 [scsi_eh_1]
  143 ?        S      0:00 [kworker/u:1]
  164 ?        S      0:02 [kjournald]
  308 ?        Ss     0:00 udevd --daemon
  446 ?        S      0:00 [vballoon]
  448 ?        S<     0:00 [kpsmoused]
  451 ?        S      0:04 [kworker/0:3]
 2094 ?        Sl     0:00 /usr/sbin/rsyslogd -c5
 2124 ?        Ss     0:00 /usr/sbin/acpid
 2154 ?        Ss     0:00 /usr/bin/dbus-daemon --system
 2179 ?        Ssl    0:00 /usr/sbin/NetworkManager
 2200 ?        Sl     0:00 /usr/lib/policykit-1/polkitd --no-debug
 2216 ?        S      0:00 /usr/sbin/modem-manager
 2266 ?        Ss     0:05 /usr/sbin/apache2 -k start
 2288 ?        S      0:00 /usr/sbin/apache2 -k start
 2299 ?        S      0:00 avahi-daemon: running [108.local]
 2300 ?        S      0:00 avahi-daemon: chroot helper
 2325 ?        Ss     0:00 /usr/sbin/bluetoothd
 2337 ?        S<     0:00 [krfcommd]
 2410 ?        Ss     0:00 /usr/sbin/cron
 2430 ?        Ss     0:33 lfd - sleeping
 2447 ?        Sl     0:00 /usr/sbin/lightdm
 2453 tty7     Ss+    1:57 /usr/bin/X :0 -auth /var/run/lightdm/root/:0
-nolisten tcp vt7 -novtswitch
 2478 ?        S      0:00 udevd --daemon
 2556 ?        S      0:00 /bin/sh /usr/bin/mysqld_safe
 2689 ?        Sl     0:00 lightdm --session-child 16 19
 2716 ?        Sl     0:00 /usr/lib/accountsservice/accounts-daemon
 2758 ?        Sl     0:00 /usr/sbin/console-kit-daemon --no-daemon
 2967 ?        Ssl    3:49 /usr/sbin/lightdm-gtk-greeter
 2989 ?        Sl     0:55 /usr/sbin/mysqld --basedir=/usr
--datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql
--log-error=/var/log/mysql/error.log --pid-fi
 3008 ?        Sl     0:00 /usr/lib/upower/upowerd
 3009 ?        S      0:00 [flush-254:0]
 3047 ?        S      0:00 lightdm --session-child 12 19
 3139 ?        Ss     0:07 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u
101:103
 3198 ?        Ss     0:00 /usr/sbin/sshd
 3303 ?        Ss     0:00 /usr/sbin/minissdpd -i 0.0.0.0
 3385 tty1     Ss+    0:00 /sbin/getty 38400 tty1
 3386 tty2     Ss+    0:00 /sbin/getty 38400 tty2
 3387 tty3     Ss+    0:00 /sbin/getty 38400 tty3
 3388 tty4     Ss+    0:00 /sbin/getty 38400 tty4
 3389 tty5     Ss+    0:00 /sbin/getty 38400 tty5
 3390 tty6     Ss+    0:00 /sbin/getty 38400 tty6
 3485 ?        S      0:00 /usr/sbin/apache2 -k start
 3794 ?        S      0:00 /usr/sbin/apache2 -k start
 4265 ?        S      0:00 /usr/sbin/apache2 -k start
 4340 ?        S      0:00 /usr/sbin/apache2 -k start
 4574 ?        S      0:00 /usr/sbin/apache2 -k start
 4756 ?        S      0:00 /usr/sbin/apache2 -k start
 5226 ?        S      0:00 /usr/sbin/apache2 -k start
 5227 ?        S      0:00 /usr/sbin/apache2 -k start
17467 ?        S      0:00 /usr/sbin/apache2 -k start
26445 ?        S      0:00 [kworker/0:0]
27969 ?        Ss     0:00 sshd: root at pts/0
27972 pts/0    Ss     0:00 -bash
28049 pts/0    R+     0:00 ps ax

--------------------------------------------------------------------

Now I must make a choice: keep or not Apache2 !

I confess that I prefer nginx, but if I uninstall apache that will
happen to my website ?

I hope it's a little clearer.

Thank you.

John.T

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list