класс и в cups зашел теперь буду знать, и var посмотрел - спасибо за ликбез
Иду дальше разбираться с postgresql как написали мне выше.
Добавлено: root@vdebsrv:/home/stud# invoke-rc.d postgresql restart
[more]
] Restarting PostgreSQL 9.1 database server: main[....] The PostgreSQL server failed to start. Please check the log output: 2012-12-26 01:53:31 MSK LOG: could not bind IPv4 socket: Cannot assign requested address 2012-12-26 01:53:31 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry. 2012-12-26 01:53:31 MSK LOG: could not bind IPv6 socket: Cannot assign requested address 2012-12-26 01:53:31 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry. 2012-12-26 01:53:31 MSK WARNING: could not create listen socket for "localhost" 2012-12-26 01[FAIL1 MSK FATAL: could not create any TCP/IP sockets ... failed!
failed!
invoke-rc.d: initscript postgresql, action "restart" failed.
root@vdebsrv:/home/stud#
Log - /var/log/postgresql/postgresql-9.1-main.log
2012-12-24 09:37:09 MSK LOG: incomplete startup packet
2012-12-24 09:37:09 MSK LOG: database system was interrupted; last known up at 2012-12-23 15:12:42 MSK
2012-12-24 09:37:10 MSK LOG: database system was not properly shut down; automatic recovery in progress
2012-12-24 09:37:10 MSK LOG: record with zero length at 0/163D848
2012-12-24 09:37:10 MSK LOG: redo is not required
2012-12-24 09:37:10 MSK LOG: autovacuum launcher started
2012-12-24 09:37:10 MSK LOG: database system is ready to accept connections
2012-12-24 10:02:06 MSK LOG: received fast shutdown request
2012-12-24 10:02:06 MSK LOG: aborting any active transactions
2012-12-24 10:02:06 MSK LOG: autovacuum launcher shutting down
2012-12-24 10:02:06 MSK LOG: shutting down
2012-12-24 10:02:06 MSK LOG: database system is shut down
2012-12-25 02:55:14 MSK LOG: database system was shut down at 2012-12-24 10:02:06 MSK
2012-12-25 02:55:14 MSK LOG: incomplete startup packet
2012-12-25 02:55:14 MSK LOG: autovacuum launcher started
2012-12-25 02:55:14 MSK LOG: database system is ready to accept connections
2012-12-25 03:01:53 MSK LOG: received fast shutdown request
2012-12-25 03:01:53 MSK LOG: aborting any active transactions
2012-12-25 03:01:53 MSK LOG: autovacuum launcher shutting down
2012-12-25 03:01:53 MSK LOG: shutting down
2012-12-25 03:01:53 MSK LOG: database system is shut down
2012-12-25 04:14:44 MSK LOG: database system was shut down at 2012-12-25 03:01:53 MSK
2012-12-25 04:14:44 MSK LOG: incomplete startup packet
2012-12-25 04:14:44 MSK LOG: autovacuum launcher started
2012-12-25 04:14:44 MSK LOG: database system is ready to accept connections
2012-12-25 04:48:43 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 04:48:43 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 04:48:43 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 04:48:43 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 04:48:43 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 04:48:43 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 05:36:22 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 05:36:22 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 05:36:22 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 05:36:22 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 05:36:22 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 05:36:22 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 13:52:46 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 13:52:46 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 13:52:46 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 13:52:46 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 13:52:46 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 13:52:46 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 09:34:31 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 09:34:31 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:34:32 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 09:34:32 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:34:32 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 09:34:32 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 09:43:48 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 09:43:48 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:43:48 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 09:43:48 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:43:48 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 09:43:48 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 09:48:18 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 09:48:18 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:48:18 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 09:48:18 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:48:18 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 09:48:18 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 09:48:46 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 09:48:46 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:48:46 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 09:48:46 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:48:46 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 09:48:46 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 09:49:18 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 09:49:18 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:49:18 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 09:49:18 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:49:18 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 09:49:18 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 09:51:00 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 09:51:00 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:51:00 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 09:51:00 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:51:00 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 09:51:00 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 09:51:08 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 09:51:08 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:51:08 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 09:51:08 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:51:08 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 09:51:08 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 09:53:25 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 09:53:25 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:53:25 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 09:53:25 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:53:25 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 09:53:25 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 09:53:32 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 09:53:32 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:53:32 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 09:53:32 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:53:32 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 09:53:32 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 09:54:05 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 09:54:05 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:54:05 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 09:54:05 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:54:05 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 09:54:05 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 09:54:12 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 09:54:12 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:54:12 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 09:54:12 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:54:12 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 09:54:12 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 09:59:10 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 09:59:10 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:59:10 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 09:59:10 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 09:59:10 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 09:59:10 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 10:05:05 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 10:05:05 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 10:05:05 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 10:05:05 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 10:05:05 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 10:05:05 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 10:10:33 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 10:10:33 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 10:10:33 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 10:10:33 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 10:10:33 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 10:10:33 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 18:11:24 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 18:11:24 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 18:11:24 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 18:11:24 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 18:11:24 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 18:11:24 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 20:25:39 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 20:25:39 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 20:25:39 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 20:25:39 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 20:25:39 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 20:25:39 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 22:26:33 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 22:26:33 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 22:26:33 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 22:26:33 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 22:26:33 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 22:26:33 MSK FATAL: could not create any TCP/IP sockets
2012-12-25 22:56:29 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-25 22:56:29 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 22:56:29 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-25 22:56:29 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-25 22:56:29 MSK WARNING: could not create listen socket for "localhost"
2012-12-25 22:56:29 MSK FATAL: could not create any TCP/IP sockets
2012-12-26 01:26:14 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-26 01:26:14 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-26 01:26:14 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-26 01:26:14 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-26 01:26:14 MSK WARNING: could not create listen socket for "localhost"
2012-12-26 01:26:14 MSK FATAL: could not create any TCP/IP sockets
2012-12-26 01:31:25 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-26 01:31:25 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-26 01:31:25 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-26 01:31:25 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-26 01:31:25 MSK WARNING: could not create listen socket for "localhost"
2012-12-26 01:31:25 MSK FATAL: could not create any TCP/IP sockets
2012-12-26 01:47:38 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-26 01:47:38 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-26 01:47:38 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-26 01:47:38 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-26 01:47:38 MSK WARNING: could not create listen socket for "localhost"
2012-12-26 01:47:38 MSK FATAL: could not create any TCP/IP sockets
2012-12-26 01:53:31 MSK LOG: could not bind IPv4 socket: Cannot assign requested address
2012-12-26 01:53:31 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-26 01:53:31 MSK LOG: could not bind IPv6 socket: Cannot assign requested address
2012-12-26 01:53:31 MSK HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2012-12-26 01:53:31 MSK WARNING: could not create listen socket for "localhost"
2012-12-26 01:53:31 MSK FATAL: could not create any TCP/IP sockets [/more]