I get an error occurred while extracting tar.gz files
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I finally got drupal extracted into /var/www/ thanks to your intructions and I go to http://localhost/drupal-5.2/install.php?profile=default I get Drupal database setup
The following error must be resolved before you can continue the installation process:
The Drupal installer requires write permissions to ./sites/default/settings.php during the installation process. So I got to the drupal folder, sites, default, properties and permissions in settings PHP and I get you are not the owner, so you cant change these permissions. So it seems I am back to square one. Maybe this is another question I should be asking Linux questions but there must be a way of getting these permissions.
ps i did not see page 2 untill I sent this message
you had given link to the page "local host" -- which means link to own system. soo that link can't open by anybody other than you. !!
Quote:
Originally Posted by ex-para
I get Drupal database setup
The following error must be resolved before you can continue the installation process:
The Drupal installer requires write permissions to ./sites/default/settings.php during the installation process.
The whole folder /var/www/drupal* was owned by root. so you are getting that error.
So follow this.
Code:
$sudo gnome-terminal
asks password, a new terminal will be opened
now open that that terminal
Code:
#cd /var/www
chmod 777 drupal* -R
now every one has the privileges to modify that folder, so you don't get that problem again.
you had given link to the page "local host" -- which means link to own system. soo that link can't open by anybody other than you. !!
The whole folder /var/www/drupal* was owned by root. so you are getting that error.
So follow this.
Code:
$sudo gnome-terminal
asks password, a new terminal will be opened
now open that that terminal
Code:
#cd /var/www
chmod 777 drupal* -R
now every one has the privileges to modify that folder, so you don't get that problem again.
I must thank you again as that worked great but I am now back to drupal configuration with this message
We were able to connect to the MySQL database server (which means your username and password are valid) but not able to select your database. MySQL reports the following message: Access denied for user ''@'localhost' to database 'connect'.
Are you sure you have the correct database name?
Are you sure the database exists?
Are you sure the username has permission to access the database?
But it will not work with the password I gave it (bero), but if no password is entered it seems OK. Same as when I go into phpmyadmin it will not work with the password I gave it (root) but it will work with no password. Connect was the word I gave for the user. So is there some way I can get around the username.
Sorry to be such a problem but I do seem to be getting close to the end.
I could not get root to work but database did why I do not know.
acme@acme-laptop:~$ mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
acme@acme-laptop:~$ mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
acme@acme-laptop:~$ mysql -u database -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 25
Server version: 5.0.51a-3ubuntu5.4 (Ubuntu)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
I will try to get some results from the commands below
> create database <databasename>;
> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPO TABLES RARY, LOCK TABLES ON <databasename>.* TO '<username>'@'localhost' IDENTIFIED BY '<password>';
> flush privileges;
Last edited by ex-para; 12-07-2009 at 12:03 PM.
Reason: Mistakes
I was OK on the last instructions using password bero that I had entered during the install
acme@acme-laptop:~$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.0.51a-3ubuntu5.4 (Ubuntu)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
but as far as the rest of it goes I got no place.
For example ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<databasename>' at line 1
I think drupal not easy so again I am hopping you may have some suggestions.
Thanks but it will not work, I have thanked you for all the information you have sent me. I have tried other server installs in the past but every time it come to the Drupal config I get no further. I have tried other installs but again the problems start with getting then correct IP and server names so for almost a year of off and on trying to have a server I still don't have one. I have done virtualbox with XP as guest in ubuntu with the USB working and a lot of other things but no server can I get. Could you suggest a simple server set-up if there is such a thing.
but as far as the rest of it goes I got no place.
For example ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<databasename>' at line 1
Hi,
post the statement which you got error. Only by seeing into error code it is difficult to identify the solution.
I am sorry to say I got so fed up with it I deleted the whole hardrive with Gpart and then re-installed
Ubuntu Hardy and decided to give Nginx server ago. It is very easy up to the welcome screen, what follows is not so easy as it is the configuration part. Would you no anything about Nginx, I know what I need but not sure where to put it or maybe you have had enough of me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.