ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] dspam-webui & apache2 & mysql
@ 2007-09-24 13:38 Алексей Шенцев
  2007-09-24 17:13 ` Eugene Prokopiev
  0 siblings, 1 reply; 2+ messages in thread
From: Алексей Шенцев @ 2007-09-24 13:38 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Всем привет!
Пытаюсь заставить рабоать dspam-webui.
Окно запроса авторизации выдаётся. Но залогинется не могу. При этом в логах 
апача вот такое:
[Mon Sep 24 17:34:14 2007] [error] [client 192.168.2.135] MySQL ERROR: Access 
denied for user 'apache2'@'localhost' (using password: NO)
[Mon Sep 24 17:34:14 2007] [error] [client 192.168.2.135] MySQL user dspam not 
found: /reports/dspam/

Понять не могу, а от куда берётся 'apache2'@'localhost' (using password: NO)
Кто что может сказать по сему поводу?
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sisyphus] dspam-webui & apache2 & mysql
  2007-09-24 13:38 [sisyphus] dspam-webui & apache2 & mysql Алексей Шенцев
@ 2007-09-24 17:13 ` Eugene Prokopiev
  0 siblings, 0 replies; 2+ messages in thread
From: Eugene Prokopiev @ 2007-09-24 17:13 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Алексей Шенцев пишет:
> Всем привет!
> Пытаюсь заставить рабоать dspam-webui.
> Окно запроса авторизации выдаётся. Но залогинется не могу. При этом в логах 
> апача вот такое:
> [Mon Sep 24 17:34:14 2007] [error] [client 192.168.2.135] MySQL ERROR: Access 
> denied for user 'apache2'@'localhost' (using password: NO)
> [Mon Sep 24 17:34:14 2007] [error] [client 192.168.2.135] MySQL user dspam not 
> found: /reports/dspam/
> 
> Понять не могу, а от куда берётся 'apache2'@'localhost' (using password: NO)
> Кто что может сказать по сему поводу?

mysql и psql (консольные клиенты) любят в качестве имени пользователя по 
умолчанию подставлять unix name, может и их клиентское API поступает также?

выходы:

1) завести именно такого пользователя 'apache2'@'localhost' без пароля
2) завести другого, а в коде dspam-webui найти место, где его можно было 
бы прочитать из какого-то конфига

-- 
С уважением,
Прокопьев Евгений



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-24 17:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-24 13:38 [sisyphus] dspam-webui & apache2 & mysql Алексей Шенцев
2007-09-24 17:13 ` Eugene Prokopiev

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git