Ubuntu Servers :: PhpMyAdmin Cannot Start Session Without Errors?
Feb 16, 2010
I get an error message that says phpMyAdmin - Error, Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
So I did some googling and found a post here {URL]... which speaks about resetting the ownership of the session directory. However I am wondering how I can find out what the owner if the directory is (if its root or admin or ...)
It's strange because it all worked fine just about two hours ago and I am not sure since I have the server automatically download security updates if there is something it automatically downloaded that caused this. Also how to make the server stop automatically downloading security updated?
I have download the below tar.gz then extract it , and then put it to DocumentRoot to run the index.php, but unable to use it. What program that I need to install before running it? phpMyAdmin-3.3.0-english
This is the error I get when removing gnome-session: alex@alex:~$ sudo apt-get remove gnome-session Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies. ubuntu-desktop : Depends: gnome-session but it is not going to be installed Recommends: banshee-extension-ubuntuonemusicstore but it is not going to be installed Recommends: gnome-accessibility-themes but it is not going to be installed Recommends: ubuntuone-client-gnome but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
And this is what happens when I do apt-get -f install: alex@alex:~$ sudo apt-get -f install [sudo] password for alex: Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done
The following package was automatically installed and is no longer required: xulrunner-2.0-mozjs Use 'apt-get autoremove' to remove them.
The following extra packages will be installed: gnome-session Suggested packages: desktop-base
The following packages will be upgraded: gnome-session 1 upgraded, 0 newly installed, 0 to remove and 21 not upgraded. Need to get 0 B/11.8 kB of archives. After this operation, 8,192 B of additional disk space will be used. Do you want to continue [Y/n]? y (Reading database ... 250821 files and directories currently installed.) Preparing to replace gnome-session 3.0.1-0ubuntu1~build2 (using .../gnome-session_3.0.2-0ubuntu3~natty1_all.deb) ... Unpacking replacement gnome-session ... dpkg: error processing /var/cache/apt/archives/gnome-session_3.0.2-0ubuntu3~natty1_all.deb (--unpack): trying to overwrite '/usr/share/xsessions/gnome-shell.desktop', which is also in package gnome-shell 3.0.1-0ubuntu1~build1 Errors were encountered while processing: /var/cache/apt/archives/gnome-session_3.0.2-0ubuntu3~natty1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
I had the brilliant idea to make my own web server since i had a silicon mechanics 1u server collecting dust. Ive got apache running. Phpmyadmin is installed but i cant get into the admin panel. When it asks for the user name and password no matter what i use it wont let me log in.
I am currently in a project to set up an LTSP server with 10 thin clients. I am using Ubuntu 9.10 (Karmic).
Installing server and booting clients are working fine. Now, according to the need, I have to restrict user session numbers and allow resuming previous user session.
I have achieved to do the first one, but still could not able to setup the second one. As per requirement, if some thin can have power failure, the same session should be restored back. I am confused here, if I need to focus on saving xsessions or saving gnome sessions. I am looking for a concrete solution as I am running out of time.
Have basic LAMP setup on 9.10 box. I want to have a publicly accessible website AND I want to have phpmyadmin available. The only thing is I would rather not have the phpmyadmin interface available on the internet. I usually open a ssh port forwarded tunnel when I need to use phpmyadmin on this server. I want to add a directive to make phpmyadmin bind only on localhost. I have found the phpmyadmin config file in /etc/apache2/conf.d
phpmyadmin.conf -> ../../phpmyadmin/apache.conf
I have tried adding some LISTEN directives, but apache does not like my directives-- I am obviously not doing it right. I have looked for a bit on the internet and can't find out how to disable external access to a configured site in Apache.
I am trying to install mcrypt for use in phpMyAdmin but am having some trouble. I apt-get'd the mcrypt-php5 package and it installed, but it seems to only function on the Apache Module version of php5 and not the CGI version. Both versions show the mcrypt extension installed in phpinfo, but in phpMyAdmin only one of them removes the error about mcrypt. Other extensions (such as cURL) which I installed with apt-get have worked, so I'm not sure why this one does not.
EDIT: I also compared the CGI php.ini and the apache2 php.ini and there were no differences there. I also confirmed that the php.ini file for the CGI version is loading from that location.
My situation I recently installed Ubuntu 10.04 LTS Server on a virtual machine. I installed apache2, php and mysql-server. Several vhosts I sat up are running fine and I can also connect to the MySQL server using the mysql command-line client. I now want to setup PhpMyAdmin to allow the vhosts owners to administrate their DBs. I installed the package using:
Code: apt-get install phpmyadmin I answered the questions and accepted the creation of the phpmyadmin database. The install finished successfully. I did a small modification to the main website vhost to access it easily: Code: Alias /phpmyadmin /usr/share/phpmyadmin
I am able to access phpmyadmin via my web browser using either my local ip followed by /phpmyadmin and by using the same layout with localhost. If i use my DNS name provided by no-ip which i bound to in apache2 i am able to get to the "It works!" page with the domain name but if i use /phpmyadmin after it, it will tell me that there is no such directory.
I'm setting up a home web server using LAMP that I want to use to access files and practice coding, but I am very new to Linux and web servers. I currently have it so I can access phpMyAdmin and the test pages locally through my internal IP, but whenever I try to access it through the external IP I get this router management console that I don't know the password or username to. I know my router login and password and it's not the same as that. I've forwarded port 80 and when that didn't work I tried changing /etc/apache2/ports.conf to 8080 and I forwarded that port on my router with no luck too.
It doesn't seem to matter if I have any ports forwarded, though, it still brings me to the same screen regardless. Also, I have set up a static IP on the server by modifying the /etc/network/interfaces file. I've attached a screenshot with the actual router management console screen. I won't have access to the server until later, but, if you require any output from the server I will be sure to post it as soon as I get home. I'm not using ubuntu for my webserver, but debian instead because ubuntu server had a whole bunch of problems with my PCMCIA network card. Ubuntu suggestions should work just fine, but I just thought I should clarify.
The original issue started when i couldnt login to phpmyadmin. I noticed an error when installing it and when trying to login, my credentials that I supplied upon install failed. After ages of messing around trying to reset I decided to try and uninstall phpmyadmin and MySQL and start again. This has produced more issues as I uninstalled MySQL first and phpmyadmin asks for credentials that are in a database, which I have already deleted. This causes major issues trying to uninstall it. Anyway, I have used all these commands:
I installed ubuntuserver edition 10.10 on my old p3.Installation went fine and i installed LAMP and SSH along with it.*everyhting i do past this point is via LAN on my laptop using root account on putty or winSCP.*I installed phpmyadmin, loged in with root, duplicated the root acount and gave the duplicate any host (%) access. Next i created an account with access only to the users database (for use in my php to check username and password).Next thing i did was change the apache2 config 000-default to disable indexing.After that i changed the php.ini file to allow 6GB uploads (for movies).Rebooted... and thats where the problems start.I CANT:Acces phpmyadmin with any acount.Login on my website.I CAN:login to mysql using root.I HAVE:Checked if the mysql database and table for websitelogin still existed, they do.Checked mysql useracounts and they are still there.So something changed after the reboot, because it was working fine before i did.
One server is a dedicated MySQL server. After upgrading that one to Ubuntu 10.04 (from an ancient Suse 9.2), both servers are running Ubuntu 10.04 LTS.I have another server that I use to administer the database server via phpMyAdmin. However since the upgrade it is not able to connect. I get an error #1130 Cannot log in to the MySQL server. The same happens if I try to connect remotely from the command line with: mysql -u root -h 129.79.137.121 -pI'm not sure if this is an iptables/ports problem or a configuration problem on the MySQL end or something else entirely.I've searched and tried the suggestions I've found in various places but none seems to have fixed it.
How do I connect to the MySQL server using phpmyadmin?It's asking me for a username and password and I was not asked for a root password when I installed MySQL (unlike in Windows).I tried no password, I tried root as a password, I tried$ mysqladmin -u root -p blahEnter password: mysqladmin: connect to server at 'localhost' failederror: 'Access denied for user 'root'@'localhost' (using password: YES)'Nothing I've tried is working obviously.Why does this have to be so stupid? Why couldn't MySQL ask me what password I want to use?
I am running Ubuntu 9.10 with Apache, phpMyAdmin and MySQL. Normally phpMyAdmin loads properly, but the other day I created a large database of 6,000+ tables and 1.3 GB of data in the entire database. Now phpMyAdmin loads and shows my different databases, but if I try to open the new large database, it just loads a white page with no content. Does anyone know if I can reconfigure my server so it will be able to show parts of the database?
I'm still getting my head around setting things up on my web server, I've configured php to run off of Fast CGI, rather than mod_php, due to better memory consumption. I've managed to get my virtual hosts configured to work with fastcgi, ensuring the following options are set:
I tried adding those settings to /etc/phpmyadmin/apache.conf, but this doesn't seem to work. Whenever I go to www.mydomain.com/phpmyadmin , I just get a 403 Forbidden Error. This used to work no problems on mod_php.
[URL].. because the alias is set so that my virtual hosts can access it through /phpmyadmin. There is probably something basic I am missing here.
i setup a localhost in my system. but am not getting access to the phpmyadmin by entering the user name and password i entered at the time of set up. the /etc/phpmyadmin/config-db.php file is shown below.
<?php ## ## database access settings in php format ## automatically generated from /etc/dbconfig-common/phpmyadmin.conf ## by /usr/sbin/dbconfig-generate-include
[code]....
when i access http://localhost/phpmyadmin/ , the login screen appears but entering the username and password as in the file gives the error #1405 cannot log into mysql server.
i have fedora 11 installed in my laptop and apache server by default. after starting httpd and mysqld services i was able to access localhost through browser.(e.g. [URL]). before installing phpMyAdmin everything goes right. after installing phpMyAdmin it created problem in localhost. now typing [URL] it opens joomla site but without images and without intending of content. when i type [URL] in browser it ask for user name and password. i already provide user name(root) and password(my_root_password) in /etc/phpMyAdmin/config.inc.php. but it doesnt open.
I encountered a problem when I am trying to access my phpmyadmin the error came up: Wrong permissions on configuration file, should not be world writable!
After update in Lucid, cant start the session. As only critical part was Nautilus (on 2.31), how to fix it? I don't have in GDM any session option and no way to approach to terminal and start any session. Only way can be somehow before GDM (Lucid by default don't have Grub) or via Live USB (but how?).
I am trying to VNC into a server to which I have no physical access (but I can ask someone to start a session or something) but can ssh into. I have gotten a VNC session working by sshing in and running vncserver, although once the VNC session died in a confusing manner.
I don't know how to start a VNC session any way but vncserver, which is odd since I'm sure that Ubuntu's Remote desktop should somehow allow me to do this by default. The server by the way is being used as a desktop by someone else. Also, how do I tell if my VNC is encrypted and if it isn't how do I make sure it is?
one month I switch the workspaces(desk1 to desk2), and open some applications, then I tried to save them. till now even I close them always, but they appear after each startup.
I'm having issues logging into my system... After authenticating via GDM, the screen goes black with only the mouse showing and remains this way indefinitely. At first the hard disk is active to a similar degree as it was when logins were successful, but then the system (apart from being able to move the mouse) is unresponsive.
If left for long enough so that the screen goes into power-saving mode, moving the mouse brings up the unlock dialogue that you normally get if you set your computer to lock itself after a period of idleness.
I suspect some sort of file corruption, as I have not changed any settings recently. I have forced checks on all of my disks in the hope it would solve this problem. I have also tested logging in on a freshly created user account I created which gives the same result. Also, starting an xterm session from GDM works fine.
How do i start an alternate X session in ubuntu...generally Ctrl + Alt + F7-F11 is reserved for alternate X sessions right. If I open a tty1 and do something like xinit -- :1 I guess I have something like an X session but it doesn't have any desktop environment like Gnome...what i want to do is if I am running a fullscreen game or something in Xsession:0 can I do something else in a new Xsession?
I have an empty X session running, and I want to run kde inside it. I can run whatever software I want in it, actually (well, I can't move the windows and so, but that is normal), but for some reason, kdm doesn't work. What I have is a X display and a xterm inside.
I'm deploying a Rails application in a Ubuntu 10.04 server withmongrel web server (a lightweight http web server). I connect to server and do stuffs in a ssh client(PuTTY on windows). And I'm getting stuck with a strange issue:1. After I connected to server, I start mongrel with : $ start-stop-daemon -S -d . -x script/server -b -- -p 80802. I left the ssh console and launch firefox from my Win7 box and openthe website, it runs well. I can see the homepage3. I go back to the ssh console. Close the terminal (and window too)it by : $ exit4. Then in firefox, I press F5 to refresh and nothing shows up. It'sjust an empty space in whole webpage. I tried to use addon to capturethe HTTP data and see that te server returns nothing , even HTTPheaders5. I connect to server again, run "ps -Af" to check and see that the process's still running. And again, leave the console, switch to firefox and refresh -> the homepage shows everything. 6. But if I exit the ssh session and refresh browser, the web server returns nothing againI thought that using start-stop-daemon command could help me runmongrel as daemon and then I can exit my session just as apache does.