Hi, I have a computer with SuSE 9.0 installed. When I run shutdown -h now it starts the shutdown process but then hangs immediately after running /etc/init.d/halt.local2 done I can hit the carriage return and am left at the console with the system running. The relevant part of ps x at this point is. 296822 ? S 0:00 2 /bin/bash /etc/init.d/rc 0 296899 ? S 0:00 2 /bin/2sh /etc/init.d/rc0.d/S20halt start What could be preventing this machine from shutting down? Thanks, Mike
Michael Long wrote:
Hi,
I have a computer with SuSE 9.0 installed. When I run shutdown -h now it starts the shutdown process but then hangs immediately after
running /etc/init.d/halt.local2 done
I can hit the carriage return and am left at the console with the system running. The relevant part of ps x at this point is.
296822 ? S 0:00 2 /bin/bash /etc/init.d/rc 0 296899 ? S 0:00 2 /bin/2sh /etc/init.d/rc0.d/S20halt start
What could be preventing this machine from shutting down?
Thanks, Mike
It's hung trying to run something in the /etc/init.d/halt script. Can you (1) c&p that script into an email and show it to me or to the list? (2) show the rest of the ps, as it should show some hint to what it might be hung on? -- Dwight A. Ernest, dwight at significant dot com GPG key A6999567 Cell: +1-508-523-1416 FAX: +1-978-405-2504 YIM: dwight_ernest RHCE #803004293310030 http://significant.com/~dwight/ KA2CNN Papa, partner, pilot, net geek, sysadmin, consultant, cohouser.
Dwight Ernest wrote:
Michael Long wrote:
Hi,
I have a computer with SuSE 9.0 installed. When I run shutdown -h now it starts the shutdown process but then hangs immediately after
running /etc/init.d/halt.local2 done
I can hit the carriage return and am left at the console with the system running. The relevant part of ps x at this point is.
296822 ? S 0:00 2 /bin/bash /etc/init.d/rc 0 296899 ? S 0:00 2 /bin/2sh /etc/init.d/rc0.d/S20halt start
What could be preventing this machine from shutting down?
Thanks, Mike
It's hung trying to run something in the /etc/init.d/halt script. Can you (1) c&p that script into an email and show it to me or to the list? (2) show the rest of the ps, as it should show some hint to what it might be hung on?
Thanks for the response. It appears that I have some hardware issues. The box is an older PII that was rescued from the basement and put back into service. After pulling the plug and restarting it, the Ethernet card failed to initialize and the boot process hangs with trying to create /var/log/boot.msg. I guess I should have looked at that before asking for help.
Friends, I have a problem here... Is anyone of you using Microsoft SQL Server 2000 that of course run on Windows 2000 Advanced Server where the developing is done in Linux with its integration such as php and apache. I have re-configured my php configuration and add the configuration needed for the mssql integration : Before, my php is running perfect with this configuration : ./configure --with-apxs=/usr/local/apache/bin/apxs --enable-memory-limit --enable-ftp --enable-bcmath --enable-track-vars --enable-calendar --enable-dio --with-gmp --with-java=/usr/local/java --with-openssl=/usr/local/openssl --with-gd --with-pdflib=/usr/local --with-gettext --with-mm=/usr/local/mm/ --with-jpeg-dir=/usr/lib --with-zlib-dir=/usr/local --with-mcrypt --with-mhash --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql --with-xml Now, mssql's need are included, so the reconfiguration looks like: ./configure --with-apxs=/usr/local/apache/bin/apxs --enable-memory-limit --enable-ftp --enable-bcmath --enable-track-vars --enable-calendar --enable-dio --with-gmp --with-java=/usr/local/java --with-openssl=/usr/local/openssl --with-gd --with-pdflib=/usr/local --with-gettext --with-mm=/usr/local/mm/ --with-jpeg-dir=/usr/lib --with-zlib-dir=/usr/local --with-mcrypt --with-mhash --with-iodbc=/usr/local --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql with-mssql=/usr/local/freetds --with-xml The diffrent is only placed on: --with-iodbc=/usr/local and --with-mssql=/usr/local/freetds but error happens as these shown bellow: 1. On installing linux odbc ( unixODBC-2.2.8.tar.gz ), error is: . . . checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths! what does it mean ? Well, I've already use the rpm version. 2. On php's progress in configuring : configure: warning: with-mssql=/usr/local/freetds: invalid host type . . . checking for the location of libtiff... no checking for jpeg_read_header in -ljpeg... (cached) yes ./configure: cd: yes: No such file or directory checking for png_create_info_struct in -lpng... no configure: error: libpng not found! whats the relation between iodbc and mssql to this ? Is Linux not supporting development using php where the database is using MSQL ? Can somebody help me ? I need to develope using php where the database is on MSSQL Server 2000 on windows 2000 advanced server. Thanks. Aramico
On Wednesday 12 May 2004 1:15 am, aramico@duahati.com wrote:
2. On php's progress in configuring : configure: warning: with-mssql=/usr/local/freetds: invalid host type . . . checking for the location of libtiff... no checking for jpeg_read_header in -ljpeg... (cached) yes ./configure: cd: yes: No such file or directory checking for png_create_info_struct in -lpng... no configure: error: libpng not found!
whats the relation between iodbc and mssql to this ?
You are missing a package. You need to install whatever package provides libpng.so. On my SuSE system, its called libpng-devel but it may be called something else if you are not running SuSE. -- Andy Stewart, Founder Worcester Linux Users' Group Worcester, MA USA http://www.wlug.org
participants (4)
-
Andy Stewart
-
aramico@duahati.com
-
Dwight Ernest
-
Michael Long