- Timestamp:
- Jan 13, 2017, 1:30:29 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cleanup.php
r24 r25 17 17 function aira_cleanup( $us3_db, $reqID, $gfac_link ) 18 18 { 19 global $org_domain; 19 20 global $dbhost; 20 21 global $user; … … 141 142 list( $status, $cluster, $id ) = mysql_fetch_array( $result ); 142 143 143 if ( $cluster == 'bcf-local' || $cluster == 'alamo-local' ) 144 $is_us3iab = preg_match( "/us3iab/", $cluster ); 145 $is_local = preg_match( "/-local/", $cluster ); 146 147 if ( $is_us3iab || $is_local ) 144 148 { 145 149 $clushost = $cluster; … … 191 195 $fn_tarfile = "analysis-results.tar"; 192 196 $num_try = 0; 197 $len1 = strlen( $fn_tarfile ); 198 write_log( "$me: fn_tarfile=$fn_tarfile len(tar)=$len1" ); 193 199 while ( ! file_exists( $fn_tarfile ) && $num_try < 3 ) 194 200 { 195 201 sleep( 10 ); 196 202 $num_try++; 203 write_log( "$me: tar-exists: num_try=$num_try" ); 197 204 } 198 205 … … 200 207 foreach ( $ofiles as $ofile ) 201 208 { 202 if ( preg_match( "/ .*stderr$/", $ofile ) )209 if ( preg_match( "/^" . $gfacID . ".*stderr$/", $ofile ) ) 203 210 $fn_stderr = $ofile; 204 if ( preg_match( "/ .*stdout$/", $ofile ) )211 if ( preg_match( "/^" . $gfacID . ".*stdout$/", $ofile ) ) 205 212 $fn_stdout = $ofile; 206 213 //write_log( "$me: ofile=$ofile" ); … … 654 661 global $editXMLFilename; 655 662 global $stdout; 663 global $org_domain; 656 664 657 665 global $me; … … 697 705 $limshost = $dbhost; 698 706 if ( $limshost == 'localhost' ) 707 { 699 708 $limshost = gethostname(); 709 if ( ! preg_match( "/\./", $limshost ) ) 710 $limshost = $limshost . $org_domain; 711 } 700 712 701 713 // Parse the editXMLFilename … … 841 853 global $db; 842 854 global $status; 843 844 // Figure out local working directory 845 if ( ! is_dir( "$work/$gfacID" ) ) mkdir( "$work/$gfacID", 0770 ); 846 $pwd = chdir( "$work/$gfacID" ); 855 $is_us3iab = preg_match( "/us3iab/", $cluster ); 847 856 848 857 // Figure out remote directory 849 858 $remoteDir = sprintf( "$work_remote/$db-%06d", $requestID ); 859 write_log( "$me: is_us3iab=$is_us3iab remoteDir=$remoteDir" ); 850 860 851 861 // Get stdout, stderr, output/analysis-results.tar 852 862 $output = array(); 853 // $cmd = "scp us3@$cluster.uthscsa.edu:$remoteDir/stdout . 2>&1"; 854 // 855 // exec( $cmd, $output, $stat ); 856 // if ( $stat != 0 ) 857 // write_log( "$me: Bad exec:\n$cmd\n" . implode( "\n", $output ) ); 858 // 859 // $cmd = "scp us3@$cluster.uthscsa.edu:$remoteDir/stderr . 2>&1"; 860 // exec( $cmd, $output, $stat ); 861 // if ( $stat != 0 ) 862 // write_log( "$me: Bad exec:\n$cmd\n" . implode( "\n", $output ) ); 863 864 $cmd = "scp us3@$cluster.uthscsa.edu:$remoteDir/output/analysis-results.tar . 2>&1"; 865 exec( $cmd, $output, $stat ); 866 if ( $stat != 0 ) 867 write_log( "$me: Bad exec:\n$cmd\n" . implode( "\n", $output ) ); 868 869 $cmd = "scp us3@$cluster.uthscsa.edu:$remoteDir/stdout . 2>&1"; 870 exec( $cmd, $output, $stat ); 871 if ( $stat != 0 ) 872 { 873 write_log( "$me: Bad exec:\n$cmd\n" . implode( "\n", $output ) ); 874 sleep( 10 ); 875 write_log( "$me: RETRY" ); 863 864 if ( $is_us3iab == 0 ) 865 { 866 // Figure out local working directory 867 if ( ! is_dir( "$work/$gfacID" ) ) mkdir( "$work/$gfacID", 0770 ); 868 $pwd = chdir( "$work/$gfacID" ); 869 870 $cmd = "scp us3@$cluster.uthscsa.edu:$remoteDir/output/analysis-results.tar . 2>&1"; 871 876 872 exec( $cmd, $output, $stat ); 877 if ( $stat != 0 ) 873 if ( $stat != 0 ) 878 874 write_log( "$me: Bad exec:\n$cmd\n" . implode( "\n", $output ) ); 879 } 880 881 $cmd = "scp us3@$cluster.uthscsa.edu:$remoteDir/stderr . 2>&1"; 882 exec( $cmd, $output, $stat ); 883 if ( $stat != 0 ) 884 { 885 write_log( "$me: Bad exec:\n$cmd\n" . implode( "\n", $output ) ); 886 sleep( 10 ); 887 write_log( "$me: RETRY" ); 875 876 $cmd = "scp us3@$cluster.uthscsa.edu:$remoteDir/stdout . 2>&1"; 877 888 878 exec( $cmd, $output, $stat ); 889 if ( $stat != 0 ) 879 if ( $stat != 0 ) 880 { 890 881 write_log( "$me: Bad exec:\n$cmd\n" . implode( "\n", $output ) ); 891 } 882 sleep( 10 ); 883 write_log( "$me: RETRY" ); 884 exec( $cmd, $output, $stat ); 885 if ( $stat != 0 ) 886 write_log( "$me: Bad exec:\n$cmd\n" . implode( "\n", $output ) ); 887 } 888 889 $cmd = "scp us3@$cluster.uthscsa.edu:$remoteDir/stderr . 2>&1"; 890 891 exec( $cmd, $output, $stat ); 892 if ( $stat != 0 ) 893 { 894 write_log( "$me: Bad exec:\n$cmd\n" . implode( "\n", $output ) ); 895 sleep( 10 ); 896 write_log( "$me: RETRY" ); 897 exec( $cmd, $output, $stat ); 898 if ( $stat != 0 ) 899 write_log( "$me: Bad exec:\n$cmd\n" . implode( "\n", $output ) ); 900 } 901 } 902 else 903 { 904 $pwd = chdir( "$remoteDir" ); 905 write_log( "$me: IS US3IAB: pwd=$pwd $remoteDir"); 906 } 907 892 908 893 909 // Write the files to gfacDB 894 910 895 if ( file_exists( "stderr" ) ) $stderr = file_get_contents( "stderr" ); 911 if ( file_exists( "stderr" ) ) 912 { // Filter stderr to not have libnnls debug lines 913 exec( "mv stderr stderr+nnls", $output, $stat ); 914 exec( "grep -vi nnls stderr+nnls >stderr", $output, $stat ); 915 $stderr = file_get_contents( "stderr" ); 916 } 917 else 918 $stderr = ""; 896 919 if ( file_exists( "stdout" ) ) $stdout = file_get_contents( "stdout" ); 897 if ( file_exists( "analysis-results.tar" ) ) 898 $tarfile = file_get_contents( "analysis-results.tar" ); 899 920 $fn1_tarfile = "analysis-results.tar"; 921 $fn2_tarfile = "output/" . $fn1_tarfile; 922 if ( file_exists( $fn1_tarfile ) ) 923 $tarfile = file_get_contents( $fn1_tarfile ); 924 else if ( file_exists( $fn2_tarfile ) ) 925 $tarfile = file_get_contents( $fn2_tarfile ); 926 927 $lense = strlen( $stderr ); 928 if ( $lense > 1000000 ) 929 { // Replace exceptionally large stderr with smaller version 930 exec( "mv stderr stderr-orig", $output, $stat ); 931 exec( "head -n 5000 stderr-orig >stderr-h", $output, $stat ); 932 exec( "tail -n 5000 stderr-orig >stderr-t", $output, $stat ); 933 exec( "cat stderr-h stderr-t >stderr", $output, $stat ); 934 $stderr = file_get_contents( "stderr" ); 935 } 936 $lent = strlen( $tarfile ); 937 write_log( "$me: tarfile size: $lent"); 938 $lene = strlen( $stderr ); 939 write_log( "$me: stderr size: $lene (was $lense)"); 940 $leno = strlen( $stdout ); 941 write_log( "$me: stdout size: $leno"); 942 $estarf=mysql_real_escape_string($tarfile,$gfac_link); 943 $lenf = strlen($estarf); 944 write_log( "$me: es-tarfile size: $lenf"); 945 $esstdo=mysql_real_escape_string($stdout,$gfac_link); 946 $leno = strlen($esstdo); 947 write_log( "$me: es-stdout size: $leno"); 948 $esstde=mysql_real_escape_string($stderr,$gfac_link); 949 $lene = strlen($esstde); 950 write_log( "$me: es-stderr size: $lene"); 900 951 $query = "UPDATE analysis SET " . 901 952 "stderr='" . mysql_real_escape_string( $stderr, $gfac_link ) . "'," . -
trunk/cleanup_aira.php
r18 r25 14 14 $me = 'cleanup_aira.php'; 15 15 $class_dir = $class_dir_p; 16 include_once " cleanup.php";16 include_once "$us3bin/cleanup.php"; 17 17 18 18 ?> -
trunk/cleanup_gfac.php
r23 r25 159 159 //write_log( "$me: db=$db; requestID=$requestID; status=$status; cluster=$cluster" ); 160 160 161 if ( $cluster == 'bcf-local' || $cluster == 'alamo-local' ) 162 { 163 $clushost = $cluster; 164 $clushost = preg_replace( "/\-local/", "", $clushost ); 161 // if ( $cluster == 'bcf-local' || $cluster == 'alamo-local' ) 162 if ( preg_match( "/\-local/", $cluster ) || 163 preg_match( "/us3iab/", $cluster ) ) 164 { 165 // $clushost = $cluster; 166 // $clushost = preg_replace( "/\-local/", "", $clushost ); 167 $parts = explode( "-", $cluster ); 168 $clushost = $parts[ 0 ]; 165 169 get_local_files( $gfac_link, $clushost, $requestID, $id, $gfacID ); 166 } 170 write_log( "$me: clushost=$clushost reqID=$requestID get_local_files() gfacID=$gfacID" ); 171 } 172 else 173 write_log( "$me: NO get_local_files()" ); 167 174 168 175 $query = "SELECT id, stderr, stdout, tarfile FROM analysis " . … … 328 335 file_put_contents( $message_filename, $message_log, FILE_APPEND ); 329 336 // mysql_close( $gfac_link ); 330 //write_log( "$me: *messages.txt written" );337 write_log( "$me: *messages.txt written" ); 331 338 332 339 ///////// … … 346 353 return( -1 ); 347 354 } 348 //write_log( "$me: HPCAnalysisResult stderr,stdout updated" );349 355 350 356 // Save the tarfile and expand it … … 368 374 chdir( "$work/$gfacID" ); 369 375 370 $f = fopen( "analysis .tar", "w" );376 $f = fopen( "analysis-results.tar", "w" ); 371 377 fwrite( $f, $tarfile ); 372 378 fclose( $f ); 373 write_log( "$me: analysis.tar file written to work dir" );379 //write_log( "$me: analysis-results.tar file written to work dir" ); 374 380 375 381 $tar_out = array(); 376 exec( "tar -xf analysis .tar 2>&1", $tar_out, $err );382 exec( "tar -xf analysis-results.tar 2>&1", $tar_out, $err ); 377 383 378 384 if ( $err != 0 ) … … 461 467 "noiseGUID='$noiseGUID'," . 462 468 "modelGUID='$modelGUID'," . 463 "editedDataID= 1, " .469 "editedDataID=2, " . 464 470 "modelID=1, " . 465 471 "noiseType='$type'," . … … 670 676 mail_to_user( "success", "" ); 671 677 } 672 673 678 ?> -
trunk/cluster_status.php
r23 r25 4 4 include "$us3bin/listen-config.php"; 5 5 6 $xml = get_data(); 7 8 if ( $xml != "" ) 9 parse( $xml ); 6 if ( ! preg_match( "/localhost/", $dbhost ) ) 7 { 8 $xml = get_data(); 9 10 if ( $xml != "" ) 11 parse( $xml ); 12 } 10 13 11 14 $data = array(); … … 165 168 global $self; 166 169 global $data; 167 168 $clusters = array( "alamo", "lonestar5", "stampede", 169 "comet", "gordon", "jureca", "jacinto" ); 170 // $clusters = array( "alamo", "lonestar5", "stampede", 171 // "comet", "gordon", "jureca" ); 170 global $dbhost; 171 global $org_domain; 172 173 if ( preg_match( "/localhost/", $dbhost ) ) 174 { 175 if ( preg_match( "/attlocal/", $org_domain ) ) 176 $clusters = array( "us3iab-devel" ); 177 else 178 $clusters = array( "us3iab-node0" ); 179 } 180 else 181 { 182 $clusters = array( "alamo", "lonestar5", "stampede", "comet", 183 "gordon", "jureca", "jacinto" ); 184 } 185 172 186 foreach ( $clusters as $clname ) 173 187 { 174 188 $a = Array(); 189 //echo "$self: clname=$clname\n"; 190 175 191 switch( $clname ) 176 192 { 177 case 'alamo': 178 { 179 $host = "us3@alamo.uthscsa.edu"; 180 $qstat = `ssh $host '/usr/bin/qstat -B 2>&1|tail -1'`; 193 case 'us3iab-node0': 194 case 'us3iab-node1': 195 case 'us3iab-devel': 196 { 197 $qstat = `/usr/bin/qstat -B 2>&1|tail -1`; 198 181 199 $sparts = preg_split( '/\s+/', $qstat ); 182 200 $que = $sparts[ 3 ]; … … 189 207 break; 190 208 } 209 case 'alamo': 210 { 211 $host = "us3@alamo.uthscsa.edu"; 212 $qstat = `ssh $host '/usr/bin/qstat -B 2>&1|tail -1'`; 213 $sparts = preg_split( '/\s+/', $qstat ); 214 $que = $sparts[ 3 ]; 215 $run = $sparts[ 4 ]; 216 $sta = $sparts[ 10 ]; 217 if ( $sta == "Active" ) 218 $sta = "up"; 219 else 220 $sta = "down"; 221 break; 222 } 191 223 case 'jacinto': 192 224 { … … 289 321 $a[ 'running' ] = $run; 290 322 $a[ 'status' ] = $sta; 323 //echo "$self: $clname $que $run $sta\n"; 291 324 292 325 $data[] = $a; -
trunk/gridctl.php
r22 r25 1 1 <?php 2 3 $us3bin = exec( "ls -d ~us3/lims/bin" ); 4 include_once "$us3bin/listen-config.php"; 5 //include "$us3bin/cleanup_aira.php"; 6 //include "$us3bin/cleanup_gfac.php"; 2 7 3 8 // Global variables … … 53 58 if ( ( $me_devel && !$job_devel ) || 54 59 ( !$me_devel && $job_devel ) ) 55 { // If job not from appropriate Airavata server,skip processing60 { // Job type and Airavata server mismatch: skip processing 56 61 continue; 57 62 } 58 }59 else if ( $me_devel )60 { // For non-thrift and development, skip61 continue;62 63 } 63 64 … … 78 79 } 79 80 80 $awork = array(); 81 $awork = explode( "-", $gfacID ); 82 $gfacLabl = $awork[0] . "-" . $awork[1] . "-" . $awork[2]; 81 // $awork = array(); 82 // $awork = explode( "-", $gfacID ); 83 // $gfacLabl = $awork[0] . "-" . $awork[1] . "-" . $awork[2]; 84 $gfacLabl = $gfacID; 83 85 $loghdr = $self . ":" . $gfacLabl . "...:"; 84 $status_in = $status;85 $status_gw = $status;86 86 $status_ex = $status; 87 87 … … 91 91 { 92 92 $status_in = $status; 93 //write_log( "$loghdr status_in=$status_in" ); 93 94 $status = aira_status( $gfacID, $status_in ); 94 95 if($status != $status_in ) 95 96 write_log( "$loghdr Set to $status from $status_in" ); 96 97 } 97 else 98 else if ( is_gfac_job( $gfacID ) ) 98 99 { 99 100 $status_gw = $status; … … 102 103 if ( $status_gw == 'COMPLETE' ) 103 104 $status = $status_gw; 104 write_log( "$loghdr non-AThrift status=$status status_gw=$status_gw" ); 105 //write_log( "$loghdr non-AThrift status=$status status_gw=$status_gw" ); 106 } 107 else 108 { 109 $status_gw = $status; 110 $status = get_local_status( $gfacID ); 111 if ( $status_gw == 'COMPLETE' || $status == 'UNKNOWN' ) 112 $status = $status_gw; 113 //write_log( "$loghdr Local status=$status status_gw=$status_gw" ); 105 114 } 106 115 … … 160 169 case "COMPLETED": 161 170 case "COMPLETE": 171 write_log( "$loghdr COMPLETE gfacID=$gfacID" ); 162 172 complete(); 163 173 break; … … 173 183 if ( is_aira_job( $gfacID ) ) 174 184 { 175 $status_ex = getExperimentStatus( $gfacID ); 176 write_log( "$loghdr status=$status status_ex=$status_ex" ); 177 if ( $status_ex === 'COMPLETED' ) 178 complete(); 185 complete(); 179 186 } 187 write_log( "$loghdr FINISHED gfacID=$gfacID" ); 180 188 case "PROCESSING": 181 189 default: … … 207 215 if ( ! in_array( $job_status, array( 'SUBMITTED', 'INITIALIZED', 'PENDING' ) ) ) 208 216 { 209 //write_log( "$loghdr submitted:job_status=$job_status" );217 write_log( "$loghdr submitted:job_status=$job_status" ); 210 218 update_job_status( $job_status, $gfacID ); 211 219 } … … 242 250 if ( ! in_array( $job_status, array( 'SUBMITTED', 'INITIALIZED', 'PENDING' ) ) ) 243 251 { 244 //write_log( "$loghdr submit_timeout:job_status=$job_status" );245 252 update_job_status( $job_status, $gfacID ); 246 253 return; … … 286 293 287 294 if ( ! in_array( $job_status, array( 'ACTIVE', 'RUNNING', 'STARTED' ) ) ) 288 {289 //write_log( "$loghdr running:job_status=$job_status" );290 295 update_job_status( $job_status, $gfacID ); 291 }292 296 293 297 return; … … 322 326 if ( ! in_array( $job_status, array( 'ACTIVE', 'RUNNING', 'STARTED' ) ) ) 323 327 { 324 //write_log( "$loghdr run_timeout:job_status=$job_status" );325 328 update_job_status( $job_status, $gfacID ); 326 329 return; … … 365 368 if ( $job_status != 'DATA' ) 366 369 { 367 //write_log( "$loghdr wait_data:job_status=$job_status" );368 370 update_job_status( $job_status, $gfacID ); 369 371 return; … … 410 412 if ( $job_status != 'DATA' ) 411 413 { 412 //write_log( "$loghdr data_timeout:job_status=$job_status" );413 414 update_job_status( $job_status, $gfacID ); 414 415 return; … … 463 464 global $us3_db; 464 465 global $loghdr; 465 global $class_dir;466 466 467 467 // Double check that the gfacID exists … … 488 488 489 489 $me_devel = preg_match( "/class_devel/", $class_dir ); 490 $me_local = preg_match( "/class_local/", $class_dir ); 490 491 491 492 if ( preg_match( "/US3-A/i", $gfacID ) ) … … 494 495 if ( ( !$me_devel && !$job_devel ) || 495 496 ( $me_devel && $job_devel ) ) 496 { // If job from appropriate Airavata server,process it497 { // Job is of same type (prod/devel) as Server: process it 497 498 //write_log( "$loghdr CALLING aira_cleanup()" ); 498 499 aira_cleanup( $us3_db, $requestID, $gLink ); … … 500 501 //write_log( "$loghdr RTN FR aira_cleanup()" ); 501 502 } 502 503 else if ( ! $me_devel ) 504 { // If this is gridctl_pro and gfac (jureca), do GFAC cleanup 505 //write_log( "$loghdr CALLING gfac_cleanup()" ); 503 else if ( ! $me_local ) 504 { 505 write_log( "$loghdr CALLING gfac_cleanup() reqID=$requestID" ); 506 506 gfac_cleanup( $us3_db, $requestID, $gLink ); 507 507 } … … 521 521 case 'SUBMITED' : 522 522 case 'INITIALIZED' : 523 case 'UPDATING' : 524 case 'PENDING' : 523 525 $query = "UPDATE analysis SET status='SUBMITTED' WHERE gfacID='$gfacID'"; 524 $message = "Job status request reports job is " . $job_status; 525 //write_log( "$loghdr update_job_status(SUBM) job_status=$job_status" ); 526 $message = "Job status request reports job is SUBMITTED"; 526 527 break; 527 528 … … 569 570 $query = "UPDATE analysis SET status='ERROR' WHERE gfacID='$gfacID'"; 570 571 $message = "Job status request reports job is not in the queue"; 571 break;572 573 case 'UPDATING' :574 case 'PENDING' :575 $message = "Job status request reports job is " . $job_status;576 572 break; 577 573 … … 695 691 696 692 $gfac_status = standard_status( $status_ex ); 697 write_log( "$loghdr get_gfac_status: status_ex=$status_ex gfac_status=$gfac_status" );698 693 return $gfac_status; 699 694 } 700 695 701 696 else if ( ! is_gfac_job( $gfacID ) ) 697 { 702 698 return false; 699 } 703 700 704 701 $url = "$serviceURL/jobstatus/$gfacID"; … … 758 755 { 759 756 // Then it's not a GFAC job 760 return false; 757 $job_status = get_local_status( $gfacID ); 758 return $job_status; 761 759 } 762 760 … … 825 823 global $self; 826 824 827 $system = "$cluster.uthscsa.edu"; 828 $system = preg_replace( "/\-local/", "", $system ); 829 $cmd = "/usr/bin/ssh -x us3@$system qstat -a $gfacID 2>&1"; 825 $cmd = "/usr/bin/qstat -a $gfacID 2>&1|tail -n 1"; 826 if ( ! preg_match( "/us3iab/", $cluster ) ) 827 { 828 $system = "$cluster.uthscsa.edu"; 829 $system = preg_replace( "/\-local/", "", $system ); 830 $cmd = "/usr/bin/ssh -x us3@$system " . $cmd; 831 } 830 832 831 833 $result = exec( $cmd ); … … 834 836 { 835 837 write_log( "$self get_local_status: Local job $gfacID unknown" ); 838 write_log( "$self get_local_status: result=$result" ); 836 839 return 'UNKNOWN'; 837 840 } 838 841 839 842 $values = preg_split( "/\s+/", $result ); 840 // 843 //write_log( "$self: get_local_status: job status = /{$values[9]}/"); 841 844 switch ( $values[ 9 ] ) 842 845 { … … 999 1002 case 'canceled' : 1000 1003 $status = 'CANCELED'; 1004 break; 1005 1006 $status = 'DATA'; 1001 1007 break; 1002 1008 … … 1043 1049 global $self; 1044 1050 global $loghdr; 1045 global $class_dir;1046 1051 //echo "a_st: st_in$status_in : $gfacID\n"; 1047 1052 //$status_gw = standard_status( $status_in ); … … 1054 1059 ( $me_devel && $job_devel ) ); 1055 1060 1056 //write_log( "$loghdr gfacID=$gfacID devmatch=$devmatch" );1057 //write_log( "$loghdr me_d=$me_devel jo_d=$job_devel cd=$class_dir" );1058 1061 if ( preg_match( "/US3-A/i", $gfacID ) && $devmatch ) 1059 { // Airavata job and development/production type is right1062 { 1060 1063 $status_ex = getExperimentStatus( $gfacID ); 1061 //write_log( "$loghdr status_ex $status_ex" );1062 1064 1063 1065 if ( $status_ex == 'COMPLETED' ) … … 1101 1103 } 1102 1104 1103 if(preg_match("/US3-A/i",$gfacID))1104 //if(preg_match("/US3-ADEV/i",$gfacID))1105 write_log( "$loghdr status/_in/_gw/_ex=$status/$status_in/$status_gw/$status_ex" );1106 1105 //write_log( "$loghdr status/_in/_gw/_ex=$status/$status_in/$status_gw/$status_ex" ); 1107 //write_log( " me_d=$me_devel jo_d=$job_devel dm=$devmatch cd=$class_dir" );1108 1106 if ( $status != $status_gw ) 1109 1107 { -
trunk/manage-us3-pipe.php
r18 r25 3 3 $us3bin = exec( "ls -d ~us3/lims/bin" ); 4 4 include "$us3bin/listen-config.php"; 5 include " /srv/www/htdocs/common/class/experiment_status.php";5 include "$class_dir/experiment_status.php"; 6 6 7 7 write_log( "$self: Starting" ); -
trunk/update_notice.php
r18 r25 24 24 $dbhost = "localhost"; 25 25 $dbuser = "root"; 26 //$dbpassw = exec( "cat ~us3/.sec/.pwsq" );27 26 $dbpassw = exec( "cat ~/.sec/.pwsq" ); 28 27
Note:
See TracChangeset
for help on using the changeset viewer.