Current time: 06-27-2024, 05:18 AM Hello There, Guest! (LoginRegister)


Post Reply 
ISPCP on Ubuntu 8.04 (Hardy) - Things you need to know !
Author Message
tripwire Offline
Newbie
*

Posts: 6
Joined: May 2009
Reputation: 0
Post: #9
RE: ISPCP on Ubuntu 8.04 (Hardy) - Things you need to know !
(05-08-2009 04:55 PM)tripwire Wrote:  Good Morning,

I did everything as listed above. Clean installation w/o and errors but... but there are 'silent' errors apparently.

The installation script did install all services but Apache2 for some reason is dead on my end.

When I did this:
Quote:10. Activate php mcrypt extension for ubuntu hardy
# sudo touch /etc/php5/conf.d/mcrypt.ini
# sudo echo "extension=mcrypt.so" > /etc/php5/conf.d/mcrypt.ini
# sudo chmod 644 /etc/php5/conf.d/mcrypt.ini
# sudo cp /etc/php5/conf.d/mcrypt.ini /etc/php5/cgi/conf.d/
# sudo /etc/init.d/apache2 restart

I got a response:
Quote:kesek@mail:/etc/apache2$ sudo /etc/init.d/apache2 restart
sudo: /etc/init.d/apache2: command not found

The funny thing is, at first it complained that it can't find apache2.conf so, I did touch apache2.conf (an empty file but it stopped complaining). Then the error above happened.

Any ideas how to get this up and running properly?

Thank you!

The above situation has been resolved, my colleuge nuked the init.d apache2 startup files by mistake.

Now, I have another problem. I have the panel just about up and running, the problem, I belive, is with either php or the panel installation itself.

Instead of showing the actual webpage, I get the below
Code:
checkUpdateExists() || criticalUpdate::getInstance()->checkUpdateExists()) && !isset($_GET['admin'])) { $tpl->define_dynamic('page', Config::get('LOGIN_TEMPLATE_PATH') . '/maintenancemode.tpl'); $tpl->assign( array( 'TR_PAGE_TITLE'     => tr('ispCP Omega a Virtual Hosting Control System'), 'THEME_COLOR_PATH'    => Config::get('LOGIN_TEMPLATE_PATH'), 'THEME_CHARSET'     => tr('encoding'), 'TR_MESSAGE'     => nl2br(Config::get('MAINTENANCEMODE_MESSAGE')), 'TR_ADMINLOGIN'     => tr('Administrator login') ) ); } else { $tpl->define_dynamic('page', Config::get('LOGIN_TEMPLATE_PATH') . '/index.tpl'); $tpl->assign( array( 'TR_MAIN_INDEX_PAGE_TITLE'    => tr('ispCP Omega a Virtual Hosting Control System'), 'THEME_COLOR_PATH'     => Config::get('LOGIN_TEMPLATE_PATH'), 'THEME_CHARSET'     => tr('encoding'), 'TR_LOGIN'     => tr('Login'), 'TR_USERNAME'     => tr('Username'), 'TR_PASSWORD'     => tr('Password'), 'TR_LOGIN_INFO'     => tr('Please enter your login information'), // @todo: make this configurable by ispcp-lib 'TR_SSL_LINK'     => isset($_SERVER['HTTPS']) ? 'http://' . htmlentities($_SERVER['HTTP_HOST']) : 'https://' . htmlentities($_SERVER['HTTP_HOST']), 'TR_SSL_IMAGE'     => isset($_SERVER['HTTPS']) ? 'lock.png' : 'unlock.png', 'TR_SSL_DESCRIPTION'     => !isset($_SERVER['HTTPS']) ? tr('Secure Connection') : tr('Normal Connection') ) ); } if (Config::get('LOSTPASSWORD')) { $tpl->assign('TR_LOSTPW', tr('Lost password')); } else { $tpl->assign('TR_LOSTPW', ''); } $tpl->define_dynamic('page_message', 'page'); gen_page_message($tpl); $tpl->parse('PAGE', 'page'); $tpl->prnt(); if (Config::get('DUMP_GUI_DEBUG')) { dump_gui_debug(); }

It seems as if php and apache2 don't want to run together at all, pre-installation of the panel i uploaded a file for testing php and it ran perfectly. After instalation of the panel, I began getting the above errors on _all_ php files.

What should I do now, to get this running properly?

Thank you!
05-09-2009 02:43 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: ISPCP on Ubuntu 8.04 (Hardy) - Things you need to know ! - tripwire - 05-09-2009 02:43 AM

Forum Jump:


User(s) browsing this thread: 4 Guest(s)