Home
entries friends calendar user info Daniel J. Doughty
Friends

Advertisement

budhaboy
[info]linux
[info]budhaboy
Add to Memories
Tell a Friend
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.
simbab
[info]linux
[info]simbab
Add to Memories
Tell a Friend
Just upgraded to 2.6.32 and I notice two problems (so far). I have a Thinkpad T61. I notice that my custom sysfs settings for my TrackPoint don't work: the entries which set settings such as sensitivity are missing from /sys/devices/platform/i8042/serio0/serio1, and this might be because the mouse is detected as a Generic PS/2 Mouse instead of having the TPPS/2 protocol extension.

Possibly related is the fact that the hdapsd daemon cannot find the hdaps input device. Any clues what happened with input in the 2.6.32 cycle that might be causing this?

I note also that udev spit out a metric fuckton of deprecation warnings for configuration file syntax on bootup.

My .config is here if anyone thinks that I might have answered some oldconfig questions wrong.

Update: Oh, also, I have UltraNav so I have both the TrackPoint and a Touchpad. The touchpad still works and is detected correctly as before.

Update 2: Additionally, the hdaps input device is registered—

[ 10.666730] hdaps: inverting axis (3) readings.
[ 10.666733] hdaps: LENOVO ThinkPad T61 detected.
[ 10.667382] input: hdaps as /devices/platform/hdaps/input/input8
[ 10.667441] hdaps: driver successfully loaded.


—it's just that userspace can't detect it.

Current Mood: frustrated

technonick
[info]system_admin
[info]technonick
Add to Memories
Tell a Friend
In my spare time I run two websites and they use joomla as I have a number of users who add content on a regular basis.

So I am looking for a link checking program that identifies 404 links. I use Linux mainly, but would be open to something on Windows. Ideally I would like this to be able to run daily, and send an email, but what ever.

Also, please, don't recommend a Joomla plugin. I have far too many plugins installed already.

Thanks in advance.
pkbarbiedoll
[info]linux
[info]pkbarbiedoll
Add to Memories
Tell a Friend
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?
yulya_b
[info]ru_mysql
[info]yulya_b
Add to Memories
Tell a Friend
Подскажите! Есть база данных (на сервере) с текстами по-русски кириллицей (utf8_general_ci). Доступ к ней через phpmyadmin. Пытаюсь скачать в Excel (Export as csv., csv for Microsoft Excel) - получается абракадабра: Симптомов никаких
Как быть? Спасибо!

Update: С Excel-oм так и не справилась. Но зато все, оказывается, замечательно читается в Google docs. Ура Google!

Current Mood: frustrated

chabapok
[info]ru_mysql
[info]chabapok
Add to Memories
Tell a Friend
Жила-была табличка 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"

табличку уже откатили из бэкапа, но хотелось бы знать теорию как такое восстанавливать.
my_nick_kos_mos
[info]ru_mysql
[info]my_nick_kos_mos
Add to Memories
Tell a Friend
К примеру есть таблица:


CREATE TABLE `a` (
    `a` INT(1) DEFAULT NULL
) ENGINE=MYISAM;

Вопрос - какое максимальное чиcловое значение может храниться в a?
Я всегда думал что 127 (ну или 255 при unsigned), так как единичка в определении поля определяет количество байт выделяемое под поле, но максимальное значение при любом значении будет 2147483648.

Версия mysql - 5.0.51a-3ubuntu5.1-log

В чем подвох?

Update: вопрос закрыт - параметр в скобках это ширина отображения целого значения
white_thesis
[info]ru_mysql
[info]white_thesis
Add to Memories
Tell a Friend
Что-то я устал и совсем туплю, поднимите мне веки pls.

Задача, по идее, типичнейшая, как велосипед. Должно же быть приличное решение?

а) Есть обычная конструкция. Таблица предметов items(item_id, item_name), таблица атрибутов attribs(attr_id, attr_name) и, само собой, кростабличка связей между ними cross(item_id, attr_id). Набор атрибутов предмета может быть пустым.

б) есть некое условие (А), выбирающее из attribs непустое подмножество атрибутов

Нужно выбрать из items те и только те предметы, с которыми _НЕ_ связаны эти самые атрибуты (А). В том числе и "безатрибутные" предметы.

Read more... )

solved
Через правое-левое объединение и отрицание условия (А).

Tags:

svetasmirnova
[info]ru_mysql
[info]svetasmirnova
Add to Memories
Tell a Friend
По мотивам своего мастер-класса на PHPConf 2009 (http://phpconf.ru) я написала гид для тех, кому нужно поймать ошибку в SQL приложении. Правильнее было бы назвать в MySQL приложении, но я всё-таки думаю, что общие принципы едины для всех. В идеале мне бы хотелось, чтобы текст охватывал основные случаи неправильного поведения. Оговорюсь, что под неправильным поведением я понимаю логические ошибки, а не проблемы производительности. Проблемы производительности - это отдельная тема, кстати, достаточно хорошо представленная в сети.

Книжка состоит из 4 частей, ниже можно посмотреть краткое содержание:

Часть 1. Одиночные запросы.
Рассмотрены случаи, когда ошибка повторяется для одного клиента-потока.
Часть 2. Конкурентные запросы.
Случаи, когда ошибка повторяется только в случаях, когда несколько клиентов работают с базой одновременно.
Часть 3. Другие случаи.
Случаи, не подходящие под предыдущие определения.
Часть 4. Техники, применяющиеся для отладки Production приложений.
Краткий перечень того, что нужно делать, если приходится тестировать на рабочем сервере.

Текст получился достаточно объёмный, поэтому я посчитала нужным дать ссылку на внешний ресурс, а не выкладывать здесь, так как даже под катом получится достаточно "много букаф", а несколько постов подряд на одну тему может утомить.

Пожалуйста, почитайте и покритикуйте. Ваше мнение очень интересно. Комментарии оставляйте здесь :)

Почитать можно здесь: http://sql-error.microbecal.com/
profile
danieljdoughty
Name: danieljdoughty
calendar
Back June 2007
12
3456789
10111213141516
17181920212223
24252627282930
page summary
tags

Advertisement

Customize