LINUX.ORG.RU

Сообщения iliaxxx

 

Зависает сервер

Появился еще один сервер который подвисает.
OS Debian 8 Linux 3.16.0-6-amd64
Диски в порядке, бад секторов нет.
В логах в момент зависание вот это:

May  5 08:19:14 mail kernel: [47880.340494] Call Trace:
May  5 08:19:14 mail kernel: [47880.340511]  [<ffffffffa01a98d5>] ? jbd2_log_wait_commit+0x95/0x100 [jbd2]
May  5 08:19:14 mail kernel: [47880.340515]  [<ffffffff810ae020>] ? prepare_to_wait_event+0xf0/0xf0
May  5 08:19:14 mail kernel: [47880.340522]  [<ffffffffa01c0943>] ? ext4_sync_file+0x2c3/0x360 [ext4]
May  5 08:19:14 mail kernel: [47880.340524]  [<ffffffff811e64dd>] ? do_fsync+0x4d/0x80
May  5 08:19:14 mail kernel: [47880.340526]  [<ffffffff811e676c>] ? SyS_fsync+0xc/0x10
May  5 08:19:14 mail kernel: [47880.340528]  [<ffffffff81539b9c>] ? system_call_fast_compare_end+0x1c/0x21
May  5 08:19:14 mail kernel: [48120.340089] INFO: task mysqld:7969 blocked for more than 120 seconds.
May  5 08:19:14 mail kernel: [48120.341815]       Tainted: G         C    3.16.0-6-amd64 #1
May  5 08:19:14 mail kernel: [48120.344485] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
May  5 08:19:14 mail kernel: [48120.345675] mysqld          D ffff8800d968c970     0  7969    730 0x00000000
May  5 08:19:14 mail kernel: [48120.345679]  ffff8800d968c970 0000000000000086 0000000000013fc0 ffff8802fbd3ffd8
May  5 08:19:14 mail kernel: [48120.345681]  0000000000013fc0 ffff8800d968c970 ffff8802fdffc800 0000000005ca3411
May  5 08:19:14 mail kernel: [48120.345683]  ffff8802fdffc888 ffff8802fdffc824 ffff8802fbd3fed0 ffff8802fdffc8a0
May  5 08:19:14 mail kernel: [48120.345685] Call Trace:
May  5 08:19:14 mail kernel: [48120.345705]  [<ffffffffa01a98d5>] ? jbd2_log_wait_commit+0x95/0x100 [jbd2]
May  5 08:19:14 mail kernel: [48120.345712]  [<ffffffff810ae020>] ? prepare_to_wait_event+0xf0/0xf0
May  5 08:19:14 mail kernel: [48120.345723]  [<ffffffffa01c0943>] ? ext4_sync_file+0x2c3/0x360 [ext4]
May  5 08:19:14 mail kernel: [48120.345727]  [<ffffffff811e64dd>] ? do_fsync+0x4d/0x80
May  5 08:19:14 mail kernel: [48120.345728]  [<ffffffff811e676c>] ? SyS_fsync+0xc/0x10
May  5 08:19:14 mail kernel: [48120.345732]  [<ffffffff81539b9c>] ? system_call_fast_compare_end+0x1c/0x21
May  5 08:19:14 mail kernel: [48120.345752] INFO: task mysqld:12265 blocked for more than 120 seconds.
May  5 08:19:14 mail kernel: [48120.346787]       Tainted: G         C    3.16.0-6-amd64 #1
May  5 08:19:14 mail kernel: [48120.347971] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
May  5 08:19:14 mail kernel: [48120.350430] mysqld          D ffff8802fc2cc1d0     0 12265   6901 0x00000000
May  5 08:19:14 mail kernel: [48120.350433]  ffff8802fc2cc1d0 0000000000000086 0000000000013fc0 ffff8802fa537fd8
May  5 08:19:14 mail kernel: [48120.350435]  0000000000013fc0 ffff8802fc2cc1d0 ffff8802fdffc800 0000000005ca3411
May  5 08:19:14 mail kernel: [48120.350437]  ffff8802fdffc888 ffff8802fdffc824 ffff8802fa537ed0 ffff8802fdffc8a0
May  5 08:19:14 mail kernel: [48120.350438] Call Trace:
May  5 08:19:14 mail kernel: [48120.350446]  [<ffffffffa01a98d5>] ? jbd2_log_wait_commit+0x95/0x100 [jbd2]
May  5 08:19:14 mail kernel: [48120.350449]  [<ffffffff810ae020>] ? prepare_to_wait_event+0xf0/0xf0
May  5 08:19:14 mail kernel: [48120.350454]  [<ffffffffa01c0943>] ? ext4_sync_file+0x2c3/0x360 [ext4]
May  5 08:19:15 mail kernel: [48120.350456]  [<ffffffff811e64dd>] ? do_fsync+0x4d/0x80
May  5 08:19:15 mail kernel: [48120.350458]  [<ffffffff811e676c>] ? SyS_fsync+0xc/0x10
May  5 08:19:15 mail kernel: [48120.350460]  [<ffffffff81539b9c>] ? system_call_fast_compare_end+0x1c/0x21
May  5 08:19:15 mail kernel: [48120.350535] INFO: task quotasync:16765 blocked for more than 120 seconds.
May  5 08:19:15 mail kernel: [48120.363904]       Tainted: G         C    3.16.0-6-amd64 #1
May  5 08:19:15 mail kernel: [48120.376562] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
May  5 08:19:15 mail kernel: [48120.395420] quotasync       D ffff8800daee2c70     0 16765  16764 0x00000000
May  5 08:19:15 mail kernel: [48120.395423]  ffff8800daee2c70 0000000000000086 0000000000013fc0 ffff880119483fd8
May  5 08:19:15 mail kernel: [48120.395425]  0000000000013fc0 ffff8800daee2c70 ffff8802fdffc800 0000000005ca3411
May  5 08:19:15 mail kernel: [48120.395446]  ffff8802fdffc888 ffff8802fdffc824 ffff880119483e48 ffff8802fdffc8a0
May  5 08:19:15 mail kernel: [48120.395448] Call Trace:
May  5 08:19:15 mail kernel: [48120.395458]  [<ffffffffa01a98d5>] ? jbd2_log_wait_commit+0x95/0x100 [jbd2]
May  5 08:19:15 mail kernel: [48120.395461]  [<ffffffff810ae020>] ? prepare_to_wait_event+0xf0/0xf0
May  5 08:19:15 mail kernel: [48120.395468]  [<ffffffffa01d88db>] ? ext4_sync_fs+0x9b/0x190 [ext4]
May  5 08:19:15 mail kernel: [48120.399407]  [<ffffffff81212b6e>] ? dquot_quota_sync+0x3e/0x130
May  5 08:19:15 mail kernel: [48120.403441]  [<ffffffff81215dd2>] ? SyS_quotactl+0x352/0x730
May  5 08:19:15 mail kernel: [48120.403444]  [<ffffffff81539b9c>] ? system_call_fast_compare_end+0x1c/0x21
Есть мысли?

 ,

iliaxxx
()

Вопрос по максимальному количеству проыессоров и ядер

OS Debian Х64. Какое максимальное количество CPU и ядер может поддерживать данная OS?

 ,

iliaxxx
()

Ошибки файловой системы на KVM

Собрал новый сервак, на нем крутятся виртуалки на KVM. Но один виртуальный сервер на cent os как то странно себя ведет, периодически падает, в логах сервера вот это:

Apr 19 16:32:23 sip kernel: Buffer I/O error on device vda, logical block 5242830
Apr 19 16:32:23 sip kernel: Buffer I/O error on device vda, logical block 5242830
Apr 19 16:32:23 sip kernel: Buffer I/O error on device vda3, logical block 256
Apr 19 16:32:23 sip kernel: Buffer I/O error on device vda2, logical block 4969200
Apr 19 16:32:23 sip kernel: Buffer I/O error on device vda3, logical block 256
Apr 19 16:32:23 sip kernel: Buffer I/O error on device vda2, logical block 4969200
Apr 19 16:32:23 sip kernel: Buffer I/O error on device vda2, logical block 4969214
Apr 19 16:32:23 sip kernel: Buffer I/O error on device vda2, logical block 4969214
Apr 19 16:32:23 sip kernel: Buffer I/O error on device vda2, logical block 4969215
Apr 19 16:32:23 sip kernel: end_request: I/O error, dev vda, sector 40370168
Apr 19 16:32:23 sip kernel: end_request: I/O error, dev vda, sector 40370432
Apr 19 16:32:23 sip kernel: end_request: I/O error, dev vda, sector 40370168
Apr 19 16:32:23 sip kernel: end_request: I/O error, dev vda, sector 40374272
Apr 19 16:32:23 sip kernel: end_request: I/O error, dev vda, sector 40374272

Во время перезагрузки делаю fsck -y. Находит битые сектора и фиксит их. После загрузки системы делаю: ]# badblocks -sv /dev/vda1

Checking blocks 0 to 307199
Checking for bad blocks (read-only test): done
Pass completed, 0 bad blocks found.

Остальные виртуальны сервера ведут себя адекватно. Пробовал даже подмонтировал его к другому серверу и чкал диск, тест проходил на ура. При этом иногда он может работать неделю, а потом за один день 2 раза упасть на ровном месте с этой ошибкой.

 ,

iliaxxx
()

vmware workstation, snapshot

Стоит vmware workstation, по расписанию делаются снапшоты.
Вопрос в том, как удалить все снапшоты, пробовал так:
vmrun -T ws deleteSnapshot «/mnt/md1/Sip_it/Sip_it.vmx» *
vmrun -T ws deleteSnapshot «/mnt/md1/Sip_it/Sip_it.vmx» all
vmrun -T ws deleteSnapshot «/mnt/md1/Sip_it/Sip_it.vmx» .*
vmrun -T ws deleteSnapshot «/mnt/md1/Sip_it/Sip_it.vmx» «delete all»
Это все не работает, вообще есть способ консольно удалить все снапшоты одной командой?

 , ,

iliaxxx
()

После обновления сервера появились проблемы с почтой

Стоит система Debian, на нем установлен ISPManager.
После последнего обновления почтовые клиенты стали выдавать ошибки

"Ошибка входа на сервер".
В логах dovecot
Sep 15 08:07:53 host dovecot: imap(user@domian.ru): Error: /var/www/user/data/email/domian.ru/user/.maildir/.Trash.Junk/dovecot.index: modseq_hdr.log_offset too large
Sep 15 08:07:53 host dovecot: imap(user@domian.ru): Panic: file mail-transaction-log-file.c: line 1148 (mail_transaction_log_file_get_highest_modseq_at): assertion failed: (offset <= file->sync_offset)
Sep 15 08:07:53 host dovecot: imap(user@domian.ru): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x6b6fe) [0x7f4d01c086fe] -> /usr/lib/dovecot/libdovecot.so.0(+0x6b7ec) [0x7f4d01c087ec] -> /usr/lib/dovecot/libdovecot.so.0(i_$
Sep 15 08:07:53 host dovecot: imap(user@domian.ru): Fatal: master: service(imap): child 86463 killed with signal 6 (core dumps disabled)
Sep 15 08:34:03 host dovecot: imap(user@domian.ru): Error: /var/www/user/data/email/domian.ru/user/.maildir/.Trash.Junk/dovecot.index: modseq_hdr.log_offset too large
Sep 15 08:34:03 host dovecot: imap(user@domian.ru): Error: /var/www/user/data/email/domian.ru/user/.maildir/.Trash.Junk/dovecot.index: modseq_hdr.log_offset too large
Sep 15 08:34:03 host dovecot: imap(user@domian.ru): Panic: file mail-transaction-log-file.c: line 1148 (mail_transaction_log_file_get_highest_modseq_at): assertion failed: (offset <= file->sync_offset)
Sep 15 08:34:03 host dovecot: imap(user@domian.ru): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x6b6fe) [0x7f3772c366fe] -> /usr/lib/dovecot/libdovecot.so.0(+0x6b7ec) [0x7f3772c367ec] -> /usr/lib/dovecot/libdovecot.so.0(i_$
Sep 15 08:34:03 host dovecot: imap(user@domian.ru): Fatal: master: service(imap): child 86793 killed with signal 6 (core dumps disabled)
Sep 15 08:34:03 host dovecot: imap(user@domian.ru): Error: /var/www/user/data/email/domian.ru/user/.maildir/.Trash.Junk/dovecot.index: modseq_hdr.log_offset too large
Sep 15 08:34:03 host dovecot: imap(user@domian.ru): Error: /var/www/user/data/email/domian.ru/user/.maildir/.Trash.Junk/dovecot.index: modseq_hdr.log_offset too large
Sep 15 08:34:03 host dovecot: imap(user@domian.ru): Panic: file mail-transaction-log-file.c: line 1148 (mail_transaction_log_file_get_highest_modseq_at): assertion failed: (offset <= file->sync_offset)
Sep 15 08:34:03 host dovecot: imap(user@domian.ru): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x6b6fe) [0x7fe9181bd6fe] -> /usr/lib/dovecot/libdovecot.so.0(+0x6b7ec) [0x7fe9181bd7ec] -> /usr/lib/dovecot/libdovecot.so.0(i_$
Sep 15 08:34:03 host dovecot: imap(user@domian.ru): Fatal: master: service(imap): child 89936 killed with signal 6 (core dumps disabled)
Не могу понять в каком направлении копать. Причем ошибка не постоянна, то она вылезает, а через 15 мину все работает нормально, а через час опять посыпались ошибки.

 ,

iliaxxx
()

1c postgresql linux медленно работает

Поставил на Debian postgresql. Настроил для работы в связке с 1С.
Все заработало, но как то медленно. Тормозит жутко.
Кучу материалов перечитал, много чего перепробовал. В итоге мой postgresql.conf выглядит вот так:

# -----------------------------
# PostgreSQL configuration file
# -----------------------------
#
# This file consists of lines of the form:
#
#   name = value
#
# (The "=" is optional.)  Whitespace may be used.  Comments are introduced with
# "#" anywhere on a line.  The complete list of parameter names and allowed
# values can be found in the PostgreSQL documentation.
#
# The commented-out settings shown in this file represent the default values.
# Re-commenting a setting is NOT sufficient to revert it to the default value;
# you need to reload the server.
#
# This file is read on server startup and when the server receives a SIGHUP
# signal.  If you edit the file on a running system, you have to SIGHUP the
# server for the changes to take effect, or use "pg_ctl reload".  Some
# parameters, which are marked below, require a server shutdown and restart to
# take effect.
#
# Any parameter can also be given as a command-line option to the server, e.g.,
# "postgres -c log_connections=on".  Some parameters can be changed at run time
# with the "SET" SQL command.
#
# Memory units:  kB = kilobytes        Time units:  ms  = milliseconds
#                MB = megabytes                     s   = seconds
#                GB = gigabytes                     min = minutes
#                                                   h   = hours
#                                                   d   = days


#------------------------------------------------------------------------------
# FILE LOCATIONS
#------------------------------------------------------------------------------

# The default values of these variables are driven from the -D command-line
# option or PGDATA environment variable, represented here as ConfigDir.

data_directory = '/var/lib/postgresql/9.2/main'		# use data in another directory
					# (change requires restart)
hba_file = '/etc/postgresql/9.2/main/pg_hba.conf'	# host-based authentication file
					# (change requires restart)
ident_file = '/etc/postgresql/9.2/main/pg_ident.conf'	# ident configuration file
					# (change requires restart)

# If external_pid_file is not explicitly set, no extra PID file is written.
external_pid_file = '/var/run/postgresql/9.2-main.pid'			# write an extra PID file
					# (change requires restart)


#------------------------------------------------------------------------------
# CONNECTIONS AND AUTHENTICATION
#------------------------------------------------------------------------------

# - Connection Settings -

listen_addresses = '*'		# what IP address(es) to listen on;
					# comma-separated list of addresses;
					# defaults to 'localhost'; use '*' for all
					# (change requires restart)
port = 5432				# (change requires restart)
max_connections = 100			# (change requires restart)
# Note:  Increasing max_connections costs ~400 bytes of shared memory per
# connection slot, plus lock space (see max_locks_per_transaction).
#superuser_reserved_connections = 3	# (change requires restart)
unix_socket_directory = '/var/run/postgresql'		# (change requires restart)
#unix_socket_group = ''			# (change requires restart)
#unix_socket_permissions = 0777		# begin with 0 to use octal notation
					# (change requires restart)
#bonjour = off				# advertise server via Bonjour
					# (change requires restart)
#bonjour_name = ''			# defaults to the computer name
					# (change requires restart)

# - Security and Authentication -

#authentication_timeout = 1min		# 1s-600s
ssl = true				# (change requires restart)
#ssl_ciphers = 'ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH'	# allowed SSL ciphers
					# (change requires restart)
#ssl_renegotiation_limit = 0		# amount of data between renegotiations
ssl_cert_file = '/etc/ssl/certs/ssl-cert-snakeoil.pem'		# (change requires restart)
ssl_key_file = '/etc/ssl/private/ssl-cert-snakeoil.key'		# (change requires restart)
#ssl_ca_file = ''			# (change requires restart)
#ssl_crl_file = ''			# (change requires restart)
#password_encryption = on
#db_user_namespace = off

# Kerberos and GSSAPI
#krb_server_keyfile = ''
#krb_srvname = 'postgres'		# (Kerberos only)
#krb_caseins_users = off

# - TCP Keepalives -
# see "man 7 tcp" for details

#tcp_keepalives_idle = 0		# TCP_KEEPIDLE, in seconds;
					# 0 selects the system default
#tcp_keepalives_interval = 0		# TCP_KEEPINTVL, in seconds;
					# 0 selects the system default
#tcp_keepalives_count = 0		# TCP_KEEPCNT;
					# 0 selects the system default


#------------------------------------------------------------------------------
# RESOURCE USAGE (except WAL)
#------------------------------------------------------------------------------

# - Memory -

shared_buffers = 2048MB		# min 128kB
					# (change requires restart)
temp_buffers = 128MB			# min 800kB
#max_prepared_transactions = 0		# zero disables the feature
					# (change requires restart)
# Note:  Increasing max_prepared_transactions costs ~600 bytes of shared memory
# per transaction slot, plus lock space (see max_locks_per_transaction).
# It is not advisable to set max_prepared_transactions nonzero unless you
# actively intend to use prepared transactions.
work_mem = 512MB			# min 64kB
maintenance_work_mem = 256MB		# min 1MB
max_stack_depth = 2MB			# min 100kB

# - Disk -

#temp_file_limit = -1			# limits per-session temp file space
					# in kB, or -1 for no limit

# - Kernel Resource Usage -

#max_files_per_process = 1000		# min 25
					# (change requires restart)
shared_preload_libraries = 'online_analyze, plantuner'	# (change requires restart)

# - Cost-Based Vacuum Delay -

#vacuum_cost_delay = 0ms		# 0-100 milliseconds
#vacuum_cost_page_hit = 1		# 0-10000 credits
#vacuum_cost_page_miss = 10		# 0-10000 credits
#vacuum_cost_page_dirty = 20		# 0-10000 credits
#vacuum_cost_limit = 200		# 1-10000 credits

# - Background Writer -

#bgwriter_delay = 200ms			# 10-10000ms between rounds
#bgwriter_lru_maxpages = 100		# 0-1000 max buffers written/round
#bgwriter_lru_multiplier = 2.0		# 0-10.0 multipler on buffers scanned/round

# - Asynchronous Behavior -

#effective_io_concurrency = 1		# 1-1000; 0 disables prefetching


#------------------------------------------------------------------------------
# WRITE AHEAD LOG
#------------------------------------------------------------------------------

# - Settings -

#wal_level = minimal			# minimal, archive, or hot_standby
					# (change requires restart)
#fsync = off				# turns forced synchronization on or off
#synchronous_commit = off		# synchronization level;
					# off, local, remote_write, or on
wal_sync_method = fsync 		# the default is the first option
					# supported by the operating system:
					#   open_datasync
					#   fdatasync (default on Linux)
					#   fsync
					#   fsync_writethrough
					#   open_sync
full_page_writes = on			# recover from partial page writes
#wal_buffers = -1			# min 32kB, -1 sets based on shared_buffers
					# (change requires restart)
#wal_writer_delay = 200ms		# 1-10000 milliseconds

commit_delay = 10			# range 0-100000, in microseconds
commit_siblings = 5			# range 1-1000

# - Checkpoints -

checkpoint_segments = 200		# in logfile segments, min 1, 16MB each
checkpoint_timeout = 15min		# range 30s-1h
#checkpoint_completion_target = 0.5	# checkpoint target duration, 0.0 - 1.0
#checkpoint_warning = 30s		# 0 disables

# - Archiving -

#archive_mode = off		# allows archiving to be done
				# (change requires restart)
#archive_command = ''		# command to use to archive a logfile segment
				# placeholders: %p = path of file to archive
				#               %f = file name only
				# e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f'
#archive_timeout = 0		# force a logfile segment switch after this
				# number of seconds; 0 disables


#------------------------------------------------------------------------------
# REPLICATION
#------------------------------------------------------------------------------

# - Sending Server(s) -

# Set these on the master and on any standby that will send replication data.

#max_wal_senders = 0		# max number of walsender processes
				# (change requires restart)
#wal_keep_segments = 0		# in logfile segments, 16MB each; 0 disables
#replication_timeout = 60s	# in milliseconds; 0 disables

# - Master Server -

# These settings are ignored on a standby server.

#synchronous_standby_names = ''	# standby servers that provide sync rep
				# comma-separated list of application_name
				# from standby(s); '*' = all
#vacuum_defer_cleanup_age = 0	# number of xacts by which cleanup is delayed

# - Standby Servers -

# These settings are ignored on a master server.

#hot_standby = off			# "on" allows queries during recovery
					# (change requires restart)
#max_standby_archive_delay = 30s	# max delay before canceling queries
					# when reading WAL from archive;
					# -1 allows indefinite delay
#max_standby_streaming_delay = 30s	# max delay before canceling queries
					# when reading streaming WAL;
					# -1 allows indefinite delay
#wal_receiver_status_interval = 10s	# send replies at least this often
					# 0 disables
#hot_standby_feedback = off		# send info from standby to prevent
					# query conflicts


#------------------------------------------------------------------------------
# QUERY TUNING
#------------------------------------------------------------------------------

# - Planner Method Configuration -

#enable_bitmapscan = on
#enable_hashagg = on
#enable_hashjoin = on
#enable_indexscan = on
#enable_indexonlyscan = on
#enable_material = on
#enable_mergejoin = on
#enable_nestloop = on
#enable_seqscan = on
#enable_sort = on
#enable_tidscan = on

# - Planner Cost Constants -

#seq_page_cost = 1.0			# measured on an arbitrary scale
#random_page_cost = 4.0			# same scale as above
#cpu_tuple_cost = 0.01			# same scale as above
#cpu_index_tuple_cost = 0.005		# same scale as above
#cpu_operator_cost = 0.0025		# same scale as above
effective_cache_size = 2048MB

# - Genetic Query Optimizer -

#geqo = on
#geqo_threshold = 12
#geqo_effort = 5			# range 1-10
#geqo_pool_size = 0			# selects default based on effort
#geqo_generations = 0			# selects default based on effort
#geqo_selection_bias = 2.0		# range 1.5-2.0
#geqo_seed = 0.0			# range 0.0-1.0

# - Other Planner Options -

#default_statistics_target = 100	# range 1-10000
#constraint_exclusion = partition	# on, off, or partition
#cursor_tuple_fraction = 0.1		# range 0.0-1.0
#from_collapse_limit = 8
#join_collapse_limit = 8		# 1 disables collapsing of explicit
					# JOIN clauses


#------------------------------------------------------------------------------
# ERROR REPORTING AND LOGGING
#------------------------------------------------------------------------------

# - Where to Log -

#log_destination = 'stderr'		# Valid values are combinations of
					# stderr, csvlog, syslog, and eventlog,
					# depending on platform.  csvlog
					# requires logging_collector to be on.

# This is used when logging to stderr:
#logging_collector = off		# Enable capturing of stderr and csvlog
					# into log files. Required to be on for
					# csvlogs.
					# (change requires restart)

# These are only used if logging_collector is on:
#log_directory = 'pg_log'		# directory where log files are written,
					# can be absolute or relative to PGDATA
#log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'	# log file name pattern,
					# can include strftime() escapes
#log_file_mode = 0600			# creation mode for log files,
					# begin with 0 to use octal notation
#log_truncate_on_rotation = off		# If on, an existing log file with the
					# same name as the new log file will be
					# truncated rather than appended to.
					# But such truncation only occurs on
					# time-driven rotation, not on restarts
					# or size-driven rotation.  Default is
					# off, meaning append to existing files
					# in all cases.
#log_rotation_age = 1d			# Automatic rotation of logfiles will
					# happen after that time.  0 disables.
#log_rotation_size = 10MB		# Automatic rotation of logfiles will
					# happen after that much log output.
					# 0 disables.

# These are relevant when logging to syslog:
#syslog_facility = 'LOCAL0'
#syslog_ident = 'postgres'

# This is only relevant when logging to eventlog (win32):
#event_source = 'PostgreSQL'

# - When to Log -

#client_min_messages = notice		# values in order of decreasing detail:
					#   debug5
					#   debug4
					#   debug3
					#   debug2
					#   debug1
					#   log
					#   notice
					#   warning
					#   error

#log_min_messages = warning		# values in order of decreasing detail:
					#   debug5
					#   debug4
					#   debug3
					#   debug2
					#   debug1
					#   info
					#   notice
					#   warning
					#   error
					#   log
					#   fatal
					#   panic

#log_min_error_statement = error	# values in order of decreasing detail:
				 	#   debug5
					#   debug4
					#   debug3
					#   debug2
					#   debug1
				 	#   info
					#   notice
					#   warning
					#   error
					#   log
					#   fatal
					#   panic (effectively off)

#log_min_duration_statement = -1	# -1 is disabled, 0 logs all statements
					# and their durations, > 0 logs only
					# statements running at least this number
					# of milliseconds


# - What to Log -

#debug_print_parse = off
#debug_print_rewritten = off
#debug_print_plan = off
#debug_pretty_print = on
#log_checkpoints = off
#log_connections = off
#log_disconnections = off
#log_duration = off
#log_error_verbosity = default		# terse, default, or verbose messages
#log_hostname = off
log_line_prefix = '%t [%p-%l] %q%u@%d '			# special values:
					#   %a = application name
					#   %u = user name
					#   %d = database name
					#   %r = remote host and port
					#   %h = remote host
					#   %p = process ID
					#   %t = timestamp without milliseconds
					#   %m = timestamp with milliseconds
					#   %i = command tag
					#   %e = SQL state
					#   %c = session ID
					#   %l = session line number
					#   %s = session start timestamp
					#   %v = virtual transaction ID
					#   %x = transaction ID (0 if none)
					#   %q = stop here in non-session
					#        processes
					#   %% = '%'
					# e.g. '<%u%%%d> '
#log_lock_waits = off			# log lock waits >= deadlock_timeout
#log_statement = 'none'			# none, ddl, mod, all
#log_temp_files = -1			# log temporary files equal or larger
					# than the specified size in kilobytes;
					# -1 disables, 0 logs all temp files
log_timezone = 'W-SU'


#------------------------------------------------------------------------------
# RUNTIME STATISTICS
#------------------------------------------------------------------------------

# - Query/Index Statistics Collector -

#track_activities = on
#track_counts = on
#track_io_timing = off
#track_functions = none			# none, pl, all
#track_activity_query_size = 1024 	# (change requires restart)
#update_process_title = on
stats_temp_directory = '/var/run/postgresql/9.2-main.pg_stat_tmp'


# - Statistics Monitoring -

#log_parser_stats = off
#log_planner_stats = off
#log_executor_stats = off
#log_statement_stats = off


#------------------------------------------------------------------------------
# AUTOVACUUM PARAMETERS
#------------------------------------------------------------------------------

#autovacuum = on			# Enable autovacuum subprocess?  'on'
					# requires track_counts to also be on.
#log_autovacuum_min_duration = -1	# -1 disables, 0 logs all actions and
					# their durations, > 0 logs only
					# actions running at least this number
					# of milliseconds.
#autovacuum_max_workers = 3		# max number of autovacuum subprocesses
					# (change requires restart)
#autovacuum_naptime = 1min		# time between autovacuum runs
#autovacuum_vacuum_threshold = 50	# min number of row updates before
					# vacuum
#autovacuum_analyze_threshold = 50	# min number of row updates before
					# analyze
#autovacuum_vacuum_scale_factor = 0.2	# fraction of table size before vacuum
#autovacuum_analyze_scale_factor = 0.1	# fraction of table size before analyze
#autovacuum_freeze_max_age = 200000000	# maximum XID age before forced vacuum
					# (change requires restart)
#autovacuum_vacuum_cost_delay = 20ms	# default vacuum cost delay for
					# autovacuum, in milliseconds;
					# -1 means use vacuum_cost_delay
#autovacuum_vacuum_cost_limit = -1	# default vacuum cost limit for
					# autovacuum, -1 means use
					# vacuum_cost_limit


#------------------------------------------------------------------------------
# CLIENT CONNECTION DEFAULTS
#------------------------------------------------------------------------------

# - Statement Behavior -

#search_path = '"$user",public'		# schema names
#default_tablespace = ''		# a tablespace name, '' uses the default
#temp_tablespaces = ''			# a list of tablespace names, '' uses
					# only default tablespace
#check_function_bodies = on
#default_transaction_isolation = 'read committed'
#default_transaction_read_only = off
#default_transaction_deferrable = off
#session_replication_role = 'origin'
#statement_timeout = 0			# in milliseconds, 0 is disabled
#vacuum_freeze_min_age = 50000000
#vacuum_freeze_table_age = 150000000
#bytea_output = 'hex'			# hex, escape
#xmlbinary = 'base64'
#xmloption = 'content'
#gin_fuzzy_search_limit = 0

# - Locale and Formatting -

datestyle = 'iso, dmy'
#intervalstyle = 'postgres'
timezone = 'W-SU'
#timezone_abbreviations = 'Default'     # Select the set of available time zone
					# abbreviations.  Currently, there are
					#   Default
					#   Australia (historical usage)
					#   India
					# You can create your own file in
					# share/timezonesets/.
#extra_float_digits = 0			# min -15, max 3
#client_encoding = sql_ascii		# actually, defaults to database
					# encoding

# These settings are initialized by initdb, but they can be changed.
lc_messages = 'ru_RU.UTF-8'			# locale for system error message
					# strings
lc_monetary = 'ru_RU.UTF-8'			# locale for monetary formatting
lc_numeric = 'ru_RU.UTF-8'			# locale for number formatting
lc_time = 'ru_RU.UTF-8'				# locale for time formatting

# default configuration for text search
default_text_search_config = 'pg_catalog.russian'

# - Other Defaults -

#dynamic_library_path = '$libdir'
#local_preload_libraries = ''


#------------------------------------------------------------------------------
# LOCK MANAGEMENT
#------------------------------------------------------------------------------

#deadlock_timeout = 1s
max_locks_per_transaction = 150	# min 10
					# (change requires restart)
# Note:  Each lock table slot uses ~270 bytes of shared memory, and there are
# max_locks_per_transaction * (max_connections + max_prepared_transactions)
# lock table slots.
#max_pred_locks_per_transaction = 64	# min 10
					# (change requires restart)


#------------------------------------------------------------------------------
# VERSION/PLATFORM COMPATIBILITY
#------------------------------------------------------------------------------

# - Previous PostgreSQL Versions -

#array_nulls = on
#backslash_quote = safe_encoding	# on, off, or safe_encoding
#default_with_oids = off
escape_string_warning = off
#lo_compat_privileges = off
#quote_all_identifiers = off
#sql_inheritance = on
standard_conforming_strings = off
#synchronize_seqscans = on

# - Other Platforms and Clients -

#transform_null_equals = off


#------------------------------------------------------------------------------
# ERROR HANDLING
#------------------------------------------------------------------------------

#exit_on_error = off			# terminate session on any error?
#restart_after_crash = on		# reinitialize after backend crash?


#------------------------------------------------------------------------------
# CUSTOMIZED OPTIONS
#------------------------------------------------------------------------------

online_analyze.threshold = 50
online_analyze.scale_factor = 0.1
online_analyze.enable = on
online_analyze.verbose = off
online_analyze.min_interval = 10000 
online_analyze.table_type = 'temporary'
plantuner.fix_empty_table = true
не могу понять что не так?

 , ,

iliaxxx
()

Apache Проблемы с загрузкой картинок на сервере

Столкнулся недавно на одном из серверов с проблемой: Открываю страницу сайта, на которой находится картинка объемом примерно 500 kb.
Страница открывается быстро, но картинка отображается не полностью, а только ее небольшая часть, жму на F5, страница обновляется, картинка открывается чуть побольше, снова F5, еще больше открывается картинка и так F5 нужно раз 5-6 кликнуть что бы картинка вся прогрузилась.
Если я хочу сохранить картинке со страницы сайта через «Сохранить как», то Firefox мне выдает ошибку: файл не может быть сохранён, так как исходный файл не может быть прочтён. Как я понял тут apache почему то не может отобразить картинку полностью.

 ,

iliaxxx
()

Проблемы с konsole

Создал новую учетную запись для пользователя на kubuntu. Но сталкнулся с проблемой. Когда захожу в konsole оно выглядит пот так:

$ ^[[A^[[A^[[A^[[A



            : not found
$ $ $ $ $ $ $ $ ^[[A^[[A
/bin/sh: 9: 

/bin/sh: 1: 
Я не могу повторить команду, таб не дописывает путь при донаборе. Работать вообще неудобно на таком.

 ,

iliaxxx
()

Не настраивается работа с двумя мониторами

Есть комп на OS Kubuntu 14, с двумя мониторами. Не получается настроить работу двух монторов, работают только как дублирование друг друга, а надо что бы работали как расширения рабочего стола.
Захожу в параметры, мониторы. Выставляю все как нужно, сохраняю и у меня все вылетает. Захожу обратно, а там все по дефолту.

 , ,

iliaxxx
()

Transmission закачка не только торрентов

Стоит Transmission 2.83, на устройстве d-link DNS-320.
Задача: Организовать закачку файлов из интернета большого размера, до 200 Gb.
Может ли программа Transmission закачивать не только Torrent файлы, но и обычные *.rar, с докачкой при обрыве соединения?

 

iliaxxx
()

Vmware suspend

Доброго времени суток.
Решил сделать бэкап VM на vmware. Столкнулся с проблемой, перед началом самого процесса, VM нужно приостановить. Я это сделал вот так:

vmrun -T ws suspend /mnt/md0/Router/Router.vmx

Но вот вывести обратно из этого состояния получается только в ручную.
Как это можно сделать посредсвом vmrun

 ,

iliaxxx
()

Не работает ntop

Debian 7
Поставил ntop из репозоториев, поставил rrdtool. Вроде должно работать, но когда я захожу в «Network Load Statistics». Получаю

NOTE: this page is not operational when 

    the RRD plugin is disabled, misconfigured or missing.
    ntop reads packets from a pcap file

Please check the ntop log file for additional information about this matter.
Для тестирования останавливаю ntop, запускаю
ntop -i "eth0" -d
Все прекрасно работает. Что не так у меня? Почему как служба не хочет работать?

 ,

iliaxxx
()

kern.log Debuan

Решил посмотреть kern.log своего сервера, давно туда не заглядывал. И обнаружил в нем кучу записей вида

Jun 29 08:46:27 host kernel: [935431.943122] spurious APIC interrupt on CPU#0, should never happen.
Jun 29 08:47:28 host kernel: [935492.018795] spurious APIC interrupt on CPU#1, should never happen.
Jun 29 08:48:03 host kernel: [935527.477624] spurious APIC interrupt on CPU#1, should never happen.
Jun 29 08:48:34 host kernel: [935558.412969] spurious APIC interrupt on CPU#5, should never happen.
Jun 29 08:48:58 host kernel: [935582.311712] spurious APIC interrupt on CPU#4, should never happen.
Jun 29 08:48:58 host kernel: [935582.436498] spurious APIC interrupt on CPU#4, should never happen.
Jun 29 08:49:00 host kernel: [935584.737174] spurious APIC interrupt on CPU#1, should never happen.
Jun 29 08:49:00 host kernel: [935584.842413] spurious APIC interrupt on CPU#1, should never happen.
Jun 29 08:50:04 host kernel: [935648.508722] spurious APIC interrupt on CPU#3, should never happen.
Jun 29 08:50:17 host kernel: [935661.949842] spurious APIC interrupt on CPU#4, should never happen.
Jun 29 08:51:05 host kernel: [935709.406834] spurious APIC interrupt on CPU#4, should never happen.
Jun 29 08:51:25 host kernel: [935729.107920] spurious APIC interrupt on CPU#2, should never happen.
Jun 29 08:51:42 host kernel: [935746.611132] spurious APIC interrupt on CPU#3, should never happen.
Jun 29 08:51:43 host kernel: [935747.396060] spurious APIC interrupt on CPU#5, should never happen.
Jun 29 08:53:02 host kernel: [935826.186878] spurious APIC interrupt on CPU#3, should never happen.
Jun 29 08:53:02 host kernel: [935826.202413] spurious APIC interrupt on CPU#3, should never happen.
Jun 29 08:53:02 host kernel: [935826.264826] spurious APIC interrupt on CPU#3, should never happen.
Jun 29 08:54:04 host kernel: [935888.308779] spurious APIC interrupt on CPU#4, should never happen.
Jun 29 08:55:01 host kernel: [935945.955581] spurious APIC interrupt on CPU#1, should never happen.
Jun 29 08:55:32 host kernel: [935976.727019] spurious APIC interrupt on CPU#1, should never happen.
Jun 29 08:55:50 host kernel: [935994.448645] spurious APIC interrupt on CPU#6, should never happen.
Jun 29 08:56:01 host kernel: [936005.743055] spurious APIC interrupt on CPU#0, should never happen.
Jun 29 08:56:29 host kernel: [936033.074285] spurious APIC interrupt on CPU#5, should never happen.
Jun 29 08:57:02 host kernel: [936066.910721] spurious APIC interrupt on CPU#6, should never happen.
Jun 29 08:57:04 host kernel: [936068.689114] spurious APIC interrupt on CPU#4, should never happen.
Jun 29 08:57:04 host kernel: [936068.845115] spurious APIC interrupt on CPU#4, should never happen.
Jun 29 08:57:20 host kernel: [936083.977149] spurious APIC interrupt on CPU#4, should never happen.
Jun 29 08:58:50 host kernel: [936174.114072] spurious APIC interrupt on CPU#0, should never happen.
Jun 29 08:58:50 host kernel: [936174.752811] spurious APIC interrupt on CPU#0, should never happen.
Jun 29 08:59:13 host kernel: [936197.623301] spurious APIC interrupt on CPU#3, should never happen.
Jun 29 09:00:02 host kernel: imklog 5.8.11, log source = /proc/kmsg started.
Jun 29 09:00:04 host kernel: [936248.572948] spurious APIC interrupt on CPU#2, should never happen.
Jun 29 09:00:12 host kernel: [936256.607003] spurious APIC interrupt on CPU#0, should never happen.
Jun 29 09:00:13 host kernel: [936257.854980] spurious APIC interrupt on CPU#5, should never happen.
Jun 29 09:00:15 host kernel: [936258.993760] spurious APIC interrupt on CPU#5, should never happen.
Jun 29 09:01:39 host kernel: [936343.000600] spurious APIC interrupt on CPU#7, should never happen.
Jun 29 09:02:04 host kernel: [936368.006702] spurious APIC interrupt on CPU#1, should never happen.
Jun 29 09:02:45 host kernel: [936409.485060] spurious APIC interrupt on CPU#7, should never happen.
Jun 29 09:02:53 host kernel: [936417.741758] spurious APIC interrupt on CPU#3, should never happen.
Jun 29 09:03:42 host kernel: [936466.435950] spurious APIC interrupt on CPU#0, should never happen.
Jun 29 09:04:02 host kernel: [936486.520072] spurious APIC interrupt on CPU#6, should never happen.

Не могу понять что это обозначает, что ему не так.

 ,

iliaxxx
()

vmware workstation snapshot скрипт автоматической очистки

Добрый день.
Есть сервер на нем стоит бюджетное решение по софту: vmware workstation. OS Debian. Есть скрипт который делает ежедневно по расписанию снапшоты WM.
Команды выгледять вот так:

vmrun -T ws snapshot "/mnt/vm/1c-ms/1c-ms.vmx" `date "+%Y_%m_%d"`
Данная команда делает ежедневно снапшот и присваивает ему в имени текущую дату.
Как сформулировать команду так что бы он удалял снапшоты старше 3 дней?
Если я ему задам команду вида:
vmrun -T ws deleteSnapshot "/mnt/vm/1c-ms/1c-ms.vmx" `date "+%Y_%m_%d"`
То он просто удаляет снапшот текущей даты.

 , ,

iliaxxx
()

Установка Roundcube

Столкнулся с проблемой, я все установил, настроил, провел проверку, удалил каталог installer, защел в интерфейс. В итоге вижу что все мои папки видны, но сообщения не отображаются. Нажал на «Выход», но заместо страници аутентификации я увидел сообщения:

Запрос не прошел проверку Для вашей безопасности, доступ к этому ресурсу защищен от CSRF. Если вы видите это, вы, вероятно, не вышли, прежде чем покинуть веб-приложения.

Для продолжения теперь потребуется действия человека.

Обратитесь к администратору сервера.

Думаю по этой же причине у меня и не отображается почта. Как с этим бороться? И когда захожу в настройки, я не могу выбрать не один пункт в графе «Разделы». Они просто не нажимаются, как будто неактивны.

 

iliaxxx
()

vmware workstation 11.1.0 доступ из вне

Стоит vmware workstation 11.1.0, для удаленного администрирования сервера я использую еще одну машину на которой тоже стоит vmware workstation 11.1.0. Есть возможность в функционале vmware workstation администрирование через web браузер?

 

iliaxxx
()

Vmvare, не запускается

Случилась беда, и пререстала запускаться VM
В консоли вот это:

 Hostd: error: N7Vmacore15SystemExceptionE(Host not found (authoritative))
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace:
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace[00] rip 00007fed434b94f4 Vmacore::System::Stacktrace::CaptureWork(unsigned int)
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace[01] rip 00007fed432ba837 Vmacore::System::SystemFactoryImpl::CreateQuickBacktrace(Vmacore::Ref<Vmacore::System::Backtrace>&)
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace[02] rip 00007fed4326382d Vmacore::Throwable::Throwable(std::string const&)
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace[03] rip 00007fed434b0b6b Vmacore::SystemException::SystemException(int, std::string const&)
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace[04] rip 00007fed433d2f9f /usr/lib/vmware/lib/libvmacore.so/libvmacore.so(+0x2f3f9f) [0x7fed433d2f9f]
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace[05] rip 00007fed433d3512 /usr/lib/vmware/lib/libvmacore.so/libvmacore.so(+0x2f4512) [0x7fed433d3512]
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace[06] rip 00007fed4342f3f6 /usr/lib/vmware/lib/libvmacore.so/libvmacore.so(+0x3503f6) [0x7fed4342f3f6]
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace[07] rip 00007fed4343813a /usr/lib/vmware/lib/libvmacore.so/libvmacore.so(+0x35913a) [0x7fed4343813a]
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace[08] rip 00007fed45386f0d /usr/lib/vmware/bin/vmware-hostd(+0xc31f0d) [0x7fed45386f0d]
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace[09] rip 00007fed44c995ca /usr/lib/vmware/bin/vmware-hostd(+0x5445ca) [0x7fed44c995ca]
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace[10] rip 00007fed44c9efcf /usr/lib/vmware/bin/vmware-hostd(+0x549fcf) [0x7fed44c9efcf]
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace[11] rip 00007fed4327f4d8 /usr/lib/vmware/lib/libvmacore.so/libvmacore.so(+0x1a04d8) [0x7fed4327f4d8]
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace[12] rip 00007fed4327e048 Vmacore::Service::InitApp(Vmacore::Service::Config*)
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace[13] rip 00007fed45465500 /usr/lib/vmware/bin/vmware-hostd(+0xd10500) [0x7fed45465500]
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace[14] rip 00007fed4545b0c3 /usr/lib/vmware/bin/vmware-hostd(+0xd060c3) [0x7fed4545b0c3]
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace[15] rip 00007fed454684a3 /usr/lib/vmware/bin/vmware-hostd(+0xd134a3) [0x7fed454684a3]
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace[16] rip 00007fed3d6fdead /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7fed3d6fdead]
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd: backtrace[17] rip 00007fed44c09cf9 /usr/lib/vmware/bin/vmware-hostd(+0x4b4cf9) [0x7fed44c09cf9]
Message from syslogd@XXX at Jun  2 01:38:43 ...
 Hostd:
Пробовал
vmware-modconfig --console --install-all
Stopping VMware services:
   VMware Authentication Daemon                                        done
   VM communication interface socket family                            done
   Virtual machine communication interface                             done
   Virtual machine monitor                                             done
   Blocking file system                                                done
Using kernel build system.
make: Entering directory `/tmp/modconfig-MS74Am/vmmon-only'
/usr/bin/make -C /lib/modules/3.2.0-4-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
          MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
  CC [M]  /tmp/modconfig-MS74Am/vmmon-only/linux/driver.o
  CC [M]  /tmp/modconfig-MS74Am/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/modconfig-MS74Am/vmmon-only/linux/hostif.o
  CC [M]  /tmp/modconfig-MS74Am/vmmon-only/common/apic.o
  CC [M]  /tmp/modconfig-MS74Am/vmmon-only/common/comport.o
  CC [M]  /tmp/modconfig-MS74Am/vmmon-only/common/cpuid.o
  CC [M]  /tmp/modconfig-MS74Am/vmmon-only/common/hashFunc.o
  CC [M]  /tmp/modconfig-MS74Am/vmmon-only/common/memtrack.o
  CC [M]  /tmp/modconfig-MS74Am/vmmon-only/common/phystrack.o
  CC [M]  /tmp/modconfig-MS74Am/vmmon-only/common/task.o
  CC [M]  /tmp/modconfig-MS74Am/vmmon-only/common/vmx86.o
  CC [M]  /tmp/modconfig-MS74Am/vmmon-only/vmcore/moduleloop.o
  LD [M]  /tmp/modconfig-MS74Am/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-MS74Am/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/modconfig-MS74Am/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
          MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/modconfig-MS74Am/vmmon-only'
make[1]: `postbuild' не требует обновления.
make[1]: Leaving directory `/tmp/modconfig-MS74Am/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/modconfig-MS74Am/vmmon-only'
Using kernel build system.
make: Entering directory `/tmp/modconfig-MS74Am/vmnet-only'
/usr/bin/make -C /lib/modules/3.2.0-4-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
          MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
  CC [M]  /tmp/modconfig-MS74Am/vmnet-only/driver.o
  CC [M]  /tmp/modconfig-MS74Am/vmnet-only/hub.o
  CC [M]  /tmp/modconfig-MS74Am/vmnet-only/userif.o
  CC [M]  /tmp/modconfig-MS74Am/vmnet-only/netif.o
  CC [M]  /tmp/modconfig-MS74Am/vmnet-only/bridge.o
  CC [M]  /tmp/modconfig-MS74Am/vmnet-only/procfs.o
  CC [M]  /tmp/modconfig-MS74Am/vmnet-only/smac_compat.o
  CC [M]  /tmp/modconfig-MS74Am/vmnet-only/smac.o
  CC [M]  /tmp/modconfig-MS74Am/vmnet-only/vnetEvent.o
  CC [M]  /tmp/modconfig-MS74Am/vmnet-only/vnetUserListener.o
  LD [M]  /tmp/modconfig-MS74Am/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-MS74Am/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/modconfig-MS74Am/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
          MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/modconfig-MS74Am/vmnet-only'
make[1]: `postbuild' не требует обновления.
make[1]: Leaving directory `/tmp/modconfig-MS74Am/vmnet-only'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/modconfig-MS74Am/vmnet-only'
Starting VMware services:
   Virtual machine monitor                                             done
   Virtual machine communication interface                             done
   VM communication interface socket family                            done
   Blocking file system                                                done
   Virtual ethernet                                                    done
   VMware Authentication Daemon                                        done
   Shared Memory Available                                             done
Непомогло. Уже всю голову сломал, незнаю что делать.

 

iliaxxx
()

vmware workstation Автоматическое создания снимков

Вопрос травильный, нужно заставить vmware workstation, делать снимки по расписанию в автоматической режиме.
Казалось бы что проще, запускай «AutoProtect» и все, но не тут то было, оказывается те виртуальные машины которые перенесены в «Shared VMs» к моему несказанному разочарованию лишены такой возможности....
И остается только один вариант, делать снимки руками, что крайне неудобно.
Есть ли какой нибудь скриптовой вариант делать снимки по расписанию?

 

iliaxxx
()

roundcube + плагины

Установил Roundcube, настроил, все заработало. Встал вопрос по установке плагинов. Сделал так:

roundcube + плагины
1) Распаковал плагин в директорию «plugin»
2) Отредактировал config/main.inc.php
Получилось вида: $rcmail_config['plugins'] = array('managesieve"archive"filters"roundcube-agendav-master');


Добавил 2 плагина filters и roundcube-agendav-master
Почему то не работает, что я делаю не так?

 ,

iliaxxx
()

Настройка Asterisk за nat

Есть сервак, который стоит за nat.На нем крутится Asterisk. Все sip клиенты находятся в локальной сети, либо цепляются к АТС по vpn. Входящие звонки проходят нормально, работает внутренняя связь, но проблема начинается когда хотят позвонить изнутри на внешние номера, по английски говорят что не удалось дозвониться, попробуйте позвонить позже. В какую сторону копать хоть? До этого сервак стоял опой в инет и все работало нормально, но по соображениям безопасности его поставили в локалку за nat

iliaxxx
()

RSS подписка на новые темы