- Поисковые системы
- Практика оптимизации
- Трафик для сайтов
- Монетизация сайтов
- Сайтостроение
- Социальный Маркетинг
- Общение профессионалов
- Биржа и продажа
- Финансовые объявления
- Работа на постоянной основе
- Сайты - покупка, продажа
- Соцсети: страницы, группы, приложения
- Сайты без доменов
- Трафик, тизерная и баннерная реклама
- Продажа, оценка, регистрация доменов
- Ссылки - обмен, покупка, продажа
- Программы и скрипты
- Размещение статей
- Инфопродукты
- Прочие цифровые товары
- Работа и услуги для вебмастера
- Оптимизация, продвижение и аудит
- Ведение рекламных кампаний
- Услуги в области SMM
- Программирование
- Администрирование серверов и сайтов
- Прокси, ВПН, анонимайзеры, IP
- Платное обучение, вебинары
- Регистрация в каталогах
- Копирайтинг, переводы
- Дизайн
- Usability: консультации и аудит
- Изготовление сайтов
- Наполнение сайтов
- Прочие услуги
- Не про работу
Тренды маркетинга в 2024 году: мобильные продажи, углубленная аналитика и ИИ
Экспертная оценка Адмитад
Оксана Мамчуева
Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий
Настраивал сервер, все вроде встало нормально, но при попытке отправить письмо через движек DLE вылезает ошибка PHP Mail Error . Я так понял что не установлен модуль отправки писем PHP.
Нашел что ставится он командой sudo apt-get install sendmail , но при ее выполнении вылезает вот такая шляпа:
Что можно сделать ?
apt-cache search sendmail
sudo apt-get update
потом установи все зависимые:
http://packages.ubuntu.com/precise/sendmail
в крайнем случае установи deb или из исходников, ну или пофикси репозитории если не находит пакет.
apt-cache search sendmail
root@ubuntu:~# apt-cache search sendmail
libmail-sendmail-perl - Send email from a perl script
Делал уже... толку нет. Репозитории может какие в сорс лист добавить ?
W: Failed to fetch http://zw.archive.ubuntu.com/ubuntu/dists/precise/InRelease
W: Failed to fetch http://mn.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Temporary failure resolving 'mn.archive.ubuntu.com'
W: Failed to fetch http://zw.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Temporary failure resolving 'zw.archive.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
По ссылкам действительно пусто.
У меня на домашней ubuntu (/etc/apt/sources.list) 13.04 такие репозитории:
deb http://ru.archive.ubuntu.com/ubuntu/ raring main restricted
deb-src http://ru.archive.ubuntu.com/ubuntu/ raring main restricted
deb http://ru.archive.ubuntu.com/ubuntu/ raring universe
deb-src http://ru.archive.ubuntu.com/ubuntu/ raring universe
deb http://ru.archive.ubuntu.com/ubuntu/ raring multiverse
deb-src http://ru.archive.ubuntu.com/ubuntu/ raring multiverse
deb http://extras.ubuntu.com/ubuntu raring main
deb-src http://extras.ubuntu.com/ubuntu raring main
deb http://ru.archive.ubuntu.com/ubuntu/ raring-updates main restricted
deb-src http://ru.archive.ubuntu.com/ubuntu/ raring-updates main restricted
deb http://ru.archive.ubuntu.com/ubuntu/ raring-updates universe
deb-src http://ru.archive.ubuntu.com/ubuntu/ raring-updates universe
deb http://ru.archive.ubuntu.com/ubuntu/ raring-updates multiverse
deb-src http://ru.archive.ubuntu.com/ubuntu/ raring-updates multiverse
deb http://ru.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb-src http://ru.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu raring-security main restricted
deb-src http://security.ubuntu.com/ubuntu raring-security main restricted
deb http://security.ubuntu.com/ubuntu raring-security universe
deb-src http://security.ubuntu.com/ubuntu raring-security universe
deb http://security.ubuntu.com/ubuntu raring-security multiverse
deb-src http://security.ubuntu.com/ubuntu raring-security multiverse
deb-src http://archive.canonical.com/ubuntu oneiric partner
Редактируется так:
Ну или добавляются так:
http://askubuntu.com/questions/78613/how-do-i-enable-the-universe-repository-from-the-command-line
При апдейте вылезает та же бодяга....
Err http://mn.archive.ubuntu.com precise InRelease
Err http://zw.archive.ubuntu.com precise InRelease
Err http://ru.archive.ubuntu.com raring InRelease
Err http://ru.archive.ubuntu.com raring-updates InRelease
Err http://ru.archive.ubuntu.com raring-backports InRelease
Err http://extras.ubuntu.com raring InRelease
Err http://mn.archive.ubuntu.com precise Release.gpg
Temporary failure resolving 'mn.archive.ubuntu.com'
Err http://zw.archive.ubuntu.com precise Release.gpg
Temporary failure resolving 'zw.archive.ubuntu.com'
Err http://ru.archive.ubuntu.com raring Release.gpg
Temporary failure resolving 'ru.archive.ubuntu.com'
Err http://extras.ubuntu.com raring Release.gpg
Temporary failure resolving 'extras.ubuntu.com'
Err http://ru.archive.ubuntu.com raring-updates Release.gpg
Temporary failure resolving 'ru.archive.ubuntu.com'
Err http://security.ubuntu.com raring-security InRelease
Err http://ru.archive.ubuntu.com raring-backports Release.gpg
Temporary failure resolving 'ru.archive.ubuntu.com'
Err http://security.ubuntu.com raring-security Release.gpg
Temporary failure resolving 'security.ubuntu.com'
Err http://archive.canonical.com oneiric InRelease
Err http://archive.canonical.com oneiric Release.gpg
Temporary failure resolving 'archive.canonical.com'
Reading package lists... Done
W: Failed to fetch http://mn.archive.ubuntu.com/ubuntu/dists/precise/InRelease
W: Failed to fetch http://zw.archive.ubuntu.com/ubuntu/dists/precise/InRelease
W: Failed to fetch http://ru.archive.ubuntu.com/ubuntu/dists/raring/InRelease
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/raring/InRelease
W: Failed to fetch http://ru.archive.ubuntu.com/ubuntu/dists/raring-updates/InRelease
W: Failed to fetch http://ru.archive.ubuntu.com/ubuntu/dists/raring-backports/InRelease
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/InRelease
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/oneiric/InRelease
W: Failed to fetch http://mn.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Temporary failure resolving 'mn.archive.ubuntu.com'
W: Failed to fetch http://zw.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Temporary failure resolving 'zw.archive.ubuntu.com'
W: Failed to fetch http://ru.archive.ubuntu.com/ubuntu/dists/raring/Release.gpg Temporary failure resolving 'ru.archive.ubuntu.com'
W: Failed to fetch http://ru.archive.ubuntu.com/ubuntu/dists/raring-updates/Release.gpg Temporary failure resolving 'ru.archive.ubuntu.com'
W: Failed to fetch http://ru.archive.ubuntu.com/ubuntu/dists/raring-backports/Release.gpg Temporary failure resolving 'ru.archive.ubuntu.com'
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/raring/Release.gpg Temporary failure resolving 'extras.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/Release.gpg Temporary failure resolving 'security.ubuntu.com'
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/oneiric/Release.gpg Temporary failure resolving 'archive.canonical.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
ХЗ уже что делать...
Temporary failure resolving 'security.ubuntu.com'
Похоже у вас на сервере проблема с настройкой ДНС. Какие ДНС сервера указаны в /etc/resolv.conf? Попробуйте изменить ДНС сервера на следующие и запустить "apt-get update" еще раз.
nameserver 8.8.8.8
nameserver 8.8.4.4
Err http://ru.archive.ubuntu.com raring InRelease
Также у вас какой-то микс из "precise" и "raring" репозиториев в /etc/apt/sources.list
Такое возможно если вы пытались обновить систему с "precise" -> "raring". Попробуйте закомментировать строки "precise", а затем запустить:
sudo apt-get update && sudo apt-get upgrade
Вот похоже на решение вашей проблемы:
таким образом можно напороться на нерабочую систему примерно через 5 минут. не проще обратиться к профессионалу?
Спасибо всем за помощь. Дело оказалось в том что небыли прописаны DNS на сервере в /etc/resolv.conf . Прописал:
nameserver 8.8.8.8
nameserver 8.8.4.4
И все зашевелилось.