HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   E212: Can't open file for writing Press ENTER or type command to continue ?!!!! (http://www.howtoforge.com/forums/showthread.php?t=53718)

liebre 9th August 2011 11:35

E212: Can't open file for writing Press ENTER or type command to continue ?!!!!
 
E325: ATTENTION
Found a swap file by the name "/var/tmp/config.inc.php.swp"
owned by: root dated: Tue Aug 9 01:21:18 2011
file name: /usr/share/phpmyadmin/config.inc.php
modified: YES
user name: root host name: CentOS-60-32-minimal
process ID: 2157
While opening file "/usr/share/phpmyadmin/config.inc.php"

(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.

(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r /usr/share/phpmyadmin/config.in
c.php"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file "/var/tmp/config.inc.php.swp"
to avoid this message.
"/usr/share/phpmyadmin/config.inc.php" [New DIRECTORY]
Press ENTER or type command to continue

and after i click enter and try to add

[...]
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'http';
[...]

and save it

i get this !!!!

"/usr/share/phpmyadmin/config.inc.php"
"/usr/share/phpmyadmin/config.inc.php" E212: Can't open file for writing
Press ENTER or type command to continue

p.s I am was trying to do this lesson :

http://www.howtoforge.com/installing...os-6.0-lamp-p2

so :(

falko 10th August 2011 10:55

Delete /var/tmp/config.inc.php.swp...
Code:

rm -f /var/tmp/config.inc.php.swp
... and try again.


All times are GMT +2. The time now is 01:15.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.