apache2が起動しない!!
以下sshで接続しコマンドラインから起動
root@ReadyJUNAS:/etc/init.d# apachectl restart
apache2: Syntax error on line 268 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/090-jenkins.conf: No such file or directory
Action 'restart' failed.
The Apache error log may have more information.
エラーの原因は
/etc/apache2/sites-enabled/090-jenkins.confが無いと言われてます。
実際に見てみると・・・
root@ReadyJUNAS:/etc/apache2/sites-enabled# ls -l
total 0
lrwxrwxrwx 1 root root 36 Feb 18 22:42 000-fv-http -> /etc/apache2/sites-available/fv-http
lrwxrwxrwx 1 root root 27 Feb 3 01:00 000-fv-https -> ../sites-available/fv-https
lrwxrwxrwx 1 root root 24 Feb 21 11:05 090-dokuwiki.conf -> /apps/dokuwiki/http.conf
lrwxrwxrwx 1 root root 23 Feb 21 11:05 090-jenkins.conf -> /apps/jenkins/http.conf
lrwxrwxrwx 1 root root 21 Feb 21 11:05 090-phpr6.conf -> /apps/phpr6/http.conf
シンボリックリンクが置かれている!!
こればドイヒーっすね。アンインストールする時はこれも消せっちゅうねん><
削除して再起動したら無事起動できました。
root@ReadyJUNAS:/etc/apache2/sites-enabled# rm 090-jenkins.conf
root@ReadyJUNAS:/etc/apache2/sites-enabled# ls -l
total 0
lrwxrwxrwx 1 root root 36 Feb 18 22:42 000-fv-http -> /etc/apache2/sites-available/fv-http
lrwxrwxrwx 1 root root 27 Feb 3 01:00 000-fv-https -> ../sites-available/fv-https
lrwxrwxrwx 1 root root 24 Feb 21 11:05 090-dokuwiki.conf -> /apps/dokuwiki/http.conf
lrwxrwxrwx 1 root root 21 Feb 21 11:05 090-phpr6.conf -> /apps/phpr6/http.conf
root@ReadyJUNAS:/etc/apache2/sites-enabled# apachectl restart
[Sun Feb 22 06:22:22 2015] [warn] Useless use of AllowOverride in line 4 of /etc/frontview/apache/apps-https.conf.
[Sun Feb 22 06:22:22 2015] [warn] Useless use of AllowOverride in line 12 of /etc/frontview/apache/fv-admin.conf.
[Sun Feb 22 06:22:22 2015] [warn] Useless use of AllowOverride in line 25 of /etc/frontview/apache/fv-admin.conf.
[Sun Feb 22 06:22:22 2015] [warn] Useless use of AllowOverride in line 4 of /etc/frontview/apache/apps-https.conf.
apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.0.20 for ServerName
httpd not running, trying to start
※apache2のDocument Rootが設定されている場所は
/etc/apache2/sites-available/fv-https内で/etc/frontview/apache/*.confがincludeされている
root@ReadyJUNAS:/etc/apache2/sites-available# cd /etc/frontview/apache/
root@ReadyJUNAS:/etc/apache2/sites-available# cd /etc/frontview/apache/
root@ReadyJUNAS:/etc/frontview/apache# ls
Admin_Auth.conf defaults.conf http-share-redirect.conf ssl.conf
apache2.pem fv-admin.conf lan-try.conf ssleay.cnf
apps-https.conf genie-proxy.conf READYDROP.conf ssleay.cnf.in
Auth.conf http-redirect.conf Shares.conf WebShare.conf
root@ReadyJUNAS:/etc/frontview/apache# grep DocumentRoot *
fv-admin.conf:DocumentRoot /frontview/dashboard
ここにあるはずの/apps/logo/*.pngが無いorz
しかたないので、リソースを地道にコピー
コピー元は
root@ReadyJUNAS:/frontview/dashboard/apps/logo# ls /apps/.freeapps/
ajaxplorer drupal mediawiki phpsysinfo sickbeardr6
ajaxplorer4 dvblink-tv-server memeoc1 piwigo smbplus
amuler6 gateone monsta plexmediaserver subsonic
asterisk-app glpi moodler6 postgresql-readynas subversion-ntgr
avplus iredmail-app mysqlr6 prestashop sugarcrm
baikal istat novius pydio surveillance
barracuda jenkins nzbget-app pyload tftpr6
bindr6 joomla openerp pythonr6 tinyrss
btsync koken oscommerce qbittorrentr6 transmissionr6
bzeeetr6 lbcrss osticket radius-app tvmobilir6
cacti ldap-app owncloud recollweb virtualhere
couchpotato2 limesurvey photos2 rsyslog-app vpnserver
ddclientr6 linux-dash phpbb sabnzbd wordpress
dnsserver lms phpmyadminr6 selfoss
dokuwiki loganalyzerr6 phpr6 sickbeard
root@ReadyJUNAS:/frontview/dashboard/apps/logo#
各アプリ配下にlogo.pngが置いてある。
cp /apps/.freeapps/ajaxplorer/logo.png ./ajaxplorer.png
cp /apps/.freeapps/ajaxplorer4/logo.png ./ajaxplorer4.png
cp /apps/.freeapps/amuler6/logo.png ./amuler6.png
cp /apps/.freeapps/asterisk-app/logo.png ./asterisk-app.png
cp /apps/.freeapps/avplus/logo.png ./avplus.png
cp /apps/.freeapps/baikal/logo.png ./baikal.png
cp /apps/.freeapps/barracuda/logo.png ./barracuda.png
cp /apps/.freeapps/bindr6/logo.png ./bindr6.png
cp /apps/.freeapps/btsync/logo.png ./btsync.png
cp /apps/.freeapps/bzeeetr6/logo.png ./bzeeetr6.png
cp /apps/.freeapps/cacti/logo.png ./cacti.png
cp /apps/.freeapps/couchpotato2/logo.png ./couchpotato2.png
cp /apps/.freeapps/ddclientr6/logo.png ./ddclientr6.png
cp /apps/.freeapps/dnsserver/logo.png ./dnsserver.png
cp /apps/.freeapps/dokuwiki/logo.png ./dokuwiki.png
cp /apps/.freeapps/drupal/logo.png ./drupal.png
cp /apps/.freeapps/dvblink-tv-server/logo.png ./dvblink-tv-server.png
cp /apps/.freeapps/gateone/logo.png ./gateone.png
cp /apps/.freeapps/glpi/logo.png ./glpi.png
cp /apps/.freeapps/iredmail-app/logo.png ./iredmail-app.png
cp /apps/.freeapps/istat/logo.png ./istat.png
cp /apps/.freeapps/jenkins/logo.png ./jenkins.png
cp /apps/.freeapps/joomla/logo.png ./joomla.png
cp /apps/.freeapps/koken/logo.png ./koken.png
cp /apps/.freeapps/lbcrss/logo.png ./lbcrss.png
cp /apps/.freeapps/ldap-app/logo.png ./ldap-app.png
cp /apps/.freeapps/limesurvey/logo.png ./limesurvey.png
cp /apps/.freeapps/linux-dash/logo.png ./linux-dash.png
cp /apps/.freeapps/lms/logo.png ./lms.png
cp /apps/.freeapps/loganalyzerr6/logo.png ./loganalyzerr6.png
cp /apps/.freeapps/mediawiki/logo.png ./mediawiki.png
cp /apps/.freeapps/memeoc1/logo.png ./memeoc1.png
cp /apps/.freeapps/monsta/logo.png ./monsta.png
cp /apps/.freeapps/moodler6/logo.png ./moodler6.png
cp /apps/.freeapps/mysqlr6/logo.png ./mysqlr6.png
cp /apps/.freeapps/novius/logo.png ./novius.png
cp /apps/.freeapps/nzbget-app/logo.png ./nzbget-app.png
cp /apps/.freeapps/openerp/logo.png ./openerp.png
cp /apps/.freeapps/oscommerce/logo.png ./oscommerce.png
cp /apps/.freeapps/osticket/logo.png ./osticket.png
cp /apps/.freeapps/owncloud/logo.png ./owncloud.png
cp /apps/.freeapps/photos2/logo.png ./photos2.png
cp /apps/.freeapps/phpbb/logo.png ./phpbb.png
cp /apps/.freeapps/phpmyadminr6/logo.png ./phpmyadminr6.png
cp /apps/.freeapps/phpr6/logo.png ./phpr6.png
cp /apps/.freeapps/phpsysinfo/logo.png ./phpsysinfo.png
cp /apps/.freeapps/piwigo/logo.png ./piwigo.png
cp /apps/.freeapps/plexmediaserver/logo.png ./plexmediaserver.png
cp /apps/.freeapps/postgresql-readynas/logo.png ./postgresql-readynas.png
cp /apps/.freeapps/prestashop/logo.png ./prestashop.png
cp /apps/.freeapps/pydio/logo.png ./pydio.png
cp /apps/.freeapps/pyload/logo.png ./pyload.png
cp /apps/.freeapps/pythonr6/logo.png ./pythonr6.png
cp /apps/.freeapps/qbittorrentr6/logo.png ./qbittorrentr6.png
cp /apps/.freeapps/radius-app/logo.png ./radius-app.png
cp /apps/.freeapps/recollweb/logo.png ./recollweb.png
cp /apps/.freeapps/rsyslog-app/logo.png ./rsyslog-app.png
cp /apps/.freeapps/sabnzbd/logo.png ./sabnzbd.png
cp /apps/.freeapps/selfoss/logo.png ./selfoss.png
cp /apps/.freeapps/sickbeard/logo.png ./sickbeard.png
cp /apps/.freeapps/sickbeardr6/logo.png ./sickbeardr6.png
cp /apps/.freeapps/smbplus/logo.png ./smbplus.png
cp /apps/.freeapps/subsonic/logo.png ./subsonic.png
cp /apps/.freeapps/subversion-ntgr/logo.png ./subversion-ntgr.png
cp /apps/.freeapps/sugarcrm/logo.png ./sugarcrm.png
cp /apps/.freeapps/surveillance/logo.png ./surveillance.png
cp /apps/.freeapps/tftpr6/logo.png ./tftpr6.png
cp /apps/.freeapps/tinyrss/logo.png ./tinyrss.png
cp /apps/.freeapps/transmissionr6/logo.png ./transmissionr6.png
cp /apps/.freeapps/tvmobilir6/logo.png ./tvmobilir6.png
cp /apps/.freeapps/virtualhere/logo.png ./virtualhere.png
cp /apps/.freeapps/vpnserver/logo.png ./vpnserver.png
cp /apps/.freeapps/wordpress/logo.png ./wordpress.png
めんどくせーorz
なんて日だ!!
0 件のコメント:
コメントを投稿