DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th April 2009
Nk2Network Nk2Network is offline
Port Guard
 
Join Date: Jan 2009
Posts: 43
Default problem phpmyadmin

Hello,

When I installed my openbsd, I have my machine name as the name foo and bar.com domain. When I install phpmyadmin I realized in tapen url to go to phpmyadmin it redirects me http://foo.bar.com/phpMyAdmin/

I thought my problem was due to my hosts file, I noticed that in my hosts file that I had the name foo and bar.com. I delete the two lines I always have the same problem
Reply With Quote
  #2   (View Single Post)  
Old 16th April 2009
Nk2Network Nk2Network is offline
Port Guard
 
Join Date: Jan 2009
Posts: 43
Default

Hello,

I always have the same problem when I type my ip / phpMyAdmin I always redirects on url http://foo.bar.com/phpMyAdmin/ , normally I have nothing to configure in my config.inc.php file?
Reply With Quote
  #3   (View Single Post)  
Old 16th April 2009
ai-danno's Avatar
ai-danno ai-danno is offline
Spam Deminer
 
Join Date: May 2008
Location: Boca Raton, Florida
Posts: 284
Default

- what does /etc/myname report?

- the other problem is that if you installed from the package, it places the phpMyAdmin files in /var/www , NOT /var/www/htdocs, which is the default document root for Apache. You may either want to change the document root in /var/www/conf/httpd.conf or you may want to simply move the /var/www/phpMyAdmin directory to /var/www/htdocs/phpMyAdmin.
__________________
Network Firefighter
Reply With Quote
  #4   (View Single Post)  
Old 14th May 2009
Nk2Network Nk2Network is offline
Port Guard
 
Join Date: Jan 2009
Posts: 43
Default

Hello

Sorry to make go back up this topic I am facing a problem that I n'arive not solve. By looking at the apache log and error log, I noticed a mistake

Code:
[Thu May 14 16:07:54 2009] [error] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: open(/tmp//sess_ipff72d49e7re1oq9pnr37nauhtri3kg, O_RDWR) failed: Permission denied (13) in /phpMyAdmin/libraries/session.inc.php on line 87
[Thu May 14 16:07:54 2009] [error] PHP Warning:  Unknown: open(/tmp//sess_ipff72d49e7re1oq9pnr37nauhtri3kg, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Thu May 14 16:07:54 2009] [error] PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0
[Thu May 14 16:08:05 2009] [error] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: open(/tmp//sess_ist9vs841624q72gdk8iq7bl8a5d8knh, O_RDWR) failed: Permission denied (13) in /phpMyAdmin/libraries/session.inc.php on line 87
[Thu May 14 16:08:05 2009] [error] PHP Warning:  Unknown: open(/tmp//sess_ist9vs841624q72gdk8iq7bl8a5d8knh, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Thu May 14 16:08:05 2009] [error] PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0

OpenBSD Apache in a chroot, so it does not have access to tmp I tried to modify the php.ini file with the following parameter

create a directory "tmp" in /var /www


Code:
session.save_path="/var/www/tmp"

but unfortunately I see the same error
Reply With Quote
  #5   (View Single Post)  
Old 14th May 2009
indienick indienick is offline
Lisp Junkie
 
Join Date: Apr 2009
Location: London, ON, Canada
Posts: 27
Default

What happens if you try going to http://localhost/phpmyadmin ?
Reply With Quote
  #6   (View Single Post)  
Old 14th May 2009
Nk2Network Nk2Network is offline
Port Guard
 
Join Date: Jan 2009
Posts: 43
Default

I see it the same error message
Reply With Quote
  #7   (View Single Post)  
Old 14th May 2009
indienick indienick is offline
Lisp Junkie
 
Join Date: Apr 2009
Location: London, ON, Canada
Posts: 27
Default

In the Apache logs, or in the browser window?
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot problem. Geometry problem? gulanito FreeBSD Installation and Upgrading 0 3rd July 2009 03:03 AM
phpMyAdmin Unaccessable Nk2Network OpenBSD Packages and Ports 2 20th April 2009 09:13 PM
phpMyAdmin Unaccessable plexter OpenBSD Packages and Ports 3 16th December 2008 10:32 PM


All times are GMT. The time now is 09:50 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick