FreeBSD7 Help with this error, please - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: FreeBSD7 Help with this error, please (/thread-5851.html) |
FreeBSD7 Help with this error, please - onelife - 02-27-2009 08:37 PM Hello. When I install ISPCP there was many trouble, which I solved. But 1 I can't... When try to open http://admin.testmachine - error 403, the http://admin.testmachine/index.php there next error: Fatal error: Uncaught exception 'Exception' with message 'Database error: Not connected to default' in /usr/local/www/ispcp/gui/include/class.database.php:21 Stack trace: #0 /usr/local/www/ispcp/gui/include/i18n.php(66): Database::getInstance() #1 /usr/local/www/ispcp/gui/include/system-message.php(49): tr('ispCP Error') #2 /usr/local/www/ispcp/gui/include/ispcp-config.php(62): system_message('ERROR: The php-...') #3 /usr/local/www/ispcp/gui/include/sql.php(26): decrypt_db_password('r6mMh3DvSSM=') #4 /usr/local/www/ispcp/gui/include/ispcp-lib.php(54): require_once('/usr/local/www/...') #5 /usr/local/www/ispcp/gui/index.php(21): require('/usr/local/www/...') #6 {main} thrown in /usr/local/www/ispcp/gui/include/class.database.php on line 21 I twice entered the right data ( localhost, root, pass) to mysql setting in the setup script, and test it with mysql - so I don't know what this may be..... And more: when I compiled with "make Makefile.fbsd install" : [root@testbsd ~/ispcp-omega-1.0.0]# make Makefile.fbsd install "BSDmakefile", line 39: Malformed conditional ($(OSTYPE)==FreeBSD) "BSDmakefile", line 41: if-less else "Makefile.inc", line 32: Need an operator "Makefile.inc", line 34: Need an operator "BSDmakefile", line 43: if-less endif make: fatal errors encountered -- cannot continue [root@testbsd ~/ispcp-omega-1.0.0]# Then I remove this lines in all BSDmakefile's : #.ifdef $(OSTYPE)==FreeBSD .include <Makefile.fbsd> #.else #.include <Makefile.inc> #.endif and all compile ok. That right compile I hope??? no was errors Help me understand what my errors or what can I do to fix this . RE: FreeBSD7 Help with this error, please - BeNe - 02-27-2009 11:08 PM I will reinstall my FreeBSD Server and test it with 1.0.0 again. Please give me some time. Code: [root@testbsd ~/ispcp-omega-1.0.0]# make Makefile.fbsd install Greez BeNe RE: FreeBSD7 Help with this error, please - BeNe - 02-28-2009 12:39 AM I corrected it in the Wiki --> http://www.isp-control.net/documentation/start/installation/freebsd Greez BeNe RE: FreeBSD7 Help with this error, please - onelife - 03-02-2009 04:49 PM (02-28-2009 12:39 AM)BeNe Wrote: I corrected it in the Wiki --> http://www.isp-control.net/documentation/start/installation/freebsd Big 10x for attention =) I have some question else... When I install the required modules (step 2), during install some option was unavailable, for example: In PHP5-Extension there was no options dbx (only dba & dbase), domxml (just dom), filepro (only fileinfo), pear, xslt & php5-pdo_mysql. In Apache22 this options was absence: mod_cband, mod_php, mod_fastcgi, mod_fcgid. System is Freebsd 7.0 What's wrong ??? I need to manually add them? About mod_fastcgi & someone else I understand that just get it from ports, how about other??? RE: FreeBSD7 Help with this error, please - jamesbong - 03-05-2009 07:18 AM Sorry I have another type of error on freebsd7 with ispCP 1.0.1 OMEGA build: 20090227 Codename: Orpheus. when I create a new user/domain apache goes down, if I try to manually restart it gives me this error: bob# /usr/local/etc/rc.d/apache22 restart Performing sanity check on apache22 configuration: Warning: DocumentRoot [/usr/local/www/data/virtual/mynewdomain.com/htdocs] does not exist Syntax error on line 156 of /usr/local/etc/apache22/Includes/ispcp.conf: can't get fastcgi file info: /usr/local/www/data/fcgi/mynewdomain.com/php5-fcgi-starter(/usr/local/www/data/fcgi/mynewdomain.com/php5-fcgi-starter), errno: 2 bob# if I look in the database, the domain status says: setfmode() | ERROR: File '/usr/local/www/data/virtual/mynewdomain.com/errors/inc/.svn' does not exist ! the log file /var/log/ispcp/ispcp_daemon-stderr.log. is empty. any ideas? Tnks RE: FreeBSD7 Help with this error, please - BeNe - 03-05-2009 04:59 PM You must remove the .svn files from the svn checkout you did. Code: find . -type d -name ".svn" -exec rm -rf {} \;;true Then everything should be ok Greez BeNe RE: FreeBSD7 Help with this error, please - jamesbong - 03-05-2009 09:57 PM Thank you for support BeNe ... I have removed the svn files from the svn checkout, but i have the same error for apache and the same error in the DB. the log file /var/log/ispcp/ispcp_daemon-stderr.log is always empty. Where i can find any error log?? It seems that the templates do not create these files: - htdocs folder for new domain - php5-fcgi-starter file for new domain Thank you in advance RE: FreeBSD7 Help with this error, please - BeNe - 03-05-2009 10:26 PM Did you enabled the Debug Modus ? --> http://www.isp-control.net/ispcp/wiki/howto_debug Path to the request manager is in your case: Code: /usr/local/www/ispcp/engine/ispcp-rqst-mngr Then take a look in the Errorlogs. Greez BeNe RE: FreeBSD7 Help with this error, please - jamesbong - 03-06-2009 02:26 AM ok I have enabled the Debug Modus this is the output of ispcp-rqst-mngr Quote:bob# /usr/local/www/ispcp/engine/ispcp-rqst-mngr if i look in the log i see a lot of this line: Quote:DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{HTACCESS_GROUPS_FILE_NAME}' eq '{HTACCESS_GROUPS_FILE_NAME}', missing '{HTACCESS_GROUPS_FILE_NAME}' in src ! and this error at the end: Quote:DEBUG: push_el() sub_name: sys_command(), msg: ERROR: External command '/bin/echo n | /bin/cp -ip /usr/local/www/ispcp/gui/errordocs/inc/.svn /usr/local/www/data/virtual/mynewdomain.com/errors/inc/ 2>/dev/null' returned '1' status ! for the installation i have followed your howto step by step. tnks RE: FreeBSD7 Help with this error, please - BeNe - 03-06-2009 02:35 AM Code: DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{HTACCESS_GROUPS_FILE_NAME}' eq '{HTACCESS_GROUPS_FILE_NAME}', missing '{HTACCESS_GROUPS_FILE_NAME}' in src ! Code: /usr/local/etc/ispcp/ispcp.conf Code: HTACCESS_USERS_FILE_NAME = .htpasswd Code: DEBUG: push_el() sub_name: sys_command(), msg: ERROR: External command '/bin/echo n | /bin/cp -ip /usr/local/www/ispcp/gui/errordocs/inc/.svn /usr/local/www/data/virtual/mynewdomain.com/errors/inc/ 2>/dev/null' returned '1' status ! Code: -> find . -type d -name ".svn" -exec rm -rf {} \;;true Quote:for the installation i have followed your howto step by step.Fine But there are is still many todo and i´m very busy this time... Greez BeNe |