Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th March 2007, 21:30
offtopic offtopic is offline
Junior Member
 
Join Date: Mar 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy failed to open stream: No such file or directory in ... session.inc.php on line 243

Hello everybody.

I just installed ISPconfig...

I first open my session as admin/admin... and everything looks pretty good...

But..

When I try to add a new reseller, or client or hosting plan the following message get displayed:

The following error occurred:
The requested document type does not exist.

New folder works fine...

And new site... doesn't let do anything because there's no clients available...

Another thing... when I try to use the top navigation menu ( Management ISP Manager DNS Manager Web-FTP ISP Invoice Tools Help Logout ) I get the following error:

Warning: include(/home/admispconfig/ispconfig/web//lib/module.inc.php) [function.include]: failed to open stream: No such file or directory in /home/admispconfig/ispconfig/lib/session.inc.php on line 243

Warning: include() [function.include]: Failed opening '/home/admispconfig/ispconfig/web//lib/module.inc.php' for inclusion (include_path='.:') in /home/admispconfig/ispconfig/lib/session.inc.php on line 243

And it's like the session get messed because I can't even go back afterwards.

Any Idea? Has anyone got a problem alike??

I installed version 2.2.11
Thanks in advance... if you need more info just let me know.
Reply With Quote
Sponsored Links
  #2  
Old 14th March 2007, 08:12
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,703
Thanks: 819
Thanked 5,320 Times in 4,173 Posts
Default

Please check with the command:

df -h

if you have enough space on your harddisk. Did you got any errors during installation or did you load the mysql database dump manually into the database?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 14th March 2007, 15:34
offtopic offtopic is offline
Junior Member
 
Join Date: Mar 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

df -h Output:

Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             5.0G  2.6G  2.2G  55% /
udev                  498M  2.5M  495M   1% /dev
shm                   498M     0  498M   0% /dev/shm
/dev/sda1              38M  6.8M   30M  19% /boot
/dev/sda3             9.9G  189M  9.2G   2% /home
/dev/sda6             130G  310M  124G   1% /var
I got some errors... but non related to the database... fortunately I copied them:

Code:
cp: missing destination file operand after `.orig'
Try `cp --help' for more information.

Warning: fclose(): supplied argument is not a valid stream resource in /downs/install_ispconfig/install.php on line 97

Warning: fwrite(): supplied argument is not a valid stream resource in /downs/install_ispconfig/install.php on line 1033

Warning: fwrite(): supplied argument is not a valid stream resource in /downs/install_ispconfig/install.php on line 1035

Warning: fclose(): supplied argument is not a valid stream resource in /downs/install_ispconfig/install.php on line 1036

Warning: fwrite(): supplied argument is not a valid stream resource in /downs/install_ispconfig/install.php on line 111

Warning: fclose(): supplied argument is not a valid stream resource in /downs/install_ispconfig/install.php on line 112
Connected successfully to MySQL server

Restarting some services...
which: no apachectl in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
 * Caching service dependencies ...                                                                              [ ok ]
 * Starting apache2 ...                                                                                          [ ok ]
 * Stopping postfix ...                                                                                          [ ok ]
 * Starting postfix ...                                                                                          [ ok ]
./setup2: line 1115: [: ==: unary operator expected
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd started
ISPConfig system is now up and running!
Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.
Please direct your browser to


Thanks for your reply.
Reply With Quote
  #4  
Old 14th March 2007, 16:04
crapufish crapufish is offline
Junior Member
 
Join Date: Mar 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi!

I am experiencing the same error... Here is my post: http://www.howtoforge.com/forums/showthread.php?t=11329

Unfortunately I have no idea how to solve the problem. I got no errors while installing ISPConfig.

Which linux distribution are you using?
Reply With Quote
  #5  
Old 14th March 2007, 16:19
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

If you are on Debian/Ubuntu, have you done
Code:
rm -f /bin/sh
ln -s /bin/bash /bin/sh
?
Reply With Quote
  #6  
Old 14th March 2007, 16:45
crapufish crapufish is offline
Junior Member
 
Join Date: Mar 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am running Ubuntu 6.10 Server and I did executed those commands (I followed step by step the "Perfect setup" tutorial).
It still doesn't work
Reply With Quote
  #7  
Old 14th March 2007, 17:16
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

The real error is probably before your posted output. As soon as you have an error during the install, the rest of the install complains about missing files, because it deletes the installation directory, thus you get a lot of errors. (maybe we can add an extra 'exit' command?)

what's the output of
Code:
ls -l /root/ispconfig
and
Code:
ls -l /home/admispconfig
Reply With Quote
  #8  
Old 14th March 2007, 18:12
crapufish crapufish is offline
Junior Member
 
Join Date: Mar 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here is the output you requested:

... or it wasn't a question for me... ?

Code:
~$ ls -l /root/ispconfig
total 88
-rwxr-xr-x  1 root root 34634 2007-03-14 10:49 cronolog
-rwxr-xr-x  1 root root  9673 2007-03-14 10:49 cronosplit
drwxr-xr-x 12 root root  4096 2007-03-14 10:36 httpd
drwxr-xr-x 14 root root  4096 2007-03-14 10:49 isp
drwxr-xr-x  6 root root  4096 2007-03-14 10:34 openssl
drwxr-xr-x  6 root root  4096 2007-03-14 10:44 php
drwxr-xr-x  4 root root  4096 2007-03-14 10:49 scripts
drwxr-xr-x  4 root root  4096 2007-03-14 10:49 standard_cgis
drwxr-xr-x  2 root root  4096 2007-03-14 10:49 sv
-rwx------  1 root root  9389 2007-03-14 10:49 uninstall

Code:
~$ ls -l /home/admispconfig
total 8
drwxr-xr-x 8 admispconfig admispconfig 4096 2007-03-14 10:49 ispconfig
drwxr-xr-x 2 admispconfig admispconfig 4096 2007-03-14 10:49 mailstats
Reply With Quote
  #9  
Old 14th March 2007, 21:30
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

Quote:
... or it wasn't a question for me... ?
I was referring to the post of offtopic, but ....
I think your problem was solved by a reinstall?
Reply With Quote
  #10  
Old 14th March 2007, 21:35
crapufish crapufish is offline
Junior Member
 
Join Date: Mar 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

nope, it wasn't....
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
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
help on /etc/rc0.d/K20dnsctl -> ../init.d/dnsctl zimele General 13 23rd August 2006 16:06
Mysterious Install Problem tgansert Installation/Configuration 5 9th May 2006 15:35
Installation Big issue OpenVZ VPS jbond007 Installation/Configuration 3 7th March 2006 19:40
Update to 2.2.0 question brianetilley Installation/Configuration 10 4th March 2006 17:02


All times are GMT +2. The time now is 18:03.


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