Is that the errors you mentioned? Apart from that it appears to be working fine.ERROR in Socket Creation : Connection refused
Lots of errors in the httpd error.log.File does not exist: /home/e-smith/files/ibays/Primary/html/sail, referer: https://domainname/sail/navigation.htm (https://tsihomes.com.au/sail/navigation.htm)
AddType application/x-httpd-php .php .php3
Alias /provisioning /opt/sark/www/provisioning
# Rewrites for SARK/SAIL
RewriteCond %{REQUEST_URI} ^/DPRX(.*)/
RewriteRule /DPRX(.*) http://$1 [L,P]
# Alias for SARK/SAIL
ScriptAlias /sark/cgi-bin /opt/sark/www/cgi-bin
ScriptAlias /sail/cgi-bin /opt/sark/www/cgi-bin
Alias /sark-common /opt/sark/www/sark-common
Alias /sark /opt/sark/www
Alias /sail /opt/sark/www
Alias /server-sounds/ /var/lib/asterisk/sounds/
#
# SARK/SAIL provisioning
#
#
# A E L I N T R A stat I N S T A L L
#
Alias /stat /opt/sark/stat/asterisk-stat-v2
#
#
#
# First, we configure the "default" to be a very restrictive set of
# permissions.
<Directory />
Options None
AllowOverride None
order deny,allow
deny from all
allow from none
</Directory>
<Directory /opt/sark/stat/asterisk-stat-v2>
AddType application/x-httpd-php .php .php3 .phtml
AddType application/x-httpd-php-source .phps
php_admin_value open_basedir /opt/sark/stat/
</Directory>
#
# SARK/SAIL /opt
#
<Directory /opt/sark/www>
Options None
Options +Indexes
Options +Includes
AllowOverride None
order deny,allow
deny from all
allow from all
AuthName "sark"
AuthType Basic
AuthExternal pwauth
require user admin
Satisfy all
</Directory>
<Directory /opt/sark/www/provisioning>
order deny,allow
Allow from all
Satisfy any
</Directory>
<Directory /var/lib/asterisk/sounds>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
expand-template /etc/httpd/conf/httpd.conf[root@guepardo sail32]# yum install asterisk18 asterisk18-configs asterisk18-voicemail dahdi-linux dahdi-tools asterisk-sounds-extra-en-ulaw asterisk-sounds-moh-opsound-ulaw --enablerepo=*
(sniped a lot!)
--> Finished Dependency Resolution
dahdi-linux-kmdl-2.6.18-274.18.1.el5-2.4.1-70.el5.i686 from installed has depsolving problems
--> Missing Dependency: dahdi-linux = 2.4.1-70.el5 is needed by package dahdi-linux-kmdl-2.6.18-274.18.1.el5-2.4.1-70.el5.i686 (installed)
Error: Missing Dependency: dahdi-linux = 2.4.1-70.el5 is needed by package dahdi-linux-kmdl-2.6.18-274.18.1.el5-2.4.1-70.el5.i686 (installed)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
[root@guepardo sail32]# uname -a
Linux guepardo 2.6.18-308.4.1.el5 #1 SMP Tue Apr 17 17:08:10 EDT 2012 i686 i686 i386 GNU/Linux
Notes:(...)Can I install asterisk without DAHDI modules ?
Second - to Jader
Asterisk won't install because it can't find dahdi and can't resolve your _308 kmdl releases. Check that you have imported the asterisk and digium repos into your yum setup.
[root@guepardo ~]# db yum_repositories show|grep repository
addons=repository
asterisk-current=repository
atrpms=repository
base=repository
centosplus=repository
contrib=repository
dag=repository
dag5=repository
digium-current=repository
extras=repository
fws=repository
sme7contribs=repository
smeaddons=repository
smecontribs=repository
smedev=repository
smeextras=repository
smeos=repository
smetest=repository
smeupdates=repository
smeupdates-testing=repository
updates=repository
[root@guepardo ~]#
but there are no kmdl modules for 308 in any of them!(...)
(15/15): asterisk18-core-1.8.7.0-2_centos5.i386.rpm | 15 MB 00:29
---------------------------------------------------------------------------------------------------------------------------------
Total 501 kB/s | 43 MB 01:28
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
file /usr/lib/libtonezone.so.2.0 from install of libtonezone-2.6.0-1_centos5.i386 conflicts with file from package libtonezone2-2.4.1-68.el5.i386
Error Summary
-------------
ACCEPT tcp -- anywhere Ext Address tcp dpt:8443.
ps fax | grep httpdA little hard to go further as it is not appearing in the standard logs.
2664 ? Ss 0:00 \_ runsv httpd-srk
2674 ? Ss 0:00 \_ runsv httpd-admin
2717 ? S 0:00 | \_ /usr/local/bin/multilog t s5000000 /var/log/httpd-admin
4800 ? Ss 0:00 | \_ /usr/sbin/httpd-admin -f /etc/httpd/admin-conf/httpd.conf -D FOREGROUND
5105 ? S 0:00 | \_ /usr/sbin/httpd-admin -f /etc/httpd/admin-conf/httpd.conf -D FOREGROUND
6315 ? S 0:00 | \_ /usr/sbin/httpd-admin -f /etc/httpd/admin-conf/httpd.conf -D FOREGROUND
6319 ? S 0:00 | \_ /usr/sbin/httpd-admin -f /etc/httpd/admin-conf/httpd.conf -D FOREGROUND
6320 ? S 0:00 | \_ /usr/sbin/httpd-admin -f /etc/httpd/admin-conf/httpd.conf -D FOREGROUND
2696 ? Ss 0:00 \_ runsv httpd-e-smith
4831 ? Ss 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
5160 ? S 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
5161 ? S 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
5163 ? S 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
5164 ? S 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
5165 ? S 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
5166 ? S 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
5167 ? S 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
5168 ? S 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
5169 ? S 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
5170 ? S 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
6284 ? S 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
6286 ? S 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
6287 ? S 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
6289 ? S 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
6290 ? S 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
6291 ? S 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
6292 ? S 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
6331 ? S 0:00 | \_ /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -D FOREGROUND
svc -t /service/sarkStill no complaints in the logs but no webpage.
svc -t /service/srk-ua-responder/
svc -t /service/srk-ua-helper/
svc -t /service/httpd-srk/
1191 ? Ss 0:00 \_ runsv httpd-srkCould the rpm installation be having a problem due to the extra software in the iso but not in a normal SME configuration be the issue?
3154 ? Ss 0:00 | \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
3159 ? S 0:00 | \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
3160 ? S 0:00 | \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
3161 ? S 0:00 | \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
3162 ? S 0:00 | \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
3163 ? S 0:00 | \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
3164 ? S 0:00 | \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
3165 ? S 0:00 | \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
3166 ? S 0:00 | \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
3167 ? S 0:00 | \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
3168 ? S 0:00 | \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
3992 ? S 0:00 | \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
3993 ? S 0:00 | \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
3994 ? S 0:00 | \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
3995 ? S 0:00 | \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
3996 ? S 0:00 | \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
3997 ? S 0:00 | \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
3998 ? S 0:00 | \_ /usr/sbin/httpd -f /opt/sark/httpd/httpd.conf -D FOREGROUND
option tftp-server-name 192.168.74.1;It complained about it not being a string and stopped at the 1st period "192." Now my system has a string value in "" and works. The 25TFTPServerName fragment has $OUT .= " option tftp-server-name $localip;\n"; which should return an ip address. The VM is not configured to run dhcpd. I did try $domainname but it still crashed the service. Putting the domain name in manually allowed the service to run.
$OUT .= " option tftp-server-name \"$domainname\";\n";
daemon /usr/sbin/in.tftpd -l --ipv4 -v -v -p -s /tftpboot
CheersServerName www.aelintra.localand the virtualhost
#<VirtualHost 0.0.0.0:81>
#
# ServerName aelintra.local
# ServerAlias ftp.aelintra.local fxos.aelintra.local mail.aelintra.local proxy.aelintra.local srkfxo.aelintra.local wpad.aelintra.local www.aelintra.local
<VirtualHost 0.0.0.0:8443>The file appears to be a copy of the /etc/dhcpd/conf/dhcpd.conf with the main systems parameters remmed out. But by the entries above some have not come across.
ServerName aelintra.local
# ServerAlias ftp.aelintra.local fxos.aelintra.local mail.aelintra.local proxy.aelintra.local srkfxo.aelintra.local wpad.aelintra.local www.aelintra.local
The rpm updates are still a WIP?yes. I want to get the iso away clean first
Suggest the template 25TFTPServername beNo; we changed it from this to use an IP address; the change had a bug in it but the intention was good. $domain is not guaranteed safe where an IP should be. This has been fixed in smesailenv-3.2.0-14
$OUT .= " option tftp-server-name \"$domainname\";\n";
The tftp Server failed on boot so template for the /etc/init.d/tftpd file the line to add --ipv4I proposed a fix for this in http://forums.contribs.org/index.php/topic,48357.0.html. However, I think your fix is better than mine because it doesn't demand a reboot. I've put it into smesailenv-3.2.0-14
daemon /usr/sbin/in.tftpd -l --ipv4 -v -v -p -s /tftpboot
The file appears to be a copy of the /etc/dhcpd/conf/dhcpd.conf with the main systems parameters remmed out. But by the entries above some have not come across.I'm guessing you mean httpd.conf (since the references are to that file). The file is just a butchered copy of the one smeserver generates (they're all butchered from somewhere :-) ). We simply copied it over to get a fast start on the server. I don't think we need to template it because it is just doing a single task. I've removed the rem'd out stuff and cleaned it up in -14 so it looks a bit more presentable.
The file is just a butchered copy of the one smeserver generates (they're all butchered from somewhere (http://forums.contribs.org/Smileys/default/smile.gif) )Understand but my copy had
ServerName aelintra.local
as active lines. Which I would think throws the client off. See the lines from the httpd.conf file that are not remed out.[root@guepardo httpd]# ls -la /var/log/sark
total 20
drwxr-xr-x 2 apache apache 4096 May 3 22:03 .
drwxr-xr-x 60 root root 16384 May 4 04:22 ..
[root@guepardo httpd]# /etc/init.d/httpd-srk status
down: /service/httpd-srk: 1s, want up
[root@guepardo httpd]# tail -f /var/log/sark/error_log
tail: cannot open `/var/log/sark/error_log' for reading: No such file or directory
tail: no files remaining
[root@guepardo httpd]#
ls -l /var/log
[root@guepardo ~]# ls -l /var/log/|wc -l
292
I can see this:/var/log/sark:
total 0
sv u httpd-srk
[root@guepardo ~]# chown -R www:www /var/log/sark
[root@guepardo ~]# ls -lad /var/log/sark
drwxr-xr-x 2 apache apache 4096 May 3 22:03 /var/log/sark
[root@guepardo ~]# sv u httpd-srk
[root@guepardo ~]# sv s httpd-srk
down: httpd-srk: 1s, want up
[root@guepardo ~]#
[root@guepardo ~]# chmod -R 755 /var/log/sark
[root@guepardo ~]# sv u httpd-srk
[root@guepardo ~]# sv s httpd-srk
down: httpd-srk: 0s, want up
[root@guepardo ~]#
[root@guepardo ~]# ls -lad /var/log/sark
drwxr-xr-x 2 apache apache 4096 May 3 22:03 /var/log/sark
Why does the sark log directory have ownership apache:apache?
What do you see in the error-log? (/var/log/sark/error_log)
[root@guepardo ~]# grep www /etc/passwd
apache:x:102:102:Apache:/var/www:/sbin/nologin
www:x:102:102:e-smith web server:/home/e-smith:/bin/false
[root@guepardo ~]#
/etc/init.d/httpd-srk startBut no ps httpd-srk lists and no log entries. Where on the earlier version we had 1 ps .
Starting httpd-srk: [ OK ]
rm -rf /opt/sark/httpd/sslcerts
[root@guepardo www]# tail /var/log/sark/error_log
[Wed May 16 16:50:35 2012] [error] [client 192.168.13.164] File does not exist: /opt/sark/www/favicon.ico
[Wed May 16 16:50:39 2012] [error] [client 192.168.13.164] File does not exist: /opt/sark/www/sail
[Wed May 16 16:50:40 2012] [error] [client 192.168.13.164] File does not exist: /opt/sark/www/sail
[Wed May 16 16:50:40 2012] [error] [client 192.168.13.164] File does not exist: /opt/sark/www/sail
[Wed May 16 16:50:41 2012] [error] [client 192.168.13.164] File does not exist: /opt/sark/www/sail
[Wed May 16 16:50:41 2012] [error] [client 192.168.13.164] File does not exist: /opt/sark/www/sail
[Wed May 16 16:51:26 2012] [error] [client 192.168.13.164] File does not exist: /opt/sark/www/sail
[Wed May 16 16:51:27 2012] [error] [client 192.168.13.164] File does not exist: /opt/sark/www/favicon.ico
[Wed May 16 16:51:48 2012] [error] [client 192.168.13.164] File does not exist: /opt/sark/www/sail
[Wed May 16 16:51:49 2012] [error] [client 192.168.13.164] File does not exist: /opt/sark/www/favicon.ico
https://your.site.com:8443