Jump to content

voodoochile

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by voodoochile

  1. Hello there did you get a solution for this we have the same with smartboard software
  2. Thanks for your replies So it appears nobody knows how to create windows 7 mandatory profiles the "microsoft way" . I've tried WAIK and unatteded.xml files got more errors than i can care to mention. I dont want to go down the folder redirection route just yet so ill try the windows enabler as mentioned by sted (why is the copy to button greyed out anyway its always worked for previous versions of windows) see how it goes next week Ill post my results Cheers
  3. Hello I'm beginning to lose the will to live...............help!!! We are replacing a suite of computers with windows 7 machines At the moment students have a mandatory roaming profile which works fine for XP machines Anybody got a definitive solution as regards running Win 7 and XP on same domain and using mandatory roaming profiles after a couple of weeks looking in to it im a bit confused to be honest I have googled and there seems to be a bit of a "heated debate" surrounding the creation of mandatory profiles in win 7 anybody managed to implement it in there school if so how did you manage it? Cheers
  4. Hello there thanks to james_yale and powdarrmonkey i now have my dansguardian up and running and booting on startup.....phew!!! before i waste another couple of days of my life ........ can you give me some clues as how to set up log rotation for dansguardian access logs please Cheers and thanks again
  5. Hello after trying sh /etc/init.d/dansguardian start this appears root@ubuntu904:/apps/dansguardian-2.10.0.3# sh /etc/init.d/dansguardian start Starting dansguardian: -e -e [ -e OK-e ] #to see whats what root@ubuntu904:/apps/dansguardian-2.10.0.3# dansguardian -s Parent DansGuardian pid:14798 root@ubuntu904:/apps/dansguardian-2.10.0.3# dansguardian -v DansGuardian 2.10.0.3 Built with: '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' '--enable-ntlm=yes' root@ubuntu904:/apps/dansguardian-2.10.0.3# dansguardian is working reboot machine dansguardian not starting up automatically root@ubuntu904:~# dansguardian -s No DansGuardian process found. root@ubuntu904:~# not a clue about this ...whats the -e [ -e OK-e] after running startup ? never seen that before when starting programs Cheers
  6. use apt-get the version in the repo is 2.9.9.7 which supports ntlm
  7. Hello again After just removing function from the line i now get this error......!!! root@ubuntu904:/apps/dansguardian-2.10.0.3# /etc/init.d/dansguardian start Starting dansguardian: -e -e [ -e FAILED-e ] any more ideas or suggestions Cheers Karl
  8. Hello powdarrmonkey i rem out out function wait_for_pid() on line 22 now i got a different error !!!! root@ubuntu904:/apps/dansguardian-2.10.0.3# /etc/init.d/dansguardian start [: 52: Illegal number: start Cheers Karl
  9. Hello there Thanks for the pointers in the right direction after running /etc/init.d/dansguardian i get this error "-bash: /etc/init.d/dansguardian: Permission denied" so i changed the permissions the the dansguardian file to excecute run the command again now i get this error "/etc/init.d/dansguardian: 27: Syntax error: "(" unexpected" any ideas ? here is my DG start up script (etc/init.d/dansguardian ), ive not modified anything in the ./configure except --enable-ntlm=yes and the package is dansguardian-2.10.0.3.tar.gz from the dansguardian web site. #!/bin/sh # # Startup script for dansguardian # # chkconfig: 35 92 8 # description: A web content filtering plugin for web \ # proxies, developed to filter using lists of \ # banned phrases, MIME types, filename \ # extensions and PICS labelling. # processname: dansguardian # pidfile: /usr/local/var/run/dansguardian.pid # config: /usr/local/etc/dansguardian/dansguardian.conf ### BEGIN INIT INFO # Provides: dansguardian # Required-Start: squid # Should-Start: # Required-Stop: squid # Should-Stop: # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Short-Description: Dansguardian web content filter # Description: Dansguardian web content filter ### END INIT INFO # File includes changes by Thomas Jarosch function wait_for_pid() { local PID=$1 local RET=0 if [ $PID -eq 0 ] ; then return $RET fi # give 60 secs then KILL local COUNTDOWN=60 while [ -d /proc/${PID} ] && [ $COUNTDOWN -gt 0 ] ; do sleep 1 COUNTDOWN=$[$COUNTDOWN-1] done if [ -d /proc/${PID} ]; then COMMAND=`ps h -o command ${PID}` logger "dansguardian: timeout waiting for PID ${PID}: ${COMMAND}; sending SIGKILL" kill -KILL $PID >/dev/null 2>&1 RET=1 fi return $RET } # See how we were called. case "$1" in start) if [ -f /usr/local/sbin/dansguardian ] && [ -f /usr/local/etc/dansguardian/dansguardian.conf ]; then echo -n "Starting dansguardian: " if /usr/local/sbin/dansguardian 2> /dev/null; then echo -e "\\033[60G\c" echo -e "[ \\033[1;32m\c" echo -e "OK\c" echo -e "\\033[0;39m\c" echo " ]" [ -d /var/lock/subsys ] && touch /var/lock/subsys/dansguardian else echo -e "\\033[60G\c" echo -e "[ \\033[1;31m\c" echo -e "FAILED\c" echo -e "\\033[0;39m\c" echo " ]" fi fi ;; stop) echo -n "Shutting down dansguardian: " WAITPID=0 if [ -f /usr/local/var/run/dansguardian.pid ] ; then WAITPID=`cat /usr/local/var/run/dansguardian.pid` fi if /usr/local/sbin/dansguardian -q 2> /dev/null; then if wait_for_pid $WAITPID ; then echo -e "\\033[60G\c" echo -e "[ \\033[1;32m\c" echo -e "OK\c" echo -e "\\033[0;39m\c" echo " ]" else echo -e "\\033[60G\c" echo -e "[ \\033[1;31m\c" echo -e "FAILED\c" echo -e "\\033[0;39m\c" echo " ]" fi /bin/rm -f /usr/local/var/run/dansguardian.pid /bin/rm -f /tmp/.dguardianipc [ -d /var/lock/subsys ] && /bin/rm -f /var/lock/subsys/dansguardian else echo -e "\\033[60G\c" echo -e "[ \\033[1;31m\c" echo -e "FAILED\c" echo -e "\\033[0;39m\c" echo " ]" fi ;; restart) $0 stop $0 start ;; status) if [ -f /usr/local/sbin/dansguardian ]; then /usr/local/sbin/dansguardian -s fi ;; *) echo "Usage: $0 {start|stop|restart|status}" >&2 ;; esac exit 0 Thanks in advance karl
  10. Hello I'm trying to manually compile dansguardian 2.10.0.3 on ubuntu server 9.04 (this version of DG supports blanket block of https by ip address which is what im after not the version on the repo of 2.9.9.7) I cant get it to work .....ive done ./configure - make and make install and it completes with no errors. What happens next ? Do i need to specify additional parameters to the ./configure command line ? How do i get DG to start ? I assume that i need to link some files with the init.d folder ..dunno I'm at a loss where to look next cant seem to find any information anywhere I've always used apt-get to install pre compiled packages in the past Cheers
×
×
  • Create New...