 |


 |
linux
budhaboy | |
 |
 |
 |
 |
I finally got around to checking this solution To refresh, the machine seems to function perfectly in every way (this is why it's taken me so long to get around to the issue)... As long as I'm not using X locally. The machine appeared to crash when booting, but if I ssh in all programs work perfectly, even those in X). I started the procedure to address what I was convinced was a HD issue. I started a liveCD boot, the machine started, got to X, then when I fired up a console to run fsck, it froze. Just prior to this there were freaky 'ghosty' images on some objects on the screen. Figuring the issue wasn't a HD issue (the box ran flawlessly as a file server for weeks) I tried booting in the 'safe' mode. I had the mode fix any issues, then try to fix X... They all worked perfectly. When I rebooted, I could actually get to the regular screen, then when I fired up, say a console and moved the window, screen froze. I still had the same freaky 'ghosty' images. Here's my question(s): 1) I'm guessing it's a failing graphics card... I'm not sure why it's not crashing the box, and only the video... that's my question, I guess. 2) While I can yank the thing easily enough is it difficult to get ubuntu to recognize whatever ubuntu compatible one I buy? Any comments, help would be appreciated.
|
 |
 |
 |
 |
|
 |
 |



 |
linux
pkbarbiedoll | |
 |
 |
 |
 |
I've successfully mounted a network share with mount.cifs for the past 2 years using fstab with credfile. //server/share /mnt/mycooldir cifs credentials=/etc/credfile,dom=mydomain,uid=123,gid=123,file_mode=0666,dir_mode=0755 0 0 credfile: Code: username=foobar
password=1234 (ends here no line return after '4') Yesterday I moved this system to a new datacenter, but did not alter fstab or the credfile. The //server/share directory has IP rules in place, but this was updated with the new system IP while we moved the system. Now, I am mysteriously unable to automount //server/share. The local error is 13 (permission denied). The Windows server we are mounting returned a code that is defined as "username is valid but password is incorrect" Again - no changes (content or permissions) were made to my credfile or fstab entry. I've restarted netfs a few times, including rebooting the system twice. What is baffling is I can successfully mount //server/share via command line: Code: mount -t cifs //server/share /mnt/mycooldir -o username=foobar,password=1234 The username and passwords are identical in credfile and the mount options - I copied & pasted username / password from the credfile itself. I'm at a loss. Help?
|
 |
 |
 |
 |
|
 |
 |

 |
ru_mysql
chabapok | |
 |
 |
 |
 |
|
 |
 |
Жила-была табличка MyISAM форамата:
CREATE TABLE `ocenki` ( `db` int(11) NOT NULL, `id` bigint(20) NOT NULL, `user` bigint(4) NOT NULL, `ocenka` tinyint(4) NOT NULL, UNIQUE KEY `dbiduser` (`db`,`id`,`user`), KEY `user` (`user`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
И в один прекрасный момент там, на хостинге, закончилась память. Память почистили, но вот мускул теперь ругается "#144 - Table './blalala/ocenki' is marked as crashed and last (automatic?) repair failed"
табличку уже откатили из бэкапа, но хотелось бы знать теорию как такое восстанавливать.
|
 |
 |
 |
 |
|
 |
 |


 |
ru_mysql
white_thesis | |
 |
 |
 |
 |
|
 |
 |
Что-то я устал и совсем туплю, поднимите мне веки pls. Задача, по идее, типичнейшая, как велосипед. Должно же быть приличное решение? а) Есть обычная конструкция. Таблица предметов items(item_id, item_name), таблица атрибутов attribs(attr_id, attr_name) и, само собой, кростабличка связей между ними cross(item_id, attr_id). Набор атрибутов предмета может быть пустым. б) есть некое условие (А), выбирающее из attribs непустое подмножество атрибутов Нужно выбрать из items те и только те предметы, с которыми _НЕ_ связаны эти самые атрибуты (А). В том числе и "безатрибутные" предметы. ( Read more... )solvedЧерез правое-левое объединение и отрицание условия (А). Tags: написание запроса
|
 |
 |
 |
 |
|
 |
 |

 |
ru_mysql
svetasmirnova | |
 |
 |
 |
 |
|
 |
 |
По мотивам своего мастер-класса на PHPConf 2009 ( http://phpconf.ru) я написала гид для тех, кому нужно поймать ошибку в SQL приложении. Правильнее было бы назвать в MySQL приложении, но я всё-таки думаю, что общие принципы едины для всех. В идеале мне бы хотелось, чтобы текст охватывал основные случаи неправильного поведения. Оговорюсь, что под неправильным поведением я понимаю логические ошибки, а не проблемы производительности. Проблемы производительности - это отдельная тема, кстати, достаточно хорошо представленная в сети. Книжка состоит из 4 частей, ниже можно посмотреть краткое содержание: Часть 1. Одиночные запросы.Рассмотрены случаи, когда ошибка повторяется для одного клиента-потока. Часть 2. Конкурентные запросы.Случаи, когда ошибка повторяется только в случаях, когда несколько клиентов работают с базой одновременно. Часть 3. Другие случаи.Случаи, не подходящие под предыдущие определения. Часть 4. Техники, применяющиеся для отладки Production приложений.Краткий перечень того, что нужно делать, если приходится тестировать на рабочем сервере. Текст получился достаточно объёмный, поэтому я посчитала нужным дать ссылку на внешний ресурс, а не выкладывать здесь, так как даже под катом получится достаточно "много букаф", а несколько постов подряд на одну тему может утомить. Пожалуйста, почитайте и покритикуйте. Ваше мнение очень интересно. Комментарии оставляйте здесь :) Почитать можно здесь: http://sql-error.microbecal.com/
|
 |
 |
 |
 |
|
 |
 |

|
 |
|
 |