LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-05-2009, 10:43 PM   #16
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
Cool


Quote:
Originally Posted by ex-para View Post
I have just started to figure out what file-roller is and where it is, of course it was staring me in the face but I could not see it.
If you are unable to see, At least open "nautilus"

nautilus is filemanger for ubuntu.

Code:
$sudo nautilus
It will open "root deskop"

go to your desktop -> select the file drupal 5.2.tar.gz.

just double click ...

now extract where ever you want !!!
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 12-06-2009, 12:35 PM   #17
ex-para
Member
 
Registered: Sep 2008
Location: North East England
Posts: 120

Original Poster
Rep: Reputation: 15
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
 
Old 12-06-2009, 03:53 PM   #18
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
Quote:
Originally Posted by ex-para View Post
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
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 View Post
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.
 
1 members found this post helpful.
Old 12-07-2009, 05:44 AM   #19
ex-para
Member
 
Registered: Sep 2008
Location: North East England
Posts: 120

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by raju.mopidevi View Post
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.
 
Old 12-07-2009, 09:02 AM   #20
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
Quote:
Originally Posted by ex-para View Post
MySQL reports the following message: Access denied for user ''@'localhost' to database 'connect'.
Try this command.
Code:
mysql -u root -p

Gud luck ..
 
1 members found this post helpful.
Old 12-07-2009, 12:00 PM   #21
ex-para
Member
 
Registered: Sep 2008
Location: North East England
Posts: 120

Original Poster
Rep: Reputation: 15
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
 
Old 12-08-2009, 03:25 PM   #22
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
this command should be executed in mysql prompt

Code:
mysql>mysql -u root -p
 
1 members found this post helpful.
Old 12-09-2009, 09:55 AM   #23
ex-para
Member
 
Registered: Sep 2008
Location: North East England
Posts: 120

Original Poster
Rep: Reputation: 15
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.
 
Old 12-10-2009, 06:32 PM   #24
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
I had reffered many MySQL sites, many people got this error.

one solution is
Code:
$ /usr/local/mysql/bin/mysql -u root -p
Enter password: ********
 
2 members found this post helpful.
Old 12-11-2009, 11:58 AM   #25
ex-para
Member
 
Registered: Sep 2008
Location: North East England
Posts: 120

Original Poster
Rep: Reputation: 15
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.
 
Old 12-13-2009, 06:21 AM   #26
ex-para
Member
 
Registered: Sep 2008
Location: North East England
Posts: 120

Original Poster
Rep: Reputation: 15
Do you know anything of nginx?
 
Old 12-13-2009, 07:42 AM   #27
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
Quote:
Originally Posted by ex-para View Post
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
Hi,
post the statement which you got error. Only by seeing into error code it is difficult to identify the solution.
 
1 members found this post helpful.
Old 12-15-2009, 12:03 PM   #28
ex-para
Member
 
Registered: Sep 2008
Location: North East England
Posts: 120

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 11:02 AM
Recovery from tar backup error occurred "error exist delayed from previous errr" rakesh_sni Linux - Software 2 08-29-2009 06:56 AM
Extracting particular files on a tar from a tape Berris.Oliver Linux - Newbie 2 04-16-2009 03:04 AM
extracting tar.gzip files drmjh Linux - Newbie 6 08-15-2007 02:30 AM
extracting tar.bz2.gz files crank Linux - Newbie 5 04-18-2004 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration