Ubuntu Installation :: Warning - Can't Create Test File /var/lib/mysql/mosty.lower-test

Mar 15, 2010

I am trying to install mysql 5.1.44..so i downloaded the binary package, i extracted it and then followed the instructions that were in the manual but i keep getting this error when running this command

Code:

scripts/mysql_install_db --basedir=/home/mosty/mysql

the error is

Code:

Installing MySQL system tables...
100315 20:07:27 [Warning] Can't create test file /var/lib/mysql/mosty.lower-test
100315 20:07:27 [Warning] Can't create test file /var/lib/mysql/mosty.lower-test

[code]....

You can try to start the mysqld daemon with:

shell> /home/mosty/mysql/bin/mysqld --skip-grant &

and use the command line tool /home/mosty/mysql/bin/mysql to connect to the mysql database and look at the grant tables:

shell> /home/mosty/mysql/bin/mysql -u root mysql
mysql> show tables

View 1 Replies


ADVERTISEMENT

General :: Mysql Error Can't Create Database 'test' When Configure?

Feb 8, 2010

mysql -u root -p but unable to create any database.

if i tried to configure it's giving error ERROR 1006 (HYOOO) : can't create database 'test' (error: 2)

my location for database is /var/lib/mysql and permissions are

drwxrwxrwx mysql root.....

View 1 Replies View Related

Ubuntu Installation :: Restart Mysql And Test The New Location It Said Mysqld.sock Was Missing

Jul 8, 2010

I was playing with the mysql my.cnf file yesterday, trying to move my database files to my dropbox folder so I can use the database on my other machine. All I changed was the datadir setting to point to my dropbox folder. I also moved my mysql data files there.

When I tried to restart mysql and test the new location it said my mysqld.sock was missing. I searched and searched the web and my filing system for it but I have no idea what's happened to it?? I have even tried changing the datadir path back and reinstalling mysql but that doesn't seem to work either.

View 2 Replies View Related

Fedora Servers :: Several Postfix - Test Antivirus Scan Using Eicar Test Virus ?

Apr 8, 2009

I have installed Postfix + Amavisd-new, then I am started all services (and configured main.cf and master.cf to use amavis).

The questions are:

1) I am trying to test antivirus scan using eicar test virus

Code:

And the message is successfully delivered to mailbox with mark "CLEAN" in maillog. But I cant see any attachment using

Code:

Where is my mistake?

2) Should I update clam and how I can do it?

3) Is spamassassin enabled by default in amavis (I have started daemon)?

4) Where configuration files of spamassassin is stored?

View 1 Replies View Related

General :: Execute Scen-20-test And Vbr-20-test In Ns-allinone-2.34?

Mar 26, 2011

I have created mobility of 20 nodes and vbr traffic using following attached script I executed the file as ns234 vbr.tcl I got the vbr.tr and vbr.nam but I was unable to load the graph using matlab <trgraph> I thought problem with is vbr.tcl script.

View 1 Replies View Related

General :: Test Login To Mysql Via Mod_perl?

Aug 6, 2010

would this script not work?

Code:
#!/usr/bin/perl
#PERL module
use Mysql;
#CONFIG VARIABLES

[Code].....

I clearly have a lot to learn, but I have done about 10 Google searches trying to find out how to test connectivity b/t mod_perl and mysql.. maybe I'm confused on how this works.

I have this in httpd.conf

Code:
Perlrequire /etc/httpd/conf/perl-startup.pl
PerlWarn On
PerlModule Apache::DBI
I have this in perl-startup.pl

[Code]....

View 4 Replies View Related

Programming :: MySQL Security - Remove The Ability To Make Test Databases?

Sep 29, 2010

I know very little about MySQL, but I've got some users that need it for testing on a Linux server.So I had set it up a while back, but now I'm running into some small problems.Right now, each user has his own database that I created and can do whatever with it. Each user only sees their own database.I didn't want them to be able to create new databases at all, but they can and when they do anyone can see them.

EDIT(Apparently they can only create databases beginning with the word "test" in the name)

I need to either:

1) Stop them from creating new databases (without affecting their ability to interact with the existing database)

OR

2) Make it so that when they create a database, only they have privileges on it and only they can see it (except mysql root of course).

Anybody know the statement to set these kinds privileges up?

EDIT: pfft... I've a read a bit more and realize that this is an intended part of the installation.

EDIT2

I'd still like to remove the ability to make test databases.

EDIT3:Ok, for reference this is how you prevent users from making and using test databases:

shell> mysql -u root -p
Enter password: (enter root password here)
mysql> DELETE FROM mysql.db WHERE Db LIKE 'test%';
mysql> FLUSH PRIVILEGES;

View 4 Replies View Related

Red Hat / Fedora :: Create VM Of Current System To Test Big Changes

Mar 18, 2010

I have a laptop with 1 hard drive (80gb)

I currently run CentOS 5.4 and I want to create an image of my current hard drive so that I can play it in a VM Player (VirtualBox).

What utility can I use to create a disk image? Also, Since i'm only using 20gb. I think I want to make a "sparse" file so that the image only takes up about 20gb.

Now... if there is an easier way to do this... let me know. I tried a few tutorials online with no progress. I spent all day yesterday trying to figure this out. Literally, all day.

View 2 Replies View Related

Ubuntu Servers :: Test Mailgraph Manually To Create The Graphic?

May 16, 2011

I already install mailgraph in ubuntu 10.04. but now I got problem with mailgraph in ubuntu 10.04. No graph appear in the graphic created by mailgraph.I know mailgraph consist of perl and cgi script.If I have postfix log, how to test mailgraph manually to create the graphic using its perl script from existing postfix log. Just to see whether the graph created or not in the graphic

View 1 Replies View Related

General :: Create Virtual Machine For Web Development Test Environment

May 31, 2011

I'm looking into creating a virtual machine to mirror a web hosting environment I pay for. Long story short, I need a lab so I am not taking down the live site with my mistakes.Questions:

1 - What OS is most commonly used and / or best for running apache web server?My paid host is running "Operating System =linux; Kernel Version2.6.28.5-grsec-sg2"

2 - What is the best open source solution for creating a virtual linux machine on a box running XP?

View 3 Replies View Related

Programming :: Test If File Is In Use?

May 4, 2010

I want to copy files from an incoming directory, but don't want to copy a file if it hasn't finished being written. I thought of using fuser, but it doesn't seem to be very reliable. I vi'd a file in one window and then ran fuser against the file name and got nothing back. I'm just writing a simple bourne script on RHEL.

View 5 Replies View Related

General :: Test File Sending Speed?

Jul 6, 2011

program to measure speed of sending file from one computer to another

View 1 Replies View Related

General :: Test PC To PC File Transfer Speed

Jul 7, 2011

I want a program that can be installed in two pc and measure speed of transfering files from one to another or any data measured in Mega bit

View 1 Replies View Related

Programming :: Insert A Line In The Test File With Sed?

Jul 15, 2010

I have following file workers file: There are 800 entries like this.

# consensus/uat
worker.consensus-uat1.host=lonlx10409
worker.consensus-uat1.port=13702
worker.consensus-uat1.type=ajp13

[code]....

I want to insert one line just below the line starting with "woker.list". I think sed can do it but I am not aware.

View 14 Replies View Related

Ubuntu Networking :: How To Test Cifs Is Actually Mounted In Script File

Mar 12, 2010

I would like to be able to test that a network mounted cifs(samba) share is actually mounted in a script file to do backups. I want to do this so that when my automatic backups run they actually go to the remote location or fail. Currently, if there is a network problem that prevents the network share from mounting, the files simply get copied to the folder (e.g. /media/backupmount) and end up filling up my small local hard drive.

View 3 Replies View Related

Networking :: Sending Test Data From File To Port And IP

Apr 23, 2009

I'm working on testing some software, and I have a question. We have several files of binary data that we need to push through our application to test. It communicates via simple TCP sockets. Is there a way I can send this data to the socket from the command line? I tried doing something like this, but telnet never picked up the data.

View 5 Replies View Related

Software :: Run Test.jsp File In Comand Line Interface?

Jul 4, 2011

using tomcat6 server os is fedora9 i need to run test.jsp file every 20 minits i assigned the cron job */20 * * * * wget http://<my host>/containfolder/recurring.jsp but, its take long time so i need to run test.jsp file in linux command prompt, Is it possible to run JSP in linux command prompt?. If there is yes mean, plz tell how we can do that.

View 3 Replies View Related

Fedora :: Update Test Transaction Error - Conflicts With File

Mar 16, 2010

I think I had this problem before but I don't remember what was done to correct it. I just tried to do an update and got this error message.

Code:
Test Transaction Errors: file /usr/lib/gstreamer-0.10/libgstfbdevsink.so from install of gstreamer-plugins-bad-free-extras-0.10.18-1.fc12.i686 conflicts with file from package gstreamer-plugins-bad-0.10.17-2.fc12.i686
file /usr/lib/gstreamer-0.10/libgstoss4audio.so from install of gstreamer-plugins-bad-free-extras-0.10.18-1.fc12.i686 conflicts with file from package gstreamer-plugins-bad-0.10.17-2.fc12.i686
file /usr/lib/gstreamer-0.10/libgstsdl.so from install of gstreamer-plugins-bad-free-extras-0.10.18-1.fc12.i686 conflicts with file from package gstreamer-plugins-bad-0.10.17-2.fc12.i686
file /usr/lib/gstreamer-0.10/libgstshapewipe.so from install of gstreamer-plugins-good-0.10.21-1.fc12.i686 conflicts with file from package gstreamer-plugins-bad-0.10.17-2.fc12.i686
file /usr/bin/gst-camera from install of gstreamer-plugins-bad-free-0.10.18-1.fc12.i686 conflicts with file from package gstreamer-plugins-bad-0.10.17-2.fc12.i686
file /usr/bin/gst-camera-perf from install of gstreamer-plugins-bad-f...

View 12 Replies View Related

General :: Replace File-test-script With File_test_script X100

Apr 13, 2011

In a directory containing hundred files called file-test-script-001 ... file-test-script-100

how do I rename each one to file_test_script_001 ... file_test_script_100 ?

View 4 Replies View Related

General :: Using TCPDump To Read Test File - Permission Denied

Oct 21, 2010

Trying to use tcpdump -r TEST, and get permission denied, even though I am logged in as root or super user. Tried using the "chmod a+rw TEST" (any other file for that matters, yes it came from another source) and get permission denied.

View 4 Replies View Related

Ubuntu Installation :: How To Test The Wubi 10.04

Mar 26, 2010

If you still have windows on some of your machines and a bit of free drive space, your help testing Wubi for the 10.04 Lucid release would be most welcome.Please use the latest Wubi version available on [URL] There is no need to burn or use a CD, Wubi will automatically download and use the latest daily ISO.If you have any issue, follow this procedure:

Uninstall and try with a clean installation using the latest revision from the above link
If that does not help, when you reboot into Ubuntu the first time, you can press ESC for more installation boot options, sometimes those fix the issue. Check [URL] if there is already an open bug, in case feel free to add a comment in there If none of the above helps, feel free to ask on this thread (I am subscribed). If you think you stumbled upon a new bug, an even better place for reporting your issue is [URL] More points if you attach the wubi.log file which is located in your user temp directory.

View 9 Replies View Related

Software :: When Attempting To Test The Configuration File By Using X Showing Dotted Black?

May 13, 2009

I recently installed Gentoo on my desktop & have been attempting to get Xorg working properly.

I ran the "Xorg -configure" tool, but when attempting to test the configuration file by using X (X -config /root/xorg.conf.new), X starts properly & I see the dotted black / white screen & X cursor.

The issue is that I have no keyboard or mouse input (I tried this with 2 separate keyboards, one USB & one PS2. My PS/2 keyboard LED's actually turned off when testing X).

Basically, I need to restart my system whenever I attempt to test my Xorg.conf.

I checked the file (don't currently have it accessible, as I'm at work), and found nothing wrong with the configuration.

View 2 Replies View Related

Networking :: Bash Test Script Which Reads Lines From A File, Builds ISO Messages?

Mar 11, 2010

Here the description of the issue I am having.I am writing a bash test script which reads lines from a file, builds ISO messages, sends them to a server, reads the response with response code and reports the result of the test to a file or on the screen.The message that I need to send is 94 characters long.Here's the portion of a code that I initially wrote:

#~ Open socket.
exec 3<>/dev/tcp/172.26.0.25/9991
#~ Send msg.

[code]...

View 4 Replies View Related

Ubuntu Installation :: Test Some Software On A Windows XP Machine?

Feb 19, 2010

i have the mandatory 50 posts about how 'windoze' is terrible and ubuntu is much better blah blah etc. I need to test some software on a windows XP machine. I have an Ubuntu laptop. When I try to run my XP disc it tries to get going, but inevitably gets to a blue screen of death (ahh, I missed windows).

Ideally I want a dual boot machine- A massive XP partition with a cute little Ubuntu partition on the side. Failing that, I need XP installed on this laptop. Possibly relevant specs are as follows:

***ASUS M51V***
OS: Ubuntu 9.04
CPU: Duo P8400
HDD: 250GB
RAM: 2GB

View 7 Replies View Related

Ubuntu Installation :: How To Test That Infrared Device Detected

Apr 4, 2010

I am new to linux having just abandoned Windows due to stability issues. I have a Hauppage remote with a usb ir receiver. This worked fine under windows using the drivers for the windows media center remote. I can't however get this to work under Linux. What I am really looking for is a method, perhaps using a command line in the terminal window to be able to test and see if the OS has actually detected the device. I have tried irw, but there is no response. If I know that the device is connected, then I can start looking at issues of identifying the correct drivers for the device.

View 6 Replies View Related

Ubuntu Installation :: Possible To Test Upgrade In Virtual Machine?

Apr 30, 2010

I'd like to upgrade to 10.04 from Karmic but want to make sure it will leave me with a working system afterwards.
I figured a good way to test it is to create a disk image with dd and then try upgrading in VirtualBox using that image. The idea is that if it is successful, it'll probably be successful on the real machine too.

The only problem is my home partition, which is >1.4 TB. I don't have that much space left on any other hard disks. So I would like to somehow exclude certain directories in /home (or the entire partition) from appearing in the image.

Is this even possible? Or does anyone have any better ideas?

View 4 Replies View Related

Ubuntu Installation :: Test The NVidia Driver Using A Live CD?

Sep 2, 2010

I have a PC with Windows XP installed and want to try out how Ubuntu (or Linux Mint) performs when using the nVidia driver.

Unfortunately, after installing the video driver, the live CD, asks me to reboot, so losing all my changes. Is there a way of using the nVidia driver with a live CD?

View 3 Replies View Related

Fedora :: Cannot Test Proxies, Or Remote File Availability Without Both HTTP::Request:ommon And LWP::UserAgent

Mar 30, 2010

I am trying to istall litb for P2020DS. I got an error the following error:

[hwtesting@HWLSRV1 ~]$ cd /home/hwtesting/ltib-p2020ds-20091119
[hwtesting@HWLSRV1 ltib-p2020ds-20091119]$ ./ltib
Don't have HTTP::Request:ommon
Don't have LWP::UserAgent
Cannot test proxies, or remote file availability without both
HTTP::Request:ommon and LWP::UserAgent

add folowwing line to User Privilage section:

hwtesting ALL = NOPASSWD: /bin/rpm, /opt/freescale/ltib/usr/bin/rpmvisudo

I edit the sudoers by visudo command and insert this line just under the following line:

root ALL = (ALL) All

But still I am getting the following:

Don't have HTTP::Request:ommon
Don't have LWP::UserAgent
Cannot test proxies, or remote file availability without both
HTTP::Request:ommon and LWP::UserAgent

View 4 Replies View Related

Fedora Installation :: Multimedia Test Button - No Sound On F12

Dec 10, 2009

Headphone plugged in the front and the mixer master channel is set to "headphone". System Settings -> Multimedia is set untouched. And the installation configured (in order):

- HDA Intel (VT1708B Analog)
- PulsAudio Sound Server
- Default

Opening System Settings -> Notifications and playing a sound works fine.
Opening System Settings -> Multimedia and hitting the test button: no sound.
Junk: no sound
Amarok: no sound

Why is it that the notifications work (without pulse) but anything else fails? How can I get it to work?

View 2 Replies View Related

Fedora Installation :: 12 Test Drive Running Live From CD?

Mar 4, 2010

The disk I obtained from a seller runs fine in live mode (no installation) on my Windows XP. I liked what I saw. However, when trying to run cd live on my Linux PC it won't run. Linux pc currently has Kubundu 9.1 installed. Previous to that I had Mint 8 installed, but again Fedora 12 cd would not run. After getting an initial Fedora startup screen, I next receive a bunch of text, ending with a text screen of about 30 lines with "OK" in green to right of each line. At bottom is blinking cursor. That ends my machine's live running of cd.

Obviously, if I can not get cd to run live on linux pc, I'm not going to be able to install. (I should add that ubuntu, kubuntu, mint 8 and pclinuxos all ran successfully live on machine and three of them were installed successfully.) Perhaps, Fedora is at war with Ubuntu et al.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved