Page 1 of 2
All is not well
Posted: Tue Nov 02, 2010 4:32 pm
by JasonWard
So I got it up and running, and so far I really like it except every application I've installed so far has some kind of error
http://loganalyzer.home.com/statistics.php gives me
JpGraph Error: This PHP installation is not configured with the GD library. Please recompile PHP with GD support to run JpGraph. (Neither function imagetypes() nor imagecreatefromstring() does exist)
http://phpman.home.com/ gives me
This page is used to test the proper operation of the Apache HTTP server after it has been installed. If you can read this page, it means that the web server installed at this site is working properly, but has not yet been configured.
etc
http://phpsysinfo.home.com/index.php?disp=dynamic gives me
checkForExtensions phpSysInfo requires the mbstring extension to php in order to work properly.
http://mediawiki.home.com/ gives me
MediaWiki internal error.
Exception caught inside exception handler
So, should I raise these as bugs? Or has something gone horribly wrong with my install?
Re: All is not well
Posted: Tue Nov 02, 2010 5:34 pm
by bigfoot65
Something has possibly gone wrong with the install. Have you done Fedora 12 updates?
Also, please post any errors form the /var/log/amahi-app-install.log here so we can troubleshoot.
Update:
Sorry the log name has been corrected.
Re: All is not well
Posted: Tue Nov 02, 2010 5:46 pm
by cpg
How exactly did you install?
Can you tell exactly in which ways did you deviate from the standard install instructions?
Agree with bigfoot65 - some errors may show up in that log.
Re: All is not well
Posted: Tue Nov 02, 2010 5:52 pm
by JasonWard
I did headless CDExpress install.
I have performed no updates (I don't know how in Fedora).
As for the log
[root@localhost ~]# cat /var/log/amahi-app.install.log
cat: /var/log/amahi-app.install.log: No such file or directory
[root@localhost ~]# ls
anaconda-ks.cfg Desktop hda-install.log install.log install.log.syslog ip-route.txt
[root@localhost ~]# ls /var/log
amahi-app-installer.log audit ConsoleKit dmesg.old lastlog monit ppp secure wpa_supplicant.log
anaconda.log BackupPC cron greyhole.log mail mysqld.log prelink spooler wtmp
anaconda.syslog boot.log dirmngr hda-updates.log maillog ntpstats program.log storage.log yum.log
anaconda.xlog btmp dmesg httpd messages openvpn-status.log samba tallylog
[root@localhost ~]#
Re: All is not well
Posted: Tue Nov 02, 2010 6:01 pm
by JasonWard
However if I look in the "Amahi Application Installer Log" as made available to me by the parts of LogAnalyser that work I can see things like this
After MediaWiki install
Code: Select all
======= app install end @ Fri Feb 12 00:02:58 +0000 2010 ==========
Details for Syslogmessage with ID '235540'
Message ======= app install end @ Fri Feb 12 00:02:58 +0000 2010 ==========
App: MediaWiki installed
Exception caught inside exception handler
MediaWiki internal error.
Adding default interwiki definitions: ok
Creating interwiki table: ok
...ipblocks table does not exist, skipping new field patch
...ipblocks table does not exist, skipping new field patch
Abort with control-c in the next five seconds (skip this countdown with --quick) ...
Depending on the size of your database this may take a while!
Going to run database updates for mediawiki
MediaWiki 1.16.0 Updater
mv: cannot stat `AdminSettings.php': No such file or directory
mv: cannot stat `LocalSettings.php': No such file or directory
tar: Exiting with failure status due to previous errors
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar: mediawiki-1.16.0-sql.tar.gz: Cannot open: No such file or directory
mv: cannot stat `Logo.png': No such file or directory
from /usr/bin/amahi-download:116
from /usr/bin/amahi-download:111:in `main'
from /usr/bin/amahi-download:91:in `download_and_check_sha1'
from /usr/bin/amahi-download:50:in `download'
from /usr/lib/ruby/1.8/net/http.rb:440:in `start'
from /usr/lib/ruby/1.8/net/http.rb:542:in `start'
from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
from /usr/lib/ruby/1.8/timeout.rb:93:in `timeout'
from /usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
from /usr/lib/ruby/1.8/net/http.rb:560:in `open'
/usr/lib/ruby/1.8/net/http.rb:560:in `initialize': getaddrinfo: Name or service ...
Your HDA services have been restarted.
AjaxTerm
Code: Select all
======= app install end @ Thu Feb 11 23:44:22 +0000 2010 ==========
Details for Syslogmessage with ID '162813'
Message ======= app install end @ Thu Feb 11 23:44:22 +0000 2010 ==========
App: Ajaxterm installed
/tmp/run_script.6249.0: line 4: ./ajaxterm.py: No such file or directory
sed: can't read html/ajaxterm.py: No such file or directory
cp: cannot stat `/usr/share/ajaxterm/*': No such file or directory
Your HDA services have been restarted.
Your HDA services have been restarted.
Installing app id k4nymnu42b under /var/hda/platform/html ENV=production
======= app install begin @ Thu Feb 11 23:44:19 +0000 2010 ==========
Want more?
Re: All is not well
Posted: Tue Nov 02, 2010 6:23 pm
by bigfoot65
Can you attach a copy of the install log. It is called hda-install.log I believe and located in ~ dir.
Re: All is not well
Posted: Tue Nov 02, 2010 6:35 pm
by JasonWard
Code: Select all
setenforce: SELinux is disabled
yum-updatesd: unrecognized service
yum-updatesd: no process killed
yum-updatesd: no process killed
yum-updatesd: no process killed
RPM UNINSTALL OF: gnome-packagekit
yum: no process killed
error: package gnome-packagekit is not installed
error: package gnome-packagekit is not installed
error: package gnome-packagekit is not installed
error: package gnome-packagekit is not installed
error: package gnome-packagekit is not installed
yum-updatesd: no process killed
RPM UNINSTALL OF: setroubleshoot setroubleshoot-server setroubleshoot-plugins
yum: no process killed
error: package setroubleshoot is not installed
error: package setroubleshoot-server is not installed
error: package setroubleshoot-plugins is not installed
error: package setroubleshoot is not installed
error: package setroubleshoot-server is not installed
error: package setroubleshoot-plugins is not installed
error: package setroubleshoot is not installed
error: package setroubleshoot-server is not installed
error: package setroubleshoot-plugins is not installed
error: package setroubleshoot is not installed
error: package setroubleshoot-server is not installed
error: package setroubleshoot-plugins is not installed
error: package setroubleshoot is not installed
error: package setroubleshoot-server is not installed
error: package setroubleshoot-plugins is not installed
Packages to install: wol, dhcp, dhclient
yum-updatesd: no process killed
yum: no process killed
Loaded plugins: fastestmirror
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: fedora. Please verify its path and try again
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: fedora. Please verify its path and try again
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: fedora. Please verify its path and try again
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: fedora. Please verify its path and try again
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: fedora. Please verify its path and try again
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: fedora. Please verify its path and try again
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: fedora. Please verify its path and try again
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: fedora. Please verify its path and try again
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: fedora. Please verify its path and try again
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: fedora. Please verify its path and try again
Initializing MySQL database: Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/bin/mysqlbug script!
[ OK ]
Starting MySQL: [ OK ]
mysqladmin: DROP DATABASE hda_production failed;
error: 'Can't drop database 'hda_production'; database doesn't exist'
rubygem-rails-2.3.4-2.fc12.noarch
Successfully installed pluginfactory-1.0.7
1 gem installed
(in /var/hda/platform/html)
== CreateSettings: migrating =================================================
-- create_table(:settings)
-> 0.0078s
== CreateSettings: migrated (0.0083s) ========================================
== CreateHosts: migrating ====================================================
-- create_table(:hosts)
-> 0.0084s
== CreateHosts: migrated (0.0089s) ===========================================
== CreateAliases: migrating ==================================================
-- create_table(:aliases)
-> 0.0092s
== CreateAliases: migrated (0.0097s) =========================================
== AddThemeSetting: migrating ================================================
-- create_table(:themes)
-> 0.0113s
== AddThemeSetting: migrated (0.0706s) =======================================
== AddSessions: migrating ====================================================
-- create_table(:sessions)
-> 0.0091s
-- add_index(:sessions, :session_id)
-> 0.0135s
-- add_index(:sessions, :updated_at)
-> 0.0162s
== AddSessions: migrated (0.0401s) ===========================================
== CreateUsers: migrating ====================================================
-- create_table(:users)
-> 0.0100s
== CreateUsers: migrated (0.0106s) ===========================================
== CreateShares: migrating ===================================================
-- create_table(:shares)
-> 0.0140s
== CreateShares: migrated (0.0147s) ==========================================
== CreateWebapps: migrating ==================================================
-- create_table(:webapps)
-> 0.0156s
== CreateWebapps: migrated (0.0163s) =========================================
== CreateCapabilities: migrating =============================================
-- create_table(:capabilities)
-> 0.0130s
-- add_column(:shares, :everyone, :boolean, {:default=>true})
-> 0.0668s
== CreateCapabilities: migrated (0.1789s) ====================================
== AddShareTags: migrating ===================================================
-- add_column(:shares, :tags, :string, {:default=>""})
-> 0.0140s
== AddShareTags: migrated (0.0178s) ==========================================
== AddAccessAndWriteCapabilities: migrating ==================================
-- rename_table(:capabilities, :cap_accesses)
-> 0.0029s
-- create_table(:cap_writers)
-> 0.0091s
== AddAccessAndWriteCapabilities: migrated (0.0129s) =========================
== CreateApps: migrating =====================================================
-- create_table(:apps)
-> 0.0141s
== CreateApps: migrated (0.0146s) ============================================
== AddNonDeleteAndLoginRequiredToWebapps: migrating ==========================
-- add_column(:webapps, :deletable, :boolean, {:default=>true})
-> 0.0149s
-- add_column(:webapps, :login_required, :boolean, {:default=>false})
-> 0.0138s
== AddNonDeleteAndLoginRequiredToWebapps: migrated (0.0512s) =================
== AddAliasWebappRelationship: migrating =====================================
-- add_column(:webapps, :alias_id, :integer)
-> 0.0148s
== AddAliasWebappRelationship: migrated (0.0190s) ============================
== AddWebappAppRelationship: migrating =======================================
-- add_column(:apps, :webapp_id, :integer)
-> 0.0187s
== AddWebappAppRelationship: migrated (0.1263s) ==============================
== AddWebappCustomFields: migrating ==========================================
-- add_column(:webapps, :custom_options, :string, {:default=>""})
-> 0.0129s
== AddWebappCustomFields: migrated (0.0172s) =================================
== AddStatusToApps: migrating ================================================
-- add_column(:apps, :status, :string)
-> 0.0142s
== AddStatusToApps: migrated (0.0149s) =======================================
== AddShowInDashboard: migrating =============================================
-- add_column(:apps, :show_in_dashboard, :boolean, {:default=>true})
-> 0.0149s
== AddShowInDashboard: migrated (0.0215s) ====================================
== AddAppStatusForumUrl: migrating ===========================================
-- add_column(:apps, :install_status, :integer)
-> 0.0172s
-- add_column(:apps, :forum_url, :string)
-> 0.0181s
== AddAppStatusForumUrl: migrated (0.0366s) ==================================
== AddSettingsKind: migrating ================================================
-- remove_column(:apps, :install_status)
-> 0.0176s
-- add_column(:settings, :kind, :string, {:default=>"general"})
-> 0.0173s
== AddSettingsKind: migrated (0.0527s) =======================================
== MakeDescriptionLonger: migrating ==========================================
-- change_column(:apps, :description, :text, {:default=>""})
-> 0.2562s
== MakeDescriptionLonger: migrated (0.2568s) =================================
== AddAppTheme: migrating ====================================================
-- add_column(:apps, :theme_id, :integer)
-> 0.0181s
== AddAppTheme: migrated (0.0263s) ===========================================
== AddAppSpecialInstructions: migrating ======================================
-- add_column(:apps, :special_instructions, :text, {:default=>""})
-> 0.0180s
== AddAppSpecialInstructions: migrated (0.0238s) =============================
== CreateDbs: migrating ======================================================
-- create_table(:dbs)
-> 0.0112s
== CreateDbs: migrated (0.0120s) =============================================
== AddAppDatabase: migrating =================================================
-- add_column(:apps, :db_id, :integer)
-> 0.0177s
== AddAppDatabase: migrated (0.0183s) ========================================
== AddDefaultNetworkSettings: migrating ======================================
== AddDefaultNetworkSettings: migrated (0.0505s) =============================
== CreateFirewallRules: migrating ============================================
-- create_table(:firewalls)
-> 0.0117s
== CreateFirewallRules: migrated (0.0269s) ===================================
== CreateServers: migrating ==================================================
-- create_table(:servers)
-> 0.0123s
== CreateServers: migrated (0.0128s) =========================================
== AddAdvancedFeatureSetting: migrating ======================================
== AddAdvancedFeatureSetting: migrated (0.0135s) =============================
== AddSharesDebug: migrating =================================================
== AddSharesDebug: migrated (0.0477s) ========================================
== AddServerShareToApp: migrating ============================================
-- add_column(:apps, :server_id, :integer)
-> 0.0133s
-- add_column(:apps, :share_id, :integer)
-> 0.0154s
== AddServerShareToApp: migrated (0.0296s) ===================================
== DhcpRouterSettings: migrating =============================================
== DhcpRouterSettings: migrated (0.0369s) ====================================
== UpgradeUsersForAuthlogic: migrating =======================================
-- remove_column(:users, :salt)
-- add_column(:users, :crypted_password, :string)
-> 0.0118s
-- add_column(:users, :password_salt, :string)
-> 0.0129s
-- add_column(:users, :persistence_token, :string)
-> 0.0140s
-- add_column(:users, :login_count, :integer, {:default=>0, :null=>false})
-> 0.0146s
-- add_column(:users, :last_request_at, :datetime)
-> 0.0162s
-- add_column(:users, :last_login_at, :datetime)
-> 0.0178s
-- add_column(:users, :current_login_at, :datetime)
-> 0.0180s
-- add_column(:users, :last_login_ip, :string)
-> 0.0177s
-- add_column(:users, :current_login_ip, :string)
-> 0.0176s
== UpgradeUsersForAuthlogic: migrated (0.1477s) ==============================
== AddAdminToUsers: migrating ================================================
-- add_column(:users, :admin, :boolean)
-> 0.0179s
== AddAdminToUsers: migrated (0.0185s) =======================================
== RenameWebappTypeToKind: migrating =========================================
-- rename_column(:webapps, :type, :kind)
-> 0.0244s
== RenameWebappTypeToKind: migrated (0.0251s) ================================
== ShareExtraParameters: migrating ===========================================
-- add_column(:shares, :extras, :text)
-> 0.0151s
== ShareExtraParameters: migrated (0.0157s) ==================================
== AddAppInitialUser: migrating ==============================================
-- add_column(:apps, :initial_user, :string)
-> 0.0159s
-- add_column(:apps, :initial_password, :string)
-> 0.0182s
== AddAppInitialUser: migrated (0.0352s) =====================================
== CreateDiskPoolPartitions: migrating =======================================
-- create_table(:disk_pool_partitions)
-> 0.0518s
== CreateDiskPoolPartitions: migrated (0.0526s) ==============================
== DiskPoolCopies: migrating =================================================
-- add_column(:shares, :disk_pool_copies, :integer, {:default=>0})
-> 0.0175s
== DiskPoolCopies: migrated (0.0231s) ========================================
== CreateAppDependencies: migrating ==========================================
-- create_table(:app_dependencies)
-> 0.0133s
== CreateAppDependencies: migrated (0.0140s) =================================
Installer automatically determined that your router/gateway IP address is: 192.168.255.254, over eth0
If this is incorrect, please report it, then run hda-change-gw after
installation is finished to set your gateway settings to the proper IP.
Configuring Samba ...
Samba install done.
Configuring vpn ...
VPN install done.
Installing httpd ...
HTTPD install done.
Configuring sudoers file ...
Sudoers file already set.
Configuring sudoers file done.
Stopping NetworkManager daemon: [ OK ]
Starting services ...
error reading information on service ddclient: No such file or directory
Services started.
Stopping and disabling unused services ...
error reading information on service gpm: No such file or directory
gpm: unrecognized service
error reading information on service hplip: No such file or directory
hplip: unrecognized service
error reading information on service isdn: No such file or directory
isdn: unrecognized service
error reading information on service kudzu: No such file or directory
kudzu: unrecognized service
Shutting down sm-client: [ OK ]
Shutting down sendmail: [ OK ]
error reading information on service yum-updatesd: No such file or directory
yum-updatesd: unrecognized service
error reading information on service ldap: No such file or directory
ldap: unrecognized service
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Unloading modules: [ OK ]
Stopping NetworkManager daemon: [FAILED]
Stopping unused services done.
Stopping NetworkManager daemon: [FAILED]
****************************************************
Amahi installed successfully! Please reboot it!
Amahi installed successfully! Please reboot it!
****************************************************
Re: All is not well
Posted: Tue Nov 02, 2010 6:50 pm
by bigfoot65
Looks like the Amahi depends did not install.....can ya do a yum update as root user?
Let us know the result.
Re: All is not well
Posted: Tue Nov 02, 2010 6:52 pm
by JasonWard
[root@localhost ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: fedora. Please verify its path and try again
Still doesn't seem to want to work.
Re: All is not well
Posted: Tue Nov 02, 2010 6:54 pm
by bigfoot65
Try a yum clean all. If that don't work, then it looks like there is a connectivity problem possibly.