Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Language specific forums Russian (Русский) Общие вопросы Debian/Ubuntu
  • Search

Support for Debian/Ubuntu

Post Reply
  • Print view
Advanced search
163 posts
  • Page 11 of 17
    • Jump to page:
  • Previous
  • 1
  • …
  • 9
  • 10
  • 11
  • 12
  • 13
  • …
  • 17
  • Next
vitroot
Posts: 22
Joined: Tue Aug 06, 2013 8:57 am
Contact:
Contact vitroot
Website

Re: Support for Debian/Ubuntu
  • Quote

Post by vitroot » Thu Oct 03, 2013 2:49 pm

skid wrote:Ubuntu 12.04 LTS is now supported!
нет повода не выпить
Top

maks
Posts: 8
Joined: Fri Jun 28, 2013 2:13 pm

Re: Support for Debian/Ubuntu
  • Quote

Post by maks » Fri Oct 04, 2013 7:07 am

Спасибо за резил под Ubuntu!

Ubuntu 12.04 x32 (digitalocean) чистая виртуалка. Установка прерывается на этом:

Code: Select all

...
Creating config file /etc/roundcube/debian-db.php with new version
granting access to database roundcube for roundcube@localhost: success.
verifying access for roundcube@localhost: success.
creating database roundcube: success.
verifying database roundcube exists: success.
populating database via sql...  done.
dbconfig-common: flushing administrative password

Creating config file /etc/roundcube/main.inc.php with new version
Lighttpd not installed, skipping
 * Reloading web server config apache2                                          Setting up roundcube (0.7.1-2) ...
Setting up roundcube-plugins (0.7.1-2) ...
Setting up liblwp-protocol-https-perl (6.02-1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 libapache2-mod-rpaf
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: apt-get install failed

Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Support for Debian/Ubuntu
  • Quote

Post by skid » Fri Oct 04, 2013 8:11 am

maks, посмотри если вывод команды "tail -n2 /etc/apt/sources.list" совпадает с

Code: Select all

deb http://nginx.org/packages/ubuntu/ precise nginx
deb http://apt.vestacp.com/precise/ precise vesta
Если да, то попробуй сделать

Code: Select all

apt-get update
apt-get install libapache2-mod-ruid2
Если подключен другой репозиторий, то нужно удалить последние строки и скачать новый установщик.

Code: Select all

rm -f vst-install-ubuntu.sh
curl -O  https://raw.github.com/serghey-rodin/vesta/master/install/vst-install-ubuntu.sh
bash vst-install-ubuntu.sh
Top

maks
Posts: 8
Joined: Fri Jun 28, 2013 2:13 pm

Re: Support for Debian/Ubuntu
  • Quote

Post by maks » Fri Oct 04, 2013 9:31 am

Code: Select all

root@vesta:~# tail -n2 /etc/apt/sources.list
deb http://nginx.org/packages/ubuntu/ precise nginx
deb http://apt.vestacp.com/precise/ precise vesta

root@vesta:~# apt-get install libapache2-mod-ruid2
Reading package lists... Done
Building dependency tree
Reading state information... Done
libapache2-mod-ruid2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 119 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up libapache2-mod-rpaf (0.6-2ubuntu1) ...
 * Restarting web server apache2                                                                                                                     apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
                                                                                                                                              [fail]
invoke-rc.d: initscript apache2, action "restart" failed.
dpkg: error processing libapache2-mod-rpaf (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 libapache2-mod-rpaf
E: Sub-process /usr/bin/dpkg returned an error code (1)
Оказалось Apache вешается на 0.0.0.0 как и Nginx:

Code: Select all

root@vesta:~# netstat -anpt
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      18300/mysqld
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      17770/nginx.conf
...
root@vesta:~# service nginx stop
root@vesta:~# apt-get install libapache2-mod-ruid2

Reading package lists... Done
Building dependency tree
Reading state information... Done
libapache2-mod-ruid2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 119 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up libapache2-mod-rpaf (0.6-2ubuntu1) ...
 * Restarting web server apache2                                                                                                                     apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
                                                                                                                                              [ OK ]
root@vesta:~# netstat -anpt
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      18300/mysqld
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      20539/apache2
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      17965/vsftpd
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      14439/named
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      724/sshd
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      17668/exim4
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      14439/named
tcp6       0      0 :::53                   :::*                    LISTEN      14439/named
tcp6       0      0 :::22                   :::*                    LISTEN      724/sshd
tcp6       0      0 ::1:25                  :::*                    LISTEN      17668/exim4
tcp6       0      0 ::1:953                 :::*                    LISTEN      14439/named
root@vesta:~#
И еще создался пустой файл:

Code: Select all

root@vesta:~# cat /etc/apache2/httpd.conf
root@vesta:~#
Top

satanlucas
Posts: 10
Joined: Tue Oct 01, 2013 5:45 pm
Contact:
Contact satanlucas
Website

Re: Support for Debian/Ubuntu
  • Quote

Post by satanlucas » Fri Oct 04, 2013 1:03 pm

Добрый день. Может все-таки создать отдельную ветку для Debian/Ubuntu?

Установил на Ubuntu 13.04 с первой попытки, косяков при установке не возникло.
Создал пакет, пользователя, добавил первый домен - проблем не было, при добавлении второго домена возникло сообщение с ошибкой 20, но домен добавился и все другие параметры прописались. Через пару минут получил на почту сообщение с заголовком "example.uz: bind9 restart failed":
* Usage: /etc/init.d/bind9 {start|stop|reload|restart|force-reload|status}
* Stopping domain name service... bind9
rndc: connect failed: 127.0.0.1#953: connection refused
...done.
* Starting domain name service... bind9
...fail!
Не смог разобраться, где собака зарыта..

И еще одна проблема, по-видимому связанная с предыдущей: при наборе второго домена (сайта) в браузере открывается первый сайт.

Благодарю за помощь.
Last edited by satanlucas on Fri Oct 04, 2013 1:36 pm, edited 1 time in total.
Top

satanlucas
Posts: 10
Joined: Tue Oct 01, 2013 5:45 pm
Contact:
Contact satanlucas
Website

Re: Support for Debian/Ubuntu
  • Quote

Post by satanlucas » Fri Oct 04, 2013 1:09 pm

Еще одна проблема:

После установки на Ubuntu пришлось в /etc/vsftpd.conf изменить параметр

Code: Select all

userlist_enable=YES
на

Code: Select all

userlist_enable=NO
так как в противном случае попытка подключения по FTP выдавала сообщение:
500 OOPS: cannot read user list file:/etc/vsftpd.user_list
Top

satanlucas
Posts: 10
Joined: Tue Oct 01, 2013 5:45 pm
Contact:
Contact satanlucas
Website

Re: Support for Debian/Ubuntu
  • Quote

Post by satanlucas » Fri Oct 04, 2013 1:43 pm

Сейчас обнаружил еще одну проблему:

После деактивации (suspend) сайта в панели, повторная активация ничего не меняет - сайт так и остается деактивированным.
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Support for Debian/Ubuntu
  • Quote

Post by skid » Fri Oct 04, 2013 2:36 pm

maks, пакеты apache и nginx конфликтуют между собой, но это не проблема. Первый запуск следуюет сразу после команды apt-get и он конечно завершается неудачно, однако второй, когда все конфиги на месте, проходит нормально. В твоем случае видно, что проблема в пакете libapache2-mod-ruid2_0.6-2. Мне не ясно от куда он в системе. В репозитории весты находится более свежая версия libapache2-mod-ruid2_0.9.7-1. Если не сложно, переустанови пожалуйста сервер снова и до запуска установщика сделай apt-get update; apt-cache search libapache2-mod-ruid2.

satanlucas, на выходных мы будем переделывать структуру форума и заодно выделим место для ubuntu related тем. Функцию суспенда буду смотреть. По поводу bind нужно взглянуть на вывод service bind9 configtest
Top

maks
Posts: 8
Joined: Fri Jun 28, 2013 2:13 pm

Re: Support for Debian/Ubuntu
  • Quote

Post by maks » Mon Oct 07, 2013 6:50 pm

Ubuntu 12.04 x32 (digitalocean)

skid apt-get update; apt-get upgrade - и vesta установилось без ошибок. Но vsftpd не запускается. Лог с установки vsftpd:

Code: Select all

--2013-10-07 18:31:03--  http://c.vestacp.com/0.9.8/ubuntu/vsftpd.conf
Resolving c.vestacp.com (c.vestacp.com)... 50.22.60.3
Connecting to c.vestacp.com (c.vestacp.com)|50.22.60.3|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 424 [text/plain]
Saving to: `/etc/vsftpd.conf'

100%[======================================>] 424         --.-K/s   in 0s

2013-10-07 18:31:03 (55.2 MB/s) - `/etc/vsftpd.conf' saved [424/424]

update-rc.d: warning: /etc/init.d/vsftpd missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
 Adding system startup for /etc/init.d/vsftpd ...
   /etc/rc0.d/K20vsftpd -> ../init.d/vsftpd
   /etc/rc1.d/K20vsftpd -> ../init.d/vsftpd
   /etc/rc6.d/K20vsftpd -> ../init.d/vsftpd
   /etc/rc2.d/S20vsftpd -> ../init.d/vsftpd
   /etc/rc3.d/S20vsftpd -> ../init.d/vsftpd
   /etc/rc4.d/S20vsftpd -> ../init.d/vsftpd
   /etc/rc5.d/S20vsftpd -> ../init.d/vsftpd
vsftpd start/pre-start, process 19090
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Support for Debian/Ubuntu
  • Quote

Post by skid » Mon Oct 07, 2013 9:30 pm

maks , сразу 2 проблемы вкрылось. Нужно поправить конфиг и обновить пакет vsftpd. Тот пакет, что идет в стандартном репозитории, не умеет работать с опцией allow_writeable_chroot.

Вот решение

Code: Select all

apt-get update
apt-get install vsftpd
wget http://c.vestacp.com/0.9.8/ubuntu/vsftpd.conf -O /etc/vsftpd.conf 
service vsftpd restart
Top


Post Reply
  • Print view

163 posts
  • Page 11 of 17
    • Jump to page:
  • Previous
  • 1
  • …
  • 9
  • 10
  • 11
  • 12
  • 13
  • …
  • 17
  • Next

Return to “Debian/Ubuntu”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password