
27th August 2007, 13:37
|
|
Junior Member
|
|
Join Date: Apr 2006
Posts: 22
Thanks: 4
Thanked 0 Times in 0 Posts
|
|
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
|

27th August 2007, 23:19
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,071
Thanks: 697
Thanked 4,249 Times in 3,261 Posts
|
|
1) Did you change anything in the ISPConfig php.ini file?
2) Post the ouput of:
ls -la cat /home/admispconfig/ispconfig/adminmail.txt
|

28th August 2007, 00:12
|
|
Junior Member
|
|
Join Date: Apr 2006
Posts: 22
Thanks: 4
Thanked 0 Times in 0 Posts
|
|
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
|

28th August 2007, 10:45
|
|
Senior Member
|
|
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
FYI
I dont get a login error however I dont have that adminmail.txt file
Thanks
Martin
|

28th August 2007, 16:21
|
|
Senior Member
|
|
Join Date: Dec 2006
Posts: 184
Thanks: 16
Thanked 9 Times in 9 Posts
|
|
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
|

28th August 2007, 19:06
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,600 Times in 2,449 Posts
|
|
What are the outputs of
Code:
ls -la /home/admispconfig/ispconfig/adminmail.txt
and ?
|

29th August 2007, 01:50
|
|
Junior Member
|
|
Join Date: Apr 2006
Posts: 22
Thanks: 4
Thanked 0 Times in 0 Posts
|
|
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
|

29th August 2007, 18:26
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,600 Times in 2,449 Posts
|
|
Looks good. What's the output of
Code:
ls -la /home/admispconfig
?
|

29th August 2007, 19:43
|
|
Junior Member
|
|
Join Date: Apr 2006
Posts: 22
Thanks: 4
Thanked 0 Times in 0 Posts
|
|
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.
|

30th August 2007, 21:42
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,600 Times in 2,449 Posts
|
|
Looks fine as well.
Just a shot in the dark: maybe your hard drive is full? What's the output of ?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 00:49.
|
Recent comments
8 hours 23 min ago
9 hours 23 min ago
13 hours 10 min ago
14 hours 24 min ago
18 hours 54 sec ago
1 day 1 hour ago
1 day 10 hours ago
1 day 11 hours ago
2 days 2 hours ago
2 days 5 hours ago