Can't access Default apache web
Posted: April 29th, 2009, 12:07 pm
I have an problem. i want to access to sabnzbd with an remote computer.
When i start SABnzbd with the sh file in /etc/init.d with the command "./SABnzbd.sh start" all is OK.
I want to make an automatic launch.
i tried "update-rc.d -f SABnzbd.sh defaults" for an automatic launch, but after reboot i can't access to my default web apache, for eg. http://192.168.1.20/, i have an error message (site not responding)
But i can access to SABnzbd !!!!
Have you any idea ?
Thank's for your replys
My SABnzbd.sh file:
My ini file
When i start SABnzbd with the sh file in /etc/init.d with the command "./SABnzbd.sh start" all is OK.
I want to make an automatic launch.
i tried "update-rc.d -f SABnzbd.sh defaults" for an automatic launch, but after reboot i can't access to my default web apache, for eg. http://192.168.1.20/, i have an error message (site not responding)
But i can access to SABnzbd !!!!
Have you any idea ?
Thank's for your replys
My SABnzbd.sh file:
#! /bin/sh
case "$1" in
start)
echo "Starting SABnzbd."
/usr/bin/sudo -u downloads -H /etc/SABnzbd/SABnzbd.py -d -f /home/downloads/.sabnzbd/sabnzbd.ini
;;
stop)
echo "Shutting down SABnzbd."
/usr/bin/wget -q --delete-after "http://0.0.0.0:9090/sabnzbd/api?mode=shutdown"
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0
My ini file
__version__ = 18
[misc]
log_dir = logs
auto_browser = 0
permissions = ""
api_key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx <= modified
check_new_rel = 1
replace_spaces = 0
replace_illegal = 1
fail_on_crc = 0
enable_filejoin = 0
enable_unzip = 1
enable_unrar = 1
auto_disconnect = 1
enable_par_cleanup = 1
par_option = ""
no_dupes = 0
config_lock = 0
safe_postproc = 0
pause_on_post_processing = 0
cleanup_list = ""
ignore_samples = 0
send_group = 0
download_dir = home/downloads/incomplete
download_free = 0
complete_dir = /home/downloads/complete
script_dir = ""
nzb_backup_dir = ""
cache_dir = cache
dirscan_dir = ""
dirscan_speed = 5
refresh_rate = 0
rss_rate = 60
bandwith_limit = 0
cache_limit = 0
email_server = ""
email_to = ""
email_from = ""
email_account = ""
email_pwd = ""
email_endjob = 0
email_full = 0
schedlines = ,
dirscan_opts = 3
dirscan_script = ""
top_only = 1
auto_sort = 0
enable_tv_sorting = 0
tv_sort_string = ""
ionice = ""
web_color = ""
web_color2 = ""
host = 0.0.0.0
port = 9090
web_dir = Default
web_dir2 = ""
username = ""
password = ""
[logging]
enable_cherrypy_logging = 1
log_level = 1
max_log_size = 5M
log_backups = 5
[newzbin]
username = ""
password = ""
bookmarks = 0
unbookmark = 0
bookmark_rate = 60
[servers]
[[news.free.fr:119]]
host = news.xxxxx
port = 119
username = ""
password = ""
timeout = 120
connections = 4
fillserver = 0
ssl = 0
[rss]
[categories]
[[unknown]]
newzbin = Unknown
dir = Unknown
[[anime]]
newzbin = Anime
dir = Anime
[[apps]]
newzbin = Apps
dir = Apps
[[books]]
newzbin = Books
dir = Books
[[consoles]]
newzbin = Consoles
dir = Consoles
[[emulation]]
newzbin = Emulation
dir = Emulation
[[games]]
newzbin = Games
dir = Games
[[misc]]
newzbin = Misc
dir = Misc
[[movies]]
newzbin = Movies
dir = Movies
[[music]]
newzbin = Music
dir = Music
[[pda]]
newzbin = PDA
dir = PDA
[[resources]]
newzbin = Resources
dir = Resources
[[tv]]
newzbin = TV
dir = TV