Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th August 2007, 13:37
jsanglier jsanglier is offline
Junior Member
 
Join Date: Apr 2006
Posts: 22
Thanks: 4
Thanked 0 Times in 0 Posts
Default Help - Problem with logging in to Admin

Help!

I have suddenly encountered a login problem with my server. I typed in admin and my password and got:

Warning: shell_exec() [function.shell-exec]: Unable to execute 'cat /home/admispconfig/ispconfig/adminmail.txt' in /home/admispconfig/ispconfig/lib/config.inc.php on line 137

Warning: Cannot modify header information - headers already sent by (output started at /home/admispconfig/ispconfig/lib/config.inc.php:137) in /home/admispconfig/ispconfig/web/login/trylogin.php on line 55


The server seems to be working fine and I have not changed anything on it. I can bring up PhpMyAdmin fine, so the dedicated ispconfig server is working - but I can't login to the ispconfig user interface.

Help!!!


All the best


Joss
Reply With Quote
Sponsored Links
  #2  
Old 27th August 2007, 23:19
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,647
Thanks: 794
Thanked 5,003 Times in 3,912 Posts
Default

1) Did you change anything in the ISPConfig php.ini file?
2) Post the ouput of:

ls -la cat /home/admispconfig/ispconfig/adminmail.txt
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 28th August 2007, 00:12
jsanglier jsanglier is offline
Junior Member
 
Join Date: Apr 2006
Posts: 22
Thanks: 4
Thanked 0 Times in 0 Posts
Default Strange

Hi Till

No, I never muck around under the hood with ISPConfig, I don't know enough ... but I have just issued that command and:

ls: cat: No such file or directory
-rw-r--r-- 1 admispconfig admispconfig 14 2007-08-27 21:56 /home/admispconfig/ispconfig/adminmail.txt



Joss
Reply With Quote
  #4  
Old 28th August 2007, 10:45
mphayesuk mphayesuk is offline
Senior Member
 
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 3 Times in 3 Posts
Send a message via MSN to mphayesuk
Default

FYI

I dont get a login error however I dont have that adminmail.txt file

Thanks
Martin
Reply With Quote
  #5  
Old 28th August 2007, 16:21
mlz mlz is offline
Senior Member
 
Join Date: Dec 2006
Posts: 189
Thanks: 16
Thanked 9 Times in 9 Posts
Default

Quote:
Originally Posted by jsanglier
Hi Till

No, I never muck around under the hood with ISPConfig, I don't know enough ... but I have just issued that command and:

ls: cat: No such file or directory
-rw-r--r-- 1 admispconfig admispconfig 14 2007-08-27 21:56 /home/admispconfig/ispconfig/adminmail.txt



Joss
How about:

cat /home/admispconfig/ispconfig/adminmail.txt
Reply With Quote
  #6  
Old 28th August 2007, 19:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,703 Times in 2,546 Posts
Default

What are the outputs of
Code:
ls -la /home/admispconfig/ispconfig/adminmail.txt
and
Code:
which cat
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 29th August 2007, 01:50
jsanglier jsanglier is offline
Junior Member
 
Join Date: Apr 2006
Posts: 22
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Okay

ls -la /home/admispconfig/ispconfig/adminmail.txt

gives:

-rw-r--r-- 1 admispconfig admispconfig 14 2007-08-27 21:56 /home/admispconfig/ispconfig/adminmail.txt

which cat

gives

/bin/cat

and in answer to miz:

cat /home/admispconfig/ispconfig/adminmail.txt

Gives

root@localhost


Joss
Reply With Quote
  #8  
Old 29th August 2007, 18:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,703 Times in 2,546 Posts
Default

Looks good. What's the output of
Code:
ls -la /home/admispconfig
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 29th August 2007, 19:43
jsanglier jsanglier is offline
Junior Member
 
Join Date: Apr 2006
Posts: 22
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Hi Falko, here is the output:

server2:~# ls -la /home/admispconfig

total 24
drwxr-xr-x 4 admispconfig admispconfig 4096 2007-07-24 00:28 .
drwxr-xr-x 5 root root 4096 2007-07-24 00:23 ..
-rwxr-xr-x 1 admispconfig admispconfig 24 2007-08-27 21:55 .forward
drwxr-xr-x 8 admispconfig admispconfig 4096 2007-08-27 21:56 ispconfig
drwxr-xr-x 2 admispconfig admispconfig 4096 2007-08-27 01:58 mailstats
-rwxr-xr-x 1 admispconfig admispconfig 176 2007-08-27 21:55 .procmailrc

This is all so strange since everything had been working fine for ages. So I don't know why it does not work now.

Thanks for your help!

Last edited by jsanglier; 30th August 2007 at 18:02.
Reply With Quote
  #10  
Old 30th August 2007, 21:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,703 Times in 2,546 Posts
 
Default

Looks fine as well.
Just a shot in the dark: maybe your hard drive is full? What's the output of
Code:
df -h
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

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
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
problem with admin user... crypted General 2 26th July 2007 10:37
Rename folder -> create new folder equals contents of old folder BlueStream General 20 15th December 2006 03:32
Installation Problem - Lost admin password Novacom Installation/Configuration 5 29th November 2006 05:44
Details on problem /mailuser login and more (long) linutzy Installation/Configuration 11 15th February 2006 18:45


All times are GMT +2. The time now is 02:32.


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