Хотя для начала советую логи почистить, зависит от того, в каком они там виде, если ротация, удалить архивы старые, если один файл, попробуй просто удалить и cat /dev/null > /var/squid/logs/logfile
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/local/share/sams/mysqltools.php on line 289
Access denied for user sams@localhost to MySQL
Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/local/share/sams/mysqltools.php on line 296
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /usr/local/share/sams/mysqltools.php on line 296
Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/local/share/sams/mysqltools.php on line 303
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /usr/local/share/sams/mysqltools.php on line 303
SAMS databases not connected
The base squidlog not created or the user sams has no rights to connection to it
The base squidctrl not created or the user sams has no rights to connection to it
root@ydomain [/usr/home/sysadmin]#tail -f /var/db/mysql/domain.err
140818 12:21:17 InnoDB: Started; log sequence number 22 4250875089
140818 12:21:17 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
140818 12:21:17 [ERROR] Do you already have another mysqld server running on port: 3306 ?
140818 12:21:17 [ERROR] Aborting
убил, запустил, но когда захожу в вебинтерфейс squid,
через один раз выскакивает Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/local/share/sams/mysqltools.php on line 289
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 22 4258735649
140818 16:12:38 InnoDB: Starting an apply batch of log records to the database. ..
InnoDB: Progress in percents: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 7 3 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
140818 16:12:39 InnoDB: Started; log sequence number 22 4258735649
140818 16:12:39 [Note] Event Scheduler: Loaded 0 events
140818 16:12:39 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '5.1.55' socket: '/tmp/mysql.sock' port: 3306 FreeBSD port: mysql-se rver-5.1.55
140818 16:12:45 InnoDB: Assertion failure in thread 709127808 in file btr/btr0p cur.c line 402
InnoDB: Failing assertion: btr_page_get_prev(next_page, mtr) == buf_frame_get_pa ge_no(page)
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
140818 16:12:45 - mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.
key_buffer_size=8384512
read_buffer_size=131072
max_used_connections=4
max_threads=151
threads_connected=4
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 337711 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
140818 16:12:45 mysqld_safe mysqld restarted
140818 16:12:45 [Note] Plugin 'FEDERATED' is disabled.
140818 16:12:45 InnoDB: Initializing buffer pool, size = 8.0M
140818 16:12:45 InnoDB: Completed initialization of buffer pool
InnoDB: Log scan progressed past the checkpoint lsn 22 4258370632
140818 16:12:45 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 22 4258744919
140818 16:12:45 InnoDB: Starting an apply batch of log records to the database.
тоже самое выскакивает...
может добавитесь так проще будет или аську напишыте. Я через час или полтора часа дома буду.
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/local/share/sams/mysqltools.php on line 289
Access denied for user sams@localhost to MySQL