Ubuntu Servers :: Does 10.04 Support Multithread On Mysql 32 Bit?
Jun 18, 2010does ubuntu 10.04 support multithread on mysql 32 bit?
View 8 Repliesdoes ubuntu 10.04 support multithread on mysql 32 bit?
View 8 RepliesI'm not having any luck today getting maildrop working. Ubuntu (Hardy) and everything is from aptitude.If I use 2.0.3 (the version aptitude serves up) I get this:
maildrop 2.0.3 Copyright 1998-2005 Double Precision, Inc.
GDBM extensions enabled.
Courier Authentication Library extension enabled.
[code]...
This is after I made maildrop setuid root. It seems that the version aptitude serves us was compiled without the --enable-trusted-users flag at compile time. There appears to be no way around this other than to recompile, according to Sam V, the author of the program. So I'm off to compile my own.
/usr/local/bin/maildrop -v
maildrop 2.4.2 Copyright 1998-2005 Double Precision, Inc.
Maildir quota extension are now always enabled.
This program is distributed under the terms of the GNU General Public
License. See COPYING for additional information.
[code]....
It never talks to mysql and obviously isn't authenticating. The aptitude version does talk to mysql, but can proceed no further because it hits that "trusted user" issue.
Are the authlib & mysql libraries somewhere else? There areHow can I solve this? Have any of you successfully compiled maildrop to work with courier-authlib and mysql? This is driving me nuts. I'm using courier-imap with virtual users in mysql. This setup has worked just fine for a long time, but I now need to add server side filtering. It seems like I'm almost there....
I have installed Mysql in Ubuntu 9, for the use of roundcube database.After installing iam getting the error like this
* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.
So because of this in the roundcube configuration its giving the error message that MYSQL is not installed. So Kindly give me a idea how to solve this.
i was trying to allow remote access to mysql by following mysql was running perfectly until i got here :
Code:
/sbin/iptables -A INPUT -i eth0 -s 192.168.1.0/24 -p tcp --destination-port 3306 -j ACCEPT
i changed my.cnf bind-address line to : "bind-address = 127.0.0.1" and nothing
[code]....
I'm using the Arch packages, not compiled myself from source.
View 1 Replies View RelatedThis is a fresh install of CentOS 5.3 x86_64 with the following packages installed (using yum) as I have always done and has always worked in the past: httpd mysqld php php-mysql php-gd
However any pages requiring mysql fail and the following shows up in the httpd/error_log:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/dbase.so' - /usr/lib/php/modules/dbase.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Code].....
I am trying to install squirrelmail on Ubuntu 10.4 and at some point in the instalation process I get the following error:
[Code]....
First off I'm using OpenSUSE 11.2. I'm trying to compile mediatomb and I'm having difficulty when I run './configure' This is the message I get when it fails:
Code:
configure: error: Support of at least one of mysql or sqlite3 must be configured I have both sqlite3 and mysql installed.
I made a full install of Slackware and have been using one of my boxes as an Apache web server. I recently tried to install Joomla, the PHP CMS software, and when I ran the pre-install requisite checker (The second step of the installation), the installer notified me that I do not have MySQL support. I find this especially strange as I've made webpages using PHP that made use of MySQL databases.
My pre-post research has lead me to several other people with the same problem. Half were using windows, and just had not uncommented the "extension mysql.so" line in the php.ini file. The other half solved their problem by installing their distro's php-mysql module. According to what I'd read, you can still use MySQL if you don't have that module installed, but Joomla does need it to be able to use the MySQL database.
I've searched long and hard for this plugin/add-on/module for Slackware, but to no avail. It's available in RPM format, and I know that it's possible to use rpm2tgz to convert these files, but I don't know exactly what the issue is, and if Slackware may be different. I don't want to install that and then find out that it overwrote something that I'd needed.
I Have an script like
./bang 1
./bang 2
./bang 3
./bang 4
[code]...
and i wanna execute him in groups of 3 , i mean he execute bang 1 , bang 2 and bang 3 after it finish the next 3 commands it will be executed and so on , in groups of 3.
Im trying to set up a Proxy server on my CentOS server and I have been looking at Squid, however I wondered if there is a proxy server that will support having authenticated users and passwords in a MySQL database?I wanted to do this so I have good control over who is connected through my proxy.
View 6 Replies View Relatedlanguage: C
OS: linux
I wrote a multithread program(approx 1000 thread have to run) and each thread has to parse a file(for each thread there is one file, ex:thread1 has to parse file1 and thread2 has to parse file2 like this....). I wrote "parse" program as follows. It is working well, if i create 50 threads. but if i run more than 200 thraeds Im getting doublefree corruption as follows:
Code:
*** glibc detected *** ./simulator: double free or corruption (fasttop): 0xb70007b0 ***
And some time I am getting parsing problem and error af follows:
Code:
powersetting.6607:1: parser error : Start tag expected, '<' not found (where powersetting.6607 is file name, when i check this file it is started with '<').
parse program as follows:
Code:
void parse_first(char* filename, int portnum, struct Poweroff *Powerptr1)
{
struct Poweroff *Powerptr;
Powerptr = Powerptr1;
[code]....
Since 2005 when DualCore CPUs came out, you need to create unique multithread algorithms for every particular program? Or you have patterns?
View 4 Replies View RelatedI wrote a multithread program(c++,gnu gcc). it contains a main program and plugins. some functions in plugins use sleep(). Using these functions in threads cause freezing program. in other word thread sleeps but dosn't wake. How can i use sleep() in my plugin functions without this problem?
View 3 Replies View RelatedI am trying to get mysql to start at boot without any success.
The mysqld scripts works fine when run from the command line, but it does not work when i use the links created by chkconfig. I checked the boot.log and found that mysql starts but then it stops or gets shutdown. This is the log message:
Starting mysqld daemon with databases from /data/mysql [ OK ]
Starting cups: [ OK ]
STOPPING server from pid file /var/run/mysqld/mysqld.pid
starting DenyHosts: /usr/bin/denyhosts.py --daemon --config=/usr/share/denyho
sts/denyhosts.cfg
090727 04:35:47 mysqld ended
The same init script works fine in Ubuntu.
I think this goes here, but I'm not sure. I decided that XAMPP had been troublesome enough. MySQL never worked. So I decided to instal the LAMP stack offered by YaST. I went about installing it thinking that it would all work. But it seems that I was wrong. So I try to start mysql, and here's what I get:
Code:
the-matrix:~ # mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) or
Code:
the-matrix:~ # rcmysql start
Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds
chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory
[Code]...
I just bought a dual USB2/USB3 external disk for backup purposes on my Ubuntu server box, running 8.0.4 LTS. For various reasons I can't upgrade to the newest LTS yet and I was wondering if there were any plans for USB3 support on Ubuntu Server 8.0.4?
View 4 Replies View Relatedi am using liferay5.2(mysql included in the download pack) on fedora. while liferay is working fine but i cannot connect to mysql.i am getting the error
[
[root@localhost ~]# ln -s /var/lib/mysql/mysql.sock /tmp
[root@localhost ~]# /etc/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.
[code]....
i didnt find the mysql.sock file in the location /var/lib/mysql/mysql.sock. i cannot find the portal-ext.properties file also to make intial settings.
I am installing a new large 4 Tb RAID (hardware) under 9.10. Does GPT support come by default in the new 9.10 kernel? How can I check? I gather I need to use PARTED to make a GPT partition table on the raid. Anyone know details of how to do this? [URL]...
View 2 Replies View RelatedIve had my server up and running for a few weeks now, everything has been good. My one small hitch is that while in the console I need to be able to see Chinese Simplified characters. I dont really need to type them, but I do need to be able to read them. How do I go about adding support for simplified chinese?
View 2 Replies View RelatedI'm testing a support ticketing system (osTicket), and am trying to set up the server so it can send and receive messages using an external email account so it will, you know, work.When you try to add an email account, it spits out the error "IMAP doesn't exist. PHP must be compiled with IMAP enabled." in the web interface.So apparently IMAP isn't enabled in PHP. And apparently I have to recompile PHP to add that particular function. Um... how i do that? i not so good with computer
View 1 Replies View Relatedfirst, sorry for my bad english, I am german I have a problem enabling IOMMU on my MSI 970A-G45 mainboard. I need the IOMMU support for PCI passthrough in KVM ( I need my DVB pci cards in the virtual machine).
I have installed Ubuntu server 11.04 and enabled IOMMU in bios. The first strange thing is, that when iommu is enabled in the bios i cant access network or USB devices in ubuntu. Only when its disabled in bios.
Well, i tried the tutorial from here: http://www.linux-kvm.org/page/How_to...th_VT-d_in_KVM and compiled a new kernel with "Support for DMA Remapping Devices", "Enable DMA Remapping Devices" and "PCI Stub driver" enabled and installed it (based on description in wiki)
[Code]...
I don't know. I have had tons of issues with the Linux today. Now when I try and start mysql it just fails. the syslog says code...
The command mysql results in:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I have even tried to uninstall mysql and reinstall it an nothing works. Any suggestions?
I'm trying to start my MySQL server, and it fails if the /etc/mysql/my.cnf file is there. If it isn't, then it fails - syslog shows me this:
Code:
Jun 5 11:02:53 myhost /etc/init.d/mysql[21733]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Jun 5 11:02:53 myhost /etc/init.d/mysql[21733]: #007/usr/bin/mysqladmin: connect to server at 'localhost' failed
[Code].....
I have probably found a bug in the Ubuntu php5 package. At first I thought it's a problem with Zend Framework, which I use, then I thought it's a php issue, but now it seems to be a problem with Ubuntu's php packages. My problem is that under certain conditions, php is going to read records from the mysql database table infinite times. For a much more detailed description of the bug,[URL]..
I've tried on an x86 Ubuntu Desktop edition, and an x64 Ubuntu Server edition, both 10.04, and both had this bug. I have set up a test system (x86 Ubuntu Server edition 10.04), and compiled apache2 and php5 from source, but used the mysql-server package from the repository. And I couldn't reproduce the bug. However, after copying the self-compiled libphp5.so file from the test system to the desktop that produces the error, I could still reproduce the error on the desktop. This suggests me that the problem is either not in php, or - more probably - there are multiple php binaries used in the repository version, and therefore it doesn't matter that I've copied my libphp5.so because mysql functions are somewhere else. I've found a mysql.so file in /usr/lib/php5/20090626+lfs coming from the php5-mysql package. Does that have anything to do with this issue?
ive been trying to fix this for a while. i dont have the original my.cnf, but i dont even know if thats the error:
Code:
pavel@pvl1:~$ sudo service mysql start
^C
pavel@pvl1:~$ cd /var/log/[code]....
Is there a php,mysql built in?What folder do i put my website?What command do i need to use to start and stop apache?If there isnt php,mysql built in how do i install it ?
View 9 Replies View RelatedI have trouble with MySQL server on my Ubuntu 11.04.Below is what I get in Terminal
root@linux:/home/karl# /etc/init.d/mysql start
Rather than invoking init scripts through /etc/init.d, use the
service(
[code]....
I'm using ubuntu 10.04 LTS I install mysql..Code: sudo apt-get install mysql-server.I set up my password and confirm,I type mysql at the terminal and i get this back.
View 1 Replies View RelatedI am going to use "pthread_setaffinity_np" to bind a thread to a specific core. My application has two threads. I have used mutex to assign a specific id to each thread and then bind that thread to a core different from another core. but it seems that the os assigns both thread to one core.What should I do to bind each thread to a specific core?
View 4 Replies View Related