On 13/02/11 11.34, Mike Muzurakis wrote:
>> How do I solve the fatal main issue? This happens even if the debug
>> port-number is changed.
> there must be some error message in var/log/main-* (there are 3 main-
> logs in my instance). One of these logs must have an error that says why
> nginx isn't starting. probably the main-stdout... 
sudo tail -f main-stderr---supervisor-A4SzgJ.log
[sudo] password for plumi:
/home/plumi/PLUMI/new-buildout/parts/nginx-build/sbin/nginx: error while
loading shared libraries: libxslt.so.1: cannot open shared object file:
No such file or directory
/home/plumi/PLUMI/new-buildout/parts/nginx-build/sbin/nginx: error while
loading shared libraries: libxslt.so.1: cannot open shared object file:
No such file or directory
/home/plumi/PLUMI/new-buildout/parts/nginx-build/sbin/nginx: error while
loading shared libraries: libxslt.so.1: cannot open shared object file:
No such file or directory
/home/plumi/PLUMI/new-buildout/parts/nginx-build/sbin/nginx: error while
loading shared libraries: libxslt.so.1: cannot open shared object file:
No such file or directory

I have then installed both python-libxslt1-dbg and libxslt1-dbg and it
finally works.

However,

plumi@serkalo:~/PLUMI/new-buildout$ ./bin/instance-debug fg
/home/plumi/PLUMI/new-buildout/eggs/zope.minmax-1.1.2-py2.6.egg/zope/__init__.py:1:
UserWarning: Module _hashlib was already imported from None, but
/home/plumi/PLUMI/new-buildout/eggs/hashlib-20081119-py2.6-linux-x86_64.egg
is being added to sys.path
  __import__('pkg_resources').declare_namespace(__name__)
Traceback (most recent call last):
  File
"/home/plumi/PLUMI/new-buildout/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Zope2/Startup/run.py",
line 56, in <module>
    run()
  File
"/home/plumi/PLUMI/new-buildout/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Zope2/Startup/run.py",
line 21, in run
    starter.prepare()
  File
"/home/plumi/PLUMI/new-buildout/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Zope2/Startup/__init__.py",
line 80, in prepare
    self.setupServers()
  File
"/home/plumi/PLUMI/new-buildout/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Zope2/Startup/__init__.py",
line 216, in setupServers
    % (server.servertype(),e[1]))
ZConfig.ConfigurationError: There was a problem starting a server of
type "HTTPServer". This may mean that your user does not have permission
to bind to the port which the server is trying to use or the port may
already be in use by another application. (Address already in use)

This is the ps -A output:

1450 ?        00:00:00 cron
 1461 ?        00:00:00 sshd
 1466 ?        00:00:00 dbus-daemon
 1676 ?        00:00:00 exim4
 1870 ?        00:00:00 fail2ban-server
 2217 ?        00:00:01 snort
 2736 ?        00:00:00 sshd
 2741 ?        00:00:00 sshd
 2747 ?        00:00:00 ntpd
 2765 tty1     00:00:00 getty
 2766 tty2     00:00:00 getty
 2767 tty3     00:00:00 getty
 2768 tty4     00:00:00 getty
 2769 tty5     00:00:00 getty
 2770 tty6     00:00:00 getty
 2771 ?        00:00:00 udevd
 2772 ?        00:00:00 udevd
 2776 pts/0    00:00:00 bash
 3023 ?        00:00:00 flush-253:5
 4202 ?        00:00:00 flush-253:4
 4263 pts/0    00:00:00 sudo
 4264 pts/0    00:00:00 su
 4266 pts/0    00:00:00 bash
 4292 ?        00:00:00 sshd
 4294 ?        00:00:00 sshd
 4295 pts/1    00:00:00 bash
 4576 ?        00:00:00 supervisord
 4577 ?        00:00:00 python2.6
 4578 ?        00:00:00 transcodedaemon
 4579 ?        00:00:00 ploneftp
 4580 ?        00:00:17 python2.6
 4581 ?        00:00:17 python2.6
 4582 ?        00:00:16 python2.6
 4583 ?        00:00:17 python2.6
 4584 ?        00:00:16 python2.6
 4585 ?        00:00:16 python2.6
 4586 ?        00:00:16 python2.6
 4587 ?        00:00:16 python2.6
 4588 ?        00:00:00 haproxy
 4589 ?        00:00:00 varnishd
 4590 ?        00:00:00 nginx
 4594 ?        00:00:00 nginx
 4598 ?        00:00:00 varnishd

What should be here the other http-using process?


Cheers,



    Emanuele.

-- 
Emanuele Rodo  
RAW-news: Report Around the World

E [email protected]
W www.raw-news.net


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Discuss mailing list
[email protected]
http://lists.plumi.org/listinfo/discuss

Reply via email to