LINUX.ORG.RU

Сообщения Kumbalt

 

Не работает apt-get

Форум — General

Есть один сервер на Debian 6. После неудачной попытки установить окружение gnome, перестал нормально работать apt-get.

root:~# apt-get install iwatch
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 gnome-bluetooth : Depends: consolekit but it is not going to be installed
 gnome-power-manager : Depends: consolekit but it is not going to be installed
 iwatch : Depends: libevent-perl but it is not going to be installed
          Depends: liblinux-inotify2-perl but it is not going to be installed
          Depends: libmail-sendmail-perl but it is not going to be installed
          Depends: libxml-simpleobject-libxml-perl but it is not going to be ins
talled
 policykit-1 : Depends: consolekit but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a s
olution).

А apt-get -f install нам выдает:

root:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  libevent-1.4-2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  consolekit
The following NEW packages will be installed:
  consolekit
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
584 not fully installed or removed.
Need to get 0 B/153 kB of archives.
After this operation, 582 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 101791 files and directories currently installed.)
Unpacking consolekit (from .../consolekit_0.4.1-4_i386.deb) ...
insserv: warning: script 'K023proxy' missing LSB tags and overrides
insserv: warning: script '3proxy' missing LSB tags and overrides
insserv: There is a loop between service stop-bootlogd and checkroot if started
insserv:  loop involving service checkroot at depth 4
insserv:  loop involving service hwclockfirst at depth 3
insserv:  loop involving service hwclock at depth 6
insserv:  loop involving service hostname at depth 4
insserv: There is a loop between service stop-bootlogd and mountnfs if started
insserv:  loop involving service mountnfs at depth 9
insserv:  loop involving service networking at depth 8
insserv:  loop involving service ifupdown-clean at depth 6
insserv:  loop involving service quota at depth 11
insserv: There is a loop between service stop-bootlogd and mountall if started
insserv:  loop involving service mountall at depth 8
insserv:  loop involving service checkfs at depth 7
insserv:  loop involving service mtab at depth 6
insserv:  loop involving service module-init-tools at depth 6
insserv: There is a loop at service stop-bootlogd if started
insserv: There is a loop between service 3proxy and stop-bootlogd if started
insserv:  loop involving service stop-bootlogd at depth 2
insserv:  loop involving service 3proxy at depth 1
insserv: There is a loop between service stop-bootlogd and mountnfs-bootclean if
 started
insserv:  loop involving service mountnfs-bootclean at depth 11
insserv:  loop involving service rsyslog at depth 1
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: There is a loop between service stop-bootlogd and mountkernfs if starte
d
insserv:  loop involving service mountkernfs at depth 1
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Starting 3proxy depends on stop-bootlogd and therefore on system facili
ty `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing /var/cache/apt/archives/consolekit_0.4.1-4_i386.deb (--un
pack):
 subprocess new pre-installation script returned error exit status 1
configured to not write apport reports
                                      Errors were encountered while processing:
 /var/cache/apt/archives/consolekit_0.4.1-4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Попытки установить consolekit не увенчались успехом. Подскажите куда копать, и что делать теперь?

 , , , insserv

Kumbalt
()

Защита от XSS и SQL inject

Форум — Security

Есть три php скрипта, и Acunetix Vulnerability Scanner ругается что там есть уязвимость, и возможность Blind SQL Inject. Подскажите как исправить?

http://codepaste.ru/14671 http://codepaste.ru/14672 http://codepaste.ru/14673

Код не мой, всю ночь голову ломал с ним, идей никаких, вся надежда на вас.

 , sql inject,

Kumbalt
()

mini-httpd +nginx не работают pl скрипты

Форум — Admin

Установил вроде бы как надо. Но выдает содержимое файла вместо запуска скрипта.

Конфиг nginx

location ~ .pl$ {
			set                     $referer        $http_referer;
			proxy_set_header        Referer         $referer;
			proxy_set_header        X-Real-IP       $remote_addr;
			proxy_set_header        Host            localhost:9001;
			proxy_set_header        REQUEST_METHOD  $request_method;
			proxy_set_header        REMOTE_USER     $remote_user;
			proxy_set_header        REMOTE_ADDR     $remote_addr;
			proxy_set_header        SERVER_NAME     localhost;
			proxy_set_header        SERVER_PORT     9001;
			proxy_set_header        HTTP_COOKIE     $http_cookie;
			root /var/www/****/data/www/******.ru/;
			gzip off;
			proxy_pass http://127.0.0.1:9001;

Конфиг mini-httpd

# On which port mini_httpd should listen?
port=9001

# Which user mini_httpd should use?
user=www-data

# Run in chroot mode?
#chroot # yes
nochroot # no

# Working directory of mini_httpd.
dir=/var/www/******/data/www/********.ru

# We are the web files stored?
# Please change this to your needs.
data_dir=/var/www/*****/data/www/******.ru

# Which certificate to use?
#certfile=<certfile>

# Which logfile to use?
logfile=/var/log/mini-httpd.log

# Which pidfile to use?
pidfile=/var/run/mini-httpd.pid

 mini-httpd, , ,

Kumbalt
()

RSS подписка на новые темы