Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Thu May 28, 2009 6:19 pm 
Offline
Senior Member

Joined: Wed May 27, 2009 9:04 pm
Posts: 60
okay well now its saying Im forbidden... which is a guess a step ! hahah at least something is there


Top
   
 Post subject:
PostPosted: Thu May 28, 2009 6:27 pm 
Offline
Senior Member

Joined: Wed May 27, 2009 9:04 pm
Posts: 60
Edit: Actually, I'm guessing that you probably didn't let Aptitude auto configure phpmyadmin. To do it again:
Code:
dpkg-reconfigure phpmyadmin

-- and make sure Apache is selected (has a dot in the box -- use the space bar), then press tab to a few times to select the OK button, then press enter.


Im working on a mac via terminal... im not sure what you mean when u say i should be able to select things


Top
   
 Post subject:
PostPosted: Thu May 28, 2009 6:32 pm 
Offline
Senior Member

Joined: Mon Jun 16, 2008 6:33 pm
Posts: 151
Check that you have "Options FollowSymLinks" in /etc/apache2/sites-available/default, i.e. something similar to:

Code:
more /etc/apache2/sites-available/default

<Directory /var/www/>
    .
    Options Indexes FollowSymLinks MultiViews
    .
    .       
</Directory>


Top
   
 Post subject:
PostPosted: Thu May 28, 2009 6:42 pm 
Offline
Senior Member

Joined: Wed May 27, 2009 9:04 pm
Posts: 60
<VirtualHost *:80>
ServerAdmin webmaster@localhost

DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined

Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>

</VirtualHost>


Top
   
 Post subject:
PostPosted: Thu May 28, 2009 6:43 pm 
Offline
Senior Member

Joined: Wed May 27, 2009 9:04 pm
Posts: 60
Im not sure what that mean... but thats what it said


Top
   
 Post subject:
PostPosted: Thu May 28, 2009 7:35 pm 
Offline
Senior Member

Joined: Wed May 27, 2009 9:04 pm
Posts: 60
anyone have anymore suggestions ?


Top
   
 Post subject:
PostPosted: Thu May 28, 2009 7:41 pm 
Offline
Senior Member

Joined: Mon Jun 16, 2008 6:33 pm
Posts: 151
Troubleshooting permissions can be a slow process over forums. ;)

When you run the following, are you asked any questions ?
Code:
dpkg-reconfigure -plow phpmyadmin


Top
   
 Post subject:
PostPosted: Thu May 28, 2009 7:47 pm 
Offline
Senior Member

Joined: Wed May 27, 2009 9:04 pm
Posts: 60
this is what confuses me


Package `phpmyadmin' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: phpmyadmin is not installed


its saying phpmyadmin is not installed... When I log on to my server with an ftp I only see 2 folders 1) .aptitude 2).debtags
should I be downloading and uploading things to my server to get mysql to work?


Top
   
 Post subject:
PostPosted: Thu May 28, 2009 7:54 pm 
Offline
Senior Member

Joined: Mon Jun 16, 2008 6:33 pm
Posts: 151
christina wrote:
this is what confuses me


Package `phpmyadmin' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: phpmyadmin is not installed


its saying phpmyadmin is not installed... When I log on to my server with an ftp I only see 2 folders 1) .aptitude 2).debtags
should I be downloading and uploading things to my server to get mysql to work?


Mysql is installed, see above. Packages aren't normally installed into your home directory, so don't worry about the lack of folders present (maybe grab a good book on *nix when you have time :))

Did you run through hybinet's suggestions, above ? (If so, you should have had phpymadmin installed). Anyway, for whatever reason it's not present, so go ahead and install it:
Code:
apt-get update && apt-get install phpmyadmin


Top
   
 Post subject:
PostPosted: Thu May 28, 2009 8:02 pm 
Offline
Senior Member

Joined: Wed May 27, 2009 9:04 pm
Posts: 60
hey this is what comes back

Hit http://security.ubuntu.com jaunty-security Release.gpg
Hit http://us.archive.ubuntu.com jaunty Release.gpg
Hit http://security.ubuntu.com jaunty-security Release
Hit http://us.archive.ubuntu.com jaunty Release
Hit http://security.ubuntu.com jaunty-security/main Packages
Hit http://us.archive.ubuntu.com jaunty/main Packages
Hit http://security.ubuntu.com jaunty-security/restricted Packages
Hit http://security.ubuntu.com jaunty-security/main Sources
Hit http://us.archive.ubuntu.com jaunty/restricted Packages
Hit http://us.archive.ubuntu.com jaunty/main Sources
Hit http://security.ubuntu.com jaunty-security/restricted Sources
Hit http://us.archive.ubuntu.com jaunty/restricted Sources
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package phpmyadmin
root@li65-162:~#


I am def going to read up on this stuff but my problem now is I have a server that just shit down at 5pm. I need to put the site back up asap... thats why i was posting and trying to figure it out. I want to figure it out but is anyone interested in spending some time on this with me or alone and I will be more then happy to compensate you...


Top
   
 Post subject:
PostPosted: Thu May 28, 2009 8:10 pm 
Offline
Senior Member

Joined: Mon Jun 16, 2008 6:33 pm
Posts: 151
We should be nearly there. :)

You need to enable the Universe repository for ubuntu:
Code:
nano /etc/apt/sources.list

Use the down arrow to scroll to the bottom, and find the line that looks something like:

Code:
deb http://us.archive.ubuntu.com/ubuntu/ jaunty main


Add the word "universe" to the end, so that it becomes:

Code:
deb http://us.archive.ubuntu.com/ubuntu/ jaunty main universe

1. Press CTRL-o (the letter o) and enter, to write the file.
2. Press CTRL-x to exit.
3. Now re-run the apt-get update && apt-get install phpmyadmin command from above.


Top
   
 Post subject:
PostPosted: Thu May 28, 2009 8:16 pm 
Offline
Senior Member

Joined: Wed May 27, 2009 9:04 pm
Posts: 60
i cant thank you enough for still hanging in there to help me out...
when you code I take that and the paste it in terminal... is that correct? I just get alittle confused when u say scroll down and change stuff bc i have very few options with terminal...

also when i put in the first line of code it says this

root@li65-162:~# nano/etc/apt/sources.list
-bash: nano/etc/apt/sources.list: No such file or directory


Top
   
 Post subject:
PostPosted: Thu May 28, 2009 8:21 pm 
Offline
Senior Member

Joined: Mon Jun 16, 2008 6:33 pm
Posts: 151
No worries.

christina wrote:
nano/etc/apt/sources.list
-bash: nano/etc/apt/sources.list: No such file or directory
You need a space between "nano" and /etc/apt/sources.list. To paraphrase, "using the editor called "nano", open the file called /etc/apt/sources.list". Without the space, it's just one long, non-existant command.

Within the terminal, you should be able to scroll up and down within the file (when editing with nano) using the arrow keys on your macbook.


Top
   
 Post subject:
PostPosted: Thu May 28, 2009 8:36 pm 
Offline
Senior Member

Joined: Wed May 27, 2009 9:04 pm
Posts: 60
hey i dont see deb http://us.archive.ubuntu.com/ubuntu/ jaunty main and i even do a search for it and it says its not there.... there is nothing there .Image[/url]


Top
   
 Post subject:
PostPosted: Thu May 28, 2009 8:43 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Get rid of the dot at the end of sources.list. and rerun the command.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group