Ubuntu Servers :: How To Change Mysql Data Directory Location In Lampp

Aug 23, 2011

I use dual boot with windos 7. i use xampp in win7. want to use lampp for ubuntu 10.04. i want to use one local server directoy for both . i successfuly changed htdocs location in lampp. but could not change mysql data directory location.

View 4 Replies


ADVERTISEMENT

Ubuntu :: Lampp Mysql Won't Start?

Aug 4, 2010

I had xampp going, but it got messed up and mysql wouldn't start. I thought reinstalling wou;d fix it, but it didn't.

when i do:

Code:
sudo /opt/lampp/lampp start
i get:
Code:
Starting XAMPP for Linux 1.7.3a...

[Code]....

View 3 Replies View Related

Ubuntu :: Change Data On Location? System Time Always Wrong On Re-boot

Mar 30, 2011

when I installed Ubuntu 9.10 I put in one time setting but it was wrong, and now I don't know where to change it. I tried to change the time preferences, but on reboot I am back to the wrong time.

I know the data is in there somewhere and I can change if I knew where it was.

View 3 Replies View Related

Ubuntu :: Cannot Move Mysql Data Directory

Nov 6, 2010

Ubuntu 10.04. I've tried every method I can find and none work. Here's what I know...

1. My /etc/my.cnf is ignored. I can even delete it and phpmyadmin continues to work as it did before.

2. If I move /var/lib/mysql and replace it with a new directory (chowned to mysql:mysql so it looks like it's got the same ownership & permissions as the original) I get a write permission problem, e.g.

Quote:

What I ultimately want to do is used existing database files on a FAT32 partition but I can't even get to first base.

View 2 Replies View Related

Ubuntu Installation :: Mysql Won't Start After Running Lampp/security

Jan 11, 2010

I have ubuntu 9.10, and installed the latest lampp with default options. Apache/Mysql/Proftpd would start and stop fine. I then did:

...which I got from here...[url] Although I'm pretty sure I was never prompted for the mySQL password. At any rate, now mySQL will not start (Apache and ProFTP are OK). Where can I start debugging this? Where is the conf file for mySQL?

View 1 Replies View Related

General :: Change My Home Directory Location To Something Else?

Aug 5, 2010

I have noticed that on a Mac which is Unix based too there is a different home directory which is NOT /home/user/ but /Users/user. How can I change my home directory in linux to something else? Even as an experiment? Is it possible? and how?

I'm using Ubuntu 10.04 GNOME

View 6 Replies View Related

General :: Execute Scp To Copy Mysql Data Directory?

Aug 31, 2010

We have a test server in which we have not taken backup. Contents under /etc is entirely lost.

I need to execute scp to copy mysql data directory.

Also it is in remote location. Can I recover the data by scp by creating some /etc/passwd , /etc/shadow files ?

View 6 Replies View Related

Ubuntu Servers :: Samba Home Directory Sharing In Different Location?

Sep 29, 2010

I have 10.04 and have samba running.

Samba is remotely administered with webmin and aim to setup home directory sharing. I am however having some trouble getting this to work.

I was of the understanding that home directory sharing allows me to create a user in ubuntu, which samba will then pickup and offer it up as a share.

My smb.conf looks like this..

Code:
#======================= Global Settings =======================
[global]
unix extensions = no
share modes = no
security = user

[Code]....

Essentially I've found this works providing I give the samba user a password after it is automatically created using the 'Configure automatic Unix and Samba user synchronisation' option in webmin.

However if I move the location of this home folder off the main drive i.e. /home/username I get turned away at attempted login.

I've tried specifying the path in [homes] using the path = /media/discarray, but this seems to break authentication somehow.

View 2 Replies View Related

Ubuntu Servers :: ProFTPd + MySQL 421 Error - No Log Data

Aug 10, 2010

I already have my laptop as a server using a LAMP server + proftpd and the FTP->MySQL link up. I built myself a new Headless and set up the SSH and VNC on it and all that good jazz. LAMP works and everything. Proftpd+MySQL (using the proftpd-mod-mysql package from repo) doesn't seem to work on this headless box. So I used the tutorial from [URL]... Thinking "I'm using 10.04 - it's close enough". Both came up with the same error. 421 Service not available when I ftp from the localhost. Is their something I'm missing? the Laptop set up (also 10.04) works groovy fine. Also all the log files are blank.

View 2 Replies View Related

Ubuntu Servers :: Change Sendmail Www-data?

Jul 21, 2010

The sendmail was setup in default condition. While testing some php application using @mail function, it uses the sender name as "www-data@xxx.com". How to replace the "www-data"?

View 2 Replies View Related

Ubuntu :: Move Xampp's Root Directory From /opt/lampp/htdocs To /home/private/htdocs

Dec 2, 2010

i was trying to move xampp's root directory from /opt/lampp/htdocs to /home/private/htdocs (in order to use Ubuntu One) but when i restarted apache i got "permission denied" when i tried to load the index page.so i said to my self...hey..let's chmod
i entered this three commands in terminal:

Code:
sudo chmod -R 755 /home/private/htdocs
sudo chmod 755 /home/private
sudo chmod 755 /home
('private' is my username)

after a couple of seconds everything begun to disapper, shortcuts on my desktop, my wallpaper...all.i even tried to execute another command with sudo but i got a nice error message that said i don't have permissions to execute bla bla.now i can't even log into my user.

View 4 Replies View Related

Ubuntu Servers :: KVM - How To Change Storage Directory

Jan 24, 2010

I'm running Ubuntu 9.10 with Kvm. I've used a howto to configure my network. Seems to work fine, I've installed the Virtual Machine manager, when I go to create my Virtual Machine, I see the the image is automatically created in /var/lib/libvirt/images. I have a totally separate path for my images. How to I configure a different image directory

View 1 Replies View Related

Ubuntu Servers :: Cannot Rm Directory? Or Change Permissions?

May 27, 2010

i'm having issues with a folder which I cannot write to or seem to do anything else with? i figured i'd delete it and start again but i can't even do that!!

Code:
server@server:~$ sudo chown server /media/server/swap/downloads/incomplete/
chown: changing ownership of `/media/server/swap/downloads/incomplete/': Operation not permitted

[Code]....

View 5 Replies View Related

Ubuntu Servers :: Change Tomcat6 Root Directory In 9.10?

Jan 6, 2010

I have newly installed Ubuntu server 9.10 in my server machine.And it has tomcat6 in itself.My friend have built a Java software in Fedora ,and he wants to move it to the new server.But problem is the directory structure is different between two systems.He has to either change his directory setting in his software or change the default tomcat6 ROOT directory. But I have not find any configuration file can do this job(change the tomcat default ROOT directory ).

View 3 Replies View Related

Ubuntu Servers :: Error: 550 Failed To Change Directory

Feb 26, 2010

I have created a folder in my /var/www/ as /var/www/borneo and when I try to install a smf forum I get this error: 550 Failed to change directory. I have installed vsftpd for the ftp.

View 5 Replies View Related

Ubuntu Servers :: Change Some Directory Permissions - Can't Determine Exactly

Mar 13, 2010

when I try to access [URL]... I get an exception:

[code]...

I believe I need to change some directory permissions, but I can't determine exactly what.

View 1 Replies View Related

Ubuntu Servers :: Does Replacing Failed Disk On Raid5 Change Any Data On Other Disks In Raid

Jan 9, 2011

I've got a raid5 array of 4 disks with ubuntu 8.04 runing on it that is currently still working:

/dev/sda
/dev/sdb
/dev/sdc
/dev/sdd

Smartmontools for /dev/sdc tell that there are 9 sectors pending for reallocation:

Code:

197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 9
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 9
And /dev/sdd has increasing number of reallocated sectors (about 1 every couple of minutes):

Code:

5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 1735
/dev/sdc has failed a coulple of times this week (but I have always sucessfully readded it to raid5) . But the increasing number of reallocated sectores on /dev/sdd concerns me even more.

I'm affraid that during removal of /dev/sdd and adding new /devs/sdd disk, raid might fall appart. That's why I would try to do it in Ubuntu Live CD:If the raid falls appart (/dev/sdc fails) during the readding of new /dev/sdd disk, I might still remove the new /dev/sdd and return the previous one and assemble the raid with:

/dev/sda
/dev/sdb
/dev/sdd (old one that was previously removed)

Does assembling Raid in Ubuntu Live and adding new disk for /dev/sdd write anything on /dev/sda, /dev/sdb and /dev/sdc in the process of adding /dev/sdd into raid5?

View 2 Replies View Related

Ubuntu Servers :: LAMP Installed > Need To Change Website Directory?

Jun 13, 2010

I just installed LAMP on ubuntu 10.04using this method:ow i want to change the directory where my websites are; default is "/var/www" right. I have a partition using NTSF file system where i have a folder with all my websites. Can i configure LAMP to use this folder?

View 9 Replies View Related

Ubuntu Servers :: Apache - Change The Permissions For A Directory And All Files Inside

Dec 12, 2010

I would like to change the permissions for a directory and all files inside the directory how do I do this? The website is located only on my local network so I am not worried about security. Also what would be the optimal permissions for running wordpress.

View 1 Replies View Related

General :: Location Of MySQL Log Files On Ubuntu

May 11, 2011

I would like to delete the MySQL ib_logfile but do not know where the files are located on my machine. I am running the latest version of Ubuntu.

View 1 Replies View Related

Ubuntu :: Recovering Data - This Directory Has Been Unmounted To Protect Your Data

Jun 3, 2010

Ubuntu 9.10 64bit. Acer Laptop

Using ubuntu 9.10 cd to access laptops hard drive.

foun readme file in /media/disk/mark

opened with openoffice. THIS DIRECTORY HAS BEEN UNMOUNTED TO PROTECT YOUR DATA.

From the graphical desktop, click on: "Access Your Private Data"

or

From the command line, run: $ ecryptfs-mount-private

So I tried a couple of ways...

View 9 Replies View Related

Slackware :: Move MySql Datafile To Different Location?

Aug 27, 2010

I want to move the location of MySql data file by setting datadir variable but I cannot find the variable in my.cnf file.

Should I set the variable in my.cnf, or is there any other configuration file beside this one?

View 2 Replies View Related

Ubuntu Servers :: Mysql Error Stopping MySQL Database Server Mysqld?

Jun 17, 2010

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.

View 1 Replies View Related

Ubuntu Servers :: Mysql ERROR 1045 \ Trying To Allow Remote Access To Mysql?

Jan 14, 2011

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]....

View 4 Replies View Related

General :: Testing Home Directory Scripts By Setting $HOME To The Location Of The Test Directory

Apr 20, 2010

I have an interdependent collection of scripts in my ~/bin directory as well as a developed ~/.vim directory and some other libraries and such in other subdirectories. I've been versioning all of this using git, and have realized that it would be potentially very easy and useful to do development and testing of new and existing scripts, vim plugins, etc. using a cloned repo, and then pull the working code into my actual home directory with a merge.

The easiest way to do this would seem to be to just change & export $HOME, eg

cd ~/testing; git clone ~ home
export HOME=~/testing/home
cd ~
screen -S testing-home
# start vim, write/revise plugins, edit scripts, etc.
# test revisions

However since I've never tried this before I'm concerned that some programs, environment variables, etc., may end up using my actual home directory instead of the exported one. Is this a viable strategy? Are there just a few outliers that I should be careful about?

View 1 Replies View Related

Programming :: Data Directory In Automake - Data Is Always Read-only ?

May 9, 2010

I have some data files that should be distributed with my program. Using dist_pkgdata_DATA in Makefile.am, I get these files installed to /usr/local/data/share/package-name. The problem is that data is read-only, and my program needs to modify it. Playing with dist_sharedstate_DATA, dist_localstate_DATA, dist-data_DATA varibles, I got different installation directories, like /usr/local/com, usr/local/var, but data is always read-only.

How can I distribute modifiable data files with my package? I need some common directory for all users, or maybe local data in a user directory.

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

General :: Fast Copying Data From One Location To Other?

Apr 6, 2010

Is there any windows equivalent tools (like tera copy, Fast copy in windows) for linux for fast copying data from one location to other?

View 1 Replies View Related

Software :: Using Shotwell To Add Location Data To Images?

May 15, 2011

I am starting to use Shotwell for my photo management in lieu of DigiKam. One tool that I liked in DigiKam which does not seem to be present in Shotwell is the ability to add/edit geolocation data. Is there anyway of working with geolocation data from within Shotwell?

View 4 Replies View Related

Software :: Writing Data Into A Memory Location?

Feb 1, 2010

I am using ARM9(S3C2440) board in which linux kernel 2.6.30.4 is ported and i need to write some 8-bit data(say 0xAA) into the memory location 0x08000000 and i need to trace the data written into the location is correct or not how to do this in linux.

View 3 Replies View Related







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