Простые/общие вопросы по UNIX системам. Спросите здесь, если вы новичок
Модераторы: vadim64, terminus
Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
-
tailerus
- рядовой
- Сообщения: 30
- Зарегистрирован: 2010-06-03 2:02:37
Непрочитанное сообщение
tailerus » 2010-06-15 20:41:06
Подскажите что не так делаю, использовал статью
http://www.sys-adm.org.ua/mail/mail-howto-p1.php , делал все в точности
Код: Выделить всё
login as: admin
Using keyboard-interactive authentication.
Password:
Last login: Tue Jun 15 23:09:05 2010 from 192.168.247.1
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 8.0-RELEASE (GENERIC) #0: Sat Nov 21 15:48:17 UTC 2009
Welcome to FreeBSD!
Before seeking technical support, please use the following resources:
o Security advisories and updated errata information for all releases are
at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
for your release first as it's updated frequently.
o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,
along with the mailing lists, can be searched by going to
http://www.FreeBSD.org/search/. If the doc distribution has
been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list. If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page. If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility. Edit /etc/motd to change this login announcement.
To see the output from when your computer started, run dmesg(8). If it has
been replaced with other messages, look at /var/run/dmesg.boot.
-- Francisco Reyes <lists@natserv.com>
$ su
Password:
/usr/home/admin/>cd
/root/>cd /usr/ports/security/cyrus-sasl2/
/usr/ports/security/cyrus-sasl2/>make config
/usr/local/bin/mysql: unknown variable 'log=/var/log/mysql.log'
??????????????????????????????????????????????????????????????????????
? Options for cyrus-sasl 2.1.23 ?
? ?????????????????????????????????????????????????????????????????? ?
? ? [ ] BDB Use Berkeley DB ? ?
? ? [X] MYSQL Use MySQL ? ?
? ? [ ] PGSQL Use PostgreSQL ? ?
? ? [ ] SQLITE Use SQLite ? ?
? ? [ ] DEV_URANDOM Use /dev/urandom ? ?
? ? [ ] ALWAYSTRUE Enable the alwaystrue password verifier ? ?
? ? [ ] KEEP_DB_OPEN Keep handle to Berkeley DB open ? ?
? ? [ ] AUTHDAEMOND Enable use of authdaemon ? ?
? ? [X] LOGIN Enable LOGIN authentication ? ?
? ? [X] PLAIN Enable PLAIN authentication ? ?
? ? [X] CRAM Enable CRAM-MD5 authentication ? ?
? ? [X] DIGEST Enable DIGEST-MD5 authentication ? ?
? ? [ ] OTP Enable OTP authentication ? ?
? ? [ ] NTLM Enable NTLM authentication ? ?
? ? ? ?
??????????????????????????????????????????????????????????????????????
? OK [Cancel] ?
??????????????????????????????????????????????????????????????????????
===> Options unchanged
/usr/ports/security/cyrus-sasl2/>make install clean
/usr/local/bin/mysql: unknown variable 'log=/var/log/mysql.log'
===> cyrus-sasl-2.1.23 cannot install: unknown MySQL version: .
*** Error code 1
Stop in /usr/ports/security/cyrus-sasl2.
/usr/ports/security/cyrus-sasl2/>
tailerus
-
Хостинг HostFood.ru
-
Хостинг HostFood.ru
Тарифы на хостинг в России, от 12 рублей:
https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.:
https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах:
https://www.host-food.ru/domains/
-
Gendos
- лейтенант
- Сообщения: 801
- Зарегистрирован: 2009-02-18 14:30:39
- Откуда: АЗиОПА
-
Контактная информация:
Непрочитанное сообщение
Gendos » 2010-06-15 21:31:23
Да как удав! Работаю.
Gendos
-
tailerus
- рядовой
- Сообщения: 30
- Зарегистрирован: 2010-06-03 2:02:37
Непрочитанное сообщение
tailerus » 2010-06-16 0:04:00
Код: Выделить всё
/root/>/usr/local/etc/rc.d/mysql-server start
mysql already running? (pid=1452).
/root/>
Код: Выделить всё
/root/>/usr/local/etc/rc.d/mysql-server restart
Stopping mysql.
Waiting for PIDS: 918, 918.
Starting mysql.
/root/>
Код: Выделить всё
/usr/ports/security/cyrus-sasl2/>make install clean
/usr/local/bin/mysql: unknown variable 'log=/var/log/mysql.log'
===> cyrus-sasl-2.1.23 cannot install: unknown MySQL version: .
*** Error code 1
tailerus
-
tailerus
- рядовой
- Сообщения: 30
- Зарегистрирован: 2010-06-03 2:02:37
Непрочитанное сообщение
tailerus » 2010-06-16 0:14:30
Код: Выделить всё
/usr/local/libexec/mysqld Ver 6.0.11-alpha-log for portbld-freebsd8.0 on i386 (FreeBSD port: mysql-server-6.0.11)
И не только с этой версией, пробовал и 4х и 5х.
tailerus
-
Gendos
- лейтенант
- Сообщения: 801
- Зарегистрирован: 2009-02-18 14:30:39
- Откуда: АЗиОПА
-
Контактная информация:
Непрочитанное сообщение
Gendos » 2010-06-16 3:30:08
Да как удав! Работаю.
Gendos
-
Гость
- проходил мимо
Непрочитанное сообщение
Гость » 2010-06-16 14:10:14
Gendos писал(а):
перезапусти мускул
Код: Выделить всё
/root/>cat /var/db/mysql/`hostname`.err
100616 00:55:34 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
100616 0:55:34 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
100616 0:55:34 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
100616 0:55:34 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
100616 0:55:34 InnoDB: Started; log sequence number 0 0
100616 0:55:34 [Note] Event Scheduler: Loaded 0 events
100616 0:55:34 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '6.0.11-alpha-log' socket: '/tmp/mysql.sock' port: 3306 FreeBSD port: mysql-server-6.0.11
100616 1:19:29 [Note] /usr/local/libexec/mysqld: Normal shutdown
100616 1:19:29 [Note] Event Scheduler: Purging the queue. 0 events
100616 1:19:29 InnoDB: Starting shutdown...
100616 1:19:29 InnoDB: Shutdown completed; log sequence number 0 46409
100616 1:19:30 [Warning] Forcing shutdown of 1 plugins
100616 1:19:30 [Note] /usr/local/libexec/mysqld: Shutdown complete
100616 01:19:30 mysqld_safe mysqld from pid file /var/db/mysql/PC.localdomain.pid ended
100616 01:35:11 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
100616 1:35:12 InnoDB: Started; log sequence number 0 46409
100616 1:35:12 [Note] Event Scheduler: Loaded 0 events
100616 1:35:12 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '6.0.11-alpha-log' socket: '/tmp/mysql.sock' port: 3306 FreeBSD port: mysql-server-6.0.11
100616 1:57:47 [Note] /usr/local/libexec/mysqld: Normal shutdown
100616 1:57:47 [Note] Event Scheduler: Purging the queue. 0 events
100616 1:57:47 InnoDB: Starting shutdown...
100616 1:57:48 InnoDB: Shutdown completed; log sequence number 0 46409
100616 1:57:49 [Warning] Forcing shutdown of 1 plugins
100616 1:57:49 [Note] /usr/local/libexec/mysqld: Shutdown complete
100616 01:57:49 mysqld_safe mysqld from pid file /var/db/mysql/PC.localdomain.pid ended
100616 01:58:50 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
100616 1:58:51 InnoDB: Started; log sequence number 0 46409
100616 1:58:51 [Note] Event Scheduler: Loaded 0 events
100616 1:58:51 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '6.0.11-alpha-log' socket: '/tmp/mysql.sock' port: 3306 FreeBSD port: mysql-server-6.0.11
100616 2:22:43 [Note] /usr/local/libexec/mysqld: Normal shutdown
100616 2:22:43 [Note] Event Scheduler: Purging the queue. 0 events
100616 2:22:43 InnoDB: Starting shutdown...
100616 2:22:44 InnoDB: Shutdown completed; log sequence number 0 46409
100616 2:22:46 [Warning] Forcing shutdown of 1 plugins
100616 2:22:46 [Note] /usr/local/libexec/mysqld: Shutdown complete
100616 02:22:46 mysqld_safe mysqld from pid file /var/db/mysql/PC.localdomain.pid ended
100616 02:22:47 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
100616 2:22:48 InnoDB: Started; log sequence number 0 46409
100616 2:22:48 [Note] Event Scheduler: Loaded 0 events
100616 2:22:48 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '6.0.11-alpha-log' socket: '/tmp/mysql.sock' port: 3306 FreeBSD port: mysql-server-6.0.11
100616 6:05:03 [Note] /usr/local/libexec/mysqld: Normal shutdown
100616 6:05:03 [Note] Event Scheduler: Purging the queue. 0 events
100616 6:05:03 InnoDB: Starting shutdown...
100616 6:05:04 InnoDB: Shutdown completed; log sequence number 0 46409
100616 6:05:04 [Warning] Forcing shutdown of 1 plugins
100616 6:05:04 [Note] /usr/local/libexec/mysqld: Shutdown complete
100616 06:05:04 mysqld_safe mysqld from pid file /var/db/mysql/PC.localdomain.pid ended
/root/>chmod 777 /tmp
/root/>/usr/local/etc/rc.d/mysql-server restart
/root/> И ПУСТО !!!
Код: Выделить всё
/root/>mysql
mysql: unknown variable 'log=/var/log/mysql.log'
Гость
-
tailerus
- рядовой
- Сообщения: 30
- Зарегистрирован: 2010-06-03 2:02:37
Непрочитанное сообщение
tailerus » 2010-06-16 14:15:34
Гость писал(а):Gendos писал(а):
перезапусти мускул
Код: Выделить всё
/root/>cat /var/db/mysql/`hostname`.err
100616 00:55:34 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
100616 0:55:34 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
100616 0:55:34 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
100616 0:55:34 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
100616 0:55:34 InnoDB: Started; log sequence number 0 0
100616 0:55:34 [Note] Event Scheduler: Loaded 0 events
100616 0:55:34 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '6.0.11-alpha-log' socket: '/tmp/mysql.sock' port: 3306 FreeBSD port: mysql-server-6.0.11
100616 1:19:29 [Note] /usr/local/libexec/mysqld: Normal shutdown
100616 1:19:29 [Note] Event Scheduler: Purging the queue. 0 events
100616 1:19:29 InnoDB: Starting shutdown...
100616 1:19:29 InnoDB: Shutdown completed; log sequence number 0 46409
100616 1:19:30 [Warning] Forcing shutdown of 1 plugins
100616 1:19:30 [Note] /usr/local/libexec/mysqld: Shutdown complete
100616 01:19:30 mysqld_safe mysqld from pid file /var/db/mysql/PC.localdomain.pid ended
100616 01:35:11 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
100616 1:35:12 InnoDB: Started; log sequence number 0 46409
100616 1:35:12 [Note] Event Scheduler: Loaded 0 events
100616 1:35:12 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '6.0.11-alpha-log' socket: '/tmp/mysql.sock' port: 3306 FreeBSD port: mysql-server-6.0.11
100616 1:57:47 [Note] /usr/local/libexec/mysqld: Normal shutdown
100616 1:57:47 [Note] Event Scheduler: Purging the queue. 0 events
100616 1:57:47 InnoDB: Starting shutdown...
100616 1:57:48 InnoDB: Shutdown completed; log sequence number 0 46409
100616 1:57:49 [Warning] Forcing shutdown of 1 plugins
100616 1:57:49 [Note] /usr/local/libexec/mysqld: Shutdown complete
100616 01:57:49 mysqld_safe mysqld from pid file /var/db/mysql/PC.localdomain.pid ended
100616 01:58:50 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
100616 1:58:51 InnoDB: Started; log sequence number 0 46409
100616 1:58:51 [Note] Event Scheduler: Loaded 0 events
100616 1:58:51 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '6.0.11-alpha-log' socket: '/tmp/mysql.sock' port: 3306 FreeBSD port: mysql-server-6.0.11
100616 2:22:43 [Note] /usr/local/libexec/mysqld: Normal shutdown
100616 2:22:43 [Note] Event Scheduler: Purging the queue. 0 events
100616 2:22:43 InnoDB: Starting shutdown...
100616 2:22:44 InnoDB: Shutdown completed; log sequence number 0 46409
100616 2:22:46 [Warning] Forcing shutdown of 1 plugins
100616 2:22:46 [Note] /usr/local/libexec/mysqld: Shutdown complete
100616 02:22:46 mysqld_safe mysqld from pid file /var/db/mysql/PC.localdomain.pid ended
100616 02:22:47 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
100616 2:22:48 InnoDB: Started; log sequence number 0 46409
100616 2:22:48 [Note] Event Scheduler: Loaded 0 events
100616 2:22:48 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '6.0.11-alpha-log' socket: '/tmp/mysql.sock' port: 3306 FreeBSD port: mysql-server-6.0.11
100616 6:05:03 [Note] /usr/local/libexec/mysqld: Normal shutdown
100616 6:05:03 [Note] Event Scheduler: Purging the queue. 0 events
100616 6:05:03 InnoDB: Starting shutdown...
100616 6:05:04 InnoDB: Shutdown completed; log sequence number 0 46409
100616 6:05:04 [Warning] Forcing shutdown of 1 plugins
100616 6:05:04 [Note] /usr/local/libexec/mysqld: Shutdown complete
100616 06:05:04 mysqld_safe mysqld from pid file /var/db/mysql/PC.localdomain.pid ended
/root/>chmod 777 /tmp
/root/>/usr/local/etc/rc.d/mysql-server restart
/root/> И ПУСТО !!!
Код: Выделить всё
/root/>mysql
mysql: unknown variable 'log=/var/log/mysql.log'
Почему ему не нравится 'log=/var/log/mysql.log ?
tailerus
-
tailerus
- рядовой
- Сообщения: 30
- Зарегистрирован: 2010-06-03 2:02:37
Непрочитанное сообщение
tailerus » 2010-06-16 14:23:08
tailerus писал(а):Гость писал(а):Gendos писал(а):
перезапусти мускул
Код: Выделить всё
/root/>cat /var/db/mysql/`hostname`.err
100616 00:55:34 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
100616 0:55:34 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
100616 0:55:34 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
100616 0:55:34 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
100616 0:55:34 InnoDB: Started; log sequence number 0 0
100616 0:55:34 [Note] Event Scheduler: Loaded 0 events
100616 0:55:34 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '6.0.11-alpha-log' socket: '/tmp/mysql.sock' port: 3306 FreeBSD port: mysql-server-6.0.11
100616 1:19:29 [Note] /usr/local/libexec/mysqld: Normal shutdown
100616 1:19:29 [Note] Event Scheduler: Purging the queue. 0 events
100616 1:19:29 InnoDB: Starting shutdown...
100616 1:19:29 InnoDB: Shutdown completed; log sequence number 0 46409
100616 1:19:30 [Warning] Forcing shutdown of 1 plugins
100616 1:19:30 [Note] /usr/local/libexec/mysqld: Shutdown complete
100616 01:19:30 mysqld_safe mysqld from pid file /var/db/mysql/PC.localdomain.pid ended
100616 01:35:11 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
100616 1:35:12 InnoDB: Started; log sequence number 0 46409
100616 1:35:12 [Note] Event Scheduler: Loaded 0 events
100616 1:35:12 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '6.0.11-alpha-log' socket: '/tmp/mysql.sock' port: 3306 FreeBSD port: mysql-server-6.0.11
100616 1:57:47 [Note] /usr/local/libexec/mysqld: Normal shutdown
100616 1:57:47 [Note] Event Scheduler: Purging the queue. 0 events
100616 1:57:47 InnoDB: Starting shutdown...
100616 1:57:48 InnoDB: Shutdown completed; log sequence number 0 46409
100616 1:57:49 [Warning] Forcing shutdown of 1 plugins
100616 1:57:49 [Note] /usr/local/libexec/mysqld: Shutdown complete
100616 01:57:49 mysqld_safe mysqld from pid file /var/db/mysql/PC.localdomain.pid ended
100616 01:58:50 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
100616 1:58:51 InnoDB: Started; log sequence number 0 46409
100616 1:58:51 [Note] Event Scheduler: Loaded 0 events
100616 1:58:51 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '6.0.11-alpha-log' socket: '/tmp/mysql.sock' port: 3306 FreeBSD port: mysql-server-6.0.11
100616 2:22:43 [Note] /usr/local/libexec/mysqld: Normal shutdown
100616 2:22:43 [Note] Event Scheduler: Purging the queue. 0 events
100616 2:22:43 InnoDB: Starting shutdown...
100616 2:22:44 InnoDB: Shutdown completed; log sequence number 0 46409
100616 2:22:46 [Warning] Forcing shutdown of 1 plugins
100616 2:22:46 [Note] /usr/local/libexec/mysqld: Shutdown complete
100616 02:22:46 mysqld_safe mysqld from pid file /var/db/mysql/PC.localdomain.pid ended
100616 02:22:47 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
100616 2:22:48 InnoDB: Started; log sequence number 0 46409
100616 2:22:48 [Note] Event Scheduler: Loaded 0 events
100616 2:22:48 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '6.0.11-alpha-log' socket: '/tmp/mysql.sock' port: 3306 FreeBSD port: mysql-server-6.0.11
100616 6:05:03 [Note] /usr/local/libexec/mysqld: Normal shutdown
100616 6:05:03 [Note] Event Scheduler: Purging the queue. 0 events
100616 6:05:03 InnoDB: Starting shutdown...
100616 6:05:04 InnoDB: Shutdown completed; log sequence number 0 46409
100616 6:05:04 [Warning] Forcing shutdown of 1 plugins
100616 6:05:04 [Note] /usr/local/libexec/mysqld: Shutdown complete
100616 06:05:04 mysqld_safe mysqld from pid file /var/db/mysql/PC.localdomain.pid ended
/root/>chmod 777 /tmp
/root/>/usr/local/etc/rc.d/mysql-server restart
/root/> И ПУСТО !!!
Код: Выделить всё
/root/>mysql
mysql: unknown variable 'log=/var/log/mysql.log'
Почему ему не нравится 'log=/var/log/mysql.log ?
Закамментировал, поставил как было по умолчанию, пошла установка !!!!
tailerus
-
tailerus
- рядовой
- Сообщения: 30
- Зарегистрирован: 2010-06-03 2:02:37
Непрочитанное сообщение
tailerus » 2010-06-17 20:30:26
Большое спасибо за подсказки, но вот, как говорится сам сусам, в не правильном месте прописал, нужно веть в
, а я вот, д..., в
l !!!!
tailerus